@charset "UTF-8";
/* ==========================================================================
   北海道 火-Okoshiフェス in 苫小牧 ／ モックアップ用スタイル
   デザインの方向性：チラシに合わせた「暗い地＋炎のオレンジ」。
   DAY1をオレンジ、DAY2をネイビーで色分けし、2日間の性格の違いを見せる。
   ========================================================================== */

/* ---------- デザイントークン ---------- */
:root {
  /* 地の色 */
  --ink:        #0b0908;
  --ink-2:      #141019;
  --ink-3:      #1d1620;
  /* 炎 */
  --ember:      #f26522;
  --flame:      #ff8a1f;
  --gold:       #ffc94a;
  /* DAY2 */
  --navy:       #1b2a5e;
  --navy-2:     #2a3c7d;
  /* 明るい面 */
  --paper:      #faf7f2;
  --paper-2:    #f2ece3;
  --line:       #e2d9cc;
  /* 文字 */
  --text:       #241f1c;
  --text-mute:  #6b615a;
  --on-dark:    #f4efe8;
  --on-dark-mute: #a79c96;

  --radius:     18px;
  --radius-sm:  10px;
  --shadow:     0 24px 60px -24px rgb(0 0 0 / .45);
  --wrap:       1160px;

  --sans:  "Noto Sans JP", system-ui, sans-serif;
  --cond:  "Barlow Condensed", "Noto Sans JP", sans-serif;
  --serif: "Noto Serif JP", serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- リセット ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--text);
  background: var(--ink);
  line-height: 1.85;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.4; margin: 0; letter-spacing: .01em; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }

/* ---------- レイアウト部品 ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }
.wrap--narrow { max-width: 820px; }

.section { padding-block: clamp(72px, 10vw, 132px); }
.section--paper { background: var(--paper); }
.section--dark  { background: var(--ink-2); color: var(--on-dark); position: relative; }
.section--dark::before {
  /* 上端に炎のにじみ */
  content: "";
  position: absolute; inset: 0 0 auto; height: 200px;
  background: radial-gradient(58% 100% at 50% 0%, rgb(242 101 34 / .13), transparent 72%);
  pointer-events: none;
}
/* にじみが本文を覆わないよう、中身を前面に持ち上げる */
.section--dark > .wrap { position: relative; z-index: 1; }

.eyebrow {
  font-family: var(--cond);
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--ember);
  margin: 0 0 14px;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 30px; height: 3px; background: var(--ember); border-radius: 2px; }
.eyebrow--light { color: var(--gold); }
.eyebrow--light::before { background: var(--gold); }

.h2 {
  font-size: clamp(26px, 4.2vw, 44px);
  font-weight: 900;
  letter-spacing: .01em;
  line-height: 1.35;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.h2--light { color: var(--on-dark); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
  padding: 16px 34px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: .04em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn small { font-size: 11px; font-weight: 500; opacity: .82; letter-spacing: .06em; }
.btn--flame {
  color: #fff;
  background: linear-gradient(100deg, var(--ember), var(--flame) 55%, var(--gold));
  box-shadow: 0 12px 30px -10px rgb(242 101 34 / .7);
}
.btn--flame:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -12px rgb(242 101 34 / .85); }
.btn--ghost {
  color: var(--on-dark);
  border: 1.5px solid rgb(255 255 255 / .38);
  backdrop-filter: blur(6px);
  background: rgb(255 255 255 / .06);
}
.btn--ghost:hover { background: rgb(255 255 255 / .14); transform: translateY(-3px); }
.btn--outline { color: var(--text); border: 1.5px solid var(--text); }
.btn--outline:hover { background: var(--text); color: var(--paper); transform: translateY(-3px); }
.btn--sm { padding: 12px 26px; font-size: 15px; }
.btn--lg { padding: 20px 46px; font-size: 18px; }

.tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 5px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
  flex: 0 0 auto;
}
.tag--gold { background: var(--gold); color: #2a1a00; }

/* ==========================================================================
   ヘッダー
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px clamp(18px, 4vw, 36px);
  transition: background .3s var(--ease), backdrop-filter .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-stuck {
  background: rgb(11 9 8 / .86);
  backdrop-filter: blur(14px) saturate(130%);
  box-shadow: 0 1px 0 rgb(255 255 255 / .08);
}

.brand { display: flex; align-items: center; gap: 11px; }
.brand__mark { width: 40px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.25; color: var(--on-dark); }
.brand__text b { font-size: 15px; font-weight: 700; letter-spacing: .04em; }
.brand__text small { font-family: var(--cond); font-size: 11.5px; letter-spacing: .14em; color: var(--gold); }

.nav { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 26px); }
.nav a {
  position: relative;
  font-size: 14px; font-weight: 500;
  color: var(--on-dark);
  opacity: .88;
  transition: opacity .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 2px; background: var(--ember);
  transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav a:hover { opacity: 1; }
.nav a:hover::after { transform: scaleX(1); }
.nav__cta {
  padding: 9px 22px; border-radius: 999px;
  background: linear-gradient(100deg, var(--ember), var(--flame));
  font-weight: 700; opacity: 1;
  box-shadow: 0 8px 22px -8px rgb(242 101 34 / .8);
}
.nav__cta::after { display: none; }
.nav__cta:hover { transform: translateY(-2px); }

.nav-toggle { display: none; width: 44px; height: 44px; position: relative; }
.nav-toggle span {
  position: absolute; left: 11px; width: 22px; height: 2px; background: var(--on-dark);
  border-radius: 2px; transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   ヒーロー
   ========================================================================== */
.hero {
  position: relative;
  min-height: min(980px, 100svh);
  display: grid; place-items: center;
  padding: 128px clamp(20px, 5vw, 40px) 96px;
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.hero__media::after {
  /* 写真を沈めて文字を立てる。下端は炎のグラデーションで次のセクションへ繋ぐ */
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 60% at 50% 42%, rgb(11 9 8 / .48), rgb(11 9 8 / .88) 70%),
    linear-gradient(180deg, rgb(11 9 8 / .92) 0%, rgb(11 9 8 / .55) 32%, rgb(11 9 8 / .75) 68%, rgb(80 22 0 / .9) 88%, var(--ember) 100%);
}
.hero__embers { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }

.hero__inner {
  position: relative; text-align: center; color: var(--on-dark);
  width: 100%; max-width: 900px; min-width: 0;
}

.hero__kicker {
  font-size: clamp(15px, 2.2vw, 21px);
  font-weight: 700;
  letter-spacing: .1em;
  margin-bottom: clamp(14px, 2vw, 22px);
  text-shadow: 0 2px 18px rgb(0 0 0 / .7);
}
.hero__kicker em { font-style: normal; color: var(--gold); }

.hero__title {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(8px, 1.5vw, 18px);
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.hero__pre, .hero__post {
  font-size: clamp(18px, 2.6vw, 30px);
  font-weight: 700;
  color: var(--on-dark);
  text-shadow: 0 2px 16px rgb(0 0 0 / .8);
}
.hero__logotype {
  width: min(74vw, clamp(230px, 46vw, 520px));
  filter: drop-shadow(0 6px 30px rgb(242 101 34 / .55));
}
.hero__romaji {
  font-family: var(--cond);
  font-size: clamp(10px, 1.5vw, 15px);
  font-weight: 600;
  letter-spacing: clamp(.12em, 1vw, .34em);
  color: var(--gold);
  margin-bottom: clamp(26px, 4vw, 42px);
}

.hero__dates {
  display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap;
  gap: clamp(6px, 1.6vw, 20px);
  font-family: var(--cond);
  margin-bottom: 8px;
  max-width: 100%;
}
.hero__year { font-size: clamp(16px, 2.4vw, 28px); font-weight: 600; color: var(--gold); letter-spacing: .06em; }
.hero__date {
  font-size: clamp(38px, 9.4vw, 104px);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.01em;
  color: #fff;
  text-shadow: 0 4px 34px rgb(0 0 0 / .6);
}
.hero__date small { font-size: .32em; font-weight: 700; letter-spacing: .1em; margin-left: .12em; }
.hero__dash { font-size: clamp(26px, 6vw, 64px); font-weight: 500; color: var(--ember); }
/* 横スクロールを発生させないための保険 */
.hero__inner > * { max-width: 100%; }

.hero__days {
  font-size: clamp(13px, 1.7vw, 16px);
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--on-dark);
  margin-bottom: clamp(20px, 3vw, 30px);
}
.hero__lede {
  font-size: clamp(13.5px, 1.6vw, 16px);
  line-height: 2;
  color: rgb(244 239 232 / .9);
  margin-bottom: clamp(28px, 4vw, 40px);
}
.hero__lede b { color: var(--gold); }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.hero__scroll {
  position: absolute; bottom: 26px; left: 50%; translate: -50% 0;
  width: 26px; height: 44px; border: 1.5px solid rgb(255 255 255 / .5); border-radius: 999px;
  display: grid; place-items: start center; padding-top: 8px;
}
.hero__scroll span { width: 3px; height: 8px; border-radius: 2px; background: #fff; animation: scrollCue 1.7s var(--ease) infinite; }
@keyframes scrollCue {
  0%   { transform: translateY(0);    opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: translateY(20px); opacity: 0; }
}

/* ==========================================================================
   会場バー
   ========================================================================== */
.venue-bar { background: var(--ember); color: #fff; }
.venue-bar__inner {
  max-width: var(--wrap); margin-inline: auto;
  padding: 22px clamp(20px, 5vw, 40px);
  display: flex; align-items: center; gap: clamp(20px, 4vw, 56px); flex-wrap: wrap;
}
.venue-bar__item { display: flex; align-items: flex-start; gap: 12px; }
.venue-bar__item b { display: block; font-size: clamp(17px, 2vw, 21px); font-weight: 700; line-height: 1.4; }
.venue-bar__item small { display: block; font-size: 12px; line-height: 1.7; opacity: .92; }
.venue-bar__link {
  margin-left: auto; font-weight: 700; font-size: 14px;
  border-bottom: 1.5px solid rgb(255 255 255 / .5); padding-bottom: 2px;
  transition: border-color .2s;
}
.venue-bar__link:hover { border-color: #fff; }

/* ==========================================================================
   フェスについて
   ========================================================================== */
.about__grid {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  margin-bottom: clamp(44px, 6vw, 72px);
}
.about__text { font-size: clamp(14.5px, 1.6vw, 16.5px); }
.about__note {
  margin-top: 26px; padding: 18px 22px;
  border-left: 4px solid var(--ember);
  background: var(--paper-2);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-weight: 700; font-size: 14.5px; line-height: 1.9;
}

.stats { display: grid; gap: 14px; }
.stat {
  display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 4px 12px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.stat__num {
  font-family: var(--cond); font-size: 46px; font-weight: 800; line-height: 1;
  background: linear-gradient(120deg, var(--ember), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat__unit { font-family: var(--cond); font-size: 17px; font-weight: 700; color: var(--ember); letter-spacing: .1em; }
.stat__label { grid-column: 1 / -1; font-size: 13px; color: var(--text-mute); line-height: 1.7; }

/* 写真モザイク */
.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.mosaic__item { margin: 0; overflow: hidden; border-radius: var(--radius-sm); aspect-ratio: 4 / 3; }
.mosaic__item--wide { grid-column: span 2; aspect-ratio: 8 / 3; }
.mosaic__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease), filter .5s var(--ease);
  filter: saturate(.95);
}
.mosaic__item:hover img { transform: scale(1.06); filter: saturate(1.1); }

/* ==========================================================================
   2日間の内容
   ========================================================================== */
.days { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 3vw, 34px); }
.day {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease);
}
.day:hover { transform: translateY(-6px); }
.day--1 { background: linear-gradient(170deg, #2a1508, #1a0f08); border: 1px solid rgb(242 101 34 / .35); }
.day--2 { background: linear-gradient(170deg, #131c3d, #0e1226); border: 1px solid rgb(90 120 220 / .3); }

.day__photo { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.day__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.day:hover .day__photo img { transform: scale(1.05); }
.day__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgb(0 0 0 / .35) 0%, transparent 40%, rgb(10 8 8 / .8) 100%);
}
.day__badge {
  position: absolute; left: 0; bottom: 0; z-index: 1;
  display: flex; align-items: baseline; gap: 14px;
  padding: 14px 26px 14px clamp(20px, 3vw, 30px);
  border-radius: 0 var(--radius) 0 0;
}
.day--1 .day__badge { background: linear-gradient(100deg, var(--ember), var(--flame)); }
.day--2 .day__badge { background: linear-gradient(100deg, var(--navy), var(--navy-2)); }
.day__label {
  font-family: var(--cond); font-size: 15px; font-weight: 700; letter-spacing: .24em;
  color: rgb(255 255 255 / .92);
}
.day__date {
  font-family: var(--cond); font-size: 38px; font-weight: 800; line-height: 1; color: #fff;
}
.day__date small { font-size: .38em; font-weight: 700; letter-spacing: .1em; margin-left: .18em; }

.day__body { padding: clamp(24px, 3.4vw, 38px); color: var(--on-dark); flex: 1; display: flex; flex-direction: column; }
.day__meta {
  font-size: 12.5px; font-weight: 700; letter-spacing: .06em;
  color: var(--on-dark-mute); margin-bottom: 18px;
  padding-bottom: 14px; border-bottom: 1px solid rgb(255 255 255 / .12);
}
.day__sub { font-size: 13px; font-weight: 700; letter-spacing: .06em; margin-bottom: 10px; }
.day--1 .day__sub { color: var(--flame); }
.day--2 .day__sub { color: #8fa8ff; }
.day__title {
  font-size: clamp(21px, 2.7vw, 29px); font-weight: 900; line-height: 1.5;
  margin-bottom: 16px;
}
.day__desc { font-size: 14.5px; line-height: 1.95; color: rgb(244 239 232 / .82); margin-bottom: 22px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chips li {
  font-size: 12.5px; font-weight: 700; letter-spacing: .04em;
  padding: 6px 14px; border-radius: 6px;
}
.day--1 .chips li { background: rgb(242 101 34 / .18); color: var(--gold); border: 1px solid rgb(242 101 34 / .4); }
.day--2 .chips li { background: rgb(120 150 255 / .14); color: #b8c8ff; border: 1px solid rgb(120 150 255 / .35); }

.day__body .btn { align-self: flex-start; margin-top: auto; }

/* ==========================================================================
   タイムテーブル
   ========================================================================== */
.tabs__nav { display: flex; gap: 8px; margin-bottom: 0; }
.tabs__btn {
  display: flex; flex-direction: column; gap: 1px;
  padding: 16px clamp(22px, 4vw, 44px);
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--paper-2);
  color: var(--text-mute);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.tabs__btn b { font-family: var(--cond); font-size: 20px; font-weight: 800; letter-spacing: .14em; }
.tabs__btn span { font-family: var(--cond); font-size: 13px; font-weight: 600; letter-spacing: .12em; }
.tabs__btn:hover { background: var(--line); }
.tabs__btn.is-active { color: #fff; }
#tab-day1.is-active { background: linear-gradient(100deg, var(--ember), var(--flame)); }
#tab-day2.is-active { background: linear-gradient(100deg, var(--navy), var(--navy-2)); }

.tabs__panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0 var(--radius) var(--radius) var(--radius);
  padding: clamp(22px, 3vw, 34px);
}
.tabs__panel:not(.is-active) { display: none; }
.tabs__panel.is-active { animation: fadeUp .45s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.tabs__caption {
  font-size: 13px; font-weight: 700; color: var(--text-mute);
  padding-bottom: 16px; margin-bottom: 6px; border-bottom: 1px solid var(--line);
}

.tt { display: grid; }
.tt__row {
  display: grid; grid-template-columns: 92px 1fr;
  gap: 20px;
  padding: 16px 4px;
  border-bottom: 1px dashed var(--line);
  position: relative;
}
.tt__row:last-child { border-bottom: 0; }
.tt__time {
  font-family: var(--cond); font-size: 21px; font-weight: 700; line-height: 1.5;
  color: var(--ember); letter-spacing: .04em;
}
.tt--day2 .tt__time { color: var(--navy-2); }
.tt__row b { display: block; font-size: 15.5px; font-weight: 700; line-height: 1.6; }
.tt__row small { display: block; font-size: 13px; color: var(--text-mute); line-height: 1.75; margin-top: 2px; }
.tt__row--break { background: var(--paper-2); border-radius: var(--radius-sm); padding-inline: 14px; }
.tt__row--break .tt__time, .tt__row--break b { opacity: .7; }
.tt__row--end b { font-weight: 900; }

.tabs__notes { margin-top: 22px; display: grid; gap: 6px; }
.tabs__notes li {
  font-size: 12.5px; color: var(--text-mute); padding-left: 1.4em; position: relative; line-height: 1.8;
}
.tabs__notes li::before { content: "※"; position: absolute; left: 0; }

/* ==========================================================================
   参加者の声
   ========================================================================== */
.section--voices { background: var(--ink-3); }
.voices__lede {
  font-size: clamp(14px, 1.7vw, 17px); line-height: 2;
  color: var(--on-dark-mute);
  margin: -26px 0 clamp(36px, 5vw, 56px);
}
.voices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.voice {
  background: linear-gradient(170deg, rgb(255 255 255 / .07), rgb(255 255 255 / .02));
  border: 1px solid rgb(255 255 255 / .1);
  border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 30px);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.voice:hover { border-color: rgb(242 101 34 / .55); transform: translateY(-5px); }
.voice__head { display: flex; align-items: center; gap: 15px; margin-bottom: 12px; }
.voice__head img {
  width: 66px; height: 66px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgb(242 101 34 / .55);
  flex: 0 0 auto;
}
.voice__name { font-size: clamp(18px, 1.9vw, 21px); font-weight: 900; letter-spacing: .06em; color: var(--on-dark); }
.voice__affil {
  font-size: 12px; color: var(--on-dark-mute); line-height: 1.75;
  margin: 0 0 18px; padding-bottom: 16px;
  border-bottom: 1px solid rgb(255 255 255 / .1);
}
.voice__body { display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; }
.voice__body dt {
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  color: var(--gold);
  padding-top: 3px;
}
.voice__body dd { font-size: 13.5px; line-height: 1.9; color: rgb(244 239 232 / .8); }

/* ==========================================================================
   関わり方（募集）
   ========================================================================== */
.join__lede {
  font-size: clamp(14px, 1.6vw, 16px); line-height: 2;
  color: var(--text-mute);
  margin: -26px 0 clamp(30px, 4vw, 44px);
  padding-left: 16px;
  border-left: 3px solid var(--ember);
}
.join { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 26px); }
.join__card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 34px);
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.join__card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px -22px rgb(36 31 28 / .28); }
.join__card--primary { border-color: var(--ember); border-width: 2px; }
.join__no {
  font-family: var(--cond); font-size: 15px; font-weight: 800; letter-spacing: .2em;
  color: var(--ember); display: block; margin-bottom: 10px;
}
.join__card h3 { font-size: clamp(19px, 2.2vw, 23px); font-weight: 900; margin-bottom: 6px; }
.join__who {
  font-size: 12.5px; font-weight: 700; color: var(--text-mute);
  padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line);
}
.join__card > p { font-size: 14px; line-height: 1.9; }
.join__deadline {
  margin: 12px 0 0;
  font-size: 13px; font-weight: 700; letter-spacing: .02em;
  color: var(--ember);
}
.join__list { margin: 16px 0 22px; display: grid; gap: 7px; }
.join__list li {
  font-size: 13px; color: var(--text-mute); line-height: 1.7;
  padding-left: 1.35em; position: relative;
}
.join__list li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--ember);
}
.join__card .btn { align-self: flex-start; margin-top: auto; }

/* フォームにある残りの参加区分（一般来場／協力・後援）の受け皿 */
.join__extra {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  margin-top: clamp(18px, 2.4vw, 26px);
}
.join__extra li {
  display: flex; flex-direction: column; align-items: flex-start; gap: 5px;
  padding: 20px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper-2);
}
.join__extra .join__no { margin-bottom: 2px; font-size: 13px; }
.join__extra b { font-size: 15.5px; font-weight: 700; }
.join__extra span { font-size: 13px; line-height: 1.8; color: var(--text-mute); }
.join__extra a {
  margin-top: 4px;
  font-size: 13px; font-weight: 700; color: var(--ember);
  border-bottom: 1px solid currentColor; padding-bottom: 1px;
}

/* ==========================================================================
   申込CTA
   ========================================================================== */
.entry {
  position: relative;
  padding-block: clamp(84px, 11vw, 148px);
  color: var(--on-dark);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.entry__media { position: absolute; inset: 0; z-index: -1; }
.entry__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.entry__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(80% 70% at 50% 50%, rgb(120 34 0 / .55), rgb(11 9 8 / .92) 75%),
    linear-gradient(180deg, var(--paper) 0%, rgb(11 9 8 / .8) 12%, rgb(11 9 8 / .8) 88%, var(--ink-2) 100%);
}
.entry__kicker {
  font-family: var(--cond); font-size: 14px; font-weight: 700; letter-spacing: .24em;
  color: var(--gold); margin-bottom: 16px;
}
.entry__title {
  font-size: clamp(30px, 5.6vw, 58px); font-weight: 900; line-height: 1.35;
  margin-bottom: 20px;
  text-shadow: 0 4px 30px rgb(0 0 0 / .5);
}
.entry__title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--flame), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.entry__lede { font-size: clamp(14px, 1.7vw, 16.5px); line-height: 2; color: rgb(244 239 232 / .88); margin-bottom: 34px; }
.entry__actions { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; margin-bottom: 30px; }
.entry__qr {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  padding: 10px 10px 8px;
  border-radius: 14px;
  background: rgb(255 255 255 / .94);
  box-shadow: 0 12px 32px -14px rgb(0 0 0 / .5);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.entry__qr:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -16px rgb(0 0 0 / .6); }
.entry__qr img { width: 104px; height: 104px; }
.entry__qr span {
  font-size: 10.5px; font-weight: 700; letter-spacing: .04em;
  color: #241f1c;
}
.entry__note { font-size: 12.5px; line-height: 1.9; color: rgb(244 239 232 / .62); }

/* ==========================================================================
   開催概要・アクセス
   ========================================================================== */
.access { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 52px); align-items: start; }
.outline {
  border: 1px solid rgb(255 255 255 / .13);
  border-radius: var(--radius);
  overflow: hidden;
}
.outline th, .outline td {
  padding: 15px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgb(255 255 255 / .1);
  font-size: 14px; line-height: 1.85;
}
.outline tr:last-child th, .outline tr:last-child td { border-bottom: 0; }
.outline th {
  width: 128px;
  background: rgb(255 255 255 / .05);
  font-weight: 700; letter-spacing: .1em;
  color: var(--gold);
  white-space: nowrap;
}
.outline td { color: rgb(244 239 232 / .88); }

.map__frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / .13);
  background: rgb(255 255 255 / .04);
}
.map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.map__facts { display: grid; gap: 7px; margin-top: 18px; }
.map__facts li {
  font-size: 13.5px; line-height: 1.75; color: var(--on-dark-mute);
  padding-left: 1.35em; position: relative;
}
.map__facts li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--ember);
}
.map__facts b { color: var(--on-dark); }

.map__note { font-size: 12px; color: var(--on-dark-mute); margin-top: 14px; line-height: 1.8; }
.map__note a {
  color: var(--gold); font-weight: 700;
  border-bottom: 1px solid currentColor; padding-bottom: 1px;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { display: grid; gap: 10px; }
.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 56px 18px 22px;
  font-size: 15px; font-weight: 700; line-height: 1.7;
  position: relative;
  transition: background .2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { background: var(--paper-2); }
.faq__item summary::after {
  content: ""; position: absolute; right: 24px; top: 50%;
  width: 11px; height: 11px;
  border-right: 2.5px solid var(--ember); border-bottom: 2.5px solid var(--ember);
  translate: 0 -60%; rotate: 45deg;
  transition: rotate .3s var(--ease), translate .3s var(--ease);
}
.faq__item[open] summary::after { rotate: -135deg; translate: 0 -20%; }
.faq__body { padding: 0 22px 20px; font-size: 14px; line-height: 1.95; color: var(--text-mute); }

/* ==========================================================================
   フッター
   ========================================================================== */
.footer { background: var(--ink); color: var(--on-dark); padding-block: clamp(48px, 7vw, 76px) 32px; }
.footer__inner { text-align: center; }
.footer__brand { display: flex; align-items: center; justify-content: center; gap: 22px; margin-bottom: 34px; }
.footer__mark { width: 62px; }
.footer__div { width: 1px; height: 42px; background: rgb(255 255 255 / .22); }
.footer__goatx { width: 132px; }

.footer__meta {
  display: flex; justify-content: center; gap: clamp(28px, 6vw, 76px); flex-wrap: wrap;
  text-align: left;
  padding-block: 30px;
  border-block: 1px solid rgb(255 255 255 / .1);
  margin-bottom: 26px;
}
.footer__org { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; }
.footer__org dt { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--gold); }
.footer__org dd { font-size: 13.5px; color: rgb(244 239 232 / .85); }
.footer__contact { font-size: 13.5px; line-height: 1.9; color: rgb(244 239 232 / .85); }
.footer__contact a { color: var(--gold); font-weight: 700; }

.footer__subsidy {
  font-size: 12px; line-height: 1.8; color: var(--on-dark-mute);
  max-width: 620px; margin-inline: auto; margin-bottom: 16px;
}
.footer__copy { font-size: 11.5px; color: rgb(167 156 150 / .7); line-height: 1.8; }

/* ==========================================================================
   スクロール表示アニメーション
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   レスポンシブ
   ========================================================================== */
@media (max-width: 1000px) {
  .about__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat { padding: 18px; }
  .stat__num { font-size: 38px; }
  .days { grid-template-columns: 1fr; }
  .voices { grid-template-columns: 1fr; }
  .join { grid-template-columns: 1fr; }
  .join__extra { grid-template-columns: 1fr; }
  .access { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0 0 auto; z-index: -1;
    flex-direction: column; align-items: stretch;
    gap: 0;
    padding: 84px 26px 34px;
    background: rgb(11 9 8 / .97);
    backdrop-filter: blur(16px);
    transform: translateY(-100%);
    transition: transform .45s var(--ease);
    max-height: 100svh; overflow-y: auto;
  }
  .nav.is-open { transform: none; }
  .nav a { padding: 16px 4px; font-size: 16px; border-bottom: 1px solid rgb(255 255 255 / .1); }
  .nav a::after { display: none; }
  .nav__cta { margin-top: 20px; text-align: center; border-bottom: 0; }

  .site-header { background: rgb(11 9 8 / .82); backdrop-filter: blur(12px); }

  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .mosaic__item--wide { grid-column: span 2; aspect-ratio: 16 / 7; }

  .venue-bar__link { margin-left: 0; }
}

@media (max-width: 620px) {
  .hero { min-height: auto; padding-top: 110px; }
  .hero__dates { gap: 6px; }
  /* 幅が足りなければ flex-wrap で「北海道／ロゴ／in 苫小牧」が自然に3段になる */
  .hero__title { gap: 4px; }
  .hero__days, .hero__lede { text-wrap: balance; }
  .stats { grid-template-columns: 1fr; }
  .tt__row { grid-template-columns: 68px 1fr; gap: 12px; }
  .tt__time { font-size: 18px; }
  .tabs__btn { flex: 1; padding: 14px 12px; align-items: center; }
  .voice__head { flex-direction: column; align-items: flex-start; }
  .footer__meta { flex-direction: column; gap: 24px; }
  .btn { width: 100%; }
  .entry__actions { flex-direction: column; }
}

/* ==========================================================================
   明るい配色（ライトテーマ）
   data-theme="light" のときだけ適用。構造は共通で、色だけを差し替える。
   保護者・小中学生が見る面としての「やわらかさ」を優先し、
   炎のオレンジはアクセントとして残す。
   ========================================================================== */
.only-light { display: none; }
:root[data-theme="light"] .only-dark  { display: none; }
:root[data-theme="light"] .only-light { display: revert; }

:root[data-theme="light"] {
  /* 暗い地だったところを、温かみのある明るい面に置き換える */
  --ink:        #f1e8db;   /* フッター */
  --ink-2:      #f8f2e9;   /* もとの暗いセクション */
  --ink-3:      #f3ece2;   /* VOICES */
  /* 炎：白地でも沈まないよう少し濃くする */
  --ember:      #d94f0d;
  --flame:      #ee7a15;
  --gold:       #a86a12;   /* 金は明るい地だと読めないので褐色寄りへ */
  --paper:      #fffdf9;
  --paper-2:    #f5eee4;
  --line:       #e5dacb;
  --text:       #2b2320;
  --text-mute:  #6f645c;
  /* 「暗い地の上の文字」は、明るい地の上の文字色に読み替える */
  --on-dark:      #2b2320;
  --on-dark-mute: #776c64;
  --shadow:     0 22px 54px -26px rgb(90 66 44 / .3);
}

/* ---------- ヘッダー ---------- */
:root[data-theme="light"] .site-header.is-stuck {
  background: rgb(255 253 249 / .9);
  box-shadow: 0 1px 0 rgb(43 35 32 / .1), 0 10px 30px -22px rgb(90 66 44 / .5);
}
:root[data-theme="light"] .brand__text small { color: var(--ember); }
:root[data-theme="light"] :root[data-theme="light"] :root[data-theme="light"] .nav-toggle span { background: var(--text); }

/* ---------- ヒーロー ---------- */
:root[data-theme="light"] .hero__media img { filter: saturate(.9) brightness(1.04); }
:root[data-theme="light"] .hero__media::after {
  background:
    radial-gradient(72% 62% at 50% 42%, rgb(255 253 249 / .58), rgb(255 251 244 / .88) 72%),
    linear-gradient(180deg, rgb(255 252 246 / .94) 0%, rgb(255 252 246 / .6) 30%, rgb(255 250 242 / .8) 66%, rgb(255 222 182 / .94) 88%, var(--flame) 100%);
}
:root[data-theme="light"] .hero__embers { opacity: .42; }
:root[data-theme="light"] .hero__kicker,
:root[data-theme="light"] .hero__pre,
:root[data-theme="light"] .hero__post,
:root[data-theme="light"] .entry__title { text-shadow: none; }
:root[data-theme="light"] .hero__kicker em { color: var(--ember); }
:root[data-theme="light"] .hero__logotype { filter: drop-shadow(0 4px 18px rgb(217 79 13 / .22)); }
:root[data-theme="light"] .hero__romaji { color: var(--ember); }
:root[data-theme="light"] .hero__date { color: var(--text); text-shadow: none; }
:root[data-theme="light"] .hero__year { color: var(--ember); }
:root[data-theme="light"] .hero__lede { color: var(--text-mute); }
:root[data-theme="light"] .hero__lede b { color: var(--ember); }
:root[data-theme="light"] .hero__scroll { border-color: rgb(43 35 32 / .35); }
:root[data-theme="light"] .hero__scroll span { background: var(--ember); }
:root[data-theme="light"] .btn--ghost {
  color: var(--text);
  border-color: rgb(43 35 32 / .3);
  background: rgb(255 255 255 / .6);
}
:root[data-theme="light"] .btn--ghost:hover { background: #fff; }

/* ---------- セクション地 ---------- */
:root[data-theme="light"] .section--dark::before {
  background: radial-gradient(58% 100% at 50% 0%, rgb(238 122 21 / .12), transparent 72%);
}

/* ---------- DAY1 / DAY2 カード ---------- */
:root[data-theme="light"] .day--1 {
  background: linear-gradient(170deg, #fff8f1, #fffdfa);
  border-color: rgb(217 79 13 / .35);
}
:root[data-theme="light"] .day--2 {
  background: linear-gradient(170deg, #f4f6fd, #fdfdff);
  border-color: rgb(42 60 125 / .28);
}
:root[data-theme="light"] .day__photo::after {
  background: linear-gradient(180deg, rgb(0 0 0 / .18) 0%, transparent 45%, rgb(0 0 0 / .45) 100%);
}
:root[data-theme="light"] .day__meta {
  color: var(--text-mute);
  border-bottom-color: var(--line);
}
:root[data-theme="light"] .day--1 .day__sub { color: var(--ember); }
:root[data-theme="light"] .day--2 .day__sub { color: var(--navy-2); }
:root[data-theme="light"] .day__desc { color: var(--text-mute); }
:root[data-theme="light"] .day--1 .chips li {
  background: #fdefe3; color: #a83c05; border-color: rgb(217 79 13 / .3);
}
:root[data-theme="light"] .day--2 .chips li {
  background: #eef1fb; color: var(--navy); border-color: rgb(42 60 125 / .25);
}

/* ---------- VOICES ---------- */
:root[data-theme="light"] .voice {
  background: #fff;
  border-color: var(--line);
}
:root[data-theme="light"] .voice:hover { border-color: rgb(217 79 13 / .5); }
:root[data-theme="light"] .voice__affil { border-bottom-color: var(--line); }
:root[data-theme="light"] .voice__body dt { color: var(--ember); }
:root[data-theme="light"] .voice__body dd { color: var(--text-mute); }
:root[data-theme="light"] .voices__lede { color: var(--text-mute); }

/* ---------- 関わり方（募集） ---------- */
:root[data-theme="light"] .join__extra li {
  border-color: var(--line);
  background: var(--paper-2);
}

/* ---------- 申込CTA ---------- */
:root[data-theme="light"] .entry__media img { filter: saturate(.85) brightness(1.06); }
:root[data-theme="light"] .entry__media::after {
  background:
    radial-gradient(82% 72% at 50% 50%, rgb(255 244 232 / .8), rgb(255 251 245 / .95) 78%),
    linear-gradient(180deg, var(--paper) 0%, rgb(255 250 243 / .9) 14%, rgb(255 250 243 / .9) 86%, var(--ink-2) 100%);
}
:root[data-theme="light"] .entry__kicker { color: var(--ember); }
:root[data-theme="light"] .entry__lede { color: var(--text-mute); }
:root[data-theme="light"] .entry__qr {
  background: #fff;
  box-shadow: 0 12px 32px -16px rgb(90 66 44 / .45);
}
:root[data-theme="light"] .entry__note { color: var(--text-mute); }

/* ---------- 開催概要・地図 ---------- */
:root[data-theme="light"] .outline { border-color: var(--line); }
:root[data-theme="light"] .outline th,
:root[data-theme="light"] .outline td { border-bottom-color: var(--line); }
:root[data-theme="light"] .outline th { background: var(--paper-2); color: var(--ember); }
:root[data-theme="light"] .outline td { color: var(--text); }

/* ---------- 地図 ---------- */
:root[data-theme="light"] .map__frame {
  border-color: var(--line);
  background: rgb(43 35 32 / .04);
}
:root[data-theme="light"] .map__facts li { color: var(--text-mute); }
:root[data-theme="light"] .map__facts b { color: var(--text); }
:root[data-theme="light"] .map__note { color: var(--text-mute); }
:root[data-theme="light"] .map__note a { color: var(--ember); }

/* ---------- フッター ---------- */
:root[data-theme="light"] .footer { border-top: 1px solid var(--line); }
:root[data-theme="light"] .footer__div { background: rgb(43 35 32 / .2); }
:root[data-theme="light"] .footer__meta { border-color: rgb(43 35 32 / .12); }
:root[data-theme="light"] .footer__org dt { color: var(--ember); }
:root[data-theme="light"] .footer__org dd,
:root[data-theme="light"] .footer__contact { color: var(--text); }
:root[data-theme="light"] .footer__contact a { color: var(--ember); }
:root[data-theme="light"] .footer__subsidy { color: var(--text-mute); }
:root[data-theme="light"] .footer__copy { color: rgb(111 100 92 / .8); }

/* ---------- モバイル ---------- */
@media (max-width: 860px) {
  :root[data-theme="light"] .site-header { background: rgb(255 253 249 / .88); }
  :root[data-theme="light"] .nav { background: rgb(255 253 249 / .98); }
  :root[data-theme="light"] .nav a { border-bottom-color: rgb(43 35 32 / .1); }
  :root[data-theme="light"] .nav__cta { color: #fff; }
}

/* 動きを減らす設定を尊重 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__embers { display: none; }
}

/* ==========================================================================
   404ページ
   ========================================================================== */
.notfound {
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
  padding: 40px clamp(20px, 6vw, 48px);
  text-align: center;
  background: var(--ink-2);
  color: var(--on-dark);
}
.notfound__mark { width: 64px; margin-bottom: 18px; }
.notfound__code {
  font-family: var(--cond); font-size: clamp(56px, 14vw, 104px); font-weight: 800;
  line-height: 1; margin: 0;
  background: linear-gradient(120deg, var(--ember), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.notfound__title { font-size: clamp(20px, 3.4vw, 28px); font-weight: 900; margin-bottom: 14px; }
.notfound__lede {
  font-size: 14px; line-height: 2; color: var(--on-dark-mute);
  margin-bottom: 30px;
}
