@charset "UTF-8";
/* ==========================================================================
   深夜食堂 新シリーズ LP  style.css
   - PC 基準（デザイン 1440px / コンテンツ幅 793px）
   - SP: 767px 以下（デザイン 390px / 左右余白 20px）
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. 変数
   -------------------------------------------------------------------------- */
:root {
  --c-black: #000000;
  --c-white: #ffffff;
  --c-yellow: #fcc728;        /* Primary/Yellow  */
  --c-amber: #bb7700;         /* Accent/Amber    */
  --c-navy: #1f242c;          /* Section/Navy    */
  --c-gray: #61666c;          /* Section/Gray    */
  --c-blue: #1e3555;          /* Section/Blue（ページトップ） */
  --c-placeholder: #d5d5d5;   /* 画像なしプレースホルダ */
  --c-placeholder-text: #666666;

  --font-serif: "Hiragino Mincho ProN", "ヒラギノ明朝 ProN", "Yu Mincho", "YuMincho", "游明朝", "Noto Serif JP", serif;

  --content-width: 793px;
  --header-h: 88px;
  --shadow-header: 0 2px 12px rgba(0, 0, 0, .18);
}

/* --------------------------------------------------------------------------
   1. リセット / ベース
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--c-black);
  color: var(--c-black);
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-h); /* 固定ヘッダー分 */
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a img { transition: opacity .3s; }
a:hover img { opacity: .7; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a:focus-visible,
button:focus-visible { outline: 2px solid var(--c-yellow); outline-offset: 2px; }

/* --------------------------------------------------------------------------
   2. 共通レイアウト
   -------------------------------------------------------------------------- */
.section__inner {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
}

[id] { scroll-margin-top: var(--header-h); }

/* セクション見出し（月アイコン付き） */
.section-title {
  display: flex;
  align-items: center;
  font-weight: 600;
  line-height: 1.5;
}
.section-title--moon {
  gap: 24px;
  color: var(--c-white);
  font-size: 32px;
}
.section-title__icon { width: 24px; height: 24px; flex: 0 0 auto; }

/* セクション見出し（黒帯・黄文字） */
.section-title--band {
  padding: 8px 32px;
  background: var(--c-black);
  color: var(--c-yellow);
  font-size: 32px;
}

/* 画像なしプレースホルダ共通 */
.ep-card__placeholder,
.cast-item__placeholder,
.episode-detail__placeholder {
  color: var(--c-placeholder-text);
  font-size: 13px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   3. header
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--c-black);
  box-shadow: var(--shadow-header);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 40px;
}
.header__logo { font-size: 0; line-height: 0; }
.header__logo img { width: auto; height: 63px; } /* 実画像は 3 倍解像度（399×189） */

.gnav__list {
  display: flex;
  align-items: center;
  gap: 40px;
}
.gnav__item--sp { display: none; } /* 「TOP」は SP メニューのみ */
.gnav__link {
  display: block;
  color: var(--c-white);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  transition: color .3s;
}
.gnav__link:hover { color: var(--c-yellow); }

.gnav__sns { display: block; }
.icon-x {
  display: block;
  width: 20px; height: 20px;
  transition: opacity .3s;
}
.gnav__sns:hover .icon-x { opacity: .7; }

.menu-btn { display: none; }
.gnav-overlay { display: none; }

/* --------------------------------------------------------------------------
   4. main visual
   -------------------------------------------------------------------------- */
.mv { background: var(--c-black); }
.mv__img { width: 100%; height: auto; }

/* --------------------------------------------------------------------------
   4-2. news bar（メインビジュアル直下・最新 1 件）
   -------------------------------------------------------------------------- */
.news-bar {
  background: var(--c-black);
  color: var(--c-white);
}
.news-bar__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 16px 0;
}
.news-bar__label {
  flex: 0 0 auto;
  color: var(--c-yellow);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}
.news-bar__item {
  flex: 1 1 auto;
  min-width: 0; /* 長いタイトルは折り返す */
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  line-height: 1.8;
  transition: color .3s;
}
.news-bar__item:hover { color: var(--c-yellow); }
.news-bar__date {
  flex: 0 0 auto;
  font-weight: 600;
  white-space: nowrap;
}
.news-bar__title { flex: 1 1 auto; }
.news-bar__more {
  flex: 0 0 auto;
  padding: 0 12px; /* Figma は 16px。やや詰めて調整 */
  border: 1px solid var(--c-yellow);
  border-radius: 16px;
  color: var(--c-yellow);
  font-size: 14px;
  line-height: 1.8;
  white-space: nowrap;
  transition: background-color .3s, color .3s;
}
.news-bar__more:hover { background: var(--c-yellow); color: var(--c-black); }

/* --------------------------------------------------------------------------
   5. introduction
   -------------------------------------------------------------------------- */
.intro {
  padding: 64px 64px;
  background: var(--c-navy);
  color: var(--c-white);
}
.intro .section-title { margin-bottom: 32px; }
.intro__body { line-height: 1.8; }
.intro__body p + p { margin-top: 1.8em; }

/* --------------------------------------------------------------------------
   6. episode
   -------------------------------------------------------------------------- */
.episode {
  padding: 96px 0;
  background: var(--c-white) url("../img/contents_bg.png") repeat 0 0 / 276px 276px;
}
.episode .section-title { margin-bottom: 32px; }

/* --- エピソードリスト（PC: 5列グリッド） --- */
.episode-list { margin-bottom: 80px; }
.episode-list__track {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.episode-list__item {
  width: calc((100% - 16px * 4) / 5);
}
.episode-list__dots { display: none; }

.ep-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--c-amber);
}
.ep-card__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  background: var(--c-placeholder);
  overflow: hidden;
}
.ep-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ep-card__num {
  display: block;
  padding: 0 4px;
  background: var(--c-gray);
  color: var(--c-white);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
  white-space: nowrap;
  margin-top: -8px; /* サムネと帯は隙間なし */
}
.ep-card__title {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
  min-height: 1.6em;
}
/* CMS 入力済み */
.ep-card.is-open .ep-card__num { background: var(--c-black); }
a.ep-card { transition: opacity .3s; }
a.ep-card:hover { opacity: .8; }
a.ep-card:hover img { opacity: 1; }

/* --- エピソード詳細 --- */
.episode-detail {
  padding: 32px;
  background: rgba(0, 0, 0, .1);
}
.episode-detail + .episode-detail { margin-top: 40px; }
.episode-detail__title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 24px;
}

.episode-detail__info {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  margin-bottom: 24px;
}
.episode-detail__row {
  display: flex;
  align-items: center;
  gap: 40px;
  width: 100%;
  padding: 4px 24px;
  background: var(--c-black);
  color: var(--c-white);
  font-size: 13px;
  line-height: 1.6;
}
.episode-detail__row--half { width: calc((100% - 1px) / 2); }
.episode-detail__row dt {
  flex: 0 0 40px;
  color: var(--c-yellow);
  font-weight: 400;
}
.episode-detail__row dd { flex: 1 1 auto; }

.episode-detail__body {
  display: grid;
  grid-template-columns: 1fr 213px;
  grid-template-areas:
    "dish scenes"
    "text text";
  column-gap: 24px;
  row-gap: 24px;
}
.episode-detail__dish { grid-area: dish; }
.episode-detail__dish img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
/* シーン画像 2 枚は料理画像と同じ高さに収める（行の高さ＝料理画像の高さ） */
.episode-detail__scenes {
  grid-area: scenes;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 0;
}
.episode-detail__scene {
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
}
.episode-detail__scene img { width: 100%; height: 100%; object-fit: cover; }
/* 画像なし（CMS 未登録）: .is-empty で「no img」 */
.episode-detail__dish.is-empty,
.episode-detail__scene.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-placeholder);
}
.episode-detail__dish.is-empty { aspect-ratio: 3 / 2; }
.episode-detail__placeholder { font-size: 14px; }
.episode-detail__text {
  grid-area: text;
  line-height: 1.8;
}
.episode-detail__text p + p { margin-top: 1em; }

/* --------------------------------------------------------------------------
   7. cast
   -------------------------------------------------------------------------- */
.cast {
  position: relative;
  padding: 96px 10px;
  background: var(--c-black);
  clip-path: inset(0); /* 固定背景（::before）をこのセクションの範囲だけに切り抜く */
}
.cast::before {
  /* 背景写真を画面に固定（パララックス）。iOS Safari でも動くよう
     background-attachment: fixed ではなく position: fixed + 親の clip-path で実装 */
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), /* 黒 20% オーバーレイ */
    var(--c-black) url("../img/intro_bg.jpeg") no-repeat center / cover;
  pointer-events: none;
}
.cast .section__inner { position: relative; z-index: 1; }
.cast .section-title { margin-bottom: 32px; }

.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.cast-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  background: var(--c-white) url("../img/contents_bg.png") repeat 0 0 / 276px 276px;
}
/* 大：1列・横並び */
.cast-item--l {
  width: 100%;
  flex-direction: row;
  gap: 24px;
}
.cast-item--l .cast-item__img { flex: 0 0 calc((100% - 24px) * 0.478); }
.cast-item--l .cast-item__text { flex: 1 1 auto; gap: 24px; }
/* 中：2列 */
.cast-item--m { width: calc((100% - 32px) / 2); }
/* 小：3列 */
.cast-item--s { width: calc((100% - 32px * 2) / 3); }

.cast-item__img {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.cast-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cast-item__img.is-empty { background: var(--c-placeholder); }
.cast-item__placeholder { font-size: 14px; }

.cast-item__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cast-item__role {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}
.cast-item__name {
  color: var(--c-amber);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
}
.cast-item__desc { line-height: 1.8; }

/* --------------------------------------------------------------------------
   8. news list（news.html の一覧で使用。TOP の帯は 4-2 .news-bar）
   -------------------------------------------------------------------------- */
.news-list {
  border-bottom: .5px solid var(--c-white);
}
.news-item + .news-item { border-top: .5px solid var(--c-white); }
.news-item__link {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 8px;
  line-height: 1.8;
  transition: color .3s;
}
.news-item__link:hover { color: var(--c-yellow); }
.news-item__date {
  flex: 0 0 78px;
  font-weight: 600;
  white-space: nowrap;
}
.news-item__title { flex: 1 1 auto; }

/* --------------------------------------------------------------------------
   9. footer
   -------------------------------------------------------------------------- */
.footer {
  padding: 96px 20px;
  background: var(--c-black);
  color: var(--c-white);
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 96px;
}
.footer__banner { display: block; width: 604px; max-width: 100%; }
.footer__copy {
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}
.footer__copy small { font-size: inherit; }

/* --------------------------------------------------------------------------
   10. ページトップ
   -------------------------------------------------------------------------- */
.pagetop {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--c-blue);
  color: var(--c-white);
  box-shadow: var(--shadow-header);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .3s, transform .3s, visibility .3s;
}
.pagetop.is-show { opacity: 1; visibility: visible; transform: none; }
.pagetop:hover { background: var(--c-yellow); color: var(--c-black); }
.pagetop__arrow {
  display: block;
  width: 24px; height: 18px;
  background: currentColor;
  clip-path: polygon(50% 0, 100% 45%, 92% 55%, 56% 22%, 56% 100%, 44% 100%, 44% 22%, 8% 55%, 0 45%);
  margin-bottom: 4px;
}
.pagetop__label {
  font-size: 10px;
  font-weight: 600;
  line-height: 1.6;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   11. お知らせ 一覧 / 詳細（news.html / news-detail.html）
   -------------------------------------------------------------------------- */
.news-page {
  position: relative;
  padding: 64px 32px; /* Figma は 96px。ヘッダー直下のため 64px に調整 */
  background: var(--c-black);
  clip-path: inset(0); /* 固定背景（::before）をこのセクションの範囲だけに切り抜く */
}
.news-page::before {
  /* 背景写真を画面に固定（パララックス）。iOS Safari でも動くよう
     background-attachment: fixed ではなく position: fixed + 親の clip-path で実装 */
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), /* 黒 20% オーバーレイ */
    var(--c-black) url("../img/news_bg.jpg") no-repeat center / cover;
  pointer-events: none;
}
.news-page__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: calc(var(--content-width) + 64px); /* 793 + padding 32×2 = 857 */
  margin: 0 auto;
  padding: 32px;
  background: var(--c-white) url("../img/contents_bg.png") repeat 0 0 / 276px 276px;
  color: var(--c-black);
}
.news-page__title {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 32px;
}

/* 一覧（index の .news-list を黒文字・黒罫に上書き） */
.news-list--page { border-bottom-color: var(--c-black); }
.news-list--page .news-item + .news-item { border-top-color: var(--c-black); }
.news-list--page .news-item__link:hover { color: var(--c-amber); }

/* ページネーション */
.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 32px;
}
.pager__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 8px 16px;
  font-size: 13px;
  line-height: 1.6;
  transition: color .3s;
}
a.pager__item:hover { color: var(--c-amber); }
.pager__item.is-current { color: var(--c-amber); }
.pager__item.is-disabled { opacity: .3; pointer-events: none; }

/* 詳細 */
.article__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 8px 0;
  border-bottom: .5px solid var(--c-black);
  margin-bottom: 16px;
}
.article__date {
  display: block;
  color: var(--c-amber);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.8;
}
.article__title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
}

.article__body { line-height: 1.8; }
.article__body > * + * { margin-top: 1.8em; }
.article__body a { color: var(--c-amber); text-decoration: underline; }
.article__body a:hover { text-decoration: none; }
.article__body ul,
.article__body ol { padding-left: 1.5em; }
.article__body ul { list-style: disc; }
.article__body ol { list-style: decimal; }

/* --- リッチテキスト（TinyMCE 標準出力）向け --- */
.article__body h1,
.article__body h2,
.article__body h3,
.article__body h4,
.article__body h5,
.article__body h6 { font-weight: 600; line-height: 1.5; }
.article__body h1,
.article__body h2 { font-size: 18px; padding-bottom: 8px; border-bottom: 1px solid var(--c-black); }
.article__body h3 { font-size: 16px; }
.article__body h4,
.article__body h5,
.article__body h6 { font-size: 14px; }
.article__body strong { font-weight: 600; }
.article__body em { font-style: italic; }
.article__body hr { border: 0; border-top: .5px solid var(--c-black); margin: 2.4em 0; } /* 他の罫線（.5px 黒）と統一 */
.article__body blockquote {
  margin: 1.8em 0;
  padding: 4px 0 4px 16px;
  border-left: 3px solid var(--c-amber);
  color: var(--c-placeholder-text);
}
.article__body pre {
  padding: 12px 16px;
  overflow-x: auto;
  background: #f2f2f2;
  font-family: Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.6;
}
/* 画像・動画は <p> 直下に素の <img> / <iframe> で出力される */
.article__body img { display: block; width: 100%; max-width: 419px; height: auto; margin: 0 auto; }
.article__body p > img:only-child { margin: 0 auto; }
.article__body iframe { display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; background: var(--c-black); }
.article__body video { display: block; width: 100%; height: auto; }
/* 表 */
.article__body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.6;
}
.article__body th,
.article__body td {
  padding: 8px 12px;
  border: 1px solid var(--c-placeholder);
  text-align: left;
  vertical-align: top;
}
.article__body th { background: #f2f2f2; font-weight: 600; }
.article__body table[style*="width"] { max-width: 100%; }
/* 文字揃え（TinyMCE は inline style で出力。参考として class 版も用意） */
.article__body .align-center { text-align: center; }
.article__body .align-right { text-align: right; }
.article__body sup { font-size: .7em; vertical-align: super; }
.article__body sub { font-size: .7em; vertical-align: sub; }

.article__figure {
  width: 100%;
  max-width: 419px;
  margin-left: auto;
  margin-right: auto;
}
.article__figure img { width: 100%; }
.article__figure figcaption {
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}
.article__figure.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 2;
  background: var(--c-placeholder);
}
.article__placeholder { color: var(--c-placeholder-text); font-size: 14px; }

.article__movie {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--c-black);
}
.article__movie iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}


/* 前後記事ナビ */
.article-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 48px;
  padding: 8px 0;
  font-size: 13px;
  line-height: 1.6;
}
.article-nav__item {
  position: relative;
  transition: color .3s;
}
a.article-nav__item:hover { color: var(--c-amber); }
.article-nav__item.is-disabled { opacity: .3; pointer-events: none; }
.article-nav__item + .article-nav__item::before { /* 縦の区切り線（高さ 16px） */
  content: "";
  position: absolute;
  left: -20px; /* gap 40 の中央 */
  top: 50%;
  width: 1px; height: 16px;
  transform: translateY(-50%);
  background: var(--c-black);
}

/* ==========================================================================
   中間幅（768〜900px）：コンテンツ幅 793 を左右余白で吸収
   ========================================================================== */
@media (max-width: 900px) and (min-width: 768px) {
  .section__inner { max-width: none; padding: 0 32px; }
  .intro { padding-left: 0; padding-right: 0; }
  .news-bar__inner { max-width: none; padding: 16px 32px; }
  .header__inner { padding: 0 24px; }
  .gnav__list { gap: 24px; }
}

/* ==========================================================================
   SP（767px 以下）
   ========================================================================== */
@media (max-width: 767px) {
  :root { --header-h: 56px; }

  /* --- header --- */
  .header__inner { padding: 8px 20px; }
  .header__logo img { height: 30px; }

  /* ハンバーガー */
  .menu-btn {
    position: relative;
    z-index: 120;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 24px; height: 24px;
    padding: 0 3px;
  }
  .menu-btn__bar {
    display: block;
    width: 18px; height: 1px;
    background: var(--c-white);
    transition: transform .3s, opacity .3s;
  }
  .menu-btn[aria-expanded="true"] .menu-btn__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-btn__bar:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] .menu-btn__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  /* ドロワー（右から 260px） */
  .gnav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    z-index: 110;
    width: 260px;
    padding: 56px 20px 32px; /* 上 56px はヘッダー行（閉じるボタン）分 */
    background: var(--c-black);
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .3s ease, visibility .3s;
  }
  .gnav.is-open { transform: none; visibility: visible; }
  .gnav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    padding-top: 32px;
  }
  .gnav__item--sp { display: block; }
  .gnav__link { font-size: 14px; line-height: 1.8; }
  .icon-x { width: 16px; height: 16px; }

  .gnav-overlay {
    display: block;
    position: fixed; inset: 0;
    z-index: 105;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
  }
  .gnav-overlay.is-open { opacity: 1; visibility: visible; }
  .gnav-overlay[hidden] { display: block; }
  body.is-menu-open { overflow: hidden; }

  /* --- 共通 --- */
  .section__inner { padding: 0; }
  .section-title--moon { gap: 8px; font-size: 18px; }
  .section-title__icon { width: 16px; height: 16px; }
  .section-title--band { padding: 8px 16px; font-size: 18px; }

  /* --- intro --- */
  .intro { padding: 32px 20px; }
  .intro .section-title { margin-bottom: 16px; }

  /* --- episode --- */
  .episode { padding: 48px 20px; }
  .episode .section-title { margin-bottom: 24px; }

  /* エピソードリスト → スライダー（3枚表示・横フリック） */
  .episode-list {
    position: relative;
    margin: 0 0 24px;
    padding: 4px 0;
  }
  .episode-list__track {
    flex-wrap: nowrap;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .episode-list__track::-webkit-scrollbar { display: none; }
  .episode-list__item {
    flex: 0 0 auto;
    width: calc((100% - 32px) / 3);
    margin-right: 16px;
    scroll-snap-align: start;
  }
  .ep-card__num { padding: 4px 8px; font-size: 10px; }
  .ep-card__title { color: var(--c-black); }
  .episode-list__dots {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 8px;
  }
  .episode-list__dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--c-gray);
    transition: background-color .3s;
  }
  .episode-list__dot.is-active { background: var(--c-amber); }

  /* エピソード詳細 */
  .episode-detail { padding: 24px; }
  .episode-detail + .episode-detail { margin-top: 24px; }
  .episode-detail__title { font-size: 18px; margin-bottom: 16px; }
  .episode-detail__info { margin-bottom: 16px; }
  .episode-detail__row { gap: 16px; padding: 4px 16px; }
  .episode-detail__body {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .episode-detail__scenes {
    flex-direction: row;
    gap: 16px;
    order: 3; /* あらすじの下に配置 */
  }
  .episode-detail__scene { flex: 1 1 0; }
  .episode-detail__scene img { aspect-ratio: 3 / 2; height: auto; }
  .episode-detail__scene.is-empty { aspect-ratio: 3 / 2; }
  .episode-detail__text { order: 2; }

  /* --- cast --- */
  .cast { padding: 48px 20px; }
  .cast-list { gap: 0; }
  .cast-item,
  .cast-item--l,
  .cast-item--m,
  .cast-item--s {
    width: 100%;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
  }
  .cast-item--l { margin-bottom: 32px; }
  .cast-item--l .cast-item__img { flex: none; }
  .cast-item--l .cast-item__text { gap: 16px; }
  /* 中・小は連続カードとして .5px の罫で区切る */
  .cast-item:not(.cast-item--l) + .cast-item:not(.cast-item--l) { border-top: .5px solid var(--c-black); }

  /* --- news bar（見出し＋ボタンを 1 行目、記事を 2 行目に） --- */
  .news-bar { padding: 16px 20px; }
  .news-bar__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "label more"
      "item  item";
    align-items: start;
    gap: 8px;
    padding: 8px 0;
  }
  .news-bar__label { grid-area: label; font-size: 18px; }
  .news-bar__more {
    grid-area: more;
    padding: 0 8px;
    font-size: 13px;
    line-height: 1.6;
  }
  .news-bar__item {
    grid-area: item;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 0;
  }

  /* --- news list（news.html） --- */
  .news-item__link {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .news-item__date { flex: none; }

  /* --- footer --- */
  .footer { padding: 48px 20px; }
  .footer__inner { gap: 48px; }
  .footer__banner { width: 100%; }

  /* --- pagetop --- */
  .pagetop { right: 20px; bottom: 20px; }

  /* --- お知らせ 一覧 / 詳細 --- */
  .news-page { padding: 24px 20px; }
  .news-page__card { padding: 24px 20px; }
  .news-page__title { font-size: 24px; text-align: center; margin-bottom: 16px; }
  .news-list--page .news-item__link { padding: 8px; }
  .pager { margin-top: 24px; }
  .pager__item { font-size: 14px; font-weight: 600; line-height: 1.8; }

  .article__head { gap: 16px; }
  .article__title { font-size: 18px; }
  .article__figure { max-width: none; }
  .article__body img { max-width: none; }
  .article__body table { display: block; overflow-x: auto; white-space: nowrap; }
  .article-nav {
    gap: 16px;
    margin-top: 32px;
  }
  .article-nav__item + .article-nav__item::before { left: -8px; } /* gap 16 の中央 */
}
