@charset "UTF-8";

/* CSS INFORMATION -====================================================
File name : story.css
Description : ストーリー
===================================================================== */


/* =====================================================================
*    story
* =================================================================== */

.story {
    padding: 5rem 0 50rem;
}

@media screen and (max-width: 767px) {
    .story .inner {
        width: calc(650 / 750 * 100%);
    }
}

.story_tab {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-bottom: 5.5rem;
}

.story_tab li {
    position: relative;
    display: block;
    margin: 0 calc(7 / 650 * 100%) 2rem;
    width: calc(270 / 650 * 100%);
}

.story_tab li::before {
    content: '';
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-transition: 0.3s ease;
    transition: 0.3s ease;
    opacity: 0;
    z-index: 1;
}

.story_tab li:nth-child(1)::before {
    background: url(../images/story/btn_tab1_a.jpg) no-repeat center/contain;
}

.story_tab li:nth-child(2)::before {
    background: url(../images/story/btn_tab2_a.jpg) no-repeat center/contain;
}

.story_tab li:nth-child(3)::before {
    background: url(../images/story/btn_tab3_a.jpg) no-repeat center/contain;
}

.story_tab li:nth-child(4)::before {
    background: url(../images/story/btn_tab4_a.jpg) no-repeat center/contain;
}

.story_tab li.is-active::before {
    opacity: 1;
}

.story_tab li.nolink {
    pointer-events: none;
    filter: grayscale(1);
}

.story_panel>li {
    display: none;
}

.story_panel>li.is-show {
    display: block !important;
}

.story_panel_group {
    margin-bottom: 9.6rem;
}

.story_panel_group p {
    margin-top: -10rem;
    padding: 19rem 3.5rem 6rem;
    line-height: 1.833;
    background: rgba(254, 252, 243, 0.3);
}

.story_panel_slider {
    padding: 0 calc(48 / 650 * 100%);
    z-index: 2;
}

.story_panel_slider figure img {
    aspect-ratio: 1.5/1;
    -o-object-fit: cover;
    object-fit: cover;
}

.story_panel_slider .slick-arrow {
    display: block;
    position: absolute;
    top: 45%;
    width: 3.2rem;
    height: 5.1rem;
    background: url(../images/story/icon_arrow.png) no-repeat center/contain;
    z-index: 3;
}

.story_panel_slider .slick-arrow.prev {
    left: 0;
}

.story_panel_slider .slick-arrow.next {
    right: 0;
    -webkit-transform: scale(-1, 1);
    transform: scale(-1, 1);
}

@media screen and (min-width: 768px) {
    .story {
        padding-top: 10rem;
    }
    .story_box {
        margin: 0 auto;
    }
    .story_tab li {
        margin: 0;
        width: calc(162 / 1000 * 100%);
        cursor: pointer;
    }
    .story_tab li:hover::before {
        opacity: 1;
    }
    .story_panel_group {
        margin-bottom: 8rem;
    }
    .story_panel_group p {
        padding: 14rem 3.5rem 6rem;
        line-height: 2.25;
    }
    .story_panel_slider {
        margin: 0 auto;
        padding: 0 calc(60 / 1000 * 100%);
        width: calc(800 / 1000 * 100%);
    }
    .story_panel_slider .slick-arrow {
        width: 2.2rem;
        height: 3.5rem;
        cursor: pointer;
    }
}


/* =====================================================================
    story_cast
======================================================================*/

.story_cast {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.story_cast li {
    margin-bottom: 10rem;
    width: calc(310 / 650 * 100%);
}

.story_cast li figure {
    margin-left: auto;
    width: calc(270 / 310 * 100%);
    z-index: 1;
}

.story_cast li dl {
    margin: -6rem 0 0 0;
    padding: 7.5rem 0 1.2rem 4rem;
    text-align: center;
    width: calc(290 / 310 * 100%);
    line-height: 1.4;
    background: url(../images/story/bg_yellow.jpg) no-repeat center/cover;
}

.story_cast li dl dt {
    margin-bottom: 0.2em;
    color: #005b5d;
}

.story_cast li dl dd {
    font-size: 2.8rem;
}

.story_cast li dl dd small {
    font-size: 1.8rem;
}

@media screen and (min-width: 768px) {
    .story_cast {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    .story_cast li {
        margin: 0 calc(20 / 1000 * 100%);
        width: calc(290 / 1000 * 100%);
    }
    .story_cast li figure {
        margin-left: auto;
    }
    .story_cast li dl {
        margin-top: -3rem;
        padding: 5rem 0 1.6rem 3.5rem;
        line-height: 1;
    }
    .story_cast li dl dt {
        margin-bottom: 0.7em;
    }
    .story_cast li dl dd {
        font-size: 2.2rem;
    }
    .story_cast li dl dd small {
        font-size: 1.4rem;
    }
    .story_panel li:nth-child(4) .story_cast li dl {
        min-height: 14rem;
    }
}