/* 新選組ばなし：茶屋の夜の色。本文は18px（下限16px）、注記は15px（下限14px）。押せるものは44px四方以上。 */
:root {
  --bg: #1b1714;
  --panel: #26201b;
  --text: #f6efe2;
  --sub: #cfc4b2;
  --asagi: #0096a6;
  --white: #f8f6f0;
  --link: #8ab4f8;      /* 暗い地の文字リンクの色（決まり） */
  --line: #3a322a;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-size: 18px;
  line-height: 1.9;
}
.nb { display: inline-block; }   /* 言葉の途中で改行させない */
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: underline; text-underline-offset: 0.2em; }
a:hover { color: #c3d9ff; }
a.tap { display: inline-block; padding: 13px 0; }   /* 文字リンクを押しやすい高さにする */

.hero {
  position: relative;
  background: linear-gradient(rgba(20, 16, 14, 0.55), rgba(20, 16, 14, 0.78)), url("img/hero.jpg") center / cover no-repeat;
  text-align: center;
  padding: 72px 0 0;
}
.hero-in { max-width: 760px; margin: 0 auto; padding: 0 20px 56px; }
.hero-sub { margin: 0; font-size: clamp(20px, 4.6vw, 30px); letter-spacing: 0.12em; }
.hero h1 { margin: 0.1em 0 0.35em; font-size: clamp(44px, 12.5vw, 104px); line-height: 1.2; letter-spacing: 0.04em; }
.hero-lead { margin: 0 0 1.6em; font-size: clamp(17px, 4.2vw, 21px); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 34px;
  background: var(--asagi); color: #fff; text-decoration: none;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif; font-weight: 700; font-size: 18px;
  border-radius: 6px;
}
.btn:hover { background: #00aabb; color: #fff; }

/* だんだら（浅葱の地に、白い山形） */
.dandara {
  height: 44px;
  background:
    linear-gradient(45deg, var(--white) 25%, transparent 25%) 0 100% / 44px 44px repeat-x,
    linear-gradient(-45deg, var(--white) 25%, transparent 25%) 0 100% / 44px 44px repeat-x,
    var(--asagi);
}

main { max-width: 860px; margin: 0 auto; padding: 8px 20px 40px; }
section { padding: 44px 0 8px; border-bottom: 1px solid var(--line); }
section:last-child { border-bottom: 0; }
h2 { margin: 0 0 0.8em; font-size: clamp(26px, 6.4vw, 34px); line-height: 1.4; padding-left: 14px; border-left: 8px solid var(--asagi); }
h3 { margin: 0.6em 0 0.3em; font-size: clamp(22px, 5.4vw, 26px); line-height: 1.5; }
p { margin: 0 0 1.1em; }
.yomi { font-size: 15px; color: var(--sub); margin-left: 0.4em; font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif; }

.people { display: grid; grid-template-columns: 1fr; gap: 28px; }
.person { background: var(--panel); border-radius: 10px; padding: 20px; }
.person img { width: 200px; border-radius: 50%; margin: 0 auto; }
.person h3 { text-align: center; }

.ep { background: var(--panel); border-radius: 10px; overflow: hidden; margin-bottom: 28px; }
.ep-thumb { display: block; }
.ep-body { padding: 18px 20px 8px; }
.ep-no { margin: 0; color: var(--sub); font-size: 16px; letter-spacing: 0.1em; }
details { margin: 0 0 1.2em; border-top: 1px solid var(--line); }
summary { cursor: pointer; min-height: 48px; display: flex; align-items: center; font-size: 17px; }
summary::-webkit-details-marker { display: none; }
summary::before { content: "＋"; margin-right: 0.5em; color: var(--asagi); font-weight: 700; }
details[open] summary::before { content: "−"; }
.src { margin: 0; padding-left: 1.2em; font-size: 16px; line-height: 1.8; }
.src li { margin-bottom: 0.9em; }
.src a { display: inline-block; padding: 9px 0; }   /* 押しやすい高さにする */

footer { text-align: center; }
footer p { margin: 0; padding: 22px 20px 30px; font-size: 16px; color: var(--sub); letter-spacing: 0.12em; }

@media (min-width: 700px) {
  body { font-size: 19px; }
  .hero { padding-top: 110px; }
  .hero-in { padding: 0 20px 84px; }
  .people { grid-template-columns: 1fr 1fr; }
  .ep { display: grid; grid-template-columns: 44% 1fr; align-items: start; }
  .ep-thumb img { height: 100%; object-fit: cover; }
}
