/* Rocky Linux NOVE OS v13.2 - Mac風 商業版Webサイト（ダークモード対応）*/

/* ========================================
   Mac風カラーパレット & 基本設定
   ======================================== */

:root {
    /* Apple公式カラー */
    --apple-blue: #0071e3;
    --apple-blue-dark: #0077ED;
    --apple-blue-darker: #006edb;
    --apple-gray: #86868b;
    --apple-gray-light: #f5f5f7;
    --apple-gray-dark: #1d1d1f;

    /* ライトモード */
    --bg-primary: #ffffff;
    --bg-secondary: #fbfbfd;
    --bg-tertiary: #f5f5f7;
    --text-primary: #1d1d1f;
    --text-secondary: #6e6e73;
    --text-tertiary: #86868b;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.18);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    /* ボーダー半径 */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
}

/* ========================================
   ダークモード（macOS公式スタイル）
   ======================================== */

@media (prefers-color-scheme: dark) {
    :root {
        /* ダークモード背景 */
        --bg-primary: #000000;
        --bg-secondary: #1d1d1f;
        --bg-tertiary: #2d2d2d;

        /* ダークモードテキスト */
        --text-primary: #f5f5f7;
        --text-secondary: #a1a1a6;
        --text-tertiary: #86868b;

        /* ダークモードガラスモーフィズム */
        --glass-bg: rgba(29, 29, 31, 0.72);
        --glass-border: rgba(255, 255, 255, 0.1);

        /* ダークモードシャドウ */
        --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
        --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
        --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
        --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
    }

    /* ダークモード専用調整 */
    body {
        background: var(--bg-primary);
        color: var(--text-primary);
    }

    .card, .feature-card, .pricing-card {
        background: var(--bg-secondary);
        border-color: rgba(255, 255, 255, 0.1);
    }

    .hero {
        background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    }

    table th {
        background: var(--bg-tertiary);
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }

    table td {
        border-bottom-color: rgba(255, 255, 255, 0.05);
    }

    tr:hover {
        background: rgba(255, 255, 255, 0.03);
    }

    .pricing-card {
        border-color: rgba(255, 255, 255, 0.15);
    }

    .pricing-features li {
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }
}

/* ========================================
   リセット & ベーススタイル
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    color: var(--text-primary);
    background: var(--bg-secondary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 22px;
}

/* ========================================
   ヘッダー・ナビゲーション（Mac風）
   ======================================== */

header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: var(--glass-bg);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 22px;
    padding-right: 22px;
}

.logo {
    font-size: 21px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.03em;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -0.01em;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.6;
}

/* ========================================
   ヒーローセクション（Mac風）
   ======================================== */

.hero {
    text-align: center;
    padding: 80px 0 100px;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.hero h1 {
    font-size: 56px;
    line-height: 1.07143;
    font-weight: 600;
    letter-spacing: -0.005em;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.hero .subtitle {
    font-size: 28px;
    line-height: 1.14286;
    font-weight: 400;
    letter-spacing: 0.007em;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.hero .description {
    font-size: 19px;
    line-height: 1.42105;
    font-weight: 400;
    letter-spacing: 0.012em;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
}

/* ========================================
   ボタン（Mac風）
   ======================================== */

.btn {
    display: inline-block;
    padding: 12px 22px;
    font-size: 17px;
    line-height: 1.17648;
    font-weight: 400;
    text-align: center;
    text-decoration: none;
    border-radius: 980px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    letter-spacing: -0.022em;
}

.btn-primary {
    background: var(--apple-blue);
    color: #fff;
}

.btn-primary:hover {
    background: var(--apple-blue-darker);
    transform: scale(1.02);
}

.btn-secondary {
    background: transparent;
    color: var(--apple-blue);
    border: 1px solid var(--apple-blue);
}

.btn-secondary:hover {
    background: var(--apple-blue);
    color: #fff;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
}

/* ========================================
   セクション（Mac風）
   ======================================== */

section {
    padding: 80px 0;
}

.section-title {
    font-size: 48px;
    line-height: 1.08349;
    font-weight: 600;
    letter-spacing: -0.003em;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 48px;
}

.section-subtitle {
    font-size: 24px;
    line-height: 1.16667;
    font-weight: 400;
    letter-spacing: 0.009em;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 64px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   カード（Mac風ガラスモーフィズム）
   ======================================== */

.card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.card h3 {
    font-size: 24px;
    line-height: 1.16667;
    font-weight: 600;
    letter-spacing: 0.009em;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.card p {
    font-size: 17px;
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    color: var(--text-secondary);
}

/* ========================================
   グリッド（Mac風レイアウト）
   ======================================== */

.grid {
    display: grid;
    gap: 24px;
    margin-top: 48px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ========================================
   特徴セクション
   ======================================== */

.features {
    background: var(--bg-tertiary);
}

.feature-card {
    background: var(--bg-primary);
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 17px;
    line-height: 1.47059;
    color: var(--text-secondary);
}

/* ========================================
   テーブル（Mac風）
   ======================================== */

.table-container {
    overflow-x: auto;
    margin: 48px 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    background: var(--bg-primary);
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

th {
    background: var(--bg-tertiary);
    padding: 16px 20px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

td {
    padding: 16px 20px;
    font-size: 15px;
    line-height: 1.47059;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

tr:last-child td {
    border-bottom: none;
}

tr:hover {
    background: var(--bg-secondary);
}

/* ========================================
   料金プラン（Mac風）
   ======================================== */

.pricing {
    background: var(--bg-primary);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 64px;
}

.pricing-card {
    background: var(--bg-primary);
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-xl);
    padding: 48px 32px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    border-color: var(--apple-blue);
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
}

.pricing-card.popular {
    border-color: var(--apple-blue);
    border-width: 2px;
    box-shadow: var(--shadow-lg);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--apple-blue);
    color: white;
    padding: 4px 16px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.pricing-card h3 {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.pricing-card .price {
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin: 24px 0;
}

.pricing-card .price span {
    font-size: 21px;
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    margin: 32px 0;
    text-align: left;
}

.pricing-features li {
    padding: 12px 0;
    font-size: 15px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: "✓";
    color: var(--apple-blue);
    font-weight: bold;
    margin-right: 12px;
}

/* ========================================
   フッター（Mac風エレガント）
   ======================================== */

footer {
    background: var(--bg-tertiary);
    padding: 64px 0 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 22px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-section h4 {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--apple-blue);
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--apple-blue);
    transform: translateY(-2px);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

body.dark-mode .footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.footer-text {
    font-size: 12px;
    color: var(--text-tertiary);
    line-height: 1.5;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--apple-blue);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ========================================
   レスポンシブ（Mac風）
   ======================================== */

@media (max-width: 768px) {
    .hero h1 {
        font-size: 40px;
    }

    .hero .subtitle {
        font-size: 21px;
    }

    .section-title {
        font-size: 32px;
    }

    .nav-links {
        gap: 16px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        min-width: 200px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 32px;
    }

    .hero .subtitle {
        font-size: 19px;
    }

    .section-title {
        font-size: 28px;
    }

    .pricing-card .price {
        font-size: 40px;
    }
}

/* ========================================
   アニメーション（Mac風スムーズ）
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.scale-in {
    animation: scaleIn 0.5s ease-out;
}

/* グラフカード専用アニメーション */
.card canvas {
    animation: fadeIn 1s ease-out;
}

/* ========================================
   ユーティリティクラス
   ======================================== */

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.bg-white { background: var(--bg-primary); }
.bg-gray { background: var(--bg-tertiary); }

/* テキストカラーユーティリティ */
.text-blue {
    color: var(--apple-blue);
}

.text-green {
    color: #10b981;
}

body.dark-mode .text-green {
    color: #34d399;
}

/* 特殊背景セクション */
.gradient-section {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

body.dark-mode .gradient-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-section h2,
.gradient-section h3,
.gradient-section p {
    color: white !important;
}

.gradient-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.gradient-card h3,
.gradient-card p {
    color: white !important;
}

/* Q&Aカード */
.qa-card {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

body.dark-mode .qa-card {
    background: var(--bg-secondary);
    border-color: rgba(255, 255, 255, 0.1);
}

.qa-card h3 {
    color: var(--apple-blue);
    margin-bottom: 0.5rem;
    font-size: 19px;
}

.qa-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.qa-card a {
    color: var(--apple-blue);
    text-decoration: underline;
}

/* ========================================
   ダークモードトグルボタン
   ======================================== */

.theme-toggle {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--apple-blue);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: var(--shadow-xl);
    transition: all 0.3s ease;
    z-index: 9998;
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 20px 30px rgba(0, 113, 227, 0.4);
}

.theme-toggle:active {
    transform: scale(0.95);
}

/* ダークモード強制適用 */
body.dark-mode {
    --bg-primary: #000000;
    --bg-secondary: #1d1d1f;
    --bg-tertiary: #2d2d2d;
    --text-primary: #f5f5f7;
    --text-secondary: #a1a1a6;
    --text-tertiary: #86868b;
    --glass-bg: rgba(29, 29, 31, 0.72);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
}

body.dark-mode .card,
body.dark-mode .feature-card,
body.dark-mode .pricing-card {
    background: var(--bg-secondary);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .hero {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

body.dark-mode table th {
    background: var(--bg-tertiary);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode table td {
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

body.dark-mode .pricing-card {
    border-color: rgba(255, 255, 255, 0.15);
}

body.dark-mode .pricing-features li {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* ========================================
   ドキュメント & フォーム用ダークモード対応
   ======================================== */

/* ドキュメントコンテンツ */
.doc-content {
    background: var(--bg-primary);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.dark-mode .doc-content {
    background: var(--bg-secondary);
    border-color: rgba(255, 255, 255, 0.1);
}

/* インラインコード */
.doc-code {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

body.dark-mode .doc-code {
    background: var(--bg-tertiary);
}

/* 情報ボックス（青背景） */
.info-box {
    background: #dbeafe;
    color: #1e3a8a;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border-left: 4px solid #3b82f6;
}

body.dark-mode .info-box {
    background: rgba(59, 130, 246, 0.1);
    color: #93c5fd;
    border-left-color: #60a5fa;
}

.info-box h3, .info-box h4 {
    color: #1e40af;
    margin-top: 0;
}

body.dark-mode .info-box h3,
body.dark-mode .info-box h4 {
    color: #93c5fd;
}

.info-box p {
    color: #1e40af;
    margin-bottom: 0;
}

body.dark-mode .info-box p {
    color: #bfdbfe;
}

/* 成功メッセージ（緑背景） */
.success-message {
    background: #dcfce7;
    color: #166534;
    padding: 1rem;
    border-radius: var(--radius-sm);
    text-align: center;
}

body.dark-mode .success-message {
    background: rgba(34, 197, 94, 0.1);
    color: #86efac;
}

/* コンタクトフォーム */
.contact-form {
    background: var(--bg-primary);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.dark-mode .contact-form {
    background: var(--bg-secondary);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .contact-form input,
body.dark-mode .contact-form select,
body.dark-mode .contact-form textarea {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.1);
}

/* コンタクトカード */
.contact-card {
    background: var(--bg-primary);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.dark-mode .contact-card {
    background: var(--bg-secondary);
    border-color: rgba(255, 255, 255, 0.1);
}

/* テーブルスタイル */
.doc-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.doc-table thead {
    background: var(--bg-tertiary);
}

body.dark-mode .doc-table thead {
    background: var(--bg-tertiary);
}

.doc-table th,
.doc-table td {
    padding: 0.75rem;
    text-align: left;
    border: 1px solid #e5e7eb;
}

body.dark-mode .doc-table th,
body.dark-mode .doc-table td {
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.doc-table .row-warning {
    background: #fef3c7;
}

body.dark-mode .doc-table .row-warning {
    background: rgba(251, 191, 36, 0.1);
}

.doc-table .row-danger {
    background: #fecaca;
}

body.dark-mode .doc-table .row-danger {
    background: rgba(239, 68, 68, 0.1);
}

/* TOC（目次） */
.toc {
    background: var(--bg-tertiary);
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: 2rem;
}

body.dark-mode .toc {
    background: var(--bg-tertiary);
}

.toc h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--apple-blue);
}

.toc ul {
    list-style: none;
    padding: 0;
}

.toc ul li {
    margin-bottom: 0.5rem;
}

.toc ul li a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.toc ul li a:hover {
    color: var(--apple-blue);
}

/* 強調テキスト（緑色） */
.text-success {
    color: #10b981;
}

body.dark-mode .text-success {
    color: #86efac;
}

/* スコアカラー */
.score-excellent {
    color: #10b981;
}

body.dark-mode .score-excellent {
    color: #86efac;
}

.score-good {
    color: #3b82f6;
}

body.dark-mode .score-good {
    color: #60a5fa;
}

.score-warning {
    color: #f59e0b;
}

body.dark-mode .score-warning {
    color: #fbbf24;
}

/* 統計グリッド */
.stats-grid {
    background: var(--bg-tertiary);
    padding: 2rem;
    border-radius: var(--radius-sm);
    margin-top: 3rem;
}

body.dark-mode .stats-grid {
    background: var(--bg-tertiary);
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}
