:root {
    --text: #1F3A44;
    --muted: #526D76;
    --accent: #0891B2;
    --accent-dark: #066D86;
    --line: #DCE9ED;
    --bg-base: #EEF7F9;
    --cta: #066D86;
    --cta-text: #fff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
    @media (prefers-reduced-motion: reduce) {
        scroll-behavior: auto;
    }
}

body {
    margin: 0;
    font-family: "Noto Sans JP", sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.8;
    overflow-x: hidden;
}

a {
    color: var(--accent-dark);
}

button, input, select, textarea {
    font: inherit;
}

button, a, input, select, textarea {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible, a:focus-visible, [role="button"]:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 5px;
}

section {
    overflow-x: hidden;
}

.spnone {
    @media (max-width: 800px) {
        display: none;
    }
}

.section-lead {
    font-size: 15px;
    font-weight: 700;
    color: var(--accent-dark);
    letter-spacing: 0.08em;
    @media (max-width: 480px) {
        font-size: 14px;
    }
    &::before {
        content: "";
        display: inline-block;
        width: 24px;
        height: 3px;
        margin-right: 12px;
        background: var(--accent);
        vertical-align: middle;
    }
}

.color-accent {
    color: var(--accent-dark);
}

.button-cta {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: var(--cta-text) !important;
    background: var(--cta);
    text-decoration: none;
    border: 0;
    border-radius: 999px;
    font-weight: 700;
    padding: 12px 28px;
    transition: transform 0.2s, box-shadow 0.2s;
    @media (prefers-reduced-motion: reduce) {
        transition: none;
    }
    &:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 8px 22px #066d8622;
    }
    &:disabled {
        opacity: 0.4;
        cursor: not-allowed;
    }
    &.main {
        min-height: 60px;
        padding: 16px 32px;
        gap: 24px;
        box-shadow: 0 6px 18px #066d8618;
        &::after {
            content: "↗";
            font-size: 22px;
            font-weight: 400;
        }
    }
}

#mv {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 24px 36px 0;
    background: #fff;
    @media (max-width: 800px) {
        padding: 16px 24px 0;
    }
    @media (max-width: 480px) {
        padding: 12px 20px 0;
    }

    &.mv--header-only {
        z-index: 1;
        overflow: visible;
    }

    .site-header {
        position: relative;
        z-index: 5;
        max-width: 1360px;
        min-height: 76px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 30px;
        border: 1px solid var(--line);
        border-radius: 999px;
        box-shadow: 0 6px 24px #1f3a4408;
        background: #fff;
        @media (max-width: 800px) {
            min-height: 66px;
            padding: 10px 18px;
        }
        @media (max-width: 480px) {
            min-height: 62px;
            padding: 10px 12px;
            margin: 0 -8px;
        }

        .site-header__logo {
            width: 195px;
            max-height: 50px;
            object-fit: contain;
            @media (max-width: 800px) {
                width: 160px;
            }
            @media (max-width: 480px) {
                width: 130px;
            }
        }

        .site-header__nav {
            display: flex;
            align-items: center;
            gap: 28px;
            @media (max-width: 1199px) {
                gap: 15px;
            }
            @media (max-width: 480px) {
                gap: 5px;
            }

            a {
                font-size: 14px;
                font-weight: 700;
                text-decoration: none;
                white-space: nowrap;
            }

            > .button-cta {
                @media (max-width: 800px) {
                    padding: 9px 18px;
                    font-size: 12px;
                }
                @media (max-width: 480px) {
                    padding: 8px 12px;
                    font-size: 11px;
                }
            }

            .site-header__links {
                display: flex;
                align-items: center;
                gap: 28px;
                @media (max-width: 1199px) {
                    display: none;
                    position: absolute;
                    top: calc(100% + 8px);
                    right: 0;
                    left: 0;
                    padding: 12px;
                    background: #fff;
                    border: 1px solid var(--line);
                    border-radius: 18px;
                    box-shadow: 0 12px 24px #1f3a4412;
                }
                a {
                    color: var(--text);
                    &:hover {
                        color: var(--accent);
                    }
                    @media (max-width: 1199px) {
                        display: block;
                        padding: 12px 18px;
                        border-bottom: 1px solid var(--line);
                        &:last-child {
                            border: 0;
                        }
                    }
                }
            }

            .hamburger {
                display: none;
                @media (max-width: 1199px) {
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    justify-content: center;
                    gap: 5px;
                    width: 38px;
                    height: 38px;
                    padding: 8px;
                    border: 0;
                    background: transparent;
                    cursor: pointer;
                }
                @media (max-width: 480px) {
                    width: 30px;
                    padding: 4px;
                }
                span {
                    width: 22px;
                    height: 2px;
                    background: var(--text);
                    transition: transform 0.2s;
                    @media (prefers-reduced-motion: reduce) {
                        transition: none;
                    }
                }
            }

            @media (max-width: 1199px) {
                &.is-open .site-header__links {
                    display: block;
                }
                &.is-open .hamburger span:nth-child(1) {
                    transform: translateY(7px) rotate(45deg);
                }
                &.is-open .hamburger span:nth-child(2) {
                    opacity: 0;
                }
                &.is-open .hamburger span:nth-child(3) {
                    transform: translateY(-7px) rotate(-45deg);
                }
            }
        }
    }

    .mv-overview {
        position: relative;
        max-width: 1240px;
        min-height: 660px;
        margin: 0 auto;
        padding: 72px 0 64px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 32px;
        align-items: center;
        @media (max-width: 1199px) {
            min-height: 600px;
            padding: 60px 0;
            gap: 24px;
        }
        @media (max-width: 800px) {
            min-height: 0;
            padding: 48px 0 36px;
            grid-template-columns: 1fr;
            gap: 28px;
        }

        &::after {
            content: "";
            position: absolute;
            z-index: 0;
            top: 50%;
            right: -210px;
            width: 650px;
            height: 650px;
            border-radius: 50%;
            background: #E2F4F2;
            transform: translateY(-50%);
            @media (max-width: 1199px) {
                right: -220px;
                width: 560px;
                height: 560px;
            }
            @media (max-width: 800px) {
                top: auto;
                bottom: -100px;
                right: -140px;
                width: 470px;
                height: 470px;
                transform: none;
            }
        }

        > .mv-overview__copy {
            grid-column: 1;
            grid-row: 1;
            position: relative;
            z-index: 2;

            > .button-cta {
                margin-top: 26px;
                @media (max-width: 480px) {
                    padding: 14px 24px;
                    font-size: 14px;
                }
            }
        }

        .mv-overview__badges {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 4px 22px;
            margin-bottom: 52px;
            font-size: 18px;
            font-weight: 500;
            line-height: 1.6;
            @media (max-width: 480px) {
                gap: 4px 14px;
                font-size: 14px;
            }
            .mv-overview__badge {
                display: inline-flex;
                align-items: center;
                gap: 7px;
                white-space: nowrap;
            }
            img {
                flex-shrink: 0;
                width: 22px;
                height: 22px;
                @media (max-width: 480px) {
                    width: 18px;
                    height: 18px;
                }
            }
            .strong {
                color: var(--accent-dark);
                font-weight: 700;
            }
        }

        .mv-overview__heading {
            position: relative;
            margin: 0;
            font-size: clamp(30px, 2.85vw, 42px);
            font-weight: 700;
            line-height: 1.6;
            letter-spacing: -0.04em;
            @media (max-width: 1199px) {
                font-size: 32px;
            }
            @media (max-width: 800px) {
                font-size: clamp(28px, 5vw, 38px);
            }
            @media (max-width: 480px) {
                font-size: clamp(25px, 6.5vw, 31px);
            }
            .line {
                display: block;
            }
            .color-accent {
                display: block;
            }
        }

        .mv-overview__lens {
            position: absolute;
            top: -33px;
            left: 0;
            display: inline-flex;
            padding: 2px 12px;
            color: var(--accent-dark);
            background: #DDF2F1;
            border-radius: 5px;
            font-size: 12px;
            font-weight: 700;
            line-height: 1.8;
            letter-spacing: 0.04em;
        }

        .mv-overview__lead {
            margin-top: 24px;
            font-size: 16px;
            line-height: 2;
            color: var(--muted);
            @media (max-width: 480px) {
                font-size: 15px;
                br {
                    display: none;
                }
            }
        }

        .kv {
            grid-column: 2;
            grid-row: 1;
            justify-self: center;
            position: relative;
            z-index: 1;
            width: 100%;
            max-width: 560px;
            height: 540px;
            margin: 0;
            object-fit: contain;
            @media (max-width: 1199px) {
                height: 470px;
            }
            @media (max-width: 800px) {
                grid-column: 1;
                grid-row: 2;
                max-width: 400px;
                height: 340px;
            }
            @media (max-width: 480px) {
                max-width: 330px;
                height: 290px;
            }
        }
    }
}

#problem {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    grid-template-rows: auto 1fr;
    column-gap: 76px;
    padding: 88px max(36px, calc((100% - 1240px) / 2));
    background: #F1F8F8;
    border-radius: 48px 48px 0 0;
    @media (max-width: 1199px) {
        column-gap: 40px;
    }
    @media (max-width: 800px) {
        display: block;
        padding: 64px 24px;
        border-radius: 30px 30px 0 0;
    }
    @media (max-width: 480px) {
        padding-left: 20px;
        padding-right: 20px;
    }

    > .problem__heading {
        grid-column: 1;
        grid-row: 2;
        align-self: start;
        margin-top: 20px;
        font-size: 28px;
        font-weight: 700;
        line-height: 1.8;
        letter-spacing: 0.01em;
        @media (max-width: 1199px) {
            font-size: 24px;
        }
        @media (max-width: 800px) {
            margin: 18px 0 32px;
            font-size: 26px;
        }
        @media (max-width: 480px) {
            font-size: 24px;
        }

        > .underline {
            display: block;
            color: var(--accent-dark);
            font-size: 34px;
            @media (max-width: 1199px) {
                font-size: 29px;
            }
            @media (max-width: 800px) {
                display: inline;
                font-size: inherit;
            }
        }
    }

    > .problem__list {
        grid-column: 2;
        grid-row: 1 / 3;

        > .problem__card {
            display: grid;
            grid-template-columns: 78px minmax(0, 1fr);
            column-gap: 26px;
            padding: 28px 0;
            border-bottom: 1px solid #d5e5e9;
            @media (max-width: 800px) {
                grid-template-columns: 70px minmax(0, 1fr);
                column-gap: 22px;
            }
            @media (max-width: 480px) {
                grid-template-columns: 54px minmax(0, 1fr);
                column-gap: 16px;
            }
            &:first-child {
                padding-top: 0;
            }
            &:last-child {
                padding-bottom: 0;
                border-bottom: 0;
            }

            > .problem__card-image {
                grid-column: 1;
                grid-row: 1 / 3;
                align-self: center;
                width: 78px;
                @media (max-width: 800px) {
                    width: 70px;
                }
                @media (max-width: 480px) {
                    grid-row: 1;
                    width: 54px;
                }
            }

            > .problem__card-title {
                grid-column: 2;
                font-size: 19px;
                font-weight: 700;
                line-height: 1.65;
                @media (max-width: 800px) {
                    font-size: 18px;
                }
            }

            > .problem__card-text {
                grid-column: 2;
                margin-top: 9px;
                font-size: 15px;
                line-height: 1.9;
                color: var(--muted);
                @media (max-width: 480px) {
                    grid-column: 1 / 3;
                    margin-top: 14px;
                }
            }
        }
    }
}

#feature {
    max-width: 1312px;
    margin: auto;
    padding: 88px 36px 28px;
    @media (max-width: 800px) {
        padding: 88px 24px 20px;
    }
    @media (max-width: 480px) {
        padding-left: 20px;
        padding-right: 20px;
    }

    > .feature__head {
        max-width: 900px;
        margin-bottom: 54px;

        .section-lead {
            padding-top: 12px;
        }

        .feature__head-title {
            margin-top: 20px;
            font-size: 34px;
            font-weight: 700;
            line-height: 1.65;
            @media (max-width: 800px) {
                font-size: 28px;
            }
            @media (max-width: 480px) {
                font-size: 25px;
            }
            .underline {
                color: var(--accent-dark);
            }
        }

        .feature__head-lead {
            margin-top: 20px;
            font-size: 16px;
            line-height: 1.95;
            color: var(--muted);
            span {
                color: var(--accent-dark);
                font-weight: 700;
            }
        }
    }

    > .feature__points {
        display: grid;

        > .feature__point {
            padding: 42px 0;
            @media (max-width: 800px) {
                padding: 24px 0;
            }
            &:last-child {
                padding-bottom: 0;
            }

            > .feature__point-card {
                position: relative;
                display: grid;
                grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
                grid-template-rows: auto auto 1fr;
                column-gap: 76px;
                min-height: 320px;
                @media (max-width: 1199px) {
                    column-gap: 40px;
                }
                @media (max-width: 800px) {
                    display: flex;
                    flex-direction: column;
                    gap: 0;
                    min-height: 0;
                }

                > .feature__point-number {
                    grid-column: 1;
                    grid-row: 1;
                    margin: 6px 0 16px;
                    font-family: Montserrat, sans-serif;
                    font-size: 16px;
                    color: var(--accent);
                    letter-spacing: 0.05em;
                }

                > .feature__point-title {
                    grid-column: 1;
                    grid-row: 2;
                    font-size: 27px;
                    font-weight: 700;
                    line-height: 1.7;
                    @media (max-width: 1199px) {
                        font-size: 24px;
                    }
                    @media (max-width: 480px) {
                        font-size: 22px;
                    }
                    span {
                        color: var(--accent-dark);
                    }
                }

                > .feature__point-text {
                    grid-column: 1;
                    grid-row: 3;
                    max-width: 580px;
                    margin-top: 18px;
                    font-size: 16px;
                    line-height: 2;
                    color: var(--muted);
                    @media (max-width: 480px) {
                        font-size: 15px;
                    }
                }

                > img {
                    grid-column: 2;
                    grid-row: 1 / 4;
                    align-self: center;
                    width: 100%;
                    height: 320px;
                    padding: 36px;
                    object-fit: contain;
                    background: #EDF7F7;
                    border-radius: 36px;
                    @media (max-width: 800px) {
                        order: 4;
                        height: 270px;
                        margin-top: 24px;
                    }
                    @media (max-width: 480px) {
                        height: 230px;
                        padding: 24px;
                    }
                }
            }

            &:nth-child(even) > .feature__point-card {
                > .feature__point-number,
                > .feature__point-title,
                > .feature__point-text {
                    grid-column: 2;
                }
                > img {
                    grid-column: 1;
                }
            }
        }
    }
}

#learning-flow {
    padding: 36px 36px 100px;
    background: #fff;
    @media (max-width: 800px) {
        padding: 28px 24px 60px;
    }

    > .flow-inner {
        max-width: 1240px;
        margin: auto;
    }

    #flow-title {
        margin: 20px 0 36px;
        font-size: 32px;
        line-height: 1.6;
        @media (max-width: 800px) {
            font-size: 26px;
        }
    }

    .flow-steps {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 28px;
        margin: 0;
        padding: 0;
        list-style: none;
        @media (max-width: 1000px) {
            gap: 20px;
        }
        @media (max-width: 800px) {
            grid-template-columns: 1fr;
            gap: 28px;
        }
    }

    .flow-step {
        position: relative;
        padding: 24px;
        background: #f0f8f7;
        border: 1px solid #cee7e7;
        border-radius: 20px;
        @media (max-width: 1000px) {
            padding: 18px;
        }

        &:not(:last-child)::after {
            content: "→";
            position: absolute;
            top: 50%;
            right: -25px;
            color: var(--accent-dark);
            font-size: 22px;
            @media (max-width: 1000px) {
                right: -19px;
            }
            @media (max-width: 800px) {
                content: "↓";
                top: auto;
                bottom: -29px;
                right: 50%;
                transform: translateX(50%);
            }
        }

        h3 {
            margin: 0 0 12px;
            font-size: 19px;
            line-height: 1.6;
        }

        p {
            margin: 0;
            font-size: 15px;
            color: var(--muted);
        }

        &.is-learner {
            background: #eef5fc;
            border-color: #d2e4f2;
            .flow-role {
                background: #dceaf7;
                color: #29658f;
            }
            .flow-symbol {
                color: #29658f;
            }
        }
    }

    .flow-role {
        display: inline-block;
        padding: 3px 12px;
        color: var(--accent-dark);
        background: #d9eeec;
        border-radius: 999px;
        font-size: 13px;
        font-weight: 700;
    }

    .flow-symbol {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 20px 0;
        color: var(--accent-dark);
        @media (max-width: 800px) {
            margin: 12px 0;
        }
        span {
            font-size: 28px;
            font-weight: 700;
            line-height: 1;
            font-variant-numeric: tabular-nums;
        }
        svg {
            display: block;
            flex: 0 0 48px;
            width: 48px;
            height: 48px;
        }
    }
}

#cost {
    position: relative;
    padding: 90px max(36px, calc((100% - 1240px) / 2));
    background: #EDF7F8;
    border-radius: 48px 48px 0 0;
    @media (max-width: 800px) {
        padding: 64px 24px;
        border-radius: 30px 30px 0 0;
    }
    @media (max-width: 480px) {
        padding-left: 20px;
        padding-right: 20px;
    }

    > .cost__head {
        max-width: 1000px;

        .cost__head-title {
            margin-top: 20px;
            font-size: 34px;
            font-weight: 700;
            line-height: 1.65;
            @media (max-width: 800px) {
                font-size: 28px;
            }
            @media (max-width: 480px) {
                font-size: 25px;
            }
            .underline {
                color: var(--accent-dark);
            }
        }

        .cost__head-lead {
            max-width: 960px;
            margin-top: 22px;
            font-size: 16px;
            line-height: 2;
            color: var(--muted);
        }
    }

    > .cost__list {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;
        margin-top: 44px;
        @media (max-width: 800px) {
            grid-template-columns: 1fr;
        }

        > .cost__item {
            position: relative;
            padding: 30px;
            background: #fff;
            border-radius: 24px;

            .cost__item-number {
                margin-bottom: 22px;
                font-family: Montserrat, sans-serif;
                font-size: 34px;
                line-height: 1.2;
                color: var(--accent);
                @media (max-width: 800px) {
                    margin-bottom: 12px;
                    font-size: 28px;
                }
            }

            .cost__item-title {
                margin-bottom: 18px;
                font-size: 20px;
                font-weight: 700;
                line-height: 1.7;
                @media (max-width: 800px) {
                    font-size: 21px;
                }
            }

            .cost__item-text {
                font-size: 15px;
                line-height: 1.95;
                color: var(--muted);
            }
        }
    }

    > .cost__more {
        margin-top: 40px;
        padding-top: 28px;

        .cost__more-lead {
            font-size: 16px;
            font-weight: 700;
        }

        .cost__more-chips {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 16px;
            @media (max-width: 800px) {
                gap: 8px;
            }
            span {
                padding: 7px 14px;
                font-size: 14px;
                background: #fff;
                border: 1px solid #d3e5e9;
                border-radius: 8px;
            }
        }
    }
}

#case {
    max-width: 1312px;
    margin: auto;
    padding: 100px 36px;
    @media (max-width: 800px) {
        padding: 64px 24px;
    }
    @media (max-width: 480px) {
        padding-left: 20px;
        padding-right: 20px;
    }

    > .case__head {
        margin-bottom: 32px;
        padding-bottom: 28px;

        .case__head-title {
            margin-top: 20px;
            font-size: 32px;
            font-weight: 700;
            line-height: 1.7;
            @media (max-width: 800px) {
                font-size: 27px;
            }
            @media (max-width: 480px) {
                font-size: 25px;
                br {
                    display: none;
                }
            }
        }

        .case__client {
            display: inline-block;
            margin-top: 22px;
            padding: 6px 16px;
            font-size: 15px;
            color: var(--accent-dark);
            background: var(--bg-base);
            border-radius: 6px;
        }
    }

    .case__lead {
        font-size: 16px;
        line-height: 2;
        color: var(--muted);
    }

    .case__cards {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
        margin: 28px 0;
        @media (max-width: 800px) {
            grid-template-columns: 1fr;
        }
    }

    .case__card {
        padding: 26px;
        border: 1px solid var(--line);
        border-radius: 14px;

        .case__card-label {
            font-size: 14px;
            font-weight: 700;
            color: var(--accent-dark);
        }

        .case__card-title {
            margin-top: 14px;
            font-size: 21px;
            font-weight: 700;
            line-height: 1.7;
        }

        .case__card-text {
            font-size: 15px;
            line-height: 1.95;
            color: var(--muted);
        }
    }

    .case-devices {
        width: 100%;
        margin: 36px 0 0;
        padding: 48px clamp(24px, 4vw, 56px) 28px;
        background: #f0f7f8;
        border-radius: 24px;
        @media (max-width: 800px) {
            padding: 24px 12px 18px;
        }

        img {
            display: block;
            border-radius: 5px;
        }

        figcaption {
            margin-top: 18px;
            font-size: 12px;
            color: var(--muted);
            text-align: center;
        }
    }

    .device-pair {
        display: flex;
        align-items: flex-end;
        justify-content: center;
        width: 100%;
        max-width: 1040px;
        margin: 0 auto;
        padding-bottom: 34px;
    }

    .device-pc {
        position: relative;
        flex-shrink: 0;
        width: 78%;
    }

    .device-pc-screen {
        aspect-ratio: 16 / 10;
        overflow: hidden;
        background: #fafafa;
        border: 10px solid #293e48;
        border-bottom-width: 22px;
        border-radius: 14px;
        @media (max-width: 800px) {
            border-width: 5px;
            border-bottom-width: 12px;
            border-radius: 8px;
        }
        img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            object-position: center;
        }
    }

    .device-pc-stand {
        width: 34%;
        height: 56px;
        margin: auto;
        background: linear-gradient(90deg, #bcc9ce, #e0e7e9, #bcc9ce);
        clip-path: polygon(30% 0, 70% 0, 76% 85%, 100% 92%, 100% 100%, 0 100%, 0 92%, 24% 85%);
        @media (max-width: 800px) {
            height: 30px;
        }
    }

    .device-mobile {
        position: relative;
        z-index: 1;
        flex-shrink: 0;
        width: 22%;
        margin-left: -3%;
        container-type: inline-size;
    }

    .device-mobile-screen {
        position: relative;
        width: 100%;
        height: 200cqw;
        padding-top: 10cqw;
        overflow: hidden;
        background: #fff;
        border: 7px solid #293e48;
        border-radius: 25px;
        box-shadow: 0 8px 20px #21384122;
        @media (max-width: 800px) {
            border-width: 4px;
            border-radius: 14px;
        }
        img {
            width: 100%;
            height: auto;
        }

        &::before {
            content: "";
            position: absolute;
            z-index: 2;
            top: 3cqw;
            left: 50%;
            width: 22cqw;
            height: 2.5cqw;
            background: #293e48;
            border-radius: 99px;
            transform: translateX(-50%);
        }
        &::after {
            content: "";
            position: absolute;
            z-index: 2;
            bottom: 2.5cqw;
            left: 50%;
            width: 32cqw;
            height: 2cqw;
            background: #293e48;
            border-radius: 99px;
            box-shadow: 0 0 0 1.5cqw #ffffffdd;
            transform: translateX(-50%);
        }
    }

    .device-label {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        width: 100%;
        font-size: 12px;
        font-weight: 700;
        color: var(--muted);
        text-align: center;
        white-space: nowrap;
    }

    .sp-preview {
        padding: 5cqw;
        font-family: Arial, "Noto Sans JP", sans-serif;
        font-size: 3.5cqw;
        line-height: 1.6;
        color: #333;
        background: #f8f9fa;

        p {
            margin: 3cqw 0;
            font-size: 3.5cqw;
            line-height: 1.55;
            color: #333;
        }

        .sp-art {
            width: 88%;
            margin: 3cqw auto;
        }
    }

    .sp-back {
        margin-bottom: 4cqw;
        color: #15549b;
    }

    .sp-card {
        padding: 5cqw;
        background: #fff;
        border: 1px solid #e7e9ec;
        border-radius: 3cqw;
    }

    .sp-title {
        font-size: 5.2cqw;
        font-weight: 700;
    }

    .sp-count {
        padding: 2cqw 0;
        font-size: 3.4cqw;
        color: #15549b;
        border-bottom: 1px solid #ddd;
    }

    .sp-topic {
        margin-top: 4cqw;
        font-size: 4.5cqw;
        font-weight: 700;
        color: #064795;
    }

    .sp-option {
        margin: 2cqw 0;
        padding: 3cqw 2cqw;
        font-size: 3.5cqw;
        font-weight: 700;
        background: #f3f3f3;
        border-radius: 2cqw;
    }

    .sp-score {
        font-size: 3cqw;
        color: #888;
        text-align: right;
    }

    .sp-nav {
        display: flex;
        gap: 2cqw;
        margin-top: 4cqw;
        span {
            flex: 1;
            padding: 2cqw 0;
            font-size: 3.2cqw;
            color: #fff;
            text-align: center;
            background: #064795;
            border-radius: 1cqw;
        }
    }

    .sp-save {
        margin-top: 2cqw;
        color: #175ba2;
        text-align: center;
        border: 1px solid #175ba2;
        border-radius: 1cqw;
    }

    .sp-progress {
        margin-top: 4cqw;
        text-align: center;
        > div {
            display: flex;
            justify-content: center;
            gap: 1cqw;
            margin: 3cqw 0;
        }
        span {
            padding: 1cqw 2cqw;
            border: 1px solid #eee;
            &:first-child {
                color: #fff;
                background: #59b0d2;
            }
            &:nth-child(2) {
                color: #fff;
                background: #064795;
            }
        }
        small {
            font-size: 2.6cqw;
        }
    }
}

#faq-contact {
    padding: 80px 36px 100px;
    background: #F4F8FA;
    @media (max-width: 800px) {
        padding: 64px 24px;
    }
    @media (max-width: 480px) {
        padding-left: 20px;
        padding-right: 20px;
    }

    .faq__head-title,
    .contact__head-title {
        margin-top: 16px;
        font-size: 32px;
        font-weight: 700;
        @media (max-width: 480px) {
            font-size: 28px;
        }
    }
}

.faq {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    column-gap: 60px;
    align-items: start;
    max-width: 1100px;
    margin: auto;
    @media (max-width: 1199px) {
        column-gap: 32px;
    }
    @media (max-width: 800px) {
        display: block;
    }

    > .faq__head {
        @media (max-width: 800px) {
            margin-bottom: 26px;
        }

        .section-lead {
            font-size: 14px;
            letter-spacing: 0;
            &::before {
                display: none;
            }
        }
    }

    .faq-item {
        border-bottom: 1px solid #d3e1e6;
        &:first-child {
            border-top: 1px solid #d3e1e6;
        }
    }

    .faq-item__question {
        position: relative;
        display: flex;
        align-items: flex-start;
        gap: 14px;
        padding: 24px 34px 24px 0;
        font-size: 16px;
        font-weight: 700;
        cursor: default;
    }

    .faq-item__question img,
    .faq-item__answer img {
        flex-shrink: 0;
        width: 24px;
        height: 24px;
        margin-top: 3px;
    }

    .faq-item__toggle {
        position: absolute;
        top: 29px;
        right: 4px;
        width: 14px;
        height: 14px;
        &::before,
        &::after {
            content: "";
            position: absolute;
            top: 6px;
            left: 0;
            width: 14px;
            height: 2px;
            background: var(--accent-dark);
            transition: transform 0.3s ease;
            @media (prefers-reduced-motion: reduce) {
                transition: none;
            }
        }
        &::after {
            transform: rotate(90deg);
        }
    }

    .faq-item__answer {
        display: flex;
        gap: 14px;
        max-height: 0;
        padding: 0 28px 0 0;
        overflow: hidden;
        font-size: 15px;
        line-height: 1.95;
        color: var(--muted);
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease, padding-bottom 0.3s ease;
        @media (prefers-reduced-motion: reduce) {
            transition: none;
        }
    }

    .faq-item.is-open {
        .faq-item__toggle::after {
            transform: rotate(90deg) scaleX(0);
        }
        .faq-item__answer {
            max-height: 500px;
            padding-bottom: 24px;
            opacity: 1;
        }
    }
}

#contact {
    max-width: 1100px;
    margin: 96px auto 0;
    padding: 56px 64px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    @media (max-width: 800px) {
        margin-top: 64px;
        padding: 32px 24px;
    }
    @media (max-width: 480px) {
        padding: 28px 18px;
    }

    > .contact__head {
        margin-bottom: 36px;
        text-align: center;
    }

    form {
        max-width: 800px;
        margin: auto;
    }

    .form-row {
        display: grid;
        grid-template-columns: 170px minmax(0, 1fr);
        align-items: start;
        column-gap: 24px;
        margin-bottom: 22px;
        @media (max-width: 800px) {
            display: block;
        }

        > label {
            padding-top: 10px;
            font-size: 15px;
            font-weight: 700;
            @media (max-width: 800px) {
                display: block;
                margin-bottom: 8px;
            }
        }
    }

    .required {
        margin-right: 9px;
        padding: 2px 6px;
        font-size: 12px;
        color: var(--accent-dark);
        background: #DDF2F1;
        border-radius: 4px;
    }

    input,
    select,
    textarea {
        width: 100%;
        min-width: 0;
        padding: 11px 14px;
        font-size: 16px;
        color: var(--text);
        background: #FBFDFD;
        border: 1px solid #cddde3;
        border-radius: 7px;
        &:focus {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }
    }

    textarea {
        min-height: 150px;
        resize: vertical;
    }

    .error {
        grid-column: 2;
        margin: 0.3rem 0 0;
        font-size: 0.875rem;
        color: #d00;
        &:empty {
            display: none;
        }
    }

    .form-row--checkbox {
        display: block;
        margin-top: 30px;
        font-size: 14px;
        text-align: center;
        @media (max-width: 480px) {
            font-size: 13px;
        }

        > label {
            display: inline-flex;
            align-items: center;
        }

        input {
            width: 18px;
            height: 18px;
            margin-right: 8px;
            padding: 0;
            vertical-align: middle;
            accent-color: var(--accent-dark);
        }
    }

    form > .button-cta {
        display: flex;
        min-width: 250px;
        margin: 28px auto 0;
    }
}

footer {
    padding: 32px 24px;
    text-align: center;
    background: #fff;

    > .footer-logos {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 16px;
        margin: 0 0 16px;

        img {
            display: block;
            width: 200px;
            max-width: 100%;
            height: auto;
            object-fit: contain;
        }
    }

    > p {
        margin: 0;
        font-size: 14px;
        line-height: 1.5;
        color: #888;
    }
}

.thanks {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 96px 36px 120px;
    background: #fff;
    @media (max-width: 1199px) {
        padding: 80px 36px 100px;
    }
    @media (max-width: 800px) {
        padding: 64px 24px 88px;
    }
    @media (max-width: 480px) {
        padding: 52px 20px 72px;
    }

    &::after {
        content: "";
        position: absolute;
        z-index: -1;
        top: 50%;
        right: -280px;
        width: 560px;
        height: 560px;
        border-radius: 50%;
        background: #E2F4F2;
        transform: translateY(-50%);
        @media (max-width: 800px) {
            top: 40px;
            right: -150px;
            width: 320px;
            height: 320px;
            transform: none;
        }
        @media (max-width: 480px) {
            top: 20px;
            right: -130px;
            width: 260px;
            height: 260px;
        }
    }

    > .thanks__inner {
        max-width: 760px;
        margin: 0 auto;
    }

    .thanks__title {
        margin: 14px 0 0;
        font-size: clamp(30px, 2.85vw, 42px);
        font-weight: 700;
        line-height: 1.6;
        letter-spacing: -0.04em;
        @media (max-width: 1199px) {
            font-size: 34px;
        }
        @media (max-width: 800px) {
            font-size: clamp(28px, 5.5vw, 36px);
        }
        @media (max-width: 480px) {
            font-size: clamp(24px, 6.5vw, 31px);
            letter-spacing: -0.045em;
            line-height: 1.65;
        }
    }

    .thanks__lead {
        margin: 24px 0 0;
        font-size: 17px;
        @media (max-width: 800px) {
            font-size: 16px;
            br {
                display: none;
            }
        }
        @media (max-width: 480px) {
            font-size: 15px;
        }
    }

    .thanks__note {
        margin-top: 40px;
        padding: 28px 32px;
        font-size: 15px;
        color: var(--muted);
        background: #F1F8F8;
        border-radius: 24px;
        @media (max-width: 800px) {
            padding: 24px;
        }
        @media (max-width: 480px) {
            padding: 22px 20px;
            font-size: 14px;
            border-radius: 20px;
        }
        p {
            margin: 0;
        }
        p + p {
            margin-top: 16px;
        }
        .mail {
            font-weight: 700;
            color: var(--accent-dark);
        }
    }

    .thanks__action {
        margin-top: 40px;
        .button-cta {
            @media (max-width: 480px) {
                width: 100%;
                font-size: 15px;
            }
        }
    }
}

.button-cta--back.main::after {
    content: "\2192";
}
