@charset "UTF-8";

/* header */
.lib-header__outer.lib-header-BS02 .lib-induce__outer:has(>li:nth-child(2))>li {
    width: 250px;
}

@media print,
screen and (min-width: 1010px) {
    .is-scroll .lib-header__outer.lib-header-BS02 .lib-induce__outer {
        width: 270px;
    }

    .is-scroll .lib-nav__panel:has(.lib-induce__outer) {
        padding-right: 270px;
    }
}

@media print,screen and (max-width: 1009px) {
    .lib-nav__outer .lib-induce__outer:has(>li:nth-child(2))>li {
        width:50%
    }
}

/* page-title */
.lib-hero__outer {
    background-image: url(/dcms_media/image/pagetitle-bg.webp);
    background-size: cover;
    background-position: center;
}

/* mv */
.custom-top-slide .lib-fv__slide {
    background-image: url(/dcms_media/image/mainvisual-bg.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.custom-top-slide__txtarea {
    padding: 30px 15px;
    line-height: 1.75;
}

.custom-top-slide__txtarea h2 {
    font-size: min(10vw, 3.125rem);
}

.custom-top-slide__txtcontents {
    width: 100% !important;
}

@media print,
screen and (max-width: 992px) {
    .custom-top-slide .container {
        max-width: unset;
        line-height: 1;
    }
}

@media print,
screen and (min-width: 768px) {
    .custom-top-slide__txtarea h2 {
        font-size: min(3.5vw, 3.125rem);
    }

    .custom-top-slide__row {
        display: flex;

        >* {
            width: 54%;
            height: 600px;
            display: flex;
            /*flex: unset;*/
        }

        >*:nth-child(2) {
            width: 46%;
        }
    }

    .custom-top-slide__txtarea {
        display: flex;
        align-items: center;
    }

    .custom-top-slide__txtarea .mt-lg-5 {
        margin-top: 3rem !important;
    }
}

@media print,
screen and (max-width: 768px) {
    .lib-swiper__btn {
        z-index: 3 !important;
    }
}

@media print,
screen and (min-width: 768px) and (max-width: 1024px) {
    .custom-top-slide .lib-fv__thumb {
        height: 500px;
    }

    .custom-top-slide__row>* {
        height: 500px;
    }

    .custom-top-slide .fs-h1 {
        font-size: 2rem;
    }
}

@media print,
screen and (min-width: 576px) and (max-width: 767.8px) {
    .custom-top-slide .lib-fv__thumb {
        height: 400px;
    }
}

.custom-top-slide .lib-fv__thumb {
    display: flex;
    align-items: center;
}

.custom-top-slide .lib-fv__thumb img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

@media print,
screen and (max-width: 575.8px) {
    .custom-top-slide .lib-fv__thumb {
        height: auto;
        padding: 0 1rem;
    }

    .custom-top-slide .lib-fv__thumb img {
        object-fit: contain;
        height: auto;
    }
}

@media print,
screen and (min-width: 1024px) {
    .custom-top-slide .lib-fv__thumb {
        margin-right: calc((100vw - 100%) / 9 * -1);
        flex: 1;
    }
}

@media print,
screen and (max-width: 767.98px) {
    .custom-top-slide__txtarea {
        min-height: 310px;
    }
}