        :root {
            --red: #dd1847;
            --red-dark: #c1163d;
            --text: #1a1a1a;
            --text-secondary: #555;
            --bg: #fafafa;
            --card-bg: #ffffff;
            --border: #e8e8e8;
            --shadow: 0 2px 8px rgba(0,0,0,0.04);
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: var(--bg);
            color: var(--text);
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
            min-height: 100vh;
            min-height: 100dvh;
        }

        /* ===== HEADER ===== */
        .page-header {
            background: var(--card-bg);
            border-bottom: 1px solid var(--border);
            padding: 16px 20px;
            position: sticky;
            top: 0;
            z-index: 10;
            box-shadow: var(--shadow);
        }

        .header-inner {
            max-width: 800px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .header-logo {
            height: 36px;
            width: auto;
        }

        .header-back {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: var(--red);
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            padding: 8px 12px;
            border-radius: 8px;
            transition: background 0.2s;
        }

        .header-back:hover {
            background: #fdf2f5;
        }

        .header-back svg {
            width: 16px;
            height: 16px;
            stroke: currentColor;
        }

        /* ===== MAIN ===== */
        .page-container {
            max-width: 800px;
            margin: 0 auto;
            padding: 32px 20px 60px;
        }

        /* ===== CARD ===== */
        .agreement-card {
            background: var(--card-bg);
            border-radius: 16px;
            padding: 32px;
            border: 1px solid var(--border);
            box-shadow: var(--shadow);
        }

        @media (max-width: 600px) {
            .agreement-card {
                padding: 20px 16px;
                border-radius: 12px;
            }
        }

        /* ===== TYPOGRAPHY ===== */
        h1 {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 4px;
            color: var(--text);
            line-height: 1.3;
        }

        .agreement-subtitle {
            font-size: 15px;
            color: #888;
            margin-bottom: 8px;
        }

        .agreement-date {
            font-size: 13px;
            color: #999;
            margin-bottom: 24px;
        }

        h2 {
            font-size: 18px;
            font-weight: 600;
            margin-top: 28px;
            margin-bottom: 12px;
            color: var(--text);
            padding-bottom: 8px;
            border-bottom: 1px solid var(--border);
        }

        p {
            margin-bottom: 12px;
            color: var(--text-secondary);
        }

        strong {
            color: var(--text);
            font-weight: 600;
        }

        ul {
            margin: 0 0 12px 0;
            padding-left: 20px;
        }

        ul li {
            margin-bottom: 6px;
            color: var(--text-secondary);
        }

        a {
            color: var(--red);
            text-decoration: none;
            transition: color 0.15s;
        }

        a:hover {
            color: var(--red-dark);
            text-decoration: underline;
        }

        /* ===== HIGHLIGHT BOX ===== */
        .highlight-box {
            background: #fdf2f5;
            border-radius: 12px;
            padding: 16px 20px;
            margin: 16px 0;
            border-left: 3px solid var(--red);
            font-weight: 500;
            color: var(--text);
        }

        /* ===== DEFINITION LIST ===== */
        .definition-list {
            margin: 0 0 16px 0;
        }

        .definition-item {
            margin-bottom: 10px;
        }

        .definition-item strong {
            display: inline-block;
            min-width: 160px;
        }

        /* ===== CONTACT BLOCK ===== */
        .contact-block {
            background: #f8fafc;
            border-radius: 12px;
            padding: 16px 20px;
            margin-top: 8px;
            border-left: 3px solid var(--red);
        }

        .contact-block p {
            margin-bottom: 4px;
        }

        .contact-block p:last-child {
            margin-bottom: 0;
        }

        /* ===== SECTION NUMBER ===== */
        .section-num {
            display: inline-block;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: #fdf2f5;
            color: var(--red);
            text-align: center;
            line-height: 28px;
            font-size: 13px;
            font-weight: 700;
            margin-right: 8px;
        }

        /* ===== FOOTER ===== */
        .page-footer {
            text-align: center;
            padding: 20px;
            color: #999;
            font-size: 13px;
        }

        .page-footer a {
            color: #999;
        }

        .page-footer a:hover {
            color: var(--red);
        }

        /* ===== BACK TO TOP ===== */
        .back-to-top {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            margin-top: 24px;
            color: var(--red);
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            transition: color 0.15s;
        }

        .back-to-top:hover {
            color: var(--red-dark);
            text-decoration: none;
        }

        .back-to-top svg {
            width: 16px;
            height: 16px;
            stroke: currentColor;
        }

        /* ===== PRINT ===== */
        @media print {
            body {
                background: #fff;
                font-size: 12pt;
            }
            .page-header,
            .page-footer,
            .back-to-top {
                display: none;
            }
            .agreement-card {
                box-shadow: none;
                border: none;
                padding: 0;
            }
            a {
                color: var(--text);
                text-decoration: underline;
            }
        }
