/**
 * IDOL TOKYO NEO
 * Terms of Service & Disclaimer Page (page-terms.php) Styles
 * (Crystal Sky Blue, Luminous Wings & Neo-Clean Gradient Refinements)
 */

/* ==========================================================================
   0. PAGE SPECIFIC OVERRIDES & UTILITIES
   ========================================================================== */
.d-none {
    display: none !important;
}

.max-w-960 {
    max-width: 960px;
    width: 100%;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mb-12 {
    margin-bottom: var(--space-12);
}

.mb-16 {
    margin-bottom: var(--space-16);
}

.mb-24 {
    margin-bottom: var(--space-24);
}

.mb-32 {
    margin-bottom: var(--space-32);
}

.mb-40 {
    margin-bottom: var(--space-40);
}

/* ==========================================================================
   1. TERMS PAGE CONTAINER & SECTION LAYOUT
   ========================================================================== */
.terms-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-32) var(--space-16) 120px;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

.terms-section-inner {
    padding-top: var(--space-32);
    padding-bottom: var(--space-64);
    position: relative;
    box-sizing: border-box;
}

/* 規約メイン外枠ボックス (白背景 ＋ 3D立体シャドウ) */
.terms-card-box {
    background-color: #FFFFFF;
    border: none;
    border-radius: var(--radius-md);
    padding: var(--space-56) var(--space-48);
    box-shadow: var(--shadow-card, 0 10px 30px rgba(15, 23, 42, 0.08));
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.terms-card-box::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 1px solid rgba(56, 189, 248, 0.18);
    pointer-events: none;
    border-radius: var(--radius-sm);
}

@media (max-width: 767px) {
    .terms-page-container {
        padding: var(--space-24) var(--space-12) 100px;
    }

    .terms-card-box {
        padding: 36px 20px;
    }
}

/* ==========================================================================
   2. HEADER & TYPOGRAPHY STYLES (明朝体 ＆ 濃紺ネイビー)
   ========================================================================== */
.terms-header {
    border-bottom: 1px solid var(--border-thin);
    padding-bottom: var(--space-32);
}

.terms-main-title {
    font-family: var(--font-mincho, 'Shippori Mincho', 'Noto Serif JP', serif);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-main, #0F172A);
    letter-spacing: 0.08em;
    line-height: 42px;
}

@media (max-width: 767px) {
    .terms-main-title {
        font-size: 22px;
        line-height: 32px;
    }
}

/* ==========================================================================
   3. TERMS BLOCKS & CONTENT BODY
   ========================================================================== */
.terms-content-body {
    position: relative;
    z-index: 2;
}

.terms-block {
    border-bottom: 1px dashed var(--border-thin);
    padding-bottom: var(--space-32);
}

.terms-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

/* 各章見出し (左側スカイアクア縦ライン ＆ 明朝体) */
.terms-block-title {
    font-family: var(--font-mincho, 'Shippori Mincho', 'Noto Serif JP', serif);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main, #0F172A);
    border-left: 3px solid var(--accent-cyan, #38BDF8);
    padding-left: var(--space-16);
    letter-spacing: 0.06em;
    line-height: 28px;
}

@media (max-width: 767px) {
    .terms-block-title {
        font-size: 16px;
        line-height: 26px;
        padding-left: var(--space-12);
    }
}

/* サブセクション枠（アイスブルーグラデーション ＆ 発光） */
.terms-sub-block {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.95) 0%, rgba(224, 242, 254, 0.45) 100%);
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: var(--radius-sm);
    padding: var(--space-24);
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(56, 189, 248, 0.15);
}

.terms-sub-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main, #0F172A);
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

/* アイコン色をスカイアクアへ（ピンク廃止） */
.terms-sub-title::before {
    content: '♦';
    color: var(--accent-cyan, #38BDF8);
    font-size: 12px;
}

/* 本文テキスト */
.terms-text {
    font-size: 14px;
    color: var(--text-main, #0F172A);
    line-height: 28px;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-12);
    word-break: break-word;
    font-weight: 500;
}

.terms-text:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .terms-text {
        font-size: 13px;
        line-height: 26px;
    }
}

/* 箇条書きリスト (スカイアクア・ダイヤアイコン) */
.terms-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: var(--space-16);
    display: flex;
    flex-direction: column;
    gap: var(--space-12);
}

.terms-list li {
    position: relative;
    padding-left: 24px;
    font-size: 14px;
    color: var(--text-main, #0F172A);
    line-height: 26px;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* アイコン色をスカイアクアへ（ピンク廃止） */
.terms-list li::before {
    content: '♦';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent-cyan, #38BDF8);
    font-size: 10px;
    line-height: 1;
}

@media (max-width: 767px) {
    .terms-list li {
        font-size: 13px;
        line-height: 24px;
        padding-left: 20px;
    }
}