:root {
    --color-main: #3c2c25;
    --color-white: #fff;
    --color-red: #f25c50;
    --color-orange: #fba200;
    --color-orange2: #f68700;
    --color-beige: #faf2ea;
    --color-beige2: #d2c6bb;
    --color-green: #28afa0;
    --color-lightgreen: #e2f4f2;
    --color-green2: #7cc46a;

    --font-size13: 1.3rem;
    --font-size16: 1.6rem;
    --font-size18: 1.8rem;
    --font-size20: 2rem;
    --font-size22: 2.2rem;
    --font-size26: 2.6rem;
    --font-size28: 2.8rem;
    --font-size30: 3rem;
    --font-size32: 3.2rem;
    --font-size40: 4rem;
    --font-size44: 4.4rem;
    --font-size46: 4.6rem;
    --font-size48: 4.8rem;
    --font-size50: 5rem;
    --font-size54: 5.4rem;
    --font-size56: 5.6rem;
    --font-size60: 6rem;
    --font-size70: 7rem;
    --font-size80: 8rem;
    --font-size90: 9rem;
    --font-size100: 10rem;
    --font-size210: 21rem;

    --font-weight-bold: 900;

    --shadow1: 0 3px 5px 0 rgb(0 0 0 / 0.18);
    --shadow2: 0 0 20px 0 rgb(0 0 0 / 0.06);

    --padding: 30px;
    --width: 1120px;

    @media screen and (max-width: 768px) {
        --font-size13: 12px;
        --font-size16: 14px;
        --font-size18: 16px;
        --font-size20: 18px;
        --font-size22: 20px;
        --font-size26: 22px;
        --font-size28: 24px;
        --font-size30: 4.0vw;
        --font-size32: 4.2vw;
        --font-size40: 5vw;
        --font-size44: 5.4vw;
        --font-size46: 5.6vw;
        --font-size48: 5.8vw;
        --font-size50: 6vw;
        --font-size54: 6.4vw;
        --font-size56: 6.6vw;
        --font-size60: 7vw;
        --font-size70: 8vw;
        --font-size80: 9vw;
        --font-size90: 10vw;
        --font-size100: 11vw;
        --font-size210: 26vw;

        --padding: 15px;
        --width: auto;
    }
}

* {
    box-sizing: content-box;
}

.pc {
    display: block;
}

.sp {
    display: none;
}

@media screen and (max-width: 768px) {
    .pc {
        display: none;
    }

    .sp {
        display: block;
    }
}

html {
    font-size: 62.5%;
}

body {
    min-height: 100vh;
    color: var(--color-main);
    font-size: var(--font-size18);
    font-family: "Poppins", "Zen Kaku Gothic New", sans-serif;
    font-weight: 700;
    line-height: 1.4;
    word-break: break-word;
    overflow-wrap: anywhere;
    line-break: anywhere;
}

img {
    width: 100%;
    height: auto;
    max-width: none;
}

a {
    color: currentColor;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.container {
    overflow-x: clip;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 0 20px;
    height: 120px;

    @media screen and (max-width: 1150px) {
        height: 90px;
    }

    @media screen and (max-width: 768px) {
        gap: 5px;
        padding: 10px;
        height: auto;
    }

    .logo {
        @media screen and (max-width: 1350px) {
            width: 350px;
            max-width: 80%;
        }
    }

    p {
        span {
            color: var(--color-orange);
        }

        @media screen and (max-width: 1350px) {
            font-size: var(--font-size13);
        }
    }

    .btn {
        margin: 0 0 0 auto;
        position: relative;
        overflow: hidden;

        @media screen and (max-width: 1150px) {
            display: none;
        }

        a {
            display: flex;
            align-items: center;
            gap: 10px;
            height: 84px;
            padding: 0 40px 0 15px;
            color: var(--color-white);
            font-size: var(--font-size26);
            font-weight: var(--font-weight-bold);
            background: var(--color-orange) url(../images/arrow.png) no-repeat center right 20px;
            border-radius: 100px;
            box-shadow: var(--shadow1);

            @media (hover: hover) {
                &:hover {
                    opacity: 0.6;
                }
            }

            &>span {
                display: flex;
                align-items: center;
                padding: 0 10px;
                height: 54px;
                color: var(--color-main);
                font-size: var(--font-size18);
                background: var(--color-white);
                border: var(--color-main) 2px solid;
                border-radius: 100px;

                span {
                    color: var(--color-red);
                }
            }
        }
    }
}


.reflection {
    height: 100%;
    width: 60px;
    position: absolute;
    top: -180px;
    left: -180px;
    background-color: rgba(255, 255, 255, 0.8);
    opacity: 0;
    transform: rotate(45deg);
    animation: reflection 3s ease-in-out infinite;
    -webkit-transform: rotate(45deg);
    -webkit-animation: reflection 3s ease-in-out infinite;
    -moz-transform: rotate(45deg);
    -moz-animation: reflection 3s ease-in-out infinite;
    -ms-transform: rotate(45deg);
    -ms-animation: reflection 3s ease-in-out infinite;
    -o-transform: rotate(45deg);
    -o-animation: reflection 3s ease-in-out infinite;
}

@keyframes reflection {
    0% {
        transform: scale(0) rotate(45deg);
        opacity: 0;
    }

    80% {
        transform: scale(0) rotate(45deg);
        opacity: 0.5;
    }

    81% {
        transform: scale(4) rotate(45deg);
        opacity: 1;
    }

    100% {
        transform: scale(50) rotate(45deg);
        opacity: 0;
    }
}


.mv {
    .mv-inner {
        position: relative;
        margin: 0 auto;
        width: var(--width);

        height: 841px;

        @media screen and (max-width: 768px) {
            height: auto;
        }

        h1 {
            position: absolute;
            left: -40px;
            top: 243px;
            z-index: 3;
            font-size: 8.8rem;
            letter-spacing: -0.05em;
            line-height: 1.2;
            font-family: "Zen Maru Gothic", sans-serif;
            font-weight: 700;
            font-feature-settings: "palt";

            .str {
                color: var(--color-orange);

            }

            @media screen and (max-width: 768px) {
                left: 6%;
                top: 16%;
                font-size: 10vw;
            }

        }

        img {
            position: absolute;
            inset: 0 auto auto 50%;
            width: 1920px;
            height: 841px;
            translate: -50% 0;

            &.sp {
                display: none;
            }

            @media screen and (max-width: 768px) {
                position: relative;
                inset: auto;
                width: 100%;
                height: auto;
                translate: 0;

                &.pc {
                    display: none;
                }

                &.sp {
                    display: block;
                }
            }
        }
    }
}

.tokucho {
    margin: -200px auto 40px auto;
    padding: 0 var(--padding);
    width: var(--width);

    @media screen and (max-width: 768px) {
        margin: 0px auto 40px auto;
        max-width: 80%;
        width: 400px;
    }

    .tokucho-swiper {
        overflow: visible;

        .swiper-wrapper {
            .swiper-slide {
                position: relative;

                .icon {
                    display: grid;
                    place-items: center;
                    position: relative;
                    margin: 0 auto;
                    width: 56px;
                    height: 56px;
                    background: var(--color-orange);
                    border-radius: 50%;
                    box-shadow: var(--shadow1);
                    z-index: 1;

                    img {
                        width: 32px;
                    }
                }

                .box {
                    overflow: clip;
                    margin: -26px 0 0 0;
                    border: var(--color-green) 3px solid;
                    border-radius: 40px;
                }

                .title {
                    padding: 30px 30px 15px 30px;
                    color: var(--color-white);
                    font-size: var(--font-size28);
                    font-weight: var(--font-weight-bold);
                    text-align: center;
                    background: var(--color-green);

                    @media screen and (max-width: 768px) {
                        font-size: 5vw;
                    }
                }

                p {
                    padding: 20px;
                    text-align: center;
                    background: var(--color-white);

                    @media screen and (max-width: 768px) {
                        font-size: 4vw;
                    }
                }
            }
        }
    }
}

.mitumori-btn {
    margin: 0 auto 70px auto;
    padding: 0 var(--padding);
    width: var(--width);
    position: relative;
    overflow: hidden;

    a {
        display: block;

        @media (hover: hover) {
            &:hover {
                opacity: 0.6;
            }
        }

        div {
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            margin: 0 auto;
            padding: 0 30px;
            width: fit-content;
            height: 58px;
            font-weight: var(--font-weight-bold);
            background: var(--color-white);
            border: var(--color-orange) 3px solid;
            border-radius: 100px;

            @media screen and (max-width: 768px) {
                padding: 10px 20px;
                height: auto;
                font-size: 3.3vw;
            }

            span {
                color: var(--color-orange);
            }

            &:before,
            &:after {
                content: "";
                position: absolute;
                inset: auto auto -10px calc(50% - 10px);
                border-width: 10px 10px 0 10px;
                border-style: solid;
                border-color: var(--color-orange) transparent transparent transparent;
            }

            &:after {
                inset: auto auto -6px calc(50% - 10px);
                border-width: 10px 10px 0 10px;
                border-style: solid;
                border-color: var(--color-white) transparent transparent transparent;
            }
        }

        p {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: -15px 0 0 0;
            padding: 0 120px 0 35px;
            height: 166px;
            color: var(--color-white);
            font-size: var(--font-size54);
            font-weight: var(--font-weight-bold);
            background: var(--color-orange) url(../images/arrow2.png) no-repeat center right 50px;
            border-radius: 100px;
            box-shadow: var(--shadow1);


            @media screen and (max-width: 768px) {
                flex-direction: column;
                gap: 5px;
                padding: 30px 0 20px 0;
                height: auto;
                background: var(--color-orange);
                border-radius: 40px;
            }

            &>span {
                display: flex;
                align-items: center;
                padding: 0 30px;
                height: 110px;
                color: var(--color-main);
                font-size: var(--font-size48);
                background: var(--color-white);
                border: var(--color-main) 3px solid;
                border-radius: 100px;

                span {
                    color: var(--color-red);
                }

                @media screen and (max-width: 768px) {
                    padding: 8px 20px;
                    height: auto;
                }
            }
        }
    }
}

.nowis {
    margin: 0 0 48px 0;
    height: 917px;
    background: url(../images/nowis-bg.png) no-repeat top center;

    @media screen and (max-width: 768px) {
        height: auto;
        background: var(--color-beige);
    }

    .nowis-inner {
        margin: 0 auto;
        padding: 115px var(--padding) 0;
        width: var(--width);
        text-align: center;

        @media screen and (max-width: 768px) {
            padding: 50px var(--padding);
        }
    }

    .title {
        margin: 0 0 20px 0;

        .mini {
            position: relative;
            margin: 0 0 35px 0;
            color: var(--color-green);

            &:before {
                content: "";
                position: absolute;
                inset: auto auto -15px 50%;
                width: 100px;
                height: 1px;
                background: var(--color-green);
                translate: -50% 0;
            }
        }

        h2 {
            margin: 0 0 10px 0;
            color: var(--color-green);
            font-size: var(--font-size70);
            font-weight: var(--font-weight-bold);

            @media screen and (max-width: 768px) {
                font-size: 5vw;
            }
        }

        .under {
            font-size: var(--font-size28);
            font-weight: var(--font-weight-bold);
        }
    }

    .main {
        position: relative;
        margin: 0 0 30px 0;

        div {
            margin: 0 0 20px 0;
            font-size: var(--font-size100);
            line-height: 1;

            .numb {
                color: var(--color-red);
                font-size: var(--font-size210);
            }

            .kome {
                position: absolute;
                inset: 60px auto auto calc(50% + 260px);
                font-size: var(--font-size30);
            }
        }

        p {
            position: relative;
            margin: 0 auto;
            padding: 20px;
            width: fit-content;
            color: var(--color-white);
            font-size: var(--font-size32);
            background: var(--color-green2);
            border-radius: 20px;

            &:before {
                content: "";
                position: absolute;
                inset: -20px auto auto calc(50% - 20px);
                border-width: 0 20px 20px 20px;
                border-style: solid;
                border-color: transparent transparent var(--color-green2) transparent;
            }
        }
    }

    .sub {
        div {
            margin: 0 auto 20px auto;
            padding: 0 0 20px 0;
            width: fit-content;
            font-size: var(--font-size30);
            border-bottom: var(--color-beige2) 2px dotted;
        }

        p {
            font-size: var(--font-size13);
        }
    }
}

.merit01 {
    position: relative;
    margin: 0 auto;
    width: var(--width);

    &:before {
        content: "";
        position: absolute;
        inset: -315px auto auto 50%;
        width: 1920px;
        height: 600px;
        background: url(../images/merit-bg.png) no-repeat top center;
        translate: -50% 0;
        z-index: -1;
    }

    h2 {
        color: var(--color-white);
        font-size: var(--font-size80);
        font-weight: var(--font-weight-bold);
        text-align: center;

        span {
            display: block;
            font-size: var(--font-size40);
        }

        @media screen and (max-width: 768px) {
            margin: 0 0 30px 0;
            font-size: 6vw;
        }
    }

    .main {
        position: relative;
        margin: 0 0 50px 0;
        padding: var(--padding);
        text-align: center;
        background: var(--color-white);
        border-radius: 50px;
        box-shadow: var(--shadow2);

        @media screen and (max-width: 768px) {
            margin: 0 15px 15px 15px;
        }

        .numb {
            display: grid;
            place-items: center;
            position: absolute;
            inset: 30px auto auto -87px;
            width: 174px;
            height: 174px;
            color: var(--color-white);
            font-size: var(--font-size90);
            background: var(--color-orange);
            border: var(--color-white) 8px solid;
            border-radius: 50%;
            box-shadow: var(--shadow2);

            @media screen and (max-width: 768px) {
                inset: 10px auto auto -10px;
                width: 50px;
                height: 50px;
                font-size: 30px;
                border: var(--color-white) 3px solid;
            }
        }

        .title {
            padding: 45px 0 0 0;
            height: 229px;
            background: url(../images/merit-title-bg.png) no-repeat top center;

            @media screen and (max-width: 768px) {
                margin: 0 0 20px 0;
                padding: 20px;
                height: auto;
                background: var(--color-lightgreen);
                border-radius: 40px;
            }

            h3 {
                margin: 0 0 10px 30px;
                color: var(--color-green);
                font-size: var(--font-size56);
                font-weight: var(--font-weight-bold);

                @media screen and (max-width: 768px) {
                    font-size: 6.5vw;
                    margin: 0 0 10px 0px;
                }
            }
        }

        .copy {
            margin: 0 auto 10px auto;
            font-size: var(--font-size40);
            font-weight: var(--font-weight-bold);
        }

        .image {
            margin: 0 auto 30px auto;
            width: 90%;
        }

        .comment {
            font-size: var(--font-size13);

            @media screen and (max-width: 768px) {
                text-align: left;
            }
        }
    }

    .merit01-swiper-container {
        position: relative;

        .swiper-button-prev,
        .swiper-button-next {
            display: grid;
            place-items: center;
            inset: 50% auto auto -60px;
            width: 80px;
            height: 80px;
            background: var(--color-white);
            border: var(--color-green) 3px solid;
            border-radius: 50%;
            transition: all 0.3s ease;

            &:after {
                display: none;
            }

            @media (hover: hover) {
                &:hover {
                    opacity: 0.6;
                }
            }

            @media screen and (max-width: 768px) {
                left: 5px;
                width: 25px;
                height: 25px;

                img {
                    width: 50%;
                }
            }
        }

        .swiper-button-next {
            inset: 50% -60px auto auto;

            @media screen and (max-width: 768px) {
                right: 5px;
            }
        }
    }

    .merit01-swiper {
        overflow: visible;
        margin: 0 0 50px 0;

        @media screen and (max-width: 768px) {
            margin: 0 15px 15px 15px;
        }

        .swiper-wrapper {
            .swiper-slide {
                .swiper-slide-inner {
                    display: flex;
                    align-items: center;
                    padding: var(--padding);
                    background: var(--color-white);
                    border-radius: 50px;
                    box-shadow: var(--shadow2);

                    @media screen and (max-width: 768px) {
                        flex-direction: column;
                    }

                    .image {
                        width: 370px;

                        @media screen and (max-width: 768px) {
                            padding: 30px;
                            width: 50%;
                        }
                    }

                    .text {
                        flex: 1;
                        padding: var(--padding);

                        h3 {
                            margin: 0 0 20px 0;
                            font-size: var(--font-size46);
                            font-weight: var(--font-weight-bold);
                        }

                        p {
                            margin: 0 0 20px 0;
                            font-size: var(--font-size16);
                        }

                        .price {
                            display: flex;
                            align-items: center;
                            flex-wrap: wrap;

                            @media screen and (max-width: 768px) {
                                display: block;
                            }

                            &.before:after {
                                content: "";
                                display: block;
                                margin: 0 auto;
                                width: 35px;
                                height: 35px;
                                background: url(../images/arrow-bottom.png) no-repeat 0 0 / 100%;
                            }

                            .title {
                                font-size: var(--font-size26);

                                span.icon {
                                    display: inline-block;
                                    margin: 0 8px 0 0;
                                    padding: 6px 0;
                                    width: 100px;
                                    color: var(--color-white);
                                    font-size: var(--font-size18);
                                    text-align: center;
                                    background: var(--color-green);
                                    border-radius: 100px;
                                    translate: 0 -5px;

                                    .after & {
                                        background: var(--color-orange);
                                    }

                                    @media screen and (max-width: 768px) {
                                        width: 100%;

                                        .after & {
                                            margin: 20px 0 0 0;
                                        }
                                    }
                                }

                                span.numb {
                                    color: var(--color-red);
                                    font-size: var(--font-size50);
                                }
                            }

                            p {
                                width: 100%;
                                font-size: var(--font-size13);
                            }
                        }

                        .total {
                            position: relative;
                            width: fit-content;
                            font-size: var(--font-size30);

                            &:after {
                                content: "";
                                position: absolute;
                                inset: 0 0 auto auto;
                                width: 33px;
                                height: 43px;
                                background: url(../images/down.png) no-repeat 0 0 / 100%;

                                @media screen and (max-width: 768px) {
                                    display: none;
                                }
                            }

                            span {
                                color: var(--color-red);
                                font-size: var(--font-size70);
                            }
                        }
                    }
                }
            }
        }
    }

    .simu {
        position: relative;
        margin: 0 0 100px 0;
        padding: var(--padding);
        text-align: center;
        background: var(--color-white);
        border-radius: 50px;
        box-shadow: var(--shadow2);

        @media screen and (max-width: 768px) {
            margin: 0 15px 60px 15px;
        }

        .title {

            h3 {
                margin: 20px 0 10px 30px;
                color: var(--color-green);
                font-size: var(--font-size56);
                font-weight: var(--font-weight-bold);

                @media screen and (max-width: 768px) {
                    margin: 20px 0 10px 0px;
                }

                .lead {
                    font-size: var(--font-size40);
                    display: block;
                }
            }

            p {
                font-size: var(--font-size16);
            }
        }
    }
}

.merit02 {
    margin: 0 0 100px 0;
    padding: 100px 0;
    background: url(../images/merit-bg.png) no-repeat center 0 / 1920px;

    @media screen and (max-width: 768px) {
        margin: 0 0 50px 0;
        padding: 15px;
    }

    .main {
        position: relative;
        margin: 0 auto;
        padding: var(--padding);
        width: var(--width);
        text-align: center;
        background: var(--color-white);
        border-radius: 50px;
        box-shadow: var(--shadow2);

        .numb {
            display: grid;
            place-items: center;
            position: absolute;
            inset: 30px auto auto -87px;
            width: 174px;
            height: 174px;
            color: var(--color-white);
            font-size: var(--font-size90);
            background: var(--color-orange);
            border: var(--color-white) 8px solid;
            border-radius: 50%;
            box-shadow: var(--shadow2);

            @media screen and (max-width: 768px) {
                inset: 10px auto auto -10px;
                width: 50px;
                height: 50px;
                font-size: 30px;
                border: var(--color-white) 3px solid;
            }
        }

        .title {
            padding: 45px 0 0 0;
            height: 229px;
            background: url(../images/merit-title-bg.png) no-repeat top center;

            @media screen and (max-width: 768px) {
                margin: 0 0 20px 0;
                padding: 20px;
                height: auto;
                background: var(--color-lightgreen);
                border-radius: 40px;
            }

            h3 {
                margin: 0 0 10px 30px;
                color: var(--color-green);
                font-size: var(--font-size56);
                font-weight: var(--font-weight-bold);

                @media screen and (max-width: 768px) {
                    font-size: 6.5vw;
                    margin: 0 0 10px 0px;
                }
            }
        }

        .detail {
            display: flex;

            @media screen and (max-width: 768px) {
                display: block;
            }

            .item {
                padding: 0 0 0 var(--padding);
                width: 50%;
                text-align: left;

                &:nth-child(1) {
                    padding: 0 var(--padding) 0 0;
                    border-right: var(--color-beige2) 2px dotted;
                }

                @media screen and (max-width: 768px) {
                    padding: 0 0 30px 0 !important;
                    width: 100%;
                    border: none !important;
                }

                h4 {
                    margin: 0 0 15px 0;
                    font-size: var(--font-size40);
                    font-weight: var(--font-weight-bold);
                    text-align: center;

                    span {
                        display: block;
                        font-size: var(--font-size20);
                    }
                }

                .image {
                    margin: 0 auto 15px auto;
                    width: 80%;
                }

                p {
                    margin: 0 auto 15px auto;
                    font-size: var(--font-size16);
                }

                ul {
                    padding: 20px;
                    list-style: none;
                    background: var(--color-beige);
                    border-radius: 20px;

                    li {
                        padding: 5px 0 5px 30px;
                        font-size: var(--font-size16);
                        background: url(../images/check.png) no-repeat center left / 20px 20px;
                    }
                }
            }
        }
    }
}

.merit03 {
    margin: 0 auto 90px auto;
    width: var(--width);

    @media screen and (max-width: 768px) {
        margin: 0 0 50px 0;
        padding: 0 15px;
    }

    .main {
        position: relative;
        margin: 0 0 50px 0;
        padding: var(--padding);
        background: var(--color-white);
        border-radius: 50px;
        box-shadow: var(--shadow2);

        @media screen and (max-width: 768px) {
            margin: 0 0 15px 0;
        }

        .numb {
            display: grid;
            place-items: center;
            position: absolute;
            inset: 30px auto auto -87px;
            width: 174px;
            height: 174px;
            color: var(--color-white);
            font-size: var(--font-size90);
            background: var(--color-orange);
            border: var(--color-white) 8px solid;
            border-radius: 50%;
            box-shadow: var(--shadow2);

            @media screen and (max-width: 768px) {
                inset: 10px auto auto -10px;
                width: 50px;
                height: 50px;
                font-size: 30px;
                border: var(--color-white) 3px solid;
            }
        }

        .title {
            padding: 45px 0 0 0;
            height: 229px;
            text-align: center;
            background: url(../images/merit-title-bg.png) no-repeat top center;

            @media screen and (max-width: 768px) {
                margin: 0 0 20px 0;
                padding: 20px;
                height: auto;
                background: var(--color-lightgreen);
                border-radius: 40px;
            }

            h3 {
                margin: 0 0 10px 30px;
                color: var(--color-green);
                font-size: var(--font-size56);
                font-weight: var(--font-weight-bold);

                @media screen and (max-width: 768px) {
                    font-size: 6.5vw;
                    margin: 0 0 10px 0px;
                }
            }
        }

        .detail {
            display: flex;
            gap: var(--padding);
            padding: var(--padding);

            @media screen and (max-width: 768px) {
                display: block;
            }

            .text {
                width: 50%;

                @media screen and (max-width: 768px) {
                    width: 100%;
                }

                h4 {
                    margin: 0 0 30px 0;
                    color: var(--color-orange);
                    font-size: var(--font-size44);
                    font-weight: var(--font-weight-bold);
                }

                p {
                    margin: 0 0 20px 0;
                    font-size: var(--font-size20);
                }

                .comment {
                    font-size: var(--font-size13);
                }
            }

            .image {
                width: 50%;

                @media screen and (max-width: 768px) {
                    margin: 30px 0 0 0;
                    width: 100%;
                }
            }
        }
    }

    .sub {
        display: flex;
        gap: var(--padding);
        padding: calc(var(--padding) * 2);
        background: var(--color-white);
        border-radius: 50px;
        box-shadow: var(--shadow2);

        @media screen and (max-width: 768px) {
            display: block;
        }

        .text {
            width: 50%;

            @media screen and (max-width: 768px) {
                width: 100%;
            }

            h4 {
                margin: 0 0 30px 0;
                color: var(--color-orange);
                font-size: var(--font-size44);
                font-weight: var(--font-weight-bold);
            }

            p {
                margin: 0 0 20px 0;
                font-size: var(--font-size20);
            }
        }

        .image {
            width: 50%;

            @media screen and (max-width: 768px) {
                margin: 30px 0 0 0;
                width: 100%;
            }
        }
    }
}

.solving {
    position: relative;
    padding: 0 0 100px 0;
    background: var(--color-beige) url(../images/nowis-bg.png) no-repeat top center;

    @media screen and (max-width: 768px) {
        padding: 0 0 60px 0;
    }

    &:after {
        content: "";
        position: absolute;
        inset: auto auto -50px calc(50% - 50px);
        border-width: 50px 50px 0 50px;
        border-style: solid;
        border-color: var(--color-beige) transparent transparent transparent;

        @media screen and (max-width: 768px) {
            inset: auto auto -25px calc(50% - 25px);
            border-width: 25px 25px 0 25px;
        }
    }

    .solving-inner {
        margin: 0 auto;
        padding: 115px var(--padding) 0;
        width: var(--width);
        text-align: center;

        @media screen and (max-width: 768px) {
            padding: 80px var(--padding) 0;
        }
    }

    .title {
        margin: 0 0 20px 0;

        .mini {
            position: relative;
            margin: 0 0 35px 0;
            color: var(--color-green);

            &:before {
                content: "";
                position: absolute;
                inset: auto auto -15px 50%;
                width: 100px;
                height: 1px;
                background: var(--color-green);
                translate: -50% 0;
            }
        }

        h2 {
            margin: 0 0 10px 0;
            color: var(--color-green);
            font-size: var(--font-size48);
            font-weight: var(--font-weight-bold);

            span {
                display: block;
                font-size: var(--font-size70);
            }
        }

        .under {
            font-size: var(--font-size28);
            font-weight: var(--font-weight-bold);
        }
    }

    .main {
        display: flex;
        gap: 20px;

        @media screen and (max-width: 768px) {
            flex-direction: column;
        }

        .item {
            padding: 40px 20px;
            text-align: center;
            background: var(--color-white);
            border-radius: 50px;
            box-shadow: var(--shadow2);

            h3 {
                margin: 0 0 20px 0;
                font-size: var(--font-size28);
                font-weight: var(--font-weight-bold);
            }

            .image {
                margin: 0 auto 30px auto;
                width: 40%;
            }

            ul {
                list-style: none;

                li {
                    padding: 5px 0 5px 30px;
                    font-size: var(--font-size16);
                    background: url(../images/guruguru.png) no-repeat top 4px left / 22px 23px;
                    text-align: left;
                }
            }
        }
    }
}

.kaiketu {
    .title {
        background: url(../images/merit-bg.png) no-repeat top center;

        h2 {
            margin: 0 auto;
            padding: 80px var(--padding) 45px var(--padding);
            width: var(--width);
            color: var(--color-white);
            font-size: var(--font-size80);
            font-weight: var(--font-weight-bold);
            text-align: center;

            @media screen and (max-width: 768px) {
                padding: 50px var(--padding) 30px var(--padding);
            }

            span {
                display: block;
                font-size: var(--font-size40);
            }
        }
    }

    .kaiketu-content {
        position: relative;
        background: url(../images/kaiketu-bg.png) no-repeat top 150px center;

        .kaiketu-content-inner {
            margin: 0 auto;
            padding: 70px var(--padding) 100px var(--padding);
            width: var(--width);

            @media screen and (max-width: 768px) {
                padding: 30px var(--padding);
            }

            h3 {
                display: flex;
                align-items: center;
                gap: 15px;
                margin: 0 0 50px 0;
                padding: 20px 0;
                font-weight: var(--font-weight-bold);
                border-top: var(--color-beige) 3px solid;
                border-bottom: var(--color-beige) 3px solid;

                &:not(:first-child) {
                    margin-top: 70px;
                }

                span.icon {
                    padding: 15px 0;
                    width: 200px;
                    color: var(--color-white);
                    font-size: var(--font-size32);
                    text-align: center;
                    background: var(--color-orange);
                    border-radius: 100px;
                }

                span.text {
                    color: var(--color-orange);
                    font-size: var(--font-size60);
                }

                @media screen and (max-width: 768px) {
                    flex-direction: column;
                    margin: 0 0 30px 0;
                }
            }

            .zu {
                position: relative;
                margin: 0 0 80px 0;

                @media screen and (max-width: 768px) {
                    margin: 0 0 30px 0;
                }

                .image {
                    display: grid;
                    place-items: center;
                    width: 540px;
                    height: 310px;
                    background: var(--color-white);
                    border-radius: 50px;
                    box-shadow: var(--shadow2);

                    img {
                        width: 70%;
                    }

                    @media screen and (max-width: 768px) {
                        padding: 40px;
                        width: auto;
                        height: auto;
                    }
                }

                .text {
                    position: absolute;
                    inset: 40px 0 auto auto;
                    width: 860px;
                    height: 310px;
                    background: var(--color-lightgreen);
                    border-radius: 50px;
                    z-index: -1;

                    p {
                        padding: 50px 50px 50px 330px;
                        font-size: var(--font-size20);
                        line-height: 1.6;
                    }

                    @media screen and (max-width: 768px) {
                        position: relative;
                        inset: auto;
                        margin: 15px 0 0 0;
                        padding: 25px;
                        width: auto;
                        height: auto;

                        p {
                            padding: 0;
                        }
                    }
                }

                &.right {
                    .image {
                        margin: 0 0 0 auto;
                    }

                    .text {
                        inset: 40px auto auto 0;

                        p {
                            padding: 50px 330px 50px 50px;
                        }

                        @media screen and (max-width: 768px) {
                            position: relative;
                            inset: auto;
                            margin: 15px 0 0 0;
                            padding: 25px;
                            width: auto;
                            height: auto;

                            p {
                                padding: 0;
                            }
                        }
                    }
                }
            }

            .point {
                display: flex;
                justify-content: center;
                align-items: center;
                gap: 20px;
                margin: 0 0 40px 0;
                text-align: center;

                p {
                    padding: 15px 20px;
                    color: var(--color-white);
                    font-size: var(--font-size28);
                    font-weight: var(--font-weight-bold);
                    background: var(--color-green);
                    border-radius: 100px;
                }

                @media screen and (max-width: 768px) {
                    flex-direction: column;

                    p {
                        width: calc(100% - 40px);
                        font-size: 1.4rem;
                    }
                }
            }

            ul {
                display: grid;
                grid-template-columns: repeat(3, 1fr);
                align-items: start;
                gap: 10px;
                list-style: none;

                @media screen and (max-width: 768px) {
                    grid-template-columns: repeat(1, 1fr);
                }

                li {
                    padding: 15px 18px;
                    border: var(--color-main) 2px solid;
                    border-radius: 10px;

                    div {
                        cursor: pointer;
                        position: relative;
                        padding: 0 20px 0 0;
                        font-weight: var(--font-weight-bold);

                        &:before {
                            content: "＋";
                            position: absolute;
                            inset: 50% 0 auto auto;
                            color: var(--color-orange);
                            translate: 0 -50%;
                        }
                    }

                    p {
                        display: none;
                        padding: 15px 0 0 0;
                        font-size: var(--font-size13);
                        line-height: 1.8;
                    }
                }
            }

            .table-scroll {
                width: 100%;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
            }

            table {

                min-width: 500px;

                thead {
                    th {
                        padding: 15px 18px;
                        color: var(--color-white);
                        font-size: var(--font-size20);
                        text-align: left;
                        background: var(--color-green);
                        border: var(--color-green) 3px solid;
                    }
                }

                tbody {
                    th {
                        padding: 15px 18px;
                        text-align: left;
                        background: var(--color-lightgreen);
                        border: var(--color-green) 3px solid;
                    }

                    td {
                        padding: 15px 18px;
                        text-align: left;
                        border: var(--color-green) 3px solid;
                    }
                }
            }
        }
    }
}

.step3 {
    margin: 0 0 80px 0;
    background: url(../images/merit-bg.png) no-repeat center 0 / 1920px;

    @media screen and (max-width: 768px) {
        margin: 0 0 50px 0;
    }

    .step3-inner {
        margin: 0 auto;
        padding: 70px var(--padding) 100px var(--padding);
        width: var(--width);

        @media screen and (max-width: 768px) {
            padding: 50px var(--padding);
        }

        h2 {
            margin: 0 0 50px 0;
            color: var(--color-white);
            font-size: var(--font-size80);
            font-weight: var(--font-weight-bold);
            text-align: center;

            @media screen and (max-width: 768px) {
                margin: 0 0 30px 0;
            }

            span {
                display: block;
                font-size: var(--font-size48);
            }
        }

        ul {
            display: flex;
            gap: 20px;
            list-style: none;

            @media screen and (max-width: 768px) {
                flex-direction: column;
            }

            li {
                position: relative;
                padding: var(--padding);
                width: 33.33%;
                text-align: center;
                background: var(--color-white);
                border-radius: 50px;
                box-shadow: var(--shadow2);

                @media screen and (max-width: 768px) {
                    width: auto;
                }

                .numb {
                    display: grid;
                    place-items: center;
                    position: absolute;
                    inset: -20px auto auto -20px;
                    width: 70px;
                    height: 70px;
                    color: var(--color-white);
                    font-size: var(--font-size48);
                    font-weight: var(--font-weight-bold);
                    background: var(--color-orange);
                    border-radius: 100px;
                    box-shadow: var(--shadow1);
                }

                h3 {
                    height: 90px;
                    font-size: var(--font-size28);
                    font-weight: var(--font-weight-bold);
                    text-align: center;

                    span {
                        display: block;
                        font-size: var(--font-size18);
                    }
                }

                .image {
                    margin: 0 0 15px 0;

                    img {
                        margin: 0 auto;
                        width: auto;
                        height: 120px;
                    }
                }
            }
        }
    }
}

.faq {
    margin: 0 auto 80px auto;
    padding: 0 var(--padding);
    width: var(--width);

    .title {
        margin: 0 0 30px 0;
        text-align: center;

        .mini {
            position: relative;
            margin: 0 0 35px 0;
            color: var(--color-green);

            &:before {
                content: "";
                position: absolute;
                inset: auto auto -15px 50%;
                width: 100px;
                height: 1px;
                background: var(--color-green);
                translate: -50% 0;
            }
        }

        h2 {
            margin: 0 0 10px 0;
            color: var(--color-green);
            font-size: var(--font-size70);
            font-weight: var(--font-weight-bold);
        }
    }

    ul {
        list-style: none;

        li {
            margin: 0 0 20px 0;
            padding: 5px 20px;
            border: var(--color-main) 2px solid;
            border-radius: 10px;

            div {
                cursor: pointer;
                position: relative;
                padding: 26px 20px 26px 60px;
                font-size: var(--font-size22);
                font-weight: var(--font-weight-bold);

                &:before {
                    content: "Q";
                    display: grid;
                    place-items: center;
                    position: absolute;
                    inset: 16px auto auto 0;
                    width: 46px;
                    height: 46px;
                    color: var(--color-white);
                    font-size: var(--font-size30);
                    font-weight: var(--font-weight-bold);
                    background: var(--color-green);
                    border-radius: 100px;
                }

                &:after {
                    content: "＋";
                    position: absolute;
                    inset: 50% 0 auto auto;
                    color: var(--color-orange);
                    translate: 0 -50%;
                }
            }

            p {
                display: none;
                position: relative;
                padding: 26px 0 26px 60px;
                font-size: var(--font-size16);
                line-height: 1.8;

                &:before {
                    content: "A";
                    display: grid;
                    place-items: center;
                    position: absolute;
                    inset: 16px auto auto 0;
                    width: 46px;
                    height: 46px;
                    color: var(--color-white);
                    font-size: var(--font-size30);
                    font-weight: var(--font-weight-bold);
                    line-height: 1;
                    background: var(--color-orange);
                    border-radius: 100px;
                }
            }
        }
    }
}

.column {
    margin: 0 auto 120px auto;
    padding: 0 var(--padding);
    width: var(--width);

    @media screen and (max-width: 768px) {
        margin: 0 auto 50px auto;
    }

    .title {
        margin: 0 0 50px 0;
        text-align: center;

        .mini {
            position: relative;
            margin: 0 0 35px 0;
            color: var(--color-green);

            &:before {
                content: "";
                position: absolute;
                inset: auto auto -15px 50%;
                width: 100px;
                height: 1px;
                background: var(--color-green);
                translate: -50% 0;
            }
        }

        h2 {
            margin: 0 0 10px 0;
            color: var(--color-green);
            font-size: var(--font-size70);
            font-weight: var(--font-weight-bold);
        }

        .under {
            font-size: var(--font-size22);
        }
    }

    ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        list-style: none;

        @media screen and (max-width: 768px) {
            grid-template-columns: repeat(1, 1fr);
            gap: 20px;
        }

        li {
            display: flex;
            padding: 30px;
            background: var(--color-beige);
            border-radius: 50px;

            @media screen and (max-width: 768px) {
                padding: 20px;
            }

            .image {
                overflow: clip;
                width: 30%;
                border-radius: 20px;

                img {
                    display: block;
                    aspect-ratio: 1 / 1;
                    object-fit: contain;
                    width: 100%;
                    height: 100%;
                }
            }

            p {
                flex: 1;
                padding: 20px;
            }
        }
    }
}

.about {
    margin: 0 0 90px 0;
    background: url(../images/merit-bg.png) no-repeat top center;

    @media screen and (max-width: 768px) {
        margin: 0 0 50px 0;
    }

    .about-inner {
        margin: 0 auto;
        padding: 80px var(--padding) 100px var(--padding);
        width: var(--width);
        text-align: center;

        @media screen and (max-width: 768px) {
            padding: 50px var(--padding) 50px var(--padding);
        }
    }

    .title {
        margin: 0 0 40px 0;

        .mini {
            position: relative;
            margin: 0 0 35px 0;
            color: var(--color-white);

            &:before {
                content: "";
                position: absolute;
                inset: auto auto -15px 50%;
                width: 100px;
                height: 1px;
                background: var(--color-white);
                translate: -50% 0;
            }
        }

        h2 {
            margin: 0 0 10px 0;
            color: var(--color-white);
            font-size: var(--font-size70);
            font-weight: var(--font-weight-bold);
        }
    }

    .image {
        margin: 0 auto 60px auto;
        width: 390px;

        @media screen and (max-width: 768px) {
            max-width: 60%;
        }
    }

    p {
        color: var(--color-white);
        line-height: 1.8;
        text-align: center;

        @media screen and (max-width: 768px) {
            text-align: left;
        }
    }
}

.select {
    margin: 0 auto 70px auto;
    padding: 0 var(--padding);
    width: var(--width);

    @media screen and (max-width: 768px) {
        margin: 0 auto 50px auto;
    }

    h2 {
        margin: 0 0 20px 0;
        font-size: var(--font-size60);
        font-weight: var(--font-weight-bold);
        text-align: center;
        background: url(../images/select-title.png) no-repeat center center;
    }

    ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        list-style: none;
        border-radius: 20px;

        @media screen and (max-width: 768px) {
            grid-template-columns: repeat(1, 1fr);
        }

        li {
            padding: 25px 25px 25px 70px;
            font-size: var(--font-size22);
            background: var(--color-beige) url(../images/check2.png) no-repeat center left 25px / 33px 33px;
            border-radius: 20px;
        }
    }
}

.footer {
    position: relative;
    padding: 40px var(--padding);
    text-align: center;
    border-top: var(--color-beige2) 2px solid;

    .pagetop a {
        display: grid;
        place-items: center;
        position: absolute;
        inset: 50% 40px auto auto;
        width: 80px;
        height: 80px;
        translate: 0 -50%;
        background: var(--color-orange);
        border-radius: 50%;
        box-shadow: var(--shadow1);

        img {
            width: auto;
        }

        @media screen and (max-width: 768px) {
            inset: 0 5px auto auto;
            width: 40px;
            height: 40px;

            img {
                width: 16px;
            }
        }

        @media (hover: hover) {
            &:hover {
                opacity: 0.6;
            }
        }
    }

    .link {
        display: flex;
        justify-content: center;
        font-size: var(--font-size16);

        a {
            display: flex;
            align-items: center;
        }

        /*a:first-child:after {
            content: "";
            margin: 0 15px;
            width: 5px;
            height: 5px;
            background: var(--color-orange);
            border-radius: 50%;
        }*/
    }

    .copyright {
        margin: 20px 0 0 0;
        color: var(--color-beige2);
        font-size: var(--font-size13);
    }
}

.sp-cta {
    display: none;
}

@media screen and (max-width: 768px) {
    .sp-cta {
        position: fixed;
        font-size: 18px;
        z-index: 999;
        left: 50%;
        transform: translateX(-50%);
        bottom: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
        background: var(--color-orange);
        color: #fff;
        padding: 0.8em 1em;
        width: 90%;
        box-sizing: border-box;
        border-radius: 40px;
        overflow: hidden;
    }
}
}