.terms-page {
        --terms-green: #22a06b;
        --terms-green-dark: #168a59;
        --terms-green-light: #eaf8f1;
        --terms-text: #17221d;
        --terms-subtext: #65736c;
        --terms-border: #e5ebe7;
        --terms-bg: #f7faf8;

        min-height: 100vh;
        background:
            radial-gradient(
                circle at 50% -10%,
                rgba(34, 160, 107, 0.09),
                transparent 38%
            ),
            var(--terms-bg);
        color: var(--terms-text);
        padding: 72px 20px 120px;
    }

    .terms-shell {
        width: min(900px, 100%);
        margin: 0 auto;
    }

    /* ---------- Header ---------- */

    .terms-intro {
        text-align: center;
        margin-bottom: 42px;
    }

    .terms-label {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 7px 13px;
        border-radius: 999px;
        background: var(--terms-green-light);
        color: var(--terms-green-dark);
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.08em;
        margin-bottom: 18px;
    }

    .terms-label-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--terms-green);
    }

    .terms-intro h1 {
        margin: 0;
        font-size: clamp(30px, 5vw, 42px);
        line-height: 1.25;
        letter-spacing: -0.035em;
        font-weight: 850;
        color: var(--terms-text);
    }

    .terms-intro-description {
        max-width: 620px;
        margin: 16px auto 0;
        color: var(--terms-subtext);
        font-size: 14px;
        line-height: 1.9;
    }

    .terms-meta {
        display: flex;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
        margin-top: 20px;
        color: #8a9690;
        font-size: 12px;
    }

    /* ---------- Layout ---------- */

    .terms-layout {
        display: grid;
        grid-template-columns: 190px minmax(0, 1fr);
        gap: 28px;
        align-items: start;
    }

    /* ---------- Contents ---------- */

    .terms-index {
        position: sticky;
        top: 24px;
        background: rgba(255, 255, 255, 0.82);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border: 1px solid var(--terms-border);
        border-radius: 18px;
        padding: 18px;
    }

    .terms-index-title {
        font-size: 11px;
        font-weight: 850;
        color: #8a9690;
        letter-spacing: 0.08em;
        margin-bottom: 12px;
    }

    .terms-index a {
        display: block;
        padding: 7px 8px;
        border-radius: 8px;
        color: #65736c;
        text-decoration: none;
        font-size: 12px;
        line-height: 1.45;
        transition:
            background 0.15s ease,
            color 0.15s ease;
    }

    .terms-index a:hover {
        background: var(--terms-green-light);
        color: var(--terms-green-dark);
    }

    /* ---------- Main card ---------- */

    .terms-card {
        background: #fff;
        border: 1px solid var(--terms-border);
        border-radius: 24px;
        box-shadow:
            0 12px 40px rgba(20, 45, 32, 0.045),
            0 2px 8px rgba(20, 45, 32, 0.025);
        overflow: hidden;
    }

    .terms-card-header {
        padding: 26px 34px;
        border-bottom: 1px solid var(--terms-border);
        background: linear-gradient(
            135deg,
            #ffffff,
            #fbfdfc
        );
    }

    .terms-card-header p {
        margin: 0;
        color: #718078;
        font-size: 12px;
        line-height: 1.7;
    }

    .terms-body {
        padding: 40px 42px 48px;
    }

    /* ---------- Articles ---------- */

    .terms-section {
        scroll-margin-top: 30px;
    }

    .terms-section + .terms-section {
        margin-top: 42px;
        padding-top: 42px;
        border-top: 1px solid #edf1ee;
    }

    .terms-section h2 {
        display: flex;
        align-items: baseline;
        gap: 10px;
        margin: 0 0 16px;
        color: var(--terms-text);
        font-size: 18px;
        line-height: 1.5;
        font-weight: 850;
        letter-spacing: -0.015em;
    }

    .terms-section h2 span {
        flex: none;
        color: var(--terms-green);
        font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
        font-size: 11px;
        letter-spacing: 0.02em;
        font-weight: 700;
    }

    .terms-section p {
        margin: 0 0 12px;
        color: #526059;
        font-size: 14px;
        line-height: 2;
    }

    .terms-section p:last-child {
        margin-bottom: 0;
    }

    .terms-section ul {
        margin: 10px 0 0;
        padding-left: 1.4em;
        color: #526059;
        font-size: 14px;
        line-height: 2;
    }

    .terms-section li + li {
        margin-top: 5px;
    }

    .terms-note {
        margin-top: 16px;
        padding: 16px 18px;
        border-radius: 12px;
        background: #f6faf8;
        border: 1px solid #e4f0e9;
        color: #617069;
        font-size: 12px;
        line-height: 1.8;
    }

    .terms-important {
        margin-top: 16px;
        padding: 18px 20px;
        border-left: 3px solid var(--terms-green);
        background: #f7fbf9;
        color: #526059;
        font-size: 13px;
        line-height: 1.9;
        border-radius: 0 10px 10px 0;
    }

    /* ---------- Footer ---------- */

    .terms-footer {
        margin-top: 26px;
        padding: 24px 28px;
        background: #f4f8f5;
        border: 1px solid #e4ebe6;
        border-radius: 16px;
        color: #66736c;
        font-size: 12px;
        line-height: 1.8;
    }

    .terms-footer strong {
        color: #39463f;
    }

    /* ---------- Mobile ---------- */

    @media (max-width: 760px) {
        .terms-page {
            padding: 42px 14px 80px;
        }

        .terms-intro {
            margin-bottom: 28px;
        }

        .terms-intro h1 {
            font-size: 28px;
        }

        .terms-intro-description {
            font-size: 13px;
            line-height: 1.8;
        }

        .terms-layout {
            display: block;
        }

        .terms-index {
            position: static;
            margin-bottom: 14px;
            padding: 14px;
        }

        .terms-index-title {
            margin-bottom: 8px;
        }

        .terms-index-links {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2px 4px;
        }

        .terms-index a {
            font-size: 11px;
            padding: 6px;
        }

        .terms-card {
            border-radius: 18px;
        }

        .terms-card-header {
            padding: 20px 20px;
        }

        .terms-body {
            padding: 28px 20px 34px;
        }

        .terms-section + .terms-section {
            margin-top: 34px;
            padding-top: 34px;
        }

        .terms-section h2 {
            font-size: 16px;
        }

        .terms-section p,
        .terms-section ul {
            font-size: 13px;
            line-height: 1.9;
        }

        .terms-footer {
            padding: 18px;
        }
    }
