@charset "UTF-8";

/* =========================================================
   木下大サーカス 横浜公演 LP
   ========================================================= */

:root {
  --magenta: #d6006f;
  --magenta-deep: #a8005a;
  --plum: #3a0a3e;
  --gold: #f5b914;
  --gold-light: #ffe27a;
  --blush: #fff3f8;
  --white: #ffffff;
  --text: #2e1233;
  --text-sub: #6b4e6f;
  --line: #f0cfe0;

  --font-display: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;

  --container: 720px;
  --gutter: 20px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  font-feature-settings: "palt" 1;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--magenta-deep); }
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.u-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.u-pc { display: none; }
.u-sp { display: inline; }

/* ---------- Button ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn--primary {
  background: var(--gold);
  color: var(--plum);
  box-shadow: 0 4px 0 var(--plum);
}
.btn--primary:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--plum); }
.btn--primary:active { transform: translateY(4px); box-shadow: 0 0 0 var(--plum); }
.btn--secondary {
  background: var(--white);
  color: var(--plum);
  box-shadow: 0 4px 0 var(--plum);
  border: 2px solid var(--plum);
}
.btn--secondary:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--plum); }
.btn--secondary:active { transform: translateY(4px); box-shadow: 0 0 0 var(--plum); }

.cta-pair {
  display: grid;
  gap: 16px;
  max-width: 420px;
  margin: 0 auto;
}
.cta-pair .btn { width: 100%; }

/* ---------- FV：サーカステント ---------- */
.fv {
  position: relative;
  background:
    repeating-linear-gradient(90deg,
      var(--magenta) 0 36px,
      var(--magenta-deep) 36px 72px);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
/* テント中央のスポットライト */
.fv::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 45%, rgba(255, 226, 122, .35), transparent 70%);
  pointer-events: none;
}

/* 電球のマーキー */
.fv__marquee {
  position: relative;
  height: 28px;
  background:
    radial-gradient(circle at 14px 14px, var(--gold-light) 0 5px, transparent 6px) 0 0 / 28px 28px repeat-x,
    var(--plum);
}
.fv__marquee::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 14px 14px, var(--white) 0 3px, transparent 4px) 0 0 / 56px 28px repeat-x;
  animation: bulbs 1.2s steps(1) infinite;
}
@keyframes bulbs {
  50% { background-position: 28px 0; }
}

.fv__inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px var(--gutter) 72px;
}

.fv__visual {
  margin: 0 auto;
  border: 4px solid var(--gold);
  border-radius: 12px;
  overflow: hidden;
  background: var(--magenta);
  box-shadow: 0 8px 0 var(--plum);
}
.fv__visual img { width: 100%; }

.fv__summary {
  display: grid;
  gap: 10px;
  max-width: 480px;
  margin: 30px auto 0;
  padding: 18px 20px;
  background: var(--white);
  color: var(--text);
  border-radius: 14px;
  border: 3px solid var(--plum);
  text-align: left;
}
.fv__summary > div { display: grid; grid-template-columns: 3.5em 1fr; gap: 8px; align-items: baseline; }
.fv__summary dt {
  font-weight: 700;
  font-size: 13px;
  color: var(--magenta-deep);
}
.fv__summary dd { font-weight: 700; font-size: 15px; line-height: 1.6; }

.fv__cta { margin-top: 26px; }

/* テントの裾 */
.fv__scallop {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 28px;
  background: radial-gradient(circle at 18px 0, transparent 18px, var(--white) 19px) 0 0 / 36px 28px repeat-x;
}

/* ---------- Intro ---------- */
.intro {
  padding: 48px 0 56px;
  text-align: center;
}
.intro__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 7vw, 38px);
  line-height: 1.35;
  color: var(--magenta);
}
.intro__text {
  margin-top: 18px;
  font-size: 15px;
}
.intro__badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 12px;
  max-width: 420px;
  margin: 32px auto 0;
}
.badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  max-width: 132px;
  width: 100%;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--plum);
  box-shadow: 0 0 0 4px var(--white), 0 0 0 7px var(--gold);
  color: var(--gold-light);
}
.badge__main {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.25;
}
.badge__sub {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
}
.intro__note {
  margin-top: 28px;
  font-size: 13px;
  color: var(--text-sub);
}

/* ---------- Section ---------- */
.section { padding: 56px 0; }
.section--tint { background: var(--blush); }
.section--small { padding: 48px 0 40px; }

.section__title {
  position: relative;
  margin-bottom: 28px;
  padding-bottom: 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  line-height: 1.3;
  text-align: center;
  color: var(--plum);
}
.section__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 64px;
  height: 6px;
  transform: translateX(-50%);
  background: repeating-linear-gradient(90deg, var(--magenta) 0 16px, var(--gold) 16px 32px);
  border-radius: 3px;
}
.section__title--small { font-size: 22px; }
.section__lead { margin: -8px 0 20px; text-align: center; font-weight: 700; }

.note { margin-top: 6px; font-size: 13px; color: var(--text-sub); line-height: 1.7; }
.notes { margin-top: 18px; }
.notes li { font-size: 13px; color: var(--text-sub); line-height: 1.7; padding-left: 1em; text-indent: -1em; }
.notes li + li { margin-top: 4px; }

/* ---------- Outline ---------- */
.outline { border-top: 1px solid var(--line); }
.outline__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.outline dt {
  font-weight: 700;
  font-size: 14px;
  color: var(--magenta-deep);
}
.outline dd { font-size: 15px; }
.outline--compact dd { font-size: 14px; }

/* ---------- Table ---------- */
.table-scroll {
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 10px;
  border: 2px solid var(--plum);
  background: var(--white);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
}
th, td {
  padding: 12px 8px;
  border: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
}
thead th {
  background: var(--plum);
  color: var(--white);
  font-weight: 700;
  border-color: var(--plum);
}
tbody th {
  background: var(--blush);
  font-weight: 700;
  white-space: nowrap;
}
tr > :first-child { border-left: 0; }
tr > :last-child { border-right: 0; }
tbody tr:last-child > * { border-bottom: 0; }

.timetable { font-size: 13px; }
.timetable th,
.timetable td { padding: 10px 3px; }
.timetable thead th { font-size: 12px; }
.timetable tbody th { text-align: left; padding-left: 10px; white-space: normal; width: 30%; }
.timetable sup { font-size: 10px; margin-left: 2px; }
.timetable tbody th small { font-size: 11px; font-weight: 500; }
.timetable .nw { white-space: nowrap; }
.timetable:not(.timetable--7) tbody th { width: 32%; font-size: 11.5px; padding-left: 6px; }
.timetable .dot {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--magenta);
}
.timetable .is-closed td { color: var(--text-sub); font-weight: 700; background: #f7f2f6; }

/* ---------- Price ---------- */
.price__heading {
  margin: 32px 0 12px;
  font-size: 17px;
  font-weight: 700;
  color: var(--plum);
}
.price__heading:first-of-type { margin-top: 0; }
.price__heading span { font-size: 13px; font-weight: 400; color: var(--text-sub); }

.price-table { min-width: 340px; }
.price-table td { font-weight: 700; font-size: 16px; }
.price-table small {
  display: block;
  font-size: 11px;
  font-weight: 400;
}
.price-table thead small { color: var(--gold-light); }
.price-table td small { color: var(--text-sub); }

.price__plus {
  display: inline-block;
  margin-bottom: 12px;
  padding: 2px 12px;
  border-radius: 4px;
  background: var(--magenta);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}

.seats {
  display: grid;
  grid-template-columns: 1fr;
  border: 2px solid var(--plum);
  border-radius: 10px;
  overflow: hidden;
}
.seats li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.seats li:last-child { border-bottom: 0; }
.seats__name { font-weight: 500; }
.seats__price { font-weight: 700; font-size: 16px; }
.seats__price::before { content: "+"; margin-right: 2px; color: var(--magenta); }

.seat-map {
  max-width: 400px;
  margin: 0 auto;
  padding: 12px;
  border: 2px solid var(--plum);
  border-radius: 10px;
  background: var(--white);
}
.seat-map img { width: 100%; }

/* ---------- Ticket CTA ---------- */
.ticket {
  padding: 56px 0 60px;
  background:
    repeating-linear-gradient(90deg, var(--magenta) 0 36px, var(--magenta-deep) 36px 72px);
  color: var(--white);
  text-align: center;
}
.ticket__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 6.5vw, 34px);
  line-height: 1.35;
  color: var(--gold-light);
  text-shadow: 0 3px 0 var(--plum);
}
.ticket__text { margin: 16px 0 28px; font-weight: 700; }

/* ---------- Footer ---------- */
.footer {
  padding: 24px var(--gutter) 100px;
  background: var(--plum);
  color: var(--white);
  text-align: center;
  font-size: 12px;
}

/* ---------- Sticky CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 100;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(58, 10, 62, .92);
  text-align: center;
  transform: translateY(110%);
  transition: transform .25s ease;
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.sticky-cta .btn {
  min-height: 52px;
  padding: 8px 10px;
  font-size: 13px;
  box-shadow: none;
}

/* =========================================================
   統合LP（複数公演）用
   ========================================================= */
.u-center { text-align: center; }

/* FV：共通キービジュアル */
.fv--kv,
.fv { background: #1d378b; }
.fv::before { display: none; }
.fv__inner { padding: 0 0 64px; }
.fv__kv { width: 100%; max-width: 680px; margin: 0 auto; }
.fv__cta { display: flex; width: calc(100% - var(--gutter) * 2); max-width: 420px; margin: 8px auto 0; }

.intro__badges--3 { grid-template-columns: repeat(3, 1fr); max-width: 460px; gap: 12px; }
.intro__badges--3 .badge { max-width: 116px; }
.intro__badges--3 .badge__main { font-size: 16px; }

/* 公演一覧 */
.perf__list { display: grid; gap: 20px; }
.perf-card {
  padding: 22px 20px 20px;
  background: var(--white);
  border: 3px solid var(--plum);
  border-radius: 16px;
  box-shadow: 0 6px 0 var(--magenta);
}
.perf-card[hidden] { display: none; }
.perf-card__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  line-height: 1.3;
  color: var(--magenta);
  text-align: center;
}
.perf-card__info {
  display: grid;
  gap: 8px;
  margin: 16px 0 20px;
  padding: 14px 16px;
  background: var(--blush);
  border-radius: 10px;
}
.perf-card__info > div { display: grid; grid-template-columns: 3em 1fr; gap: 8px; align-items: baseline; }
.perf-card__info dt { font-size: 13px; font-weight: 700; color: var(--magenta-deep); }
.perf-card__info dd { font-weight: 700; line-height: 1.6; }
.perf-card__more {
  display: block;
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}
.perf-card__more::after { content: " ↓"; }
.perf__empty {
  padding: 32px 16px;
  text-align: center;
  font-weight: 700;
  background: var(--white);
  border-radius: 12px;
}

/* 公演ごとの詳細 */
.perf-detail { padding-bottom: 64px; }
.perf-detail[hidden] { display: none; }
.perf-detail__head {
  margin-bottom: 36px;
  padding: 36px var(--gutter) 32px;
  background: repeating-linear-gradient(90deg, var(--magenta) 0 36px, var(--magenta-deep) 36px 72px);
  text-align: center;
  color: var(--white);
}
.perf-detail__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--gold-light);
}
.perf-detail__title {
  margin-top: 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 8.5vw, 44px);
  line-height: 1.2;
  color: var(--gold-light);
  -webkit-text-stroke: 1.5px var(--plum);
  paint-order: stroke fill;
  text-shadow: 0 4px 0 var(--plum);
}
.perf-detail__catch {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 16px;
  background: var(--plum);
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
}

.detail__heading {
  position: relative;
  margin: 44px 0 20px;
  padding-left: 16px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--plum);
}
.detail__heading::before {
  content: "";
  position: absolute;
  left: 0; top: .15em; bottom: .15em;
  width: 6px;
  border-radius: 3px;
  background: linear-gradient(var(--magenta) 0 50%, var(--gold) 50% 100%);
}
.perf-detail .container > .detail__heading:first-child { margin-top: 0; }

.detail__flyer {
  margin: 0 auto 8px;
  border: 4px solid var(--gold);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 0 var(--plum);
}
.detail__flyer img { width: 100%; }

.detail__cta {
  margin-top: 44px;
  padding: 28px 20px;
  border-radius: 16px;
  background: var(--plum);
  text-align: center;
}
.detail__cta-title {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(18px, 5vw, 24px);
  line-height: 1.4;
  color: var(--gold-light);
}
.detail__cta .btn--secondary { border-color: var(--white); box-shadow: 0 4px 0 var(--gold); }

.tbd {
  padding: 20px 16px;
  border: 2px dashed var(--magenta);
  border-radius: 10px;
  background: #fffbe0;
  color: var(--magenta-deep);
  font-weight: 700;
  text-align: center;
}

.intro__badges--2 { grid-template-columns: repeat(2, 1fr); max-width: 300px; }
.timetable--7 th,
.timetable--7 td { padding-left: 1px; padding-right: 1px; }
.timetable--7 thead th { font-size: 10.5px; letter-spacing: 0; }
.timetable--7 .dot { width: 16px; height: 16px; }
.timetable--7 tbody th { width: 32%; font-size: 11.5px; padding-left: 6px; }

.sticky-cta--single { grid-template-columns: 1fr; }
.sticky-cta--many { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
.sticky-cta--single .btn { max-width: 420px; margin: 0 auto; width: 100%; }

/* 休演などのお知らせ */
.notice { margin-top: 8px; font-size: 13px; line-height: 1.7; font-weight: 700; color: var(--magenta-deep); }
.notes li.notice { color: var(--magenta-deep); font-weight: 700; }
.perf-card__notice {
  margin: -8px 0 18px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff4d6;
  border: 1px solid var(--gold);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--magenta-deep);
}

/* 幅の狭いスマホ（〜379px）で表を収める */
@media (max-width: 379px) {
  .timetable tbody th,
  .timetable--7 tbody th { font-size: 10.5px; padding-left: 4px; }
  .timetable--7 thead th { font-size: 9.5px; }
  .timetable--7 .dot { width: 14px; height: 14px; }
}

/* ---------- PC ---------- */
@media (min-width: 768px) {
  body { font-size: 16px; }
  .u-pc { display: inline; }
  .u-sp { display: none; }

  .fv__inner { padding: 40px var(--gutter) 88px; }
  .fv__summary { max-width: 560px; }

  .intro { padding: 72px 0 80px; }
  .intro__badges { grid-template-columns: repeat(4, 1fr); max-width: 680px; }
  .badge__main { font-size: 18px; }

  .section { padding: 80px 0; }
  .section__title { font-size: 30px; }

  .outline__row { grid-template-columns: 8em 1fr; gap: 16px; }

  .timetable { font-size: 14px; }
  .timetable th,
  .timetable td { padding: 12px 8px; }
  .timetable thead th { font-size: 14px; }
  .timetable .dot { width: 24px; height: 24px; }

  .cta-pair { grid-template-columns: 1fr 1fr; max-width: 680px; }
  .perf-card .cta-pair { grid-template-columns: 1fr; }
  .perf__list { grid-template-columns: 1fr 1fr; }
  .perf__list.is-single { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .intro__badges--3 { grid-template-columns: repeat(3, 1fr); max-width: 520px; }
  .intro__badges--3 .badge { max-width: 140px; }
  .intro__badges--2 { grid-template-columns: repeat(2, 1fr); max-width: 340px; }
  .timetable--7 thead th { font-size: 13px; }
  .timetable--7 tbody th,
  .timetable:not(.timetable--7) tbody th { font-size: 14px; padding-left: 12px; }
  .timetable--7 .dot { width: 22px; height: 22px; }
  .intro__badges--3 .badge__main { font-size: 18px; }
  .fv__inner { padding: 0 0 80px; }

  .ticket { padding: 80px 0; }

  .footer { padding-bottom: 100px; }
  .sticky-cta {
    grid-template-columns: repeat(2, minmax(0, 300px));
    justify-content: center;
    gap: 16px;
  }
  .sticky-cta .btn { font-size: 15px; min-height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fv__marquee::after { animation: none; }
  .btn, .sticky-cta { transition: none; }
}
