/* ============================================================
   異煌祭 2026 公式サイト  style.css
   配色と書体はパンフレット（白い紙・空と海の青いパズル）に合わせる
   ============================================================ */

:root {
  --paper: #f4f6f8;
  --white: #ffffff;
  --navy: #14305a;
  --navy-deep: #0e2a52;
  --ink: #3e5575;
  --muted: #6d7f98;
  --blue: #2b6fb7;
  --pale: #e6f0f9;
  --line: rgba(20, 48, 90, 0.12);
  --grad: linear-gradient(170deg, #a6d4f3 0%, #56a0dc 28%, #2466b0 58%, #0f3a78 100%);

  --mincho: "Shippori Mincho B1", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  --logo: "Shippori Mincho", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  --goth: "Zen Kaku Gothic New", "Yu Gothic", "YuGothic", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --latin: "Cormorant Garamond", "Times New Roman", serif;

  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --ease-io: cubic-bezier(0.7, 0, 0.3, 1);
  --container: 1180px;
  --header-h: 84px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--goth);
  font-size: 16px;
  line-height: 1.8;
  color: var(--navy);
  background: var(--paper);
  overflow-x: hidden;
  font-feature-settings: "palt";
}
body.is-locked { overflow: hidden; }
h1, h2, h3, p, dl, dd, dt, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--blue); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--navy); }
svg { display: block; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 2px; }

.mincho { font-family: var(--mincho); }
/* 公式ロゴの書体感：細い明朝を少し縦長に */
.logo-type { font-family: var(--logo); font-weight: 400; letter-spacing: 0.08em; }
.logo-type > span, .logo-type.v { font-feature-settings: normal; }
.latin { font-family: var(--latin); font-weight: 600; letter-spacing: 0.26em; }
.v { writing-mode: vertical-rl; }
.pc { display: inline; }
.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.section { padding-block: clamp(80px, 10vw, 128px); }
.section--white { background: var(--white); border-top: 1px solid var(--line); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--navy); color: #fff; border-radius: 4px; }
.skip-link:focus { top: 12px; }

/* 題字などの「パズル柄」：青いグラデーションの上に切れ目の模様を敷き、文字で切り抜く */
.puzzle-text {
  background-image: var(--puzzle-tile), var(--grad);
  background-size: 46px 46px, 220% 220%;
  background-position: 0 0, 0% 0%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.puzzle-text--live { animation: puzzle-shimmer 14s ease-in-out infinite alternate; }
@keyframes puzzle-shimmer {
  from { background-position: 0 0, 0% 0%; }
  to   { background-position: 0 0, 100% 100%; }
}

.eyebrow { font-size: 14px; color: var(--blue); }
.sec-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; margin-bottom: 44px; }
.sec-title .mincho { font-size: clamp(26px, 3vw, 34px); font-weight: 700; letter-spacing: 0.1em; }
.sec-title .latin { font-size: 14px; color: var(--blue); }
/* 見出しごとリンクにするとき（お知らせ → 一覧ページ） */
.sec-title__link { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; color: inherit; }
.sec-title__link .latin { display: inline-flex; align-items: center; gap: 6px; transition: color .2s var(--ease); }
.sec-title__link svg { transition: transform .25s var(--ease); }
.sec-title__link:hover .latin { color: var(--navy); }
.sec-title__link:hover svg { transform: translateX(4px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 50px; padding: 0 28px; border-radius: 25px;
  font-size: 15px; font-weight: 500; letter-spacing: 0.08em; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn svg { transition: transform .2s var(--ease); }
.btn:hover { transform: translateY(-1.5px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn--primary { background: var(--navy); color: var(--paper); box-shadow: 0 8px 20px rgba(14, 42, 82, 0.18); }
.btn--primary:hover { background: var(--navy-deep); color: #fff; box-shadow: 0 12px 26px rgba(14, 42, 82, 0.24); }
.btn--primary:hover svg { transform: translateX(3px); }
.btn--back:hover svg { transform: translateX(-3px); } /* 左向きの矢印（戻る）は左へ動く */
.btn--ghost { border: 1px solid rgba(20, 48, 90, 0.4); background: rgba(255, 255, 255, 0.65); color: var(--navy); }
.btn--ghost:hover { border-color: var(--navy); background: #fff; }

/* ============================================================
   ヘッダー
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.site-header.is-scrolled {
  height: 64px;
  background: rgba(244, 246, 248, 0.94);
  box-shadow: 0 1px 0 var(--line);
}
.site-header__inner { height: 100%; width: min(100% - 48px, 1360px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: baseline; gap: 14px; color: var(--navy); }
.brand__ja { font-size: 26px; letter-spacing: 0.16em; transition: font-size .35s var(--ease); }
.is-scrolled .brand__ja { font-size: 21px; }
.brand__en { font-size: 13px; }
.nav__list { display: flex; gap: 36px; }
.nav__list a { position: relative; display: block; padding: 8px 2px; font-size: 15px; font-weight: 500; letter-spacing: 0.06em; color: var(--navy); }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--blue); transform: scaleX(0); transform-origin: right; transition: transform .28s var(--ease); }
.nav__list a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle { display: none; position: relative; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.7); z-index: 130; }
.nav-toggle__bar { position: absolute; left: 12px; width: 20px; height: 1.6px; background: var(--navy); border-radius: 1px; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav-toggle__bar:nth-child(1) { top: 18px; }
.nav-toggle__bar:nth-child(2) { top: 25px; }
/* メニューを開いている間は、ヘッダー（ロゴと閉じるボタン）をメニューの上に出す */
.menu-open .site-header { z-index: 130; background: transparent; box-shadow: none; }
.menu-open .nav-toggle__bar:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.menu-open .nav-toggle__bar:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

/* スマホ用メニュー */
.mobile-menu { position: fixed; inset: 0; z-index: 120; visibility: hidden; pointer-events: none; }
.menu-open .mobile-menu { visibility: visible; pointer-events: auto; }
.mobile-menu__paper { position: absolute; inset: 0; background: var(--paper); transform: translateY(-100%); transition: transform .5s var(--ease-io); }
.menu-open .mobile-menu__paper { transform: translateY(0); }
.mobile-menu__nav { position: relative; height: 100%; display: flex; flex-direction: column; padding: 96px 32px 32px; overflow-y: auto; overscroll-behavior: contain; }
/* 項目は縦の真ん中に置く。ただし画面が短くて入りきらないときは上から並べ、はみ出した分はメニューの中でスクロールする
   （真ん中そろえのままだと上にもはみ出し、1つめの項目がヘッダーの裏に隠れる） */
.mobile-menu__nav > ul { margin-top: auto; }
/* ずらしたとき、ヘッダー（異煌祭・×）の下に来た項目は、ふわっと消えるようにする（文字どうしが重ならないように） */
.mobile-menu__nav {
  -webkit-mask-image: linear-gradient(to bottom, transparent calc(var(--header-h) - 4px), #000 calc(var(--header-h) + 14px));
  mask-image: linear-gradient(to bottom, transparent calc(var(--header-h) - 4px), #000 calc(var(--header-h) + 14px));
}
.mobile-menu__nav li { opacity: 0; transform: translateY(14px); transition: opacity .4s var(--ease), transform .5s var(--ease); transition-delay: 0s; }
.menu-open .mobile-menu__nav li { opacity: 1; transform: none; transition-delay: calc(.18s + var(--i) * 60ms); }
.mobile-menu__nav a { display: flex; align-items: baseline; gap: 18px; padding: 14px 0; font-family: var(--mincho); font-size: 30px; font-weight: 700; letter-spacing: 0.1em; color: var(--navy); border-bottom: 1px solid var(--line); }
.mobile-menu__nav a .latin { font-size: 13px; color: var(--blue); }
.mobile-menu__foot { margin: 32px 0 auto; font-size: 12px; color: var(--muted); opacity: 0; transition: opacity .4s .5s; }
.menu-open .mobile-menu__foot { opacity: 1; }
/* 縦の短い画面（ブラウザのアドレス欄や下のボタンが出ているスマホなど）では、項目を詰めて1画面に収める */
@media (max-height: 680px) {
  .mobile-menu__nav { padding-top: calc(var(--header-h) + 20px); padding-bottom: 24px; }
  .mobile-menu__nav a { padding: 10px 0; font-size: 25px; }
  .mobile-menu__foot { margin-top: 20px; }
}
/* さらに縦の短い画面（小さいスマホでアドレス欄が出ているときなど）では、もう少し詰める */
@media (max-height: 600px) {
  .mobile-menu__nav a { padding: 8px 0; font-size: 22px; }
  .mobile-menu__foot { margin-top: 14px; }
}
/* とても短い画面では、下の日付の1行（飾り）を出さない */
@media (max-height: 560px) {
  .mobile-menu__foot { display: none; }
}
/* スマホを横にしたとき：項目を2列に並べて、ずらさなくても入りきるようにする */
@media (max-height: 520px) and (orientation: landscape) {
  .mobile-menu__nav { padding-top: calc(var(--header-h) + 10px); padding-bottom: 16px; }
  .mobile-menu__nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
  .mobile-menu__nav a { padding: 8px 0; font-size: 22px; }
  .mobile-menu__foot { margin-top: 14px; }
}

/* ============================================================
   オープニング（初回だけ）：夜空で、写真の入ったピースが1枚ずつかみ合い、裏返って題字になる。最後は光の輪が広がって本編へ
   ============================================================ */
.intro { position: fixed; inset: 0; z-index: 300; overflow: hidden; cursor: pointer; }
html:not(.js) .intro, .intro.is-done { display: none; }
.intro__label { position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; white-space: nowrap; }
.intro__label .mincho { font-size: 14px; letter-spacing: 0.24em; color: #d6e9fa; }
.intro__label .latin { font-size: 11px; color: rgba(214, 233, 250, 0.6); }
.intro__skip { position: absolute; right: 28px; top: 28px; padding: 10px 14px; font-size: 13px; color: rgba(230, 242, 252, 0.85); border: 1px solid rgba(230, 242, 252, 0.3); border-radius: 20px; transition: color .2s, border-color .2s; }
.intro__skip:hover { color: #fff; border-color: #fff; }
@media (max-height: 540px) { .intro__label { display: none; } }
.opening__sky { position: absolute; inset: 0; background: radial-gradient(circle at 50% 47%, #1d4b86 0, #0e2a52 55vmax, #07183a 100vmax); }
.opening__iris { position: absolute; inset: 0; width: 100%; height: 100%; }
.opening__stage { position: absolute; inset: 0; perspective: 1100px; }
.opening__world { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.opening__piece, .opening__band, .opening__logo { position: absolute; left: 0; top: 0; }
.opening__piece { opacity: 0; }
.opening__piece > svg { position: absolute; overflow: visible; }
.opening__line { will-change: transform; } /* 縁の線を描く動きで、写真まで描き直さないよう別の層に */
.opening__seam { opacity: 0.001; will-change: opacity; filter: drop-shadow(0 0 6px rgba(190, 226, 255, 0.95)); } /* 光る前に描いておく */
.opening__scan { position: absolute; opacity: 0; pointer-events: none; background: linear-gradient(90deg, rgba(214, 236, 255, 0), rgba(214, 236, 255, 0.9) 32%, #fff 50%, rgba(214, 236, 255, 0.9) 68%, rgba(214, 236, 255, 0)); filter: drop-shadow(0 0 6px rgba(190, 226, 255, 0.95)); }
.opening__word { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; margin: 0; font-family: var(--mincho); font-weight: 800; line-height: 1; letter-spacing: 0.04em; white-space: nowrap; color: #fff; text-shadow: 0 2px 16px rgba(3, 14, 40, 0.55); }
.opening__ch { display: inline-block; opacity: 0; }
.opening__ch--p { margin-right: -0.55em; } /* 句読点は字面が左に寄るので、そのぶん中央へ寄せる */
.opening__band { visibility: hidden; }
.opening__band svg { display: block; width: 100%; height: 100%; }
.opening__band, .opening__logo-white { filter: drop-shadow(0 0 16px rgba(142, 197, 238, 0.55)); }
.opening__logo { visibility: hidden; transform-origin: 0 0; }
.opening__logo svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.opening__logo-white, .opening__logo-color { position: absolute; inset: 0; }
.opening__logo-color { opacity: 0; }
.opening__pop { position: absolute; opacity: 0; fill: #fff; filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9)); }
.opening__pop svg { display: block; width: 100%; height: 100%; overflow: visible; }
.opening__star { position: absolute; pointer-events: none; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); opacity: 0; fill: #d6ebfb; }
.opening__star svg { display: block; width: 100%; height: 100%; overflow: visible; animation: twinkle var(--t, 3.2s) ease-in-out infinite; animation-delay: var(--d, 0s); }

/* ============================================================
   ヒーロー
   ============================================================ */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  --mx: 0; --my: 0;
}
.hero__prism {
  position: absolute; inset: -10% -18%; pointer-events: none;
  background:
    linear-gradient(118deg, transparent 40%, rgba(255, 196, 222, 0.28) 45%, rgba(186, 226, 255, 0.38) 50%, rgba(255, 240, 196, 0.26) 55%, transparent 60%),
    linear-gradient(128deg, transparent 66%, rgba(186, 226, 255, 0.3) 71%, transparent 76%);
  animation: prism-drift 22s ease-in-out infinite alternate;
}
/* ヒーローが画面の外にあるときは、動きを止めて負荷を下げる */
.hero.is-off .float, .hero.is-off .hero__prism, .hero.is-off .puzzle-text--live, .hero.is-off .spark,
.hero.is-waiting .float, .hero.is-waiting .hero__prism, .hero.is-waiting .puzzle-text--live, .hero.is-waiting .spark { animation-play-state: paused; } /* is-waiting＝オープニングの最中 */
@keyframes prism-drift { from { transform: translateX(-6%); } to { transform: translateX(6%); } }

/* 奥行きレイヤー：マウスに合わせて少しだけ動く */
.hero__layer {
  position: absolute; inset: 0; pointer-events: none;
  transform: translate3d(calc(var(--mx) * var(--depth) * 1px), calc(var(--my) * var(--depth) * 1px), 0);
  transition: transform .9s var(--ease);
}
.float { animation: float-a 9s ease-in-out infinite alternate; will-change: transform; }
.float--a { animation-duration: 9s; }
.float--b { animation-name: float-b; animation-duration: 11s; }
.float--c { animation-name: float-c; animation-duration: 8s; animation-delay: -3s; }
.float--d { animation-name: float-b; animation-duration: 13s; animation-delay: -6s; }
@keyframes float-a { from { transform: translate3d(0, 0, 0) rotate(0deg); } to { transform: translate3d(0, -12px, 0) rotate(1.2deg); } }
@keyframes float-b { from { transform: translate3d(0, 0, 0) rotate(0deg); } to { transform: translate3d(6px, 10px, 0) rotate(-1.5deg); } }
@keyframes float-c { from { transform: translate3d(0, 0, 0) rotate(0deg); } to { transform: translate3d(-8px, -8px, 0) rotate(3deg); } }

/* パズルの中の写真：時間でゆっくり入れ替わる */
.slide { opacity: 0; transition: opacity 1.8s var(--ease); }
.slide.is-show { opacity: 1; }
.cluster { position: absolute; }
/* 影は写真の入れ替えと無関係な別レイヤーに */
.cluster-shadow { opacity: 0.26; filter: blur(12px); transform: translateY(16px); will-change: transform; }
.cluster--sky { left: -3%; top: 11%; width: clamp(280px, 34vw, 500px); rotate: 4deg; }
.cluster--sea { right: -4%; bottom: -6%; width: clamp(240px, 30vw, 430px); rotate: 7deg; }
.hero__layer--sky .float, .hero__layer--sea .float { position: absolute; inset: 0; }

.piece { position: absolute; filter: drop-shadow(0 8px 12px rgba(14, 42, 82, 0.22)); }
.piece--r1 { right: 7%; top: 12%; width: 120px; rotate: 14deg; }
.piece--r2 { right: 2%; top: 30%; width: 90px; rotate: -18deg; }
.piece--r3 { right: 3%; top: 48%; width: 150px; rotate: 8deg; }
.piece--s1 { left: 37%; top: 33%; width: 46px; rotate: 22deg; }
.piece--s2 { left: 60%; top: 26%; width: 54px; rotate: -14deg; }
.piece--s3 { left: 63%; top: 53%; width: 30px; rotate: 55deg; }
.piece--s4 { left: 39%; top: 70%; width: 40px; rotate: 38deg; }
.piece--s5 { left: 59%; top: 78%; width: 44px; rotate: -28deg; }
.piece--s6 { left: 47%; top: 88%; width: 34px; rotate: 12deg; }

.hero__orbits { position: absolute; left: 50%; top: 50%; width: min(120vw, 1100px); height: min(120vw, 1100px); transform: translate(-50%, -50%); pointer-events: none; }
.orbit { fill: none; stroke: var(--blue); stroke-width: 1.1; stroke-dasharray: 2400; stroke-dashoffset: 2400; }
.orbit--1 { stroke-opacity: 0.55; }
.orbit--2 { stroke-opacity: 0.4; stroke-width: 1; }
.hero.is-in .orbit { animation: orbit-draw 1.8s var(--ease) forwards; }
.hero.is-in .orbit--2 { animation-delay: .25s; }
@keyframes orbit-draw { to { stroke-dashoffset: 0; } }

.hero__inner {
  position: relative; z-index: 2;
  width: min(100% - 48px, 1280px); margin-inline: auto;
  min-height: 100svh;
  padding: calc(var(--header-h) + 40px) 0 88px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-areas:
    "info title copy";
  column-gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.hero__theme { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.hero__theme-k { font-size: 54px; font-weight: 800; line-height: 1; }
.hero__theme-k span { display: inline-block; }
.hero__theme-t { display: flex; flex-direction: column; gap: 2px; }
.hero__theme-t b { font-size: 16px; font-weight: 700; letter-spacing: 0.1em; }
.hero__theme-t small { font-size: 13px; color: var(--muted); letter-spacing: 0.06em; }
.hero__titlewrap { grid-area: title; justify-self: center; display: flex; align-items: flex-start; gap: clamp(14px, 1.8vw, 28px); }
.hero__year { font-size: clamp(12px, 1.1vw, 16px); font-weight: 500; letter-spacing: 0.34em; color: #1f3f6c; padding-top: 0.6em; white-space: nowrap; }
.hero__titlebox { position: relative; }
/* 題字：✦ を組み込んだ専用のロゴタイプ（SVG）。幅で大きさを決める */
.hero__logo { display: block; width: clamp(88px, 12.4vw, 190px); height: auto; overflow: visible; }
.hero__logo .spark { animation: twinkle 3.6s ease-in-out infinite; }
.hero__title {
  position: relative;
  font-size: clamp(100px, 14vw, 212px); font-weight: 400; line-height: 1; letter-spacing: 0.1em;
  margin: 0; padding: 0.06em 0;
}
/* パズル柄は、縦長にする span 側に付ける（親に付けると transform で文字が消える） */
.hero__title span { display: inline-block; transform: scaleX(0.9); transform-origin: top center; background-size: 30px 30px, 220% 220%; }
/* ロゴのきらめき。題字の箱いっぱいに重ねる */
.hero__sparks { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.hero__sparks { z-index: 1; }
.spark { animation: twinkle 3.6s ease-in-out infinite; }
.spark.s2 { animation-delay: -1.2s; animation-duration: 2.8s; }
.spark.s3 { animation-delay: -2s; animation-duration: 4.2s; }
.spark.s4 { animation-delay: -0.6s; animation-duration: 3.1s; }
@keyframes twinkle { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
.hero__copy { grid-area: copy; align-self: start; justify-self: start; margin-left: clamp(0px, 3vw, 48px); padding-top: 10vh; font-size: clamp(15px, 1.5vw, 21px); font-weight: 500; letter-spacing: 0.34em; line-height: 2.1; color: #1f3f6c; }
.hero__info { grid-area: info; align-self: end; display: flex; flex-direction: column; gap: 14px; }
.hero__dates { display: flex; align-items: baseline; gap: 10px; }
.hero__date { font-size: clamp(40px, 4vw, 56px); font-weight: 700; line-height: 1; }
.hero__dow { font-size: 14px; color: var(--muted); letter-spacing: 0.16em; }
.hero__dash { font-size: 28px; color: var(--blue); padding: 0 4px; }
.hero__place { font-size: 15px; letter-spacing: 0.06em; color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* 創立60周年の札 */
.hero__anniv { font-size: 17px; font-weight: 700; letter-spacing: 0.14em; color: var(--navy); margin-bottom: 4px; white-space: nowrap; }

/* 入場 */
.js .hero [data-hero] { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
.js .hero.is-in [data-hero] { opacity: 1; transform: none; }
.js .hero .hero__layer[data-hero] { transform: translate3d(calc(var(--mx) * var(--depth) * 1px), calc(var(--my) * var(--depth) * 1px), 0) scale(0.97); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.js .hero.is-in .hero__layer[data-hero] { transform: translate3d(calc(var(--mx) * var(--depth) * 1px), calc(var(--my) * var(--depth) * 1px), 0) scale(1); }
.js .hero.is-in .hero__layer { transition: transform .9s var(--ease), opacity 1s var(--ease); }

/* ============================================================
   協賛・協力・後援（ロゴが流れる帯）
   ============================================================ */
.partners { background: var(--white); border-top: 1px solid var(--line); padding: 34px 0; overflow: hidden; }
.marquee { position: relative; display: flex; width: 100%; overflow: hidden; }
/* 端のぼかし：mask-image は帯全体を毎フレーム合成し直すので、白いグラデーションを上に重ねる */
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 8%; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--white), rgba(255, 255, 255, 0)); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--white), rgba(255, 255, 255, 0)); }
.marquee + .marquee { margin-top: 24px; }
.marquee__track { display: flex; align-items: center; gap: 64px; padding-right: 64px; flex-shrink: 0; animation: marquee 80s linear infinite; will-change: transform; backface-visibility: hidden; }
.marquee--reverse .marquee__track { animation-direction: reverse; animation-duration: 36s; }
@keyframes marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-100%, 0, 0); } }
.partner { display: flex; align-items: center; flex-shrink: 0; }
.partner img { display: block; height: 54px; width: auto; max-width: 280px; object-fit: contain; }
.partner--text span { font-size: 18px; font-weight: 700; letter-spacing: 0.1em; color: var(--navy); white-space: nowrap; }
/* 画面の外にあるときは止める */
.partners.is-off .marquee__track { animation-play-state: paused; }

/* ============================================================
   お知らせ（記事はクリックで開く）
   ============================================================ */
.news { padding-top: clamp(36px, 4.5vw, 56px); } /* ロゴの帯のすぐ下に見出しが来るよう、上だけ詰める */
/* 一覧：16:9 のサムネイル付きのカード（YouTube と同じ並び方） */
.news__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 32px; }
.news__card { display: flex; flex-direction: column; gap: 14px; width: 100%; text-align: left; color: var(--navy); }
.news__thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; background: var(--pale); border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(14, 42, 82, 0.06); transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.news__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.news__card:hover .news__thumb { box-shadow: 0 16px 36px rgba(14, 42, 82, 0.14); transform: translateY(-3px); }
.news__card:hover .news__thumb img { transform: scale(1.04); }
.news__meta { display: flex; align-items: center; gap: 12px; }
.news__date { font-size: 13px; color: var(--muted); letter-spacing: 0.14em; }
.news__pin { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: #fff; flex-shrink: 0; }
.news__tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border: 1px solid rgba(43, 111, 183, 0.5); border-radius: 12px; font-size: 12px; letter-spacing: 0.12em; color: var(--blue); white-space: nowrap; }
.news__title { font-size: 17px; font-weight: 600; line-height: 1.6; transition: color .2s var(--ease); }
.news__card:hover .news__title { color: var(--blue); }
/* トップに出すのは新しい 6 件。それより多いときの「すべてのお知らせ」 */
.news__more { display: flex; justify-content: center; margin-top: 56px; }
.news__more--sm { display: none; } /* スマホでだけ出す（4件目以降を隠しているとき） */
.news__count { font-size: 13px; margin-left: 4px; color: var(--blue); }
/* 一覧ページ（news/）とページ送り */
.news--index { padding-top: clamp(28px, 4vw, 48px); }
/* お知らせ一覧の検索 */
.nsearch { margin: -8px 0 36px; }
.nsearch__field { display: flex; align-items: center; gap: 10px; max-width: 560px; padding: 0 14px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; color: var(--muted); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.nsearch__field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(63, 137, 208, 0.18); color: var(--navy); }
.nsearch__input { flex: 1; min-width: 0; height: 46px; border: 0; background: transparent; font: inherit; font-size: 15px; color: var(--ink); outline: none; }
.nsearch__input::placeholder { color: rgba(20, 48, 90, 0.4); }
.nsearch__input::-webkit-search-cancel-button { display: none; }
.nsearch__clear { width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--pale); color: var(--navy); font-size: 16px; line-height: 1; cursor: pointer; }
.nsearch__status { margin-top: 10px; font-size: 13px; color: var(--muted); min-height: 1.6em; }
.nsearch__empty { padding: 40px 0; text-align: center; color: var(--muted); }
.news__title mark { background: rgba(255, 220, 120, 0.55); color: inherit; border-radius: 2px; padding: 0 1px; }
.pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 14px; }
.pager__link { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); transition: color .2s var(--ease); }
.pager__link:last-child { justify-self: end; }
a.pager__link:hover { color: var(--blue); }
.pager__now { font-size: 13px; color: var(--muted); }

/* 記事ページ（news/<記事名>/） */
.is-sub .site-header { background: rgba(244, 246, 248, 0.94); box-shadow: 0 1px 0 var(--line); }
.page { padding-top: var(--header-h); }
.article { padding-block: clamp(40px, 6vw, 80px) clamp(80px, 10vw, 128px); }
.article__inner { max-width: 820px; min-width: 0; }
/* 記事＋横の協賛枠。PC（1100px〜）は横に並べ、それより狭ければ記事の下に */
.article__grid { display: grid; grid-template-columns: minmax(0, 820px); justify-content: center; gap: 48px 56px; }
.article__side { display: grid; gap: 14px; align-content: start; }
.article__side-h { display: flex; align-items: baseline; gap: 10px; font-size: 13px; letter-spacing: 0.14em; color: var(--muted); padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.article__side-h .mincho { font-size: 14px; font-weight: 700; color: var(--navy); }
.ad { display: block; padding: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.ad:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(14, 42, 82, 0.10); border-color: rgba(43, 111, 183, 0.4); }
.ad__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; background: var(--pale); }
.ad__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ad__name { display: block; margin-top: 10px; font-size: 14px; font-weight: 700; line-height: 1.5; color: var(--navy); }
.ad__copy { display: block; margin-top: 4px; font-size: 12px; line-height: 1.7; color: var(--muted); }
.ad[hidden] { display: none; }
.ad.is-swap { animation: ad-swap .5s var(--ease); }
@keyframes ad-swap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ad--recruit { padding: 18px 16px; background: var(--pale); border-style: dashed; border-color: rgba(20, 48, 90, 0.3); }
.ad__eyebrow { display: block; font-size: 11px; letter-spacing: 0.18em; color: var(--blue); }
.ad--recruit .ad__name { margin-top: 6px; font-size: 14px; }
@media (min-width: 1100px) {
  .article__grid { grid-template-columns: minmax(0, 820px) 260px; align-items: start; }
  .article__side { position: sticky; top: calc(var(--header-h) + 24px); }
}
@media (min-width: 641px) and (max-width: 1099px) {
  .article__side { grid-template-columns: repeat(2, minmax(0, 1fr)); } /* 枠は2つ（src/ads.mjs の SLOTS） */
  .article__side-h { grid-column: 1 / -1; }
}
/* 相手の会社を取り上げた記事（前書きに partner・partnerUrl）：横の協賛枠を出さない1カラム。本文の最後に「関連リンク」
   大学・自治体のお知らせの記事の形（見出しの下に紺の線、その下に名前と URL の行）。委員長が案A を選んだ（2026-10-11） */
.article__grid.article__grid--solo { grid-template-columns: minmax(0, 820px); }
.article__links { margin-top: 64px; }
.article__links-h { font-family: var(--mincho); font-size: 17px; font-weight: 700; letter-spacing: 0.08em; color: var(--navy); padding-bottom: 12px; border-bottom: 2px solid var(--navy); }
.article__link { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; align-items: center; padding: 20px 4px 20px 2px; border-bottom: 1px solid var(--line); color: var(--navy); transition: background-color .2s var(--ease); }
.article__link-name { font-size: 16px; font-weight: 700; letter-spacing: 0.04em; line-height: 1.6; transition: color .2s var(--ease); }
.article__link-url { grid-column: 1; font-size: 13px; line-height: 1.6; color: var(--muted); letter-spacing: 0.02em; overflow-wrap: anywhere; }
.article__link-ic { grid-column: 2; grid-row: 1 / span 2; display: inline-flex; color: var(--blue); transition: transform .2s var(--ease); }
.article__link:hover { background: rgba(230, 240, 249, 0.55); }
.article__link:hover .article__link-name { color: var(--blue); }
.article__link:hover .article__link-ic { transform: translate(2px, -2px); } /* 右上向きの矢印（外のサイト）は右上へ動く */
.article__links + .article__foot { margin-top: 0; padding-top: 40px; border-top: 0; } /* 行の下の線が区切りを兼ねる（線を二重にしない） */
/* パンくず（HOME / NEWS / 日付）。記事ページと一覧ページで共通 */
.crumb { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.crumb a { color: var(--blue); }
.crumb a:hover { color: var(--navy); }
.article__hero { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; background: var(--pale); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(14, 42, 82, 0.10); margin-bottom: 40px; }
.article__hero img { display: block; width: 100%; height: 100%; object-fit: cover; }
.article__meta { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--muted); letter-spacing: 0.14em; margin-bottom: 14px; }
.article__title { font-size: clamp(24px, 3.4vw, 36px); font-weight: 700; letter-spacing: 0.06em; line-height: 1.5; margin-bottom: 36px; }
.article__text { font-size: 17px; line-height: 2.15; color: var(--ink); }
.article__text p + p, .article__text ul + p, .article__text p + ul { margin-top: 20px; }
.article__text h2,
.article__text h3 { font-family: var(--mincho); font-size: 20px; font-weight: 700; margin: 36px 0 12px; color: var(--navy); }
.article__text ul { padding-left: 1.2em; list-style: disc; }
.article__text strong { color: var(--navy); font-weight: 700; }
.article__text .article__fig { margin: 28px 0; }
.article__text .article__fig img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); }
/* 縦長の画像（チラシ・ポスター）は、画面の高さに収まるまでに縮めて真ん中に置く（PC で 1 枚が画面より長くなり、スクロールが大変だった。2026-10-09 委員長） */
@media (min-width: 641px) {
  .article__text .article__fig img { width: auto; max-width: 100%; max-height: min(78vh, 760px); margin-inline: auto; }
}
.article__text .article__fig figcaption { margin-top: 8px; font-size: 13px; line-height: 1.7; color: var(--muted); text-align: center; }
.article__text iframe, .article__text video { display: block; max-width: 100%; margin: 28px 0; border: 0; border-radius: 10px; }
.article__text a { text-decoration: underline; text-underline-offset: 3px; }
/* 記事の下：前後の記事 → 「ホームに戻る」「お知らせ一覧」 */
.article__foot { margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--line); }
.article__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 40px; }
.article__prev, .article__next { display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.6; color: var(--navy); transition: color .2s var(--ease); }
.article__next { text-align: right; align-items: flex-end; }
.article__nav small { font-size: 11px; color: var(--blue); }
a.article__prev:hover, a.article__next:hover { color: var(--blue); }
.article__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.news__back { display: flex; justify-content: center; margin-top: 56px; }

/* ページの切り替え：一覧のサムネイルが記事の画像へ滑らかにつながる（対応ブラウザだけ） */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .26s ease-out both vt-out; }
::view-transition-new(root) { animation: .38s var(--ease) both vt-in; }
::view-transition-group(*) { animation-duration: .5s; animation-timing-function: var(--ease); }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

/* ============================================================
   ゲスト（未定・シークレット）：ヒーローと同じ白い紙。プリズムの光と軌道線の中を、青いピースがまわる
   ============================================================ */
.guest { position: relative; overflow: hidden; color: var(--navy); background: var(--paper); padding-block: clamp(40px, 5vw, 60px); } /* お知らせの節より低く収める */
.guest .sec-title { margin-bottom: 20px; }
.guest__prism { position: absolute; inset: -10% -18%; pointer-events: none; opacity: 0.9;
  background:
    linear-gradient(118deg, transparent 40%, rgba(255, 196, 222, 0.28) 45%, rgba(186, 226, 255, 0.38) 50%, rgba(255, 240, 196, 0.26) 55%, transparent 60%),
    linear-gradient(128deg, transparent 66%, rgba(186, 226, 255, 0.3) 71%, transparent 76%);
  animation: prism-drift 22s ease-in-out infinite alternate; }
.guest__sky { position: absolute; inset: 0; pointer-events: none; }
.guest__orbits { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--blue); stroke-opacity: 0.35; stroke-width: 1; }
.guest__star { position: absolute; width: var(--s, 14px); height: var(--s, 14px); fill: url(#g-spark); opacity: 0.9; animation: guest-twinkle 3.6s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes guest-twinkle { 0%, 100% { opacity: 0.35; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.15); } }
/* 左に盤、右に COMING SOON（PC）。スマホでは縦に */
.guest__stage { position: relative; display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); align-items: center; gap: 20px clamp(24px, 4vw, 56px); }
/* 「?」を乗せた3つのピース（空・海・紺のグラデーション、白い継ぎ目）。動くのは上下のゆれだけ */
.guest__pieces { width: 100%; height: auto; overflow: visible; }
.guest__bob { transform-box: fill-box; transform-origin: center; animation: guest-bob 7s ease-in-out infinite; animation-delay: calc(var(--k, 0) * -2.3s); }
@keyframes guest-bob { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-10px) rotate(3deg); } }
.guest__mark { font-family: var(--mincho); font-size: 56px; font-weight: 800; fill: #fff; animation: guest-mark 3.2s ease-in-out infinite; animation-delay: calc(var(--k, 0) * -0.8s); }
@keyframes guest-mark { 0%, 100% { opacity: 0.75; } 50% { opacity: 1; } }
.guest__text { display: flex; flex-direction: column; align-items: center; text-align: center; }
.guest__offer { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 13px; letter-spacing: 0.08em; color: var(--blue); border-bottom: 1px solid rgba(43, 111, 183, 0.4); padding-bottom: 2px; transition: color .2s var(--ease), border-color .2s var(--ease); }
.guest__offer:hover { color: var(--navy); border-color: var(--navy); }
.guest__offer svg { transition: transform .25s var(--ease); }
.guest__offer:hover svg { transform: translateX(3px); }
/* ゲスト出演の募集（特設ページ。ゲストが決まるまで） */
.offer { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px clamp(32px, 5vw, 72px); margin-top: 56px; padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px); background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(14, 42, 82, 0.08); scroll-margin-top: calc(var(--header-h) + 16px); }
.offer__title { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; letter-spacing: 0.08em; margin-top: 6px; }
.offer__text { margin-top: 14px; font-size: 15px; line-height: 2; color: var(--ink); }
.offer__meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.offer__meta div { display: flex; gap: 12px; align-items: baseline; }
.offer__meta dt { font-size: 12px; letter-spacing: 0.2em; color: var(--blue); }
.offer__meta dd { font-family: var(--mincho); font-size: 16px; font-weight: 700; }
.offer__cta { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.offer__mail { font-size: 14px; letter-spacing: 0.12em; color: var(--muted); }
/* 特設ページ（guest/） */
.guest--page { padding-block: clamp(28px, 4vw, 48px) clamp(80px, 10vw, 128px); }
.guest--page .sec-title { margin-bottom: 40px; }
.guest__lead { margin-top: 40px; text-align: center; font-size: 15px; color: var(--muted); letter-spacing: 0.06em; }
/* ゲストのカード（決まってから使う）：左に写真（4:5）、右に名前・肩書き・出演・SNS・プロフィール */
.gcards { display: flex; flex-direction: column; gap: 32px; }
.gcard { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); padding: clamp(24px, 3vw, 40px); background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(14, 42, 82, 0.08); }
.gcard__photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 10px; background: var(--pale); }
.gcard__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gcard__role { font-size: 13px; letter-spacing: 0.16em; color: var(--blue); }
.gcard__name { font-size: clamp(26px, 3vw, 36px); font-weight: 700; letter-spacing: 0.08em; line-height: 1.4; margin-top: 6px; }
.gcard__name small { display: block; font-family: var(--goth); font-size: 13px; font-weight: 400; letter-spacing: 0.2em; color: var(--muted); margin-top: 4px; }
.gcard__meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.gcard__meta div { display: flex; gap: 12px; align-items: baseline; }
.gcard__meta dt { font-size: 12px; letter-spacing: 0.2em; color: var(--blue); }
.gcard__meta dd { font-family: var(--mincho); font-size: 17px; font-weight: 700; }
.gcard__sns { display: flex; gap: 8px; margin-top: 16px; }
.gcard__text { margin-top: 20px; font-size: 15px; line-height: 2; color: var(--ink); }
.gcard__text p + p { margin-top: 14px; }
/* COMING SOON：2行の大きな飾り書体に青のグラデーション */
.guest__soon { display: flex; flex-direction: column; align-items: center; font-size: clamp(36px, 4.8vw, 64px); line-height: 1.08; letter-spacing: 0.22em; text-indent: 0.22em; font-weight: 600; background: linear-gradient(180deg, #7fb8e8 0%, #2b6fb7 55%, #17407e 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.guest__rule { display: block; width: 48px; height: 1px; margin: 26px 0 20px; background: var(--blue); opacity: 0.6; }
.guest__note { font-size: clamp(15px, 1.4vw, 18px); letter-spacing: 0.14em; color: var(--navy); }

/* ---------- ゲストが決まったあと（src/guests.mjs）。ゲストのページの発表・時間割・章は assets/guest/show.css ---------- */
/* トップのゲストの節（ゲストが決まったあと）：未定のときと同じ .guest__stage の組み方。左にピースから浮かぶ写真、右に文字 */
.gtop__stage { display: grid; align-items: end; gap: clamp(6px, 1.4vw, 18px); width: 100%; }
.gtop__guest { display: flex; flex-direction: column; align-items: center; }
.gtop__link { display: flex; flex-direction: column; align-items: center; width: 100%; color: var(--navy); }
/* 投影：床のピース → 光の筋 → 浮かぶ写真 */
.gtop__proj { position: relative; display: flex; flex-direction: column; align-items: center; width: 100%; }
.gtop__holo { position: relative; z-index: 2; width: 76%; aspect-ratio: 4 / 5; overflow: hidden; border: 4px solid #fff; border-radius: 12px; background: var(--pale); box-shadow: 0 0 26px rgba(94, 163, 222, 0.45), 0 16px 32px rgba(14, 42, 82, 0.2); animation: gtop-float 5.6s ease-in-out infinite; animation-delay: calc(var(--k) * -1.7s); }
.gtop__holo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gtop__holo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(214, 236, 251, 0.35) 0%, rgba(214, 236, 251, 0) 36%), repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0 2px, rgba(255, 255, 255, 0) 2px 5px); }
.gtop__holo--plain { display: grid; place-items: center; background: radial-gradient(60% 50% at 50% 36%, rgba(214, 236, 251, 0.45), rgba(214, 236, 251, 0) 72%), linear-gradient(160deg, #5ea3de 0%, #2567b0 55%, #14305a 100%); }
.gtop__holo--plain > span { writing-mode: vertical-rl; white-space: nowrap; font-size: clamp(14px, 1.7vw, 22px); font-weight: 800; letter-spacing: 0.14em; color: #fff; text-shadow: 0 4px 14px rgba(14, 42, 82, 0.35); }
.gtop__guest--head .gtop__holo--plain > span { font-size: clamp(18px, 2.3vw, 30px); letter-spacing: 0.18em; }
@keyframes gtop-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.gtop__ray { position: absolute; z-index: 1; left: 6%; right: 6%; top: 10%; bottom: 20%; background: linear-gradient(0deg, rgba(94, 163, 222, 0.5) 0%, rgba(94, 163, 222, 0.14) 60%, rgba(94, 163, 222, 0) 100%); clip-path: polygon(42% 100%, 58% 100%, 96% 0, 4% 0); filter: blur(4px); animation: gtop-flicker 3.4s ease-in-out infinite; animation-delay: calc(var(--k) * -1.1s); }
@keyframes gtop-flicker { 0%, 100% { opacity: 0.9; } 40% { opacity: 0.65; } 55% { opacity: 1; } }
.gtop__pad { position: relative; z-index: 1; width: 90%; margin-top: -12%; margin-bottom: -14%; transform: perspective(520px) rotateX(64deg) rotateZ(-12deg); filter: drop-shadow(0 10px 8px rgba(14, 42, 82, 0.2)) drop-shadow(0 0 12px rgba(94, 163, 222, 0.55)); }
.gtop__guest:nth-child(even) .gtop__pad { transform: perspective(520px) rotateX(64deg) rotateZ(10deg); }
.gtop__pad svg { display: block; width: 100%; height: auto; overflow: visible; }
.gtop__name { display: flex; flex-direction: column; align-items: center; margin-top: 2px; font-size: clamp(14px, 1.5vw, 19px); font-weight: 800; letter-spacing: 0.06em; line-height: 1.4; white-space: nowrap; }
.gtop__guest--head .gtop__name { font-size: clamp(17px, 2vw, 25px); }
.gtop__name small { margin-top: 3px; padding: 1px 10px; border: 1px solid rgba(43, 111, 183, 0.5); border-radius: 999px; font-family: var(--goth); font-size: 11px; font-weight: 500; letter-spacing: 0.16em; color: var(--blue); background: rgba(255, 255, 255, 0.7); }
.gtop__when { margin-top: 3px; font-size: clamp(11px, 1vw, 13px); letter-spacing: 0.02em; color: var(--muted); white-space: nowrap; }
.gtop__link:hover .gtop__holo { box-shadow: 0 0 36px rgba(94, 163, 222, 0.6), 0 20px 36px rgba(14, 42, 82, 0.24); }
/* 右の文字 */
.gtop__date { font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; letter-spacing: 0.1em; line-height: 1.2; color: var(--navy); }
.gtop__text .guest__rule { margin: 20px 0 16px; }
.gtop__entry { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; padding: 10px 22px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: var(--paper); background: var(--navy); box-shadow: 0 10px 22px rgba(14, 42, 82, 0.22); transition: background-color 0.2s var(--ease); }
.gtop__entry:hover { color: #fff; background: var(--navy-deep); }
.gtop__entry svg { transition: transform 0.25s var(--ease); }
.gtop__entry:hover svg { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .gtop__holo, .gtop__ray { animation: none; } }
@media (max-width: 640px) {
  .gtop__stage { max-width: 300px; margin-inline: auto; }
  .gtop__date { font-size: 30px; }
  .gtop__holo { width: 84%; border-width: 3px; border-radius: 9px; }
  .gtop__entry { padding: 9px 16px; font-size: 12px; }
}

/* ============================================================
   企画
   ============================================================ */
.program__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.program__title { margin-top: 12px; font-size: clamp(30px, 4vw, 46px); font-weight: 700; letter-spacing: 0.06em; line-height: 1.3; }
/* 見出しごと企画一覧ページへのリンク */
.program__link { display: block; color: inherit; }
.program__lead { max-width: 27em; margin: 0; font-size: 15px; line-height: 1.9; color: var(--muted); }
.program__title svg { display: inline-block; vertical-align: middle; width: 0.55em; height: 0.55em; margin-left: 0.3em; color: var(--blue); transition: transform .25s var(--ease); }
.program__link:hover .program__title svg { transform: translateX(6px); }
.program__link:hover .eyebrow { color: var(--navy); }
.program__lead { font-size: 16px; color: var(--muted); padding-bottom: 8px; }

/* ピースごとに少し間を離し、出っ張りが隙間をまたいで隣に差し込まれる */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 8px; box-shadow: 0 24px 48px rgba(14, 42, 82, 0.09), 0 2px 6px rgba(14, 42, 82, 0.05); }
.card { position: relative; padding: 40px 40px 36px; background: var(--white); display: flex; flex-direction: column; gap: 24px; transition: background-color .3s var(--ease); }
.card--yatai { z-index: 3; border-radius: 8px 0 0 0; }
.card--tenji { z-index: 2; background: var(--pale); padding-left: 52px; }
.card--stage { z-index: 1; border-radius: 0 8px 0 0; padding-left: 52px; }
/* 右隣へ差し込む出っ張り。カードの高さの真ん中に置く */
.card--yatai::after, .card--tenji::after { content: ""; position: absolute; right: -22px; top: calc(50% - 22px); width: 44px; height: 44px; border-radius: 50%; background: inherit; }
/* 4枚目（異煌祭特別企画）：3枚の下に横長で並び、真ん中の出っ張りが展示のピースへ差し込まれる */
.cards .card--committee { grid-column: 1 / -1; z-index: 4; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px; margin: 0; padding: 30px 40px; border: 0; border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; box-shadow: none; }
.cards .card--committee::before { content: ""; position: absolute; left: calc(50% - 22px); top: -22px; width: 44px; height: 44px; border-radius: 50%; background: inherit; }
.cards a.card--committee:hover { transform: none; box-shadow: none; background: #fbfdff; }
.card__head { display: flex; justify-content: space-between; align-items: baseline; }
.card__name { font-size: 30px; font-weight: 700; }
.card__en { font-size: 12px; color: var(--blue); }
.card__pick { display: flex; flex-direction: column; gap: 14px; }
/* 3件は時間で入れ替わる（main.js）。各行の頭に小さなパズルのピース。入れ替えでは古いピースが外れ（回って縮む）、
   新しいピースが斜めから飛んできてはまり（少し行き過ぎて戻る）、文字が横から続く。動くのは transform と opacity だけなので軽い。
   長い名前は1行で省略して高さを変えない */
.card__pick li { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 10px; row-gap: 2px; align-items: start; }
.card__piece { grid-row: 1 / span 2; width: 22px; height: 22px; margin-top: 3px; transform: rotate(var(--r, 0deg)); transition: transform .4s var(--ease), opacity .4s var(--ease); transition-delay: calc(var(--k, 0) * 40ms); }
.card__piece svg { width: 100%; height: 100%; overflow: visible; }
.card__pick span, .card__pick small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .36s var(--ease), transform .36s var(--ease); transition-delay: calc(var(--k, 0) * 40ms); }
.card__pick li.is-out .card__piece { transform: rotate(calc(var(--r, 0deg) - 40deg)) scale(0.3); opacity: 0; }
.card__pick li.is-out span, .card__pick li.is-out small { opacity: 0; transform: translateX(8px); }
.card__pick li.is-snap .card__piece { animation: piece-snap .7s var(--ease) both; animation-delay: calc(var(--k, 0) * 90ms); }
.card__pick li.is-snap span, .card__pick li.is-snap small { animation: text-in .5s var(--ease) both; animation-delay: calc(var(--k, 0) * 90ms + .14s); }
@keyframes piece-snap {
  0%   { transform: translate(-14px, -8px) rotate(calc(var(--r, 0deg) - 35deg)) scale(0.5); opacity: 0; }
  55%  { transform: translate(1px, 1px) rotate(calc(var(--r, 0deg) + 6deg)) scale(1.12); opacity: 1; }
  100% { transform: rotate(var(--r, 0deg)) scale(1); opacity: 1; }
}
@keyframes text-in { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.card__pick span, .list span { font-size: 16px; }
.card__pick small, .list small { font-size: 13px; color: var(--muted); }
/* 「屋台の企画をすべて見る」（企画一覧ページへ） */
.card__more { position: relative; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 0; font-size: 15px; font-weight: 500; color: var(--blue); }
.card__more svg { transition: transform .25s var(--ease); }
.card__more:hover svg { transform: translateX(4px); }
.card__more::after { content: ""; position: absolute; left: 0; right: 22px; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .28s var(--ease); }
.card__more:hover::after { transform: scaleX(1); transform-origin: left; }

.program__more { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 52px; }
/* 実行委員会の企画（準備中）：トップと企画一覧ページの両方で使う横長のカード */
.committee { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px; padding: 30px 40px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 24px rgba(14, 42, 82, 0.05); color: var(--navy); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
a.committee:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(14, 42, 82, 0.12); color: var(--navy); }
.committee__eyebrow { font-size: 12px; color: var(--blue); }
.committee__title { font-size: 24px; font-weight: 700; letter-spacing: 0.06em; margin-top: 4px; }
.committee__text { font-size: 15px; line-height: 1.9; color: var(--ink); margin-top: 8px; }
.committee--center { grid-template-columns: 1fr; justify-items: center; padding: 48px 24px; }
.committee__soon { display: flex; align-items: center; gap: 14px; font-size: clamp(20px, 2.4vw, 28px); letter-spacing: 0.3em; color: var(--blue); white-space: nowrap; }
.committee__soon svg { width: 22px; height: 22px; animation: soon-spark 3.6s ease-in-out infinite; }
@keyframes soon-spark { 0%, 100% { transform: scale(0.85); opacity: 0.7; } 50% { transform: scale(1.1); opacity: 1; } }
.program__foot { margin-top: 20px; font-size: 14px; color: var(--muted); text-align: center; }

/* 企画一覧ページ（program/） */
.plist { padding-top: clamp(28px, 4vw, 48px); }
.plist__lead { font-size: 16px; color: var(--muted); margin: -24px 0 32px; }
.plist__note { margin-top: 56px; font-size: 14px; color: var(--muted); text-align: center; }
.subnav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 64px; }
.subnav a { display: inline-flex; align-items: baseline; gap: 10px; height: 42px; padding: 0 20px; border-radius: 21px; border: 1px solid rgba(20, 48, 90, 0.3); background: rgba(255, 255, 255, 0.6); color: var(--navy); font-size: 14px; letter-spacing: 0.06em; line-height: 40px; transition: border-color .2s var(--ease), background-color .2s var(--ease), transform .2s var(--ease); }
.subnav a:hover { border-color: var(--navy); background: #fff; transform: translateY(-1.5px); }
.subnav .latin { font-size: 11px; color: var(--blue); }
.pdept + .pdept { margin-top: 88px; }
.pdept__head { display: flex; align-items: center; gap: 16px; padding-bottom: 18px; margin-bottom: 28px; border-bottom: 1px solid var(--navy); scroll-margin-top: calc(var(--header-h) + 16px); }
.pdept__piece { width: 40px; height: 40px; flex-shrink: 0; }
.pdept__name { font-size: clamp(26px, 3vw, 34px); font-weight: 700; letter-spacing: 0.1em; }
.pdept__en { font-size: 13px; color: var(--blue); align-self: flex-end; padding-bottom: 6px; }
.pdept__lead { margin: -12px 0 24px; font-size: 14px; color: var(--muted); }
/* 同時開催のカード：相手のホームページへのリンク（紹介文の下） */
.pcard__link { margin-top: 10px; font-size: 13px; }
.pcard__link a { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); }
.pcard__link a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }

/* トップの企画紹介の下：同時開催の帯（学内の施設の催し） */
.cband { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; margin-top: 28px; padding: 22px 32px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 24px rgba(14, 42, 82, 0.05); color: var(--navy); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.cband:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(14, 42, 82, 0.12); color: var(--navy); }
.cband__art svg { display: block; width: 104px; height: auto; }
.cband__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cband__eyebrow { font-size: 11px; color: var(--blue); }
.cband__title { font-size: 22px; font-weight: 700; letter-spacing: 0.08em; }
.cband__list { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.cband__row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 14px; line-height: 1.7; color: var(--ink); }
.cband__org { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; color: var(--blue); min-width: 7.5em; }
.cband__items { color: var(--navy); }
.cband__hours { padding: 0 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: var(--blue); border: 2px solid rgba(43, 111, 183, 0.6); border-radius: 6px; box-shadow: inset 0 0 0 2px var(--white), inset 0 0 0 3px rgba(43, 111, 183, 0.3); transform: rotate(-2deg); transform-origin: left center; }
.cband__more { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--blue); white-space: nowrap; }
.cband__more svg { transition: transform .25s var(--ease); }
.cband:hover .cband__more svg { transform: translateX(4px); }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
/* 企画のカードは押しても何も起きないので、カーソルを合わせても動かさない（押せるのは SNS のボタンとリンクだけ。動きはそちらにだけ付ける） */
.pcard { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: 0 8px 24px rgba(14, 42, 82, 0.05); }
/* 企画の画像（16:9）。団体から届くまでは題字の仮画像 */
.pcard__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--pale); border-bottom: 1px solid var(--line); }
.pcard__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pcard__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 18px 22px 20px; }
.pcard__top { display: flex; align-items: center; justify-content: space-between; min-height: 30px; }
.pcard__no { font-family: var(--goth); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; color: var(--blue); font-variant-numeric: tabular-nums; } /* 企画番号（屋台-01 など）。飾り書体だと読みにくいのでゴシック */
.pcard__title { font-size: 20px; font-weight: 700; line-height: 1.5; margin-top: 2px; }
.pcard__group { font-size: 13px; color: var(--muted); }
/* 場所（決まったもの）。決まるまでは第1希望を「（仮）」付きで薄く */
.pcard__place { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; font-weight: 500; color: var(--navy); }
.pcard__place svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--blue); }
.pcard__place small { font-size: 11px; font-weight: 400; color: var(--muted); }
.pcard__place--tbd { color: var(--muted); font-weight: 400; }
.pcard__place--tbd svg { color: var(--muted); }
/* 抽選中：くじの箱が回り、点が順に弾む */
.pcard__place--draw svg { animation: draw-turn 1.6s steps(8, end) infinite; }
.pcard__draw { display: inline-flex; gap: 2px; align-self: flex-end; padding-bottom: 4px; }
.pcard__draw i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: 0.25; animation: draw-dot 1.2s ease-in-out infinite; }
.pcard__draw i:nth-child(2) { animation-delay: 0.15s; }
.pcard__draw i:nth-child(3) { animation-delay: 0.3s; }
@keyframes draw-turn { to { transform: rotate(360deg); } }
@keyframes draw-dot { 0%, 60%, 100% { opacity: 0.25; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }
.pcard__day { align-self: flex-start; padding: 2px 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: var(--blue); background: var(--pale); border: 1px solid var(--line); border-radius: 999px; }
/* 紹介文（PR）は PC で3行を想定：3行分の高さを常に確保し、長い文は3行で切って「…」 */
.pcard__intro { --lines: 3; font-size: 14px; line-height: 1.8; color: var(--ink); margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); min-height: calc(var(--lines) * 1.8em + 11px); display: -webkit-box; -webkit-line-clamp: var(--lines); -webkit-box-orient: vertical; overflow: hidden; }/* 団体の SNS（X・Instagram）。番号の横に置く。押すとその団体のページが別タブで開く */
.pcard__sns { display: flex; gap: 6px; }
.sns { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(20, 48, 90, 0.25); color: var(--navy); transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
.sns svg { width: 14px; height: 14px; }
.sns:hover { background: var(--navy); border-color: var(--navy); color: #fff; transform: translateY(-2px); }
/* 団体のサイトがあるカード（src/program-sites.json）：題名のリンクの押せる範囲をカード全体に広げる。SNS のアイコンはその上で押せる */
.pcard--site { transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.pcard--site:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(14, 42, 82, 0.1); border-color: rgba(43, 111, 183, 0.4); }
.pcard--site:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.pcard__site { color: inherit; }
.pcard__site:focus-visible { outline: none; }
.pcard__site::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.pcard--site .pcard__sns { position: relative; z-index: 2; }
.pcard__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--blue); }
.pcard__go svg { transition: transform .2s var(--ease); }
.pcard--site:hover .pcard__go svg { transform: translate(2px, -2px); } /* 右上向きの矢印（外のサイト）は右上へ動く */
/* 同時開催：横長の小さなカード（絵は左、文は右）を2列に。企画の一覧が長いので縦の長さを抑える */
.pgrid--row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pcard--row { flex-direction: row; }
.pcard--row .pcard__img { flex: 0 0 38%; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line); }
.pcard--row .pcard__body { gap: 4px; padding: 16px 20px 16px; }
.pcard--row .pcard__top { min-height: 24px; }
.pcard--row .pcard__title { font-size: 18px; }
.pcard--row .pcard__intro { --lines: 2; min-height: 0; margin-top: 8px; padding-top: 6px; }
.pcard--row .pcard__link { margin-top: 6px; }
/* 同時開催の図書・情報館：図書館の貸出カードのように。紹介文に罫線、右上にしおり、開館時間は日付印のように */
.pcard--library .pcard__body { position: relative; }
.pcard--library .pcard__body::before { content: ""; position: absolute; top: -1px; right: 18px; width: 14px; height: 34px; background: linear-gradient(180deg, #4b90d2, #14305a); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%); filter: drop-shadow(0 3px 4px rgba(14, 42, 82, 0.18)); }
.pcard--row .pcard__no { display: inline-flex; align-items: center; gap: 6px; }
.pcard--library .pcard__day { margin-top: 4px; padding: 3px 12px; background: transparent; border: 2px solid rgba(43, 111, 183, 0.6); border-radius: 6px; box-shadow: inset 0 0 0 2px var(--white), inset 0 0 0 3px rgba(43, 111, 183, 0.3); transform: rotate(-2.5deg); transform-origin: left center; }
.pcard--library .pcard__intro { background-image: repeating-linear-gradient(to bottom, transparent 0 calc(1.8em - 1px), rgba(43, 111, 183, 0.16) calc(1.8em - 1px) 1.8em); background-origin: content-box; background-clip: content-box; border-top: 3px double rgba(43, 111, 183, 0.3); }
/* 同時開催の入試広報課：紹介文は大学（学生支援課）から届いた文そのもの。予約不要などを切らずに全部見せる */
.pcard--admission .pcard__intro { display: block; -webkit-line-clamp: unset; overflow: visible; }

/* ============================================================
   協賛・後援・協力（一覧）。後援・協賛・協力は別物なので、区分ごとに見出しを分ける
   ============================================================ */
.sponsors__group + .sponsors__group { margin-top: 48px; }
.sponsors__kind { display: flex; align-items: baseline; gap: 14px; padding-bottom: 12px; margin-bottom: 20px; border-bottom: 1px solid var(--navy); }
.sponsors__kind .mincho { font-size: 20px; font-weight: 700; letter-spacing: 0.14em; }
.sponsors__kind .latin { font-size: 12px; color: var(--blue); }
.sponsors__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sponsor a, .sponsor > div { display: flex; flex-direction: column; gap: 10px; color: var(--navy); }
.sponsor__logo { display: flex; align-items: center; justify-content: center; height: 104px; padding: 16px 20px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.sponsor__logo img { display: block; max-height: 56px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.sponsor__text { font-size: 18px; font-weight: 700; letter-spacing: 0.1em; }
.sponsor__name { font-size: 12px; text-align: center; color: var(--muted); letter-spacing: 0.04em; line-height: 1.5; }
.sponsor a:hover .sponsor__logo { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(14, 42, 82, 0.1); border-color: rgba(43, 111, 183, 0.4); }

.sponsors--page { padding-top: clamp(28px, 4vw, 48px); }
.sponsors__cta { margin-top: 56px; }
/* 協賛募集のページ（sponsors/recruit/） */
.recruit { padding-top: clamp(28px, 4vw, 48px); }
.recruit__inner { max-width: 860px; }
.recruit__title { font-size: clamp(28px, 4vw, 44px); font-weight: 700; letter-spacing: 0.08em; line-height: 1.3; margin-top: 10px; }
.recruit__lead { margin-top: 22px; font-size: 17px; line-height: 2; color: var(--ink); }
.recruit__sec { margin-top: 56px; }
.recruit__sec > p { font-size: 16px; line-height: 2; color: var(--ink); }
.recruit__h { font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; letter-spacing: 0.08em; padding-bottom: 12px; margin-bottom: 18px; border-bottom: 1px solid var(--navy); }
.recruit__facts { display: grid; gap: 10px; margin-top: 18px; }
.recruit__facts div { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.recruit__facts dt { font-size: 12px; letter-spacing: 0.2em; color: var(--blue); padding-top: 4px; }
.recruit__facts dd { font-size: 15px; line-height: 1.8; color: var(--navy); }
.recruit__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.recruit__cards li { padding: 22px 22px 20px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 24px rgba(14, 42, 82, 0.05); }
.recruit__no { font-size: 13px; color: var(--blue); }
.recruit__cards h3 { font-size: 19px; font-weight: 700; margin-top: 6px; }
.recruit__cards p { margin-top: 8px; font-size: 14px; line-height: 1.9; color: var(--ink); }
.recruit__list { display: grid; gap: 8px; margin-top: 6px; }
.recruit__list li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.9; color: var(--ink); }
.recruit__list li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.recruit__note { margin-top: 16px; font-size: 13px; color: var(--muted); }
.recruit__steps { display: grid; gap: 14px; margin-top: 6px; }
.recruit__steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; }
.recruit__steps .latin { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 16px; letter-spacing: 0; }
.recruit__steps b { display: block; font-size: 16px; font-weight: 700; color: var(--navy); padding-top: 8px; }
.recruit__steps span:not(.latin) { display: block; font-size: 14px; line-height: 1.9; color: var(--ink); margin-top: 2px; }
.recruit__contact { padding: clamp(24px, 4vw, 40px); background: var(--white); border: 1px solid var(--line); border-radius: 12px; scroll-margin-top: calc(var(--header-h) + 16px); }
.recruit__contact .recruit__h { border: 0; padding: 0; margin-bottom: 8px; }
.recruit__mail { font-family: var(--latin); font-weight: 600; font-size: clamp(22px, 3vw, 30px); letter-spacing: 0.08em; margin-top: 4px; }
.recruit__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

/* 会場マップのページ（map/）：作成中の案内 */
.mapp { padding-top: clamp(28px, 4vw, 48px); }
.mapp__box { display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(40px, 6vw, 72px) 24px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(14, 42, 82, 0.08); }
.mapp__piece { width: 96px; height: 96px; overflow: visible; margin-bottom: 18px; }
.mapp__outline { fill: url(#g-sky-s); stroke: #fff; stroke-opacity: 0.85; stroke-width: 2; }
.mapp__title { font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: 0.1em; }
.mapp__text { margin-top: 12px; font-size: 15px; line-height: 2; color: var(--ink); max-width: 36em; }
.mapp__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
/* 企画一覧ページの右下に常に出る「マップを見る」 */
.fab-map { position: fixed; right: 24px; bottom: 24px; z-index: 90; display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 22px 0 18px; border-radius: 25px; background: var(--navy); color: var(--paper); font-size: 14px; font-weight: 500; letter-spacing: 0.08em; box-shadow: 0 10px 26px rgba(14, 42, 82, 0.28); transition: transform .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease); }
.fab-map:hover { background: var(--navy-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(14, 42, 82, 0.32); }
.fab-map svg { width: 16px; height: 16px; }

/* ============================================================
   アクセス
   ============================================================ */
.access__inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 80px); align-items: center; }
.access__text { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.access__title { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; letter-spacing: 0.06em; line-height: 1.5; }
.access__lines { display: flex; flex-direction: column; gap: 6px; font-size: 16px; color: var(--ink); }
.access__note { font-size: 14px; color: var(--muted); }
.access__map { width: 100%; max-width: 520px; justify-self: center; }
.access__route { stroke: var(--blue); stroke-width: 1.6; stroke-dasharray: 2 8; stroke-linecap: round; }
.access__pin { filter: drop-shadow(0 6px 8px rgba(14, 42, 82, 0.25)); transform-box: fill-box; transform-origin: center; animation: pin-bob 3s ease-in-out infinite; }
@keyframes pin-bob { 50% { transform: translateY(-5px); } }
.access__lbl { font-family: var(--goth); font-size: 15px; fill: var(--navy); text-anchor: middle; }
.access__lbl--b { font-weight: 700; }
.access__lbl--m { font-size: 13px; fill: var(--muted); }

/* ============================================================
   アクセスのページ（access/）：会場・道順・スクールバス
   ============================================================ */
.access__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.acc { padding-top: clamp(28px, 4vw, 48px); }
.acc__inner { max-width: 960px; }
.acc__sec { margin-top: 56px; }
.acc__sec:first-of-type { margin-top: 0; }
.acc__h { font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; letter-spacing: 0.08em; padding-bottom: 12px; margin-bottom: 18px; border-bottom: 1px solid var(--navy); }
.acc__h small { font-family: var(--goth); font-size: 13px; font-weight: 500; letter-spacing: 0.1em; color: var(--blue); margin-left: 14px; }
.acc__venue { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.acc__venue .acc__h { border: 0; padding: 0; margin: 6px 0 10px; font-size: clamp(28px, 3.4vw, 40px); }
.acc__addr { font-size: 15px; color: var(--ink); }
.acc__summary { margin-top: 14px; font-size: 16px; line-height: 1.9; }
.acc__summary b { font-family: var(--mincho); font-weight: 700; color: var(--navy); }
.acc__cta { margin-top: 20px; }
.acc__map { aspect-ratio: 5 / 3; overflow: hidden; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(14, 42, 82, 0.08); background: var(--pale); }
.acc__map iframe { display: block; width: 100%; height: 100%; border: 0; }
.acc__text { font-size: 16px; line-height: 2; color: var(--ink); }
.acc__routes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; align-items: start; }
.acc__route { padding: 24px 24px 22px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.acc__route-h { font-family: var(--mincho); font-size: 18px; font-weight: 700; letter-spacing: 0.06em; padding-bottom: 10px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.acc__route-h small { display: block; font-family: var(--goth); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; color: var(--blue); margin-top: 4px; }
.acc__steps { counter-reset: s; display: grid; gap: 10px; }
.acc__steps li { position: relative; padding-left: 36px; font-size: 14px; line-height: 1.9; color: var(--ink); }
.acc__steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--latin); font-weight: 600; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.acc__steps b { color: var(--navy); font-weight: 700; }
.acc__note { margin-top: 14px; font-size: 13px; line-height: 1.9; color: var(--muted); }
.acc__note a { text-decoration: underline; text-underline-offset: 3px; }
.acc__sub { font-size: 18px; font-weight: 700; letter-spacing: 0.08em; margin-top: 32px; margin-bottom: 12px; }
.acc__soon { padding: 28px 24px; text-align: center; background: var(--white); border: 1px dashed rgba(20, 48, 90, 0.3); border-radius: 12px; }
.acc__soon-t { font-size: 17px; font-weight: 700; letter-spacing: 0.06em; }
/* 時刻表：行が「時」、列が乗り場。大学発は分のあとに行き先（駅・橋） */
.bus__tentative { font-size: 14px; line-height: 1.8; color: var(--navy); padding: 10px 14px; background: var(--pale); border-radius: 8px; margin-bottom: 14px; }
.bus__dates { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.bus__wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.bus { width: 100%; border-collapse: collapse; min-width: 560px; table-layout: fixed; }
.bus thead th { padding: 14px 12px 12px; text-align: left; vertical-align: bottom; border-bottom: 2px solid var(--navy); }
.bus__hour-h { width: 56px; font-family: var(--goth); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; color: var(--muted); }
.bus__stop { display: block; font-size: 16px; font-weight: 700; letter-spacing: 0.06em; color: var(--navy); }
.bus__dir { display: block; margin-top: 2px; font-size: 11px; letter-spacing: 0.08em; color: var(--blue); }
.bus tbody tr:nth-child(even) { background: rgba(214, 232, 247, 0.28); }
.bus tbody th, .bus tbody td { padding: 9px 12px; border-top: 1px solid var(--line); vertical-align: top; }
.bus__hour { font-family: var(--goth); font-size: 17px; font-weight: 700; color: var(--navy); text-align: center; font-variant-numeric: tabular-nums; }
.bus tbody td { font-family: var(--goth); font-weight: 700; font-size: 16px; letter-spacing: 0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.bus__t { display: inline-flex; align-items: baseline; margin-right: 16px; white-space: nowrap; }
.bus__to { font-family: var(--goth); font-style: normal; font-weight: 500; font-size: 10px; letter-spacing: 0.06em; margin-left: 3px; padding: 1px 4px; border-radius: 3px; color: var(--navy); background: rgba(20, 48, 90, 0.08); position: relative; top: -2px; }
.bus__to--bri { color: #1f5fa8; background: rgba(63, 137, 208, 0.14); }
.bus__none { color: var(--muted); }
.bus__legend, .bus__notes { margin-top: 14px; display: grid; gap: 4px; font-size: 13px; line-height: 1.8; color: var(--muted); }
.bus__legend b { color: var(--navy); font-weight: 700; }
.bus__notes li::before { content: "※ "; }

/* ============================================================
   お問い合わせのページ（contact/）：フォーム
   ============================================================ */
.cform { padding-top: clamp(28px, 4vw, 48px); }
.cform__inner { max-width: 1040px; }
.cform__lead { max-width: 720px; margin-top: 4px; font-size: 16px; line-height: 2; color: var(--ink); }
.cform__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(24px, 4vw, 48px); align-items: start; margin-top: 36px; }
.cform__form, .cform__done { padding: clamp(24px, 3.4vw, 40px); background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.cform__row + .cform__row { margin-top: 22px; }
.cform__label { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 14px; font-weight: 700; letter-spacing: 0.06em; color: var(--navy); }
.cform__req { font-size: 10px; font-weight: 500; letter-spacing: 0.12em; padding: 2px 6px; border-radius: 3px; color: #fff; background: var(--navy); }
.cform__input { display: block; width: 100%; padding: 12px 14px; font: inherit; font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--paper, #f7f9fb); border: 1px solid var(--line); border-radius: 8px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease); }
.cform__input::placeholder { color: rgba(20, 48, 90, 0.35); }
.cform__input:focus { outline: none; background: var(--white); border-color: var(--blue); box-shadow: 0 0 0 3px rgba(63, 137, 208, 0.18); }
.cform__input.is-invalid { border-color: #b4501f; }
.cform__textarea { resize: vertical; min-height: 180px; }
.cform__select { position: relative; }
.cform__select select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.cform__select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--navy); border-bottom: 1.5px solid var(--navy); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.cform__hint { margin-top: 6px; font-size: 12px; color: var(--muted); }
.cform__hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.cform__privacy { margin-top: 22px; font-size: 13px; line-height: 1.8; color: var(--muted); }
.cform__error { margin-top: 14px; padding: 12px 14px; font-size: 14px; line-height: 1.7; color: #8a3a12; background: #fff4ec; border: 1px solid #f0c9b0; border-radius: 8px; }
.cform__actions { margin-top: 20px; }
.cform__submit[disabled] { opacity: 0.6; cursor: wait; }
.cform__done { text-align: center; padding-top: clamp(36px, 5vw, 56px); padding-bottom: clamp(36px, 5vw, 56px); }
.cform__done-t { margin-top: 8px; font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; letter-spacing: 0.08em; }
.cform__done-p { max-width: 560px; margin: 16px auto 0; font-size: 15px; line-height: 2; color: var(--ink); }
.cform__done-note { font-size: 13px; color: var(--muted); }
.cform__done-note a { text-decoration: underline; text-underline-offset: 3px; }
.cform__done .news__back { margin-top: 28px; }
.cform__aside { display: grid; gap: 16px; }
.cform__box { padding: 22px 24px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.cform__box-t { margin-top: 4px; font-size: 17px; font-weight: 700; letter-spacing: 0.06em; }
.cform__box-p { margin-top: 8px; font-size: 13px; line-height: 1.8; color: var(--muted); }
.cform__box-small { margin-top: 10px; }
.cform__mail { margin-top: 10px; font-family: var(--latin); font-size: 20px; font-weight: 600; letter-spacing: 0.02em; word-break: break-all; }
.cform__mail a { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(43, 111, 183, 0.5); }
.cform__links { display: grid; gap: 8px; margin-top: 12px; }
.cform__links a { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--navy); }
.cform__links a::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid var(--blue); border-bottom: 1.5px solid var(--blue); transform: rotate(-45deg); flex-shrink: 0; }
.cform__links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cform__back { margin-top: 48px; }

/* ============================================================
   フッター
   ============================================================ */
.footer { background: var(--navy-deep); color: #e8eef6; padding: 64px 0 36px; }
.footer a { color: #e8eef6; }
.footer a:hover { color: #9fd0ff; }
.footer__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.footer__ja { font-size: 32px; letter-spacing: 0.16em; }
.footer__en { font-size: 13px; color: #9fbbdc; margin-top: 4px; }
.footer__meta { margin-top: 16px; font-size: 13px; color: #9fbbdc; line-height: 1.9; }
.footer__cols { display: flex; gap: 64px; flex-wrap: wrap; font-size: 15px; }
.footer__cols > div { display: flex; flex-direction: column; gap: 6px; }
.footer__cols dt { font-size: 12px; letter-spacing: 0.2em; color: #8fc1ec; margin-bottom: 4px; }
.footer__cols dd a { white-space: nowrap; }
.footer__cols dd a svg { display: inline-block; margin-left: 5px; vertical-align: -1px; opacity: 0.7; }
.footer__addr { font-size: 13px; line-height: 1.7; color: rgba(232, 238, 246, 0.72); }
/* 関連団体の欄があるときは SNS の下に重ね、「左に題字・右に4列」の形を保つ（主催・会場・お問い合わせは2段ぶんの高さ） */
@media (min-width: 961px) {
  .footer__cols:has(> .footer__related) { display: grid; grid-template-columns: repeat(4, auto); gap: 28px 64px; align-items: start; }
  .footer__cols:has(> .footer__related) > :nth-child(-n+3) { grid-row: span 2; }
}
.footer__bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(232, 238, 246, 0.14); display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #7f93b0; letter-spacing: 0.08em; }
.footer__top { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #9fbbdc; }

/* ============================================================
   スクロールで現れる
   ============================================================ */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 100ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ============================================================
   画面幅
   ============================================================ */
@media (max-width: 1024px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .hero__copy { padding-top: 6vh; }
}

@media (max-width: 860px) {
  .pc { display: none; }
  .news__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .news__title { font-size: 15px; }
  .article__hero { border-radius: 8px; margin-bottom: 28px; }
  .article__text { font-size: 16px; }
  .article__nav { grid-template-columns: 1fr; gap: 14px; margin-bottom: 32px; }
  .article__next { text-align: left; align-items: flex-start; }
  .article__actions .btn { flex: 1 1 auto; justify-content: center; }
  .program__head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pgrid--row { grid-template-columns: 1fr; }
  .sponsors__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .committee { grid-template-columns: 1fr; gap: 18px; padding: 26px 24px; }
  .committee__soon { font-size: 18px; }
  .cards { grid-template-columns: 1fr; }
  .card { padding: 28px 24px; }
  .card--yatai { border-radius: 8px 8px 0 0; }
  .card--stage { border-radius: 0; }
  .card--yatai::after, .card--tenji::after { right: auto; left: 50%; top: auto; bottom: -18px; width: 36px; height: 36px; margin-left: -18px; }
  .cards .card--committee { grid-template-columns: 1fr; gap: 14px; padding: 26px 24px; border-radius: 0 0 8px 8px; }
  .cards .card--committee::before { display: none; }
  .card--tenji, .card--stage { padding-left: 24px; padding-top: 36px; }
    .card__name { font-size: 24px; }
  .card__count { font-size: 52px; }
  .access__inner { grid-template-columns: 1fr; }
  .acc__venue, .acc__routes { grid-template-columns: 1fr; }
  .cform__grid { grid-template-columns: 1fr; }
  .access__map { max-width: 420px; justify-self: start; }
  .footer__cols { gap: 28px 48px; }
}

@media (max-width: 640px) {
  /* 同時開催の帯：絵と文を上下に、「くわしく見る」は下に */
  .cband { grid-template-columns: 1fr; gap: 14px; padding: 22px 22px 20px; }
  .cband__art svg { width: 84px; }
  /* トップのお知らせは3件まで。それ以上は「すべてのお知らせ」へ（お知らせの一覧ページ news--index は全件出す） */
  .news:not(.news--index) .news__item:nth-child(n + 4) { display: none; }
  .news__more--sm { display: block; }
  /* 時刻表：横スクロールさせず、1画面に3つの乗り場を収める */
  .bus { min-width: 0; }
  .bus thead th { padding: 10px 6px 8px; }
  .bus__hour-h { width: 34px; }
  .bus__stop { font-size: 13px; letter-spacing: 0.02em; }
  .bus__dir { font-size: 10px; letter-spacing: 0.02em; }
  .bus tbody th, .bus tbody td { padding: 8px 6px; }
  .bus__hour { font-size: 15px; }
  .bus tbody td { font-size: 14px; letter-spacing: 0; }
  .bus__t { margin-right: 9px; }
  .bus__to { font-size: 9px; padding: 1px 3px; margin-left: 2px; }
  :root { --header-h: 64px; }
  .container { width: min(100% - 40px, var(--container)); }
  .brand__en { display: none; }
  .hero__inner {
    width: min(100% - 40px, 1280px);
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "title copy"
      "info  info";
    column-gap: 12px;
    padding-top: calc(var(--header-h) + 24px);
    padding-bottom: 96px;
    align-items: start;
  }
  .hero__theme-k { font-size: 44px; }
  .hero__theme-t b { font-size: 14px; }
  .hero__theme-t small { font-size: 12px; }
  .hero__titlewrap { justify-self: end; margin-right: 4vw; gap: 8px; }
  .hero__logo { width: clamp(76px, 22vw, 100px); }
  .hero__year { font-size: 11px; letter-spacing: 0.28em; }
  .hero__copy { padding-top: 5vh; margin-left: 0; font-size: 14px; letter-spacing: 0.3em; }
  .hero__info { margin-top: 28px; padding-bottom: 22vw; } /* 右下の海のパズルと重ならないよう、下に余白 */
  .hero__date { font-size: 40px; }
  .hero__actions .btn--primary { flex: 1 1 auto; justify-content: center; }
  .fab-map { right: 16px; bottom: 16px; height: 46px; padding: 0 18px 0 16px; font-size: 13px; }
  .cluster--sky { left: -14%; top: 5%; width: 62vw; }
  .cluster--sea { right: -24%; bottom: -12%; width: 60vw; }
  .piece--r1 { right: -2%; top: 6%; width: 70px; }
  .piece--r2, .piece--r3 { display: none; }
  .piece--s2 { left: 6%; top: 30%; }
  .piece--s3 { left: 70%; top: 48%; }
  .piece--s4 { left: 10%; top: 44%; width: 34px; }
  .piece--s5 { left: 80%; top: 56%; }
  .piece--s6 { display: none; }
  .hero__orbits { top: 36%; }
  .hero__anniv { font-size: 14px; }
  .news__list { grid-template-columns: 1fr; gap: 30px; }
  .guest__stage { grid-template-columns: 1fr; text-align: center; }
  .gcard { grid-template-columns: 1fr; }
  .offer { grid-template-columns: 1fr; }
  .recruit__cards { grid-template-columns: 1fr; }
  .recruit__facts div { grid-template-columns: 1fr; gap: 2px; }
  .offer__cta { align-items: flex-start; }
  .gcard__photo { max-width: 360px; }
  .pgrid { grid-template-columns: 1fr; gap: 12px; }
  /* 同時開催：スマホでは絵を左上の小さな正方形に。主催の長い名前は札と重なるので隠す */
  .pcard--row .pcard__img { flex: 0 0 28%; align-self: flex-start; aspect-ratio: 1; margin: 14px 0 14px 14px; border: 1px solid var(--line); border-radius: 8px; }
  .pcard--row .pcard__body { padding: 14px 14px 14px 12px; }
  .pcard--row .pcard__title { font-size: 17px; }
  .pcard--row .pcard__group { display: none; }
  .pcard--library .pcard__body::before { right: 12px; width: 12px; height: 28px; }
  .sponsors__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .sponsor__logo { height: 84px; padding: 12px; }
  .sponsor__logo img { max-height: 44px; }
  .sponsor__text { font-size: 16px; letter-spacing: 0.04em; text-align: center; }
  .subnav { gap: 8px; margin-bottom: 48px; }
  .subnav a { padding: 0 14px; }
  .pdept + .pdept { margin-top: 64px; }
  .news__title { font-size: 16px; }
  .partners { padding: 24px 0; }
  .partner img { height: 38px; max-width: 180px; }
  .marquee__track { gap: 36px; padding-right: 36px; }
  .marquee + .marquee { margin-top: 16px; }
  .partner--text span { font-size: 15px; }
  .footer__bottom { flex-direction: column; gap: 14px; align-items: flex-start; }
}

/* ============================================================
   会場マップ（map/）：構内図の上に企画の場所。押すと一覧、時刻を動かすとステージの様子
   ============================================================ */
.vmap { padding-top: clamp(28px, 4vw, 48px); }
.vmap__lead, .tt__lead { max-width: 40em; margin: -20px 0 24px; font-size: 15px; line-height: 1.9; color: var(--ink); }
.vnote { margin: 0 0 24px; padding: 14px 18px; font-size: 13.5px; line-height: 1.8; color: #6a4b00; background: #fff8e3; border: 1px solid #f1dc9c; border-radius: 10px; }
.vnote b { font-weight: 700; margin-right: 4px; }

.vmap__card { --live: #e0466a; --soon: #d98a1c; position: relative; height: clamp(540px, 74vh, 780px); overflow: hidden; background: #e7ece5; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 48px rgba(14, 42, 82, 0.09), 0 2px 6px rgba(14, 42, 82, 0.05); }
.vmap__card.is-full { position: fixed; inset: 0; z-index: 400; height: auto; border: 0; border-radius: 0; }
.vmap__stage { position: absolute; inset: 0; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.vmap__stage.is-drag { cursor: grabbing; }
.vmap__svg { display: block; width: 100%; height: 100%; }

/* 地図の絵（1 単位 ≒ 1m。建物は南へ壁をのばし、影は南東へ） */
.vmap__campus { fill: #f6f4ee; stroke: #d6dccf; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.vmap__field { fill: #d3e5c2; stroke: #fff; stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.vmap__field--turf { fill: #b7d6a2; }
.vmap__field--court { fill: #c9dccb; }
.vmap__lawn { fill: #e0edcf; }
.vmap__plaza { fill: #efe9de; }
.vmap__road { fill: none; stroke: #e6e1d6; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
.vmap__walk { fill: none; stroke: #e2d8c4; stroke-width: 3.2; stroke-linecap: square; stroke-linejoin: miter; }
.vmap__walk--roof { stroke: #d5dbe1; }
.vmap__cover { fill: #dde3e9; stroke: #c9d1d9; stroke-width: 1; vector-effect: non-scaling-stroke; }
.vmap__ramp { fill: #e9e1d2; stroke: #c7b99f; stroke-width: 1; vector-effect: non-scaling-stroke; }
.vmap__planter { fill: #cfe3bc; stroke: #b9cfa4; stroke-width: 1; vector-effect: non-scaling-stroke; }
.vmap__pin--info .vmap__ico { color: #2a8a5e; }
.vmap__pin--smoke .vmap__ico { color: #7a6f63; }
.vmap__pin--smoke text { fill: #5d554c; }
.vmap__feat { stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.vmap__feat--water { fill: #c6e0f0; stroke: #a6cbe4; }
.vmap__fname { display: none; }
.vmap__svg.is-near .vmap__fname { display: inline; }
.vmap__fname--water text { fill: #4f7fa3; }
/* 階段・橋 */
.vmap__stairs-band { fill: #ece5d6; }
.vmap__stairs-tread { fill: none; stroke: #a8977a; stroke-width: 0.13; }
.vmap__stairs-up { fill: #8d7550; }
.vmap__shadow--bridge { fill: rgba(38, 58, 84, 0.2); }
.vmap__bridge-deck { fill: #f5f2ec; stroke: #c8bfae; stroke-width: 1; vector-effect: non-scaling-stroke; }
.vmap__bridge-rail { fill: none; stroke: #9b8f7a; stroke-width: 0.22; }
.vmap__fname--stairs text, .vmap__fname--bridge text { fill: #7a6440; font-weight: 700; }
/* 影と木 */
.vmap__shadow { fill: rgba(38, 58, 84, 0.13); }
.vmap__shadow--tree { fill: rgba(36, 70, 44, 0.11); }
.vmap__forest { fill: #a3cd95; }
.vmap__tree { fill: #9cc98e; }
.vmap__treehi { fill: #bcdeae; }
/* 和光銀座（木の格子の屋根）。押せる */
.vmap__ginza { fill: none; stroke: #e7c995; stroke-width: 5; stroke-linecap: butt; stroke-linejoin: miter; cursor: pointer; transition: opacity .25s var(--ease); }
.vmap__ginza:hover, .vmap__ginza.is-on { stroke: #f0b94f; }
/* 建物：--roof・--wall は外壁の色（写真で見た色）。企画のある建物は屋根を少し青く */
.vmap__bld { transition: opacity .25s var(--ease); }
.vmap__roof { fill: var(--roof); stroke: #fff; stroke-width: 1; vector-effect: non-scaling-stroke; transition: fill .25s var(--ease); }
.vmap__wall { fill: var(--wall); }
.vmap__wall--dim { fill: color-mix(in srgb, var(--wall) 82%, #26384f); }
.vmap__bld.is-used .vmap__roof { fill: color-mix(in srgb, var(--roof) 78%, #8db4df); }
.vmap__bld[data-b] { cursor: pointer; }
.vmap__bld[data-b]:hover .vmap__roof { fill: color-mix(in srgb, var(--roof) 50%, #6fa2dc); }
.vmap__bld.is-on .vmap__roof { fill: var(--blue); }
.vmap__bld.is-on .vmap__wall { fill: color-mix(in srgb, var(--blue) 70%, #0b1f3a); }
.vmap__bld--tower .vmap__roof { stroke: #eaf2f8; }

/* 札（地図を拡大しても同じ大きさに見えるよう、--s ＝ 1px あたりの地図の長さで縮める） */
.vmap__blabel, .vmap__gname, .vmap__pin, .vmap__slot { transform: translate(calc(var(--x) * 1px), calc(var(--y) * 1px)) scale(calc(var(--s) * var(--pin, 1))); }
/* 札が重なるときは、名前を隠して点だけにする（近づけると名前が出る） */
.vmap__dot { display: none; fill: #fff; stroke: var(--blue); stroke-width: 2.5; }
.vmap__pin.is-dot > :not(.vmap__dot) { display: none; }
.vmap__pin.is-dot .vmap__dot { display: inline; }
.vmap__pin--stage.is-dot[data-state="live"] .vmap__dot { stroke: var(--live); fill: #fdecf0; }
.vmap__blabel.is-hide { display: none; }
.vmap__blabel, .vmap__gname { pointer-events: none; }
.vmap__blabel text { font-family: var(--goth); font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; fill: #3c5675; text-anchor: middle; dominant-baseline: middle; paint-order: stroke; stroke: rgba(255, 255, 255, 0.92); stroke-width: 3px; stroke-linejoin: round; }
.vmap__blabel.is-on text { fill: #fff; stroke: rgba(20, 48, 90, 0.55); }
.vmap__gname text { font-family: var(--goth); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; fill: #6c8a5c; text-anchor: middle; dominant-baseline: middle; }

.vmap__pin { cursor: pointer; outline: none; }
.vmap__pin rect { fill: #fff; stroke: rgba(20, 48, 90, 0.16); stroke-width: 1; filter: drop-shadow(0 3px 6px rgba(14, 42, 82, 0.18)); transition: fill .2s var(--ease); }
.vmap__pin .vmap__tip { fill: #fff; }
.vmap__pin text { font-family: var(--goth); font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; fill: var(--navy); }
.vmap__ico { color: var(--blue); }
.vmap__pin--bus .vmap__ico, .vmap__pin--gate .vmap__ico { color: var(--muted); }
.vmap__pin--ginza rect { fill: #fff6e0; stroke: rgba(196, 140, 30, 0.35); }
.vmap__pin--ginza .vmap__tip { fill: #fff6e0; }
.vmap__pin--ginza .vmap__ico { color: #b77d12; }
.vmap__pin:hover rect, .vmap__pin:focus-visible rect { fill: var(--pale); }
.vmap__pin.is-on rect, .vmap__pin.is-on .vmap__tip { fill: var(--navy); stroke: var(--navy); }
.vmap__pin.is-on text { fill: #fff; }
.vmap__pin.is-on .vmap__ico { color: #9cc8f2; }
/* ステージの「開催中」「あと◯分」「終了」 */
.vmap__state { display: none; }
.vmap__state text { font-size: 9.5px; font-weight: 700; letter-spacing: 0.04em; fill: #fff; }
.vmap__pin[data-state] .vmap__state { display: inline; }
.vmap__pin[data-state="live"] .vmap__state rect { fill: var(--live); }
.vmap__pin[data-state="soon"] .vmap__state rect { fill: var(--soon); }
.vmap__pin[data-state="done"] .vmap__state rect { fill: #9aa7b6; }
.vmap__pin[data-state="next"] .vmap__state rect { fill: var(--blue); }
.vmap__pin[data-state="live"] rect:first-child { stroke: var(--live); stroke-width: 1.6; }

/* 和光銀座の区画：近づいたときだけ番号の丸が出る（遠いときは「和光銀座」の札だけ） */
.vmap__slot { cursor: pointer; outline: none; }
.vmap__slot circle { fill: #fff; stroke: #c48c1e; stroke-width: 1.4; filter: drop-shadow(0 2px 3px rgba(14, 42, 82, 0.16)); transition: fill .2s var(--ease); }
.vmap__slot text { font-family: var(--goth); font-size: 9.5px; font-weight: 700; fill: #9b6a0c; text-anchor: middle; }
.vmap__slot.is-used circle { fill: #fff3d6; }
.vmap__slot:hover circle, .vmap__slot:focus-visible circle { fill: #ffe7ad; }
.vmap__slot.is-on circle { fill: #c48c1e; stroke: #c48c1e; }
.vmap__slot.is-on text { fill: #fff; }
.vmap__svg:not(.is-near) .vmap__slot { display: none; }
.vmap__svg.is-near .vmap__pin--ginza { display: none; }

/* 部門でしぼったとき：当てはまらない建物・印を薄く */
.vmap__card.is-filter .vmap__bld[data-b]:not(.is-hit), .vmap__card.is-filter .vmap__pin:not(.is-hit):not(.vmap__pin--bus):not(.vmap__pin--gate), .vmap__card.is-filter .vmap__slot:not(.is-hit) { opacity: 0.32; }
.vmap__card.is-filter .vmap__bld.is-hit .vmap__roof { fill: color-mix(in srgb, var(--roof) 45%, #6fa2dc); }
.vmap__card.is-filter .vmap__ginza:not(.is-hit) { opacity: 0.3; }

/* 地図の上に重ねる部品 */
.vmap__top { position: absolute; top: 14px; left: 14px; width: min(380px, calc(100% - 82px)); z-index: 3; }
.vmap__search { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; background: rgba(255, 255, 255, 0.96); border: 1px solid rgba(20, 48, 90, 0.1); border-radius: 23px; box-shadow: 0 8px 22px rgba(14, 42, 82, 0.12); color: var(--muted); }
.vmap__search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; font: inherit; font-size: 15px; color: var(--navy); outline: none; }
.vmap__search:focus-within { border-color: rgba(43, 111, 183, 0.5); }
.vmap__results { margin-top: 8px; max-height: min(360px, 52vh); overflow-y: auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 36px rgba(14, 42, 82, 0.16); }
.vmap__results li + li { border-top: 1px solid var(--line); }
.vmap__results button { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; row-gap: 2px; width: 100%; padding: 11px 16px; text-align: left; }
.vmap__results button:hover, .vmap__results button:focus-visible { background: var(--pale); }
.vmap__results .r-no { grid-row: 1 / 3; align-self: center; font-size: 11px; font-weight: 700; color: var(--blue); }
.vmap__results .r-title { font-size: 14px; font-weight: 700; color: var(--navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vmap__results .r-sub { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vmap__results .r-none { padding: 14px 16px; font-size: 13px; color: var(--muted); }

.vmap__tools { position: absolute; top: 14px; right: 14px; z-index: 3; display: flex; flex-direction: column; gap: 8px; }
.vmap__tool { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.96); border: 1px solid rgba(20, 48, 90, 0.1); box-shadow: 0 6px 16px rgba(14, 42, 82, 0.12); color: var(--navy); transition: background-color .2s var(--ease), color .2s var(--ease); }
.vmap__tool:hover { background: var(--navy); color: #fff; }
.vmap__tool[data-full] { margin-top: 6px; }
.vmap__card.is-full .vmap__tool[data-full] { background: var(--navy); color: #fff; }

.vmap__bottom { position: absolute; left: 14px; right: 14px; bottom: 26px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; pointer-events: none; }
.vmap__bottom > * { pointer-events: auto; }
.vmap__clockwrap { position: relative; }
.vmap__clock { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px; background: rgba(255, 255, 255, 0.97); border: 1px solid rgba(20, 48, 90, 0.1); border-radius: 21px; box-shadow: 0 6px 16px rgba(14, 42, 82, 0.12); color: var(--navy); }
.vmap__clockday { font-size: 14px; font-weight: 600; color: var(--blue); }
.vmap__clocktime { font-family: var(--goth); font-size: 17px; font-weight: 700; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.vmap__clock svg { transition: transform .25s var(--ease); }
.vmap__clock[aria-expanded="true"] svg { transform: rotate(180deg); }
.vmap__clock.is-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 4px rgba(224, 70, 106, 0.18); }
.vmap__timer { position: absolute; left: 0; bottom: calc(100% + 10px); width: min(360px, calc(100vw - 60px)); padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 40px rgba(14, 42, 82, 0.18); }
.vmap__days { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vmap__day { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 0 8px; border-radius: 12px; background: var(--paper); color: var(--navy); transition: background-color .2s var(--ease), color .2s var(--ease); }
.vmap__day span { font-size: 20px; font-weight: 600; }
.vmap__day small { font-size: 12px; color: var(--muted); }
.vmap__day.is-on { background: var(--navy); color: #fff; }
.vmap__day.is-on small { color: #b8cde6; }
.vmap__range { display: flex; align-items: center; gap: 10px; margin: 16px 2px 12px; font-size: 13px; color: var(--muted); }
.vmap__range input { flex: 1; accent-color: var(--navy); }
.vmap__reset { width: 100%; height: 40px; border-radius: 10px; background: var(--paper); font-size: 14px; color: var(--navy); }
.vmap__reset:hover { background: var(--pale); }

.vmap__chips { display: flex; gap: 8px; max-width: 100%; overflow-x: auto; padding: 2px 24px 4px 2px; scrollbar-width: none; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); }
.vmap__chips::-webkit-scrollbar { display: none; }
.vmap__chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; background: rgba(255, 255, 255, 0.97); border: 1px solid rgba(20, 48, 90, 0.1); border-radius: 20px; box-shadow: 0 4px 12px rgba(14, 42, 82, 0.1); font-size: 14px; font-weight: 500; color: var(--navy); transition: background-color .2s var(--ease), color .2s var(--ease); }
.vmap__chip span { font-family: var(--latin); font-size: 14px; font-weight: 600; color: var(--blue); }
.vmap__chip:hover { background: var(--pale); }
.vmap__chip.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.vmap__chip.is-on span { color: #9cc8f2; }

/* 場所を押したときの一覧（PC は右に、スマホは下から） */
.vmap__sheet { position: absolute; top: 14px; right: 70px; bottom: 14px; z-index: 4; width: min(380px, calc(100% - 100px)); overflow-y: auto; overscroll-behavior: contain; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 44px rgba(14, 42, 82, 0.2); }
.vmap__close { position: sticky; top: 10px; float: right; margin: 10px 10px 0 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--paper); color: var(--navy); z-index: 1; }
.vmap__close:hover { background: var(--navy); color: #fff; }
.vmap__sheetbody { padding: 20px 22px 24px; }
.vs__eyebrow { font-family: var(--latin); font-size: 12px; letter-spacing: 0.12em; color: var(--blue); }
.vs__title { margin: 4px 0 2px; font-family: var(--mincho); font-size: 24px; font-weight: 700; letter-spacing: 0.06em; color: var(--navy); }
.vs__sub { font-size: 13px; color: var(--muted); }
.vs__confirm { margin-top: 10px; padding: 8px 12px; font-size: 12.5px; color: #6a4b00; background: #fff8e3; border-radius: 8px; }
.vs__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 22px 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; color: var(--navy); }
.vs__head small { font-size: 12px; font-weight: 400; color: var(--muted); }
.vs__times li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 2px 10px; padding: 10px 12px; border-radius: 10px; }
.vs__times li + li { margin-top: 4px; }
.vs__times li.is-live { background: #fdecf0; }
.vs__times li.is-soon { background: #fdf3e2; }
.vs__times li.is-done { opacity: 0.55; }
.vs__time { font-size: 13.5px; font-weight: 700; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; color: var(--navy); }
.vs__ttitle { font-size: 14px; font-weight: 700; color: var(--navy); }
.vs__ttitle a { color: inherit; }
.vs__ttitle a:hover { color: var(--blue); }
.vs__state { grid-column: 1; font-size: 11px; font-weight: 700; }
.is-live .vs__state { color: var(--live); }
.is-soon .vs__state { color: var(--soon); }
.vs__tgroup { grid-column: 2; font-size: 12px; color: var(--muted); }
.vs__list li + li { border-top: 1px solid var(--line); }
.vs__item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; padding: 12px 2px; }
.vs__item .vs__no { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: var(--blue); }
.vs__item .vs__name { grid-column: 1; font-size: 15px; font-weight: 700; line-height: 1.5; color: var(--navy); }
.vs__item .vs__group { grid-column: 1; font-size: 12.5px; color: var(--muted); }
.vs__item .vs__room { grid-column: 2; grid-row: 1 / 4; align-self: center; padding: 4px 10px; font-size: 12px; font-weight: 700; color: var(--navy); background: var(--paper); border-radius: 999px; white-space: nowrap; }
.vs__item a.vs__name:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.vs__empty { padding: 14px 0; font-size: 13px; color: var(--muted); }
.vs__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 13px; font-weight: 500; color: var(--blue); }

.vmap__credit { position: absolute; right: 12px; bottom: 6px; z-index: 1; font-size: 10px; color: #8a99ab; text-align: right; }
.vmap__credit a { color: inherit; }

/* 地図の記号の見方 */
.vmap__legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; padding: 0 4px; font-size: 13px; color: var(--ink); }
.vmap__legend li { display: inline-flex; align-items: center; gap: 8px; list-style: none; }
.vmap__legend svg { flex: none; }
/* 地図の下：場所ごとの一覧 */
.vlist { margin-top: 56px; }
.vlist__heading { font-size: 22px; font-weight: 700; letter-spacing: 0.08em; margin-bottom: 20px; }
.vlist__groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.vlist__group { padding: 20px 22px 12px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.vlist__head { display: flex; align-items: baseline; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--navy); }
.vlist__head .mincho { font-size: 19px; font-weight: 700; letter-spacing: 0.08em; }
.vlist__head .latin { font-size: 11px; color: var(--blue); }
.vlist__count { margin-left: auto; font-family: var(--latin); font-size: 15px; font-weight: 600; color: var(--muted); }
.vlist__row { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px 0; }
.vlist__row + .vlist__row { border-top: 1px solid var(--line); }
.vlist__where { font-size: 13px; font-weight: 700; color: var(--navy); }
.vlist__where small { font-size: 11px; font-weight: 400; color: var(--muted); }
.vlist__what { display: flex; flex-direction: column; min-width: 0; }
.vlist__no { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: var(--blue); }
.vlist__title { font-size: 14.5px; font-weight: 700; line-height: 1.5; color: var(--navy); }
.vlist__title:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.vlist__org { font-size: 12px; color: var(--muted); }
.vlist__focus { display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 12px; border-radius: 15px; border: 1px solid rgba(20, 48, 90, 0.2); font-size: 12px; color: var(--navy); transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.vlist__focus svg { color: var(--blue); }
.vlist__focus:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.vlist__focus:hover svg { color: #9cc8f2; }
.vmap__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 48px; }
/* 地図・タイムテーブルから来たとき、その企画のカードを少しの間しるしを付ける */
.pcard:target { box-shadow: 0 0 0 3px var(--blue), 0 16px 36px rgba(14, 42, 82, 0.12); }

/* ============================================================
   タイムテーブル（timetable/）：PC は場所を横に並べた表、スマホは時間順の一覧
   ============================================================ */
.tt { padding-top: clamp(28px, 4vw, 48px); }
.tt__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.tt__tabs { display: flex; gap: 10px; }
.tt__tab { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 8px; align-items: baseline; padding: 10px 22px 10px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; color: var(--navy); text-align: left; transition: background-color .2s var(--ease), color .2s var(--ease); }
.tt__tab:hover { border-color: rgba(20, 48, 90, 0.35); }
.tt__tabdate { font-size: 28px; font-weight: 600; line-height: 1.1; }
.tt__tabdow { font-size: 13px; color: var(--blue); }
.tt__tabja { grid-column: 1 / -1; font-size: 11.5px; color: var(--muted); }
.tt__tab.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.tt__tab.is-on .tt__tabdow { color: #9cc8f2; }
.tt__tab.is-on .tt__tabja { color: #b8cde6; }
.tt__tab.is-today::after { content: "TODAY"; grid-column: 1 / -1; margin-top: 4px; font-family: var(--latin); font-size: 10px; letter-spacing: 0.14em; color: var(--live, #e0466a); }
.tt__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tt__chip { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; background: var(--white); border: 1px solid var(--line); border-radius: 19px; font-size: 14px; color: var(--navy); transition: background-color .2s var(--ease), color .2s var(--ease); }
.tt__chip span { font-family: var(--latin); font-weight: 600; color: var(--blue); }
.tt__chip:hover { border-color: rgba(20, 48, 90, 0.35); }
.tt__chip.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.tt__chip.is-on span { color: #9cc8f2; }

.js .tt__day { display: none; }
.js .tt__day.is-on { display: block; }
.tt__day + .tt__day { margin-top: 40px; }
.js .tt__day + .tt__day { margin-top: 0; }
.tt__dayhead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
html:not(.js) .tt__dayhead { position: static; width: auto; height: auto; clip: auto; margin-bottom: 12px; font-size: 20px; }

.tt__scroll { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 16px 40px rgba(14, 42, 82, 0.06); }
.tt__grid { --k: 2px; --live: #e0466a; display: grid; grid-template-columns: 60px repeat(var(--cols), minmax(122px, 1fr)); grid-template-rows: auto calc(var(--mins) * var(--k)); min-width: calc(60px + var(--cols) * 122px); padding: 0 12px 16px 0; }
.tt__corner { grid-row: 1; grid-column: 1; position: sticky; top: 0; background: var(--white); }
.tt__venue { grid-row: 1; grid-column: calc(var(--c) + 1); display: flex; flex-direction: column; gap: 2px; padding: 18px 10px 14px; border-bottom: 1px solid var(--navy); color: var(--navy); }
.tt__venue .mincho { font-size: 16px; font-weight: 700; letter-spacing: 0.06em; }
.tt__venue .latin { font-size: 10px; letter-spacing: 0.08em; color: var(--blue); }
.tt__venue:hover .mincho { color: var(--blue); }
.tt__axis { grid-row: 2; grid-column: 1; position: relative; }
.tt__hour { position: absolute; right: 10px; top: calc(var(--t) * var(--k)); transform: translateY(-50%); font-family: var(--goth); font-size: 12.5px; font-weight: 700; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; color: var(--muted); }
.tt__body { grid-row: 2; grid-column: 2 / -1; position: relative; background-image: linear-gradient(to right, var(--line) 1px, transparent 1px), linear-gradient(to bottom, var(--line) 1px, transparent 1px); background-size: calc(100% / var(--cols)) 100%, 100% calc(60 * var(--k)); background-position: 0 0, 0 calc(var(--off) * var(--k)); }
.tt__item { position: absolute; left: calc((var(--c) - 1) * 100% / var(--cols) + 4px); width: calc(100% / var(--cols) - 8px); top: calc(var(--s) * var(--k) + 2px); height: calc((var(--e) - var(--s)) * var(--k) - 4px); display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; overflow: hidden; border-radius: 10px; background: #e7f0fa; border: 1px solid rgba(43, 111, 183, 0.28); color: var(--navy); transition: transform .2s var(--ease), box-shadow .2s var(--ease), opacity .2s var(--ease); }
a.tt__item:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(14, 42, 82, 0.14); z-index: 2; }
/* 短い枠：60分未満は団体名を出さず題名は2行まで、45分未満は題名を1行に、30分未満は時刻と題名を横に並べる */
.tt__item.is-short .tt__group { display: none; }
.tt__item.is-short .tt__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tt__item.is-xs { gap: 0; padding: 5px 9px; justify-content: center; }
.tt__item.is-xs .tt__time { font-size: 11px; }
.tt__item.is-xs .tt__title { display: block; font-size: 12.5px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tt__item.is-tiny { flex-direction: row; align-items: center; gap: 6px; padding: 0 9px; }
.tt__item.is-tiny .tt__time { flex: 0 0 auto; }
.tt__item--screen { background: #e8f3f1; border-color: rgba(38, 128, 118, 0.3); }
.tt__item--guest { background: linear-gradient(150deg, #2b5a95, #0e2a52); border-color: transparent; color: #fff; }
.tt__item--guest .tt__time { color: #9cc8f2; }
.tt__item--guest .tt__group { color: #c7d8ec; }
.tt__time { font-family: var(--goth); font-size: 12px; font-weight: 700; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; color: var(--blue); }
.tt__item--screen .tt__time { color: #237a70; }
.tt__title { font-size: 13.5px; font-weight: 700; line-height: 1.45; }
.tt__group { font-size: 11.5px; line-height: 1.45; color: var(--muted); }
.tt__item.is-live { box-shadow: 0 0 0 2px var(--live); }
.tt__item.is-done { opacity: 0.5; }
.tt__now { position: absolute; left: -6px; right: 0; top: calc(var(--t) * var(--k)); height: 2px; background: var(--live); z-index: 3; pointer-events: none; }
.tt__now::before { content: ""; position: absolute; left: -4px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--live); }
.tt__now span { position: absolute; left: -58px; top: -10px; padding: 1px 6px; border-radius: 6px; background: var(--live); font-family: var(--goth); font-size: 12px; font-weight: 700; letter-spacing: 0.02em; color: #fff; }
.tt[data-filter="stage"] .tt__item:not([data-kind="stage"]), .tt[data-filter="screen"] .tt__item:not([data-kind="screen"]), .tt[data-filter="guest"] .tt__item:not([data-kind="guest"]) { opacity: 0.14; pointer-events: none; }
.tt[data-filter="stage"] .tt__row:not([data-kind="stage"]), .tt[data-filter="screen"] .tt__row:not([data-kind="screen"]), .tt[data-filter="guest"] .tt__row:not([data-kind="guest"]) { display: none; }

.tt__list { display: none; }
.tt__row { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; align-items: start; gap: 12px; padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.tt__row + .tt__row { margin-top: 8px; }
.tt__rtime { font-family: var(--goth); font-size: 17px; font-weight: 700; line-height: 1.25; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; color: var(--navy); }
.tt__rtime small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.tt__rbody { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tt__rkind { align-self: flex-start; padding: 1px 8px; font-size: 11px; font-weight: 700; border-radius: 999px; color: var(--blue); background: var(--pale); }
.tt__row--screen .tt__rkind { color: #237a70; background: #e8f3f1; }
.tt__row--guest .tt__rkind { color: #fff; background: var(--navy); }
.tt__rtitle { font-size: 15.5px; font-weight: 700; line-height: 1.5; color: var(--navy); }
a.tt__rtitle:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.tt__rgroup { font-size: 12.5px; color: var(--muted); }
.tt__rnote { font-size: 12px; color: var(--ink); }
.tt__rvenue { align-self: center; display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 15px; border: 1px solid rgba(20, 48, 90, 0.2); font-size: 12.5px; font-weight: 700; color: var(--navy); white-space: nowrap; transition: background-color .2s var(--ease), color .2s var(--ease); }
.tt__rvenue:hover { background: var(--navy); color: #fff; }
.tt__row.is-live { border-color: #e0466a; box-shadow: 0 0 0 1px #e0466a; }
.tt__row.is-live .tt__rtime::after { content: "開催中"; display: block; margin-top: 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; color: #e0466a; }
.tt__row.is-done { opacity: 0.5; }

@media (max-width: 900px) {
  .vmap__card { height: max(480px, min(76svh, 720px)); border-radius: 14px; }
  .vmap__sheet { top: auto; left: 0; right: 0; bottom: 0; width: auto; max-height: 64%; border-radius: 18px 18px 0 0; border-width: 1px 0 0; box-shadow: 0 -12px 30px rgba(14, 42, 82, 0.18); }
  .vmap__sheet::before { content: ""; display: block; width: 40px; height: 4px; margin: 10px auto 0; border-radius: 2px; background: #cfd9e4; }
  .vmap__close { position: absolute; top: 12px; right: 12px; float: none; margin: 0; }
  .vmap__sheetbody { padding: 12px 18px 24px; }
  .vs__title { font-size: 21px; padding-right: 40px; }
  .vlist__groups { grid-template-columns: 1fr; }
  .tt__bar { flex-direction: column; align-items: stretch; }
  .tt__tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .tt__scroll { display: none; }
  .tt__list { display: block; }
}
@media (max-width: 640px) {
  .vmap__svg { --pin: .9; }
  .vmap__credit { bottom: 5px; font-size: 9px; }
  .vmap__top { top: 10px; left: 10px; width: calc(100% - 72px); }
  .vmap__tools { top: 10px; right: 10px; }
  .vmap__tool { width: 42px; height: 42px; }
  .vmap__bottom { left: 10px; right: 10px; bottom: 22px; }
  .vmap__search { height: 44px; }
  .vlist__row { grid-template-columns: 70px minmax(0, 1fr) auto; gap: 10px; }
  .vlist__group { padding: 16px 16px 8px; }
  .tt__row { grid-template-columns: 56px minmax(0, 1fr); }
  .tt__rvenue { grid-column: 2; justify-self: start; margin-top: 6px; }
}

/* ============================================================
   動きを減らす設定の人には、アニメーションを止める
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .js .hero [data-hero], .js [data-reveal] { opacity: 1; transform: none; }
  .orbit { stroke-dashoffset: 0; }
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; }
  .marquee__track[aria-hidden="true"] { display: none; }
  .hero__layer { transform: none !important; }
  .intro { display: none; }
  .pcard__draw i { opacity: 0.6; }
  @view-transition { navigation: none; }
}


