:root {
  --cream: #fff7df;
  --paper: #fffdf3;
  --ink: #5e5146;
  --brown: #7e6d5a;
  --red: #ff4d4f;
  --teal: #00aeb3;
  --yellow: #ffc427;
  --green: #08b66b;
  --shadow: rgba(126, 109, 90, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 196, 39, 0.5), transparent 18%),
    radial-gradient(circle at 92% 18%, rgba(255, 77, 79, 0.4), transparent 20%),
    radial-gradient(circle at 88% 82%, rgba(0, 174, 179, 0.32), transparent 22%),
    linear-gradient(180deg, #fff8df 0%, #ffecc2 42%, #fff7df 100%);
  color: var(--ink);
  font-family: "Noto Sans JP", sans-serif;
  margin: 0;
  overflow-x: hidden;
}

body::before {
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.8) 0 2px, transparent 2.5px),
    linear-gradient(45deg, transparent 0 46%, rgba(0, 174, 179, 0.16) 47% 53%, transparent 54%),
    linear-gradient(-45deg, transparent 0 46%, rgba(255, 77, 79, 0.12) 47% 53%, transparent 54%);
  background-size: 34px 34px, 120px 120px, 150px 150px;
  content: "";
  inset: 0;
  opacity: 0.38;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  align-items: center;
  background: rgba(255, 253, 243, 0.88);
  border-bottom: 4px solid rgba(0, 174, 179, 0.24);
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 14px clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand {
  color: var(--red);
  font-weight: 900;
}

.top-nav {
  display: flex;
  gap: 18px;
}

.top-nav a {
  color: var(--brown);
  font-size: 13px;
  font-weight: 700;
}

.side-tabs {
  display: grid;
  gap: 10px;
  left: 18px;
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9;
}

.side-tabs a {
  background: rgba(255, 253, 243, 0.88);
  border: 2px solid rgba(0, 174, 179, 0.24);
  border-radius: 999px;
  box-shadow: 0 5px 0 rgba(126, 109, 90, 0.16);
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  padding: 7px 13px;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(20px, 4vw, 54px);
  grid-template-columns: minmax(320px, 0.82fr) minmax(360px, 1fr);
  min-height: 100vh;
  overflow: hidden;
  padding: 104px clamp(22px, 6vw, 92px) 54px clamp(36px, 8vw, 120px);
  position: relative;
}

.pop-pattern {
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.pop-pattern::before,
.pop-pattern::after {
  content: "";
  position: absolute;
}

.pop-pattern::before {
  background:
    radial-gradient(circle at 50% 50%, transparent 0 34%, var(--teal) 35% 42%, transparent 43%),
    radial-gradient(circle at 22% 26%, var(--yellow) 0 10%, transparent 11%),
    radial-gradient(circle at 74% 66%, var(--red) 0 9%, transparent 10%);
  height: 220px;
  left: -70px;
  top: 104px;
  transform: rotate(-16deg);
  width: 220px;
}

.pop-pattern::after {
  background:
    linear-gradient(90deg, transparent 0 38%, var(--red) 39% 61%, transparent 62%),
    linear-gradient(0deg, transparent 0 38%, var(--red) 39% 61%, transparent 62%);
  border-radius: 34px;
  bottom: 76px;
  height: 160px;
  opacity: 0.86;
  right: -38px;
  transform: rotate(12deg);
  width: 160px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.series {
  color: var(--teal);
  font-size: clamp(13px, 1.4vw, 18px);
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
}

.hero-logo {
  line-height: 0;
  margin: 0;
}

.hero-logo img {
  display: block;
  filter: drop-shadow(0 10px 0 rgba(126, 109, 90, 0.18));
  max-width: min(42vw, 540px);
  width: 100%;
}

.date {
  background: var(--paper);
  border: 3px solid var(--teal);
  border-radius: 999px;
  box-shadow: 0 7px 0 rgba(126, 109, 90, 0.22);
  color: var(--brown);
  display: inline-flex;
  font-weight: 900;
  margin: 22px 0 0;
  padding: 10px 18px;
}

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

.button,
.ticket-sales-button {
  align-items: center;
  border-radius: 999px;
  box-shadow: 0 6px 0 rgba(126, 109, 90, 0.22);
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
}

.button.primary {
  background: var(--red);
  color: #fff;
}

.button.secondary {
  background: var(--yellow);
  color: var(--ink);
}

.hero-visual {
  margin: 0;
  position: relative;
  z-index: 1;
}

.hero-visual img {
  border: 8px solid #fff;
  border-radius: 26px;
  box-shadow:
    0 18px 0 rgba(126, 109, 90, 0.2),
    0 28px 52px rgba(126, 109, 90, 0.26);
  display: block;
  transform: rotate(1.4deg);
  width: min(48vw, 650px);
}

.section {
  display: grid;
  gap: clamp(20px, 4vw, 54px);
  grid-template-columns: minmax(90px, 150px) minmax(0, 1fr);
  max-width: 100%;
  padding: clamp(64px, 9vw, 112px) clamp(22px, 7vw, 108px);
}

.section-label {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  padding-top: 10px;
}

.section-body {
  max-width: 1160px;
  width: 100%;
}

.ticket .section-body {
  max-width: 1220px;
}

h2,
h3 {
  color: var(--red);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  margin: 0 0 24px;
  text-shadow: 3px 3px 0 #fff;
}

.schedule-list {
  display: grid;
  gap: 12px;
}

.schedule-list div {
  align-items: center;
  background: var(--paper);
  border: 4px solid #fff;
  border-radius: 18px;
  box-shadow: 0 8px 0 rgba(126, 109, 90, 0.2);
  display: grid;
  gap: 14px;
  grid-template-columns: 112px 76px minmax(120px, auto) 1fr;
  padding: 16px 18px;
}

.schedule-list time,
.schedule-list span {
  color: var(--brown);
  font-weight: 900;
}

.festival {
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  padding: 7px 14px;
}

.festival.silent { background: var(--teal); }
.festival.burst { background: var(--yellow); color: var(--ink); }
.festival.ruin { background: var(--red); }

.schedule-list small {
  color: var(--brown);
  font-weight: 700;
}

.schedule-cast {
  display: block;
  margin-top: 12px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.schedule-cast > span {
  display: block;
  font-weight: 700;
}

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

.cast-grid p,
.ticket-card {
  background: var(--paper);
  border: 4px solid #fff;
  box-shadow: 0 8px 0 rgba(126, 109, 90, 0.2);
}

.cast-grid p {
  border-radius: 20px;
  color: var(--red);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 900;
  margin: 0;
  padding: 28px 22px;
  text-align: center;
}

.cast-grid p:nth-child(2) {
  color: #ff8a1c;
}

.cast-grid p:nth-child(3) {
  color: #fff;
  text-shadow:
    2px 2px 0 var(--teal),
    -2px 2px 0 var(--teal),
    2px -2px 0 var(--teal),
    -2px -2px 0 var(--teal),
    0 4px 0 rgba(126, 109, 90, 0.24);
}

.guest-heading {
  margin: 36px 0 16px;
  font-size: 24px;
}

.guest-grid p,
.guest-grid p:nth-child(2),
.guest-grid p:nth-child(3) {
  color: var(--teal);
  text-shadow: none;
}

.guest-appearances {
  display: block;
  color: var(--brown);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
  margin-top: 12px;
  overflow-wrap: anywhere;
}

.ticket-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(260px, 0.85fr) minmax(360px, 1.15fr);
}

.ticket-card {
  border-radius: 22px;
  padding: clamp(20px, 3vw, 32px);
}

.ticket-card h3 {
  font-size: 24px;
  margin: 0 0 8px;
}

.caption {
  color: var(--brown);
  font-size: 13px;
  font-weight: 700;
}

.price-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
}

.price-list > div[data-tier] {
  align-items: baseline;
  border-bottom: 3px dotted rgba(126, 109, 90, 0.24);
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  margin: 0 -8px;
  padding: 8px 8px 12px;
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.price-list > div[data-tier]:focus-visible {
  outline: 4px solid color-mix(in srgb, var(--seat-color) 40%, #fff);
  outline-offset: 3px;
}

.price-list > div[data-tier].is-highlighted {
  background: color-mix(in srgb, var(--seat-color) 24%, #fff);
  box-shadow: inset 6px 0 0 var(--seat-color);
  transform: translateX(4px);
}

.price-list > div[data-tier].is-active {
  background: color-mix(in srgb, var(--seat-color) 28%, #fff);
  box-shadow:
    inset 6px 0 0 var(--seat-color),
    0 0 0 5px color-mix(in srgb, var(--seat-color) 18%, transparent);
  transform: translateX(4px);
}

.ticket-filter-window {
  background: var(--paper);
  border: 4px solid #fff;
  border-radius: 24px;
  box-shadow: 0 8px 0 rgba(126, 109, 90, 0.2);
  margin-bottom: 20px;
  padding: 20px;
  text-align: center;
}

.ticket-filter-window p {
  color: var(--red);
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 900;
  margin: 0 0 12px;
}

.ticket-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.ticket-filter-bar button {
  background: color-mix(in srgb, var(--seat-color) 22%, #fff);
  border: 3px solid var(--seat-color);
  border-radius: 999px;
  box-shadow: 0 5px 0 rgba(126, 109, 90, 0.2);
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
  font-weight: 900;
  padding: 10px 16px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.ticket-filter-bar button:hover,
.ticket-filter-bar button.is-active {
  background: var(--seat-color);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--seat-color) 24%, transparent), 0 5px 0 rgba(126, 109, 90, 0.2);
  color: #fff;
  transform: translateY(-2px);
}

.ticket-filter-bar button[data-tier="tree"]:hover,
.ticket-filter-bar button[data-tier="tree"].is-active {
  color: var(--ink);
}

.ticket-filter-note {
  color: var(--brown) !important;
  font-size: 12px !important;
  font-weight: 900;
  margin: 14px 0 0 !important;
}

.ticket-fortune {
  background: #fff;
  border: 4px solid var(--red);
  border-radius: 22px;
  box-shadow: 0 8px 0 rgba(126, 109, 90, 0.2);
  margin: 2px 0 8px;
  max-width: none;
  padding: 18px 20px 20px;
  position: relative;
  text-align: left;
}

.ticket-fortune::before {
  background: #fff;
  border-left: 4px solid var(--red);
  border-top: 4px solid var(--red);
  content: "";
  height: 18px;
  left: 42px;
  position: absolute;
  top: -13px;
  transform: rotate(45deg);
  width: 18px;
}

.ticket-fortune p {
  margin: 0;
}

.ticket-fortune .fortune-title {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 7px;
}

.ticket-fortune .fortune-intro {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 8px;
}

.ticket-fortune .fortune-lead {
  color: var(--brown);
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 4px;
}

.ticket-fortune .fortune-result {
  color: var(--red);
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 10px;
}

.ticket-fortune .fortune-body {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.85;
}

.seatmap-card {
  grid-row: span 2;
}

.seatmap {
  margin-top: 16px;
}

.seatmap-stage {
  background: var(--teal);
  border: 4px solid #fff;
  border-radius: 999px;
  box-shadow: 0 5px 0 rgba(126, 109, 90, 0.2);
  color: #fff;
  font-weight: 900;
  margin: 0 auto 18px;
  max-width: none;
  width: calc(100% - 36px);
  padding: 10px;
  text-align: center;
}

.seatmap-rows {
  display: grid;
  gap: 7px;
}

.seat-row {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: 28px minmax(0, 1fr);
}

.seat-row-label {
  color: var(--brown);
  font-weight: 900;
  text-align: center;
}

.seat-grid {
  display: grid;
  gap: 5px;
  grid-template-columns: repeat(18, minmax(16px, 1fr));
}

.seat-row[data-row="C"],
.seat-row[data-row="E"],
.seat-row[data-row="G"] {
  margin-top: 8px;
}

.seat {
  aspect-ratio: 1;
  background: color-mix(in srgb, var(--seat-color) 70%, #fff);
  border: 2px solid color-mix(in srgb, var(--seat-color) 82%, var(--brown));
  border-radius: 8px;
  color: rgba(94, 81, 70, 0.78);
  cursor: pointer;
  font-family: inherit;
  font-size: 10px;
  font-weight: 900;
  padding: 0;
  transition: filter 160ms ease, opacity 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.seat:hover {
  filter: brightness(1.06) saturate(1.08);
  transform: translateY(-1px);
}

.seatmap.is-filtering .seat:not(.is-highlighted) {
  filter: grayscale(0.85) brightness(0.88);
  opacity: 0.34;
}

.seat.is-special {
  cursor: default;
}

.seat.is-highlighted {
  box-shadow:
    inset 0 0 0 2px #fff,
    0 0 18px color-mix(in srgb, var(--seat-color) 72%, transparent);
  filter: brightness(1.08) saturate(1.16);
  opacity: 1;
  transform: scale(1.08);
}

.seatmap-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.seatmap-legend span {
  align-items: center;
  background: color-mix(in srgb, var(--seat-color) 18%, #fff);
  border: 2px solid color-mix(in srgb, var(--seat-color) 54%, #fff);
  border-radius: 999px;
  color: var(--ink);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  gap: 6px;
  padding: 6px 10px;
}

.seatmap-legend span::before {
  background: var(--seat-color);
  border-radius: 50%;
  content: "";
  height: 10px;
  width: 10px;
}

.seatmap-legend span.is-highlighted {
  background: var(--seat-color);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--seat-color) 24%, transparent);
  color: #fff;
}

.seatmap-legend span[data-tier="tree"].is-highlighted {
  color: var(--ink);
}

.seatmap-caption {
  margin-top: 14px;
}

.seatmap-caption p {
  margin: 0;
}

.seatmap-caption p + p {
  margin-top: 5px;
}

[data-tier="santa"] { --seat-color: var(--red); }
[data-tier="tree"] { --seat-color: var(--yellow); }
[data-tier="present"] { --seat-color: var(--teal); }
[data-tier="sponsor"],
[data-tier="blocked"],
[data-tier="stop"] { --seat-color: #9b9b9b; }
[data-tier="relation"] { --seat-color: #93d77e; }
[data-tier="camera"] { --seat-color: #00a7e8; }

.price-list dt {
  color: var(--ink);
  font-weight: 900;
}

.price-list dd,
.stream-price {
  color: var(--red);
  font-size: 18px;
  font-weight: 900;
  margin: 0;
}

.stream-price {
  font-size: clamp(26px, 3vw, 40px);
}

.stream-price span {
  color: var(--brown);
  font-size: 13px;
  margin-left: 6px;
}

.stream-note {
  color: var(--brown);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.7;
  margin: 10px 0 0;
}

.stream-ticket-wide {
  margin-top: 22px;
}

.notice-panel {
  background: var(--paper);
  border: 4px solid #fff;
  border-radius: 24px;
  box-shadow: 0 8px 0 rgba(126, 109, 90, 0.2);
  margin-top: 22px;
  padding: clamp(20px, 3vw, 34px);
}

.notice-panel h3 {
  font-size: 24px;
  margin: 0 0 18px;
}

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

.notice-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

.stream-notice-panel {
  margin-top: 18px;
}

.notice-grid section {
  background: rgba(255, 248, 223, 0.72);
  border: 3px dotted rgba(126, 109, 90, 0.24);
  border-radius: 18px;
  padding: 16px;
}

.notice-grid h4 {
  color: var(--teal);
  font-size: 16px;
  font-weight: 900;
  margin: 0 0 10px;
}

.notice-grid p {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
  margin: 0 0 8px;
}

.qa-body {
  max-width: 1080px;
}

.qa-group {
  background: var(--paper);
  border: 4px solid #fff;
  border-radius: 24px;
  box-shadow: 0 8px 0 rgba(126, 109, 90, 0.2);
  margin-top: 20px;
  padding: clamp(18px, 3vw, 30px);
}

.qa-group h3 {
  color: var(--teal);
  font-size: 22px;
  margin: 0 0 12px;
}

.qa-group details {
  border-bottom: 3px dotted rgba(126, 109, 90, 0.18);
  padding: 0;
}

.qa-group details:last-child {
  border-bottom: 0;
}

.qa-group summary {
  color: var(--ink);
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.7;
  list-style: none;
  padding: 15px 34px 15px 0;
  position: relative;
}

.qa-group summary::-webkit-details-marker {
  display: none;
}

.qa-group summary::after {
  background: var(--yellow);
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 3px 0 rgba(126, 109, 90, 0.18);
  color: var(--ink);
  content: "+";
  display: grid;
  font-weight: 900;
  height: 24px;
  place-items: center;
  position: absolute;
  right: 0;
  top: 14px;
  width: 24px;
}

.qa-group details[open] summary::after {
  background: var(--red);
  color: #fff;
  content: "-";
}

.qa-group details > p {
  color: var(--brown);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.9;
  margin: 0 0 12px;
}

.venue-name {
  background: var(--paper);
  border: 4px solid #fff;
  border-radius: 22px;
  box-shadow: 0 8px 0 rgba(126, 109, 90, 0.2);
  color: var(--teal);
  display: inline-block;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 900;
  margin: 0;
  padding: 24px 28px;
}

.venue-info {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.venue-info div {
  background: var(--paper);
  border: 4px solid #fff;
  border-radius: 20px;
  box-shadow: 0 8px 0 rgba(126, 109, 90, 0.2);
  padding: 20px;
}

.venue-info h3 {
  color: var(--red);
  font-size: 18px;
  font-weight: 900;
  margin: 0 0 10px;
}

.venue-info p {
  color: var(--brown);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.8;
  margin: 0;
}

.venue-info p + p {
  margin-top: 5px;
}

.venue-link {
  background: var(--teal);
  border: 3px solid #fff;
  border-radius: 999px;
  box-shadow: 0 5px 0 rgba(126, 109, 90, 0.2);
  color: #fff;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  margin-top: 14px;
  padding: 9px 16px;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.venue-link:hover {
  box-shadow: 0 7px 0 rgba(126, 109, 90, 0.2);
  transform: translateY(-2px);
}

.text-link {
  color: var(--teal);
  font-weight: 900;
}

.footer {
  align-items: center;
  background: var(--teal);
  color: #fff;
  display: flex;
  font-size: 12px;
  font-weight: 900;
  justify-content: space-between;
  padding: 24px clamp(22px, 7vw, 108px);
}

@media (max-width: 860px) {
  .top-nav,
  .side-tabs {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 92px 22px 48px;
  }

  .hero-logo img {
    max-width: 92vw;
  }

  .hero-visual img {
    transform: rotate(0deg);
    width: 100%;
  }

  .section {
    grid-template-columns: 1fr;
    padding: 64px 22px;
  }

  .schedule-list div,
  .ticket-layout,
  .cast-grid,
  .notice-grid {
    grid-template-columns: 1fr;
  }

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

  .seat {
    border-radius: 6px;
    border-width: 1px;
    font-size: 8px;
    min-width: 0;
  }
}

@media (max-width: 520px) {
  .ticket-card {
    padding: 16px 12px;
  }

  .seatmap-stage {
    width: calc(100% - 20px);
  }

  .seat-row {
    gap: 4px;
    grid-template-columns: 20px minmax(0, 1fr);
  }

  .seat-row-label {
    font-size: 11px;
  }

  .seat-grid {
    gap: 1px;
  }

  .seat {
    border-radius: 4px;
    font-size: 7px;
  }
}
