/* ===========================================================
   人を動かす 30の原則 — 各版の「入口ページ」共通スタイル
   series.css（版ごとの配色）と併せて読み込む。
   色は var(--accent-gold) 等を参照するので、版ごとに自動で染まる。
   =========================================================== */

.page-header { padding: 90px 20px 10px; }

/* ===== 版の切り替え ===== */
.edition-switch {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 8px; margin: 16px 0 4px;
}
.edition-btn {
    text-decoration: none;
    padding: 11px 12px; border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(200, 220, 255, 0.75);
    font-size: 12px; font-weight: 700; text-align: center;
    transition: all 0.3s; text-shadow: var(--ts);
    line-height: 1.4;
}
.edition-btn:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.edition-btn.current {
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}
.edition-btn.soon {
    opacity: 0.45; cursor: default;
    border-style: dashed;
}
.edition-btn.soon:hover { background: rgba(255, 255, 255, 0.04); color: rgba(200, 220, 255, 0.75); }

.edition-btn .eb-sub {
    display: block; font-size: 10px; font-weight: 400;
    color: rgba(200, 220, 255, 0.55); margin-top: 3px;
}

/* ===== 進捗パネル ===== */
.progress-panel {
    background: transparent;
    border: 1px solid rgba(52, 211, 153, 0.3);
    border-radius: 16px; padding: 16px 18px; margin: 18px 0;
}
.progress-head {
    display: flex; align-items: baseline; justify-content: space-between;
    margin-bottom: 10px;
}
.progress-head .p-title {
    font-size: 13px; font-weight: 700; color: var(--accent-green);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}
.progress-head .p-count {
    font-size: 13px; font-weight: 800; color: #fff; text-shadow: var(--ts);
}
.progress-bar {
    height: 10px; background: rgba(255, 255, 255, 0.08);
    border-radius: 5px; overflow: hidden;
}
.progress-fill {
    height: 100%; width: 0%;
    background: linear-gradient(90deg, var(--accent-green), var(--accent-gold));
    border-radius: 5px; transition: width 0.8s ease;
}
.progress-note {
    font-size: 11px; color: rgba(200, 220, 255, 0.55);
    margin-top: 8px; line-height: 1.6; text-shadow: var(--ts);
}

/* ===== なぜこの版か ===== */
.why-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px; padding: 18px; margin: 18px 0;
}
.why-title {
    font-size: 15px; font-weight: 800; color: #fff;
    margin-bottom: 8px; text-align: center; text-shadow: var(--ts);
}
.why-body {
    font-size: 13px; color: rgba(200, 220, 255, 0.9);
    line-height: 1.85; text-shadow: var(--ts);
}
.why-body b { color: var(--accent-gold); }

/* ===== 全体マップ ===== */
.map-box {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px; padding: 18px; margin: 18px 0;
}
.map-title { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 4px; text-shadow: var(--ts); }
.map-desc {
    font-size: 11px; color: rgba(200, 220, 255, 0.55);
    margin-bottom: 14px; line-height: 1.6; text-shadow: var(--ts);
}
.map-flow { display: grid; gap: 8px; }
.map-step {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 13px; border-radius: 10px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.map-step .ms-icon { font-size: 22px; flex-shrink: 0; }
.map-step .ms-body { flex: 1; min-width: 0; }
.map-step .ms-name { font-size: 12px; font-weight: 700; color: #fff; text-shadow: var(--ts); }
.map-step .ms-desc { font-size: 11px; color: rgba(200, 220, 255, 0.7); line-height: 1.55; text-shadow: var(--ts); }
.map-arrow { text-align: center; font-size: 14px; color: var(--accent-gold); opacity: 0.6; line-height: 1; }

/* ===== PARTカード ===== */
.part-grid { display: grid; gap: 14px; margin: 18px 0; }
.part-card {
    display: block; text-decoration: none; color: inherit;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px; padding: 20px;
    transition: transform 0.3s, background 0.3s, border-color 0.3s;
    position: relative; overflow: hidden;
}
.part-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.06);
}
.part-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.part-num {
    width: 46px; height: 46px; border-radius: 14px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    font-weight: 800; color: #fff; flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45); line-height: 1.1;
}
.part-num .pn-label { font-size: 8px; opacity: 0.85; letter-spacing: 1px; }
.part-num .pn-value { font-size: 19px; }
.part-titles { flex: 1; min-width: 0; }
.part-title {
    font-size: 17px; font-weight: 800; color: #fff;
    text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000, 0 4px 16px rgba(0, 0, 0, 0.9);
}
.part-title-en {
    font-size: 10px; color: rgba(255, 255, 255, 0.45);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8); letter-spacing: 0.5px;
}
.part-count {
    font-size: 11px; font-weight: 700;
    padding: 4px 10px; border-radius: 12px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff; flex-shrink: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}
.part-desc {
    font-size: 13px; color: rgba(200, 220, 255, 0.82);
    line-height: 1.8; margin-bottom: 10px; text-shadow: var(--ts);
}
.part-scene {
    font-size: 12px; line-height: 1.7;
    padding: 10px 12px; border-radius: 10px;
    background: rgba(255, 255, 255, 0.045);
    border-left: 3px solid var(--accent-gold);
    color: rgba(200, 220, 255, 0.85); text-shadow: var(--ts);
}
.part-scene b { color: var(--accent-gold); }
.part-foot {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 12px; gap: 8px;
}
.part-status { font-size: 11px; color: rgba(200, 220, 255, 0.6); text-shadow: var(--ts); }
.part-cta { font-size: 12px; font-weight: 700; color: var(--accent-gold); text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8); }
