/* =========================================================
   全道文化祭 ZENDO BUNKASAI 2026 — sponsor LP
   Design language: GUTS new site (calm snow-white, big latin
   headings + small Japanese sub, soft UI, mask reveals)
   Brand accent: the aurora gradient of the Hokkaido map
   ========================================================= */

:root {
  --bg: #f6f6f3;
  --mat: #ececE8;
  --ink: #101418;
  --navy: #0e1c40;
  --ink-2: #3b4147;
  --sub: #9ca3a8;
  --line: #d9d9d5;
  --white: #fff;
  --shadow-d: #dcdcd9;
  --grad: linear-gradient(90deg, #1e9bff 0%, #9b4dff 38%, #ff2d8f 70%, #ffb21a 100%);
  --grad-d: linear-gradient(135deg, #1e9bff 0%, #9b4dff 38%, #ff2d8f 70%, #ffb21a 100%);
  --pink: #ff2d8f;

  --f-en: "Outfit", "Noto Sans JP", sans-serif;
  --f-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;

  --gutter: clamp(20px, 6vw, 88px);
  --max: 1280px;
  --ease: cubic-bezier(.24, .13, .26, 1.01);
  --ease-out: cubic-bezier(.215, .61, .355, 1);
  --soft: 3px 3px 6px var(--shadow-d), -3px -3px 6px var(--white);
  --soft-l: 8px 8px 18px var(--shadow-d), -8px -8px 18px var(--white);
  --soft-in: inset 2px 2px 4px var(--shadow-d), inset -2px -2px 4px var(--white);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-ja); font-size: 15px; line-height: 2; letter-spacing: .02em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  font-feature-settings: "palt";
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
table { border-collapse: collapse; }
h1, h2, h3, p, li, dd, td, th { word-break: auto-phrase; }
h1, h2, h3, .lead, .lead-l, p { text-wrap: pretty; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sect { padding-block: clamp(96px, 12vw, 176px); position: relative; overflow-x: clip; }
.sect--mat { background: var(--mat); }
.sect--tight { padding-block: clamp(72px, 9vw, 128px); }
.sect > .container { position: relative; z-index: 1; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.split__side { position: sticky; top: 140px; }
.sect-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(48px, 6vw, 80px); }
.sect-head .lead { margin-top: 0; max-width: 460px; }
.sect-head--center { justify-content: center; text-align: center; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: normal; }
.note { margin-top: 28px; font-size: 11.5px; line-height: 1.9; color: var(--sub); }
.note--center { text-align: center; }
.lead { margin-top: 28px; font-size: 14.5px; font-weight: 500; line-height: 2.1; color: var(--ink-2); }
.lead-l { margin: 36px 0 clamp(48px, 6vw, 80px); font-size: clamp(24px, 3vw, 40px); font-weight: 700; line-height: 1.6; }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); flex: none; }

/* ---------- Opening ---------- */
.opening {
  position: fixed; inset: 0; z-index: 100; background: #0b0b14; overflow: hidden;
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.1s cubic-bezier(.77, 0, .18, 1);
}
.opening.is-leaving { clip-path: inset(0 0 100% 0); pointer-events: none; }
.opening__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.opening__still { display: none; }
.opening.is-fallback video { display: none; }
.opening.is-fallback .opening__still { display: block; animation: kenburns 7s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.18) translate(3%, 2%); } to { transform: scale(1.02); } }
.opening__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 24, .6) 0%, rgba(8, 8, 24, .15) 55%, transparent 75%),
    linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .5) 100%);
}
.opening__copy { position: absolute; left: var(--gutter); bottom: 14vh; color: #fff; }
.opening__eyebrow { font-family: var(--f-en); font-size: 14px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; opacity: 0; animation: fadeIn .8s .5s ease forwards; }
.opening__title { margin-top: 14px; font-size: clamp(38px, 6.4vw, 92px); font-weight: 700; line-height: 1.22; letter-spacing: -.01em; }
.opening__title .line { display: block; overflow: hidden; }
.opening__title .line > span { display: inline-block; transform: translateY(105%); animation: lineUp 1.1s var(--ease) forwards; }
.opening__title .line:nth-child(1) > span { animation-delay: 1s; }
.opening__title .line:nth-child(2) > span { animation-delay: 1.15s; }
.opening__title .line:nth-child(3) > span { animation-delay: 1.3s; }
@keyframes lineUp { to { transform: none; } }
@keyframes fadeIn { to { opacity: 1; } }
.opening__skip {
  position: absolute; right: var(--gutter); top: 28px; display: inline-flex; align-items: center; gap: 12px;
  height: 44px; padding: 0 22px; border-radius: 30px; color: #fff;
  font-family: var(--f-en); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(255, 255, 255, .12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); transition: background .3s;
}
.opening__skip i { width: 18px; height: 1px; background: currentColor; position: relative; }
.opening__skip i::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid; border-right: 1px solid; transform: rotate(45deg); }
.opening__skip:hover { background: rgba(255, 255, 255, .25); }
.opening__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .12); }
.opening__bar span { display: block; height: 100%; width: 0; background: var(--grad); }
.opening__note { position: absolute; right: var(--gutter); bottom: 16px; color: rgba(255, 255, 255, .7); font-size: 11px; }
.opening__confetti { position: absolute; inset: 0; pointer-events: none; }
.opening__confetti i { position: absolute; top: -20px; width: 8px; height: 12px; border-radius: 2px; animation: fall linear infinite; }
@keyframes fall { to { transform: translate3d(var(--dx, 40px), 110vh, 0) rotate(720deg); } }

/* ---------- Cursor (pointer devices) ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: block; position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none;
    width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--grad);
    transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), opacity .3s;
    opacity: 0; mix-blend-mode: multiply;
  }
  .cursor.is-on { opacity: .9; }
  .cursor.is-hover { width: 44px; height: 44px; margin: -22px 0 0 -22px; opacity: .35; }
}

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px var(--gutter); pointer-events: none;
}
.header > * { pointer-events: auto; }
.header__logo { display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 22px 0 14px; border-radius: 40px; background: var(--bg); box-shadow: var(--soft); font-family: var(--f-en); font-size: 13px; font-weight: 600; line-height: 1.1; letter-spacing: .1em; text-transform: uppercase; }
.header__logo img { width: 34px; height: auto; transition: transform .8s var(--ease); }
.header__logo:hover img { transform: rotate(-8deg) scale(1.06); }

.header__cta {
  margin: 0 12px 0 auto; display: inline-flex; align-items: center; gap: 12px; height: 60px; padding: 0 26px 0 22px;
  border-radius: 40px; background: var(--ink); color: var(--bg); font-size: 13px; font-weight: 700; letter-spacing: .04em; white-space: nowrap;
  box-shadow: 4px 4px 10px rgba(16, 20, 24, .18);
  opacity: 0; visibility: hidden; transform: translateX(14px);
  transition: opacity .4s var(--ease), transform .7s var(--ease), visibility .4s;
}
.header__cta .btn-soft__dot::before { z-index: 0; }
.header.is-min .header__cta { opacity: 1; visibility: visible; transform: none; }
.gnav { position: relative; display: flex; align-items: center; height: 60px; border-radius: 40px; background: var(--bg); box-shadow: var(--soft); }
.gnav__items {
  display: flex; align-items: center; height: 100%; padding: 0 10px 0 20px; max-width: 900px; overflow: hidden;
  transition: max-width .6s cubic-bezier(.99, .03, .38, .96), padding .6s cubic-bezier(.99, .03, .38, .96), opacity .3s;
}
.gnav__items a { font-family: var(--f-en); font-size: 13px; font-weight: 600; letter-spacing: .04em; padding: 6px 13px; position: relative; white-space: nowrap; }
.gnav__items a::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--grad); opacity: 0; transform: translateY(4px); transition: .3s var(--ease-out); }
.gnav__items a:hover::after, .gnav__items a.is-current::after { opacity: 1; transform: none; }
.gnav__items .gnav__cta { margin-left: 8px; padding: 8px 18px; border-radius: 30px; background: var(--ink); color: var(--bg); font-family: var(--f-ja); font-size: 12px; font-weight: 700; }
.gnav__items .gnav__cta::after { display: none; }
.gnav__toggle { flex: none; width: 0; height: 60px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; opacity: 0; pointer-events: none; transition: width .6s cubic-bezier(.99, .03, .38, .96), opacity .3s; }
.gnav__toggle span, .gnav__toggle::before { content: ""; display: block; width: 22px; height: 1.5px; background: var(--ink); grid-area: 1 / 1; transition: transform .4s var(--ease-out); }
.gnav__toggle span { transform: translateY(-4px); }
.gnav__toggle::before { transform: translateY(4px); }
.header.is-min .gnav__items { max-width: 0; padding: 0; opacity: 0; pointer-events: none; }
.header.is-min .gnav__toggle { width: 60px; opacity: 1; pointer-events: auto; }
.menu-open .gnav__toggle span { transform: rotate(20deg); }
.menu-open .gnav__toggle::before { transform: rotate(-20deg); }

.menu {
  position: fixed; inset: 0; z-index: 40; background: var(--bg);
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px;
  padding: 120px var(--gutter) 60px; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
}
.menu-open .menu { opacity: 1; visibility: visible; }
.menu__list li { overflow: hidden; }
.menu__list a { display: flex; align-items: baseline; gap: 18px; padding: 2px 0; transform: translateY(100%); transition: transform .7s var(--ease); }
.menu-open .menu__list a { transform: none; }
.menu__list li:nth-child(n) a { transition-delay: calc(var(--n, 0) * .04s); }
.menu__en { font-family: var(--f-en); font-weight: 300; font-size: clamp(32px, 4.6vw, 60px); line-height: 1.2; }
.menu__ja { font-size: 12px; font-weight: 700; color: var(--sub); letter-spacing: .15em; }
.menu__list a:hover .menu__en { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.menu__side { max-width: 320px; font-size: 13px; line-height: 2; color: var(--ink-2); }
.menu__date { font-family: var(--f-en); font-size: 28px; font-weight: 300; color: var(--ink); margin-bottom: 8px; }
.menu__side .btn-soft { margin-top: 28px; }

/* ---------- Section title (mask reveal) ---------- */
.mtitle { display: inline-flex; flex-direction: column; }
.mtitle__en {
  position: relative; display: inline-block;
  font-family: var(--f-en); font-weight: 300;
  font-size: clamp(48px, 6.6vw, 96px); line-height: 1.04; letter-spacing: -.01em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; transform: translate3d(0, 15px, 0);
  transition: opacity .65s var(--ease), transform .9s var(--ease);
}
.mtitle__en::after {
  content: attr(data-text); position: absolute; inset: 0; color: var(--ink); -webkit-text-fill-color: var(--ink);
  white-space: pre-line; clip-path: polygon(0 0, 0 0, 0 0);
  transition: clip-path .75s var(--ease) .45s;
}
.mtitle__ja { margin-top: 12px; font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--sub); opacity: 0; transform: translate3d(0, 5px, 0); transition: opacity .65s ease .7s, transform .65s ease .7s; }
.mtitle.is-in .mtitle__en { opacity: 1; transform: none; }
.mtitle.is-in .mtitle__en::after { clip-path: polygon(0 0, 200% 0, 0 200%); }
.mtitle.is-in .mtitle__ja { opacity: 1; transform: none; }
.mtitle--sm .mtitle__en { font-size: clamp(40px, 4.8vw, 68px); }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity .8s var(--ease), transform 1s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="d1"] { transition-delay: .1s; } [data-reveal="d2"] { transition-delay: .2s; } [data-reveal="d3"] { transition-delay: .3s; }
.img-reveal img { clip-path: inset(0 100% 0 0); transform: scale(1.08); transition: clip-path 1.4s var(--ease), transform 2s var(--ease); }
.img-reveal.is-in img { clip-path: inset(0 0 0 0); transform: none; }

/* ---------- Soft button ---------- */
.btn-soft {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 20px;
  min-width: 180px; height: 56px; padding: 0 32px 0 26px;
  border-radius: 42px; background: var(--bg); box-shadow: var(--soft);
  font-size: 13px; font-weight: 700; letter-spacing: .04em; white-space: nowrap;
  transition: color .45s var(--ease-out), box-shadow .3s;
}
.btn-soft__dot { position: relative; width: 6px; height: 6px; flex: none; }
.btn-soft__dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--grad-d); z-index: -1; transition: transform .6s var(--ease-out); }
.btn-soft:hover { color: var(--white); }
.btn-soft:hover .btn-soft__dot::before { transform: scale(90); }
.btn-soft:active { box-shadow: var(--soft-in); }
.btn-soft--ink { background: var(--ink); color: var(--bg); box-shadow: 4px 4px 10px rgba(16, 20, 24, .18); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }

.pill { display: inline-flex; align-items: center; height: 30px; padding: 0 16px; border-radius: 20px; background: var(--ink); color: var(--bg); font-family: var(--f-en); font-size: 12px; font-weight: 600; letter-spacing: .1em; white-space: nowrap; }
.pill--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.pill--grad { background: var(--grad); color: #fff; font-family: var(--f-ja); font-weight: 700; }

.circle-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); box-shadow: var(--soft); transition: transform .4s var(--ease-out); flex: none; }
.circle-btn svg { width: 16px; height: 16px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center; gap: clamp(20px, 4vw, 60px); padding: 130px var(--gutter) 90px; overflow-x: clip;
}
.hero::before {
  content: ""; position: absolute; right: -10vw; top: 10%; width: 60vw; aspect-ratio: 1; border-radius: 50%; z-index: 0;
  background: radial-gradient(closest-side, rgba(255, 45, 143, .10), rgba(30, 155, 255, .06) 55%, transparent);
  filter: blur(20px); pointer-events: none;
}
.hero__copy { position: relative; z-index: 2; }
.hero__label { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; margin-bottom: 26px; }
.hero__title { font-size: clamp(44px, 6.4vw, 96px); font-weight: 900; line-height: 1.2; letter-spacing: -.02em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .05em; }
.hero__title .line > span { display: inline-block; transform: translateY(108%); transition: transform 1.1s var(--ease); }
.is-ready .hero__title .line > span { transform: none; }
.is-ready .hero__title .line:nth-child(2) > span { transition-delay: .12s; }
.is-ready .hero__title .line:nth-child(3) > span { transition-delay: .24s; }
.hero__sub { margin-top: 30px; font-size: 15px; line-height: 2.2; color: var(--ink-2); }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero__facts { display: flex; flex-wrap: wrap; margin-top: 34px; row-gap: 18px; }
.hero__facts li { padding: 2px clamp(18px, 2vw, 30px); border-left: 1px solid var(--line); }
.hero__facts li:first-child { padding-left: 0; border-left: 0; }
.hero__facts b { display: block; font-family: var(--f-en); font-weight: 300; font-size: clamp(32px, 3vw, 46px); line-height: 1.05; letter-spacing: -.01em; white-space: nowrap; }
.hero__facts b small { font-size: .36em; font-weight: 600; letter-spacing: .06em; margin-left: 4px; }
.hero__facts b small:first-child { margin: 0 3px 0 0; }
.hero__facts li:last-child b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__facts li:last-child b small { color: var(--ink); -webkit-text-fill-color: var(--ink); }
.hero__facts i { font-style: normal; }
.hero__facts .asof { display: block; font-style: normal; font-size: 10px; font-weight: 500; letter-spacing: 0; }
.schools__asof { display: block; margin-top: 8px; font-size: 11px; font-weight: 500; color: var(--sub); }
.sp-only { display: none; }
.hero__facts span { display: block; margin-top: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; color: var(--sub); line-height: 1.5; white-space: nowrap; }

.hero__map { position: relative; z-index: 1; width: 100%; max-width: 760px; justify-self: end; aspect-ratio: 1100 / 982; }
.hero__map > img { width: 100%; height: 100%; animation: drift 9s ease-in-out infinite; filter: saturate(1.05); }
/* ---------- hero: キービジュアル風（斜体の見出し＋虹色の光の筋） ---------- */
.hero::after {
  content: ""; position: absolute; inset: 0 0 0 42%; z-index: 0; pointer-events: none;
  background:
    linear-gradient(118deg, transparent 47%, rgba(30, 155, 255, .22) 47.25%, transparent 47.7%),
    linear-gradient(118deg, transparent 51%, rgba(155, 77, 255, .16) 51.15%, transparent 51.5%),
    linear-gradient(118deg, transparent 55.5%, rgba(255, 45, 143, .18) 55.65%, transparent 56%),
    linear-gradient(118deg, transparent 60%, rgba(255, 178, 26, .2) 60.1%, transparent 60.4%),
    radial-gradient(60% 50% at 80% 30%, rgba(30, 155, 255, .08), transparent 70%);
}
.hero__eyebrow { display: inline-block; margin-bottom: 14px; font-family: var(--f-en); font-size: clamp(14px, 1.2vw, 18px); font-weight: 700; letter-spacing: .14em; color: var(--navy); transform: skewX(-10deg); }
.hero__eyebrow b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .hero__title { color: var(--navy); line-height: 1.1; letter-spacing: -.04em; }
/* 斜体は行ごとに掛ける（見出し全体に掛けると行が階段状にずれる） */
.hero .hero__title .line > span { transform: translateY(108%) skewX(-9deg); transform-origin: 0 100%; }
.is-ready.is-ready .hero__title .line > span { transform: skewX(-9deg); }
.hero__title em { font-style: normal; }
.hero__title .line { padding-right: .12em; }
.hero__streak { position: relative; width: min(100%, 600px); height: 16px; margin: 10px 0 0 -6px; }
.hero__streak i, .hero__streak::after {
  position: absolute; inset: 0; display: block;
  background: linear-gradient(90deg, transparent 0%, #1e9bff 14%, #9b4dff 40%, #ff2d8f 68%, #ffb21a 92%, transparent 100%);
  clip-path: polygon(0 62%, 100% 0, 96% 100%, 0 70%);
  transform: scaleX(0); transform-origin: left center; transition: transform 1.2s .5s var(--ease);
}
.hero__streak::after { content: ""; filter: blur(9px); opacity: .7; clip-path: none; height: 60%; top: 30%; }
.is-ready .hero__streak i, .is-ready .hero__streak::after { transform: scaleX(1); }
.hero__tag { display: inline-block; margin-top: 18px; padding-bottom: 8px; font-size: clamp(18px, 1.75vw, 26px); font-weight: 900; letter-spacing: .02em; color: var(--navy); transform: skewX(-9deg); background: var(--grad) left bottom / 100% 2px no-repeat; }
.hero .hero__sub { margin-top: 16px; font-size: 14px; line-height: 2; }
.hero__facts b { transform: skewX(-9deg); transform-origin: 0 100%; }
.hero__facts { margin-top: 26px; }
.hero__copy .btn-row { margin-top: 30px; }

@keyframes drift { 50% { transform: translateY(-10px) rotate(-.6deg); } }
.routes { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: drift 9s ease-in-out infinite; }
.route {
  fill: none; stroke: #fff; stroke-width: 3.5; stroke-linecap: round;
  stroke-dasharray: 2 12; stroke-dashoffset: 0; opacity: 0;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, .25));
}
.is-ready .route { animation: routeIn .6s calc(.9s + var(--i) * .18s) ease forwards, flow 1.4s linear infinite; }
@keyframes routeIn { to { opacity: .95; } }
@keyframes flow { to { stroke-dashoffset: -28; } }
.town { opacity: 0; transform-box: fill-box; }
.is-ready .town { animation: townIn .6s calc(.8s + var(--i) * .18s) var(--ease-out) forwards; }
@keyframes townIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.town circle { fill: #fff; stroke: var(--ink); stroke-width: 4; }
.town text, .sapporo text { font-family: var(--f-ja); font-size: 26px; font-weight: 700; fill: var(--ink); paint-order: stroke; stroke: var(--bg); stroke-width: 7px; stroke-linejoin: round; }
.sapporo circle { fill: var(--ink); }
.sapporo text { font-family: var(--f-en); font-weight: 600; letter-spacing: .12em; font-size: 24px; }
.sapporo__ring { fill: none !important; stroke: var(--ink); stroke-width: 2; transform-origin: 358px 572px; animation: ring 2.4s var(--ease-out) infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(3.2); opacity: 0; } }

.hero__scroll { position: absolute; right: var(--gutter); bottom: 32px; display: flex; align-items: center; gap: 12px; font-family: var(--f-en); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; writing-mode: vertical-rl; }
.hero__scroll::after { content: ""; width: 1px; height: 64px; background: linear-gradient(var(--ink), transparent); animation: scrollLine 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 16px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span { font-family: var(--f-en); font-size: 15px; font-weight: 300; letter-spacing: .2em; text-transform: uppercase; padding-right: 44px; white-space: nowrap; color: var(--ink-2); }
.marquee__track span::after { content: "\25B8"; margin-left: 44px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Story ---------- */
.story__dist { padding-bottom: clamp(40px, 4.5vw, 64px); margin-bottom: clamp(40px, 4.5vw, 64px); border-bottom: 1px solid var(--line); }
.story__from, .story__cmp { font-size: clamp(16px, 1.45vw, 20px); font-weight: 700; line-height: 1.8; }
.story__km { margin: 8px 0 4px -.04em; font-family: var(--f-en); font-weight: 300; font-size: clamp(120px, 15vw, 220px); line-height: .92; letter-spacing: -.045em; white-space: nowrap; }
.story__km span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.story__km small { font-size: .2em; font-weight: 600; letter-spacing: 0; }
.story__km small:first-child { font-family: var(--f-ja); font-weight: 700; margin-right: .1em; }
.story__cmp { color: var(--ink-2); }
.poem p { font-size: clamp(16px, 1.45vw, 20px); line-height: 2.2; font-weight: 500; }
.poem p + p { margin-top: 1.6em; }
.poem__fade { color: #8e969b; }
.poem__em { font-weight: 900 !important; font-size: clamp(24px, 2.7vw, 38px) !important; line-height: 1.65 !important; letter-spacing: .01em; }

.distance { margin-top: clamp(56px, 7vw, 96px); padding: clamp(28px, 3.5vw, 48px); border-radius: 28px; background: var(--bg); box-shadow: var(--soft-l); }
.distance__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.distance__title { font-weight: 700; }
.distance__legend { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; color: var(--sub); }
.distance__legend i { width: 18px; height: 0; border-top: 1.5px dashed var(--ink); }
.distance__list { --max: 330; display: grid; gap: 14px; position: relative; }
.distance__list li { display: grid; grid-template-columns: 4.5em 1fr 4em; align-items: center; gap: 16px; }
.distance__name { font-size: 14px; font-weight: 700; }
.distance__track { position: relative; height: 10px; border-radius: 10px; box-shadow: var(--soft-in); }
.distance__track::after { /* 東京〜名古屋の基準線 */
  content: ""; position: absolute; top: -8px; bottom: -8px; left: calc(var(--ref) / var(--max) * 100%);
  border-left: 1.5px dashed var(--ink); opacity: .55;
}
.distance__fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 10px; background: var(--grad); background-size: calc(var(--max) / var(--km) * 100%) 100%; transition: width 1.6s var(--ease); }
.distance.is-in .distance__fill { width: calc(var(--km) / var(--max) * 100%); }
.distance__list li:nth-child(2) .distance__fill { transition-delay: .08s; } .distance__list li:nth-child(3) .distance__fill { transition-delay: .16s; }
.distance__list li:nth-child(4) .distance__fill { transition-delay: .24s; } .distance__list li:nth-child(5) .distance__fill { transition-delay: .32s; }
.distance__list li:nth-child(6) .distance__fill { transition-delay: .4s; }
.distance__km { font-family: var(--f-en); font-size: 18px; text-align: right; }
.distance__km::after { content: "km"; font-size: 11px; color: var(--sub); margin-left: 2px; }

/* ---------- Issue ---------- */
.bg-word { position: absolute; right: -1vw; top: 3vw; font-family: var(--f-en); font-weight: 300; font-size: clamp(160px, 24vw, 380px); line-height: .8; color: rgba(255, 255, 255, .75); pointer-events: none; user-select: none; z-index: 0; letter-spacing: -.03em; }
.stats3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); margin-bottom: clamp(56px, 7vw, 96px); }
.stat { position: relative; padding: 34px 30px 30px; border-radius: 24px; background: var(--mat); box-shadow: 6px 6px 14px #d6d6d1, -6px -6px 14px #fbfbf9; overflow: hidden; }
.stat__label { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.stat__num { margin-top: 14px; font-family: var(--f-en); font-weight: 300; font-size: clamp(46px, 5vw, 72px); line-height: 1; white-space: nowrap; }
.stat__num small { font-family: var(--f-ja); font-size: .3em; font-weight: 700; margin-left: 4px; }
.stat__compare { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; color: var(--sub); line-height: 1.6; }
.stat__was { font-family: var(--f-en); font-size: 14px; color: var(--ink-2); text-decoration: line-through; text-decoration-color: var(--pink); }
.stat__compare i { width: 16px; height: 1px; background: var(--sub); }
.stat__ring { position: absolute; right: 22px; top: 22px; width: 72px; height: 72px; transform: rotate(-90deg); }
.stat__ring circle { fill: none; stroke: rgba(16, 20, 24, .07); stroke-width: 9; }
.stats3 .stat__label { padding-right: 84px; }
.stat__ring .stat__arc { stroke: var(--pink); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset 1.8s var(--ease) .3s; opacity: .7; }
.stat.is-in .stat__arc { stroke-dashoffset: calc(326.7 - 326.7 * var(--p) / 100); }
.stat--sm { padding: 26px 22px; text-align: center; }
.stat--sm .stat__num { margin: 0; font-size: clamp(34px, 3.6vw, 52px); }
.stat--sm .stat__label { margin-top: 10px; font-size: 12px; color: var(--sub); }

.vlist { border-top: 1px solid transparent; }
.vitem { position: relative; }
.vitem::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; background: var(--line); width: var(--w, 100%); transition: width 1.2s var(--ease); }
.vitem:nth-child(1) { --w: 96%; } .vitem:nth-child(2) { --w: 88%; } .vitem:nth-child(3) { --w: 78%; } .vitem:nth-child(4) { --w: 70%; }
.vitem__head { width: 100%; display: grid; grid-template-columns: 1fr auto 44px; gap: 24px; align-items: center; text-align: left; padding: 28px 0; }
.vitem__title { font-size: clamp(17px, 1.7vw, 23px); font-weight: 700; line-height: 1.6; }
.vitem__en { font-family: var(--f-en); font-weight: 300; font-size: clamp(14px, 1.3vw, 19px); color: #b3babf; text-align: right; }
.vitem__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--bg); box-shadow: var(--soft); position: relative; }
.sect--mat .vitem__icon { background: var(--mat); box-shadow: 3px 3px 6px #d6d6d1, -3px -3px 6px #fbfbf9; }
.vitem__icon::before, .vitem__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--ink); transition: transform .4s var(--ease-out); }
.vitem__icon::after { transform: rotate(90deg); }
.vitem.is-open .vitem__icon::after { transform: rotate(0); }
.vitem__head:hover .vitem__title { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vitem__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.vitem.is-open .vitem__body { grid-template-rows: 1fr; }
.vitem__inner { overflow: hidden; }
.vitem__content { padding: 0 64px 40px 0; max-width: 760px; }
.vitem__content p { font-size: 14.5px; line-height: 2.1; color: var(--ink-2); }
.vitem--static .vitem__head { grid-template-columns: 1fr auto; padding: 28px 0 8px; }
.vitem--static .vitem__head:hover .vitem__title { background: none; color: inherit; }
.vitem--static .vitem__content { padding: 0 0 28px; }
.quote-line { margin-top: 22px; padding-left: 20px; position: relative; font-weight: 700; font-size: 16px !important; color: var(--ink) !important; }
.quote-line::before { content: ""; position: absolute; left: 0; top: .35em; bottom: .35em; width: 2px; background: var(--grad); border-radius: 2px; }

.issues { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 80px); row-gap: clamp(40px, 4.5vw, 64px); }
.issue { position: relative; padding-top: 26px; border-top: 1px solid var(--line); }
.issue::before { content: ""; position: absolute; left: 0; top: -1px; width: 56px; height: 2px; background: var(--grad); }
.issue__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.issue__num { font-family: var(--f-en); font-weight: 300; font-size: clamp(36px, 3.4vw, 50px); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.issue__en { font-family: var(--f-en); font-weight: 300; font-size: 14px; letter-spacing: .04em; color: #a9b0b5; }
.issue__title { margin-top: 16px; font-size: clamp(19px, 1.9vw, 25px); font-weight: 700; line-height: 1.5; }
.issue__text { margin-top: 10px; font-size: 14.5px; line-height: 2.05; color: var(--ink-2); }
.issue__answer { margin-top: clamp(64px, 8vw, 112px); text-align: center; font-size: clamp(24px, 3.3vw, 46px); font-weight: 900; line-height: 1.55; letter-spacing: .01em; }
#issue .note { margin-top: clamp(48px, 6vw, 72px); }

/* ---------- Concept ---------- */
.concept__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(56px, 7vw, 96px); }
.concept__head .mtitle { grid-row: span 2; align-self: start; }
.concept__catch { font-size: clamp(30px, 4vw, 56px); font-weight: 900; line-height: 1.4; }
.concept__head .lead { margin-top: 0; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.card { position: relative; padding: clamp(28px, 3vw, 40px); border-radius: 26px; background: var(--bg); box-shadow: var(--soft-l); transition: transform .5s var(--ease-out); }
.card:hover { transform: translateY(-6px); }
.card__art { height: 150px; margin-bottom: 18px; display: grid; place-items: center; }
.blob {
  width: 128px; aspect-ratio: 1; border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
  background: radial-gradient(circle at 30% 30%, var(--h2), var(--h1) 70%);
  filter: blur(.3px) saturate(1.1); opacity: .9;
  box-shadow: inset -10px -14px 30px rgba(0, 0, 0, .12), 0 20px 40px -18px var(--h1);
  animation: morph 9s ease-in-out infinite;
}
.card:nth-child(2) .blob { animation-delay: -3s; } .card:nth-child(3) .blob { animation-delay: -6s; }
@keyframes morph {
  0%, 100% { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; transform: rotate(0); }
  33% { border-radius: 63% 37% 45% 55% / 55% 62% 38% 45%; transform: rotate(40deg) scale(1.04); }
  66% { border-radius: 38% 62% 52% 48% / 36% 46% 54% 64%; transform: rotate(-20deg) scale(.97); }
}
.card__num { font-family: var(--f-en); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--sub); }
.card__title { margin-top: 10px; font-size: clamp(19px, 1.7vw, 23px); font-weight: 700; line-height: 1.6; }
.card__text { margin-top: 14px; font-size: 14px; line-height: 2; color: var(--ink-2); }

.roadmap { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.roadmap::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line); }
.roadmap::after { content: ""; position: absolute; left: 0; top: 7px; height: 1px; width: 0; background: var(--grad); transition: width 2s var(--ease) .3s; }
.roadmap.is-in::after { width: 100%; }
.roadmap li { position: relative; padding-top: 34px; }
.roadmap li::before { content: ""; position: absolute; left: 0; top: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); box-shadow: var(--soft); }
.roadmap li:last-child::before { background: var(--grad); }
.roadmap b { display: block; font-family: var(--f-en); font-weight: 300; font-size: clamp(26px, 3vw, 40px); line-height: 1.2; }
.roadmap span { font-size: 14px; font-weight: 700; color: var(--ink-2); }

/* ---------- Schools ---------- */
.schools__lead b { font-family: var(--f-en); font-weight: 300; font-size: 2.3em; line-height: 1; margin: 0 3px; vertical-align: -.1em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.schools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.school {
  position: relative; padding: 30px 28px 32px; border-radius: 24px; background: var(--mat);
  box-shadow: 6px 6px 14px #d6d6d1, -6px -6px 14px #fbfbf9; overflow: hidden;
}
.school > * { position: relative; z-index: 1; }
.school__area { display: inline-flex; height: 26px; align-items: center; padding: 0 12px; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.school__km { position: absolute !important; right: 24px; top: 22px; font-family: var(--f-en); font-weight: 300; font-size: 30px; line-height: 1; color: var(--sub); }
.school__km small { font-size: 12px; margin-left: 2px; }
.school__name { margin-top: 30px; font-size: 22px; font-weight: 700; line-height: 1.5; }
.school__text { margin-top: 8px; font-size: 13.5px; line-height: 1.9; color: var(--ink-2); }
/* 7校目（鹿追）は最終行を横いっぱいに */
.school:last-child:nth-child(3n+1) { grid-column: 1 / -1; }

.cycle { margin-top: clamp(48px, 6vw, 80px); padding: clamp(28px, 3.5vw, 44px); border-radius: 28px; box-shadow: var(--soft-in); }
.cycle__title { font-size: clamp(22px, 2.4vw, 32px); font-weight: 900; margin-bottom: 24px; }
.cycle__flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: c; }
.cycle__flow li { position: relative; padding: 18px 20px; border-radius: 18px; background: var(--mat); box-shadow: 3px 3px 6px #d6d6d1, -3px -3px 6px #fbfbf9; font-size: 13.5px; font-weight: 700; line-height: 1.7; }
.cycle__flow li b { display: block; font-family: var(--f-en); font-weight: 600; font-size: 12px; letter-spacing: .1em; color: var(--sub); }
.cycle__flow li:last-child { background: var(--ink); color: var(--bg); box-shadow: 4px 4px 10px rgba(16, 20, 24, .18); }
.cycle__flow li:not(:last-child)::after { content: ""; position: absolute; right: -12px; top: 50%; width: 10px; height: 1px; background: var(--ink); z-index: 1; }

/* ---------- The Day ---------- */
.day { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.bleed__img { width: calc(100% + var(--gutter)); margin-left: calc(var(--gutter) * -1); overflow: hidden; }
/* 協賛ロゴが見切れないよう、画像と同じ 4:3 で全体を表示 */
.day__photo { position: relative; aspect-ratio: 4 / 3; }
.day__photo img { width: 100%; height: 100%; object-fit: cover; }
.day__cap { position: absolute; right: 14px; bottom: 14px; padding: 2px 12px; border-radius: 20px; background: rgba(246, 246, 243, .9); font-size: 11px; }
.countdown { margin-top: 36px; display: flex; align-items: baseline; gap: 18px; }
.countdown__label { font-size: 13px; font-weight: 700; color: var(--sub); }
.countdown__num { font-family: var(--f-en); font-weight: 300; font-size: clamp(64px, 7vw, 104px); line-height: 1; }
.countdown__num span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.countdown__num small { font-size: 16px; margin-left: 10px; color: var(--ink-2); letter-spacing: .1em; }
.dtable { width: 100%; margin-top: 36px; }
.dtable th, .dtable td { text-align: left; vertical-align: top; padding: 22px 0; border-bottom: 1px solid var(--line); }
.dtable th { width: 120px; font-family: var(--f-en); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--sub); }
.dtable td { font-size: 15px; font-weight: 700; line-height: 1.9; }
.dtable small { display: block; font-size: 12.5px; font-weight: 400; color: var(--ink-2); }
.dtable--compact th { font-family: var(--f-ja); text-transform: none; letter-spacing: .08em; font-weight: 700; }
.dtable--compact td { font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 30px; background: var(--bg); box-shadow: var(--soft); font-size: 13px; font-weight: 700; }
.chip::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--grad); }

/* ---------- Venue ---------- */
.venue { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.photo-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 16px; }
.photo { position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 3 / 4; }
.photo-grid .photo { aspect-ratio: auto; height: clamp(320px, 36vw, 500px); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { position: absolute; left: 14px; bottom: 14px; padding: 3px 14px; border-radius: 20px; background: rgba(246, 246, 243, .92); font-size: 12px; font-weight: 700; }
.stats2 { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 16px; }
.stats2 .stat__num { font-size: clamp(36px, 3.9vw, 56px); }
.venue .stats2--one { grid-template-columns: 1fr; }
.stat__src { margin-top: 8px; font-size: 10.5px; line-height: 1.6; color: var(--sub); }
.stats2 .stat:first-child .stat__num span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.venue__who { margin-top: 36px; }
.venue__who dt { font-family: var(--f-en); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.venue__who dt::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }
.venue__who dd { margin: 6px 0 24px; font-size: 14px; line-height: 2; color: var(--ink-2); }

/* ---------- Why ---------- */
.why__lead { margin-top: 32px; font-size: clamp(20px, 2vw, 28px); font-weight: 900; line-height: 1.6; }
#plans::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line); }
.row-list__item { display: grid; grid-template-columns: 96px 1fr; gap: 24px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.row-list__item:first-child { padding-top: 0; }
.row-list__num { font-family: var(--f-en); font-size: 52px; font-weight: 300; line-height: 1; }
.row-list__title { font-size: clamp(19px, 1.8vw, 24px); font-weight: 700; line-height: 1.5; }
.row-list__text { margin-top: 8px; font-size: 14px; color: var(--ink-2); line-height: 2; }
.timeline { margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.timeline__step { padding: 26px 24px; border-radius: 22px; background: var(--bg); box-shadow: var(--soft-l); }
.timeline__step.is-key { background: var(--ink); color: var(--bg); box-shadow: 8px 8px 20px rgba(16, 20, 24, .22); }
.timeline__when { font-family: var(--f-en); font-weight: 300; font-size: 34px; line-height: 1.1; }
.timeline__when small { display: block; margin-top: 6px; font-family: var(--f-ja); font-size: 12px; font-weight: 700; letter-spacing: .15em; color: var(--sub); }
.timeline__step.is-key .timeline__when { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.timeline__step ul { margin-top: 18px; display: grid; gap: 6px; }
.timeline__step li { display: flex; gap: 10px; font-size: 13px; line-height: 1.8; }
.timeline__step li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--grad); flex: none; margin-top: .75em; }

/* ---------- Budget ---------- */
.budget__total { margin-top: 28px; font-family: var(--f-en); font-weight: 300; font-size: clamp(84px, 11vw, 168px); line-height: .95; letter-spacing: -.03em; }
.budget__total span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.budget__total small { font-family: var(--f-ja); font-weight: 700; font-size: .2em; letter-spacing: .05em; margin-left: 6px; }
.bars { display: grid; gap: 20px; padding: clamp(28px, 3.5vw, 44px); border-radius: 28px; background: var(--mat); box-shadow: 8px 8px 18px #d6d6d1, -8px -8px 18px #fbfbf9; }
.bar__meta { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; font-weight: 700; }
.bar__meta span:last-child { font-family: var(--f-en); font-size: 16px; font-weight: 400; white-space: nowrap; }
.bar__track { margin-top: 8px; height: 10px; border-radius: 10px; box-shadow: inset 2px 2px 4px #d4d4cf, inset -2px -2px 4px #fbfbf9; overflow: hidden; }
.bar__fill { height: 100%; width: 0; border-radius: 10px; background: var(--grad); transition: width 1.6s var(--ease); }
.bar__fill--sub { background: #b9c0c4; }
.bar small { display: block; margin-top: 4px; font-size: 11.5px; color: var(--sub); line-height: 1.6; }
.bars .note { margin-top: 4px; }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: clamp(30px, 3vw, 42px); border-radius: 28px; background: var(--bg); box-shadow: var(--soft-l); transition: transform .5s var(--ease-out); }
.plan:hover { transform: translateY(-6px); }
.plan--main {
  border: 2px solid transparent;
  background: linear-gradient(var(--bg), var(--bg)) padding-box, var(--grad-d) border-box;
  box-shadow: 0 30px 60px -30px rgba(255, 45, 143, .45), var(--soft-l);
}
.plan__badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); }
.plan__name { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.plan__price { margin-top: 10px; font-family: var(--f-en); font-weight: 300; font-size: 22px; line-height: 1; }
.plan__price span { font-size: clamp(56px, 5.4vw, 76px); letter-spacing: -.02em; margin-right: 4px; }
.plan:first-child .plan__price { font-size: clamp(56px, 5.4vw, 76px); }
.plan--main .plan__price span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan__desc { margin-top: 18px; font-size: 13.5px; line-height: 1.9; color: var(--ink-2); min-height: 5.7em; }
.plan__list { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.plan__list li { display: flex; gap: 10px; font-size: 13.5px; font-weight: 500; line-height: 1.8; }
.plan__list li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: .3em; border-radius: 50%; background: var(--grad-d); -webkit-mask: radial-gradient(circle, transparent 0 3px, #000 3.5px); mask: radial-gradient(circle, transparent 0 3px, #000 3.5px); }
.vlist--table { margin-top: clamp(48px, 6vw, 72px); }
.vlist--table .vitem { --w: 100%; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 32px; }
.ctable { width: 100%; min-width: 720px; }
.swipe-hint { display: none; }
.ctable th, .ctable td { padding: 16px 12px; border-bottom: 1px solid var(--line); font-size: 13.5px; line-height: 1.7; }
.ctable thead th { font-size: 13px; font-weight: 700; color: var(--ink-2); text-align: center; border-bottom: 1.5px solid var(--ink); }
.ctable tbody th { text-align: left; font-weight: 500; }
.ctable td { text-align: center; font-weight: 700; width: 18%; }
.ctable .is-main { background: rgba(255, 45, 143, .05); }
.ctable i { display: inline-block; vertical-align: middle; }
.ctable i.y { width: 12px; height: 12px; border-radius: 50%; background: var(--grad-d); }
.ctable i.n { width: 12px; height: 1.5px; background: var(--line); }

/* ---------- About ---------- */
.about__name { font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; line-height: 1.5; }
.about__name small { display: block; font-size: 12px; color: var(--sub); font-weight: 700; letter-spacing: .1em; }
.about__lead .lead { margin-top: 16px; }
.stats5 { margin-top: 40px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.stats5 > div { padding: 22px 12px; border-radius: 20px; background: var(--mat); box-shadow: 3px 3px 6px #d6d6d1, -3px -3px 6px #fbfbf9; text-align: center; }
.stats5 .stat__num { margin: 0; font-size: clamp(28px, 2.8vw, 40px); }
.stats5 .stat__label { margin-top: 6px; font-size: 11px; color: var(--sub); line-height: 1.6; }

/* ---------- Contact / Join ---------- */
.join__visual { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; }
.join__catch { margin-top: 36px; font-size: clamp(28px, 3.6vw, 52px); font-weight: 900; line-height: 1.5; }
.join__circle { position: relative; width: clamp(150px, 16vw, 230px); aspect-ratio: 1; display: block; }
.join__circle > svg { width: 100%; height: 100%; animation: spin 26s linear infinite; }
.join__circle text { font-family: var(--f-en); font-size: 15px; letter-spacing: .3em; text-transform: uppercase; fill: var(--ink); }
.join__circle .circle-btn { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; overflow: hidden; }
.join__circle .circle-btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--grad-d); transform: scale(0); transition: transform .5s var(--ease-out); }
.join__circle .circle-btn svg { position: relative; width: 20px; height: 20px; transition: color .3s; }
.join__circle:hover .circle-btn::before { transform: scale(1); }
.join__circle:hover .circle-btn svg { color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }

.steps { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.steps li { padding: 26px 20px 0 0; position: relative; }
.steps li::before { content: ""; position: absolute; left: 0; top: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.steps li.is-key::before { background: var(--grad); width: 11px; height: 11px; top: -6px; }
.steps__when { font-family: var(--f-en); font-size: 14px; font-weight: 600; color: var(--sub); }
.steps li.is-key .steps__when { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps__what { margin-top: 4px; font-size: 18px; font-weight: 700; }
.steps__how { font-size: 13px; color: var(--ink-2); }

.contact { margin-top: clamp(72px, 9vw, 128px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.contact__title { font-size: 22px; font-weight: 700; }
.contact__sub { font-size: 12px; color: var(--sub); font-weight: 700; }
.contact__info { display: grid; gap: 14px; margin-top: 28px; }
.cta__link { display: flex; align-items: center; gap: 14px; padding: 12px 22px 12px 12px; border-radius: 40px; background: var(--bg); box-shadow: var(--soft); transition: transform .3s var(--ease-out); }
.cta__link:hover { transform: translateY(-2px); }
.cta__link .circle-btn { width: 40px; height: 40px; box-shadow: none; background: var(--ink); color: var(--bg); }
.cta__link small { display: block; font-family: var(--f-en); font-size: 11px; color: var(--sub); letter-spacing: .1em; line-height: 1.4; text-transform: uppercase; }
.cta__link b { font-size: 14px; line-height: 1.5; word-break: break-all; }
.contact__note { margin-top: 28px; padding: 20px 22px; border-radius: 18px; box-shadow: var(--soft-in); font-size: 13px; line-height: 2; color: var(--ink-2); }
.form { display: grid; gap: 26px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field label { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.req, .opt { font-size: 10px; font-weight: 700; padding: 0 8px; border-radius: 10px; line-height: 18px; letter-spacing: .06em; }
.req { background: var(--grad); color: #fff; }
.opt { box-shadow: inset 0 0 0 1px var(--line); color: var(--sub); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink); line-height: 1.6;
  padding: 15px 20px; border: 0; border-radius: 16px; background: var(--bg); box-shadow: var(--soft-in);
  outline: none; transition: box-shadow .3s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23101418' stroke-width='1.5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 20px center; padding-right: 48px; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: var(--soft-in), 0 0 0 2px rgba(255, 45, 143, .35); }
.field ::placeholder { color: #b3b9bd; }
.field.is-error input { box-shadow: var(--soft-in), 0 0 0 2px rgba(255, 47, 61, .45); }
.field__err { display: none; font-size: 12px; color: #d8202e; margin-top: 6px; }
.field.is-error .field__err { display: block; }
.form__foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form__note { font-size: 12px; color: var(--sub); line-height: 1.8; }

/* ---------- Footer ---------- */
.footer { background: var(--mat); padding: 72px 0 36px; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.footer__logo { font-family: var(--f-en); font-weight: 300; font-size: clamp(30px, 4vw, 52px); line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer__tag { margin-top: 10px; font-size: 12px; color: var(--ink-2); }
.footer__mark { width: 150px; }
.footer__bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 11px; color: var(--ink-2); }

.sp-cta {
  display: none; position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 30;
  height: 56px; align-items: center; justify-content: center; gap: 14px; border-radius: 40px;
  background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 700;
  box-shadow: 0 10px 30px rgba(16, 20, 24, .3); transform: translateY(140%); transition: transform .5s var(--ease);
}
.sp-cta .btn-soft__dot::before { z-index: 0; }
.sp-cta.is-show { transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .gnav__items a { padding: 6px 9px; font-size: 12px; }
  .schools, .card-grid, .plans { grid-template-columns: 1fr 1fr; }
  .school:last-child:nth-child(3n+1) { grid-column: auto; }
  .school:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .plan--main { grid-column: 1 / -1; order: -1; }
  .stats5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats2 { grid-template-columns: 1fr; }
  .hero__facts { flex-wrap: nowrap; }
  .hero__facts li { padding-inline: 16px; }
  .hero__facts li:first-child { padding-left: 0; }
  .hero__facts b { font-size: 30px; }
  .timeline { grid-template-columns: 1fr; }
  .timeline__step { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; align-items: start; }
  .timeline__step ul { margin-top: 4px; }
}
@media (max-width: 900px) {
  body { font-size: 14px; }
  .header { padding: 16px var(--gutter); }
  .gnav, .header__logo { height: 52px; }
  .gnav__items, .header__cta { display: none; }
  .gnav__toggle, .header.is-min .gnav__toggle { opacity: 1; pointer-events: auto; width: 52px; height: 52px; }
  .menu { grid-template-columns: 1fr; align-content: center; padding-top: 96px; }
  .split, .split--even, .day, .venue, .contact, .concept__head { grid-template-columns: 1fr; }
  .concept__head .mtitle { grid-row: auto; }
  .split__side { position: static; }
  .hero { grid-template-columns: 1fr; padding-top: 100px; gap: 8px; align-content: start; }
  .hero__map { justify-self: center; width: min(92vw, 520px); margin-top: 24px; }
  .hero__scroll { display: none; }
  .stats3 { grid-template-columns: 1fr; }
  .vitem__head { grid-template-columns: 1fr 44px; }
  .vitem__en { grid-column: 1; grid-row: 2; text-align: left; margin-top: -18px; font-size: 13px; }
  .vitem__icon { grid-row: 1 / span 2; grid-column: 2; }
  .vitem__content { padding-right: 0; }
  .cycle__flow { grid-template-columns: 1fr 1fr; }
  .cycle__flow li:nth-child(2)::after { display: none; }
  .day__photo.bleed__img { width: calc(100% + var(--gutter) * 2); margin-inline: calc(var(--gutter) * -1); }
  .timeline { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .join__visual { grid-template-columns: 1fr; position: relative; }
  .join__circle { position: absolute; right: 0; top: -6px; width: 132px; }
  .issues { column-gap: 28px; }
  .stats2 { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .photo-grid .photo { height: clamp(260px, 52vw, 420px); }
  .bg-word { display: none; }
}
@media (max-width: 600px) {
  .schools, .card-grid, .plans { grid-template-columns: 1fr; }
  .plan__desc { min-height: 0; }
  .form__row { grid-template-columns: 1fr; }
  .stats2 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat--sm { padding: 22px 12px; }
  .stats2 .stat__num { font-size: 30px; }
  .stats5 { grid-template-columns: 1fr 1fr; }
  .stats5 > div:last-child { grid-column: 1 / -1; }
  .photo-grid { gap: 10px; }
  .photo-grid .photo { height: 240px; }
  .photo figcaption { left: 8px; bottom: 8px; padding: 2px 10px; font-size: 11px; }
  .roadmap { grid-template-columns: 1fr; gap: 24px; padding-left: 34px; }
  .roadmap::before { left: 7px; right: auto; top: 10px; bottom: 10px; width: 1px; height: auto; }
  .roadmap::after { left: 7px; top: 10px; width: 1px; height: 0; transition: height 2s var(--ease) .3s; }
  .roadmap.is-in::after { width: 1px; height: calc(100% - 20px); }
  .roadmap li { padding-top: 0; }
  .roadmap li::before { left: -34px; top: 10px; }
  .roadmap b { font-size: 30px; }
  .row-list__item { grid-template-columns: 56px 1fr; gap: 14px; }
  .timeline__step { grid-template-columns: 1fr; gap: 0; }
  .timeline__step ul { margin-top: 18px; }
  .row-list__num { font-size: 34px; }
  .cycle__flow { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cycle__flow li { padding: 14px 14px 16px; font-size: 12.5px; border-radius: 16px; }
  .cycle__flow li::after { display: none; }
  .cycle__title { margin-bottom: 18px; }
  .distance__list li { grid-template-columns: 3.6em 1fr 3.4em; gap: 10px; }
  .dtable th { width: 84px; }
  .dtable--compact th, .dtable--compact td { display: block; width: 100%; border: 0; padding: 0; }
  .dtable--compact th { padding-top: 18px; }
  .dtable--compact td { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
  .photo { aspect-ratio: 3 / 4; }
  .btn-soft { min-width: 0; }
  .sp-cta { display: flex; }
  .footer { padding-bottom: 96px; }
  .opening__skip { top: 18px; }

  /* --- スマホ最適化 --- */
  .sect { padding-block: 76px; }
  .sect--tight { padding-block: 60px; }
  .sect-head { margin-bottom: 40px; gap: 20px; }
  .header { padding: 12px 16px; }
  .gnav, .header__logo { height: 48px; }
  .gnav__toggle, .header.is-min .gnav__toggle { width: 48px; height: 48px; }
  .header__logo { padding: 0 16px 0 10px; font-size: 11px; transition: padding .5s var(--ease), gap .5s var(--ease); }
  .header__logo span { max-width: 120px; overflow: hidden; white-space: nowrap; transition: max-width .5s var(--ease), opacity .3s; }
  .header.is-min .header__logo { padding: 0 7px; gap: 0; }
  .header.is-min .header__logo span { max-width: 0; opacity: 0; }
  .header__logo img { width: 32px; }
  body.menu-open .sp-cta { transform: translateY(140%); }

  .hero { min-height: 0; padding: 92px var(--gutter) 40px; }
  .hero__label { font-size: 11.5px; margin-bottom: 18px; }
  .hero__title { font-size: clamp(40px, 12vw, 52px); line-height: 1.22; }
  .hero__sub { margin-top: 20px; font-size: 14px; line-height: 2; }
  .hero__sub br { display: none; }
  .hero__facts { margin-top: 24px; display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; }
  .hero__facts li { padding: 0 0 0 14px; }
  .hero__facts b { font-size: 28px; }
  .hero__facts span { white-space: normal; font-size: 10.5px; letter-spacing: 0; }
  .hero__facts li:first-child span { white-space: nowrap; }
  .sp-only { display: inline; }
  .pc-only { display: none; }
  .hero .btn-row { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero .btn-row .btn-soft { justify-content: center; padding-inline: 14px; }
  .hero__map { width: 100%; margin-top: 8px; }

  .stat { padding: 26px 22px 24px; }
  .stat__ring { right: 18px; top: 18px; width: 64px; height: 64px; }
  .stat__ring circle { stroke-width: 10; }
  .stat__num { font-size: 44px; }
  .stats3 { gap: 14px; }
  .stats3 .stat__label { padding-right: 70px; }

  .story__km { font-size: 31vw; }
  .story__from, .story__cmp { font-size: 15px; }
  .poem__em { font-size: 22px !important; }
  .issues { grid-template-columns: 1fr; row-gap: 32px; }
  .issue { padding-top: 20px; }
  .issue__num { font-size: 34px; }
  .issue__title { margin-top: 10px; font-size: 18.5px; }
  .issue__text { font-size: 14px; line-height: 1.95; }
  .issue__answer { font-size: 22px; text-align: left; }
  .why__lead { font-size: 21px; margin-top: 24px; }

  .school { padding: 24px 22px 26px; }
  .school__name { margin-top: 20px; font-size: 20px; }

  .card { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; padding: 24px 22px; align-items: start; }
  .card__art { grid-row: 1 / span 3; height: 64px; margin: 0; }
  .card .blob { width: 56px; }
  .card__title { margin-top: 4px; font-size: 18px; }
  .card__text { grid-column: 1 / -1; margin-top: 12px; font-size: 13.5px; line-height: 1.95; }

  .join__circle { width: 104px; top: -4px; }
  .join__circle .circle-btn { width: 56px; height: 56px; margin: -28px 0 0 -28px; }

  .field input, .field select, .field textarea { font-size: 16px; }
  .form .btn-soft[type="submit"] { width: 100%; justify-content: center; }
  .swipe-hint { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-bottom: 6px; padding-right: 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--sub); animation: hintBlink 1.6s ease-in-out infinite; transition: opacity .4s; }
  .swipe-hint i { position: relative; width: 22px; height: 1px; background: currentColor; animation: hintNudge 1.6s ease-in-out infinite; }
  .swipe-hint i::after { content: ""; position: absolute; right: 0; top: -3px; width: 6px; height: 6px; border-top: 1px solid; border-right: 1px solid; transform: rotate(45deg); }
  .swipe-hint.is-done { opacity: 0 !important; animation: none; }
  .sp-cta { left: 20px; right: 20px; bottom: max(12px, env(safe-area-inset-bottom)); height: 50px; font-size: 13.5px; }
}

@keyframes hintBlink { 0%, 100% { opacity: .25; } 50% { opacity: .75; } }
@keyframes hintNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
}

/* hero（キービジュアル風）のスマホ調整 */
@media (max-width: 600px) {
  .hero__eyebrow { font-size: 13px; margin-bottom: 10px; }
  .hero .hero__title { line-height: 1.14; }
  .hero__streak { height: 12px; margin-top: 8px; }
  .hero__tag { margin-top: 14px; font-size: 17px; }
  .hero .hero__sub { margin-top: 12px; font-size: 13px; }
  .hero::after { background:
    linear-gradient(150deg, transparent 58%, rgba(30, 155, 255, .2) 58.2%, transparent 58.6%),
    linear-gradient(150deg, transparent 62%, rgba(255, 45, 143, .16) 62.15%, transparent 62.5%),
    linear-gradient(150deg, transparent 66%, rgba(255, 178, 26, .2) 66.1%, transparent 66.4%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__streak i, .hero__streak::after { transform: none; transition: none; }
}

/* 会場写真は外観1枚のみ（内観は使用不可） */
.photo-grid.photo-grid--one { grid-template-columns: 1fr; }
.photo-grid.photo-grid--one .photo { height: auto; aspect-ratio: 3 / 2; }

/* ---------- 応募フォーム（Googleフォームへのリンク） ---------- */
.ext { width: 1em; height: 1em; flex: none; margin-left: 6px; vertical-align: -.12em; }
.apply { position: relative; padding: clamp(32px, 4vw, 56px); border-radius: 28px; background: var(--bg); box-shadow: var(--soft-l); overflow: hidden; }
.apply::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--grad); }
.apply__en { font-family: var(--f-en); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sub); }
.apply__title { margin-top: 10px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 900; line-height: 1.5; color: var(--navy); }
.apply__text { margin-top: 16px; font-size: 14px; line-height: 2; color: var(--ink-2); }
.apply__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px; margin-top: 30px; min-width: min(100%, 360px);
  padding: 22px 36px; border-radius: 999px; font-size: 17px; font-weight: 700; letter-spacing: .04em; color: #fff;
  background: var(--grad-d); background-size: 160% 100%; background-position: 0 0;
  box-shadow: 0 12px 28px rgba(155, 77, 255, .28); transition: background-position .6s var(--ease-out), transform .3s var(--ease-out), box-shadow .3s;
}
.apply__btn .ext { width: 20px; height: 20px; margin-left: 8px; transition: transform .3s var(--ease-out); }
.apply__btn:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(255, 45, 143, .3); }
.apply__btn:hover .ext { transform: translate(2px, -2px); }
.apply__btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.apply__note { margin-top: 14px; font-size: 12px; color: var(--sub); }
@media (max-width: 600px) {
  .apply { padding: 30px 22px; border-radius: 22px; }
  .apply__title { font-size: 21px; }
  .apply__text br { display: none; }
  .apply__btn { display: flex; width: 100%; min-width: 0; padding: 19px 20px; font-size: 16px; }
}
