@charset "UTF-8";

/* ▼▼▼ トップ
======================================================*/
#main {
    margin-top: 0;
}
/* ▼ スライダー
----------------------------------------*/
#mainVisual {
    height: calc(100vh - 130px);
    margin: 130px auto 0;
    position: relative;
}
/* あなたのオシャレや暮らしに、ミオをプラス。 */
#mainVisual .wow {
    display: flex;
    width: 380px;
    height: 195px;
    margin: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
}
#mainVisual h1 {
    margin: auto;
}
#mainVisual h1 span {
    display: block;
    width: 100%;
    color: #fff;
    font-size: 18px;
    text-align: center;
}
#mainVisual h1 span:nth-child(1) {
    margin-bottom: 30px;
}
#mainVisual h1 span:nth-child(1) img {
    margin: 0 auto;
}
/* スライダーtxt */
#mainVisual .slider .txt {
    display: block;
    content: "";
    width: 87%;
    color: #fff;
    position: absolute;
    left: 70px;
    bottom: 70px;
    z-index: 99;
}
#mainVisual .slider .txt .spartan {
    margin-bottom: 25px;
    font-size: 10px;
    position: relative;
}
#mainVisual .slider .txt .spartan::after {
    content: "";
    width: 10px;
    height: 1px;
    background: #fff;
    position: absolute;
    bottom: -10px;
    left: 0;
}
#mainVisual .slider .txt p:nth-child(2) {
    max-height: 40px;
    font-size: 14px;
    font-weight: bold;
    overflow: hidden;
}

/* スライド周りの基本スタイル */
#mainVisual .slideobject {
    height: calc(100vh - 130px);
    position: relative;
    z-index: 10;
    overflow: hidden;
    vertical-align: bottom;
}
.slideobject a::before {
    content: "";
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99;
}
.slideobject .photo {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* 効果をかけるためのスタイル設定 */
.slide-animation .photo {
    animation: fadezoom 40s ease;
}
@keyframes fadezoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.4);
    }
}
/* dotsカスタム */
#mainVisual .slick-dots {
    width: 90px;
    text-align: left;
    bottom: 40px;
    left: 100px;
}
#mainVisual .slick-dots li {
    margin: 0 4px;
}
#mainVisual .slick-dots li button {
    border: 0;
    background: transparent;
    outline: none;
}
#mainVisual .slick-dots li button {
    width: 6px !important;
    height: 6px !important;
}
#mainVisual .slick-dots li button:before {
    font-size: 0 !important;
    opacity: 1 !important;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    width: 6px !important;
    height: 6px !important;
    line-height: 6px !important;
    text-align: center;
    -webkit-font-smoothing: antialiased;
}
#mainVisual .slick-dots li.slick-active button:before {
    background: #fff;
}
/* arrowsカスタム */
#mainVisual .slider .slick-prev,
#mainVisual .slider .slick-next {
    bottom: 41px;
    height: 9px;
}
#mainVisual .slider .slick-prev {
    left: 70px;
}
#mainVisual .slider .slick-next {
    left: 200px;
}
#mainVisual .slick-prev:before,
#mainVisual .slick-next:before {
    content: "";
    width: 15px;
    height: 3px;
    background: url(../img/top/icon_slide_arrow.svg) no-repeat top center/15px
        3px;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
    z-index: 999;
}
#mainVisual .slick-prev:before {
    transform: scale(-1, 1);
}
/* SCROLL */
#mainVisual .scroll {
    width: 65px;
    margin: auto;
    font-size: 12px;
    text-align: center;
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    z-index: 99;
}
#mainVisual .scroll a {
    display: inline-block;
    color: #fff;
}
#mainVisual .scroll span {
    display: block;
    width: 1px;
    height: 30px;
    margin: 5px auto 0;
}
#mainVisual .scroll span::after {
    display: block;
    content: "";
    width: 1px;
    height: 30px;
    background: #fff;
    animation: scrollArrow 2.5s ease infinite;
}
@keyframes scrollArrow {
    from {
        height: 0px;
        opacity: 0;
    }
    to {
        height: 30px;
        opacity: 1;
    }
}
/* ▼ コンテンツ
----------------------------------------*/
section {
    padding: 100px 0;
}
section.boder_btm {
    border-bottom: 1px solid #ccc;
}
section h2.title {
    margin-bottom: 50px;
    font-size: 40px;
}

/* ▼ RANKING
--------------------------------------- */
section#ranking {
    padding-bottom: 0;
        margin-top:-100px;
        padding-top:200px;
}
section#ranking .container.effect {
    transform: translateY(200px);
    transition: 1s;
    opacity: 0;
}
section#ranking .container.is-active {
    transform: translateY(0);
    opacity: 1;
}
section#ranking .article_list {
    margin: 0 -25px;
    counter-reset: num;
}
section#ranking .article_list li {
    margin: 0 25px 45px;
    width: calc((100% / 3) - 50px);
    position: relative;
}
section#ranking .article_list li a {
    position: relative;
}

section#ranking .article_list li a:before {
    counter-increment: num;
    content: counter(num);
    width: 40px;
    height: 35px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 10px;
    top: 10px;
    font-size: 18px;
    border-radius: 100px;
    z-index: 2;
    font-family: "Spartan", sans-serif;
    font-weight: 500;
    padding-top: 5px;
}
section#ranking .article_list li:first-of-type,
section#ranking .article_list li:nth-of-type(2),
section#ranking .article_list li:nth-of-type(3),
section#ranking .article_list li:nth-of-type(4) {
    width: calc(50% - 50px);
}
section#ranking .article_list li:nth-last-of-type(3),
section#ranking .article_list li:nth-last-of-type(2),
section#ranking .article_list li:last-of-type {
    margin-bottom: 0;
}
section#trend_tag {
    padding-bottom: 120px;
}
/* あなたのオシャレや暮らしに、ミオをプラス。 */
section#etc {
	background-color: #FAFAFA;
	padding: 56px 0;
}
section#etc .flex_box {
    align-items: center;
}
section#etc .flex_box .icon {
    flex: 1;
}
section#etc .flex_box .icon img {
    width: 85px;
}
section#etc .flex_box .txt {
    flex: 4.5;
    padding-left: 4%;
    border-left: 1px solid #000;
}
section#etc .flex_box .txt p:nth-child(1) {
    margin-bottom: 10px;
    color: #ccc;
    font-size: 20px;
}
section#etc .flex_box .txt p {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.12em;
}

/* ▼ 占いバナー
----------------------------------------*/
section#fortune {
	padding-bottom: 0;
	margin-top: 120px;
	border-top: solid 1px #CCCCCC;
}
/* ▼▼▼ 480px〜768px
======================================================*/
@media screen and (max-width: 768px) {
    /* ▼ スライダー
	----------------------------------------*/
    #mainVisual {
        height: calc(90vh - 70px);
        margin: 70px auto 0;
    }
    /* あなたのオシャレや暮らしに、ミオをプラス。 */
    #mainVisual .wow {
        width: 210px;
        height: 155px;
    }
    #mainVisual h1 span {
        font-size: 15px;
    }
    #mainVisual h1 span:nth-child(1) {
        margin-bottom: 15px;
    }
    #mainVisual h1 span:nth-child(1) img {
        max-width: 90px;
    }
    /* スライダーtxt */
    #mainVisual .slider .txt {
        width: 80%;
        margin: auto;
        left: 0;
        right: 0;
        bottom: 60px;
    }
    #mainVisual .slider .txt .spartan {
        margin-bottom: 20px;
        text-align: center;
    }
    #mainVisual .slider .txt .spartan::after {
        margin: auto;
        bottom: -10px;
        left: 0;
        right: 0;
    }
    #mainVisual .slider .txt p:nth-child(2) {
        max-height: 35px;
        font-size: 12px;
        text-align: center;
    }

    /* スライド周りの基本スタイル */
    #mainVisual .slideobject {
        height: calc(90vh - 70px);
    }
    /* dotsカスタム */
    #mainVisual .slick-dots {
        margin: auto;
        bottom: 20px;
        left: 0;
        right: 0;
    }
    #mainVisual .slick-dots li button {
        width: 8px !important;
        height: 8px !important;
    }
    #mainVisual .slick-dots li button:before {
        width: 8px !important;
        height: 8px !important;
        line-height: 8px !important;
    }

    /* arrowsカスタム */
    #mainVisual .slider .slick-prev,
    #mainVisual .slider .slick-next {
        width: 30px;
        bottom: 21px;
    }
    #mainVisual .slider .slick-prev {
        left: 25%;
    }
    #mainVisual .slider .slick-next {
        left: inherit;
        right: 25%;
    }
    #mainVisual .slick-prev:before,
    #mainVisual .slick-next:before {
        width: 30px;
        height: 5px;
        background: url(../img/top/icon_slide_arrow.svg) no-repeat top
            center/30px 5px;
        top: 0;
        left: 0;
    }
    /* SCROLL */
    #mainVisual .scroll {
        display: none;
    }
    /* ▼ コンテンツ
	----------------------------------------*/
    section {
        padding: 60px 0;
    }
    section h2.title {
        font-size: 30px;
        margin-bottom: 30px;
    }

    /* ▼ RANKING
	--------------------------------------- */
    section#ranking {
        padding-top: 120px;
        margin-top: -60px;
    }
    section#ranking .article_list {
        margin: 0 -10px;
    }
    section#ranking .article_list li {
        margin: 0 10px 30px;
        width: calc(50% - 20px);
    }
    section#ranking .article_list li a:before {
        font-size: 10px;
        width: 22px;
        height: 21px;
        left: 5px;
        top: 5px;
        padding-top: 1px;
    }
    section#ranking .article_list li:first-of-type,
    section#ranking .article_list li:nth-of-type(2),
    section#ranking .article_list li:nth-of-type(3),
    section#ranking .article_list li:nth-of-type(4) {
        width: calc(50% - 20px);
    }
    section#ranking .article_list li:nth-last-of-type(3) {
        margin-bottom: 30px;
    }
    section#ranking .article_list li:nth-last-of-type(2),
    section#ranking .article_list li:last-of-type {
        margin-bottom: 0;
    }

	
    /* ▼ 占いバナー */
	section#fortune {
		margin-top: 60px;
	}

	section#trend_tag {
		padding-bottom: 70px;
	}
	
    /* あなたのオシャレや暮らしに、ミオをプラス。 */
    section#etc .flex_box .icon {
        margin-bottom: 25px;
        text-align: center;
    }
    section#etc .flex_box .txt {
        padding: 0;
        border-left: none;
    }
    section#etc .flex_box .txt p:nth-child(1) {
        font-size: 16px;
        text-align: center;
    }
    section#etc .flex_box .txt p {
        font-size: 12px;
    }

}
