/* ARARI 音声メルマガ 試作 — 白基調・黒文字・青アクセント（仮案）。
   Claude Design のキャンバス「ARARI 音声メルマガ 読者画面」と同じ配色・余白で実装。 */
:root {
  --bg: #ffffff;
  --surface: #f5f6f8;
  --surface-2: #eef0f3;
  --line: #e8eaee;
  --line-2: #dadde3;
  --ink: #111111;
  --ink-2: #3a3d42;
  --muted: #5a5e66;
  --disabled: #b9bec6;
  --blue: #1652f0;
  --blue-dark: #0b3fbf;
  --blue-soft: #eef3ff;
  --heart: #e5483d;
  --danger: #c0352b;
  --radius: 20px;
  --radius-sm: 12px;
  --font:
    "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Meiryo", system-ui, sans-serif;
  --gutter: 20px;
  --maxw: 1200px;
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
}
a {
  color: var(--blue);
}
img,
svg {
  display: block;
  max-width: 100%;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 8px;
}
.muted {
  color: var(--muted);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--bg);
  padding: 8px 12px;
  z-index: 50;
}
.skip:focus {
  left: 8px;
}

/* ---- グローバルなデモ表示とヘッダー ---- */
.demo-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: center;
  justify-content: center;
  padding: 8px var(--gutter);
  background: var(--surface);
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}
.demo-ribbon strong {
  color: var(--blue);
  font-weight: 800;
  letter-spacing: 0.08em;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px var(--gutter);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  width: 34px;
  height: 34px;
}
.bm-ring {
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
}
.bm-wave {
  fill: none;
  stroke: var(--blue);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand-text {
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 18px;
  line-height: 1.1;
}
.brand-text small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--muted);
}
.topnav {
  display: flex;
  gap: 4px;
}
.topnav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.topnav a:hover {
  background: var(--surface);
}
.topnav a[aria-current="page"] {
  background: var(--ink);
  color: #fff;
}

main {
  display: block;
  outline: none;
}
main:focus,
main:focus-visible {
  outline: none;
} /* ルート遷移時の main へのフォーカスで枠を出さない */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.narrow {
  max-width: 720px;
}

.sitefoot {
  margin-top: 72px;
  border-top: 1px solid var(--line);
}
.sitefoot-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 32px var(--gutter) 48px;
  font-size: 12px;
  color: var(--muted);
}
.sitefoot p {
  margin: 0 0 6px;
}

/* ---- 共通パーツ ---- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
}
.chip.blue {
  background: var(--blue-soft);
  color: var(--blue-dark);
}
.chip.dark {
  background: var(--ink);
  color: #fff;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  background: var(--ink);
  color: #fff;
  transition:
    transform 0.12s ease,
    background 0.15s ease;
}
.btn:hover {
  background: #2a2a2a;
}
.btn:active {
  transform: scale(0.98);
}
.btn.blue {
  background: var(--blue);
}
.btn.blue:hover {
  background: var(--blue-dark);
}
.btn.ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.btn.ghost:hover {
  background: var(--surface);
}
.btn.danger {
  background: var(--danger);
  color: #fff;
}
.btn svg {
  width: 16px;
  height: 16px;
}
.card {
  background: var(--bg);
  border-radius: var(--radius);
}
.section-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin: 0 0 32px;
}
.section-title h2 {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
}
.section-title .sub {
  font-size: 13px;
  color: var(--muted);
}
.kicker {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--blue);
}

/* ---- 番組画面 ---- */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 32px var(--gutter) 64px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
}
.hero-copy {
  flex: 1 1 440px;
  min-width: 0;
}
.hero h1 {
  margin: 20px 0 0;
  font-size: clamp(34px, 5.2vw, 64px);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.hero h1 .nb {
  display: inline-block;
} /* まとまり単位でのみ折り返す */
.hero .provisional {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.hero .tagline {
  margin: 28px 0 0;
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 700;
  line-height: 1.7;
}
.hero .intro {
  margin: 16px 0 0;
  font-size: 15px;
  color: var(--ink-2);
  max-width: 34em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.banner {
  flex: 1 1 360px;
  min-width: 0;
}
.banner svg {
  width: 100%;
  height: auto;
}

.episodes-band {
  background: var(--surface);
  padding: 64px 0;
}
.episode-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
}
.ep-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px;
}
.ep-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
} /* 全カードで EPISODE の下に日付 */
.ep-meta {
  font-size: 12px;
  color: var(--muted);
}
.ep-card h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.55;
  font-weight: 800;
}
.ep-card h3 a {
  color: var(--ink);
  text-decoration: none;
}
.ep-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
}
.ep-card h3 a:hover {
  color: var(--blue);
}
.ep-summary {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.75;
  flex-grow: 1;
}
.ep-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--surface-2);
}
.ep-play {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px 0 6px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.ep-play .ic {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue);
  display: grid;
  place-items: center;
}
.ep-play .ic svg {
  width: 14px;
  height: 14px;
}
.ep-play:hover {
  background: #2a2a2a;
}

/* ❤️12 の形（数値のみ。説明文は置かない） */
.heart-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.heart-count svg {
  width: 18px;
  height: 18px;
}
.heart-count path,
.like-btn .heart {
  fill: var(--heart);
}

/* 購読フォームのモック */
.subscribe-row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  padding-top: 72px;
}
.subscribe-copy {
  flex: 1 1 320px;
  min-width: 0;
}
.subscribe-copy h2 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
}
.subscribe-copy p {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--ink-2);
}
.feedback {
  margin: 28px 0 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.mock-form {
  flex: 1 1 420px;
  min-width: 0;
  display: grid;
  gap: 16px;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--surface);
}
.mock-label {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}
.field input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--muted);
  font-size: 15px;
}
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--ink-2);
}
.consent input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--blue);
  flex: none;
}

/* ---- 各回画面 ---- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
}
.back-link:hover {
  color: var(--blue);
}
.back-link svg {
  width: 16px;
  height: 16px;
}
.ep-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  margin-top: 24px;
  align-items: flex-start;
}
.ep-main {
  flex: 999 1 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.ep-side {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ep-head h1 {
  margin: 12px 0 0;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.4;
  font-weight: 800;
}
.ep-head .ep-meta {
  margin: 12px 0 0;
  font-size: 13px;
}

.player {
  padding: 32px;
  border-radius: 24px;
  background: var(--surface);
}
.now .label {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}
.now .chapter-now {
  margin: 2px 0 0;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.seek {
  margin: 20px 0 4px;
  position: relative;
}
.range {
  width: 100%;
  margin: 0;
  height: 24px;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.range::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(
    to right,
    var(--fill, var(--blue)) var(--pct, 0%),
    var(--line-2) var(--pct, 0%)
  );
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -6px;
  border-radius: 50%;
  background: var(--fill, var(--blue));
  border: 0;
}
.range::-moz-range-track {
  height: 4px;
  border-radius: 99px;
  background: var(--line-2);
}
.range::-moz-range-progress {
  height: 4px;
  border-radius: 99px;
  background: var(--fill, var(--blue));
}
.range::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--fill, var(--blue));
  border: 0;
}
.ticks {
  position: absolute;
  left: 0;
  right: 0;
  top: 10px;
  height: 4px;
  pointer-events: none;
}
.ticks span {
  position: absolute;
  top: -2px;
  width: 2px;
  height: 8px;
  background: var(--bg);
  border-radius: 1px;
}
.times {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.transport,
.output {
  display: flex;
  align-items: center;
  gap: 6px;
}
.icon-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: transparent;
  color: var(--ink);
  display: grid;
  place-items: center;
}
.icon-btn svg {
  width: 24px;
  height: 24px;
}
.icon-btn:hover:not(:disabled) {
  background: var(--surface-2);
}
.icon-btn:disabled {
  color: var(--disabled);
  cursor: not-allowed;
}
.icon-btn.sm {
  width: 44px;
  height: 44px;
}
.icon-btn.sm svg {
  width: 22px;
  height: 22px;
}
.play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  transition:
    transform 0.12s ease,
    background 0.15s ease;
}
.play-btn:hover {
  background: var(--blue-dark);
}
.play-btn:active {
  transform: scale(0.95);
}
.play-btn svg {
  width: 26px;
  height: 26px;
}
.rate-btn {
  min-width: 52px;
  height: 44px;
  padding: 0 10px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid var(--line-2);
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.rate-btn:hover {
  border-color: var(--ink);
}
.vol {
  width: 88px;
  --fill: var(--ink);
}

.toc h2,
.ep-side h2 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 800;
}
.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.toc li {
  border-bottom: 1px solid var(--line);
}
.toc button {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-size: 15px;
  color: var(--ink);
}
.toc button:hover {
  background: var(--surface);
}
.toc .t {
  width: 48px;
  flex: none;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--blue);
}
.toc li.current button {
  background: var(--blue-soft);
}

.reaction-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}
.like-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px 0 16px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 800;
  border: 1px solid var(--line-2);
  background: var(--bg);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  transition:
    transform 0.12s ease,
    border-color 0.15s ease;
}
.like-btn:hover {
  border-color: var(--ink);
}
.like-btn svg {
  width: 22px;
  height: 22px;
}
.like-btn[aria-pressed="false"] .heart {
  fill: none;
  stroke: var(--heart);
  stroke-width: 2;
}
.like-btn.pop {
  animation: pop 0.35s ease;
}
@keyframes pop {
  40% {
    transform: scale(1.1);
  }
}
.reaction-row .feedback {
  margin: 0;
  font-size: 15px;
}

.others {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.others a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 22px;
  border-radius: 16px;
  background: var(--surface);
  text-decoration: none;
  color: var(--ink);
}
.others a:hover {
  background: var(--surface-2);
}
.others .n {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--blue);
}
.others .ttl {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}
.others .m {
  font-size: 12px;
  color: var(--muted);
}

/* ---- メール見本 ---- */
.mail-shell {
  margin: 20px auto;
  overflow: hidden;
  border: 1px solid var(--line);
}
.mail-meta {
  padding: 18px 20px;
  background: var(--surface);
  font-size: 13px;
}
.mail-meta dl {
  margin: 0;
  display: grid;
  grid-template-columns: 4.5em 1fr;
  gap: 2px 8px;
}
.mail-meta dt {
  color: var(--muted);
}
.mail-meta dd {
  margin: 0;
  word-break: break-all;
}
.mail-meta .subject {
  font-size: 17px;
  font-weight: 800;
  margin: 6px 0 0;
  line-height: 1.5;
}
.mail-body {
  padding: 24px 20px 28px;
  font-size: 15px;
}
.mail-body p {
  margin: 0 0 14px;
}
.mail-ep {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
  overflow: hidden;
  margin: 20px 0;
  background: var(--surface);
}
.mail-ep .top {
  padding: 18px 18px 6px;
}
.mail-ep .top small {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--blue);
}
.mail-ep .top b {
  display: block;
  font-size: 19px;
  line-height: 1.45;
  margin-top: 4px;
  color: var(--ink);
}
.mail-ep .bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 18px 18px;
  font-size: 13px;
  color: var(--muted);
}
.mail-ep .listen {
  background: var(--blue);
  color: #fff;
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 700;
  white-space: nowrap;
}
.mail-foot {
  border-top: 1px solid var(--line);
  padding: 16px 20px 20px;
  font-size: 12px;
  color: var(--muted);
}
.mail-foot p {
  margin: 0 0 6px;
}
.review-note {
  margin: 16px 0 0;
  font-size: 12px;
  color: var(--ink-2);
  padding: 12px 16px;
  background: var(--surface);
  border-radius: var(--radius-sm);
}

/* ---- 配信停止 ---- */
.unsub {
  margin: 32px auto;
  padding: 40px 24px;
  text-align: center;
  background: var(--surface);
}
.unsub .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg);
  color: var(--ink);
}
.unsub .icon.ok {
  color: var(--blue);
}
.unsub .icon svg {
  width: 30px;
  height: 30px;
}
.unsub h1 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.45;
}
.unsub p {
  margin: 0 0 12px;
  color: var(--ink-2);
  font-size: 14px;
}
.unsub .target {
  display: inline-block;
  background: var(--bg);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 13px;
  margin: 6px 0 16px;
}
.unsub .actions {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}
.unsub .done-flag {
  display: inline-block;
  font-weight: 800;
  color: var(--blue-dark);
  background: var(--blue-soft);
  padding: 10px 16px;
  border-radius: 12px;
  margin: 4px 0 16px;
}

/* ---- 設計メモ ---- */
.design h1 {
  font-size: 24px;
  margin: 24px 0 6px;
}
.design .section-title {
  margin: 40px 0 14px;
}
.design .section-title h2 {
  font-size: 20px;
}
.flow {
  display: grid;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.flow li {
  padding: 20px;
  background: var(--surface);
}
.flow h3 {
  margin: 6px 0 6px;
  font-size: 16px;
}
.flow p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-2);
}
.flow .rule {
  margin-top: 10px;
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--bg);
}
.flow .rule.stop {
  color: var(--danger);
  font-weight: 700;
}
.steps {
  display: grid;
  gap: 8px;
  counter-reset: s;
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps li {
  counter-increment: s;
  position: relative;
  padding: 12px 14px 12px 48px;
  font-size: 13px;
  background: var(--surface);
}
.steps li::before {
  content: counter(s);
  position: absolute;
  left: 14px;
  top: 12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
.states {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---- トースト ---- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(20px + env(safe-area-inset-bottom));
  z-index: 40;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  max-width: calc(100% - 32px);
  width: max-content;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 14px;
  font-size: 13px;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.4);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.notfound {
  text-align: center;
  padding: 48px 0;
}

/* ---- 幅広画面 ---- */
@media (min-width: 760px) {
  :root {
    --gutter: max(28px, 4vw);
  }
  .hero {
    padding-top: 56px;
    padding-bottom: 96px;
  }
  .episodes-band {
    padding: 96px 0;
  }
  .subscribe-row {
    padding-top: 96px;
  }
  .ep-side {
    position: sticky;
    top: 96px;
  }
  .unsub .actions {
    grid-template-columns: 1fr 1fr;
  }
  .flow {
    grid-template-columns: repeat(3, 1fr);
  }
  .topnav a {
    font-size: 14px;
    padding: 8px 16px;
  }
}
@media (max-width: 400px) {
  .topnav a {
    padding: 6px 8px;
    font-size: 12px;
  }
  .brand-text small {
    display: none;
  }
  .ep-card,
  .mock-form,
  .player {
    padding: 24px 20px;
  }
  .vol {
    width: 72px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
.chip.orange {
  background: #fdecea;
  color: #a3271d;
}

/* Subscription validation and submission states. */
.field-error {
  display: block;
  color: #b42318;
  font-size: 14px;
  line-height: 1.6;
}
.field-error:empty,
#subscription-status:empty {
  display: none;
}
input[aria-invalid="true"] {
  border-color: #b42318;
}
.subscription-success {
  color: #175c36;
  font-size: 14px;
  line-height: 1.7;
}
#subscription-status {
  margin: 16px 0 0;
}
#subscribe-button:disabled {
  opacity: 0.6;
  cursor: wait;
}
