/**
 * thinx-security.css – Security Policy (#thxSecurityPage) CSS
 *
 * 移管元: Post 130 (security-policy) Elementor /0/0 widget_id=67fa25c の inline <style>
 * 範囲:   #thxSecurityPage ルートスコープに完全クローズ（外部への副作用なし）
 *
 * CSS 変数（ローカル定義、5 個）:
 *   --s-accent / --s-bg / --s-card-bg / --s-border / --s-muted
 *   ※ --s-* prefix は Service コンポーネント（home /3/0 #thxService）と同じ
 *      だが、スコープ ID で完全分離されているため値の衝突は起きない。
 *
 * 移管時の処理:
 *   - 全 .thx-security-* / .thx-sec-* / .thx-back-top-btn セレクタに
 *     #thxSecurityPage プレフィックスを追加してスコープ化
 *   - .thx-container { max-width: 900px; ... } は #thxSecurityPage 配下に
 *     スコープ化して 900px を維持（thinx-base.css の 1120px とは値が異なる
 *     ため除外できない。詳細度の高い #thxSecurityPage .thx-container が後勝ち
 *     で Security ページ内のみ 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="thxSecurityPage">...</section> の HTML 構造
 *   - 6 段のセキュリティポリシー条項（情報セキュリティ管理体制 / 法令遵守 等）
 *   - <a class="thx-back-top-btn" onclick="window.scrollTo({...})">Back to Top</a>
 *     ※ onclick の inline JavaScript は HTML 構造の一部として温存
 *
 * 命名規則メモ:
 *   - .thx-security-* （フルスペル）と .thx-sec-* （省略形）が混在。
 *     Service の .thx-svc-* 同様、Phase 2-F の命名規則統一候補。
 *
 * Phase: Phase 2-D 第 1 件（legal page、最もシンプル、テンプレート確立ステップ）
 *
 * @package HelloElementorThinxChild
 */

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

/*
 * Phase 3 Step 2-H（v1.1.8）でローカル変数を Phase 3 統合トークンへ
 * フォールバック付き var() 参照に移行。--s-* 変数名は維持（既存
 * var(--s-...) 参照箇所への影響なし、後方互換性 100%）。
 * 同 prefix --s-* は Service (#thxService) と Footer (#thxSitemap) で共有するが、
 * スコープ ID で完全分離されているため値の衝突は起きない。
 * Security は legal-layout 系で 5 変数構成（Privacy 同様 --s-accent-rgb 不在）。
 * すべて標準トークン参照（Service の -strong / Footer の -thin / -dim バリアント
 * とは異なり、Security は標準値のみ使用）。
 */
#thxSecurityPage {
    --s-accent:  var(--thx-accent);
    --s-bg:      var(--thx-bg);
    --s-card-bg: var(--thx-card-bg);
    --s-border:  var(--thx-border);
    --s-muted:   var(--thx-muted);

    background-color: var(--s-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同期 */
#thxSecurityPage::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 を #thxSecurityPage スコープで上書き（900px、テキスト可読性のため）
 * thinx-base.css の .thx-container（1120px）は他ページで引き続き有効、
 * Security ページ内のみ詳細度勝ちで 900px が効く。
 */
#thxSecurityPage .thx-container { max-width: 900px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }

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

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

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

/* マスターデザイン：タイトル下の青色ライン */
#thxSecurityPage .thx-security-label::after {
    content: "";
    position: absolute;
    /* 【記憶した位置】青線の位置を -30px に固定 */
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--s-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。 */
#thxSecurityPage .thx-security-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 */
#thxSecurityPage .thx-security-card {
    background: var(--s-card-bg);
    border: 1px solid var(--s-border);
    border-radius: 24px;
    padding: 80px 60px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

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

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

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

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

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

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

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

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

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

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