/**
 * Veil Tokyo
 * Terms of Service & Disclaimer Page (page-terms.php)
 */

/* ==========================================================================
   0. PAGE SPECIFIC OVERRIDES & UTILITIES
   ========================================================================== */
.d-none {
    display: none;
}

/* 最大幅・中央揃えユーティリティ */
.max-w-960 {
    max-width: 960px;
    width: 100%;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* マージンユーティリティ (8px Grid 準拠) */
.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;
}

/* 規約メイン外枠ボックス (シックなガラスモルフィズム風グラデーション ＆ 二重枠線) */
.terms-card-box {
    background: linear-gradient(180deg, rgba(14, 21, 36, 0.95) 0%, rgba(6, 10, 19, 0.98) 100%);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-md);
    padding: var(--space-56) var(--space-48);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.terms-card-box::before {
    content: '';
    position: absolute;
    top: 8px; left: 8px; right: 8px; bottom: 8px;
    border: 1px solid var(--accent-gold-watermark);
    pointer-events: none;
    border-radius: var(--radius-sm);
}

/* スマホサイズ時（767px以下）の外枠カードと内部テキストの左右ゆとり確保 */
@media (max-width: 767px) {
    .terms-page-container {
        padding: var(--space-24) var(--space-12) 100px;
    }

    .terms-card-box {
        padding: 36px 24px;
    }
}

/* ==========================================================================
   2. HEADER & TYPOGRAPHY STYLES
   ========================================================================== */
.terms-header {
    border-bottom: 1px solid var(--border-thin);
    padding-bottom: var(--space-32);
}

.terms-main-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 2px;
    line-height: 40px;
}

@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-size: 18px;
    font-weight: 700;
    color: var(--accent-gold);
    border-left: 3px solid var(--accent-gold);
    padding-left: var(--space-16);
    letter-spacing: 1px;
    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-color: rgba(6, 10, 19, 0.6);
    border: 1px solid var(--border-thin);
    border-radius: var(--radius-sm);
    padding: var(--space-24);
    box-sizing: border-box;
}

.terms-sub-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.terms-sub-title::before {
    content: '♦';
    color: var(--accent-gold);
    font-size: 12px;
}

/* 本文テキスト */
.terms-text {
    font-size: 14px;
    color: var(--text-main);
    line-height: 28px;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-12);
    word-break: break-word;
}

.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);
    line-height: 26px;
    letter-spacing: 0.5px;
}

.terms-list li::before {
    content: '♦';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent-gold);
    font-size: 10px;
    line-height: 1;
}

@media (max-width: 767px) {
    .terms-list li {
        font-size: 13px;
        line-height: 24px;
        padding-left: 20px;
    }
}