/* カバーアート（鬼の朱・仏の金・螺髪の藍・太い墨の輪郭線）に寄せる。2026-10-07 田村決定 */
:root {
  --oni: #d6281f;
  --hotoke: #f3b51b;
  --hotoke-light: #fff1c9;
  --ai: #2f3f8f;
  --ink: #141414;
  --paper: #fff8ea;
  --muted: #6b6457;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", system-ui, sans-serif;
  font-weight: 500;
  line-height: 1.75;
}
a { color: inherit; text-underline-offset: 3px; }
[hidden] { display: none !important; }

.bar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 24px; padding: 10px max(16px, calc((100% - 1040px) / 2 + 16px)); background: #fff; border-bottom: 3px solid var(--ink); }
.bar .me { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.bar .me img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ink); }
.bar .me span { display: flex; flex-direction: column; line-height: 1.2; }
.bar .me b { font-weight: 900; font-size: 1rem; }
.bar .me small { font-size: .72rem; font-weight: 700; color: var(--muted); }
.menu { display: flex; gap: 22px; margin-left: auto; }
.menu a { font-weight: 700; text-decoration: none; padding: 4px 0; border-bottom: 3px solid transparent; white-space: nowrap; }
.menu a:hover, .menu a.on { border-bottom-color: var(--oni); }
.cta { flex: none; background: var(--hotoke); color: var(--ink); text-decoration: none; font-weight: 900; padding: 6px 16px; border: 3px solid var(--ink); border-radius: 10px; white-space: nowrap; }
.cta:hover { filter: brightness(1.06); }
@media (max-width: 860px) {
  .bar { flex-wrap: wrap; gap: 8px 12px; }
  .cta { margin-left: auto; padding: 6px 14px; font-size: .85rem; }
  .menu { order: 3; width: 100%; margin: 0; gap: 18px; overflow-x: auto; }
}

.hero { display: grid; grid-template-columns: 1.05fr 1fr; grid-template-areas: "text visual"; gap: 8px 48px; align-items: center; max-width: 1072px; margin: 0 auto; padding: 40px 16px 48px; }
.hero-text { grid-area: text; }
.hero h1 span { display: inline-block; } /* 折り返すのは読点の後ろだけ */
.hero h1 { margin: 0; font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 900; line-height: 1.2; letter-spacing: .02em; }
.tagline { margin: 16px 0 8px; font-size: clamp(1.05rem, 2.4vw, 1.3rem); font-weight: 900; color: var(--oni); }
.lead { margin: 0 0 24px; color: #4a453c; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; text-decoration: none; font-weight: 900; padding: 11px 24px; border-radius: 10px; border: 3px solid var(--ink); }
.btn.oni { background: var(--oni); color: #fff; }
.btn.hotoke { background: var(--hotoke); color: var(--ink); }
.btn:hover { filter: brightness(1.06); }
.where { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 22px; padding-top: 16px; border-top: 2px dashed rgba(20, 20, 20, .35); }
.where > span { font-weight: 900; font-size: .9rem; }
.hero-visual { grid-area: visual; position: relative; aspect-ratio: 1; border-radius: 20px; overflow: hidden; padding: 8px; background: linear-gradient(90deg, var(--oni) 0 50%, var(--hotoke) 50% 100%); }
.hero-visual img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 13px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills a { background: #fff; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .9rem; padding: 3px 12px; border: 2px solid var(--ink); border-radius: 6px; }
.pills a:hover { background: var(--hotoke-light); }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; grid-template-areas: "text" "visual"; padding-top: 28px; }
  .hero-visual { margin-top: 20px; }
}

main { max-width: 1040px; margin: 0 auto; padding: 28px 16px 56px; }
main.narrow { max-width: 760px; }
.mark { font-weight: 900; font-size: 1.4rem; display: flex; align-items: center; gap: 10px; margin: 8px 0 18px; }
.mark::before { content: ""; width: 14px; height: 14px; background: linear-gradient(90deg, var(--oni) 50%, var(--hotoke) 50%); border: 2px solid var(--ink); border-radius: 50%; }

.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.tabs button { font: inherit; font-weight: 700; padding: 4px 14px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; color: var(--ink); cursor: pointer; }
.tabs button.on { background: var(--ink); color: #fff; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.card { display: block; text-decoration: none; background: #fff; border: 3px solid var(--ink); border-radius: 18px; overflow: hidden; box-shadow: 6px 6px 0 var(--ink); transition: transform .12s, box-shadow .12s; }
.card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.card img, .card .noimg { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-bottom: 3px solid var(--ink); background: var(--hotoke-light); }
.card .body { padding: 12px 14px 14px; }
.card h3 { margin: 8px 0 4px; font-size: 1.02rem; font-weight: 900; line-height: 1.45; }
.card time { font-size: .85rem; color: var(--muted); font-weight: 700; }
.card .dir { font-size: .8rem; font-weight: 900; color: var(--muted); }
.badge { display: inline-block; font-size: .78rem; font-weight: 900; color: #fff; padding: 1px 10px; border-radius: 999px; border: 2px solid var(--ink); }
.badge.dialogue { background: var(--ai); }
.badge.solo { background: var(--oni); }
.badge.guest { background: var(--hotoke); color: var(--ink); }
.empty { font-weight: 700; background: #fff; border: 3px dashed var(--ink); border-radius: 18px; padding: 24px; text-align: center; }
.more { text-align: center; font-weight: 700; margin-top: 24px; }

.panel { margin-top: 40px; background: #fff; border: 3px solid var(--ink); border-radius: 18px; padding: 20px 22px; box-shadow: 6px 6px 0 var(--ink); }
main.narrow > .panel:first-child { margin-top: 0; }
.speaker { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.speaker img { width: 88px; height: 88px; border-radius: 50%; border: 3px solid var(--ink); }
.speaker h2 { margin: 0 0 4px; }
.speaker ul { display: flex; flex-wrap: wrap; gap: 4px 16px; list-style: none; padding: 0; margin: 8px 0 0; font-weight: 700; }
.prose h1, .prose h2, .episode h1, .episode h2 { font-weight: 900; line-height: 1.4; }
.prose h1, .episode h1 { font-size: 1.6rem; margin: 4px 0 12px; }
.prose h2, .episode h2 { font-size: 1.2rem; margin: 1.8em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-weight: 900; margin: 1.4em 0 .4em; }

.episode .meta { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--muted); font-weight: 700; font-size: .9rem; }
.player { position: relative; aspect-ratio: 16 / 9; border: 3px solid var(--ink); border-radius: 12px; overflow: hidden; margin: 12px 0 20px; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
audio { width: 100%; margin: 12px 0 20px; }
.description { overflow-wrap: anywhere; }
.chapters { padding-left: 1.2em; }
.chapters a { font-weight: 900; color: var(--ai); }
.transcript { margin-top: 20px; border-top: 2px dashed var(--ink); padding-top: 12px; }
.transcript summary { cursor: pointer; font-weight: 900; }
.neighbors { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 28px; }

.footer { border-top: 3px solid var(--ink); background: var(--ink); color: #fff; text-align: center; padding: 18px; font-size: .85rem; }
@media (max-width: 520px) {
  .speaker { grid-template-columns: 1fr; }
  .bar nav a { margin-left: 10px; }
}

/* お問い合わせ */
.contact { display: grid; gap: 14px; margin-top: 16px; }
.contact label { display: grid; gap: 4px; font-weight: 900; }
.contact em { font-style: normal; font-size: .72rem; color: #fff; background: var(--oni); padding: 0 6px; border-radius: 4px; margin-left: 4px; }
.contact input, .contact select, .contact textarea { font: inherit; font-weight: 500; padding: 10px 12px; border: 2px solid var(--ink); border-radius: 8px; background: #fff; }
.contact input:focus, .contact select:focus, .contact textarea:focus { outline: 3px solid var(--hotoke); outline-offset: 1px; }
.contact .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact .note { margin: 0; font-size: .85rem; color: var(--muted); }
.contact button { justify-self: start; cursor: pointer; font: inherit; font-weight: 900; }
.contact button:disabled { opacity: .6; cursor: wait; }
.contact .status { margin: 0; font-weight: 700; color: var(--oni); }
.done { font-weight: 900; background: var(--hotoke-light); border: 2px solid var(--ink); border-radius: 10px; padding: 16px; }
