:root {
  /* ステージ（show/）と同じ色。文字色 --ink だけはサイト用の紺グレー（DESIGN.md 2章）。 */
  --pink: #fd77ae;
  --deep: #e8488b;
  --blush: #ffe3ee;
  --paper: #fff8fb;
  --dots: #f6c9dc;
  --ink: #313d4c;
  --muted: #657181;
  --line: #f1dbe5;
  --hairline: rgba(49, 61, 76, 0.1);
  --max: 1080px;
  /* 外部フォントは読み込まない。端末の太いゴシックで見出しを組む。 */
  --f-display: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP",
    "Yu Gothic", Meiryo, system-ui, sans-serif;
  --f-body: -apple-system, BlinkMacSystemFont, "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic",
    Meiryo, system-ui, sans-serif;
  /* チーム名などの「名前」は丸ゴシック。入っていない端末はヒラギノ丸ゴ → 太いゴシック。 */
  --f-round: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN",
    "Hiragino Maru Gothic Pro", var(--f-display);
  --f-en: Montserrat, "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --dot-bg: radial-gradient(var(--dots) 18%, transparent 20%);
  /* 動きはばね（Apple の damping 1.0 / response 0.4 と 0.3）を linear() で近似。
     はね返りなし。対応していないブラウザは ease-out のまま。 */
  --spring: cubic-bezier(0.22, 1, 0.36, 1);
  --spring-fast: cubic-bezier(0.22, 1, 0.36, 1);
  --t-spring: 540ms;
  --t-spring-fast: 410ms;
  /* 影はぼかさず黒も使わない。インク色を薄く重ねて奥行きを出す。 */
  --lift: 0 1px 2px rgba(49, 61, 76, 0.06),
    0 18px 40px -18px rgba(49, 61, 76, 0.22);
  --lift-high: 0 2px 4px rgba(49, 61, 76, 0.06),
    0 28px 56px -20px rgba(49, 61, 76, 0.28);
}
@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --spring: linear(0, 0.05, 0.158, 0.286, 0.413, 0.527, 0.626, 0.707, 0.774,
      0.826, 0.868, 0.9, 0.925, 0.943, 0.958, 0.969, 0.977, 0.983, 0.987,
      0.991, 0.993, 0.995, 0.996, 0.997, 1);
    --spring-fast: linear(0, 0.07, 0.212, 0.369, 0.512, 0.632, 0.728, 0.802,
      0.857, 0.898, 0.928, 0.949, 0.964, 0.975, 0.983, 0.988, 0.992, 0.994,
      0.996, 0.997, 1);
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.85;
  letter-spacing: 0.01em;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}
body::-webkit-scrollbar {
  display: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--deep);
  outline-offset: 4px;
  border-radius: 12px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
/* 大きい文字ほど字間を詰め、行間も詰める（本文は字間ほぼ0・行間ゆったり）。 */
h2 {
  font-family: var(--f-display);
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
img {
  max-width: 100%;
  display: block;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 30;
  background: white;
  padding: 12px;
  border-radius: 12px;
}
.skip-link:focus {
  top: 10px;
}

/* ---------- 上の帯（細） ---------- */
.band {
  height: 30px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--pink);
  color: white;
}
.band-run {
  display: flex;
  flex: none;
  width: max-content;
  white-space: nowrap;
  font-family: var(--f-en);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.12em;
  /* 文8回分で半周。流れる速さは以前（文3回分で40秒）と同じ。 */
  animation: marquee 107s linear infinite;
}
/* 半分（span 1つ分）流れたら最初に戻るので、span 1つが画面幅より短いと右端が空く。 */
.band-run > span {
  flex-shrink: 0;
  min-width: 100vw;
}

/* ---------- ヘッダー：中身が下を流れる半透明の層 ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 56px;
  padding: 0 max(22px, calc((100% - var(--max)) / 2));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: rgba(255, 248, 251, 0.94);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .header {
    background: rgba(255, 248, 251, 0.72);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
  }
}
/* 区切り線の代わりに、スクロールして中身が重なったときだけ下端に薄い影 */
.header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
  pointer-events: none;
  background: linear-gradient(rgba(49, 61, 76, 0.07), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.header.is-scrolled::after {
  opacity: 1;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0;
}
.brand-star {
  font-size: 24px;
  line-height: 1;
  color: var(--pink);
}
.brand-sub {
  display: block;
  font-family: var(--f-en);
  font-size: 9px;
  letter-spacing: 0.2em;
  font-weight: 800;
  color: var(--deep);
  margin-top: 2px;
}
.header nav {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.header nav a {
  padding: 7px 12px;
  border-radius: 100px;
  color: rgba(49, 61, 76, 0.86);
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}
.header nav a:active {
  background: rgba(253, 119, 174, 0.16);
}
.nav-pill {
  margin-left: 6px;
  background: var(--ink);
  color: white !important;
}
.menu-toggle {
  display: none;
}

/* ---------- ボタン：押した瞬間に縮む ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  border: 0;
  border-radius: 100px;
  padding: 12px 26px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  transition:
    transform var(--t-spring-fast) var(--spring-fast),
    background-color 0.2s ease;
}
.button:active {
  transform: scale(0.97);
  transition: transform 100ms ease-out;
}
.primary {
  background: var(--ink);
  color: white;
}
.primary span {
  color: var(--pink);
  font-size: 20px;
  line-height: 1;
}
.secondary {
  background: rgba(253, 119, 174, 0.16);
  color: var(--ink);
}
.link {
  color: var(--deep);
  padding-inline: 14px;
}
.link span {
  font-size: 22px;
  line-height: 1;
  transition: transform var(--t-spring-fast) var(--spring-fast);
}

/* ---------- ヒーロー（スクロールでロゴが少し縮む） ---------- */
.opening-scroll {
  height: 200svh;
  position: relative;
}
.hero,
.motion-hero {
  /* ヘッダーの下に貼りつき、ヘッダーを除いた1画面を使う */
  position: sticky;
  top: 56px;
  height: calc(100svh - 56px);
  min-height: 620px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  isolation: isolate;
  padding: 40px 6% 64px;
  background: radial-gradient(
      120% 90% at 50% 0%,
      #fff 0%,
      var(--paper) 45%,
      var(--blush) 100%
    );
}
/* 背景の点は中央だけうっすら。端に向かって消える。 */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--dot-bg) 0 0 / 26px 26px;
  opacity: 0.7;
  -webkit-mask-image: radial-gradient(60% 55% at 50% 50%, #000 0%, transparent 100%);
  mask-image: radial-gradient(60% 55% at 50% 50%, #000 0%, transparent 100%);
}
.hero-glow {
  position: absolute;
  inset: -20% -10%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(38% 34% at 50% 44%, rgba(255, 255, 255, 0.95), transparent 70%),
    radial-gradient(34% 40% at 18% 78%, rgba(253, 119, 174, 0.32), transparent 70%),
    radial-gradient(30% 36% at 84% 22%, rgba(255, 179, 209, 0.45), transparent 70%);
  transform: translateY(calc(var(--opening-progress, 0) * -60px));
}
.hero-note {
  position: absolute;
  top: 22px;
  left: max(22px, calc((100% - var(--max)) / 2));
  z-index: 3;
  font-family: var(--f-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 800;
  color: var(--muted);
}
.hero-note span {
  color: var(--deep);
  font-style: italic;
  font-size: 18px;
  letter-spacing: 0;
  margin-left: 6px;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  transform: translateY(var(--hero-y, 0px)) scale(var(--hero-scale, 1));
  will-change: transform;
}
.logo-stage {
  position: relative;
  margin: 0 auto 24px;
  /* 低い画面でもボタンまで1画面に収める（ロゴの縦横比 1899:794） */
  max-width: min(740px, 80svh);
}
.logo {
  position: relative;
  z-index: 2;
  margin: 0;
  display: block;
}
.logo img {
  width: 100%;
  height: auto;
}
.hero-copy {
  font-family: var(--f-display);
  font-size: clamp(26px, 3.6vw, 44px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.hero-copy strong {
  color: var(--deep);
  font-weight: 800;
}
.hero-detail {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--muted);
  margin-top: 16px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
}
.hero-bottom {
  position: absolute;
  left: max(22px, calc((100% - var(--max)) / 2));
  right: max(22px, calc((100% - var(--max)) / 2));
  bottom: 24px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-family: var(--f-en);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.hero-bottom a {
  text-align: center;
}
.scroll-line {
  display: block;
  margin: 8px auto 0;
  width: 1px;
  height: 28px;
  background: linear-gradient(var(--ink), transparent);
}
.float {
  display: none;
}
.opening-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
}
.opening-progress span {
  display: block;
  height: 100%;
  background: var(--pink);
  transform-origin: left;
  transform: scaleX(var(--opening-progress, 0));
}

/* ---------- 流れる帯（まっすぐ） ---------- */
.ticker-viewport {
  overflow-x: clip;
}
.ticker {
  background: var(--pink);
  color: white;
  font-family: var(--f-en);
  font-size: clamp(16px, 2.4vw, 28px);
  letter-spacing: 0.1em;
  font-weight: 800;
  padding: 14px 0;
  overflow: hidden;
}
.ticker-ink {
  background: var(--ink);
  color: var(--pink);
  font-size: clamp(12px, 1.4vw, 16px);
  padding: 9px 0;
}
.ticker-ink .ticker-track {
  animation-direction: reverse;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
  will-change: transform;
}
.ticker-copy {
  flex-shrink: 0;
  min-width: 100vw;
  padding-right: 2em;
  white-space: nowrap;
}

/* ---------- セクション共通 ---------- */
.section {
  max-width: calc(var(--max) + 44px);
  padding: clamp(88px, 12vw, 150px) 22px;
  margin: auto;
}
.eyebrow {
  font-family: var(--f-en);
  font-size: 12px;
  color: var(--deep);
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1.5;
  margin-bottom: 16px;
}
.section-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 40px;
}
.small-note,
.aside-text {
  font-size: 14px;
  color: var(--muted);
}

/* ---------- 01 ABOUT ---------- */
.about {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
.section-heading {
  position: relative;
}
.oversized-index {
  display: none;
}
.about h2 {
  font-size: clamp(36px, 5.6vw, 72px);
  line-height: 1.22;
  letter-spacing: -0.02em;
}
.highlight {
  color: inherit;
}
/* スクロールに合わせて見出しが左から色づく */
.word-reveal {
  background: linear-gradient(
    90deg,
    var(--ink) var(--word-fill, 0%),
    rgba(49, 61, 76, 0.18) var(--word-fill, 0%)
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.about-copy {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.95;
  color: var(--muted);
}
.about-copy p + p {
  margin-top: 1.1em;
}
.about-copy strong {
  color: var(--ink);
  font-weight: 700;
}

/* ---------- 02 出演チーム ---------- */
.teams-area {
  background: linear-gradient(var(--paper), var(--blush) 40%, var(--paper));
}
.heading-heart {
  display: inline-block;
  margin-left: 12px;
  color: var(--pink);
  transform: rotate(12deg);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.team-card {
  --team-color: var(--pink);
  background: white;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--lift);
  transition:
    transform var(--t-spring) var(--spring),
    box-shadow var(--t-spring) var(--spring),
    opacity 0.6s ease;
}
.team-card:active {
  transform: scale(0.98);
  transition: transform 100ms ease-out;
}
.team-visual {
  height: 240px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(#ffffff70 16%, transparent 18%) 0 0 / 22px 22px,
    radial-gradient(90% 90% at 30% 20%, #ffffff66, transparent 60%),
    var(--team-color);
  display: flex;
  justify-content: center;
  align-items: center;
}
/* ♥の番号バッジ（show/next-display.html の .heart と同じ描き方） */
.heart {
  width: 138px;
  aspect-ratio: 24 / 22;
  position: relative;
  display: grid;
  place-items: center;
  filter: drop-shadow(3px 0 0 var(--ink)) drop-shadow(-3px 0 0 var(--ink))
    drop-shadow(0 3px 0 var(--ink)) drop-shadow(0 -3px 0 var(--ink))
    drop-shadow(5px 5px 0 var(--ink));
  transition: transform var(--t-spring) var(--spring);
}
.heart::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--team-color);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M12 21.5S1 14.6 1 7.4C1 3.9 3.7 1 7 1c2.1 0 3.9 1.1 5 2.8C13.1 2.1 14.9 1 17 1c3.3 0 6 2.9 6 6.4 0 7.2-11 14.1-11 14.1z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M12 21.5S1 14.6 1 7.4C1 3.9 3.7 1 7 1c2.1 0 3.9 1.1 5 2.8C13.1 2.1 14.9 1 17 1c3.3 0 6 2.9 6 6.4 0 7.2-11 14.1-11 14.1z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.heart span {
  position: relative;
  margin-top: -8%;
  font-family: var(--f-en);
  font-style: italic;
  font-weight: 800;
  font-size: 46px;
  line-height: 1;
  color: white;
  -webkit-text-stroke: 4px var(--ink);
  paint-order: stroke fill;
}
.team-star {
  position: absolute;
  font-size: 40px;
  right: 26px;
  bottom: 20px;
  color: var(--ink);
  transform: rotate(12deg);
  transition: transform var(--t-spring) var(--spring);
}
.team-status {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 100px;
  padding: 4px 11px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
}
.team-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-body {
  padding: 22px 24px 26px;
}
.team-body .eyebrow {
  margin-bottom: 4px;
  font-size: 11px;
}
.team-body h3 {
  font-family: var(--f-round);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.team-description {
  font-size: 15px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.8;
}
.section-footnote {
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  margin-top: 36px;
}

/* ---------- 03 開催案内 ---------- */
.schedule {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.schedule-intro > p:not(.eyebrow) {
  font-size: 16px;
  margin-top: 20px;
  color: var(--muted);
}
.ticket {
  background: white;
  border-radius: 28px;
  box-shadow: var(--lift-high);
  overflow: hidden;
  transform: translateY(var(--ticket-y, 0px));
  will-change: transform;
}
.ticket-top {
  display: flex;
  justify-content: space-between;
  background: linear-gradient(100deg, var(--pink), #ffb3d1);
  color: var(--ink);
  padding: 14px 26px;
  font-family: var(--f-en);
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 800;
}
.ticket h3 {
  font-family: var(--f-display);
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  padding: 26px 26px 10px;
  font-weight: 800;
}
.event-data {
  margin: 0 16px 18px;
  padding: 0 14px;
  background: var(--paper);
  border-radius: 18px;
}
.event-data > div {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 56px;
  padding: 12px 0;
}
.event-data > div + div {
  border-top: 1px solid var(--hairline);
}
.event-data dt {
  font-size: 13px;
  color: var(--muted);
}
.event-data dd {
  margin: 0;
  font-weight: 700;
  font-size: 16px;
}
.event-date-value {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  min-width: 0;
}
.calendar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(253, 119, 174, 0.16);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform var(--t-spring-fast) var(--spring-fast),
    background-color 0.2s ease;
}
.calendar-link::before {
  content: "+";
  font-size: 17px;
  line-height: 1;
  color: var(--deep);
}
.calendar-link:active {
  transform: scale(0.96);
  transition: transform 100ms ease-out;
}
.calendar-note {
  margin: -6px 30px 18px;
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
}
.calendar-link[hidden],
.calendar-note[hidden] {
  display: none;
}
.ticket-bottom {
  border-top: 1px dashed var(--dots);
  padding: 14px 26px;
  font-family: var(--f-en);
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.ticket-bottom > span:last-child {
  font-size: 22px;
  color: var(--deep);
}

/* ---------- 04 審査 ---------- */
.judging-band {
  background:
    radial-gradient(#fd77ae33 16%, transparent 18%) 0 0 / 26px 26px,
    var(--ink);
  color: white;
}
.judging {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding-top: clamp(72px, 9vw, 110px);
  padding-bottom: clamp(72px, 9vw, 110px);
}
.judging .eyebrow {
  color: var(--pink);
}
.judging h2 {
  font-size: clamp(28px, 3.8vw, 44px);
}
.judging > p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
}

/* ---------- 05 お知らせ（まとまったリスト） ---------- */
summary {
  list-style: none;
  cursor: pointer;
}
summary::-webkit-details-marker {
  display: none;
}
.news-list {
  background: white;
  border-radius: 22px;
  box-shadow: var(--lift);
  overflow: hidden;
}
.news-item + .news-item {
  border-top: 1px solid var(--hairline);
}
.news-item summary {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 16px 22px;
  font-weight: 700;
  transition: background-color 0.2s ease;
}
.news-item summary:active,
.result-box summary:active {
  background: rgba(253, 119, 174, 0.08);
}
.news-label {
  min-width: 52px;
  text-align: center;
  background: var(--ink);
  color: white;
  font: 800 11px var(--f-en);
  letter-spacing: 0.06em;
  padding: 6px 10px;
  border-radius: 100px;
}
.news-title {
  flex: 1;
  font-size: 16px;
  line-height: 1.6;
}
.detail-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: rgba(253, 119, 174, 0.14);
  color: var(--deep);
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  transition: transform var(--t-spring-fast) var(--spring-fast);
}
details[open] .detail-icon {
  transform: rotate(45deg);
}
details[data-expanding="false"] .detail-icon {
  transform: rotate(0deg);
}
.news-body {
  font-size: 15px;
  color: var(--muted);
  padding: 0 64px 22px 90px;
}
.result-box {
  margin-top: 22px;
  background: white;
  border-radius: 22px;
  box-shadow: var(--lift);
  overflow: hidden;
}
.result-box summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px;
}
.result-box summary > span:first-child {
  display: flex;
  flex-direction: column;
}
.result-box .eyebrow {
  margin-bottom: 2px;
  font-size: 11px;
}
.result-box strong {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.result-box > p {
  margin: 0 22px;
  padding: 18px 0 24px;
  border-top: 1px solid var(--hairline);
  font-size: 16px;
}

/* ---------- 最後 ---------- */
.closing {
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: clamp(90px, 12vw, 150px) 22px;
  background: radial-gradient(
    90% 80% at 50% 100%,
    var(--blush) 0%,
    var(--paper) 70%
  );
}
.closing .eyebrow {
  font-size: 12px;
}
.closing img {
  width: min(520px, 84%);
  height: auto;
  margin: 8px auto 0;
}
.closing .button {
  margin-top: 32px;
}
footer {
  padding: 28px max(22px, calc((100% - var(--max)) / 2));
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
}

/* ---------- 出てくる動き ---------- */
.will-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform var(--t-spring) var(--spring);
}
.will-reveal.visible {
  opacity: 1;
  transform: none;
}
.team-card.will-reveal {
  transition:
    opacity 0.6s ease,
    transform var(--t-spring) var(--spring),
    box-shadow var(--t-spring) var(--spring);
}
.team-card:nth-child(2) {
  transition-delay: 0.06s;
}
.team-card:nth-child(3) {
  transition-delay: 0.12s;
}
.team-card.visible {
  transition-delay: 0s;
}

/* マウスで触れるときだけ、浮かぶ反応 */
@media (hover: hover) and (pointer: fine) {
  .header nav a:hover {
    color: var(--deep);
  }
  .header nav a.nav-pill:hover {
    color: var(--pink) !important;
  }
  .primary:hover {
    background: #3d4b5c;
  }
  .secondary:hover,
  .calendar-link:hover {
    background: rgba(253, 119, 174, 0.26);
  }
  .link:hover span {
    transform: translateX(3px);
  }
  .team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--lift-high);
  }
  .team-card:hover .heart {
    transform: scale(1.04);
  }
  .team-card:hover .team-star {
    transform: rotate(102deg);
  }
  .news-item summary:hover,
  .result-box summary:hover {
    background: rgba(253, 119, 174, 0.06);
  }
}

@keyframes float {
  50% {
    translate: 0 -13px;
  }
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- 幅ごと ---------- */
@media (max-width: 900px) {
  .team-grid {
    gap: 16px;
  }
  .team-visual {
    height: 200px;
  }
  .team-body {
    padding: 18px 18px 22px;
  }
  .heart {
    width: 118px;
  }
  .heart span {
    font-size: 40px;
  }
}
@media (max-width: 650px) {
  html {
    scroll-padding-top: 64px;
  }
  body {
    font-size: 16px;
  }
  .header {
    height: 52px;
    padding: 0 16px;
  }
  .brand {
    font-size: 12px;
    gap: 8px;
  }
  .brand-star {
    font-size: 22px;
  }
  .menu-toggle {
    display: block;
    min-height: 36px;
    border: 0;
    border-radius: 100px;
    background: rgba(49, 61, 76, 0.08);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    flex-shrink: 0;
    transition: transform var(--t-spring-fast) var(--spring-fast);
  }
  .menu-toggle:active {
    transform: scale(0.95);
    transition: transform 100ms ease-out;
  }
  .menu-toggle[aria-expanded="true"] {
    background: var(--ink);
    color: white;
  }
  /* メニューはボタンの位置から開き、同じ位置へ戻る。開閉の途中でも押し直せる。 */
  .header nav {
    position: absolute;
    top: calc(100% + 6px);
    right: 12px;
    left: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px;
    border-radius: 22px;
    /* すりガラスのヘッダーの上に、もう一枚すりガラスを重ねない（読めなくなる） */
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--lift-high);
    transform-origin: calc(100% - 40px) -10px;
    opacity: 0;
    transform: scale(0.94);
    visibility: hidden;
    transition:
      opacity 0.2s ease,
      transform var(--t-spring-fast) var(--spring-fast),
      visibility 0s linear var(--t-spring-fast);
  }
  .header nav.open {
    opacity: 1;
    transform: none;
    visibility: visible;
    transition:
      opacity 0.2s ease,
      transform var(--t-spring-fast) var(--spring-fast),
      visibility 0s;
  }
  .header nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 16px;
    color: var(--ink);
  }
  .nav-pill {
    margin: 4px 0 0;
    justify-content: center;
  }
  .opening-scroll {
    height: 170svh;
  }
  .hero,
  .motion-hero {
    top: 52px;
    height: calc(100svh - 52px);
    min-height: 560px;
    padding: 36px 20px 56px;
  }
  .hero-note {
    top: 16px;
    left: 20px;
    font-size: 10px;
  }
  .hero-note span {
    font-size: 16px;
  }
  .logo-stage {
    margin: 0 -8px 22px;
  }
  .hero-copy {
    font-size: 26px;
  }
  .hero-detail {
    font-size: 14px;
  }
  .hero-actions {
    flex-direction: column;
    gap: 6px;
    margin-top: 24px;
  }
  .hero-actions .primary {
    min-width: 240px;
  }
  .hero-bottom {
    justify-content: center;
    bottom: 14px;
  }
  .hero-bottom > span {
    display: none;
  }
  .ticker {
    font-size: 17px;
    padding: 11px 0;
  }
  .ticker-ink {
    font-size: 12px;
    padding: 7px 0;
  }
  .band {
    height: 28px;
  }
  .section {
    padding: 80px 20px;
  }
  .about,
  .schedule,
  .judging {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .about-copy br {
    display: none;
  }
  .section-top {
    display: block;
    margin-bottom: 28px;
  }
  .section-top .small-note {
    display: block;
    margin-top: 10px;
  }
  .team-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .team-card {
    display: grid;
    grid-template-columns: 38% 1fr;
    border-radius: 24px;
  }
  .team-visual {
    height: auto;
    min-height: 170px;
  }
  .heart {
    width: 88px;
  }
  .heart span {
    font-size: 30px;
    -webkit-text-stroke-width: 3px;
  }
  .team-star {
    font-size: 26px;
    right: 12px;
    bottom: 12px;
  }
  .team-status {
    left: 10px;
    top: 10px;
    font-size: 10px;
    padding: 3px 8px;
  }
  .team-body {
    padding: 18px 16px;
    align-self: center;
  }
  .team-body h3 {
    font-size: 19px;
  }
  .team-description {
    font-size: 14px;
  }
  .section-footnote {
    text-align: left;
    font-size: 13px;
  }
  .ticket {
    border-radius: 24px;
  }
  .ticket h3 {
    font-size: 21px;
    padding: 22px 20px 8px;
  }
  .ticket-top {
    padding: 12px 20px;
    gap: 10px;
    font-size: 10px;
  }
  .event-data {
    margin: 0 10px 14px;
    padding: 0 12px;
  }
  .event-data > div {
    grid-template-columns: 52px 1fr;
    gap: 10px;
  }
  .calendar-note {
    margin: -2px 22px 16px;
  }
  .ticket-bottom {
    padding: 13px 20px;
    font-size: 10px;
  }
  .news-item summary {
    gap: 12px;
    padding: 14px 16px;
  }
  .news-label {
    min-width: 46px;
    padding: 5px 8px;
    font-size: 10px;
  }
  .news-title {
    font-size: 15px;
  }
  .news-body {
    padding: 0 16px 20px;
    font-size: 14px;
  }
  .result-box summary {
    padding: 18px 16px;
  }
  .result-box > p {
    margin: 0 16px;
  }
  footer {
    flex-direction: column;
    padding: 24px 20px;
    gap: 6px;
  }
}
@media (max-height: 700px) and (min-width: 651px) {
  .motion-hero {
    min-height: 520px;
  }
  .logo-stage {
    max-width: 560px;
    margin-bottom: 16px;
  }
  .hero-copy {
    font-size: 26px;
  }
  .hero-detail {
    display: none;
  }
  .hero-actions {
    margin-top: 18px;
  }
}

/* ---------- 端末の設定に合わせる ---------- */
/* 動きを減らす：滑る・ばねの動きはやめ、色と透明度の短い切り替えだけ残す */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.2s !important;
    transition-delay: 0s !important;
    transition-property: opacity, color, background-color, visibility !important;
  }
  .opening-scroll {
    height: auto;
  }
  .motion-hero {
    position: relative;
    height: auto;
  }
  .hero-inner,
  .hero-glow,
  .ticket,
  .ticker-track,
  .band-run,
  .header nav {
    transform: none !important;
  }
  .word-reveal {
    background: none;
    color: var(--ink);
  }
  .opening-progress {
    display: none;
  }
  .will-reveal {
    opacity: 1;
    transform: none;
  }
}
/* 透明を減らす：すりガラスをやめて不透明に */
@media (prefers-reduced-transparency: reduce) {
  .header,
  .header nav {
    background: var(--paper) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
}
/* コントラストを上げる：面にはっきりしたふち */
@media (prefers-contrast: more) {
  .header {
    background: var(--paper) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    border-bottom: 2px solid var(--ink);
  }
  .team-card,
  .ticket,
  .news-list,
  .result-box,
  .header nav {
    border: 2px solid var(--ink);
  }
  .header nav a,
  .hero-detail,
  .about-copy,
  .small-note,
  .team-description {
    color: var(--ink);
  }
}

/* Logo-only opening, then reveal the complete site. */
.intro-pending {
  overflow: hidden;
}
.intro-pending #site-content {
  visibility: hidden;
  pointer-events: none;
}
.intro-docking #site-content {
  visibility: visible;
}
.intro-docking .motion-hero .logo {
  visibility: hidden;
}
.intro-docking .intro-screen {
  background: transparent;
}
.intro-docking .intro-old {
  visibility: hidden;
}
.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  background:
    var(--dot-bg) 0 0 / 26px 26px,
    radial-gradient(70% 80% at 50% 50%, #fff 0%, var(--blush) 100%);
  display: grid;
  place-items: center;
  height: 100dvh;
  overflow: hidden;
}
.intro-screen[hidden] {
  display: none;
}
.intro-images {
  position: relative;
  width: min(88vw, 1000px);
  aspect-ratio: 1899 / 794;
}
.intro-images img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.intro-fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}
.intro-old {
  opacity: 1;
}
.intro-new {
  opacity: 0;
}
/* グリッチ（script.js が canvas に描く）。旧ロゴが色ずれと帯のずれで乱れ、
   乱れの中で新ロゴと入れ替わり、乱れが収まって新ロゴが残る。
   画像はグリッチの間だけ隠す。canvas の時間（script.js の INTRO_GLITCH）と合わせること。 */
.running.use-glitch .intro-old {
  animation: intro-old-glitch 4.2s both;
}
.running.use-glitch .intro-new {
  animation: intro-new-glitch 4.2s both;
}
@keyframes intro-old-glitch {
  0%,
  27% {
    opacity: 1;
  }
  27.1%,
  100% {
    opacity: 0;
  }
}
@keyframes intro-new-glitch {
  0%,
  70.9% {
    opacity: 0;
  }
  71%,
  100% {
    opacity: 1;
  }
}
/* canvas が使えないときの予備：ぼかして入れ替える。 */
.running .intro-old {
  animation: intro-out 4.2s both;
}
.running .intro-new {
  animation: intro-in 4.2s both;
}
@keyframes intro-out {
  0%,
  26% {
    opacity: 1;
    filter: blur(0);
  }
  44% {
    opacity: 1;
    filter: blur(20px);
  }
  54%,
  100% {
    opacity: 0;
    filter: blur(20px);
  }
}
@keyframes intro-in {
  0%,
  40% {
    opacity: 0;
    filter: blur(20px);
  }
  50% {
    opacity: 1;
    filter: blur(20px);
  }
  72%,
  100% {
    opacity: 1;
    filter: blur(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .intro-screen {
    display: none;
  }
  .intro-pending #site-content {
    visibility: visible;
    pointer-events: auto;
  }
  .intro-pending {
    overflow: auto;
  }
}
