:root {
  color-scheme: light;
  --pink: #ff2f92;
  --hot-pink: #ff0f7b;
  --blue: #27b8ff;
  --deep-blue: #10122a;
  --gold: #ffd84d;
  --red: #ff2f92;
  --ink: #171323;
  --muted: #72687a;
  --paper: #ffffff;
  --soft: #fff3fa;
  --line: #f3d8e7;
  --shadow: 0 18px 50px rgba(255, 47, 146, 0.16);
  font-family: "Hiragino Sans", "Yu Gothic", "Yu Gothic UI", Meiryo, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(255, 47, 146, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(255, 216, 77, 0.07) 1px, transparent 1px),
    var(--paper);
  background-size: 44px 44px;
  line-height: 1.75;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 14px;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 3px solid rgba(255, 47, 146, 0.22);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  line-height: 1.15;
}

.brand img {
  width: 46px;
  height: 46px;
  border: 2px solid #fff;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(255, 47, 146, 0.16);
}

.brand-text {
  display: grid;
}

.brand-mark {
  color: var(--pink);
  font-size: 1.18rem;
  font-weight: 900;
}

.brand-sub {
  color: var(--deep-blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.5vw, 22px);
  font-size: 0.78rem;
  font-weight: 800;
}

.site-nav a {
  text-decoration: none;
}

.nav-ticket {
  padding: 9px 14px;
  border: 2px solid #171323;
  border-radius: 999px;
  color: #171323;
  background: var(--gold);
  box-shadow: 5px 5px 0 #171323;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--deep-blue);
}

.section,
.countdown-band,
.ticket-strip,
.final-cta {
  padding: clamp(56px, 9vw, 104px) clamp(18px, 5vw, 72px);
}

.section {
  max-width: 1180px;
  margin: 0 auto;
}

.section-dark {
  color: #fff;
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 216, 77, 0.34), transparent 26%),
    radial-gradient(circle at 76% 22%, rgba(39, 184, 255, 0.3), transparent 26%),
    linear-gradient(135deg, #171323 0%, #ff2f92 54%, #ff8cc8 100%);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--pink);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.section-dark .eyebrow,
.hero .eyebrow,
.final-cta .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.3rem, 7vw, 5.8rem);
  font-weight: 950;
  letter-spacing: 0;
  text-shadow: 5px 5px 0 rgba(23, 19, 35, 0.24);
}

h2 {
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  font-weight: 920;
}

h3 {
  font-size: clamp(1.22rem, 3vw, 1.7rem);
}

.lead {
  max-width: 620px;
  font-size: clamp(1.08rem, 2.5vw, 1.45rem);
  font-weight: 800;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  align-items: center;
  min-height: calc(100svh - 72px);
  padding: clamp(38px, 6vw, 70px) clamp(18px, 5vw, 72px);
  overflow: hidden;
}

.hero-media {
  position: relative;
  min-height: 520px;
}

.stage-lights {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(102deg, transparent 10%, rgba(255, 255, 255, 0.22) 16%, transparent 26%),
    linear-gradient(75deg, transparent 28%, rgba(255, 227, 154, 0.3) 37%, transparent 50%),
    linear-gradient(145deg, transparent 48%, rgba(255, 255, 255, 0.18) 58%, transparent 70%);
  transform: skewX(-6deg);
}

.hero-photo,
.hero-photo-placeholder,
.image-panel,
.portrait-placeholder {
  position: relative;
  display: block;
  width: 100%;
  min-height: 420px;
  border: 5px solid #fff;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.04)),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 0 10px, transparent 10px 20px);
  box-shadow: 10px 10px 0 rgba(23, 19, 35, 0.28), var(--shadow);
  text-align: center;
}

.hero-photo {
  aspect-ratio: 1 / 1;
  min-height: auto;
  object-fit: cover;
}

.hero-logo {
  width: min(150px, 40vw);
  margin-bottom: 20px;
  border: 4px solid #fff;
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.hero-photo-placeholder {
  display: grid;
  place-items: center;
}

.hero-photo-placeholder strong,
.image-panel strong {
  display: block;
  font-size: clamp(2rem, 6vw, 4.8rem);
  font-weight: 950;
}

.hero-photo-placeholder small,
.hero-photo-placeholder span,
.image-panel span,
.portrait-placeholder span {
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 2px solid #171323;
  border-radius: 6px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  color: #171323;
  background: linear-gradient(135deg, var(--gold), #fff07c);
  box-shadow: 5px 5px 0 #171323;
}

.button-ghost {
  border-color: #fff;
  color: #fff;
  background: rgba(23, 19, 35, 0.24);
}

.button-small {
  min-height: 42px;
  padding: 10px 14px;
  color: #171323;
  background: #ffe2f1;
}

.button-disabled {
  color: #6f7787;
  background: #eef1f5;
  cursor: not-allowed;
}

.countdown-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255, 216, 77, 0.14) 1px, transparent 1px),
    linear-gradient(#171323, #24182d);
  background-size: 26px 26px, auto;
}

.countdown {
  display: grid;
  grid-template-columns: minmax(150px, 1.2fr) repeat(3, minmax(78px, 0.8fr));
  gap: 12px;
  min-width: min(620px, 100%);
}

.countdown > span {
  display: grid;
  place-items: center;
  min-height: 104px;
  padding: 12px;
  border: 2px solid #fff;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--pink), #ff83c2);
  box-shadow: 7px 7px 0 var(--gold);
  transform: rotate(-1deg);
}

.countdown strong {
  display: block;
  color: #fff;
  font-size: clamp(2rem, 5vw, 4.4rem);
  font-weight: 950;
  line-height: 1;
  text-shadow: 3px 3px 0 #171323;
}

.countdown small,
.countdown em {
  display: block;
  color: #fff;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0.06em;
}

.countdown em {
  color: var(--gold);
  font-size: 0.82rem;
}

.ticket-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  padding-bottom: 28px;
  color: #fff;
  background: linear-gradient(90deg, #171323, var(--pink));
}

.ticket-strip p {
  margin: 0 0 4px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 30px;
}

.story-copy {
  display: grid;
  gap: 10px;
  max-width: 820px;
  font-size: 1.04rem;
}

.story-copy p {
  margin: 0;
}

.event-grid,
.profile-section,
.music-section,
.producer-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}

.info-list,
.game-panel,
.track-list article,
.program-card,
.sponsor-card,
.member-card {
  border: 2px solid #171323;
  border-radius: 8px;
  background: #fff;
  box-shadow: 7px 7px 0 rgba(23, 19, 35, 0.16);
}

.info-list dl {
  margin: 0;
}

.info-list div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.info-list div:last-child {
  border-bottom: 0;
}

dt {
  color: var(--muted);
  font-weight: 900;
}

dd {
  margin: 0;
  font-weight: 800;
}

.timeline {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-left: 8px solid var(--pink);
  border-radius: 8px;
  background: #fff3fa;
}

.timeline time {
  min-width: 78px;
  color: var(--pink);
  font-size: 1.5rem;
  font-weight: 950;
}

.timeline span {
  font-weight: 900;
}

.profile-section {
  grid-template-columns: 0.9fr 1.1fr;
}

.image-panel,
.portrait-placeholder {
  min-height: 360px;
  color: var(--deep-blue);
  border-color: var(--line);
  background:
    radial-gradient(circle at 35% 28%, rgba(21, 137, 209, 0.22), transparent 34%),
    linear-gradient(135deg, #ffffff, #e8f5ff);
}

.producer-photo {
  aspect-ratio: 1 / 1;
  min-height: auto;
  object-fit: cover;
}

.portrait-placeholder {
  display: grid;
  place-items: center;
}

.image-panel-photo {
  height: 100%;
  object-fit: cover;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr;
  gap: 16px;
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #e8f5ff;
  border: 3px solid #171323;
  box-shadow: 7px 7px 0 rgba(255, 47, 146, 0.22);
}

.gallery-grid img,
.release-grid img,
.track-list img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-large {
  grid-row: span 3;
}

.release-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.release-grid img {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.member-card {
  overflow: hidden;
}

.member-photo {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  color: #fff;
  background: var(--member-color);
  overflow: hidden;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-photo span {
  padding: 8px 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.22);
  font-weight: 900;
}

.member-body {
  padding: 16px;
}

.member-body h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 1.35rem;
}

.color-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.color-dot {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 999px;
  background: var(--member-color);
}

.member-body p {
  min-height: 86px;
  margin: 10px 0 16px;
  color: #3d485b;
  font-weight: 700;
}

.member-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.member-actions .button {
  min-height: 40px;
  padding: 8px 10px;
}

.games-section {
  max-width: none;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 216, 77, 0.2), transparent 24%),
    radial-gradient(circle at 82% 20%, rgba(39, 184, 255, 0.16), transparent 28%),
    #fff3fa;
}

.games-section > .section-heading,
.game-layout {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.game-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.game-panel {
  padding: 22px;
}

.game-start-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 2px dashed var(--pink);
  border-radius: 8px;
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 216, 77, 0.24), transparent 28%),
    #fff;
}

.game-start-card p {
  margin: 0;
  font-weight: 800;
}

.game-start-button {
  position: relative;
  min-height: 68px;
  padding: 14px 22px;
  overflow: hidden;
  border-color: #171323;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff2f92, #ff83c2 52%, #ffd84d);
  color: #fff;
  text-shadow: 2px 2px 0 #171323;
}

.game-start-button::before,
.game-start-button::after {
  content: "☆";
  position: absolute;
  top: 50%;
  color: #fff8a8;
  font-size: 1.4rem;
  transform: translateY(-50%);
}

.game-start-button::before {
  left: 18px;
}

.game-start-button::after {
  right: 18px;
}

.game-start-button span {
  display: block;
  margin-right: 10px;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.panel-heading {
  margin-bottom: 16px;
}

.quiz-progress {
  color: var(--muted);
  font-weight: 900;
}

.answer-grid {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.answer-grid button,
.plain-option {
  width: 100%;
  min-height: 48px;
  padding: 12px;
  border: 2px solid #171323;
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  box-shadow: 3px 3px 0 rgba(255, 47, 146, 0.18);
}

.answer-grid button:hover,
.plain-option:hover {
  background: #fff1a8;
}

.result-box {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 2px solid #171323;
  border-radius: 8px;
  background: #fff8d8;
  box-shadow: 6px 6px 0 rgba(23, 19, 35, 0.14);
}

.catch-stage {
  position: relative;
  height: 360px;
  overflow: hidden;
  border: 3px solid #171323;
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 216, 77, 0.28), transparent 28%),
    radial-gradient(circle at 80% 18%, rgba(39, 184, 255, 0.22), transparent 28%),
    linear-gradient(#fff3fa, #ffffff);
  touch-action: manipulation;
}

.catch-stage-idle {
  display: grid;
  place-items: center;
}

.catch-ready {
  color: var(--pink);
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  font-weight: 950;
  line-height: 1.25;
  text-align: center;
  text-shadow: 2px 2px 0 #fff, 4px 4px 0 var(--gold);
}

.catch-ready small {
  color: #171323;
  font-size: 0.9rem;
  text-shadow: none;
}

.catch-hud {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-weight: 900;
}

.fall-item {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 3px solid #171323;
  border-radius: 999px;
  color: #162034;
  background: var(--item-color);
  box-shadow: 4px 4px 0 rgba(23, 19, 35, 0.26);
  font-weight: 950;
  cursor: pointer;
  user-select: none;
}

.fall-item[data-shape="pearl"] {
  border-color: #b9aa8d;
  background: linear-gradient(135deg, #fff, #ece4d3, #fff);
}

.fall-item[data-shape="star"] {
  border-color: #8a89a6;
  clip-path: polygon(50% 0%, 61% 34%, 98% 35%, 68% 56%, 79% 91%, 50% 70%, 21% 91%, 32% 56%, 2% 35%, 39% 34%);
}

.score-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.score-list span {
  padding: 8px;
  border: 1px solid #171323;
  border-radius: 6px;
  background: #fff;
  font-weight: 800;
}

.music-section {
  grid-template-columns: 0.95fr 1.05fr;
}

.track-list {
  display: grid;
  gap: 14px;
}

.track-list article,
.program-card,
.sponsor-card {
  padding: 18px;
}

.track-list article {
  overflow: hidden;
  padding: 0;
  background: #fff;
}

.track-list article img {
  aspect-ratio: 16 / 10;
}

.track-list article span,
.track-list article strong,
.track-list article p {
  margin-right: 18px;
  margin-left: 18px;
}

.track-list article span {
  display: inline-block;
  margin-top: 18px;
}

.track-list article p {
  margin-bottom: 18px;
}

.track-list span,
.program-card span,
.sponsor-card span {
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
}

.program-grid,
.sponsor-grid,
.social-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.program-card p,
.sponsor-card p {
  color: #3d485b;
}

.social-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 2px solid #171323;
  border-radius: 8px;
  background: #fff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 4px 4px 0 rgba(255, 47, 146, 0.18);
}

.final-cta {
  text-align: center;
  background:
    linear-gradient(rgba(23, 19, 35, 0.76), rgba(255, 47, 146, 0.72)),
    url("./assets/group-pink.jpg") center / cover;
}

.final-cta p {
  font-size: 1.1rem;
  font-weight: 800;
}

.site-footer {
  display: grid;
  gap: 14px;
  padding: 36px clamp(18px, 5vw, 72px) 92px;
  color: #fff;
  background: #071a35;
  text-align: center;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.mobile-ticket {
  position: fixed;
  z-index: 25;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: none;
  padding: 14px;
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), #ff7a3b);
  box-shadow: 0 12px 28px rgba(23, 32, 51, 0.28);
  font-weight: 950;
  text-align: center;
  text-decoration: none;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 26, 53, 0.62);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: min(720px, 88svh);
  overflow: auto;
  padding: 24px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.modal-member {
  display: grid;
  gap: 14px;
}

.trait-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.trait-list li {
  padding: 6px 10px;
  border-radius: 999px;
  background: #e8f5ff;
  color: var(--deep-blue);
  font-size: 0.85rem;
  font-weight: 800;
}

@media (max-width: 1023px) {
  .site-nav {
    position: fixed;
    top: 72px;
    right: 0;
    left: 0;
    display: none;
    padding: 18px;
    border-bottom: 1px solid var(--line);
    background: #fff;
  }

  .site-nav.is-open {
    display: grid;
  }

  .menu-toggle {
    display: block;
  }

  .hero,
  .event-grid,
  .profile-section,
  .music-section,
  .producer-section,
  .game-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 360px;
    order: 2;
  }

  .hero-content {
    order: 1;
  }

  .member-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .program-grid,
  .sponsor-grid,
  .social-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .section,
  .countdown-band,
  .ticket-strip,
  .final-cta {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero {
    padding: 34px 18px;
  }

  .countdown-band,
  .ticket-strip {
    display: grid;
  }

  .countdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .member-grid,
  .program-grid,
  .sponsor-grid,
  .social-list,
  .gallery-grid,
  .release-grid,
  .score-list {
    grid-template-columns: 1fr;
  }

  .gallery-large {
    grid-row: auto;
  }

  .member-body p {
    min-height: auto;
  }

  .catch-stage {
    height: 320px;
  }

  .mobile-ticket {
    display: block;
  }
}

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