/* =========================================================
   Window of Tomorrow — 六本木アートナイト2026
   デザイン: TOP.pdf 準拠(ブルーグレー地 × クリーム)
   ========================================================= */

:root {
  --display: 'Italiana', 'Didot', 'Bodoni 72', serif;
  --num: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  --bg: #7d9ab1;
  --bg-dark: #414c57;
  --ink: #fffce4;
  --ink-soft: rgba(255, 252, 228, 0.82);
  --line: rgba(255, 252, 228, 0.55);
  --maxw: 864px;
  --nav-h: 62px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.1em;
  overflow-x: hidden;
}
main { position: relative; overflow-x: clip; }
a { color: inherit; }

/* ---- ナビ(HEROを過ぎると表示) ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 48px);
  background: rgba(125, 154, 177, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  height: var(--nav-h);
}
.nav__logo {
  display: block;
  line-height: 0;
  /* ファーストビューでは非表示、スクロールすると表示(main.js) */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), visibility 0.6s;
}
.nav__logo img { display: block; height: 38px; width: auto; }
.nav.is-scrolled .nav__logo, .nav.is-open .nav__logo { opacity: 1; visibility: visible; transform: none; }
.nav__menu { display: flex; gap: clamp(14px, 2vw, 30px); }
.nav__menu a {
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.4s var(--ease);
}
.nav__menu a:hover { color: var(--ink); }

/* ハンバーガー(スマホのみ表示) */
.nav__toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 40px; height: 40px;
  margin-right: -8px;
  background: none; border: 0; cursor: pointer;
}
.nav__toggle span {
  position: absolute; left: 9px;
  width: 22px; height: 1px;
  background: var(--ink);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease), top 0.4s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 13px; }
.nav__toggle span:nth-child(2) { top: 20px; }
.nav__toggle span:nth-child(3) { top: 27px; }
.nav.is-open .nav__toggle span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* ---- セクション ---- */
.panel {
  position: relative;
  padding: clamp(72px, 11vw, 160px) 24px;
}
.panel__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
}

/* ---- カテゴリー見出し ---- */
.cat {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(60px, 8.9vw, 128px);
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: clamp(40px, 5vw, 64px);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
}
.cat.is-in { opacity: 1; transform: none; }
.cat--sub {
  font-size: clamp(26px, 2.3vw, 32px);
  margin: clamp(48px, 5vw, 64px) 0 clamp(20px, 2vw, 28px);
}

/* ---- 汎用リビール ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.cat--sub.reveal { transform: translateY(24px); }
.cat--sub.reveal.is-in { transform: none; }

/* ---- 左右の手描き曲線(画面に入るとフェードイン)----
   本文の幅の外側に置き、文字に重ならないようにする。画面の端で切れてもOK */
.deco {
  position: absolute; z-index: 0; pointer-events: none;
  height: auto;
  opacity: 0;
  transition: opacity 1.8s var(--ease), translate 1.8s var(--ease);
  translate: 0 30px;
}
.deco.is-shown { opacity: 1; translate: 0 0; }
/* セクションの境目にまたがるよう、次のセクションの上端から上に半分はみ出させる */
.deco--r1 { left: calc(50vw + 470px);  width: 630px; top: -600px; }                              /* Concept と Introduction の間・右 */
.deco--l1 { right: calc(50vw + 490px); width: 660px; top: -640px; transform: scaleX(-1); }       /* Artist と Program の間・左(左右反転) */
.deco--r2 { left: calc(50vw + 620px);  width: 630px; top: -620px; transform: rotate(14deg); }    /* Installation と Access の間・右(傾け) */
@media (max-width: 1179px) { .deco { display: none; } }  /* 余白が足りない幅では出さない */
@media (prefers-reduced-motion: reduce) { .deco { opacity: 1; translate: none; transition: none; } }

/* =========================================================
   HERO(キービジュアル)
   ========================================================= */
.panel--hero { padding: var(--nav-h) 0 clamp(56px, 8vw, 110px); text-align: center; }
/* 縦型KV(1417×2000)が1画面に収まる大きさに */
.hero__inner {
  position: relative;
  width: min(100%, calc((100svh - var(--nav-h)) * 0.7085));
  margin: 0 auto;
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---- KV レイヤー(座標は縦型KVに対する%) ---- */
.kv { position: relative; aspect-ratio: 1417 / 2000; }
.kv__layer { position: absolute; display: block; height: auto; }
.kv__star  { left: 19.34%; top: 5.6%;  width: 60.97%; }
.kv__dawn  { left: 19.34%; top: 52.2%; width: 60.97%; }
.kv__logo  { left: 7.34%;  top: 4.8%;  width: 23.99%; }
.kv__copy  { position: absolute; left: 48.98%; top: 14.2%; width: 1.97%; }
/* 英語⇔日本語のコピーをランダムに切り替え(main.js) */
.kv__copy img { display: block; width: 100%; height: auto; transition: opacity 1.4s var(--ease), filter 1.4s var(--ease); }
.kv__copy-ja { position: absolute; left: -15%; top: 0; width: 130% !important; opacity: 0; filter: blur(4px); }
.kv__copy.is-ja .kv__copy-en { opacity: 0; filter: blur(4px); }
.kv__copy.is-ja .kv__copy-ja { opacity: 1; filter: none; }
/* 曲線はKVの枠からはみ出して全体を見せる(切らない) */
.kv__swirl-clip { position: absolute; inset: 0; pointer-events: none; }
.kv__swirl {
  position: absolute;
  left: -5.65%; top: 33.4%;
  width: 117.29%; height: auto;
  aspect-ratio: 2000 / 968;
  overflow: visible;
}

/* ---- 出現アニメーション ---- */
/* ① アーチ2つが同時に */
.kv__star, .kv__dawn { opacity: 0; transform: translateY(18px); }
.panel--hero.is-in .kv__star,
.panel--hero.is-in .kv__dawn { animation: kvRise 1.6s var(--ease) 0.2s forwards; }
/* ② 曲線が線をなぞるように */
.kv__trace { stroke-dasharray: 1; stroke-dashoffset: 1; }
.panel--hero.is-in .kv__trace--a { animation: kvDraw 2.8s cubic-bezier(0.45, 0, 0.25, 1) 1.5s forwards; }
.panel--hero.is-in .kv__trace--b { animation: kvDraw 2.4s cubic-bezier(0.45, 0, 0.25, 1) 2.0s forwards; }
.panel--hero.is-in .kv__trace--c { animation: kvDraw 1.8s cubic-bezier(0.45, 0, 0.25, 1) 2.6s forwards; }
/* ③ ロゴと英語コピー */
.kv__logo, .kv__copy { opacity: 0; }
.kv__copy { transform: translateY(-10px); }
.panel--hero.is-in .kv__logo { animation: kvFade 1.6s var(--ease) 4.4s forwards; }
.panel--hero.is-in .kv__copy { animation: kvRise 1.6s var(--ease) 4.7s forwards; }
@keyframes kvRise { to { opacity: 1; transform: none; } }
@keyframes kvFade { to { opacity: 1; } }
@keyframes kvDraw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .kv__star, .kv__dawn, .kv__logo, .kv__copy { opacity: 1 !important; transform: none !important; animation: none !important; }
  .kv__trace { stroke-dashoffset: 0 !important; animation: none !important; }
}

/* カウントダウンはKV下端の余白に */
.hero__count {
  position: absolute;
  left: 0; right: 0;
  bottom: 1.6%;
  font-size: clamp(12px, 1.3vw, 18px);
  letter-spacing: 0.16em;
  opacity: 0;
  transition: opacity 1.4s var(--ease) 5.2s;
}
.panel--hero.is-in .hero__count { opacity: 1; }
.hero__count #countdown { margin: 0 0.1em; }

/* =========================================================
   SHOW INFO
   ========================================================= */
#info { padding-top: clamp(40px, 5vw, 80px); }
.info__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 40px);
  margin-bottom: clamp(28px, 3vw, 44px);
}
.rule { flex: 0 1 140px; height: 1px; background: var(--line); }
.info__event {
  font-size: clamp(22px, 2.8vw, 40px);
  font-weight: 500;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.info__date {
  font-size: clamp(20px, 2.2vw, 32px);
  font-weight: 500;
  letter-spacing: 0.1em;
}
.info__date span { margin: 0 0.05em; }
.info__date .info__dash { margin: 0 0.25em; }
.info__place { font-size: clamp(18px, 1.7vw, 24px); font-weight: 500; margin-top: clamp(28px, 3vw, 44px); }
.info__place-sub { font-size: 12px; margin-top: 6px; }

/* クレジット */
.credits { margin-top: clamp(36px, 3.6vw, 52px); }
.credits__rule { display: block; width: 100%; height: 1px; background: var(--line); margin-bottom: 44px; }
.credits__list {
  display: grid;
  grid-template-columns: auto auto;
  grid-auto-flow: column;
  grid-template-rows: repeat(4, auto);
  justify-content: center;
  gap: 2px clamp(40px, 8vw, 100px);
  text-align: left;
}
.credit { display: grid; grid-template-columns: 180px auto; align-items: baseline; }
.credit dt, .credit dd { font-size: 12px; line-height: 1.5; }
.credit:nth-child(n+5) { grid-template-columns: 120px auto; }

/* =========================================================
   CONCEPT
   ========================================================= */
.concept__body p {
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 2;
  font-weight: 400;
  margin-bottom: 2em;
}
.concept__body p:last-child { margin-bottom: 0; }
.concept__body .reveal:nth-child(2) { transition-delay: 0.15s; }
.concept__body .reveal:nth-child(3) { transition-delay: 0.3s; }
.concept__body .reveal:nth-child(4) { transition-delay: 0.45s; }

/* Introduction(詩のように改行を保つ) */
.intro__body .reveal:nth-child(5) { transition-delay: 0.6s; }
.intro__last { font-size: clamp(17px, 1.6vw, 22px) !important; letter-spacing: 0.2em !important; margin-top: 3em; }

/* =========================================================
   TIMETABLE / STORY / HOW TO JOIN(縦タイムライン)
   ========================================================= */
.panel__inner--wide { max-width: 940px; text-align: left; }
.sec-head { margin-bottom: clamp(40px, 5vw, 64px); text-align: center; }
.cat--left { margin-bottom: 0; }
.sec-head__ja { font-size: clamp(18px, 1.7vw, 24px); margin-top: 10px; letter-spacing: 0.14em; }
.sec-head__lead { font-size: clamp(14px, 1.3vw, 18px); margin-top: 18px; letter-spacing: 0.14em; }
.sec-head__lead--sm { font-size: 13px; line-height: 2; margin-top: 22px; }

.tl { --tcol: 138px; list-style: none; position: relative; }
.tl__row {
  position: relative;
  display: grid;
  grid-template-columns: var(--tcol) 1fr;
  padding: 30px 0 32px;
  border-bottom: 1px solid var(--line);
}
.tl__row:last-child { border-bottom: 0; }
/* 縦線+ドット */
.tl__row::before {
  content: ''; position: absolute;
  left: var(--tcol); top: 14px; bottom: 14px;
  width: 1px; background: var(--line);
}
.tl__row::after {
  content: ''; position: absolute;
  left: calc(var(--tcol) - 5px); top: 60px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--ink);
}
.tl__time {
  font-family: var(--num);
  font-weight: 400;
  font-variant-numeric: lining-nums;
  font-size: clamp(30px, 2.8vw, 40px);
  line-height: 1.2;
  letter-spacing: 0.02em;
  padding-top: 18px;
}
.tl__time span { display: block; }
.tl__body { padding-left: 52px; min-width: 0; }
.tl__title {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: 4px 22px;
  font-weight: 400;
}
.tl__title .en { font-family: var(--display); font-size: clamp(36px, 3.6vw, 52px); line-height: 1.1; letter-spacing: 0; }
.tl__title .ja { font-size: clamp(18px, 1.8vw, 26px); letter-spacing: 0.12em; }
.tag {
  align-self: center;
  font-size: 13px; font-weight: 500; letter-spacing: 0.08em;
  color: #3f4a66; background: #d9dcf6;
  padding: 5px 18px; border-radius: 999px;
}
.tl__stage { font-size: 13px; letter-spacing: 0.16em; margin-top: 10px; }
.tl__stage span { margin: 0 0.8em; }

/* Timetable の3列メタ */
.tl__meta {
  display: grid;
  grid-template-columns: 120px 290px 1fr;
  margin-top: 18px; padding-top: 22px;
  border-top: 1px solid var(--line);
}
.tl__meta div { padding: 0 24px; border-left: 1px solid var(--line); }
.tl__meta div:first-child { padding-left: 0; border-left: 0; }
.tl__meta dt { font-size: 11px; opacity: 0.85; margin-bottom: 8px; }
.tl__meta dd { font-size: 13px; line-height: 1.9; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
  padding: 5px 18px; border-radius: 999px;
  white-space: nowrap;
  color: #34465a; background: var(--ink);
  border: 1px solid var(--ink);
}
/* どなたでも鑑賞可:受付不要の案内(線のみ・クリック不可) */
.pill--free {
  color: var(--ink); background: transparent;
  border: 1px dashed var(--ink);
  font-weight: 500;
}

/* Program → 作品紹介への導線 */
.tl__title a.en { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.4s var(--ease); }
.tl__title a.en:hover { border-color: var(--line); }
.works-link { text-align: center; margin-top: 40px; }

/* =========================================================
   WORKS(作品紹介ページ works.html)
   ========================================================= */
.page-works main { padding-top: var(--nav-h); }
.nav__menu a[aria-current="page"] { color: var(--ink); border-bottom: 1px solid var(--line); }
.works { border-top: 1px solid var(--line); }
.work {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px clamp(40px, 6vw, 88px);
  padding: clamp(48px, 6vw, 80px) 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--nav-h) + 16px);
}
.work__no { font-family: var(--num); font-variant-numeric: lining-nums; font-size: 18px; letter-spacing: 0.12em; opacity: 0.8; }
.work__title { font-family: var(--display); font-weight: 400; font-size: clamp(44px, 4.6vw, 64px); line-height: 1.05; letter-spacing: 0; margin-top: 10px; }
.work__meta { margin-top: 22px; font-size: 13px; }
.work__meta div { display: flex; gap: 1.4em; }
.work__text {
  position: relative;
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 2.2;
  padding-top: 8px;
}
.works__back { text-align: center; margin-top: clamp(56px, 7vw, 96px); }
.deco--w1 { left: calc(50vw + 500px); width: 560px; top: 120px; }

/* Installation */
/* ギャラリー:KVの窓と同じアーチ形でトリミング。クリックで元画像をポップアップ */
.stage__gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 3vw, 40px);
  max-width: 680px;
  margin: clamp(48px, 6vw, 72px) auto 0;
}
.stage__shot {
  display: block;
  padding: 0; border: 0; background: none;
  aspect-ratio: 327 / 322;
  overflow: hidden;
  cursor: zoom-in;
  --arch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 327 322' preserveAspectRatio='none'%3E%3Cpath d='M0 322V150C0 67 73 0 163.5 0S327 67 327 150V316Q163.5 286 0 322Z'/%3E%3C/svg%3E");
  -webkit-mask: var(--arch) center / 100% 100% no-repeat;
  mask: var(--arch) center / 100% 100% no-repeat;
}
.stage__shot img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.stage__shot:hover img { transform: scale(1.05); }
.stage__shot:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.stage__note { grid-column: 1 / -1; font-size: 12px; text-align: right; opacity: 0.9; }

/* ポップアップ(元画像の形で表示) */
.lightbox { position: fixed; inset: 0; z-index: 110; display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.is-open { display: flex; }
.lightbox__overlay {
  position: absolute; inset: 0;
  background: rgba(40, 50, 62, 0.84);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  animation: mFade 0.35s ease;
  cursor: zoom-out;
}
.lightbox__figure { position: relative; margin: 0; max-width: min(92vw, 1200px); animation: lbIn 0.5s var(--ease); }
.lightbox__img { display: block; max-width: 100%; max-height: 80vh; width: auto; height: auto; margin: 0 auto; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45); }
.lightbox__cap { margin-top: 12px; font-size: 12px; text-align: right; color: var(--ink); }
.lightbox__close { position: absolute; top: 14px; right: 20px; z-index: 1; background: none; border: 0; color: var(--ink); font-size: 34px; line-height: 1; cursor: pointer; }
@keyframes lbIn { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }

.stage__intro { text-align: center; }
.stage__name { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 3.4vw, 48px); letter-spacing: 0.02em; }
.stage__name span { font-size: 0.72em; margin-left: 0.2em; }
.stage__open { font-size: clamp(13px, 1.1vw, 15px); font-weight: 500; line-height: 2; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); display: inline-block; }
.stage__text { font-size: clamp(13px, 1.1vw, 15px); line-height: 2.1; margin-top: 28px; }
.notice {
  display: grid;
  grid-template-columns: 256px 1fr;
  align-items: center;
  margin-top: 40px;
  padding: 26px 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 252, 228, 0.04);
}
.notice__title { font-size: clamp(17px, 1.6vw, 22px); letter-spacing: 0.14em; padding-right: 24px; border-right: 1px solid var(--line); line-height: 3.4; }
.notice__text { font-size: 13px; line-height: 2; padding-left: 38px; }

/* =========================================================
   ARTIST / STAFF
   ========================================================= */
.people {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 104px;
}
/* 名前が写真より長くても(例:Remi Takenouchi)写真・名前とも中央に揃える */
.person { width: 120px; min-width: 0; flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; }
.person > * { max-width: none; }
.people--main { gap: 40px clamp(56px, 8vw, 120px); }
.people--main .person { width: clamp(150px, 16vw, 220px); }
.people--sub { margin-top: clamp(56px, 6vw, 80px); gap: 32px clamp(28px, 3.4vw, 48px); }
.person__photo {
  width: 100%;
  /* KVの窓と同じアーチ形にトリミング */
  aspect-ratio: 327 / 322;
  background: #d9d9d9;
  margin-bottom: 14px;
  overflow: hidden;
  --arch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 327 322' preserveAspectRatio='none'%3E%3Cpath d='M0 322V150C0 67 73 0 163.5 0S327 67 327 150V316Q163.5 286 0 322Z'/%3E%3C/svg%3E");
  -webkit-mask: var(--arch) center / 100% 100% no-repeat;
  mask: var(--arch) center / 100% 100% no-repeat;
  transition: transform 0.6s var(--ease);
}
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; transition: transform 1.2s var(--ease); }
.person:hover .person__photo { transform: translateY(-4px); }
.person:hover .person__photo img { transform: scale(1.05); }
.person__role { font-size: 12px; white-space: nowrap; }
.person__name { font-size: 16px; font-weight: 700; margin-top: 2px; white-space: nowrap; }
.people--main .person__role { font-size: 13px; }
.people--main .person__name { font-size: clamp(18px, 1.6vw, 22px); margin-top: 4px; }
.person__note { font-size: 12px; margin-top: 6px; white-space: nowrap; }
.people__more {
  margin-top: clamp(36px, 4vw, 56px);
  font-family: var(--display);
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: 0.06em;
}
.people__more .amp { font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif; font-weight: 300; font-size: 0.92em; margin-right: 0.08em; }

/* =========================================================
   ACCESS
   ========================================================= */
.access__addr { font-size: clamp(14px, 1.2vw, 16px); }
.access__link {
  display: inline-block;
  margin-top: 36px;
  padding: 14px 36px;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
.access__link:hover { background: var(--ink); color: var(--bg); }

/* =========================================================
   CONTACT / FOOTER
   ========================================================= */
#contact { padding-bottom: clamp(120px, 14vw, 200px); }
.contact__mail {
  display: inline-block;
  margin-top: clamp(20px, 5vw, 80px);
  font-size: clamp(24px, 2.8vw, 40px);
  font-weight: 400;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.5s var(--ease);
}
.contact__mail:hover { border-color: var(--line); }

.foot {
  background: var(--bg-dark);
  padding: 44px 24px 36px;
  color: #fff;
}
.foot__list { display: table; margin: 0 auto; }
.foot__list div { display: table-row; }
.foot__list dt, .foot__list dd { display: table-cell; font-size: 16px; line-height: 2; }
.foot__list dt { padding-right: 38px; }
.foot__list dd a { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.3s var(--ease); }
.foot__list dd a:hover { border-color: rgba(255, 255, 255, 0.6); }
.foot__copy {
  text-align: center;
  margin-top: 28px;
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.16em;
  opacity: 0.7;
}

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 900px) {
  .people { gap: 32px 56px; }
}
@media (max-width: 720px) {
  .nav__toggle { display: block; }
  /* スマホのグロナビ:全画面オーバーレイ */
  .nav__menu {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    background: var(--bg);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
  }
  .nav.is-open .nav__menu { opacity: 1; visibility: visible; }
  .nav__menu a { font-size: 30px; color: var(--ink); }
  .nav.is-open { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav__logo { position: relative; z-index: 2; }
  .nav__logo img { height: 30px; }
  .panel { padding-left: 20px; padding-right: 20px; }
  .panel--hero { padding-left: 0; padding-right: 0; }
  /* 曲線(KV幅の117%・左に5.6%はみ出す)が画面内に収まるよう、KVを縮めて曲線ごと中央に */
  .hero__inner { width: 84vw; margin-left: 5.5vw; }
  .rule { flex-basis: 32px; }
  .credits__list { grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; justify-content: stretch; }
  .credit, .credit:nth-child(n+5) { grid-template-columns: 172px auto; }
  .credit dt, .credit dd { font-size: 11px; letter-spacing: 0.06em; }
  .concept__body p br { display: none; }
  .intro__body p br { display: inline; }
  .intro__body p { text-align: center; font-size: 13px; letter-spacing: 0.04em; }
  .intro__last { font-size: 16px !important; letter-spacing: 0.12em !important; }
  .concept__body p { text-align: left; }
  .tl { --tcol: 70px; }
  .tl__row { padding: 24px 0 26px; }
  .tl__row::after { top: 44px; }
  .tl__time { font-size: 20px; padding-top: 12px; }
  .tl__body { padding-left: 22px; }
  .tl__title { gap: 4px 12px; }
  .tl__title .en { font-size: 30px; }
  .tl__title .ja { font-size: 15px; }
  .tag { font-size: 11px; padding: 3px 12px; }
  .tl__stage { font-size: 11px; letter-spacing: 0.1em; }
  .tl__meta { grid-template-columns: 1fr; gap: 14px; }
  .tl__meta div { padding: 0; border-left: 0; }
  .tl__meta dd br, .notice__text br { display: none; }
    .notice { grid-template-columns: 1fr; padding: 22px 20px; }
  .work { grid-template-columns: 1fr; gap: 24px; }
  .work__title { font-size: 40px; }
  .work__text { font-size: 13px; line-height: 2.1; }
  .stage__text { text-align: left; }
  .notice__title { border-right: 0; border-bottom: 1px solid var(--line); line-height: 1.6; padding: 0 0 12px; margin-bottom: 12px; }
  .notice__text { padding-left: 0; }
  .people { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; justify-items: center; }
  .people--main .person { width: 100%; max-width: 160px; }
  .people--sub { margin-top: 44px; }
  .people--sub .person { width: 100%; max-width: 110px; }
  .people--sub .person:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .people--sub .person__name { font-size: 14px; }
  .person__note { white-space: normal; }
  .foot__list dt, .foot__list dd { font-size: 13px; }
  .foot__list dt { padding-right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001s !important; transition-duration: 0.2s !important; }
}

   プロフィール モーダル
   ========================================================= */
.person.is-clickable { cursor: pointer; }
.person.is-clickable .person__photo { position: relative; }
.person.is-clickable .person__photo::after {
  content: 'Profile +';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 18px; letter-spacing: 0.08em;
  color: #fff; background: rgba(65, 76, 87, 0.5);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.person.is-clickable:hover .person__photo::after { opacity: 1; }

.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.is-open { display: block; }
.modal__overlay {
  position: absolute; inset: 0;
  background: rgba(40, 50, 62, 0.6);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  animation: mFade 0.4s ease;
}
.modal__panel {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 560px); max-height: 86vh; overflow-y: auto;
  background: linear-gradient(180deg, rgba(72, 84, 96, 0.97), rgba(60, 70, 81, 0.97));
  border: 1px solid rgba(255, 252, 228, 0.14); border-radius: 4px;
  padding: clamp(30px, 4vw, 46px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  animation: mRise 0.5s var(--ease);
}
.modal__close {
  position: absolute; top: 12px; right: 18px;
  background: none; border: 0; color: var(--ink-soft);
  font-size: 30px; line-height: 1; cursor: pointer; transition: color 0.3s;
}
.modal__close:hover { color: var(--ink); }
.modal__photo {
  width: 96px; height: 96px; border-radius: 50%; overflow: hidden;
  margin: 0 auto 20px; border: 1px solid rgba(255, 252, 228, 0.2);
}
.modal__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.modal__role { text-align: center; font-size: 12px; letter-spacing: 0.14em; color: var(--ink-soft); }
.modal__name {
  text-align: center; font-family: var(--display); font-weight: 400;
  font-size: clamp(26px, 4vw, 38px); letter-spacing: 0.04em; margin-top: 6px;
}
.modal__note { text-align: center; font-size: 12px; color: var(--ink-soft); margin-top: 6px; }
.modal__profile {
  margin-top: 24px; font-size: 14px; line-height: 2.0; font-weight: 400;
  white-space: pre-line; color: var(--ink); letter-spacing: 0.02em;
}
.modal__links {
  list-style: none; margin-top: 26px; padding-top: 8px;
  border-top: 1px solid rgba(255, 252, 228, 0.14);
}
.modal__links a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 4px; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid rgba(255, 252, 228, 0.08);
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.modal__links a:hover { color: #fff; padding-left: 10px; }
.modal__linklabel { font-family: var(--display); font-size: 16px; letter-spacing: 0.06em; }
.modal__linkarrow { color: var(--ink-soft); font-size: 14px; }
@keyframes mFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes mRise {
  from { opacity: 0; transform: translate(-50%, -46%); }
  to   { opacity: 1; transform: translate(-50%, -50%); }
}

/* Program:参加方法(受付情報) */
.tl__meta .entry { display: block; white-space: nowrap; font-size: 12px; line-height: 1.8; margin-top: 4px; }
.tl__meta .pill + .entry { margin-top: 10px; }
.entry__time { font-family: var(--num); font-variant-numeric: lining-nums; font-size: 16px; }
.sp-only { display: none; }
@media (max-width: 720px) { .sp-only { display: inline; } .stage__text br { display: none; } .stage__open { text-align: left; } }
