@charset "utf-8";
/* =========================================================
   中之島映画祭 共通スタイル（全ページ）
   配色は3つのテーマを CSS 変数で定義しています。
   - :root              … 白ベース（white.html）
   - [data-theme=blue]  … 青ベース（blue.html）
   - [data-theme=mix]   … ミックス（全ページで採用）
   各ブロックの値を変えるだけで全体の色味を調整できます。
   ========================================================= */

/* ---------- テーマ：白ベース ---------- */
:root {
  --bg:            #ffffff;
  --bg-alt:        #f2f6fb;
  --surface:       #ffffff;
  --surface-2:     #f7fafd;
  --line:          #dde5ef;
  --line-strong:   #c3d0e0;
  --ink:           #16233a;
  --ink-soft:      #5a6a80;
  --ink-faint:     #8a97a8;
  --brand:         #1565c0;
  --brand-deep:    #0d47a1;
  --brand-tint:    #e8f1fc;
  --on-brand:      #ffffff;
  --accent:        #c0472f;   /* 中央公会堂の煉瓦色 */
  --accent-tint:   #fbeeea;
  --gold:          #b8860b;
  --shadow:        0 1px 2px rgba(20,40,70,.06), 0 8px 24px rgba(20,40,70,.08);
  --shadow-lg:     0 2px 6px rgba(20,40,70,.08), 0 18px 48px rgba(20,40,70,.14);
  --hero-sky:      linear-gradient(160deg, #e8f2ff 0%, #f7fafd 60%, #ffffff 100%);
  --day1:          #1565c0;
  --day2:          #2e7d32;
  --day3:          #c62828;
  --logo-bg:       var(--brand);   /* ロゴが白抜き1色のため、明るい背景では円形の下地を敷く */
  --logo-pad:      3px;

  /* ヘッダー／フッターは本文と独立して色を指定できるようにしている */
  --header-bg:         rgba(255,255,255,.92);
  --header-solid:      #ffffff;          /* スマホのドロワー用（半透明にしない） */
  --header-ink:        var(--ink);
  --header-ink-soft:   var(--ink-faint);
  --header-line:       var(--line);
  --header-line-strong:var(--line-strong);
  --header-hover-bg:   var(--brand-tint); /* ナビのホバー */
  --header-hover-ink:  var(--brand-deep);
  --header-accent:     var(--brand);     /* ヘッダー内のボタン */
  --header-accent-ink: #ffffff;
  --footer-bg:         var(--bg-alt);
  --footer-ink:        var(--ink);
  --footer-ink-soft:   var(--ink-soft);
  --footer-label:      var(--ink-faint);
  --footer-line:       var(--line);
  --footer-accent:     var(--brand);
}

/* ---------- テーマ：青ベース ---------- */
/* 本文は淡いブルー、ヘッダーとフッターだけ濃紺で締める構成 */
[data-theme="blue"] {
  --bg:            #eff5fc;
  --bg-alt:        #dfeaf7;
  --surface:       #ffffff;
  --surface-2:     #f3f8fd;
  --line:          #d2e0f0;
  --line-strong:   #b4c8e1;
  --ink:           #14294a;
  --ink-soft:      #4b6488;
  --ink-faint:     #7d93b3;
  --brand:         #1668cc;
  --brand-deep:    #0d4a9c;
  --brand-tint:    #e2eefc;
  --on-brand:      #ffffff;
  --accent:        #c0472f;   /* 中央公会堂の煉瓦色 */
  --accent-tint:   #fbeae5;
  --gold:          #b07c14;
  --shadow:        0 1px 2px rgba(16,45,85,.06), 0 8px 24px rgba(16,45,85,.10);
  --shadow-lg:     0 2px 6px rgba(16,45,85,.08), 0 18px 48px rgba(16,45,85,.16);
  --hero-sky:      linear-gradient(160deg, #cfe2f8 0%, #e6f0fb 55%, #eff5fc 100%);
  --day1:          #1565c0;
  --day2:          #2e7d32;
  --day3:          #c62828;
  --logo-bg:       transparent;
  --logo-pad:      0;

  --header-bg:         rgba(10,36,71,.90);
  --header-solid:      #0a2447;
  --header-ink:        #eaf2ff;
  --header-ink-soft:   #94aecf;
  --header-line:       rgba(255,255,255,.14);
  --header-line-strong:rgba(255,255,255,.32);
  --header-hover-bg:   rgba(255,255,255,.10);
  --header-hover-ink:  #ffffff;
  --header-accent:     #4d9dff;
  --header-accent-ink: #06182f;
  --footer-bg:         #0a2447;
  --footer-ink:        #eaf2ff;
  --footer-ink-soft:   #a9c0dd;
  --footer-label:      #7e97b7;
  --footer-line:       rgba(255,255,255,.14);
  --footer-accent:     #7bb8ff;
}

/* ---------- テーマ：ミックス（白＋青） ---------- */
/* ヘッダーとフッターは濃紺。本文は白と淡いブルーの帯を交互に重ねる構成 */
[data-theme="mix"] {
  --bg:            #ffffff;
  --bg-alt:        #e7f0fb;
  --surface:       #ffffff;
  --surface-2:     #f4f8fd;
  --line:          #dae6f3;
  --line-strong:   #bbcee4;
  --ink:           #14294a;
  --ink-soft:      #4b6488;
  --ink-faint:     #7d93b3;
  --brand:         #1565c0;
  --brand-deep:    #0d47a1;
  --brand-tint:    #e4eefc;
  --on-brand:      #ffffff;
  --accent:        #c0472f;   /* 中央公会堂の煉瓦色 */
  --accent-tint:   #fbeae5;
  --gold:          #b07c14;
  --shadow:        0 1px 2px rgba(16,45,85,.06), 0 8px 24px rgba(16,45,85,.10);
  --shadow-lg:     0 2px 6px rgba(16,45,85,.08), 0 18px 48px rgba(16,45,85,.16);
  --hero-sky:      linear-gradient(170deg, #cddffa 0%, #e9f1fb 45%, #ffffff 100%);
  --day1:          #1565c0;
  --day2:          #2e7d32;
  --day3:          #c62828;
  --logo-bg:       transparent;
  --logo-pad:      0;

  --header-bg:         rgba(10,36,71,.90);
  --header-solid:      #0a2447;
  --header-ink:        #eaf2ff;
  --header-ink-soft:   #94aecf;
  --header-line:       rgba(255,255,255,.14);
  --header-line-strong:rgba(255,255,255,.32);
  --header-hover-bg:   rgba(255,255,255,.10);
  --header-hover-ink:  #ffffff;
  --header-accent:     #4d9dff;
  --header-accent-ink: #06182f;
  --footer-bg:         #0a2447;
  --footer-ink:        #eaf2ff;
  --footer-ink-soft:   #a9c0dd;
  --footer-label:      #7e97b7;
  --footer-line:       rgba(255,255,255,.14);
  --footer-accent:     #7bb8ff;
}

/* ---------- ベース ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: min(1140px, calc(100% - 48px)); margin-inline: auto; }
.num  { font-family: "Oswald", "Noto Sans JP", sans-serif; font-weight: 500; letter-spacing: .04em; }

/* ---------- アイコン ---------- */
.icon { width: 1em; height: 1em; fill: currentColor; vertical-align: -.14em; }
.legend .icon { color: var(--brand); }
.slot .icon { color: var(--ink-faint); font-size: 13px; }
.day__date small { font-size: 11px; letter-spacing: .14em; opacity: .85; margin-left: 4px; }
.join__icon .icon { font-size: 20px; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--header-line);
}
.site-header__inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.site-header .brand { color: var(--header-ink); }
.site-header .brand__en { color: var(--header-ink-soft); }
.site-header .btn.btn--primary,
.site-header .btn.btn--primary:hover { background: var(--header-accent); color: var(--header-accent-ink); }
.site-header .btn.btn--primary:hover { filter: brightness(1.08); }

.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand img { width: 38px; height: 38px; background: var(--logo-bg); border-radius: 50%; padding: var(--logo-pad); }
.brand__ja { font-weight: 700; font-size: 17px; line-height: 1.2; letter-spacing: .06em; }
.brand__en { font-size: 10px; line-height: 1.2; letter-spacing: .16em; color: var(--ink-faint); }

.gnav { margin-left: auto; }
.gnav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.gnav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: var(--header-ink); font-size: 14px; font-weight: 500; text-decoration: none;
  transition: background .2s, color .2s;
}
.gnav a:hover { background: var(--header-hover-bg); color: var(--header-hover-ink); text-decoration: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px; border: 1px solid transparent;
  font-size: 14px; font-weight: 700; letter-spacing: .06em; text-decoration: none;
  cursor: pointer; white-space: nowrap; transition: transform .15s, box-shadow .2s, background .2s, color .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: var(--on-brand); box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--brand-deep); color: var(--on-brand); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--sm { padding: 9px 18px; font-size: 13px; }
.navtoggle {
  display: none; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0;
  background: none; border: 1px solid var(--header-line-strong); border-radius: 10px;
  color: var(--header-ink); cursor: pointer;
}
.navtoggle .icon { font-size: 18px; }
.btn--block { display: flex; width: 100%; }

/* ---------- ヒーロー ---------- */
.hero { background: var(--hero-sky); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero__inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  padding: 64px 0 72px;
}
.hero__visual { position: relative; }
.hero__visual img { border-radius: 14px; box-shadow: var(--shadow-lg); }
.hero__eyebrow {
  display: inline-block; font-size: 12px; letter-spacing: .22em; font-weight: 700;
  color: var(--brand); border: 1px solid currentColor; border-radius: 999px; padding: 4px 14px;
  margin-bottom: 22px;
}
.hero__title { margin: 0 0 6px; font-size: clamp(28px, 3.5vw, 40px); font-weight: 900; line-height: 1.32; letter-spacing: .04em; text-wrap: balance; }
.hero__title span { color: var(--brand); }
.hero__title-en { margin: 0 0 26px; font-size: 12px; letter-spacing: .3em; color: var(--ink-faint); }

.hero__date { display: flex; align-items: baseline; gap: 8px; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.15; }
.hero__date .y { font-size: .5em; color: var(--ink-soft); }
.hero__date .d { font-weight: 600; }
.hero__date .w { font-size: .38em; letter-spacing: .1em; color: var(--ink-soft); }

.hero__meta { margin: 20px 0 30px; padding-top: 20px; border-top: 1px solid var(--line); }
.hero__meta dl { display: grid; grid-template-columns: 84px 1fr; gap: 6px 16px; margin: 0; font-size: 14px; }
.hero__meta dt { color: var(--ink-faint); font-weight: 500; }
.hero__meta dd { margin: 0; }
.hero__free { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 4px; background: var(--accent-tint); color: var(--accent); font-size: 12px; font-weight: 700; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- セクション ---------- */
.section { padding: 76px 0; }
.section--alt { background: var(--bg-alt); }
.section[id] { scroll-margin-top: 84px; }
.section__head { margin-bottom: 36px; }
.section__label { font-size: 11px; letter-spacing: .28em; color: var(--brand); font-weight: 700; }
.section__title { margin: 6px 0 0; font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: .06em; }
.section__lead { margin: 12px 0 0; color: var(--ink-soft); font-size: 15px; }

/* ---------- お知らせ ---------- */
.notice {
  display: grid; grid-template-columns: 320px 1fr; gap: 36px; align-items: start;
  padding: 32px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.notice img { border-radius: 10px; }
.notice + .notice { margin-top: 22px; }
.notice__tag--info { background: var(--brand); color: #fff; }
.notice__tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold); color: #21160a;
  padding: 4px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .08em;
}
.notice__title { margin: 14px 0 4px; font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; line-height: 1.5; }
.notice__title a { color: inherit; border-bottom: 2px solid var(--brand); }
.notice__body { margin: 10px 0 0; color: var(--ink-soft); font-size: 15px; }
.notice__date { font-size: 12px; color: var(--ink-faint); letter-spacing: .08em; }

/* ---------- 入選作品 ---------- */
.films { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.film {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.film:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand); }
.film a { color: inherit; text-decoration: none; display: block; }
.film__thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); }
.film__thumb img { width: 100%; height: 100%; object-fit: cover; }
.film__gp {
  position: absolute; left: 0; top: 12px;
  background: var(--gold); color: #21160a; font-size: 11px; font-weight: 700; letter-spacing: .1em;
  padding: 3px 12px 3px 10px; border-radius: 0 4px 4px 0;
}
.film__body { padding: 14px 16px 18px; }
.film__title { margin: 0 0 6px; font-size: 15px; font-weight: 700; line-height: 1.5; }
.film__meta { margin: 0; font-size: 12.5px; color: var(--ink-faint); line-height: 1.7; }

/* ---------- タイムテーブル ---------- */
.legend { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 22px; font-size: 13px; color: var(--ink-soft); }
.legend i { color: var(--brand); }

.timetable { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.day { --day: var(--day1); border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.day--2 { --day: var(--day2); }
.day--3 { --day: var(--day3); }
.day__head { background: var(--day); color: #fff; padding: 13px 16px; }
.day__date { font-size: 20px; font-weight: 700; letter-spacing: .06em; }
.day__open { font-size: 12px; opacity: .92; }
.day__list { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.slot { border-left: 3px solid var(--day); background: var(--surface-2); border-radius: 0 8px 8px 0; padding: 9px 12px; line-height: 1.6; }
.slot__time { font-size: 16px; font-weight: 600; color: var(--day); margin-right: 8px; }
.slot__title { font-size: 14px; font-weight: 700; color: inherit; }
a.slot__title:hover { color: var(--brand); text-decoration: underline; }
.slot__len { font-size: 12px; color: var(--ink-faint); }
.slot__note { margin-top: 4px; font-size: 11.5px; color: var(--ink-faint); }
.slot--break { border-left-color: var(--line-strong); background: transparent; color: var(--ink-faint); font-size: 12.5px; padding: 2px 12px; }
.slot--award { border-left-color: var(--gold); background: var(--accent-tint); }
.slot--award .slot__time { color: var(--gold); }

/* ---------- 参加する ---------- */
.joins { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.join {
  padding: 32px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--surface); box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.join__icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-tint); color: var(--brand); font-size: 20px; margin-bottom: 16px;
}
.join--sponsor .join__icon { background: var(--accent-tint); color: var(--accent); }
.join__title { margin: 0 0 10px; font-size: 20px; font-weight: 800; letter-spacing: .04em; }
.join__body { margin: 0 0 22px; font-size: 14px; color: var(--ink-soft); flex: 1; }
.join--sponsor .btn--primary { background: var(--accent); color: #fff; }
.join--sponsor .btn--primary:hover { filter: brightness(1.08); }


/* ---------- SNS ---------- */
.sns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.sns a {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px; border: 0;
  color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .06em;
  box-shadow: var(--shadow);
  transition: transform .15s, filter .2s;
}
.sns a:hover { color: #fff; text-decoration: none; transform: translateY(-2px); filter: brightness(1.12); }
.sns a .icon { font-size: 16px; }
/* 各SNSのブランドカラー */
.sns .sns--x  { background: #000000; }
.sns .sns--fb { background: #1877f2; }
.sns .sns--ig { background: linear-gradient(45deg, #f9ce34 0%, #ee2a7b 45%, #6228d7 100%); }

/* ---------- フッター ---------- */
.site-footer { background: var(--footer-bg); border-top: 1px solid var(--footer-line); padding: 56px 0 28px; color: var(--footer-ink); }
.site-footer__inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.site-footer h3 { margin: 0 0 14px; font-size: 12px; letter-spacing: .18em; color: var(--footer-label); font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--footer-ink); font-size: 14px; }
.site-footer a:hover { color: var(--footer-accent); }
.site-footer .brand { color: var(--footer-ink); }
.site-footer .brand__en { color: var(--footer-label); }
.site-footer__note { font-size: 13px; color: var(--footer-ink-soft); }
.copy { margin: 44px 0 0; padding-top: 20px; border-top: 1px solid var(--footer-line); text-align: center; font-size: 12px; color: var(--footer-label); letter-spacing: .08em; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 1000px) {
  .hero__inner { grid-template-columns: 1fr; gap: 36px; padding: 40px 0 48px; }
  .films { grid-template-columns: repeat(2, 1fr); }
  .notice { grid-template-columns: 1fr; gap: 22px; padding: 24px; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .site-header__inner > .btn { margin-left: auto; }
  .navtoggle { display: inline-flex; }
  .gnav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    background: var(--header-solid); border-bottom: 1px solid var(--header-line); box-shadow: var(--shadow); padding: 10px 0;
  }
  body.nav-open .gnav { display: block; }
  .gnav ul { flex-direction: column; gap: 0; padding: 0 16px; }
  .gnav a { padding: 12px 10px; border-radius: 8px; }
}
@media (max-width: 760px) {
  body { font-size: 15px; }
  .wrap { width: calc(100% - 32px); }
  .section { padding: 52px 0; }
  .timetable { grid-template-columns: 1fr; }
  .joins { grid-template-columns: 1fr; }
  .films { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .site-footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .site-header__inner { gap: 10px; }
  .brand img { width: 32px; height: 32px; }
  .brand__ja { font-size: 15px; }
  .brand__en { display: none; }
  .site-header__inner .btn--sm { padding: 8px 12px; font-size: 12px; }
  .navtoggle { width: 38px; height: 38px; }
  .hero__meta dl { grid-template-columns: 68px 1fr; font-size: 13px; }
  .films { grid-template-columns: 1fr; }
  .join { padding: 24px; }
}

/* =========================================================
   下層ページ用
   ========================================================= */

/* ---------- ページ見出し ---------- */
.page-hero {
  position: relative;
  /* 背景写真は各ページの style 属性で指定（CSSの置き場所に依存させないため） */
  background: #0a2447 center 62% / cover no-repeat;
  color: #eaf2ff;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(95deg, rgba(8,30,60,.94) 0%, rgba(8,30,60,.78) 55%, rgba(8,30,60,.52) 100%);
}
.page-hero__inner { position: relative; padding: 52px 0 56px; }
.page-hero__label { font-size: 11px; letter-spacing: .28em; color: #7bb8ff; font-weight: 700; }
.page-hero__title { margin: 6px 0 0; font-size: clamp(24px, 3.2vw, 34px); font-weight: 800; letter-spacing: .06em; }
.page-hero__lead { margin: 12px 0 0; max-width: 62ch; font-size: 14px; color: #b9cde8; }

.breadcrumb { font-size: 12px; color: var(--ink-faint); padding: 14px 0 0; }
.breadcrumb a { color: var(--ink-faint); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { margin: 0 6px; opacity: .6; }

/* ---------- 本文 ---------- */
.prose { max-width: 860px; }
.prose > h2 {
  margin: 56px 0 18px; padding-left: 14px;
  border-left: 4px solid var(--brand);
  font-size: clamp(19px, 2.2vw, 24px); font-weight: 800; letter-spacing: .04em; line-height: 1.5;
}
.prose > h2:first-child { margin-top: 0; }
.prose > h3 { margin: 34px 0 10px; font-size: 17px; font-weight: 700; color: var(--brand-deep); letter-spacing: .04em; }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 1.4em; }
.prose li { margin-bottom: 6px; }
.prose ul.checks { list-style: none; padding-left: 0; }
.prose ul.checks li { position: relative; padding-left: 1.6em; }
.prose ul.checks li::before {
  content: ""; position: absolute; left: .2em; top: .78em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--brand);
}
.note { font-size: 13px; color: var(--ink-soft); }
.prose .note { margin-bottom: 8px; }

/* ---------- パネル・データ ---------- */
.panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 26px 28px; box-shadow: var(--shadow); margin: 0 0 24px;
}
.panel--tint { background: var(--brand-tint); border-color: transparent; box-shadow: none; }
.panel--warn { background: var(--accent-tint); border-color: transparent; box-shadow: none; }
.panel > :last-child { margin-bottom: 0; }

.datalist { display: grid; grid-template-columns: 130px 1fr; gap: 2px 20px; margin: 0; font-size: 15px; }
.datalist dt {
  padding: 10px 0; color: var(--ink-faint); font-size: 13px; font-weight: 700; letter-spacing: .06em;
  border-top: 1px solid var(--line);
}
.datalist dd { margin: 0; padding: 10px 0; border-top: 1px solid var(--line); }
.datalist dt:first-of-type, .datalist dd:first-of-type { border-top: 0; }


/* ---------- 目次 ---------- */
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; list-style: none; }
.toc a {
  display: block; padding: 7px 15px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--ink-soft);
  font-size: 13px; font-weight: 600;
}
.toc a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }

/* ---------- 手順 ---------- */
.steps { counter-reset: step; list-style: none; margin: 0 0 20px; padding: 0; }
.steps > li { position: relative; counter-increment: step; padding: 0 0 22px 54px; }
.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: 4px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand); color: #fff;
  font-family: "Oswald", sans-serif; font-size: 17px;
  display: grid; place-items: center;
}
.steps > li::after {
  content: ""; position: absolute; left: 17px; top: 44px; bottom: 4px; width: 1px; background: var(--line);
}
.steps > li:last-child { padding-bottom: 0; }
.steps > li:last-child::after { display: none; }
.steps h3 { margin: 4px 0 8px !important; }

/* ---------- 地図 ---------- */
.mapframe { position: relative; padding-top: 52%; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.mapframe iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- 経路 ---------- */
.routes { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.route {
  display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--brand);
  border-radius: 0 10px 10px 0; padding: 14px 18px;
}
.route__line { font-size: 13px; color: var(--ink-faint); }
.route__station { font-size: 16px; font-weight: 700; }
.route__walk { font-size: 14px; font-weight: 700; color: var(--brand); white-space: nowrap; }

/* ---------- 下部のCTA帯 ---------- */
.cta-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 28px 32px; box-shadow: var(--shadow);
}
.cta-band__title { margin: 0 0 6px; font-size: 19px; font-weight: 800; letter-spacing: .04em; }
.cta-band__body { margin: 0; font-size: 14px; color: var(--ink-soft); max-width: 56ch; }

@media (max-width: 760px) {
  .datalist { grid-template-columns: 1fr; gap: 0; }
  .datalist dt { padding-bottom: 0; border-top: 1px solid var(--line); }
  .datalist dd { padding-top: 2px; border-top: 0; }
  .datalist dd:first-of-type { border-top: 0; }
  .panel { padding: 22px 20px; }
  .cta-band { padding: 24px 20px; }
  .route { grid-template-columns: 1fr; }
}

/* =========================================================
   過去の映画祭（アーカイブ）
   ========================================================= */

/* ---------- 開催回の一覧 ---------- */
.editions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.edition {
  display: block; padding: 20px 22px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.edition:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--brand); text-decoration: none; }
.edition__no { font-size: 13px; color: var(--ink-faint); letter-spacing: .06em; }
.edition__year { font-size: 26px; line-height: 1.2; color: var(--brand); }
.edition__meta { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-faint); }
.edition__gp { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 700; color: var(--gold); }
.edition--plain { box-shadow: none; background: var(--surface-2); }
.edition--off .edition__year { color: var(--ink-faint); }

/* ---------- 作品カードの一覧（回ごと） ---------- */
.filmlist { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.filmlist .film__meta { line-height: 1.6; }

/* ---------- 作品詳細 ---------- */
.film-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
.film-hero__visual img { width: 100%; border-radius: 12px; box-shadow: var(--shadow-lg); }
.film-hero__badge {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 12px;
  background: var(--gold); color: #21160a; padding: 4px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
}
.film-hero__title { margin: 0 0 8px; font-size: clamp(23px, 3vw, 32px); font-weight: 800; line-height: 1.4; letter-spacing: .03em; }
.film-hero__spec { font-size: 14px; color: var(--ink-soft); }
.film-hero__director { margin: 14px 0 0; font-size: 17px; font-weight: 700; }
.film-hero__director small { display: block; font-size: 12px; font-weight: 500; color: var(--ink-faint); letter-spacing: .06em; }

.screenings { margin: 22px 0 0; padding: 0; list-style: none; }
.screenings li {
  display: flex; gap: 10px; font-size: 13.5px; line-height: 1.7;
  padding: 9px 14px; border-radius: 8px; background: var(--surface-2); border-left: 3px solid var(--brand);
  margin-bottom: 6px;
}
.screenings li::before { content: "▶"; color: var(--brand); font-size: 10px; line-height: 2.2; }

/* ---------- 賞状の写真 ---------- */
.film-hero__badge--award { background: var(--brand); color: #fff; }
.award { margin: 0 0 22px; max-width: 640px; }
.award img { width: 100%; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.award figcaption { margin-top: 10px; font-size: 12.5px; line-height: 1.8; color: var(--ink-faint); }
.film-hero__title .film-hero__badge { margin-bottom: 8px; }

/* ---------- 予告編 ---------- */
.embed { position: relative; padding-top: 56.25%; border-radius: 12px; overflow: hidden; background: #000; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- 監督プロフィール ---------- */
.person { display: grid; grid-template-columns: 220px 1fr; gap: 26px; align-items: start; }
.person img { width: 100%; border-radius: 10px; }
.person--solo { grid-template-columns: 1fr; }
.person + .person { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.person__name { margin: 0 0 4px; font-size: 18px; font-weight: 800; }
.person__name small { display: block; font-size: 12px; font-weight: 500; color: var(--ink-faint); letter-spacing: .08em; }
.person__text { margin: 10px 0 0; font-size: 14px; color: var(--ink-soft); }

/* ---------- ギャラリー ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.gallery a:hover img { border-color: var(--brand); }

/* ---------- 前後の作品 ---------- */
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 8px; }
.pager a {
  display: block; max-width: 46%; padding: 14px 20px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface); color: inherit; font-size: 14px;
}
.pager a:hover { border-color: var(--brand); text-decoration: none; }
.pager small { display: block; font-size: 11px; color: var(--ink-faint); letter-spacing: .08em; }
.pager .is-next { margin-left: auto; text-align: right; }

/* ---------- 同じ回の作品 ---------- */
.thumbstrip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.thumbstrip a { display: block; }
.thumbstrip img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); opacity: .78; transition: opacity .2s, border-color .2s; }
.thumbstrip a:hover img, .thumbstrip a.is-current img { opacity: 1; border-color: var(--brand); }
.thumbstrip span { display: block; margin-top: 5px; font-size: 11.5px; line-height: 1.4; color: var(--ink-soft); }

@media (max-width: 1000px) {
  .editions { grid-template-columns: repeat(3, 1fr); }
  .filmlist { grid-template-columns: repeat(3, 1fr); }
  .film-hero { grid-template-columns: 1fr; gap: 24px; }
  .thumbstrip { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 760px) {
  .editions { grid-template-columns: repeat(2, 1fr); }
  .filmlist { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .person { grid-template-columns: 1fr; gap: 16px; }
  .person img { max-width: 200px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .thumbstrip { grid-template-columns: repeat(3, 1fr); }
  .pager a { max-width: 48%; }
}

/* =========================================================
   第1〜15回のページ用（旧ページの本文をそのまま活かすための互換レイヤー）
   旧サイトの Bootstrap クラスを、新デザインのトークンで描き直す
   ========================================================= */
.legacy { max-width: 900px; font-size: 15px; }
.legacy img { max-width: 100%; height: auto; border-radius: 8px; }
.legacy br + br { line-height: 2.4; }

/* パネル類 */
.legacy .alert {
  display: block; margin: 0 0 20px; padding: 18px 22px;
  border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line);
}
.legacy .alert-warning { background: var(--accent-tint); border-color: transparent; }
.legacy .alert-primary { background: var(--brand-tint); border-color: transparent; }
.legacy .alert > :last-child { margin-bottom: 0; }

/* 見出し（旧ページでは見出しに .alert が付いているので打ち消す） */
.legacy h2, .legacy h3, .legacy h4, .legacy h5 {
  background: none; border: 0; border-radius: 0; padding: 0; color: inherit;
}
.legacy h2 {
  margin: 52px 0 18px; padding-left: 14px; border-left: 4px solid var(--brand);
  font-size: clamp(19px, 2.2vw, 24px); font-weight: 800; letter-spacing: .04em; line-height: 1.5;
}
.legacy h3 {
  margin: 46px 0 16px; padding-left: 14px; border-left: 4px solid var(--brand);
  font-size: clamp(18px, 2vw, 22px); font-weight: 800; letter-spacing: .04em; line-height: 1.5;
}
.legacy h4 { margin: 32px 0 10px; font-size: 17px; font-weight: 700; color: var(--brand-deep); letter-spacing: .04em; }
.legacy h5 { margin: 30px 0 12px; font-size: 15px; font-weight: 700; letter-spacing: .06em; }
.legacy > h2:first-child, .legacy > h3:first-child { margin-top: 0; }

/* 写真・作品カード */
.legacy .card-group, .legacy .card-columns {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px; margin: 0 0 18px;
}
.legacy .card {
  width: auto !important; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); margin: 0 0 18px;
}
.legacy .card-group .card, .legacy .card-columns .card { margin: 0; }
.legacy .card img { width: 100%; border-radius: 0; display: block; }
.legacy .card-body { padding: 13px 15px 16px; }
.legacy .card-title { margin: 0 0 6px; font-size: 15px; font-weight: 700; line-height: 1.5; letter-spacing: 0; }
.legacy .card-text { margin: 0; font-size: 13px; line-height: 1.85; color: var(--ink-soft); }
.legacy .card-footer { padding: 10px 15px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-faint); }

/* 横並び（media / row） */
.legacy .media { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; margin: 0 0 22px; }
.legacy .media-body { flex: 1; min-width: 240px; }
.legacy .media-body.alert { margin: 0; }
.legacy .row { display: flex; flex-wrap: wrap; gap: 20px; margin: 0 0 20px; }
.legacy .row.alert { display: flex; }
.legacy .col, .legacy .col-4, .legacy .col-8 { flex: 1; min-width: 220px; }

/* 表 */
.legacy table { width: 100%; border-collapse: collapse; margin: 0 0 22px; font-size: 14px; }
.legacy th, .legacy td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
.legacy th { background: var(--brand-tint); font-weight: 700; white-space: nowrap; }

/* 旧ユーティリティ */
.legacy .text-right { text-align: right; }
.legacy .text-muted { color: var(--ink-faint); }
.legacy .float-left { float: left; margin: 0 18px 12px 0; }
.legacy .clearfix::after { content: ""; display: table; clear: both; }
.legacy .my-4 { margin-top: 24px; margin-bottom: 24px; }

@media (max-width: 760px) {
  .legacy .card-group, .legacy .card-columns { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .legacy .float-left { float: none; margin: 0 0 12px; }
}
