:root {
  color-scheme: dark;
  --bg: #08080a;
  --panel: #121216;
  --panel-strong: #19191d;
  --text: #f5f2ed;
  --muted: #b6b0a9;
  --red: #e3262f;
  --red-dark: #8b1118;
  --green: #48d38a;
  --line: rgba(245, 242, 237, 0.16);
  --max: 960px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 10, 0.86), var(--bg) 42%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 72px),
    #08080a;
  color: var(--text);
  font-family:
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", Meiryo, sans-serif;
  line-height: 1.85;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 52px, 52px 100%;
  mask-image: linear-gradient(180deg, black, transparent 84%);
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 12px clamp(16px, 4vw, 32px);
  background: rgba(8, 8, 10, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  background: rgba(8, 8, 10, 0.92);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.36);
}

.header-logo {
  color: var(--text);
  font-size: clamp(0.78rem, 3.5vw, 0.92rem);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 4vw, 28px);
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

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

.header-nav a:hover {
  color: var(--text);
}

.hero {
  position: relative;
  display: grid;
  min-height: 92svh;
  padding: 110px 20px 72px;
  overflow: hidden;
  place-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 8, 10, 0.46), rgba(8, 8, 10, 0.94) 74%, var(--bg)),
    radial-gradient(ellipse at 50% 0%, rgba(227, 38, 47, 0.32), transparent 48%),
    linear-gradient(135deg, transparent 0 43%, rgba(227, 38, 47, 0.2) 43.3% 44.4%, transparent 44.7%),
    linear-gradient(225deg, transparent 0 36%, rgba(72, 211, 138, 0.14) 36.2% 37.1%, transparent 37.4%),
    url("images/stage.png") center top / cover no-repeat;
}

.hero-inner,
.section,
.site-footer {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.hero-inner {
  text-align: center;
}

.event-label,
.section-kicker {
  margin: 0 0 18px;
  color: var(--green);
  font-family: Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
}

.logo-stage {
  position: relative;
  display: grid;
  width: min(100%, 760px);
  min-height: 180px;
  margin: 0 auto 26px;
  padding: 18px 14px;
  place-items: center;
}

.logo-stage::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(245, 242, 237, 0.16);
}

.main-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 660px);
  max-height: 260px;
  object-fit: contain;
  filter: drop-shadow(0 0 26px rgba(227, 38, 47, 0.4));
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

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

h1 {
  font-size: clamp(2.25rem, 8vw, 4.8rem);
  font-weight: 900;
  white-space: nowrap;
  text-shadow:
    2px 0 0 rgba(227, 38, 47, 0.86),
    -2px 0 0 rgba(72, 211, 138, 0.42);
}

h2 {
  font-size: clamp(1.8rem, 7vw, 3.6rem);
  font-weight: 900;
}

h3 {
  margin: 0 0 14px;
  font-size: 1.25rem;
  line-height: 1.45;
}

.hero-copy {
  max-width: 760px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 3.8vw, 1.18rem);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(100%, 780px);
  margin: 34px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.hero-meta span {
  min-width: 0;
  padding: 12px 10px;
  background: rgba(18, 18, 22, 0.86);
  color: var(--text);
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
}

.cta-row,
.link-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid rgba(245, 242, 237, 0.22);
  border-radius: 6px;
  color: var(--text);
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button:hover {
  border-color: rgba(255, 255, 255, 0.64);
  transform: translateY(-2px);
}

.button.primary,
.button.strong {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border-color: rgba(255, 255, 255, 0.5);
}

.button.ghost {
  background: rgba(245, 242, 237, 0.07);
}

.section {
  padding: clamp(68px, 12vw, 118px) 20px;
  border-top: 1px solid var(--line);
}

.section > p {
  max-width: 790px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.intro {
  border-top: 0;
}

.feature-grid,
.role-grid,
.schedule-grid {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

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

.role-grid,
.schedule-grid {
  grid-template-columns: repeat(3, 1fr);
}

.text-panel,
.role-card,
.schedule-card {
  position: relative;
  padding: 22px;
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
  border: 1px solid var(--line);
  border-radius: 8px;
}

.text-panel p,
.role-card p {
  margin: 0;
  color: var(--muted);
}

.role-card {
  min-height: 190px;
}

.role-card::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  content: "";
  background: var(--red);
}

.role-card.villager::before {
  background: var(--green);
}

.role-card.caution::before {
  background: #f5f2ed;
}

.role-name {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 900;
}

.point-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.point-list li {
  position: relative;
  padding: 16px 18px 16px 46px;
  background: rgba(245, 242, 237, 0.055);
  border-left: 3px solid var(--green);
}

.point-list li::before {
  position: absolute;
  top: 16px;
  left: 18px;
  color: var(--red);
  font-family: Arial, sans-serif;
  font-weight: 900;
  content: "×";
}

.schedule-grid {
  grid-template-columns: repeat(4, 1fr);
}

.schedule-card {
  display: grid;
  gap: 4px;
  min-height: 150px;
  align-content: center;
  text-align: center;
}

.schedule-card .date {
  color: var(--text);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(2.4rem, 8vw, 4.2rem);
  line-height: 1;
}

.schedule-card .day {
  color: var(--green);
  font-weight: 900;
}

.schedule-card strong {
  font-size: 0.95rem;
}

.venue {
  background:
    linear-gradient(90deg, rgba(227, 38, 47, 0.12), transparent 56%),
    transparent;
}

.venue-visual {
  margin: 30px 0 0;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.3);
}

.venue-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.coming-soon {
  margin-top: 30px;
  padding: clamp(28px, 8vw, 56px) 20px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(227, 38, 47, 0.18), transparent 42%),
    rgba(245, 242, 237, 0.055);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.coming-soon p {
  margin: 0;
  color: var(--text);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(2.4rem, 12vw, 5.6rem);
  line-height: 1;
  text-transform: uppercase;
  text-shadow:
    2px 0 0 rgba(227, 38, 47, 0.78),
    -2px 0 0 rgba(72, 211, 138, 0.42);
}

.notice-list,
.credit-list {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.notice-list p {
  margin: 0;
  padding: 14px 16px;
  color: var(--muted);
  background: rgba(245, 242, 237, 0.055);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.credit-list {
  margin-bottom: 0;
}

.credit-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.credit-list dt {
  color: var(--muted);
  font-weight: 800;
}

.credit-list dd {
  margin: 0;
  color: var(--text);
  font-weight: 900;
}

.credit-list a {
  color: var(--text);
  text-decoration-color: rgba(72, 211, 138, 0.68);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.credit-list a:hover {
  color: var(--green);
}

.credit-separator {
  display: inline-block;
  margin: 0 10px;
  color: var(--muted);
}

.links {
  padding-bottom: clamp(84px, 14vw, 130px);
}

.link-grid {
  justify-content: flex-start;
}

.link-button {
  flex: 1 1 220px;
  background: rgba(245, 242, 237, 0.07);
}

.site-footer {
  padding: 32px 20px 46px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 760px) {
  .site-header {
    min-height: 58px;
  }

  .header-nav {
    gap: 12px;
  }

  .hero {
    min-height: auto;
    padding-top: 92px;
  }

  h1 {
    font-size: clamp(1.55rem, 7.4vw, 3rem);
  }

  .logo-stage {
    min-height: 145px;
    padding: 12px 8px;
  }

  .hero-meta,
  .feature-grid,
  .role-grid,
  .schedule-grid {
    grid-template-columns: 1fr;
  }

  .hero-meta span {
    padding: 11px 12px;
  }

  .button {
    width: 100%;
  }

  .role-card {
    min-height: 0;
  }

  .schedule-card {
    min-height: 112px;
  }

  .credit-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
