@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;600;700&family=Shippori+Mincho:wght@500;700&display=swap');

:root {
  --color-navy: #1a2332;
  --color-navy-deep: #10161f;
  --color-ink: #2b2b2b;
  --color-vermilion: #8b3a3a;
  --color-vermilion-bright: #a8493f;
  --color-paper: #f2ece0;
  --color-paper-dim: #e6ddcb;
  --color-gold: #b89b5e;
  --font-serif: 'Shippori Mincho', 'Noto Serif JP', serif;
  --max-width: 960px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-serif);
  background-color: var(--color-paper);
  color: var(--color-ink);
  line-height: 1.9;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(0,0,0,0.02) 0%, transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(0,0,0,0.02) 0%, transparent 40%),
    repeating-linear-gradient(45deg, rgba(0,0,0,0.015) 0px, rgba(0,0,0,0.015) 1px, transparent 1px, transparent 3px);
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 35, 50, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(184, 155, 94, 0.3);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo {
  display: flex;
  flex-direction: column;
  color: var(--color-paper);
}

.logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--color-gold);
}

.logo-main {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.site-nav ul {
  display: flex;
  gap: 1.8rem;
}

.site-nav a {
  color: var(--color-paper);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  transition: color 0.25s ease;
  position: relative;
}

.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width 0.25s ease;
}

.site-nav a:hover {
  color: var(--color-gold);
}

.site-nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-paper);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(16,22,31,0.88), rgba(16,22,31,0.94)),
    linear-gradient(135deg, var(--color-navy-deep), var(--color-navy));
  color: var(--color-paper);
  padding: 4rem 1.5rem;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  max-width: var(--max-width);
}

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

.hero-cover {
  width: 280px;
  max-width: 40vw;
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  flex-shrink: 0;
}

.hero-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--color-gold);
  margin-bottom: 1.2rem;
}

.hero-title {
  font-size: clamp(2.6rem, 8vw, 4.5rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.06em;
  margin-bottom: 1.8rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.hero-date {
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.hero-venue {
  font-size: 0.9rem;
  color: var(--color-gold);
  letter-spacing: 0.1em;
}

/* ===== Sections ===== */
.section {
  padding: 5rem 1.5rem;
}

.section-alt {
  background-color: var(--color-paper-dim);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  font-size: 1.8rem;
  letter-spacing: 0.15em;
  color: var(--color-vermilion);
  text-align: center;
  margin-bottom: 2.8rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: var(--color-gold);
}

/* ===== Story ===== */
.story-text {
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: 1.02rem;
}

.story-text p {
  margin-bottom: 1.3rem;
}

.text-blue {
  color: #2b5fa8;
}

.text-red {
  color: #c0392b;
}

.story-catch {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-vermilion);
  letter-spacing: 0.05em;
}

.staff-table {
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
  border-collapse: collapse;
}

.staff-table tr {
  border-bottom: 1px solid rgba(43,43,43,0.15);
}

.staff-table th,
.staff-table td {
  padding: 0.85rem 0.5rem;
  text-align: left;
  font-weight: 400;
}

.staff-table th {
  width: 35%;
  color: var(--color-vermilion);
  letter-spacing: 0.05em;
}

/* ===== Cast ===== */
.cast-group {
  max-width: 720px;
  margin: 0 auto;
}

.cast-group-team {
  margin-top: 3rem;
}

.cast-team-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
}

.team-icon {
  font-size: 1.3rem;
}

.cast-team-title-a {
  color: var(--color-vermilion);
}

.cast-team-title-main {
  color: var(--color-navy);
}

.cast-team-title-b {
  color: var(--color-gold);
}

.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem 1.5rem;
  text-align: center;
}

.cast-list + .cast-list {
  margin-top: 1rem;
}

.cast-list-center {
  grid-template-columns: repeat(4, minmax(140px, 200px));
  justify-content: center;
}

.cast-list-three {
  grid-template-columns: repeat(3, minmax(140px, 200px));
  justify-content: center;
}

.cast-list-solo {
  grid-template-columns: minmax(140px, 200px);
  justify-content: center;
}

.cast-list li {
  padding: 0.6rem 0.3rem;
  border-bottom: 1px solid rgba(43,43,43,0.15);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

.cast-list-team li {
  border-bottom-color: rgba(139, 58, 58, 0.2);
}

/* ===== Schedule ===== */
.schedule-range {
  text-align: center;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  color: var(--color-navy);
}

.table-scroll {
  overflow-x: auto;
  margin-bottom: 2rem;
}

.schedule-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: var(--color-paper);
}

.schedule-table th,
.schedule-table td {
  border: 1px solid rgba(43,43,43,0.2);
  padding: 0.9rem 0.6rem;
  text-align: center;
  font-size: 0.9rem;
}

.schedule-table thead th {
  background: var(--color-navy);
  color: var(--color-paper);
  font-weight: 400;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.25s ease;
}

.schedule-table thead th:first-child {
  cursor: default;
}

.schedule-table thead th:hover:not(:first-child) {
  background: var(--color-vermilion);
}

.schedule-table tbody th {
  background: rgba(26, 35, 50, 0.06);
  font-weight: 600;
}

.cast-a {
  color: var(--color-vermilion);
  font-weight: 700;
}

.cast-b {
  color: var(--color-gold);
  font-weight: 700;
}

.schedule-table td.cast-a,
.schedule-table td.cast-b {
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.schedule-table td.cast-a::before,
.schedule-table td.cast-b::before {
  content: "";
  position: absolute;
  inset: 3px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.2;
  z-index: -1;
  pointer-events: none;
}

.schedule-table td.cast-a::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Ccircle cx='100' cy='95' r='62' fill='%238B3A3A'/%3E%3Cellipse cx='100' cy='95' rx='34' ry='38' fill='%23F5EFE3'/%3E%3Cellipse cx='63' cy='58' rx='16' ry='18' fill='%238B3A3A'/%3E%3Cellipse cx='137' cy='58' rx='16' ry='18' fill='%238B3A3A'/%3E%3Ccircle cx='84' cy='88' r='5' fill='%232B2B2B'/%3E%3Ccircle cx='116' cy='88' r='5' fill='%232B2B2B'/%3E%3Cpath d='M100 100 l-9 12 h18 z' fill='%232B2B2B'/%3E%3Cpath d='M100 112 q-14 16 -30 8 M100 112 q14 16 30 8' stroke='%232B2B2B' stroke-width='4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}

.schedule-table td.cast-b::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M18 128 q10 -14 30 -14 q6 -10 18 -10 l14 -16 8 8 -10 12 q14 2 22 12 q16 -4 26 2 l14 -10 6 8 -12 10 q10 6 10 16 q0 4 -4 6 l-14 -2 q-4 8 -14 8 l-6 10 -10 -6 4 -10 q-18 4 -34 -4 q-10 6 -22 2 l-6 10 -10 -6 6 -10 q-14 -6 -16 -16 z' fill='%23C6A15B'/%3E%3Cpolygon points='60,96 66,84 72,96' fill='%23C6A15B'/%3E%3Cpolygon points='76,92 82,78 88,92' fill='%23C6A15B'/%3E%3Cpolygon points='92,90 98,76 104,90' fill='%23C6A15B'/%3E%3Cpolygon points='108,92 114,78 120,92' fill='%23C6A15B'/%3E%3Ccircle cx='24' cy='120' r='3' fill='%232B2B2B'/%3E%3C/svg%3E");
}

.schedule-table td.highlight,
.schedule-table th.highlight {
  background: rgba(139, 58, 58, 0.15);
}

.schedule-notes {
  max-width: 640px;
  margin: 0 auto;
  font-size: 0.82rem;
  color: rgba(43,43,43,0.75);
  line-height: 1.8;
}

.schedule-notes li {
  margin-bottom: 0.3rem;
}

/* ===== Ticket ===== */
.ticket-table {
  max-width: 560px;
  margin: 0 auto 2rem;
  width: 100%;
  border-collapse: collapse;
}

.ticket-table tr {
  border-bottom: 1px solid rgba(43,43,43,0.15);
}

.ticket-table th,
.ticket-table td {
  padding: 1.2rem 0.6rem;
  text-align: left;
}

.ticket-table th {
  font-weight: 400;
  letter-spacing: 0.03em;
}

.ticket-table .small {
  font-size: 0.75rem;
  color: rgba(43,43,43,0.6);
}

.ticket-table .price {
  text-align: right;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-vermilion);
}

.ticket-notes {
  max-width: 640px;
  margin: 0 auto;
  font-size: 0.82rem;
  color: rgba(43,43,43,0.75);
  line-height: 1.8;
}

.ticket-buy {
  text-align: center;
  margin-top: 2rem;
}

.ticket-buy-btn {
  display: inline-block;
  padding: 0.9rem 3rem;
  background: var(--color-vermilion);
  color: var(--color-paper);
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.ticket-buy-btn:hover {
  background: var(--color-vermilion-bright);
  transform: translateY(-2px);
}

/* ===== Access ===== */
.access-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.access-info {
  max-width: 480px;
  text-align: center;
}

.access-map {
  flex: 1;
  max-width: 420px;
}

.access-map img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.zoomable-map {
  cursor: zoom-in;
  transition: opacity 0.2s ease;
}

.zoomable-map:hover {
  opacity: 0.85;
}

.map-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: zoom-out;
}

.map-modal.open {
  display: flex;
}

.map-modal img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 4px;
  cursor: default;
}

.map-modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.2rem 0.6rem;
}

.venue-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-vermilion);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.access-info p {
  margin-bottom: 1.2rem;
}

.access-info ul li {
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
}

/* ===== Form ===== */
.contact-list {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.contact-list li {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.contact-list a {
  color: var(--color-vermilion);
  border-bottom: 1px solid var(--color-vermilion);
  padding-bottom: 1px;
  transition: opacity 0.2s ease;
}

.contact-list a:hover {
  opacity: 0.7;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--color-navy-deep);
  color: rgba(242, 236, 224, 0.75);
  padding: 3rem 1.5rem;
  text-align: center;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-footer h3 {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  margin-bottom: 1.2rem;
  font-weight: 400;
}

.cooperation {
  font-size: 0.78rem;
  line-height: 2;
  margin-bottom: 2rem;
}

.copyright {
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: rgba(242, 236, 224, 0.5);
}

/* ===== Back to top ===== */
.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(184, 155, 94, 0.5);
  background: var(--color-navy);
  color: var(--color-paper);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.25s ease;
  z-index: 90;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-vermilion);
}

/* ===== Fade-in animation ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 720px) {
  .menu-toggle {
    display: flex;
  }

  .hero-inner {
    flex-direction: column;
    gap: 2rem;
  }

  .hero-cover {
    width: 200px;
    max-width: 60vw;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 70%;
    max-width: 300px;
    background: var(--color-navy-deep);
    display: flex;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }

  .site-nav.open {
    transform: translateX(0);
  }

  .site-nav ul {
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    text-align: center;
  }

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

  .cast-list-center {
    grid-template-columns: repeat(2, minmax(140px, 200px));
  }

  .cast-list-three {
    grid-template-columns: repeat(2, minmax(140px, 200px));
  }

  .access-layout {
    flex-direction: column;
  }

  .access-map {
    max-width: 100%;
  }
}
