@charset "UTF-8";

/* ========================================
   共通
======================================== */

#andcouture_lp .wrap {
    width: 100%;
    height: auto;
}

#andcouture_lp .content {
    width: 100%;
    height: auto;
    position: relative;
    top: auto;
    background-color: #d5d2c6;
    flex: 1;
}

/* 通常画像 */
#andcouture_lp .AUTUMNREFINEDAnExclusiveEdit {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}


/* ========================================
   フェードイン
======================================== */

.layout {
    display: flex;
}

.fadein {
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* ========================================
   通常スライダー
======================================== */

.slide-wrap.slide-margin {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

#andcouture_lp .slide-wrap {
    overflow: hidden;
    position: relative;
}


/* ========================================
   スマホ専用
======================================== */

@media screen and (max-width: 649px) {

    #andcouture_lp .slide-wrap {
        container-type: inline-size;
    }

    #andcouture_lp .slide-wrap .slide-track {
        display: flex;
        width: max-content;
        gap: 0;
        margin: 0;
        padding: 0;

        animation: mobile-seamless 12s linear infinite;
        will-change: transform;
    }

    #andcouture_lp .slide-wrap .slide-track img {
        display: block;

        width: 100cqw;
        flex: 0 0 100cqw;
        max-width: none;
        height: auto;

        margin: 0;
        padding: 0;
        border: 0;
    }
}


/* スマホ：右から左へ無限ループ */

@keyframes mobile-seamless {

    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}


/* ========================================
   スクロールスライダー
======================================== */

.scroll-slider {
    width: 100%;
    overflow: hidden;
}

.scroll-slider-track {
    display: flex;
    width: 300%;
    transform: translateX(0);
}

.scroll-slide {
    width: 33.333333%;
    flex-shrink: 0;
}

.scroll-slide img {
    display: block;
    width: 100%;
    height: auto;
}


/* ========================================
   背景＋スクロールスライダー
======================================== */

#andcouture_lp .slider-background {
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* 背景画像 */
#andcouture_lp .slider-bg-img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;

    margin: 0;
    padding: 0;
    border: 0;

    box-sizing: border-box;
}

/* 背景の上にスライダーを配置 */
#andcouture_lp .slider-background .scroll-slider {
    position: absolute;

    width: 80%;
    left: 10%;

    /* 数字を大きくすると下に移動 */
    top: 4%;

    overflow: hidden;

    margin: 0;
    padding: 0;

    transform: none;
}

#andcouture_lp .slider-background .scroll-slider-track {
    display: flex;
    width: 300%;

    margin: 0;
    padding: 0;

    transform: translateX(0);
}

#andcouture_lp .slider-background .scroll-slide {
    width: 33.333333%;
    flex-shrink: 0;
}

#andcouture_lp .slider-background .scroll-slide img {
    display: block;
    width: 100%;
    height: auto;

    margin: 0;
    padding: 0;
}


/* ========================================
   PC
======================================== */

@media screen and (min-width: 650px) {

    #andcouture_lp .wrap {
        max-width: 500px;
        width: 100%;
        margin: 0 auto;
    }

    #andcouture_lp .content {
        width: 500px;
        position: relative;
        top: auto;
        height: auto;
    }

    #andcouture_lp .AUTUMNREFINEDAnExclusiveEdit {
        width: 100%;
        max-width: 500px;
        height: auto;

        margin: 0;
        padding: 0;

        display: block;
    }


    /* 通常スライダー */

    .slide-wrap {
        width: 100%;
        overflow: hidden;
        position: relative;
    }

    .slide-track {
        display: flex;
        width: 400%;

        animation: infinite-slide 12s linear infinite;
        will-change: transform;
    }

    .slide-track img {
        width: 25%;
        height: auto;

        display: block;
        flex-shrink: 0;
    }


    /* PC：無限スライド */

    @keyframes infinite-slide {

        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-50%);
        }
    }


    /* 指定したスライダーだけ左右に余白 */

    .slide-wrap.slide-margin {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
}