@charset "UTF-8";

/*------------------------------------*\
    $CONTENTS
\*------------------------------------*/
/**
 * CONTENTS............目次
 * COMMON..............共通パーツ
 * VARIABLE-HIDE.......可変幅による表示非表示
 * HEADER..............ヘッダーコンテンツ
 * FOOTER..............フッターコンテンツ
 * MAIN................メインコンテンツ
 */





/*------------------------------------*\
    $COMMON
\*------------------------------------*/
/* Checking CSS nesting */
.has-nesting {
    display: none;
}
html {
    & .has-nesting {
        display: block;
    }
    & .no-nesting {
        display: none;
    }
}


/**
 * Hide contents
 */
/* Hide elements */
.hide {
    content-visibility: auto;
    display: none;
}

/* Hide scrollbar */
.no-scrollbar {
    -ms-overflow-style: noe; /* Edge */
    scrollbar-width: none; /* Firefox */
}
.no-scrollbar::-webkit-scrollbar { /* Safari */
    content-visibility: auo;
    display: none;
}


/**
 * Button
 */
.btn {
    display: block;
    border-radius: 99px;
    background-color: var(--pastelColor3);
    color: white;
    text-align: center;
    white-space: nowrap;
}


/**
 * Title
 */
.title {
    font-size: 2.8rem;
    line-height: 1.4;
    text-align: center;
    @media screen and (min-width: 768px) {
        & {
            font-size: 4.8rem;
            line-height: 1.4125;
        }
    }
}


/**
 * Form parts
 */
.radio {
    display: flex;
    align-items: center;
    column-gap: 10px;
    width: fit-content;
    font-size: 1.6rem;
    line-height: 2.25;
    cursor: pointer;
    input[type=radio] {
        appearance: auto;
        width: 18px;
        accent-color: var(--primaryColor);
    }
}





/*------------------------------------*\
    $VARIABLE-HIDE
\*------------------------------------*/
/* Aspect ratio */
@media screen and (orientation: landscape) {
    .portrait { display: none !important }
}
@media screen and (orientation: portrait) {
    .landscape { display: none !important }
}

/* iPad */
@media screen and (min-width: 768px) {
    .less768 { display: none !important }
}
@media screen and (max-width: 767px) {
    .over768 { display: none !important }
}





/*------------------------------------*\
    $HEADER
\*------------------------------------*/
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: min(1280px, 100%);
    padding-block: 10px;
    padding-inline: min(40px, 6.667%);
    margin-inline: auto;
    font-size: 1.0rem;
    @media screen and (min-width: 768px) {
        & {
            padding-block: 20px;
            font-size: 1.6rem;
        }
    }

    .header__logo {
        display: flex;
        align-items: center;
        column-gap: 24px;
        @media screen and (max-width: 767px) {
            & {
                justify-content: space-between;
            }
        }
        img {
            width: 96px;
            @media screen and (min-width: 768px) {
                width: min(193px, 16.08333vw);
            }
        }
    }

    .header__btn {
        width: 180px;
        line-height: 2.5;
        @media screen and (max-width: 1023px) {
            & {
                display: none;
            }
        }
    }

}





/*------------------------------------*\
    $FOOTER
\*------------------------------------*/
.footer {
    width: min(1200px, 86.667%);
    padding-block: 30px;
    margin-inline: auto;
    border-image-source: linear-gradient(var(--primaryColor), var(--primaryColor));
    border-image-slice: 0 fill;
    border-image-outset: 0 100vw;
    color: white;
    font-weight: 400;
    @media screen and (min-width: 768px) {
        & {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 66px;
            padding-bottom: 52px;
        }
    }

    .footer__logo {
        width: 176px;
        @media screen and (max-width: 767px) {
            & {
                margin-inline: auto;
            }
        }
        @media screen and (min-width: 768px) {
            & {
                width: 193px;
            }
        }
    }

    .footer__copyright {
        margin-top: 40px;
        font-size: 1.0rem;
        line-height: 1;
        @media screen and (max-width: 767px) {
            & {
                text-align: center;
            }
        }
        @media screen and (min-width: 768px) {
            & {
                margin-top: 32px;
            }
        }
    }

    .footer__nav {
        @media screen and (max-width: 767px) {
            & {
                margin-top: 38px;
            }
        }
        @media screen and (min-width: 768px) {
            & {
                display: flex;
                align-items: center;
                column-gap: 36px;
            }
        }

        .footer__nav__item {
            font-size: 1.2rem;
            line-height: 1.75;
            text-align: center;
            & a {
                text-decoration: underline;
            }
            @media screen and (max-width: 767px) {
                & + & {
                    margin-top: 36px;
                }
            }
            @media screen and (min-width: 768px) {
                & {
                    font-size: 1.4rem;
                }
            }
        }
    }

}





/*------------------------------------*\
    $MAIN
\*------------------------------------*/
.main {
    overflow: hidden;
    & > :where(section) {
        width: min(1280px, 100%);
        padding-inline: min(40px, 6.667%);
        margin-inline: auto;
        &.bg {
            border-image-source: linear-gradient(var(--secondaryColor), var(--secondaryColor));
            border-image-slice: 0 fill;
            border-image-outset: 0 100vw;
        }
    }
}


.fv {
    position: relative;
    width: 100%;
    padding-inline: 0;
    border-image-source: linear-gradient(var(--secondaryColor), var(--secondaryColor));
    border-image-slice: 0 fill;
    border-image-outset: 0 100vw;

    picture {
        width: 100%;
        max-width: 430px;
        margin-inline: auto;
        @media screen and (min-width: 768px) {
            & {
                max-width: 1920px;
            }
        }
        @media screen and (min-width: 768px) and (max-width: 1279px) {
            & {
                aspect-ratio: 1280 / 570;
            }
        }
        @media screen and (min-width: 1280px) {
            & {
                height: 570px;
            }
        }
        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

    .fv__btn {
        position: absolute;
        top: 78.947%;
        left: 50%;
        width: 13.333em;
        font-size: clamp(1.8rem, 100vw * (24 / 1280), 2.4rem);
        line-height: 3.333;
        @media screen and (max-width: 767px) {
            & {
                transform: translateX(-50%);
            }
        }
        @media screen and (min-width: 768px) {
            & {
                top: 68.421%;
                left: 3.125%;
                width: min(360px, 28.125%);
            }
        }
        @media screen and (min-width: 1280px) {
            & {
                left: calc(50% - 600px);
            }
        }
    }
}


.intro {
    width: 100%;
    padding-top: 40px;
    padding-bottom: 48px;
    background-image: linear-gradient(90deg, var(--pastelColor2), var(--primaryColor));
    color: white;
    @media screen and (min-width: 768px) {
        & {
            display: flex;
            justify-content: center;
            align-items: center;
            column-gap: min(72px, 6%);
            padding-top: 34px;
            padding-bottom: 32px;
        }
    }

    .intro__img {
        width: 258px;
        @media screen and (max-width: 767px) {
            & {
                margin-inline: auto;
            }
        }
        @media screen and (min-width: 768px) {
            & {
                width: min(249px, 20.75%);
            }
        }
    }

    .intro__txt {
        font-size: 1.8rem;
        line-height: 1.59444;
        @media screen and (max-width: 767px) {
            & {
                margin-top: 28px;
                text-align: center;
            }
        }
        @media screen and (min-width: 768px) {
            & {
                font-size: min(2.4rem, 100vw * (24 / 1280));
                line-height: 1.5;
            }
        }
    }
}


.assignment {
    margin-top: 48px;
    @media screen and (min-width: 768px) {
        & {
            margin-top: 120px;
        }
    }

    .assignment__img {
        width: 248px;
        margin-block: 30px;
        margin-inline: auto;
        @media screen and (min-width: 768px) {
            & {
                width: 321px;
                margin-block: 64px;
            }
        }
    }

    .assignment__nav {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 50px;
        column-gap: clamp(15px, 4.615%, 34px);
        @media screen and (min-width: 768px) {
            & {
                margin-bottom: 64px;
            }
        }

        .assignment__btn {
            display: flex;
            justify-content: center;
            align-items: center;
            column-gap: 5.333%;
            width: min(250px, 46.154%);
            font-size: 1.8rem;
            line-height: 3.333;
            &::after {
                content: "";
                position: relative;
                transform: rotate(45deg) translateY(-25%);
                display: inline-block;
                width: 10px;
                height: 10px;
                border-right: 2px solid white;
                border-bottom: 2px solid white;
            }
            @media screen and (min-width: 768px) {
                & {
                    column-gap: 18px;
                    font-size: 2.4rem;
                }
                &::after {
                    width: 14px;
                    height: 14px;
                }
            }
    
            &.btn-1 {
                background-color: var(--pastelColor2);
            }
            &.btn-2 {
                background-color: var(--pastelColor1);
            }
        }
    }

    .assignment__section {
        border-radius: var(--borderRadius);
        overflow: hidden;
        color: var(--pastelColor2);

        .assignment__title {
            display: flex;
            justify-content: center;
            align-items: center;
            column-gap: 24px;
            height: 120px;
            background-color: var(--pastelColor2);
            color: white;
            font-size: 2.4rem;
            line-height: 1.543;
            @media screen and (min-width: 768px) {
                & {
                    column-gap: 1.0556em;
                    height: 5.556em;
                    font-size: min(3.6rem, 100vw * (36 / 1280));
                }
            }

            .assignment__title__icon {
                aspect-ratio: 93 / 101;
                display: block;
                width: 56px;
                background-image: url(../images/icon-assignment-main-1.webp);
                background-repeat: no-repeat;
                background-size: contain;
                /* &.icon-2 {
                    aspect-ratio: 72 / 100;
                    background-image: url(../images/icon-assignment-main-2.webp);
                } */
                @media screen and (min-width: 768px) {
                    & {
                        width: 2.583em;
                    }
                }
            }
            & strong {
                position: relative;
                padding-inline: .1em;
                font-size: 2.8rem;
                &::before {
                    content: "";
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    width: 100%;
                    height: 1px;
                    background-color: white;
                }
                @media screen and (min-width: 768px) {
                    & {
                        font-size: min(4.8rem, 100vw * (48 / 1280));
                    }
                    &::before {
                        height: 2px;
                    }
                }
            }
        }

        .assignment__list {
            margin-top: 8px;
            @media screen and (min-width: 768px) {
                & {
                    display: grid;
                    grid-template-columns: repeat(3, 1fr);
                    grid-column-gap: 15px;
                    margin-top: 15px;
                }
            }

            .assignment__item {
                padding-bottom: 50px;
                background-color: #f3f6fa;
                text-align: center;
                @media screen and (max-width: 767px) {
                    & {
                        padding-top: 30px;
                    }
                }
                @media screen and (min-width: 768px) {
                    & {
                        padding-bottom: 68px;
                    }
                }

                .assignment__num {
                    aspect-ratio: 1 / 1;
                    display: block;
                    width: 100px;
                    padding-top: 28px;
                    margin-inline: auto;                    
                    border-radius: 100%;
                    background-color: var(--pastelColor2);
                    color: white;
                    font-size: 1.6rem;
                    line-height: 1;
                    @media screen and (min-width: 768px) {
                        & {
                            width: 5.55em;
                            padding-top: 1.4em;
                            margin-top: 2.4em;
                            font-size: min(2.0rem, 1.5625vw);
                        }
                    }
                    & strong {
                        font-size: 2em;
                    }
                }
                .assignment__icon {
                    aspect-ratio: 134 / 130;
                    display: block;
                    width: 134px;
                    margin-top: 38px;
                    margin-bottom: 48px;
                    margin-inline: auto;
                    background-repeat: no-repeat;
                    background-size: contain;
                    @media screen and (min-width: 768px) {
                        & {
                            width: min(134px, 100% * (134 / 390));
                            margin-block: min(56px, 14.359%);
                        }
                    }

                    &.icon-1 {
                        background-image: url(../images/icon-assignment-sub-1.webp);
                    }
                    &.icon-2 {
                        background-image: url(../images/icon-assignment-sub-2.webp);
                    }
                    &.icon-3 {
                        background-image: url(../images/icon-assignment-sub-3.webp);
                    }
                    &.icon-4 {
                        background-image: url(../images/icon-assignment-sub-4.webp);
                    }
                    &.icon-5 {
                        background-image: url(../images/icon-assignment-sub-5.webp);
                    }
                    &.icon-6 {
                        background-image: url(../images/icon-assignment-sub-6.webp);
                    }
                }
                .assignment__txt {
                    font-size: 2.4rem;
                    line-height: 1.4;
                    @media screen and (min-width: 768px) {
                        & {
                            font-size: min(2.8rem, 100vw * (28 / 1280));
                            line-height: 1.6;
                        }
                    }
                }
            }
        }

        + .assignment__section {
            margin-top: 42px;
            color: var(--pastelColor1);
            .assignment__title {
                background-color: var(--pastelColor1);
                .assignment__title__icon {
                    background-image: url(../images/icon-assignment-main-2.webp);
                }
            }
            .assignment__item {
                background-color: #f4fbf9;
                .assignment__num {
                    background-color: var(--pastelColor1);
                }
            }
        }

    }

    .assignment__end {
        position: relative;
        margin-top: 48px;
        margin-bottom: 50px;
        @media screen and (min-width: 768px) {
            & {
                margin-top: 156px;
                margin-bottom: 120px;
            }
        }

        .assignment__end__title {
            font-size: 2.8rem;
            line-height: 1;
            text-align: center;
            @media screen and (min-width: 768px) {
                & {
                    font-size: min(4.8rem, 100vw * (48 / 1280));
                }
            }

            & img {
                width: 294px;
                margin-block: 28px;
                margin-inline: auto;
                @media screen and (min-width: 768px) {
                    & {
                        margin-block: 1.25em;
                        width: 12.2291667em;
                    }
                }
            }
        }
        &::before,
        &::after {
            content: "";
            aspect-ratio: 301 / 408;
            position: absolute;
            width: 138px;
            background-repeat: no-repeat;
            background-size: contain;
        }
        &::before {
            background-image: url(../images/image-assignment-2.webp);
        }
        &::after {
            background-image: url(../images/image-assignment-3.webp);
        }
        @media screen and (max-width: 767px) {
            &::before,
            &::after {
                bottom: 100px;
            }
            &::before {
                right: calc(50% + 32px);
            }
            &::after {
                left: calc(50% + 22px);
            }
        }
        @media screen and (min-width: 768px) {
            &::before,
            &::after {
                top: max(-19px, -100vw * 19 / 1280);
                width: min(301px, 100% * (301 / 1280));
            }
            &::before {
                left: max(-87px, -100% * (87 / 1280));
            }
            &::after {
                right: max(-55px, -100% * (55 / 1280));
            }
        }

        .assignment__end__btn {
            width: 240px;
            margin-top: 252px;
            margin-inline: auto;
            font-size: 1.8rem;
            line-height: 3.333;
            @media screen and (min-width: 768px) {
                & {
                    width: 360px;
                    margin-top: 80px;
                    font-size: 2.4rem;
                }
            }
        }
    }

}


.service {
    padding-top: 48px;
    padding-bottom: 50px;
    @media screen and (min-width: 768px) {
        & {
            padding-top: 120px;
            padding-bottom: 80px;
        }
    }

    .service__img {
        margin-top: 48px;
        margin-bottom: 46px;
        @media screen and (min-width: 768px) {
            & {
                margin-top: 80px;
                margin-bottom: 64px;
            }
        }
    }

    .service__content {
        position: relative;
        width: min(900px, 100%);
        padding-top: 32px;
        padding-bottom: 35px;
        margin-inline: auto;
        border-radius: var(--borderRadius);
        background-color: white;
        text-align: center;
        &::before {
            content: "";
            aspect-ratio: 124 / 280;
            position: absolute;
            top: 119px;
            left: -18px;
            width: 62px;
            background-image: url(../images/image-service-2.webp);
            background-repeat: no-repeat;
            background-size: contain;
        }
        @media screen and (min-width: 768px) {
            & {
                padding-top: 84px;
                padding-bottom: 76px;
            }
            &::before {
                top: 59px;
                width: min(124px, 100% * (124 / 900));
            }
        }
    }
    .service__txt {
        font-size: 1.6rem;
        line-height: 2;
        & + .service__txt {
            margin-top: 32px;
        }
        @media screen and (min-width: 768px) {
            & {
                font-size: 2.0rem;
            }
        }
    }
}


.example {
    margin-top: 50px;
    margin-bottom: 48px;
    @media screen and (min-width: 768px) {
        & {
            margin-top: 80px;
            margin-bottom: 160px;
        }
    }

    .example__title {
        width: 143px;
        margin-inline: auto;
        border: 2.5px solid var(--primaryColor);
        border-radius: 99px;
        font-size: 2.8rem;
        line-height: 1.696;
        text-align: center;
        @media screen and (min-width: 768px) {
            & {
                width: 255px;
                border-width: 5px;
                font-size: 3.6rem;
                line-height: 2.389;
            }
        }
    }
    .example__content {
        margin-top: 29px;
        @media screen and (min-width: 768px) {
            & {
                margin-top: 54px;
            }
        }

        .example__txt {
            margin-top: 18px;
            color: var(--pastelColor3);
            font-size: 2.4rem;
            line-height: 1.4;
            text-align: center;
            @media screen and (max-width: 767px) {
                & {
                    white-space: nowrap;
                }
            }
            @media screen and (min-width: 768px) {
                & {
                    margin-top: 24px;
                    font-size: 3.2rem;
                    line-height: 1.5;
                }
            }
        }
    }
}


.plan {
    padding-top: 58px;
    padding-bottom: 60px;
    @media screen and (min-width: 768px) {
        & {
            padding-top: 116px;
            padding-bottom: 120px;
        }
    }

    .plan__desc {
        margin-top: 38px;
        @media screen and (min-width: 768px) {
            & {
                display: flex;
                justify-content: center;
                align-items: center;
                column-gap: min(55px, 4.583%);
                margin-top: 76px;
            }
        }
    
        .plan__desc__icon {
            aspect-ratio: 93 / 101;
            display: block;
            width: 93px;
            background-image: url(../images/icon-plan.webp);
            background-repeat: no-repeat;
            background-size: contain;
            @media screen and (max-width: 767px) {
                & {
                    margin-inline: auto;
                }
            }
            @media screen and (min-width: 768px) {
                & {
                    width: min(93px, 7.75%);
                }
            }
        }
        .plan__desc__bubble {
            position: relative;
            width: 100%;
            border-radius: 99px;
            background-color: white;
            font-size: 1.6rem;
            line-height: 1.5;
            text-align: center;
            &::before {
                content: "";
                position: absolute;
                left: -22px;
                transform: translateY(-50%);
            }
            @media screen and (max-width: 767px) {
                & {
                    margin-top: 30px;
                    padding-block: 18px;
                }
                &::before {
                    bottom: 100%;
                    left: 50%;
                    transform: translateX(-50%);
                    border-bottom: 15px solid white;
                    border-inline: 11px solid transparent;
                }
            }
            @media screen and (min-width: 768px) {
                & {
                    width: 993px;
                    font-size: min(3.2rem, 100vw * (32 / 1280));
                    line-height: 2.426;
                }
                &::before {
                    top: 50%;
                    border-block: 21px solid transparent;
                    border-right: 42px solid white;
                }
            }

            & strong {
                padding-inline: 6px;
                margin-inline: 10px;
                background-image: linear-gradient(var(--accentColor), var(--accentColor));
                background-repeat: no-repeat;
                background-position: 0 100%;
                background-size: 100% 20px;
                font-size: 1.6875em;
                vertical-align: -0.15em;
                @media screen and (min-width: 768px) {
                    & {
                        vertical-align: -0.15em;
                    }
                }
            }
        }
    }
    .plan__list {
        margin-top: 55px;
        @media screen and (min-width: 768px) {
            & {
                display: grid;
                grid-template-columns: 1fr 1fr;
                grid-column-gap: 3.333%;
            }
        }

        .plan__item {
            position: relative;
            &:nth-of-type(1) {
                --keyColor: var(--pastelColor1);
            }
            &:nth-of-type(2) {
                --keyColor: var(--pastelColor2);
            }
            &:nth-of-type(3) {
                --keyColor: var(--pastelColor3);
            }

            .plan__details {
                border-radius: var(--borderRadius);
                background-color: white;
                overflow: hidden;
                .plan__head {
                    height: 140px;
                    padding-top: 28px;
                    background-color: var(--keyColor);
                    color: white;
                    text-align: center;
                    @media screen and (min-width: 768px) {
                        & {
                            height: 200px;
                            padding-top: 44px;
                        }
                    }
            
                    .plan__title {
                        font-size: 2.4rem;
                        line-height: 1;
                        text-align: center;
                        @media screen and (min-width: 768px) {
                            & {
                                font-size: 3.2rem;
                            }
                        }
                    }

                    .plan__price {
                        margin-top: 13px;
                        font-size: 1.8rem;
                        line-height: 1;
                        & strong {
                            font-size: 5.0rem;
                        }
                        @media screen and (min-width: 768px) {
                            & {
                                margin-top: 21px;
                                font-size: 2.4rem;
                            }
                            & strong {
                                font-size: 6.0rem;
                            }
                        }
                    }
                }

                .plan__content {
                    padding-top: 32px;
                    padding-inline: 42.5px;
                    padding-bottom: 40px;
                    color: var(--keyColor);
                    @media screen and (min-width: 768px) {
                        & {
                            padding-top: 32px;
                            padding-bottom: 40px;
                        }
                    }

                    .plan__check-list {
                        width: fit-content;
                        margin-inline: auto;

                        .plan__check-item {
                            position: relative;
                            padding-left: 20px;
                            font-size: 1.6rem;
                            line-height: 1.5;
                            + .plan__check-item {
                                margin-top: 16px;
                            }
                            &::before {
                                content: "";
                                aspect-ratio: 1 / 1;
                                position: absolute;
                                top: 6px;
                                left: 0;
                                display: block;
                                width: 16px;
                                background-image: url(../images/icon-check-1.svg);
                                background-repeat: no-repeat;
                                background-size: contain;
                            }
                            .plan__item:nth-of-type(2) &::before {
                                background-image: url(../images/icon-check-2.svg);
                            }
                            .plan__item:nth-of-type(3) &::before {
                                background-image: url(../images/icon-check-3.svg);
                            }
                            & > strong {
                                font-size: 3.2rem;
                                background-image: linear-gradient(var(--keyColor), var(--keyColor));
                                background-repeat: no-repeat;
                                background-position: 0 100%;
                                background-size: 100% 2px;
                            }
                            @media screen and (max-width: 767px) {
                                & {
                                    width: fit-content;
                                    margin-inline: auto;
                                    text-align: center;
                                }
                            }
                            @media screen and (min-width: 768px) {
                                & {
                                    padding-left: 33px;
                                    line-height: 1;
                                }
                                &::before {
                                    top: 10px;
                                    width: 20px;
                                }
                                & > strong {
                                    font-size: 2.8rem;
                                }
                            }
                        }                        
                    }
                    .plan__mini-btn {
                        max-width: 250px;
                        margin-top: 50px;
                        margin-inline: auto;
                        background-color: var(--keyColor);
                        font-size: 1.8rem;
                        line-height: 3.333;
                        @media screen and (min-width: 768px) {
                            & {
                                margin-top: 46px;
                            }
                        }
                    }
                }
            }
            @media screen and (max-width: 767px) {
                & + & {
                    margin-top: 30px;
                }
                & + &:has(> .plan__image) {
                    margin-top: 182px;
                }
            }
            @media screen and (min-width: 768px) {
                &:has(> .plan__image) {
                    margin-bottom: 236px;
                }
                }

            .plan__image {
                position: absolute;
                width: 100%;
                @media screen and (max-width: 767px) {
                    & {
                        bottom: calc(100% + 16px);
                    }
                }
                @media screen and (min-width: 768px) {
                    & {
                        top: calc(100% + 20px);
                    }
                }
            }
        }
    }
    .plan__bubble {
        margin-top: 26px;
        color: var(--pastelColor3);
        font-size: 1.4rem;
        text-align: center;
        white-space: nowrap;
        @media screen and (min-width: 768px) {
            & {
                margin-top: 60px;
                font-size: 2.0rem;
            }
        }
    }
    .plan__btn {
        width: 240px;
        margin-top: 18px;
        margin-inline: auto;
        font-size: 1.8rem;
        line-height: 3.333;
        @media screen and (min-width: 768px) {
            & {
                width: 360px;
                margin-top: 20px;
                font-size: 2.4rem;
            }
        }
    }
}


.flow {
    margin-block: 58px;
    @media screen and (min-width: 768px) {
        & {
            margin-top: 116px;
            margin-bottom: 156px;
        }
    }

    .flow__list {
        width: min(900px, 100%);
        margin-top: 44px;
        margin-inline: auto;
        border-radius: var(--borderRadius);
        overflow: hidden;
        @media screen and (min-width: 768px) {
            & {
                margin-top: 60px;
            }
        }
    
        .flow__item {
            position: relative;
            display: flex;
            column-gap: 13px;
            min-height: 150px;
            padding-right: 12px;
            padding-left: 16px;
            padding-bottom: 26px;
            background-color: var(--secondaryColor);
            & + & {
                margin-top: 8px;
            }
            @media screen and (max-width: 767px) {
                &:not(:first-of-type)::before {
                    content: "";
                    position: absolute;
                    left: 35px;
                    bottom: calc(100% - 22px);
                    width: 2.5px;
                    height: 100%;
                    background-color: var(--primaryColor);
                }
            }
            @media screen and (min-width: 768px) {
                & {
                    align-items: center;
                    column-gap: min(40px, 5.038%);
                    min-height: 200px;
                    padding-inline: min(106px, 11.778%);
                }
                & + & {
                    margin-top: 16px;
                }
            }

            .flow__num {
                aspect-ratio: 1 / 1;
                position: relative;
                z-index: 10;
                display: flex;
                justify-content: center;
                align-items: center;
                width: 39px;
                height: 100%;
                border-radius: 100%;
                background-color: var(--primaryColor);
                color: white;
                font-size: 2.0rem;
                @media screen and (max-width: 767px) {
                    & {
                        margin-top: 21px;
                    }
                }
                @media screen and (min-width: 768px) {
                    & {
                        width: 78px;
                        font-size: 4.0rem;
                    }
                }
            }

            @media screen and (min-width: 768px) {
                &:not(:first-of-type) .flow__num::before {
                    content: "";
                    position: absolute;
                    top: 0;
                    left: 50%;
                    transform: translate(-50%, -99%);
                    z-index: -1;
                    width: 5px;
                    height: 150px;
                    background-color: var(--primaryColor);
                }
            }

            .flow__details {
                flex-grow: 1;
                width: 1px;
                @media screen and (max-width: 767px) {
                    & {
                        padding-top: 24px;
                    }
                }

                .flow__label {
                    width: fit-content;
                    background-image: linear-gradient(var(--accentColor), var(--accentColor));
                    background-repeat: no-repeat;
                    background-position: 0 100%;
                    background-size: 100% 10px;
                    font-size: 1.8rem;
                    @media screen and (min-width: 768px) {
                        & {
                            background-size: 100% 14px;
                            font-size: 2.8rem;
                        }
                    }
                }
                .flow__content {
                    margin-top: 14px;
                    font-size: 1.4rem;
                    font-weight: 400;
                    line-height: 1.25;
                    @media screen and (min-width: 768px) {
                        & {
                            margin-top: 20px;
                            font-size: 1.6rem;
                        }
                    }
                }
            }
        }
    }
}


.qa {
    margin-bottom: 60px;
    @media screen and (min-width: 768px) {
        & {
            margin-bottom: 120px;
        }
    }

    .qa__wrap {
        list-style: none;
        width: min(800px, 100%);
        padding-bottom: 26px;
        margin-top: 38px;
        margin-inline: auto;
        border-bottom: 2px solid var(--primaryColor);
        & + & {
            margin-top: 26px;
        }
        &[open] {
            color: var(--pastelColor2);
        }
        @media screen and (min-width: 768px) {
            & {
                padding-bottom: 52px;
            }
            & + & {
                margin-top: 55px;
            }
        }

        .qa__head {
            position: relative;
            display: flex;
            align-items: center;
            column-gap: 13px;
            padding-right: 2em;
            font-size: 1.9rem;
            cursor: pointer;
            &::before {
                content: "Q";
                aspect-ratio: 1 / 1;
                display: block;
                width: 50px;
                padding-top: 11px;
                border-radius: 100%;
                background-color: var(--primaryColor);
                color: white;
                font-size: 2.4rem;
                line-height: 1;
                text-align: center;
            }
            .qa__wrap[open] &::before {
                background-color: var(--pastelColor2);
            }
            &::after {
                content: "＋";
                position: absolute;
                top: 50%;
                right: 0;
                transform: translateY(-50%);
                font-size: 2.0rem;
                line-height: 1;
                text-align: center;
            }
            .qa__wrap[open] &::after {
                content: "−";
            }
            @media screen and (min-width: 768px) {
                & {
                    column-gap: 26px;
                    margin-top: 120px;
                    font-size: 2.4rem;
                }
                &::after {
                    font-size: 4.0rem;
                }
            }
        }
        .qa__body {
            .qa__content {
                padding-top: 26px;
                font-size: 1.6rem;
                line-height: 1.6;
                & > a {
                    color: var(--pastelColor3);
                    background-image: linear-gradient(var(--pastelColor3), var(--pastelColor3));
                    background-repeat: no-repeat;
                    background-size: 100% 1px;
                    background-position: 0 100%;
                }
            }
        }
    }
}


.contact {
    max-width: min(1200px, 86.667%);
    padding-top: 32px;
    padding-inline: 25px;
    padding-bottom: 60px;
    border-radius: var(--borderRadius);
    background-color: var(--secondaryColor);
    overflow: hidden;
    @media screen and (min-width: 768px) {
        & {
            padding-top: 120px;
            padding-bottom: 128px;
        }
    }

    .contact__form {
        max-width: 650px;
        margin-top: 38px;
        margin-inline: auto;
        @media screen and (min-width: 768px) {
            & {
                margin-top: 60px;
            }
        }
    
        .contact__block {
            & + & {
                margin-top: 28px;
            }

            .contact__label {
                font-size: 1.2rem;
                .is-required::after {
                    content: "*";
                    color: red;
                }
                @media screen and (min-width: 768px) {
                    & {
                        font-size: 1.6rem;
                    }
                }
            }
            .contact__content {
                margin-top: 8px;
                @media screen and (min-width: 768px) {
                    & {
                        margin-top: 14px;
                    }
                }
            }
        }
        .contact__guide-link {
            display: block;
            width: fit-content;
            margin-top: 38px;
            margin-inline: auto;
            border-bottom: 1px solid var(--primaryColor);
            font-size: 1.2rem;
            line-height: 1.75;
            @media screen and (min-width: 768px) {
                & {
                    font-size: 1.6rem;
                }
            }
        }
        .contact__btn {
            margin-top: 40px;
            width: 240px;
            margin-inline: auto;
            font-size: 1.8rem;
            line-height: 3.333;
            @media screen and (min-width: 768px) {
                & {
                    width: 360px;
                    margin-top: 24px;
                    font-size: 2.4rem;
                }
            }
        }
    }
}


.company {
    margin-block: 46px;
    font-size: 1.4rem;
    line-height: 1.5;
    @media screen and (min-width: 768px) {
        & {
            margin-block: 120px;
            font-size: 2.4rem;
        }
    }
    .company__table {
        width: min(800px, 100%);
        margin-top: 10px;
        margin-inline: auto;
        @media screen and (min-width: 768px) {
            & {
                margin-top: 24px;
            }
        }
    
        th, td {
            padding-block: 18px;
            border-bottom: 2px solid var(--primaryColor);
            @media screen and (min-width: 768px) {
                & {
                    padding-block: 26px;
                    border-width: 1px;
                }
            }
        }
        th {
            width: 68px;
            @media screen and (min-width: 768px) {
                & {
                    width: 130px;
                }
            }
        }
        td {
            width: calc(100% - 68px);
            @media screen and (min-width: 768px) {
                & {
                    width: calc(100% - 130px);
                }
            }
        }
    }
}


.dialog {
    position: fixed;
    inset: 0;
    width: min(800px, 86.667%);
    height: 80dvh;
    margin: auto;
    background-color: white;
    border-radius: var(--borderRadius);
    overflow: auto;
    &::backdrop {
        background-color: rgb(0 0 0 / .5);
    }

    .dialog__wrap {
        padding-block: 32px;
        padding-inline: 25px;
        @media screen and (min-width: 768px) {
            & {
                padding-block: 48px;
                padding-inline: 5%;
            }
        }

        .dialog__label {
            font-size: 2.4rem;
            @media screen and (min-width: 768px) {
                & {
                    font-size: 3.2rem;
                }
            }
        }

        .dialog__txt {
            margin-top: 1.5em;
            font-size: 1.6rem;
            font-weight: 400;
            line-height: 1.75;
            @media screen and (min-width: 768px) {
                & {
                    font-size: 1.6rem;
                }
            }
        }

    }

    .company {
        margin-block: 0 !important;
        font-size: 1.2rem;
        & td {
            padding-left: 1em;
        }
    }
    @media screen and (min-width: 768px) {
        .company {
            font-size: 1.6rem;
        }
    }
}




