/* genesis/web-app/styles/page-index.css */
/* トップページ（The Genesis Ecosystem Portal）専用のお洋服（CSS）です */

/* --- Header & Typography --- */
header {
    width: 100%;
    padding: 40px 0 20px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-dark);
    background: linear-gradient(180deg, #050505 0%, transparent 100%);
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-header {
    max-width: 800px;
    margin: 25px auto 30px auto;
    text-align: left;
    padding: 0 20px;
}

.main-title {
    margin: 0;
    font-size: 2.8em;
    color: var(--primary-cyan);
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 0 0 20px var(--primary-glow);
    font-family: 'Cinzel', serif;
    text-align: center;
    user-select: none;
    cursor: default;
}

/* --- Banners --- */
.season-banner {
    margin: 25px auto 15px auto;
    padding: 15px 5px;
    text-align: center;
    background: linear-gradient(90deg, transparent, rgba(230, 171, 8, 0.1), transparent);
    border-top: 1px dashed rgba(230, 171, 8, 0.5);
    border-bottom: 1px dashed rgba(230, 171, 8, 0.5);
}

.season-tag {
    color: var(--accent-amber);
    font-family: 'Courier New', monospace;
    font-size: 1.05rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(230, 171, 8, 0.6);
    margin-bottom: 8px;
}

.season-tag span {
    opacity: 0.4;
}

.season-title {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: bold;
    letter-spacing: 6px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    font-family: 'Noto Serif JP', serif;
    padding-left: 6px;
}

.banner {
    background-color: rgba(0, 229, 255, 0.1);
    text-align: center;
    padding: 15px 20px;
    margin: 15px auto;
    border-radius: var(--radius);
    max-width: 800px;
    font-size: 1.1rem;
    font-weight: bold;
    display: none;
    box-shadow: 0 0 15px var(--primary-glow);
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
    font-family: 'Noto Serif JP', serif;
    letter-spacing: 1px;
}

.announcement-banner {
    border: 1px solid var(--primary-cyan);
    color: var(--primary-cyan);
}

.tip-banner {
    border: 1px solid var(--tip-yellow);
    color: var(--tip-yellow);
}

/* --- Play Guide --- */
.play-guide {
    border-left: 4px solid var(--accent-amber);
    padding: 20px;
    margin-top: 25px;
    border-radius: 0 var(--radius) var(--radius) 0;
    background: rgba(230, 171, 8, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.play-guide-title {
    margin: 0 0 15px 0;
    font-size: 1.2rem;
    color: var(--accent-amber);
    letter-spacing: 2px;
    font-family: 'Cinzel', serif;
    font-weight: bold;
}

.guide-step {
    margin-bottom: 12px;
}

.guide-step-title {
    color: #fff;
    font-size: 0.95rem;
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

.guide-step-desc {
    margin: 4px 0 0 0;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-muted);
    font-family: 'Noto Serif JP', serif;
}

.guide-link-wrap {
    text-align: center;
    margin-top: 25px;
}

.guide-link-index {
    color: var(--accent-amber);
    font-size: 1.1em;
    text-decoration: underline;
    font-family: 'Noto Serif JP', serif;
    display: inline-block;
    padding: 10px;
    transition: 0.3s;
}

/* --- Action Buttons --- */
.action-btn-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 0 0 40px 0;
    width: 100%;
}

.action-btn-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
}

/* --- Cards Container --- */
.container {
    max-width: 1200px;
    width: 90%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
    margin-left: auto;
    margin-right: auto;
}

/* トップページ用のカード設定（共通の箱に動きを追加します） */
.card {
    text-decoration: none;
    /* リンクの下線を消します */
    color: inherit;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

/* マウスが乗った時に青く光って上に動く設定です */
.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-cyan);
    box-shadow: inset 0 0 20px rgba(0, 229, 255, 0.1), 0 15px 30px var(--primary-glow);
}

/* カードの上のほうにある青い線の準備です */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #333;
    transition: 0.4s;
}

/* マウスが乗った時に青い線を光らせます */
.card:hover::before {
    background: var(--primary-cyan);
    box-shadow: 0 0 10px var(--primary-cyan);
}

/* カードのタイトル上の小さな説明文です */
.flavor-text {
    font-family: 'Noto Serif JP', serif;
    font-size: 0.85rem;
    color: var(--primary-cyan);
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.card h2 {
    margin: 0 0 10px 0;
    color: #fff;
    font-size: 1.5em;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'Cinzel', serif;
}

/* 日本語の見出し用フォント */
.card h2 .lang-ja {
    font-family: 'Noto Serif JP', serif;
    letter-spacing: 1px;
}

/* サブタイトル専用のフォントルール（大見出しとケンカしないように特定の名札だけに当てる） */
.card h2 .card-subtitle {
    font-size: 0.6em;
    color: var(--text-muted);
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.9em;
    margin-bottom: 25px;
    flex-grow: 1;
    font-family: 'Noto Serif JP', serif;
}

.card p strong {
    color: var(--text-main);
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
    font-size: 1.1em;
}

.enter-btn {
    display: inline-block;
    align-self: flex-start;
    padding: 8px 16px;
    background: transparent;
    color: var(--primary-cyan);
    border: 1px solid var(--primary-cyan);
    font-family: 'Cinzel', serif;
    font-size: 0.9em;
    font-weight: bold;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
}

.enter-btn-small {
    font-size: 0.7em;
    padding: 6px 12px;
}

.card:hover .enter-btn {
    background: var(--primary-cyan);
    color: #000;
    box-shadow: 0 0 15px var(--primary-glow);
}

/* --- Badges --- */
.badge-container {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.badge.step {
    background: rgba(230, 171, 8, 0.1);
    color: var(--accent-amber);
    border: 1px solid var(--accent-amber);
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 20px;
}

.badge.active {
    background: rgba(0, 229, 255, 0.1);
    color: var(--primary-cyan);
    border: 1px solid var(--primary-cyan);
}

.badge.sys {
    background: rgba(136, 136, 136, 0.1);
    color: #aaa;
    border: 1px solid #aaa;
}

.badge.new {
    background: rgba(255, 68, 68, 0.1);
    color: var(--danger);
    border: 1px solid var(--danger);
    animation: pulseRed 2s infinite;
}

.maintenance-text {
    color: var(--danger);
    font-size: 1rem;
    text-align: center;
}

@keyframes pulseRed {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.4);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(255, 68, 68, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 68, 68, 0);
    }
}

/* --- Concept Box --- */
.concept-box {
    max-width: 800px;
    margin: 0 auto 40px auto;
    border-left: 4px solid var(--primary-cyan);
    padding: 20px;
    background: rgba(0, 229, 255, 0.05);
    border-radius: 0 var(--radius) var(--radius) 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.concept-title {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    color: var(--primary-cyan);
    letter-spacing: 1px;
    font-family: 'Cinzel', serif;
    font-weight: bold;
}

.concept-desc-en {
    margin: 0 0 10px 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
    font-style: italic;
}

.concept-desc-ja {
    margin: 0 0 10px 0;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-muted);
    font-family: 'Noto Serif JP', serif;
}

.concept-note {
    margin: 0;
    font-size: 0.75rem;
    color: #666;
    font-family: 'Noto Serif JP', serif;
}

/* --- Admin Options --- */
.section-divider {
    text-align: center;
    color: #555;
    margin-top: 40px;
    font-family: 'Cinzel', serif;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.section-divider-message-global {
    color: var(--primary-cyan);
    font-size: 1.5em;
}

.section-divider-message-tips {
    color: var(--tip-yellow);
    font-size: 1.5em;
}

.admin-container {
    max-width: 1000px;
    width: 90%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-top: 40px;
    margin-bottom: 30px;
    padding-top: 30px;
    border-top: 1px dashed var(--border-dark);
    /* ※ここにあった親箱全体の半透明設定を削除し、個別のカードに移しました */
}

/* 個別のカードを最初は少し暗くしておきます */
.admin-container .card {
    padding: 20px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8);
    opacity: 0.7;
    transition: all 0.3s ease;
}

/* マウスが乗ったカードだけを明るくして、少し浮かせます */
.admin-container .card:hover {
    opacity: 1;
    transform: translateY(-3px);
    border-color: #666;
    /* システム系なので青色ではなく少し落ち着いた色で光らせます */
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.05), 0 10px 20px rgba(0, 0, 0, 0.8);
}

.admin-container .card h2 {
    font-size: 1.1em;
}

.admin-container .card p {
    font-size: 0.8em;
    margin-bottom: 15px;
}

/* --- System Panel --- */
.system-panel {
    margin-top: auto;
    margin-bottom: 40px;
    background: rgba(0, 0, 0, 0.8);
    padding: 15px 30px;
    border: 1px dashed #444;
    display: flex;
    align-items: center;
    gap: 20px;
    font-family: monospace;
    border-radius: var(--radius);
}

.system-override-label {
    color: #666;
}

.data-status {
    color: #888;
    background: #222;
    padding: 4px 8px;
    border-radius: 2px;
    font-weight: bold;
}

.reset-btn {
    background: transparent;
    color: var(--danger);
    border: 1px solid var(--danger);
    padding: 8px 20px;
    cursor: pointer;
    font-family: monospace;
    font-size: 0.9em;
    transition: 0.3s;
    border-radius: 2px;
    font-weight: bold;
}

.reset-btn:hover {
    background: var(--danger);
    color: #000;
    box-shadow: 0 0 10px var(--danger-glow);
}

/* --- Modals --- */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    overflow-y: auto;
    /* 修正前: padding: 50px 20px; */
    padding: 0 20px 50px 20px;
    /* 上の隙間をなくして、文字がはみ出すのを防ぎます */
    box-sizing: border-box;
    backdrop-filter: blur(5px);
}

.modal-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    text-align: center;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: var(--accent-amber);
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10000;
    line-height: 1;
    transition: 0.3s;
}

.modal-close:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--amber-glow);
}

.lang-btn-group {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.lang-btn {
    background: #111;
    color: var(--accent-amber);
    border: 1px solid var(--accent-amber);
    padding: 8px 20px;
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: var(--radius);
    transition: 0.3s;
    font-weight: bold;
    letter-spacing: 1px;
}

.lang-btn:hover,
.lang-btn.active {
    background: var(--accent-amber);
    color: #000;
    box-shadow: 0 0 10px var(--amber-glow);
}

.flowchart-img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid var(--accent-amber);
    box-shadow: 0 0 30px var(--amber-glow);
    border-radius: var(--radius);
}

.flow-img-wrapper {
    display: none;
}

.flow-img-wrapper.active {
    display: block;
}

.flowchart-caption {
    color: var(--accent-amber);
    font-family: 'Cinzel', serif;
    margin-top: 25px;
    letter-spacing: 2px;
    font-weight: bold;
}

/* --- Lore --- */
.lore-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    font-family: 'Courier New', monospace;
    color: rgba(0, 229, 255, 0.9);
}

.lore-header {
    position: sticky;
    top: 0;
    background: rgba(0, 0, 0, 0.95);
    padding: 20px 20px 10px 20px;
    z-index: 10000;
    border-bottom: 1px solid var(--border-dark);
    display: flex;
    justify-content: flex-end;
}

.lore-close {
    background: none;
    border: none;
    color: var(--primary-cyan);
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    transition: 0.3s;
}

.lore-close:hover {
    color: #fff;
    text-shadow: 0 0 15px var(--primary-glow);
}

.lore-content {
    line-height: 1.8;
    font-size: 1.15rem;
    white-space: pre-wrap;
    padding: 20px 20px 10vh 20px;
    /* 上側に少し隙間を空けました */
    text-align: left;
    text-shadow: 0 0 5px rgba(0, 229, 255, 0.3);
    font-family: 'Noto Serif JP', serif;
}

/* ====================================================
   ADMINタイトルのリンク（ドア）用の追加設定
==================================================== */
.title-link {
    text-decoration: none;
    /* リンクの下の線を消します */
}

/* リンクの中にあるタイトルは、マウスが乗ったら「クリックできる指のマーク」になるように上書きします */
.title-link .main-title {
    cursor: pointer;
}

/* 状態制御用クラス --- */

/* カスタムデータ適用時の状態 */
.data-status.active-custom {
    background: rgba(0, 229, 255, 0.2);
    color: var(--primary-cyan);
    border: 1px solid var(--primary-cyan);
}

/* 管理者ワープ時のフラッシュ演出 */
body.admin-transition {
    transition: 0.2s;
    background-color: var(--primary-cyan) !important;
}

/* ==========================================
   言語切り替えナビゲーション（右上固定）
========================================== */
.top-nav {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
}

/* スマートフォンなどの小さな画面での位置調整 */
@media (max-width: 768px) {
    .top-nav {
        top: 10px;
        right: 10px;
    }
}

/* ====================================================
   STEP 0 はじめての準備（特大看板）専用デザイン
==================================================== */

/* 下の3つのカードと違い、横幅いっぱいに広げる設定です */
.card.card-step0 {
    grid-column: 1 / -1;
    border-color: rgba(230, 171, 8, 0.4);
    background: linear-gradient(180deg, rgba(230, 171, 8, 0.04) 0%, rgba(18, 24, 20, 0.95) 100%);
    box-shadow: inset 0 0 20px rgba(230, 171, 8, 0.08), 0 6px 20px rgba(0, 0, 0, 0.7);
    padding: 30px;
}

/* マウスが乗った時に黄金色に光らせます */
.card.card-step0::before {
    background: var(--accent-amber);
}

.card.card-step0:hover {
    border-color: var(--accent-amber);
    box-shadow: inset 0 0 25px rgba(230, 171, 8, 0.15), 0 15px 30px rgba(230, 171, 8, 0.3);
}

.badge.step0-badge {
    background: rgba(230, 171, 8, 0.2);
    color: var(--accent-amber);
    border: 1px solid var(--accent-amber);
    font-size: 1.1rem;
    padding: 4px 14px;
    align-self: flex-start;
}

/* ボタンを並べる箱 */
.card-step0-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 15px;
}

/* 接続完了時の緑色のメッセージ箱 */
.card-step0-connected {
    margin-top: 15px;
}

.step0-connected-box {
    background: rgba(0, 200, 5, 0.08);
    border: 1px solid var(--success);
    color: var(--success);
    padding: 12px 20px;
    border-radius: var(--radius);
    font-family: 'Noto Serif JP', serif;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    box-shadow: 0 0 10px rgba(0, 200, 5, 0.15);
}

.step0-connected-box strong {
    font-family: 'Courier New', monospace;
    font-size: 1.05rem;
    color: #ffffff;
}

/* 枠線だけのシアンボタン */
.btn-outline-cyan {
    border: 1px dashed var(--primary-cyan);
    color: var(--primary-cyan);
    background: transparent;
}

.btn-outline-cyan:hover {
    background: rgba(0, 229, 255, 0.15);
    color: #ffffff;
    border-style: solid;
}

/* ====================================================
   スタートガイド（はじめての案内所）専用デザイン
==================================================== */

/* 画面全体の縦並びコンテナ */
.guide-container {
    max-width: 800px;
    width: 90%;
    margin: 0 auto 60px auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* 各ステップのカード枠 */
.guide-card {
    background: var(--card-bg);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.8), 0 4px 15px rgba(0, 0, 0, 0.6);
    position: relative;
    transition: all 0.3s ease;
}

.guide-card:hover {
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow: inset 0 0 20px rgba(0, 229, 255, 0.05), 0 8px 25px rgba(0, 0, 0, 0.8);
}

/* ステップの見出し */
.guide-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    border-bottom: 1px dashed var(--border-dark);
    padding-bottom: 15px;
}

.guide-step-badge {
    background: rgba(230, 171, 8, 0.15);
    color: var(--accent-amber);
    border: 1px solid var(--accent-amber);
    padding: 4px 12px;
    border-radius: var(--radius);
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.guide-step-title {
    margin: 0;
    color: #ffffff;
    font-size: 1.4rem;
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
}

body.lang-ja .guide-step-title {
    font-family: 'Noto Serif JP', serif;
}

/* 説明文 */
.guide-step-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    font-family: 'Noto Serif JP', serif;
}

/* ボタンやリンクを並べる行 */
.guide-action-row {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}

/* アドレスを表示する黒い箱 */
.guide-address-box {
    background: #000000;
    border: 1px solid var(--border-dark);
    color: var(--primary-cyan);
    padding: 12px 15px;
    border-radius: var(--radius);
    font-family: 'Courier New', monospace;
    font-size: 1.05rem;
    letter-spacing: 1px;
    word-break: break-all;
    width: 100%;
    box-sizing: border-box;
}

.guide-address-box.is-empty {
    color: var(--text-muted);
    font-style: italic;
    border-style: dashed;
}

/* 準備完了時のステータス表示（緑色） */
.guide-status-connected {
    background: rgba(0, 200, 5, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
    padding: 12px 20px;
    border-radius: var(--radius);
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Noto Serif JP', serif;
    box-shadow: 0 0 10px rgba(0, 200, 5, 0.2);
}

/* テストETH解説枠（やさしいメモ） */
.guide-faq-box {
    margin-top: 20px;
    background: rgba(0, 229, 255, 0.03);
    border-left: 3px solid var(--primary-cyan);
    padding: 15px 20px;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.guide-faq-title {
    color: var(--primary-cyan);
    font-size: 0.95rem;
    font-weight: bold;
    margin-bottom: 6px;
    font-family: 'Noto Serif JP', serif;
}

.guide-faq-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
    font-family: 'Noto Serif JP', serif;
}

/* 冒険への出発ボタン（大きなボタン） */
.guide-btn-departure {
    display: block;
    width: 100%;
    text-align: center;
    padding: 16px;
    font-size: 1.25rem;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

/* 未接続時の無効化スタイル（鍵がかかった状態） */
.guide-btn-departure.is-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
    background: #151515 !important;
    border-color: #333333 !important;
    color: #666666 !important;
    box-shadow: none !important;
}

/* 無効化時の注意テキスト */
.guide-lock-notice {
    text-align: center;
    color: var(--warning);
    font-size: 0.85rem;
    margin-top: 10px;
    font-weight: bold;
    font-family: 'Noto Serif JP', serif;
}

/* 左上の戻るナビゲーション */
.top-nav-left {
    position: fixed;
    top: calc(20px + var(--global-alert-height, 0px));
    left: 20px;
    z-index: 1000;
    transition: top 0.3s ease;
}

@media (max-width: 768px) {
    .top-nav-left {
        top: 10px;
        left: 10px;
    }
}

/* ====================================================
   スタートガイド：手順書とスクリーンショットの表示枠
==================================================== */

/* 手順書全体を包む落ち着いた黒い箱 */
.guide-procedure-box {
    margin-top: 25px;
    margin-bottom: 25px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.6);
}

/* 手順書の見出し */
.guide-procedure-title {
    margin-top: 0;
    margin-bottom: 18px;
    color: var(--accent-amber);
    font-size: 1.15rem;
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
}

body.lang-ja .guide-procedure-title {
    font-family: 'Noto Serif JP', serif;
}

/* スクリーンショット画像（スマホでもはみ出さない設定） */
.guide-screenshot {
    width: 100%;
    max-width: 480px;
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

/* ①〜⑥の手順リスト */
.guide-procedure-list {
    padding-left: 22px;
    margin: 0;
    color: var(--text-main);
    line-height: 1.8;
    font-size: 0.95rem;
    font-family: 'Noto Serif JP', serif;
}

.guide-procedure-list li {
    margin-bottom: 10px;
}

.guide-procedure-list li:last-child {
    margin-bottom: 0;
}

/* ====================================================
   スタートガイド：動画プレイヤー（ファサード方式）
==================================================== */

.guide-video-section {
    margin-bottom: 20px;
}

.video-card {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius);
    padding: 15px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
}

.video-card-title {
    color: var(--accent-amber);
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 10px;
    font-family: 'Noto Serif JP', serif;
    letter-spacing: 0.5px;
}

.video-facade {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 の比率を保ちます */
    background-color: #000000;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--border-dark);
    transition: border-color 0.3s ease;
}

.video-facade:hover {
    border-color: var(--primary-cyan);
}

.video-facade-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
    transition: filter 0.3s ease;
}

.video-facade:hover .video-facade-thumb {
    filter: brightness(1);
}

.video-facade-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65px;
    height: 45px;
    background: rgba(255, 0, 0, 0.85);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
    transition: background 0.3s ease, transform 0.3s ease;
}

.video-facade:hover .video-facade-play-btn {
    background: #ff0000;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-facade-play-btn::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 9px 0 9px 16px;
    border-color: transparent transparent transparent #ffffff;
    margin-left: 3px;
}

.video-facade iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}