/*  CONTAINER
------------------------------------------ */
* {
    border: 0;
    outline: none;
    vertical-align: baseline;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    font-feature-settings: "palt" on;
}

.adlp-outer {
    overflow: hidden;

    img {
        width: 100%;
        height: auto;
        display: block;
    }

    .adlp-relative {
        position: relative;
    }

    @media all and (min-width: 768px) {
        display: flex;
        justify-content: center;
        align-items: flex-start;

        .adlp-wrapper {
            min-width: min(calc((1920 / 1080) * 100vw), 1920px);
            max-width: 1920px;
            margin: 0 auto;
            padding-top: min(calc((60 / 1080) * 100vw), 60px);

            a[href^="tel:"] {
                pointer-events: none;
            }
        }
    }

    @media all and (max-width: 767.9px) {
        .adlp-wrapper {
            padding-top: calc(80 / 750 * 100vw);
        }
    }
}

/*  UTILITY
------------------------------------------ */
.adlp-outer {
    .adlp-pc {
        display: block;
    }

    .adlp-sp {
        display: none;
    }

    @media all and (max-width: 767.9px) {
        .adlp-pc {
            display: none;
        }

        .adlp-sp {
            display: block;
        }
    }
}

/*  COMMON PARTS
------------------------------------------ */
.adlp-btn {
    width: min(calc(460 / 1080 * 100vw), 460px);

    &.--pos-ab {
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
    }

    a {
        display: block;
    }

    @media all and (max-width: 767.9px) {
        width: calc(670 / 750 * 100vw);
        margin-bottom: calc(10 / 750 * 100vw);
    }
}

.adlp-btn.--ani-shadow {
    a {
        filter: drop-shadow(min(calc(6 / 1080 * 100vw), 6px) min(calc(10 / 1080 * 100vw), 10px) 0px #727d94);
        transition: all ease-in 0.15s;
        @media (hover: hover) {
            &:hover {
                transform: translateX(min(calc(10 / 1080 * 100vw), 10px)) translateY(min(calc(6 / 1080 * 100vw), 6px));
                filter: none;
            }
        }
    }

    @media all and (max-width: 767.9px) {
        a {
            filter: drop-shadow(calc(4 / 750 * 100vw) calc(6 / 750 * 100vw) 0px #727d94);
        }
    }
}

.adlp-btn.--ani-light {
    a {
        transition: filter ease-in 0.25s;
        @media (hover: hover) {
            &:hover {
                filter: brightness(1.3);
            }
        }
    }
}

.adlp-btn.--ani-dark {
    a {
        transition: filter ease-in 0.25s;
        @media (hover: hover) {
            &:hover {
                filter: brightness(0.8);
            }
        }
    }
}

.adlp-text-wrapper {
    width: min(calc(1080 / 1080 * 100vw), 1080px);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;

    p,
    a {
        color: var(--base-black-333, #333);
        font-size: min(calc(12 / 1080 * 100vw), 12px);
        line-height: 1.8;
        letter-spacing: 0.04em;
        font-weight: normal;
    }

    a {
        font-weight: bold;
    }

    @media all and (max-width: 767.9px) {
        p,
        a {
            font-size: calc(19 / 750 * 100vw);
        }
    }
}

.adlp-slider-wrapper {
    overflow: hidden;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1920px;
    padding-bottom: min(calc((137 / 1080) * 100vw), 137px);

    .adlp-slider {
        width: 100%;

        .swiper-slide {
            padding: 0 min(calc((20 / 1080) * 100vw), 20px);
            box-sizing: border-box;
        }
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: min(calc((66 / 1080) * 100vw), 66px);
        height: auto;
        aspect-ratio: 1 / 1;
        top: 0;
        margin-top: min(calc((170 / 1080) * 100vw), 170px);
        background: center / contain no-repeat;

        &::after {
            display: none;
        }
    }

    .swiper-button-prev {
        left: 0;
        margin-left: min(calc((460 / 1080) * 100vw), 460px);
        background-image: url(../img/common/icon-arrow-prev.svg);
    }

    .swiper-button-next {
        right: 0;
        margin-right: min(calc((460 / 1080) * 100vw), 460px);
        background-image: url(../img/common/icon-arrow-next.svg);
    }

    .swiper-pagination {
        &.swiper-pagination-bullets {
            bottom: min(calc((86 / 1080) * 100vw), 86px);
        }

        .swiper-pagination-bullet {
            width: min(calc(8 / 1080 * 100vw), 8px);
            margin: 0 min(calc(8 / 1080 * 100vw), 8px) !important;
            height: auto;
            aspect-ratio: 1 / 1;
        }
        .swiper-pagination-bullet-active {
            background-color: #e594a9;
        }
    }

    @media all and (max-width: 767.9px) {
        padding-bottom: calc((196 / 750) * 100vw);

        .adlp-slider {
            .swiper-slide {
                padding: 0 calc((15 / 750) * 100vw);
            }
        }

        .swiper-button-prev,
        .swiper-button-next {
            width: calc((85 / 750) * 100vw);
            margin-top: calc((380 / 750) * 100vw);
        }

        .swiper-button-prev {
            margin-left: calc((30 / 750) * 100vw);
        }

        .swiper-button-next {
            margin-right: calc((30 / 750) * 100vw);
        }

        .swiper-pagination {
            &.swiper-pagination-bullets {
                bottom: calc((130 / 750) * 100vw);
            }

            .swiper-pagination-bullet {
                margin: 0 calc(10 / 750 * 100vw) !important;
                width: calc(16 / 750 * 100vw);
            }
        }
    }
}

.adlp-acc-wrapper {
    width: min(calc(920 / 1080 * 100vw), 920px);
    margin: 0 auto;

    .adlp-acc {
        overflow: hidden;
        background-color: #fff;
        padding: min(calc(35 / 1080 * 100vw), 35px) 0;
        border-radius: min(calc(16 / 1080 * 100vw), 16px);
        margin-top: min(calc(30 / 1080 * 100vw), 30px);

        @media (hover: hover) {
            cursor: pointer;
        }

        &:first-child {
            margin-top: 0;
        }

        .adlp-acc__title {
            position: relative;

            &::after {
                position: absolute;
                top: 50%;
                right: 0;
                transform: translateY(-50%) rotate(180deg);
                transition: transform ease-in 0.2s;
                margin-right: min(calc(40 / 1080 * 100vw), 40px);
                content: "";
                display: block;
                width: min(calc(29 / 1080 * 100vw), 29px);
                aspect-ratio: 29 / 24;
                background: url(../img/common/arrow-acc.svg) center / cover no-repeat;
            }
        }

        &.is-active .adlp-acc__title::after {
            transform: translateY(-50%);
        }

        .adlp-acc__content {
            display: grid;
            grid-template-rows: 0fr;
            transition: grid-template-rows 0.2s ease-out;
        }

        &.is-active .adlp-acc__content {
            grid-template-rows: 1fr;
        }

        .adlp-acc__content-inner {
            overflow: hidden;
        }
    }

    @media all and (max-width: 767.9px) {
        width: calc(630 / 750 * 100vw);

        .adlp-acc {
            padding: calc(40 / 750 * 100vw) 0;
            border-radius: calc(16 / 750 * 100vw);
            margin-top: calc(40 / 750 * 100vw);

            .adlp-acc__title {
                &::after {
                    margin-right: calc(30 / 750 * 100vw);
                    width: calc(30 / 750 * 100vw);
                }
            }
        }
    }
}

/*  SECTION UNIQUE STYLE
------------------------------------------ */
/* Floating */
.adlp-floating {
    width: min(calc((1920 / 1080) * 100vw), 1920px);
    position: fixed;
    top: 0;
    z-index: 10;
    transition: opacity 0.25s, visibility 0.25s;

    .adlp-text-wrapper {
        top: 0;
        width: min(calc((1000 / 1080) * 100vw), 1000px);
        display: flex;
        align-items: flex-start;
        justify-content: flex-end;
    }

    .adlp-btn {
        width: min(calc((216 / 1080) * 100vw), 216px);
        margin-top: min(calc(5 / 1080 * 100vw), 5px);
        margin-right: max(calc(-10 / 1080 * 100vw), -10px);
    }

    @media all and (max-width: 767.9px) {
        width: 100%;

        .adlp-text-wrapper {
            width: 100%;
        }

        .adlp-btn {
            width: calc(258 / 750 * 100vw);
            margin-top: calc(12 / 750 * 100vw);
            margin-right: calc(15 / 750 * 100vw);
        }
    }
}

.sec05 {
    .adlp-acc-wrapper {
        width: 100%;
        position: relative;
        background: url(../img/common/sec_acc_bg.png) center top / 100% repeat-y;

        .adlp-acc {
            padding: 0;
            border-radius: 0;
            margin-top: 0;
            background-color: transparent;
            width: calc(800 / 1920 * 100%);
            margin: 0 auto;
        }

        .adlp-acc__title::after {
            position: absolute;
            top: 50%;
            right: 0;
            transform: translateY(-50%) rotate(180deg);
            transition: transform ease-in 0.2s;
            margin-right: min(calc(40 / 1080 * 100vw), 40px);
            content: "";
            display: block;
            width: min(calc(16 / 1080 * 100vw), 16px);
            aspect-ratio: 16 / 8;
            background: url(../img/common/arrow-acc-sec07.svg) center / contain no-repeat;
        }
    }

    @media all and (max-width: 767.9px) {
        .adlp-acc-wrapper .adlp-acc {
            width: calc(610 / 750 * 100vw);
            margin: 0 auto;

            .adlp-acc__title::after {
                margin-right: calc(40 / 750 * 100vw);
                width: calc(24 / 750 * 100vw);
            }
        }
    }
}

.sec07 {
    .adlp-text-wrapper {
        position: relative;
        width: min(calc(1005 / 1080 * 100vw), 1005px);
    }

    .adlp-acc-wrapper {
        width: 100%;
        position: relative;
        background: url(../img/common/sec_acc_bg.png) center top / 100% repeat-y;

        .adlp-acc {
            padding: 0;
            border-radius: 0;
            margin-top: 0;
            background-color: transparent;
            width: calc(800 / 1005 * 100%);
            margin: 0 auto;
        }

        .adlp-acc__title::after {
            position: absolute;
            top: 50%;
            right: 0;
            transform: translateY(-50%) rotate(180deg);
            transition: transform ease-in 0.2s;
            margin-right: min(calc(40 / 1080 * 100vw), 40px);
            content: "";
            display: block;
            width: min(calc(16 / 1080 * 100vw), 16px);
            aspect-ratio: 16 / 8;
            background: url(../img/common/arrow-acc-sec07.svg) center / contain no-repeat;
        }
    }

    .sec07_content.--02 .adlp-acc-wrapper {
        width: 100%;
        position: relative;
        background: url(../img/pc/sec07_acc_02_bg.png) center top / 100% repeat-y;
    }

    @media all and (max-width: 767.9px) {
        .adlp-text-wrapper {
            width: 100%;
        }

        .adlp-acc {
            width: calc(610 / 750 * 100vw);
            margin: 0 auto;

            .adlp-acc__title::after {
                margin-right: calc(40 / 750 * 100vw);
                width: calc(24 / 750 * 100vw);
            }
        }

        .sec07_content.--01 .adlp-acc-wrapper {
            background: url(../img/sp/sec07_content_01_acc_bg.png) center top / 100% repeat-y;
        }

        .sec07_content.--02 .adlp-acc-wrapper {
            background: url(../img/sp/sec07_content_02_acc_bg.png) center top / 100% repeat-y;

            .adlp-acc {
                width: calc(529 / 750 * 100vw);
            }
        }
    }
}

.sec09 {
    position: relative;

    .adlp-slider-wrapper .adlp-slider {
        .swiper-slide {
            width: min(calc(340 / 1080 * 100vw), 340px);
            padding: 0 min(calc(10 / 1080 * 100vw), 10px);
        }
    }

    @media screen and (min-width: 768px) and (max-width: 1080px) {
        .adlp-slider-wrapper {
            width: 100vw;
        }
    }

    @media all and (max-width: 767.9px) {
        .adlp-slider-wrapper {
            padding-bottom: calc((130 / 750) * 100vw);

            .adlp-slider {
                .swiper-slide {
                    padding: 0 calc(20 / 1080 * 100vw);
                }
            }
            .swiper-pagination.swiper-pagination-bullets {
                bottom: calc((80 / 750) * 100vw);
            }
        }
    }
}

.faq {
    background: var(--gray, #eeeded);
    padding-bottom: min(calc(66 / 1080 * 100vw), 66px);

    .adlp-acc-wrapper {
        width: min(calc(1000 / 1080 * 100vw), 1000px);

        .adlp-acc {
            padding: min(calc(45 / 1080 * 100vw), 45px) min(calc(40 / 1080 * 100vw), 40px);
            border-radius: min(calc(8 / 1080 * 100vw), 8px);
            &:not(:first-child) {
                margin-top: min(calc(24 / 1080 * 100vw), 24px);
            }
        }

        .adlp-acc .adlp-acc__title::after {
            margin-right: 0;
            width: min(calc(20 / 1080 * 100vw), 20px);
            aspect-ratio: 16 / 8;
            background: url(../img/common/arrow-acc.svg) center / cover no-repeat;
        }
        .adlp-acc__content-inner {
            position: relative;
        }
        .adlp-acc__link {
            position: absolute;
            left: 0;
            bottom: 0;
            display: block;
            width: min(calc(156 / 1080 * 100vw), 156px);
        }
    }

    @media all and (max-width: 767.9px) {
        padding-bottom: calc(80 / 750 * 100vw);

        .adlp-acc-wrapper {
            width: calc(630 / 750 * 100vw);

            .adlp-acc {
                padding: calc(45 / 750 * 100vw) calc(40 / 750 * 100vw);
                border-radius: calc(8 / 750 * 100vw);
                &:not(:first-child) {
                    margin-top: calc(40 / 750 * 100vw);
                }
            }

            .adlp-acc .adlp-acc__title::after {
                width: calc(24 / 750 * 100vw);
            }

            .adlp-acc__link {
                width: calc(253 / 750 * 100vw);
            }
        }
    }
}
