/* Kamitype content pages (god encyclopedia / pillars) — shared styles */
:root{
  --bg:#FAF8F3; --card:#FFFFFF; --text:#1A1A1A; --text-muted:#6B6B6B; --text-subtle:#A8A8A8;
  --border:#EBE7DE; --accent:#C14A2B; --accent-soft:#F3E4DF; --ink:#2A2A2A; --gold:#B98652; --gold-soft:#F3EAD8;
}
*{box-sizing:border-box;margin:0;padding:0}
html,body{font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Noto Sans JP",sans-serif;background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;line-height:1.85}
body{max-width:760px;margin:0 auto;padding:20px 20px 80px}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}

.site-head{display:flex;align-items:center;justify-content:space-between;padding:14px 0 18px;border-bottom:1px solid var(--border);margin-bottom:20px}
.site-logo{font-size:13px;font-weight:800;letter-spacing:.2em;color:var(--accent);text-transform:uppercase}
.site-logo:hover{text-decoration:none}
.site-nav a{font-size:13px;color:var(--text-muted);font-weight:600;margin-left:16px}

.breadcrumb{font-size:12px;color:var(--text-subtle);margin-bottom:14px}
.breadcrumb a{color:var(--text-muted)}

.hero{display:flex;gap:18px;align-items:center;margin-bottom:14px}
.hero-img{width:104px;height:104px;border-radius:50%;object-fit:cover;border:3px solid #fff;box-shadow:0 4px 16px rgba(20,20,20,.16);flex-shrink:0}
h1{font-size:27px;font-weight:800;line-height:1.4;color:var(--ink)}
.reading{font-size:13px;color:var(--text-muted);margin-top:6px}
.aliases{font-size:12px;color:var(--text-subtle);margin-top:4px}

.summary{font-size:16px;line-height:1.95;margin:18px 0 26px}

h2{font-size:20px;font-weight:800;color:var(--ink);margin:34px 0 14px;padding-bottom:8px;border-bottom:2px solid var(--gold-soft)}
h3{font-size:16px;font-weight:700;color:var(--accent);margin:22px 0 8px}
p{margin:10px 0;font-size:15px}
section p{color:#2c2c2c}

table.basic{width:100%;border-collapse:collapse;margin:8px 0;font-size:14px}
table.basic th,table.basic td{border:1px solid var(--border);padding:10px 12px;text-align:left;vertical-align:top}
table.basic th{background:var(--gold-soft);color:var(--ink);width:34%;font-weight:700;white-space:nowrap}

.faq-item{border:1px solid var(--border);border-radius:12px;padding:14px 16px;margin:10px 0;background:var(--card)}
.faq-q{font-weight:700;color:var(--ink);font-size:15px}
.faq-a{font-size:14px;color:#333;margin-top:6px}

.related{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}
.related a{display:flex;flex-direction:column;border:1px solid var(--border);border-radius:12px;padding:10px;width:calc(33.333% - 7px);background:var(--card);text-align:center}
.related a:hover{border-color:var(--accent);text-decoration:none}
.related img{width:60px;height:60px;border-radius:50%;object-fit:cover;margin:0 auto 6px}
.related .rname{font-size:13px;font-weight:700;color:var(--ink)}
.related .rnote{font-size:11px;color:var(--text-muted);margin-top:2px;line-height:1.5}

.cta{margin:38px 0 10px;padding:26px 22px;border-radius:18px;text-align:center;background:linear-gradient(135deg,#fff,var(--gold-soft));border:1px solid var(--gold)}
.cta-h{font-size:17px;font-weight:800;color:var(--ink);margin-bottom:6px}
.cta-p{font-size:13px;color:var(--text-muted);margin-bottom:16px}
.cta-btn{display:inline-block;padding:14px 26px;border-radius:12px;background:linear-gradient(135deg,var(--accent),var(--gold));color:#fff;font-weight:700;font-size:15px;box-shadow:0 4px 14px rgba(193,74,43,.28)}
.cta-btn:hover{text-decoration:none;box-shadow:0 6px 20px rgba(193,74,43,.38)}

.gods-hub{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0}
.gods-hub a{display:flex;flex-direction:column;align-items:center;border:1px solid var(--border);border-radius:14px;padding:14px 8px;background:var(--card);text-align:center}
.gods-hub a:hover{border-color:var(--accent);text-decoration:none;transform:translateY(-2px);transition:.15s}
.gods-hub img{width:78px;height:78px;border-radius:50%;object-fit:cover;margin-bottom:8px}
.gods-hub .gname{font-size:14px;font-weight:800;color:var(--ink)}
.gods-hub .grole{font-size:11px;color:var(--text-muted);margin-top:2px}

.link-list{margin:10px 0 10px 2px;padding:0;list-style:none}
.link-list li{padding:8px 0;border-bottom:1px solid var(--border);font-size:14px}
.link-list a{font-weight:700}

.story-list{display:flex;flex-direction:column;gap:10px;margin:18px 0}
.story-card{display:flex;gap:14px;align-items:center;border:1px solid var(--border);border-radius:14px;padding:12px 14px;background:var(--card)}
.story-card:hover{border-color:var(--accent);text-decoration:none;transform:translateY(-1px);transition:.15s}
.story-card img{width:64px;height:64px;border-radius:12px;object-fit:cover;flex-shrink:0}
.story-card .gname{display:block;font-size:15px;font-weight:800;color:var(--ink)}
.story-card .grole{display:block;font-size:12px;color:var(--text-muted);margin-top:3px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

.site-foot{margin-top:50px;padding-top:18px;border-top:1px solid var(--border);font-size:12px;color:var(--text-subtle);text-align:center}
.site-foot a{color:var(--text-muted)}

@media(max-width:560px){
  h1{font-size:23px}
  .hero-img{width:84px;height:84px}
  .related a{width:calc(50% - 5px)}
  .gods-hub{grid-template-columns:repeat(2,1fr)}
}
