:root {
  --bg: #fbfaf8;
  --surface: #fff;
  --ink: #20242a;
  --muted: #68707a;
  --line: #e7e0da;
  --primary: #9c2335;
  --primary-dark: #761728;
  --gold: #b78a3b;
  --soft: #f5ece8;
  --ok: #247a57;
  --warn: #9a6a18;
  --closed: #68707a;
  --radius: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 248, 0.95);
  backdrop-filter: blur(10px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  background: var(--primary);
}
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions > a:not(.button) {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--surface);
  font-size: 13px;
}
.header-actions > a.active { color: #fff; background: var(--primary); border-color: var(--primary); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--primary);
  border-radius: 6px;
  color: #fff;
  background: var(--primary);
  font-weight: 700;
}
.button:hover { background: var(--primary-dark); }
.button.ghost { color: var(--primary); background: var(--surface); }
.button.ghost:hover { color: #fff; background: var(--primary); }

.hero {
  padding: 42px 0 30px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(156, 35, 53, .08), rgba(183, 138, 59, .08)), var(--bg);
}
.hero-grid { display: grid; gap: 22px; }
.eyebrow { margin: 0 0 8px; color: var(--gold); font-size: 13px; font-weight: 800; }
h1 { margin: 0; font-size: clamp(34px, 7vw, 64px); line-height: 1.08; letter-spacing: 0; }
.hero-copy { max-width: 680px; color: var(--muted); }
.status-strip { display: grid; gap: 10px; }
.status-item { padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.75); }
.label { color: var(--muted); font-size: 12px; }
.value { display: block; font-weight: 800; }

.section { padding: 34px 0; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.section-title { margin: 0; font-size: 24px; line-height: 1.25; }
.section-note { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.grid { display: grid; gap: 16px; }
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(32,36,42,.08);
  overflow: hidden;
}
.card-body { padding: 16px; }
.announcement { border-left: 4px solid var(--primary); }
.cast-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cast-photo {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 4;
  color: var(--muted);
  background: var(--soft);
  font-size: 13px;
}
.cast-card h3 { margin: 0; font-size: 18px; line-height: 1.3; }
.meta { color: var(--muted); font-size: 13px; }
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  color: #fff;
  background: var(--closed);
  font-size: 12px;
  font-weight: 800;
}
.pill.available { background: var(--ok); }
.pill.limited { background: var(--warn); }
.pill.off, .pill.full { background: var(--closed); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cast-card .actions .button { flex: 1; min-height: 38px; padding: 0 10px; font-size: 13px; }

.info-list { display: grid; gap: 10px; margin: 0; }
.info-row { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.info-row dt { color: var(--muted); }
.info-row dd { margin: 0; font-weight: 800; }

.form { display: grid; gap: 14px; }
.field label { display: block; margin-bottom: 6px; font-weight: 800; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font: inherit;
}
.field textarea { min-height: 112px; resize: vertical; }
.notice { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); color: var(--muted); }

.site-footer { padding: 34px 0 86px; border-top: 1px solid var(--line); color: var(--muted); background: #fff; }
.bottom-nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.97);
}
.bottom-nav a { display: grid; place-items: center; min-height: 58px; color: var(--muted); font-size: 12px; font-weight: 800; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.gallery-item {
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--soft);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .hero { padding: 72px 0 44px; }
  .hero-grid { grid-template-columns: 1.4fr .8fr; align-items: end; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cast-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bottom-nav { display: none; }
  .site-footer { padding-bottom: 34px; }
  .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
