/* 影響力の6原則シリーズ 共通スタイル
   各ページ側の <style> で --main / --main-rgb / --bg-image の3つだけ定義する */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg-deep: #0d0d1a;
    --text-main: #e0d8c8;
    --text-dim: #a09888;
    --text-dimmer: rgba(255,255,255,0.35);
    --accent-red: #ff6b6b;
    --accent-gold: #ffd700;
    --accent-amber: #ffb347;
    --accent-pink: #ff6b9d;
    --accent-teal: #4ecdc4;
    --accent-orange: #ff9f43;
    --accent-purple: #a78bfa;
    --accent-warn: #ef4444;
    --ts: -1px -1px 0 rgba(0,0,0,0.9), 1px -1px 0 rgba(0,0,0,0.9),
          -1px 1px 0 rgba(0,0,0,0.9), 1px 1px 0 rgba(0,0,0,0.9),
          0 2px 8px rgba(0,0,0,0.95);
}

body {
    font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
    color: var(--text-main);
    background: linear-gradient(180deg, #0d0d1a 0%, #151528 30%, #1a1a2e 60%, #0d0d1a 100%);
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
}
body::before {
    content: '';
    position: fixed; inset: 0; z-index: -2;
    background: var(--bg-image) center center / cover no-repeat;
    filter: saturate(45%) brightness(38%) contrast(85%);
}
body::after {
    content: '';
    position: fixed; inset: 0; z-index: -1;
    background: linear-gradient(to bottom, rgba(13,13,26,0.72) 0%, rgba(24,20,35,0.55) 50%, rgba(13,13,26,0.78) 100%);
    pointer-events: none;
}

button { font-family: inherit; cursor: pointer; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: rgba(0,0,0,0.2); }
::-webkit-scrollbar-thumb { background: rgba(var(--main-rgb),0.4); border-radius: 3px; }

/* ===== Navigation ===== */
.care-nav {
    position: fixed; top: 0; left: 0; right: 0;
    display: flex; align-items: center; justify-content: space-between;
    padding: 15px 30px;
    background: rgba(0,0,0,0.55);
    border-bottom: 1px solid rgba(var(--main-rgb),0.15);
    z-index: 200;
}
.care-nav .brand {
    display: flex; align-items: center; gap: 10px;
    font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.7);
    letter-spacing: 1px;
}
.care-nav .back-link {
    font-size: 13px; color: rgba(255,225,180,0.7);
    text-decoration: none; transition: all 0.3s;
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(var(--main-rgb),0.25);
    padding: 8px 16px; border-radius: 20px;
}
.care-nav .back-link:hover { color: #fff; background: rgba(var(--main-rgb),0.15); }

/* ===== Hero ===== */
.hero { padding: 80px 20px 40px; text-align: center; position: relative; z-index: 1; }
.hero-badge {
    display: inline-block; padding: 6px 20px;
    background: rgba(var(--main-rgb),0.15); border-radius: 20px;
    border: 1px solid rgba(var(--main-rgb),0.25); margin-bottom: 20px;
    font-size: 12px; color: var(--main); font-weight: 700; letter-spacing: 2px;
}
.hero h1 {
    font-size: clamp(28px, 6vw, 42px); font-weight: 900; color: #fff;
    margin: 0 0 8px; line-height: 1.3; letter-spacing: 3px;
    font-family: 'Noto Serif JP', serif; text-shadow: var(--ts);
}
.hero .sub-en { font-size: clamp(14px, 3vw, 18px); color: rgba(255,225,180,0.8); margin: 0 0 12px; font-weight: 700; }
.hero .desc { font-size: clamp(13px, 2.5vw, 16px); color: rgba(255,255,255,0.5); margin: 0 auto; max-width: 440px; line-height: 1.8; }

/* ===== Mini Nav ===== */
.mini-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 30px; }
.mini-nav-item {
    padding: 6px 14px; border-radius: 16px;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
    font-size: 11px; color: rgba(255,255,255,0.4); font-weight: 700; transition: all 0.3s;
}
.mini-nav-item:hover { color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.06); }
.mini-nav-item.active { color: var(--main); background: rgba(var(--main-rgb),0.12); border-color: rgba(var(--main-rgb),0.3); }

/* ===== Content ===== */
.content-wrap { max-width: 560px; margin: 0 auto; padding: 0 20px 80px; position: relative; z-index: 1; }

.section { margin-bottom: 50px; opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.section.visible { opacity: 1; transform: translateY(0); }

.section-header { margin-bottom: 20px; }
.section-header-inner { display: flex; align-items: center; gap: 12px; }
.section-icon { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.section-header h2 { margin: 0; font-size: 20px; font-weight: 900; color: #fff; font-family: 'Noto Serif JP', serif; text-shadow: var(--ts); }
.section-header .sub { margin: 2px 0 0; font-size: 12px; font-weight: 700; }
.section-line { height: 1px; margin-top: 12px; }

.lead { font-size: 13px; line-height: 2; color: #c8c0b0; text-shadow: 0 1px 3px rgba(0,0,0,0.7); }

/* ===== Athena Comment ===== */
.athena-comment {
    display: flex; gap: 14px; align-items: flex-start;
    margin: 20px 0; padding: 18px;
    background: linear-gradient(135deg, rgba(var(--main-rgb),0.08), rgba(255,215,0,0.05));
    border-radius: 16px; border: 1px solid rgba(var(--main-rgb),0.15);
}
.athena-mini-avatar {
    min-width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
    border: 2px solid rgba(var(--main-rgb),0.4); box-shadow: 0 0 12px rgba(var(--main-rgb),0.2);
}
.athena-mini-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.athena-comment p { margin: 0; font-size: 14px; line-height: 1.9; color: #f0e8d8; text-shadow: 0 1px 3px rgba(0,0,0,0.7); }
.athena-comment .sub-comment { margin-top: 6px; font-size: 12px; color: rgba(240,232,216,0.5); }

/* ===== Cards & Panels ===== */
.panel { border-radius: 16px; padding: 20px; margin-bottom: 16px; }
.panel p { font-size: 13px; line-height: 2; color: #c8c0b0; text-shadow: 0 1px 3px rgba(0,0,0,0.7); }

.key-point { padding: 14px 16px; border-radius: 0 10px 10px 0; margin: 10px 0; }
.key-point .kp-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.key-point p { margin-top: 6px; font-size: 13px; line-height: 1.9; color: #e0d8c8; text-shadow: 0 1px 3px rgba(0,0,0,0.7); }

.flow-step { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; }
.flow-num { min-width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 900; color: #1a1a2e; font-family: 'Noto Serif JP', serif; }
.flow-title { font-size: 15px; font-weight: 700; margin: 0; }
.flow-desc { font-size: 13px; line-height: 1.8; color: #c8c0b0; margin: 4px 0 0; text-shadow: 0 1px 3px rgba(0,0,0,0.7); }
.flow-arrow { text-align: center; font-size: 18px; padding: 4px 0; }

.example-card { background: rgba(255,255,255,0.04); border-radius: 14px; padding: 16px; border: 1px solid rgba(255,255,255,0.06); }
.example-header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.example-emoji { font-size: 20px; }
.example-cat { font-size: 13px; font-weight: 700; }
.example-tech { font-size: 13px; font-weight: 700; color: #e8e0d0; margin: 0 0 6px; text-shadow: 0 1px 3px rgba(0,0,0,0.7); }
.example-text { font-size: 12px; color: var(--text-dim); line-height: 1.7; font-style: italic; margin: 0; text-shadow: 0 1px 3px rgba(0,0,0,0.7); }

.warning-card { border-radius: 14px; padding: 16px; margin-bottom: 12px; }
.warning-title { font-size: 14px; font-weight: 700; margin: 0 0 6px; }
.warning-desc { font-size: 13px; line-height: 1.8; color: #c8c0b0; margin: 0 0 8px; text-shadow: 0 1px 3px rgba(0,0,0,0.7); }
.warning-fix { display: flex; align-items: flex-start; gap: 6px; padding: 8px 12px; border-radius: 8px; background: rgba(78,205,196,0.1); }
.warning-fix span { font-size: 12px; color: var(--accent-teal); line-height: 1.7; }

.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin: 16px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.grid-cell { background: rgba(255,255,255,0.04); border-radius: 12px; padding: 14px 8px; text-align: center; }
.grid-cell .gc-emoji { font-size: 28px; margin-bottom: 6px; }
.grid-cell p { font-size: 12px; color: #c8c0b0; white-space: pre-line; line-height: 1.6; margin: 0; text-shadow: 0 1px 3px rgba(0,0,0,0.7); }

.compare-card { background: rgba(255,255,255,0.04); border-radius: 14px; padding: 16px; border: 1px solid rgba(255,255,255,0.06); margin-bottom: 10px; }
.compare-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.compare-emoji { font-size: 22px; }
.compare-name { font-size: 14px; font-weight: 900; }
.compare-en { font-size: 10px; color: var(--text-dimmer); font-weight: 700; }
.compare-desc { font-size: 12.5px; color: #c8c0b0; line-height: 1.75; margin: 0; text-shadow: 0 1px 3px rgba(0,0,0,0.7); }
.compare-desc b { color: #e8e0d0; }

.exp-link {
    display: block; text-align: center; margin: 20px 0; padding: 16px 20px; border-radius: 14px;
    background: linear-gradient(135deg, rgba(var(--main-rgb),0.12), rgba(255,215,0,0.08));
    border: 1px solid rgba(var(--main-rgb),0.25); color: var(--main); text-decoration: none;
    font-size: 15px; font-weight: 700; transition: all 0.3s;
}
.exp-link:hover { background: linear-gradient(135deg, rgba(var(--main-rgb),0.2), rgba(255,215,0,0.12)); transform: translateY(-2px); }

/* ===== Mini Experience ===== */
.exp-box {
    border-radius: 20px; padding: 22px 18px;
    background: linear-gradient(160deg, rgba(var(--main-rgb),0.10), rgba(0,0,0,0.35));
    border: 1px solid rgba(var(--main-rgb),0.3);
    box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}
.exp-progress { display: flex; gap: 6px; justify-content: center; margin-bottom: 16px; }
.exp-dot { width: 28px; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.12); transition: background 0.4s; }
.exp-dot.on { background: var(--main); }
.exp-scene-label { font-size: 11px; letter-spacing: 2px; font-weight: 700; color: var(--main); text-align: center; margin-bottom: 6px; }
.exp-scene-title { font-size: 17px; font-weight: 900; color: #fff; text-align: center; font-family: 'Noto Serif JP', serif; text-shadow: var(--ts); margin-bottom: 14px; }
.exp-story { background: rgba(0,0,0,0.28); border-radius: 12px; padding: 14px; font-size: 13px; line-height: 1.95; color: #e0d8c8; margin-bottom: 14px; text-shadow: 0 1px 3px rgba(0,0,0,0.7); }
.exp-story b { color: var(--accent-gold); }
.exp-q { font-size: 13px; font-weight: 700; color: #fff; text-align: center; margin-bottom: 8px; }
.exp-slider-wrap { padding: 4px 6px 0; }
.exp-slider { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 4px; outline: none;
    background: linear-gradient(90deg, var(--accent-teal), var(--accent-amber), var(--accent-red)); }
.exp-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--main); box-shadow: 0 2px 8px rgba(0,0,0,0.5); cursor: pointer; }
.exp-slider::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--main); cursor: pointer; }
.exp-scale { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--text-dim); margin-top: 6px; }
.exp-value { text-align: center; font-size: 26px; font-weight: 900; color: var(--main); font-family: 'Noto Serif JP', serif; margin: 8px 0 2px; text-shadow: var(--ts); }
.exp-btn {
    display: block; width: 100%; margin-top: 14px; padding: 14px; border-radius: 12px; border: 1px solid rgba(var(--main-rgb),0.5);
    background: linear-gradient(135deg, rgba(var(--main-rgb),0.28), rgba(var(--main-rgb),0.12)); color: #fff; font-size: 14px; font-weight: 700; transition: all 0.25s;
}
.exp-btn:hover { transform: translateY(-2px); background: linear-gradient(135deg, rgba(var(--main-rgb),0.4), rgba(var(--main-rgb),0.2)); }
.exp-btn.ghost { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.15); color: rgba(255,255,255,0.7); font-size: 12.5px; padding: 10px; }
.exp-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.exp-bars { margin: 14px 0 6px; }
.exp-bar-row { display: grid; grid-template-columns: 78px 1fr 40px; gap: 8px; align-items: center; margin-bottom: 10px; font-size: 11.5px; color: #c8c0b0; }
.exp-bar-track { position: relative; height: 18px; border-radius: 9px; background: rgba(255,255,255,0.06); overflow: hidden; }
.exp-bar-a, .exp-bar-b { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 9px; transition: width 1s cubic-bezier(0.16,1,0.3,1); width: 0; }
.exp-bar-b { background: linear-gradient(90deg, rgba(var(--main-rgb),0.55), var(--main)); }
.exp-bar-a { background: rgba(78,205,196,0.85); z-index: 1; }
.exp-bar-diff { font-weight: 900; color: var(--main); text-align: right; }
.exp-legend { display: flex; gap: 14px; justify-content: center; font-size: 11px; color: var(--text-dim); margin-bottom: 8px; }
.exp-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 4px; vertical-align: -1px; }
.exp-score { text-align: center; margin: 10px 0 4px; }
.exp-score .num { font-size: 40px; font-weight: 900; color: var(--main); font-family: 'Noto Serif JP', serif; text-shadow: var(--ts); }
.exp-score .unit { font-size: 13px; color: var(--text-dim); margin-left: 4px; }
.exp-type { text-align: center; font-size: 16px; font-weight: 900; color: #fff; font-family: 'Noto Serif JP', serif; text-shadow: var(--ts); margin-bottom: 8px; }
.exp-note { font-size: 12.5px; line-height: 1.9; color: #e0d8c8; background: rgba(0,0,0,0.28); border-radius: 12px; padding: 12px 14px; text-shadow: 0 1px 3px rgba(0,0,0,0.7); }
.exp-fine { font-size: 10.5px; color: var(--text-dimmer); text-align: center; margin-top: 10px; line-height: 1.7; }

/* ===== Series Nav ===== */
.series-box { border-radius: 18px; padding: 20px 16px; background: rgba(255,255,255,0.035); border: 1px solid rgba(255,255,255,0.08); margin-bottom: 24px; }
.series-label { font-size: 12px; letter-spacing: 3px; font-weight: 700; color: var(--accent-gold); text-align: center; margin-bottom: 4px; }
.series-sub { font-size: 11.5px; color: var(--text-dim); text-align: center; margin-bottom: 14px; }
.series-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.series-item { display: block; text-align: center; padding: 12px 4px; border-radius: 12px; font-size: 12px; font-weight: 700; text-decoration: none; line-height: 1.5;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); color: #e8e0d0; transition: all 0.25s; }
a.series-item:hover { transform: translateY(-2px); background: rgba(255,255,255,0.08); }
.series-item .se { display: block; font-size: 20px; margin-bottom: 2px; }
.series-item.now { border-color: rgba(var(--main-rgb),0.6); background: rgba(var(--main-rgb),0.14); color: var(--main); }
.series-item.soon { opacity: 0.45; }
.series-item.soon small { display: block; font-size: 9.5px; font-weight: 500; color: var(--text-dim); }
.related-links { display: grid; gap: 8px; margin-top: 14px; }
.related-links a { display: block; padding: 11px 14px; border-radius: 10px; font-size: 12.5px; font-weight: 700; text-decoration: none; color: #e8e0d0;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); transition: all 0.25s; }
.related-links a:hover { background: rgba(255,255,255,0.08); }
.related-links a span { color: var(--text-dim); font-weight: 500; font-size: 11px; display: block; margin-top: 2px; }

/* ===== Summary ===== */
.summary-card {
    background: linear-gradient(135deg, rgba(var(--main-rgb),0.1), rgba(255,215,0,0.05));
    border-radius: 20px; padding: 28px 24px; border: 1px solid rgba(var(--main-rgb),0.15); text-align: center;
}
.summary-label { font-size: 12px; color: var(--main); letter-spacing: 3px; font-weight: 700; margin: 0 0 10px; }
.summary-text { font-size: 18px; font-weight: 900; color: #fff; line-height: 1.6; font-family: 'Noto Serif JP', serif; margin: 0 0 16px; text-shadow: var(--ts); }
.summary-divider { width: 40px; height: 2px; margin: 0 auto 16px; background: linear-gradient(90deg, transparent, var(--accent-gold), transparent); }
.summary-footer { font-size: 12px; color: var(--text-dimmer); margin: 0; }

.page-footer { text-align: center; padding: 20px 16px 30px; color: rgba(255,225,180,0.3); font-size: 11px; line-height: 1.8; position: relative; z-index: 1; }

@media (max-width: 420px) {
    .care-nav { padding: 12px 16px; }
    .grid-2 { grid-template-columns: 1fr; }
    .exp-bar-row { grid-template-columns: 66px 1fr 36px; }
}
