/**
 * thinx-privacy.css – Privacy Policy (#thxPrivacyPage) CSS
 *
 * 移管元: Post 115 (privacy-policy) Elementor /0/0 widget_id=81867ee の inline <style>
 * 範囲:   #thxPrivacyPage ルートスコープに完全クローズ（外部への副作用なし）
 *
 * CSS 変数（ローカル定義、5 個）:
 *   --p-accent / --p-bg / --p-card-bg / --p-border / --p-muted
 *
 * 移管時の処理:
 *   - 全 .thx-privacy-* / .thx-policy-* / .thx-back-top-btn セレクタに
 *     #thxPrivacyPage プレフィックスを追加してスコープ化
 *   - .thx-container { max-width: 900px; ... } は #thxPrivacyPage 配下に
 *     スコープ化して 900px を維持（thinx-base.css の 1120px とは値が異なる
 *     ため除外できない。詳細度の高い #thxPrivacyPage .thx-container が後勝ち
 *     で Privacy ページ内のみ 900px を適用、他ページの .thx-container には
 *     影響しない）
 *   - @import url('Inter') は Phase 2-F Step 2（v0.7.1）で削除済み。Inter
 *     フォントは thinx-base.css の @import で全ページ共通ロード（依存配列で
 *     thinx-base 経由）。font-family 宣言は温存（Elementor 親テーマフォントの
 *     上書きに必要）。
 *
 * @keyframes:
 *   - なし（legal page でアニメーション不要）
 *
 * HTML 側に残る要素:
 *   - <section id="thxPrivacyPage">...</section> の HTML 構造
 *   - 5 段のプライバシーポリシー条項（個人情報の定義 / 収集・利用目的 等）
 *   - 連絡先（住所・メール info@thinx.inc）
 *   - <a class="thx-back-top-btn" onclick="window.scrollTo({...})">Back to Top</a>
 *     ※ onclick の inline JavaScript は HTML 構造の一部として温存
 *
 * Security との関係:
 *   - Security Policy (#thxSecurityPage) と構造的に完全同パターン
 *   - 差分は CSS 変数 prefix (--s-* / --p-*) とクラス命名 (.thx-security-* /
 *     .thx-privacy-*、.thx-sec-* / .thx-policy-*) のみ
 *   - Phase 2-F で「thinx-legal-layout.css」として共通化する候補
 *
 * 命名規則メモ:
 *   - .thx-privacy-* （フルスペル）と .thx-policy-* （省略形）が混在
 *     （Security の .thx-security-* + .thx-sec-* と同パターン）
 *     Phase 2-F の命名規則統一候補
 *
 * Phase: Phase 2-D 第 2 件（legal page、Security と同型）
 *
 * @package HelloElementorThinxChild
 */

/* =========================================================
    1. 全体デザイン・レイアウト (THINX 統一システム)
   ========================================================= */
/* @import url('Inter') は Phase 2-F Step 2（v0.7.1）で削除済み。thinx-base.css 経由でロード */

/*
 * Phase 3 Step 2-G（v1.1.7）でローカル変数を Phase 3 統合トークンへ
 * フォールバック付き var() 参照に移行。--p-* 変数名は維持（既存
 * var(--p-...) 参照箇所への影響なし、後方互換性 100%）。
 * 注意: Privacy は他コンポーネントと異なり 5 変数構成（--p-accent-rgb 不在）。
 * Step 2-G では新規変数追加は行わず、既存 5 変数のみ var() 化する。
 * legal-layout 系の特徴（.thx-container 900px scope override、Back to top
 * inline onclick）は温存。
 */
#thxPrivacyPage {
    --p-accent:  var(--thx-accent);
    --p-bg:      var(--thx-bg);
    --p-card-bg: var(--thx-card-bg);
    --p-border:  var(--thx-border);
    --p-muted:   var(--thx-muted);

    background-color: var(--p-bg);
    color: #ECE7DA;
    /* 【記憶した位置】padding-top を 140px に固定 */
    padding: 140px 0 100px !important;
    font-family: "Inter", system-ui, -apple-system, sans-serif !important;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

/* 背景グリッド：92px同期 */
#thxPrivacyPage::before {
    content: ""; position: absolute; inset: 0;
    background-image:
        linear-gradient(to right, rgba(200,190,170,0.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(200,190,170,0.05) 1px, transparent 1px);
    background-size: 92px 92px; background-attachment: fixed; pointer-events: none; z-index: 1;
}

/*
 * .thx-container を #thxPrivacyPage スコープで上書き（900px、テキスト可読性のため）
 * thinx-base.css の .thx-container（1120px）は他ページで引き続き有効、
 * Privacy ページ内のみ詳細度勝ちで 900px が効く。
 */
#thxPrivacyPage .thx-container { max-width: 900px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }

/* Header：マスターデザイン同期 */
#thxPrivacyPage .thx-privacy-header { text-align: center; margin-bottom: 80px; }

#thxPrivacyPage .thx-privacy-title-ja {
    font-size: 18px;
    font-weight: 700;
    color: var(--p-accent);
    letter-spacing: 0.02em;
    /* 【記憶した位置】マージンを 0 に固定 */
    margin-top: 0;
    margin-bottom: 4px;
    display: block;
}

#thxPrivacyPage .thx-privacy-label {
    font-size: 13px;
    letter-spacing: 0.4em;
    color: var(--p-muted);
    text-transform: uppercase;
    /* 【記憶した位置】コンテンツ開始までの距離を 110px に固定 */
    margin-bottom: 110px;
    display: block;
    position: relative;
}

/* マスターデザイン：タイトル下の青色ライン */
#thxPrivacyPage .thx-privacy-label::after {
    content: "";
    position: absolute;
    /* 【記憶した位置】青線の位置を -30px に固定 */
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--p-accent);
    opacity: 0.8;
}

/* Phase 4-D-9（v2.1.8）：正典 .thx-philosophy-main-copy 準拠の serif 化。
 * sans 800 / 1.4 → Georgia + Noto Serif JP / 400 / 1.5 / letter-spacing 0.02em。 */
#thxPrivacyPage .thx-privacy-title-main { font-family: Georgia, "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(28px, 4vw, 38px); font-weight: 400; line-height: 1.5; letter-spacing: 0.02em; color: #ECE7DA; }

/* Content Card */
#thxPrivacyPage .thx-privacy-card {
    background: var(--p-card-bg);
    border: 1px solid var(--p-border);
    border-radius: 24px;
    padding: 80px 60px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

#thxPrivacyPage .thx-policy-section { margin-bottom: 60px; }
#thxPrivacyPage .thx-policy-section:last-child { margin-bottom: 0; }

#thxPrivacyPage .thx-policy-h2 {
    font-size: 20px;
    font-weight: 800;
    color: var(--p-accent);
    border-left: 3px solid var(--p-accent);
    padding-left: 16px;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

#thxPrivacyPage .thx-policy-text {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(236, 231, 218, 0.9);
    margin-bottom: 20px;
}

#thxPrivacyPage .thx-policy-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

#thxPrivacyPage .thx-policy-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 15px;
    color: rgba(236, 231, 218, 0.85);
}

#thxPrivacyPage .thx-policy-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 1px;
    background: var(--p-accent);
}

/* Footer Area */
#thxPrivacyPage .thx-privacy-footer {
    margin-top: 60px;
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--p-border);
}

#thxPrivacyPage .thx-back-top-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--p-muted);
    text-decoration: none;
    font-size: 13px;
    transition: 0.3s;
}

#thxPrivacyPage .thx-back-top-btn:hover {
    color: var(--p-accent);
}

/* Responsive */
@media (max-width: 768px) {
    #thxPrivacyPage { padding: 80px 0 !important; }
    #thxPrivacyPage .thx-privacy-card { padding: 40px 24px; }
    #thxPrivacyPage .thx-policy-h2 { font-size: 18px; }
    #thxPrivacyPage .thx-privacy-label { margin-bottom: 60px; }
}
