/* しながわ盆フェス2026
   ポスターの配色（夜空の濃紺・提灯の赤・クリーム枠・金の紋）をベースに、
   丸ピンの祭りマップ／浮かぶ切り抜き／ざらついた紙の質感でにぎやかに見せる。 */

@font-face {
  font-family: "Anton";
  src: url("/fonts/anton-subset.woff2") format("woff2");
  font-display: swap;
}

:root {
  --night: #0b0e28;
  --night-2: #151b4d;
  --indigo: #1f2a78;
  --glow: #8fc0ff;
  --red: #e2283a;
  --red-deep: #a8182a;
  --red-text: #b3172a; /* 明るい地に置く赤文字用（コントラスト4.5以上） */
  --cream: #f3e6b8;
  --paper: #fbf3dc;
  --gold: #d9b56a;
  --yellow: #ffd24d;
  --pink: #ec6fa6;
  --ink: #1b1e3a;
  --white: #fff;
  --jp: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  --en: "Anton", "Impact", "Arial Narrow Bold", sans-serif;
  --gutter: 16px;
  --dock-h: 58px;
  /* 紙のざらつき（SVGノイズ） */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-soft: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.25 0 0 0 0 0.1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--white);
  font-family: var(--jp);
  line-height: 1.7;
  font-feature-settings: "palt";
  overflow-x: hidden;
  padding-bottom: calc(var(--dock-h) + 28px + env(safe-area-inset-bottom));
}
/* 全体にうっすら紙の粒子 */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none;
  background-image: var(--grain); opacity: .16; mix-blend-mode: overlay;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 8px; box-shadow: 0 0 0 6px rgba(11, 14, 40, .85); }
/* キーボード操作で最初に出てくる「本文へスキップ」 */
.skip-link {
  position: absolute; left: 50%; top: -100px; z-index: 200;
  transform: translateX(-50%);
  padding: 10px 20px; border-radius: 0 0 10px 10px;
  background: var(--yellow); color: var(--ink); font-weight: 900; text-decoration: none;
  transition: top .15s;
}
.skip-link:focus-visible { top: 0; }
.en { font-family: var(--en); font-weight: 400; letter-spacing: .02em; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.sp { display: inline; }
@media (min-width: 900px) { .sp { display: none; } }

/* ---------- top bar ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px var(--gutter) 8px;
}
.topbar-brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 14px; text-decoration: none; white-space: nowrap;
  min-height: 44px;
}
.topbar-brand img { width: 28px; height: 28px; border-radius: 50%; }
.topbar-brand b { color: var(--yellow); margin-left: .2em; font-family: var(--en); font-weight: 400; font-size: 1.15em; }
.topbar-date { margin: 0; font-size: 13px; color: var(--cream); white-space: nowrap; }
@media (max-width: 374px) { .topbar-date { display: none; } }

/* =====================================================
   HERO：夜空の祭りマップ
   ===================================================== */
.hero { padding: 0 8px; }
.hero-stage {
  position: relative;
  height: min(158vw, 760px, 145vh);
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  background: var(--night) url("/img/sky-tall.webp") center 30% / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(143, 192, 255, .25);
}
.hero-stage::after {
  content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background-image: var(--grain); opacity: .22; mix-blend-mode: soft-light;
}
.hero-eyebrow {
  position: absolute; z-index: 4; left: 0; right: 0; top: 14px; margin: 0;
  text-align: center; font-size: 14px; letter-spacing: .28em; color: var(--glow);
}
.hero-kicker {
  position: absolute; z-index: 4; left: 50%; top: 40px; margin: 0;
  transform: translateX(-50%);
  padding: 3px 14px; white-space: nowrap;
  border: 1px solid var(--gold); border-radius: 999px;
  background: rgba(11, 14, 40, .65);
  font-weight: 800; font-size: 13px; letter-spacing: .08em; color: var(--cream);
}
.hero-kicker b { font-size: 1.35em; color: var(--white); margin: 0 .08em; }

/* 提灯：上の金具を支点にゆらゆら */
.hero-lantern {
  position: absolute; z-index: 2; margin: 0;
  left: 50%; top: 13%;
  width: 43%;
  transform: translateX(-50%);
}
.hero-lantern img {
  width: 100%;
  transform-origin: 50% 0;
  animation: swing 5.5s ease-in-out infinite;
  filter: drop-shadow(0 0 28px rgba(255, 120, 60, .45));
}
@keyframes swing {
  0%, 100% { transform: rotate(-2.2deg); }
  50% { transform: rotate(2.2deg); }
}

.hero-horse { position: absolute; z-index: 1; opacity: .9; animation: drift 9s ease-in-out infinite; }
.hero-horse--l { width: 46%; left: -10%; top: 34%; }
.hero-horse--r { width: 50%; right: -12%; top: 6%; animation-delay: -4s; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(8px, -10px); }
}

.hero-dancer { position: absolute; z-index: 3; animation: bob 2.8s ease-in-out infinite; }
.hero-dancer--a { width: 14%; left: 26%; top: 44%; }
.hero-dancer--b { width: 13%; right: 25%; top: 54%; animation-delay: -1s; }
.hero-dancer--c { width: 11%; left: 30%; top: 64%; animation-delay: -1.8s; }
.hero-cat { position: absolute; z-index: 3; width: 16%; right: 22%; top: 65%; animation: bob 2.2s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

/* 丸ピン */
.pins { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.pin {
  --size: 20vw;
  position: absolute; pointer-events: auto;
  display: flex; flex-direction: column; align-items: center;
  text-decoration: none;
  animation: float 3.6s ease-in-out infinite;
}
.pin-label {
  order: -1; margin-bottom: 4px; padding: 1px 8px;
  font-size: 12px; font-weight: 900; letter-spacing: .04em; white-space: nowrap;
  border-radius: 999px; background: rgba(11, 14, 40, .72);
}
.pin-img {
  position: relative;
  width: var(--size); height: var(--size); max-width: 124px; max-height: 124px;
  border-radius: 50%;
  border: 3px solid var(--white);
  background: var(--yellow);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .45);
  transition: transform .25s;
}
.pin-img > img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
/* ピンのしっぽ */
.pin-img::after {
  content: ""; position: absolute; left: 50%; bottom: -11px; transform: translateX(-50%);
  border: 8px solid transparent; border-top: 10px solid var(--white); border-bottom: 0;
}
.pin:hover .pin-img, .pin:focus-visible .pin-img { transform: scale(1.08); }
.pin:focus-visible { outline: none; }
.pin:focus-visible .pin-img { outline: 3px solid var(--yellow); outline-offset: 3px; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
.pin--chara  { left: 3%;  top: 16%; }
.pin--guest  { right: 3%; top: 22%; animation-delay: -.6s; }
.pin--guest .pin-img { background: #6aa0c8; }
.pin--bon    { left: 2%;  top: 43%; animation-delay: -1.2s; }
.pin--food   { right: 2%; top: 47%; animation-delay: -1.8s; }
.pin--stage  { left: 5%;  top: 69%; animation-delay: -2.4s; }
.pin--illumi { right: 4%; top: 71%; animation-delay: -3s; }

.hero-where {
  position: absolute; z-index: 4; left: 50%; bottom: 12px; margin: 0;
  transform: translateX(-50%);
  display: flex; align-items: baseline; gap: 10px; white-space: nowrap;
  padding: 2px 14px; border-radius: 999px; background: rgba(11, 14, 40, .8);
  font-size: 14px;
}
.hero-where b { font-weight: 900; }
.hero-where .en { font-size: 17px; color: var(--yellow); }
.hero-datechip {
  position: absolute; z-index: 4; left: 50%; bottom: 46px; margin: 0;
  transform: translateX(-50%) rotate(-2deg);
  display: flex; align-items: baseline; gap: 4px; white-space: nowrap;
  padding: 4px 16px 2px;
  background: var(--yellow); color: var(--ink);
  border-radius: 8px;
  box-shadow: 0 4px 0 rgba(0, 0, 0, .35);
}
.hero-datechip .en { font-size: 30px; line-height: 1.1; }
.hero-datechip small { font-weight: 900; font-size: 14px; }
.hero-datechip .arrow { font-size: 22px; margin: 0 6px; color: var(--red); }

@media (min-width: 900px) {
  .hero { padding: 0 16px; }
  .hero-stage {
    height: clamp(620px, 86vh, 840px);
    max-width: 1400px; margin: 0 auto;
    border-radius: 32px;
    background-image: url("/img/sky-wide.webp");
    background-position: center 40%;
  }
  .hero-eyebrow { top: 22px; font-size: 18px; }
  .hero-kicker { top: 54px; font-size: 15px; }
  .hero-lantern { width: auto; height: 80%; top: 12%; }
  .hero-lantern img { width: auto; height: 100%; }
  .hero-horse--l { width: 30%; left: 4%; top: 30%; }
  .hero-horse--r { width: 30%; right: 3%; top: 2%; }
  .hero-dancer--a { width: 7.5%; left: 29%; top: 38%; }
  .hero-dancer--b { width: 7%; right: 29%; top: 46%; }
  .hero-dancer--c { width: 6%; left: 33%; top: 64%; }
  .hero-cat { width: 8.5%; right: 30%; top: 68%; }
  .pin { --size: 124px; }
  .pin-label { font-size: 14px; }
  .pin--chara  { left: 12%; top: 14%; }
  .pin--guest  { right: 13%; top: 30%; }
  .pin--bon    { left: 6%;  top: 46%; }
  .pin--food   { right: 5%; top: 56%; }
  .pin--stage  { left: 20%; top: 66%; }
  .pin--illumi { right: 21%; top: 72%; }
  .hero-datechip { bottom: 74px; padding: 6px 24px 4px; }
  .hero-where { bottom: 20px; font-size: 17px; padding: 3px 18px; }
  .hero-where .en { font-size: 21px; }
  .hero-datechip .en { font-size: 44px; }
  .hero-datechip small { font-size: 18px; }
}

/* 横向きの端末（画面が低い）：PCと同じ組み方にして1画面に収める */
@media (orientation: landscape) and (max-height: 560px) {
  .hero-stage { height: calc(100vh - 86px); }
  .hero-lantern { width: auto; height: 78%; top: 14%; }
  .hero-lantern img { width: auto; height: 100%; }
  .hero-horse--l { width: 26%; left: 2%; top: 28%; }
  .hero-horse--r { width: 26%; right: 2%; top: 2%; }
  .hero-dancer--a { width: 7%; left: 30%; top: 36%; }
  .hero-dancer--b { width: 6.5%; right: 30%; top: 44%; }
  .hero-dancer--c { width: 5.5%; left: 34%; top: 62%; }
  .hero-cat { width: 8%; right: 31%; top: 64%; }
  .pin { --size: 84px; }
  .pin--chara  { left: 10%; top: 12%; }
  .pin--guest  { right: 11%; top: 26%; }
  .pin--bon    { left: 4%;  top: 44%; }
  .pin--food   { right: 3%; top: 52%; }
  .pin--stage  { left: 18%; top: 64%; }
  .pin--illumi { right: 19%; top: 68%; }
  /* 日付は左に寄せる（ナビは右へ。指定はファイル末尾） */
  .hero-datechip { left: 20px; bottom: 54px; transform: rotate(-2deg); }
  .hero-datechip .en { font-size: 32px; }
  .hero-where { left: 20px; bottom: 14px; transform: none; }
}

/* =====================================================
   交差するテープ（マーキー）
   ===================================================== */
.tapes { position: relative; height: 118px; margin: -26px 0 0; overflow: hidden; z-index: 6; pointer-events: none; }
.tape-band {
  position: absolute; left: -5%; width: 110%;
  padding: 9px 0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .35);
}
.tape-band--red { top: 30px; background: var(--red); transform: rotate(-3deg); }
.tape-band--cream { top: 58px; background: var(--cream); color: var(--ink); transform: rotate(2.5deg); }
.tape-track {
  display: flex; align-items: center; gap: 18px; width: max-content;
  font-weight: 900; font-size: 17px; white-space: nowrap;
  animation: marquee 32s linear infinite;
}
.tape-track .en { font-size: 20px; }
.tape-track i { font-style: normal; color: var(--yellow); }
.tape-band--cream .tape-track i { color: var(--red); }
.tape-track--rev { animation-direction: reverse; animation-duration: 38s; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =====================================================
   ABOUT
   ===================================================== */
.about { padding: 28px var(--gutter) 40px; max-width: 1080px; margin: 0 auto; }
.about-lead {
  margin: 0 0 32px; text-align: center;
  font-size: 16px; font-weight: 700; line-height: 2;
}
.about-lead em { font-style: normal; color: var(--yellow); }
.about-card {
  position: relative;
  padding: 28px 20px 26px;
  background: var(--paper) var(--grain-soft);
  color: var(--ink);
  border-radius: 22px;
  box-shadow: 0 0 0 6px var(--red), 0 0 0 9px var(--cream), 0 18px 40px rgba(0, 0, 0, .45);
}
.stamp {
  position: absolute; right: 14px; top: -22px;
  display: grid; place-items: center;
  width: 78px; height: 78px; border-radius: 50%;
  background: var(--red); color: var(--white);
  font-weight: 900; font-size: 15px; line-height: 1.2; text-align: center;
  box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--red);
  transform: rotate(12deg);
}
.about-year { margin: 0; font-size: 26px; line-height: 1; color: var(--red-text); }
.about-days { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 0 8px; margin: 4px 0 0; }
.about-days p { margin: 0; }
.day { display: flex; align-items: flex-end; gap: 4px; }
.day .md { font-size: 68px; line-height: .95; letter-spacing: -.01em; }
.day .wd {
  display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 6px;
  border-radius: 50%; background: var(--ink); color: var(--cream); font-weight: 900; font-size: 17px;
}
.day-arrow { font-size: 34px; color: var(--red); margin-bottom: 10px !important; }
.about-time { margin: 10px 0 0; font-weight: 800; font-size: 16px; }
.about-time .en { font-size: 30px; margin-left: 6px; }
.about-facts { margin: 18px 0 0; display: grid; gap: 10px; }
.about-facts div { display: grid; grid-template-columns: 3.4em 1fr; gap: 10px; align-items: baseline; }
.about-facts dt {
  text-align: center; font-weight: 900; font-size: 14px;
  background: var(--ink); color: var(--cream); border-radius: 6px; padding: 1px 0;
}
.about-facts dd { margin: 0; font-size: 15px; }
.about-facts b { font-size: 17px; }
.about-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 26px; border-radius: 999px;
  font-weight: 900; text-decoration: none; letter-spacing: .06em;
  transition: transform .15s, box-shadow .15s;
}
.btn--red { background: var(--red); color: var(--white); box-shadow: 0 5px 0 var(--red-deep); }
.btn--red:hover { transform: translateY(3px); box-shadow: 0 2px 0 var(--red-deep); }
.btn--ghost { border: 2px solid currentColor; }
.btn--ghost:hover { transform: translateY(-2px); }
.btn--small { min-height: 44px; padding: 0 20px; font-size: 14px; }

@media (min-width: 900px) {
  .about { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; padding: 48px 32px 72px; }
  .about-lead { text-align: left; font-size: 19px; margin: 0; }
  .about-card { padding: 40px 40px 34px; }
  .stamp { width: 96px; height: 96px; font-size: 18px; right: 28px; top: -30px; }
  .day .md { font-size: 104px; }
  .day .wd { width: 44px; height: 44px; font-size: 21px; margin-bottom: 12px; }
  .day-arrow { font-size: 48px; }
  .about-time .en { font-size: 40px; }
}

/* =====================================================
   PROGRAM 共通
   ===================================================== */
.big-title {
  margin: 0 0 28px; text-align: center; line-height: 1;
}
.big-title .en {
  display: block; font-size: clamp(64px, 20vw, 150px);
  color: transparent; -webkit-text-stroke: 2px var(--cream);
  letter-spacing: .04em;
}
.big-title small { display: inline-block; margin-top: 10px; font-size: 18px; font-weight: 900; letter-spacing: .3em; color: var(--yellow); }

.program-intro { padding: 40px var(--gutter) 24px; }
.emblem-row {
  list-style: none; margin: 0 auto; padding: 0; max-width: 900px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 8px;
}
.emblem-row a { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; font-weight: 800; font-size: 13px; }
.emblem-row img {
  width: 76px; height: 76px; border-radius: 50%;
  box-shadow: 0 0 0 3px var(--gold), 0 8px 20px rgba(0, 0, 0, .4);
  transition: transform .25s;
}
.emblem-row a:hover img { transform: rotate(-10deg) scale(1.08); }
@media (min-width: 900px) {
  .emblem-row { grid-template-columns: repeat(6, 1fr); }
  .emblem-row img { width: 96px; height: 96px; }
  .emblem-row a { font-size: 15px; }
}

.prog { position: relative; margin: 28px 8px 0; padding: 56px var(--gutter) 40px; border-radius: 28px; overflow: hidden; isolation: isolate; }
.prog::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--grain); opacity: .25; mix-blend-mode: overlay;
}
@media (min-width: 900px) {
  .prog { max-width: 1400px; margin: 36px auto 0; padding: 80px 48px 56px; border-radius: 36px; }
  .prog-wrap { margin: 0 16px; }
}
.prog-head { position: relative; text-align: center; margin-bottom: 24px; }
.prog-no {
  display: block; font-size: 22px; line-height: 1; letter-spacing: .1em; opacity: .75; margin-bottom: 8px;
}
.prog-head h3 { margin: 0; font-size: clamp(26px, 7.4vw, 48px); line-height: 1.3; font-weight: 900; letter-spacing: .02em; }
.prog-sub { margin: 0 0 4px; font-weight: 900; font-size: 16px; letter-spacing: .2em; }
.prog-note { margin: 12px 0 0; font-weight: 700; font-size: 15px; }
.star { color: var(--yellow); margin: 0 .08em; }
.guest-name { display: block; }
.prog--guest .star { display: block; font-size: .62em; line-height: 1.1; }
.datetape {
  display: inline-block; margin-bottom: 12px;
  padding: 3px 18px;
  background: var(--yellow); color: var(--ink);
  font-weight: 900; font-size: 22px;
  transform: rotate(-4deg);
  clip-path: polygon(3% 0, 100% 0, 97% 50%, 100% 100%, 0 100%, 3% 50%);
}
.datetape small { font-size: 14px; }

/* ---------- 01 キャラ盆：浮かぶキャラたち ---------- */
.prog--chara {
  background:
    radial-gradient(120% 70% at 50% 110%, rgba(236, 111, 166, .35), transparent 60%),
    linear-gradient(180deg, #2b3aa8 0%, #1a2270 100%);
}
.chara-field { position: relative; height: 128vw; max-height: 620px; margin: 0 auto; max-width: 1100px; }
.chara-yagura { position: absolute; left: 50%; top: 0; width: 96%; transform: translateX(-50%); }
.chara { position: absolute; animation: bob 2.6s ease-in-out infinite; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .35)); }
.chara.c1 { width: 34%; left: 0;   top: 22%; }
.chara.c2 { width: 28%; right: 2%; top: 18%; animation-delay: -.7s; }
.chara.c3 { width: 33%; left: 33%; top: 30%; animation-delay: -1.3s; }
.chara.c4 { width: 26%; left: 6%;  top: 62%; animation-delay: -1.9s; }
.chara.c5 { width: 20%; left: 40%; top: 64%; animation-delay: -.4s; }
.chara.c6 { width: 32%; right: 0;  top: 58%; animation-delay: -1.1s; }
.chara.c4 { filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 14px rgba(255, 255, 255, .7)); }
.credit { margin: 8px 0 0; text-align: right; font-size: 12px; opacity: .8; }
@media (min-width: 900px) {
  .chara-field { height: 560px; }
  .chara-yagura { width: 70%; }
  .chara.c1 { width: 17%; left: 2%;  top: 26%; }
  .chara.c2 { width: 14%; left: 20%; top: 40%; }
  .chara.c3 { width: 17%; left: 41%; top: 36%; }
  .chara.c4 { width: 14%; left: 61%; top: 50%; }
  .chara.c5 { width: 10%; left: 76%; top: 36%; }
  .chara.c6 { width: 15%; right: 1%; top: 30%; }
}

/* ---------- 02 ゲスト：紅白枠の紙＋ポラロイド ---------- */
.prog--guest { padding: 10px; background: repeating-linear-gradient(45deg, var(--red) 0 14px, var(--white) 14px 28px); }
.guest-paper { position: relative; padding: 44px 16px 36px; border-radius: 20px; background: var(--paper) var(--grain-soft); color: var(--ink); }
.prog--guest h3 { color: #1f3a9e; }
.prog--guest .star { color: var(--red); }
.polaroids { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 760px; margin: 0 auto; }
.polaroid {
  margin: 0; padding: 8px 8px 12px; background: var(--white);
  box-shadow: 0 10px 24px rgba(27, 30, 58, .25);
}
.polaroid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.polaroid figcaption { margin-top: 8px; text-align: center; font-weight: 900; font-size: 14px; line-height: 1.3; }
.polaroid figcaption .en { font-size: 1.15em; margin-left: .15em; }
.polaroid--l { transform: rotate(-4deg); }
.polaroid--r { transform: rotate(3deg) translateY(18px); }
.polaroid::before {
  content: ""; position: absolute; left: 50%; top: -10px; width: 70px; height: 22px;
  background: rgba(255, 210, 77, .85); transform: translateX(-50%) rotate(-3deg);
}
.polaroid { position: relative; }
@media (min-width: 900px) {
  .prog--guest { padding: 16px; }
  .guest-paper { padding: 64px 48px 64px; }
  .polaroids { gap: 40px; }
  .polaroid { padding: 12px 12px 16px; }
  .polaroid figcaption { font-size: 18px; }
}

/* ---------- 03 盆踊り：丸枠から飛び出す踊り手 ---------- */
.prog--bon { background: linear-gradient(180deg, #0f1440, #1b1f5c); }
.pops {
  list-style: none; margin: 0 auto; padding: 56px 0 0; max-width: 900px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.pop { position: relative; aspect-ratio: 1; }
.pop::before { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .9); }
.pop--red::before { background: var(--red); }
.pop--indigo::before { background: #3a56d4; }
.pop--cream::before { background: var(--cream); }
/* 円の中心より上は枠の外まで見せ、下は円で切る */
.pop img {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto;
  width: 100%; height: 150%; object-fit: contain; object-position: 50% 28%;
  -webkit-mask:
    linear-gradient(#000 0 0) top / 100% 66.7% no-repeat,
    radial-gradient(closest-side, #000 98%, transparent 100%) bottom / 100% 66.7% no-repeat;
          mask:
    linear-gradient(#000 0 0) top / 100% 66.7% no-repeat,
    radial-gradient(closest-side, #000 98%, transparent 100%) bottom / 100% 66.7% no-repeat;
  transition: transform .3s;
}
.pop:hover img { transform: translateY(-6px); }
.prog--bon .prog-note { display: inline-block; padding: 2px 14px; border-radius: 4px; background: var(--cream); color: var(--ink); letter-spacing: .3em; }
/* 熊本は横長で大きく、高知と藤沢を下に並べる（PCでは3枚横並び） */
.bon-photos {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px 12px; margin: 36px auto 0; max-width: 1000px;
}
.region { position: relative; margin: 0; }
.region img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; border: 3px solid var(--white); }
.region--kumamoto { grid-column: span 2; }
.region--kumamoto img { aspect-ratio: 3 / 2; object-position: 70% 50%; }
.region--kochi img { object-position: 40% 50%; }
.region figcaption {
  position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%) rotate(-3deg);
  padding: 2px 16px; background: var(--yellow); color: var(--ink);
  font-weight: 900; font-size: 17px; letter-spacing: .15em; white-space: nowrap;
  box-shadow: 0 4px 0 rgba(0, 0, 0, .3);
}
@media (min-width: 900px) {
  .pops { gap: 40px; padding-top: 150px; max-width: 820px; }
  .bon-photos { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .region--kumamoto { grid-column: auto; }
  .region--kumamoto img { aspect-ratio: 3 / 4; }
  .region figcaption { font-size: 20px; }
}

/* ---------- 04 屋台：散らばったスナップ ---------- */
.prog--food { background: var(--cream) var(--grain-soft); color: var(--ink); }
.prog--food h3 { color: var(--red); }
.prog--food .prog-note { display: inline-block; padding: 2px 12px; background: var(--ink); color: var(--cream); border-radius: 4px; font-size: 14px; }
.collage { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 12px; max-width: 1000px; margin: 0 auto; }
.snap { margin: 0; padding: 6px; background: var(--white); box-shadow: 0 10px 20px rgba(27, 30, 58, .2); }
.snap img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.snap.s1 { grid-column: span 2; transform: rotate(-2deg); }
.snap.s1 img { aspect-ratio: 3 / 2; }
.snap.s2 { transform: rotate(3deg); }
.snap.s3 { transform: rotate(-3deg) translateY(10px); }
.snap.s3 img { object-position: 50% 40%; }
.snap.s4 { transform: rotate(2deg); }
.snap.s5 { transform: rotate(-2deg) translateY(8px); }
@media (min-width: 900px) {
  .collage { grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
  .snap { padding: 10px; }
  .snap.s1 { grid-column: 1; grid-row: span 2; }
  .snap.s1 img { aspect-ratio: auto; height: 100%; }
  .snap:hover { transform: rotate(0) scale(1.03); transition: transform .3s; z-index: 1; }
}

/* ---------- 05 ステージ：スポットライト ---------- */
.prog--stage {
  background:
    radial-gradient(40% 60% at 20% 0%, rgba(255, 255, 255, .25), transparent 70%),
    radial-gradient(40% 60% at 80% 0%, rgba(255, 210, 77, .25), transparent 70%),
    linear-gradient(180deg, var(--red) 0%, #9e1426 100%);
}
.stage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 1100px; margin: 0 auto; }
.stage-card { position: relative; margin: 0; }
.stage-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; border: 3px solid var(--white); }
.stage-card--main { grid-column: span 2; }
.stage-card--main img { aspect-ratio: 3 / 2; }
.stage-card figcaption {
  position: absolute; left: 10px; bottom: -12px;
  padding: 2px 12px; background: var(--yellow); color: var(--ink);
  font-weight: 900; font-size: 14px; transform: rotate(-3deg);
  box-shadow: 0 4px 0 rgba(0, 0, 0, .25);
}
.stage-card figcaption small { font-size: 12px; }
@media (min-width: 900px) {
  .stage-grid { grid-template-columns: 1.6fr 1fr; grid-template-rows: auto auto; gap: 24px; }
  .stage-card--main { grid-column: 1; grid-row: span 2; }
  .stage-card--main img { height: 100%; aspect-ratio: auto; }
  .stage-card figcaption { font-size: 18px; left: 16px; }
}

/* ---------- 06 メガイルミ＋ツナグルマ ---------- */
.prog--illumi { background: radial-gradient(80% 60% at 50% 30%, #2a2f7a, var(--night) 70%); }
.prog--illumi .prog-sub { color: var(--glow); }
.prog--illumi h3 { text-shadow: 0 0 18px rgba(255, 210, 77, .65); }
.illumi-frame { max-width: 900px; margin: 0 auto; border-radius: 24px; padding: 6px; background: linear-gradient(135deg, var(--yellow), var(--pink), var(--glow)); box-shadow: 0 0 40px rgba(255, 210, 77, .35); }
.illumi-link { margin: 20px 0 0; text-align: center; }
.illumi-frame img { width: 100%; border-radius: 19px; aspect-ratio: 3 / 2; object-fit: cover; }
.tsuna { position: relative; display: grid; gap: 8px; align-items: center; margin: 40px auto 0; max-width: 1000px; }
.tsuna img { width: min(460px, 94%); margin: 0 auto; animation: drift 7s ease-in-out infinite; filter: drop-shadow(0 0 30px rgba(255, 190, 90, .35)); }
.tsuna-copy {
  margin: 0; display: flex; justify-content: center;
  text-align: center; font-weight: 900; line-height: 1.4;
}
.tsuna-copy span {
  display: block; font-size: clamp(20px, 5.6vw, 26px);
  padding: 6px 16px; border: 2px solid var(--white); border-radius: 8px;
  letter-spacing: .04em;
}
.tsuna-copy b { color: var(--yellow); }
@media (min-width: 900px) {
  .tsuna { grid-template-columns: auto 1fr; gap: 32px; }
  .tsuna-copy { writing-mode: vertical-rl; justify-content: center; }
  .tsuna-copy span { font-size: 32px; padding: 16px 8px; letter-spacing: .12em; }
}

/* =====================================================
   TICKET
   ===================================================== */
.ticket { padding: 72px var(--gutter) 24px; max-width: 980px; margin: 0 auto; }
.ticket-card {
  position: relative; display: grid; grid-template-columns: 1fr 64px;
  background: var(--paper) var(--grain-soft); color: var(--ink);
  border-radius: 18px;
  /* 左右の半円の切り欠き */
  -webkit-mask: radial-gradient(circle 14px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 14px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 14px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 14px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .4);
}
.ticket-main { padding: 26px 18px 22px 24px; }
.ticket-lead { margin: 0 0 16px; font-weight: 800; font-size: 16px; }
.ticket-lead b { color: var(--red-text); font-size: 1.15em; }
.price { width: 100%; border-collapse: collapse; }
.price th, .price td { padding: 10px 4px; border-bottom: 2px dashed rgba(27, 30, 58, .2); text-align: center; }
.price thead th { font-size: 13px; letter-spacing: .15em; }
.price tbody th { text-align: left; font-size: 16px; }
.price tbody th small { display: block; font-size: 12px; font-weight: 600; }
.price td { font-weight: 900; font-size: 14px; }
.price td .en { font-size: 28px; margin-right: 2px; }
.price tbody tr:last-child th, .price tbody tr:last-child td { border-bottom: 0; }
.ticket-free { margin: 12px 0 0; font-weight: 800; }
.ticket-cta { margin: 20px 0 0; }
.ticket-cta .btn { width: 100%; flex-direction: column; gap: 0; padding: 10px 20px; min-height: 60px; line-height: 1.25; }
.ticket-cta .btn small { font-size: 12px; font-weight: 700; opacity: .9; letter-spacing: .02em; }
.ticket-notes { list-style: none; margin: 14px 0 0; padding: 0; font-size: 13px; line-height: 1.6; }
.ticket-notes li { position: relative; padding-left: 1.1em; margin-bottom: 4px; }
.ticket-notes li::before { content: "※"; position: absolute; left: 0; }
.ticket-free b { color: var(--red-text); font-size: 1.3em; }
.ticket-stub {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 14px;
  background: var(--red); color: var(--white);
  border-left: 3px dashed var(--paper);
  font-size: 17px; letter-spacing: .12em; padding: 22px 0;
}
.ticket-stub span { writing-mode: vertical-rl; }
.ticket-stub span:first-child { color: var(--yellow); }
@media (min-width: 900px) {
  .ticket-card { grid-template-columns: 1fr 110px; }
  .ticket-main { padding: 40px 48px; }
  .ticket-lead { font-size: 20px; }
  .price th, .price td { padding: 14px 8px; }
  .price tbody th { font-size: 20px; }
  .price td .en { font-size: 42px; }
  .ticket-stub { font-size: 26px; gap: 28px; }
}

/* =====================================================
   ACCESS
   ===================================================== */
.access { padding: 72px var(--gutter) 24px; max-width: 1080px; margin: 0 auto; }
.access-grid { display: grid; gap: 22px; }
.venue { margin: 0 0 16px; }
.venue b { display: block; font-size: 30px; line-height: 1.2; }
.venue span { font-size: 15px; opacity: .9; }
.routes { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.route {
  padding: 14px 16px; border-radius: 14px; background: var(--night-2);
  font-size: 15px; box-shadow: inset 6px 0 0 var(--c, var(--red));
}
.route--keikyu { --c: var(--red); }
.route--mono { --c: #2f7fe0; }
.route .line { display: block; font-size: 12px; font-weight: 800; color: var(--glow); }
.route .st { font-weight: 900; font-size: 18px; margin-right: .2em; }
.route b { font-size: 30px; margin: 0 .1em; color: var(--yellow); }
.caution { margin: 14px 0 0; font-size: 14px; }
.map { margin: 0; padding: 8px; background: var(--white); border-radius: 18px; transform: rotate(1.2deg); box-shadow: 0 16px 34px rgba(0, 0, 0, .4); }
.map img { width: 100%; border-radius: 12px; }
@media (min-width: 900px) {
  .access-grid { grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
  .venue b { font-size: 40px; }
}
.contact {
  margin: 40px 0 0; padding: 22px 20px; border-radius: 18px;
  border: 2px solid rgba(143, 192, 255, .35); text-align: center;
}
.contact h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: .2em; color: var(--cream); }
.contact p { margin: 0 0 16px; font-size: 14px; }

/* =====================================================
   CREDITS
   ===================================================== */
.credits {
  background: var(--white); color: var(--ink);
  border-radius: 22px;
  margin: 48px 8px 0; padding: 24px 16px;
}
.credits dl { margin: 0; display: grid; gap: 22px; }
.credit-row { display: grid; gap: 10px; }
.credit-row dt { font-weight: 900; font-size: 17px; letter-spacing: .2em; border-bottom: 2px solid var(--ink); padding-bottom: 4px; }
.credit-row dd { margin: 0; }
.organizer { font-weight: 800; font-size: 17px; letter-spacing: .06em; }
.organizer span { display: inline-block; }
.logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; }
.logos img { width: auto; height: auto; max-height: 40px; max-width: 128px; }
.logos li.txt { font-weight: 800; font-size: 15px; }
/* ドン・キホーテのロゴはガイドライン準拠：デジタル最小幅110px、周囲にロゴ高さの1/2のアイソレーション */
.logos .logo-donki { padding: 11px; }
.logos .logo-donki img { min-width: 110px; max-width: 132px; max-height: none; }
.coop { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; }
@media (min-width: 900px) {
  .credits { max-width: 1080px; margin: 64px auto 0; padding: 32px; }
  .credit-row { grid-template-columns: 4em 1fr; align-items: start; }
  .credit-row dt { border: 0; padding: 0; }
  .logos { justify-content: flex-start; }
  .logos img { max-height: 50px; max-width: 170px; }
  .logos .logo-donki { padding: 15px; }
  .logos .logo-donki img { max-width: 176px; }
}

/* ---------- footer ---------- */
.site-footer { text-align: center; padding: 40px 16px 24px; font-size: 14px; }
.footer-cat { width: 110px; margin: 0 auto 10px; animation: bob 2.4s ease-in-out infinite; }
.footer-title { font-weight: 900; font-size: 18px; margin: 0 0 4px; }
.footer-title .en { color: var(--yellow); margin-left: .2em; font-size: 1.15em; }
.site-footer p { margin: 0 0 4px; }
.site-footer .small { font-size: 12px; opacity: .7; }

/* =====================================================
   画面下に浮かぶナビ
   ===================================================== */
.dock {
  position: fixed; z-index: 50; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: flex; gap: 2px; padding: 5px;
  height: var(--dock-h);
  border-radius: 999px;
  background: rgba(11, 14, 40, .82);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(243, 230, 184, .3), 0 10px 30px rgba(0, 0, 0, .5);
}
.dock a {
  display: grid; place-items: center; min-width: 72px; padding: 0 14px;
  border-radius: 999px; text-decoration: none;
  font-weight: 800; font-size: 13px; white-space: nowrap; color: var(--cream);
  transition: background .25s, color .25s;
}
.dock a .en { font-size: 16px; letter-spacing: .08em; }
.dock a.is-active { background: var(--cream); color: var(--ink); }
@media (max-width: 360px) { .dock a { min-width: 0; padding: 0 11px; font-size: 12px; } }

/* 画面外に出たセクションのアニメーションは止める（main.js が .is-offscreen を付ける） */
.is-offscreen, .is-offscreen * { animation-play-state: paused !important; }

/* 横向きの端末では下のナビを右に寄せ、左下の日付と重ならないようにする
   （.dock の基本指定より後に書く必要がある） */
@media (orientation: landscape) and (max-height: 560px) {
  .dock { left: auto; right: 12px; transform: none; }
}

/* =====================================================
   スクロールで出てくる（JSがある時だけ）
   ===================================================== */
.js [data-reveal] { opacity: 0; translate: 0 28px; transition: opacity .7s ease, translate .7s cubic-bezier(.2, .8, .2, 1); }
.js [data-reveal].is-in { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; translate: none; }
}
