@charset "utf-8";

/* ==========================================================

    js-slider(スマホのみ)

========================================================== */
@media screen and (width < 576px) {
    .js_sliders { position: relative;}

    .js_sliders .-_slider {
        position: relative; z-index: 10;
        overflow: hidden;
        margin-right: auto; margin-left: auto;
    }

    .js_sliders .-__slides {
        display: flex;
        transition: transform 0.5s ease;
        touch-action: pan-y;
    }

    .js_sliders .-___slide {
        width: calc(100% - 10px);
        margin: 0 5px;
        flex-shrink: 0;
        box-sizing: border-box;
        user-select: none;
        cursor: pointer;
    }

    .js_sliders .-___slide img {
        width: 100%;
        height: auto;
        object-fit: cover;
        display: block;
        pointer-events: none;
    }

    .js_sliders .-_controls {
        position: absolute; top: 50%; left: -3vw; z-index: 5;
        transform: translateY(-50%);
        width: calc(100% + 3vw * 2);
        display: flex;
        flex-wrap: wrap; justify-content: space-between; align-items: center;
    }

    .js_sliders .-_controls button {
        background: rgba(120,70,15,0.4);
        border: none;
        color: #fff;
        width: 36px; height: 36px;
        cursor: pointer;
        border-radius: 50%;
    }

    .js_sliders .-_indicators {
        text-align: center;
        position: absolute; bottom: 1.5vw; left: 0;
        width: 100%;
    }

    .js_sliders .indicator {
        display: inline-block;
        position: relative; z-index: 5;
        width: 13px; height: 13px;
        margin-right: 8px; margin-left: 8px;
        background-color: #d4c5b5;
        border-radius: 50%;
        cursor: pointer;
    }

    .js_sliders .indicator.active {
        background-color: #a05d14;
    }

    .js_sliders button {
        padding: 5px 10px;
        cursor: pointer;
    }
}


/* SP以外 */
@media screen and (width >= 576px) {
    .js_sliders .-_controls,
    .js_sliders .-_indicators { display: none;}
}




