/* =========================================================
   センシティブですが！ 公式サイト  style.css
   モバイルファースト / 素のCSS
   ========================================================= */

/* ---------- デザイントークン ---------- */
:root {
  --tq:        #5FC9C4;   /* メイン: ターコイズ(チラシ地色) */
  --tq-deep:   #3DAEA9;
  --tq-dark:   #1F6E6B;
  --tq-pale:   #A7E2DF;
  --pink:      #F4B8B7;   /* アクセント: ピンク */
  --pink-pale: #F9DAD9;
  --pink-dust: #E8C6C9;   /* チラシの薄い円 */
  --pink-deep: #E68CB5;   /* チラシの星 */
  --red:       #E0231C;   /* タイトル赤 */
  --red-dark:  #B8160F;
  --yellow:    #FBF0A6;   /* チラシ裏の日時パネル */
  --cream:     #FFF8EC;
  --orange:    #F29B3A;
  --lime:      #EAF58F;
  --ink:       #1E2B2B;
  --ink-soft:  #4A5654;
  --shadow:    0 10px 30px rgba(31, 110, 107, 0.18);

  --font-display: "Dela Gothic One", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --font-body:    "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --font-hand:    "Yusei Magic", "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;

  --header-h: 64px;
  --container: 1120px;
  --radius: 28px;
  --gutter: 20px;
}

/* ---------- リセット ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--tq);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 92px; /* 追従ボタン分 */
}
h1, h2, h3, p, ul, dl, dd, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tq-dark); }
button { font: inherit; color: inherit; }
strong { font-weight: 700; }
small { font-size: 0.75em; }

.page { position: relative; overflow-x: clip; }
@supports not (overflow-x: clip) { .page { overflow-x: hidden; } }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.pc-only { display: none; }
.sp-only { display: inline; }
.hand { font-family: var(--font-hand); font-weight: 400; }
.nowrap { white-space: nowrap; }

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { top: 8px; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* ---------- 装飾(円・星) ---------- */
.deco { position: absolute; pointer-events: none; z-index: 0; }
.deco--circle { border-radius: 50%; background: var(--pink); }
.deco--star { fill: var(--pink); }
.section-deco--left  { width: 42vw; max-width: 380px; aspect-ratio: 1; left: -18vw; top: 8%;  background: var(--pink-dust); opacity: .85; }
.section-deco--right { width: 46vw; max-width: 420px; aspect-ratio: 1; right: -20vw; top: -6%; background: var(--pink-dust); opacity: .85; }
.section-deco--low   { top: auto; bottom: -10%; }
.section-deco--star-right { width: 120px; height: 120px; right: -30px; top: 30px; transform: rotate(14deg); fill: var(--pink-deep); opacity: .8; }
.section-deco--star-left  { width: 90px;  height: 90px;  left: -20px;  top: 40px; transform: rotate(-12deg); fill: var(--pink-deep); opacity: .8; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  font-weight: 900; text-decoration: none; line-height: 1.2;
  border-radius: 999px; padding: .95em 1.8em;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
  cursor: pointer; border: 0; white-space: nowrap;
}
.btn--reserve {
  background: var(--red); color: #fff;
  box-shadow: 0 6px 0 var(--red-dark), 0 12px 24px rgba(184, 22, 15, .25);
  font-size: 1.05rem; letter-spacing: .02em;
}
.btn--reserve:hover, .btn--reserve:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 0 var(--red-dark), 0 16px 28px rgba(184, 22, 15, .3); }
.btn--reserve:active { transform: translateY(3px); box-shadow: 0 3px 0 var(--red-dark); }
.btn--large { font-size: 1.25rem; padding: 1.05em 2.2em; }
.btn--small { font-size: .9rem; padding: .6em 1.1em; box-shadow: 0 4px 0 var(--red-dark); }
.btn--ghost {
  background: #fff; color: var(--tq-dark); border: 2px solid var(--tq-deep);
  font-size: .95rem; padding: .6em 1.4em;
}
.btn--ghost:hover { background: var(--tq-pale); }
.btn__icon { font-size: 1.15em; line-height: 1; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(95, 201, 196, .97);
  border-bottom: 3px dotted rgba(255,255,255,.55);
  transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(31,110,107,.18); }
.site-header__inner {
  max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter);
  height: var(--header-h);
  display: flex; align-items: center; gap: 10px;
}
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; margin-right: auto; flex: none; }
.brand__sub { font-size: .62rem; font-weight: 700; color: var(--ink); letter-spacing: .04em; }
.brand__title {
  font-family: var(--font-display); font-size: 1.15rem; color: var(--red);
  text-shadow: 1.5px 0 #fff, -1.5px 0 #fff, 0 1.5px #fff, 0 -1.5px #fff, 1px 1px #fff, -1px -1px #fff, 1px -1px #fff, -1px 1px #fff;
  transform: rotate(-2deg); transform-origin: left center; white-space: nowrap;
}
.site-header__reserve { display: none; }

.nav-toggle {
  position: relative; width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: var(--pink); cursor: pointer; flex: none;
  display: grid; place-items: center;
}
.nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
  display: block; width: 22px; height: 3px; background: var(--ink); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle__bar { position: relative; }
.nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bar::before { top: -7px; }
.nav-toggle__bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }

/* モバイルナビ(全画面パネル) */
.global-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 90;
  background: var(--tq);
  background-image:
    radial-gradient(circle at 85% 20%, var(--pink-dust) 0 110px, transparent 111px),
    radial-gradient(circle at 10% 90%, var(--pink) 0 90px, transparent 91px);
  padding: 28px var(--gutter) 40px;
  overflow-y: auto;
  transform: translateX(100%); opacity: 0; visibility: hidden;
  transition: transform .3s ease, opacity .3s ease, visibility 0s .3s;
}
.global-nav.is-open { transform: none; opacity: 1; visibility: visible; transition: transform .3s ease, opacity .3s ease, visibility 0s; }
.global-nav__list { display: flex; flex-direction: column; gap: 4px; }
.global-nav__list a {
  display: block; padding: 12px 8px; font-size: 1.3rem; font-weight: 900; color: var(--ink);
  text-decoration: none; border-bottom: 2px dotted rgba(255,255,255,.7);
}
.global-nav__list a::before { content: "★ "; color: var(--pink-deep); font-size: .8em; }
.global-nav__list a.is-active { color: var(--red); }
.global-nav__cta { margin-top: 28px; text-align: center; }
.global-nav__note { margin-top: 10px; font-family: var(--font-hand); font-size: .9rem; color: var(--ink); }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative; overflow: hidden; z-index: 1;
  padding: 24px 0 0;
  min-height: calc(100svh - var(--header-h));
  display: flex; flex-direction: column; justify-content: center;
}
.hero__deco-1 { width: 56vw; max-width: 460px; aspect-ratio: 1; left: -22vw; top: 30%; background: var(--pink-dust); }
.hero__deco-2 { width: 40vw; max-width: 380px; aspect-ratio: 1; right: -16vw; top: 46%; background: var(--pink); opacity: .9; }
.hero__deco-3 { width: 18vw; max-width: 160px; aspect-ratio: 1; right: 8%; bottom: -4%; background: var(--pink-dust); }
.hero__star-1 { width: 46vw; max-width: 420px; height: 46vw; max-height: 420px; left: -6vw; top: -8vw; transform: rotate(-12deg); }
.hero__star-2 { width: 70px; height: 70px; right: 22%; top: 38%; fill: var(--pink-deep); transform: rotate(18deg); }

.hero__inner { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 22px; }

.hero__shiba {
  position: absolute; z-index: 3; right: -34px; top: -16px;
  display: flex; flex-direction: row; align-items: center; justify-content: flex-end;
}
.hero__shiba picture { flex: none; width: clamp(170px, 46vw, 420px); }
.dog--hero-shiba {
  transform: rotate(180deg);
  filter: drop-shadow(0 10px 10px rgba(31,110,107,.25));
}
.hero__disclaimer {
  order: -1; flex: none; margin: 30px -14px 0 0;
  font-size: .72rem; line-height: 1.5; color: var(--ink);
  background: rgba(255,255,255,.75); padding: 4px 8px; border-radius: 8px;
  transform: rotate(-3deg);
}

.hero__text { padding-top: 36vw; max-width: 100%; }
.hero__label {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  font-weight: 900; font-size: .9rem; line-height: 1.4;
  margin-bottom: 14px;
}
.hero__troupe { background: #fff; color: var(--ink); padding: 3px 10px; border-radius: 6px; transform: rotate(-1.5deg); }
.hero__kind { background: var(--lime); color: var(--ink); padding: 3px 10px; border-radius: 6px; transform: rotate(1.5deg); }

.hero__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.9rem, 13.2vw, 8.6rem);
  line-height: 1;
  color: var(--red);
  margin: 0 0 18px -2px;
  transform: rotate(-5deg); transform-origin: left center;
}
.title-chars { display: block; }
.title-line { display: block; white-space: nowrap; }
.title-line + .title-line { margin-left: .55em; margin-top: .02em; }
.title-chars i {
  display: inline-block; font-style: normal;
  text-shadow:
    2px 0 #fff, -2px 0 #fff, 0 2px #fff, 0 -2px #fff,
    1.5px 1.5px #fff, -1.5px -1.5px #fff, 1.5px -1.5px #fff, -1.5px 1.5px #fff,
    .06em .07em 0 var(--tq-dark);
  animation: title-in .6s cubic-bezier(.2,.9,.3,1.3) both;
}
.title-chars i:nth-child(1) { transform: rotate(-6deg) translateY(.04em); animation-delay: .05s; }
.title-chars i:nth-child(2) { transform: rotate(4deg)  translateY(-.05em); animation-delay: .1s; }
.title-chars i:nth-child(3) { transform: rotate(-3deg) translateY(.02em); animation-delay: .15s; }
.title-chars i:nth-child(4) { transform: rotate(5deg)  translateY(-.03em); animation-delay: .2s; }
.title-chars i:nth-child(5) { transform: rotate(-4deg) translateY(.06em); animation-delay: .25s; }
.title-chars i:nth-child(6) { transform: rotate(6deg)  translateY(-.04em); animation-delay: .3s; }
.title-line:nth-child(2) i:nth-child(1) { animation-delay: .35s; }
.title-line:nth-child(2) i:nth-child(2) { animation-delay: .4s; }
.title-line:nth-child(2) i:nth-child(3) { animation-delay: .45s; }
.title-line:nth-child(2) i:nth-child(4) { animation-delay: .5s; }
.title-chars i.small { font-size: .82em; }
.title-chars i.bang  { transform: rotate(10deg) scale(1.15) translateY(-.02em); }
@keyframes title-in {
  from { opacity: 0; translate: 0 -.5em; }
  to   { opacity: 1; translate: 0 0; }
}

.hero__catch { font-weight: 900; font-size: clamp(1rem, 4.4vw, 1.5rem); line-height: 1.7; margin-bottom: 22px; }
.marker {
  background-image: linear-gradient(transparent 58%, var(--pink) 58%, var(--pink) 92%, transparent 92%);
  padding: 0 .2em;
}

.hero__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.hero__price { font-weight: 700; font-size: .95rem; background: rgba(255,255,255,.7); padding: 2px 12px; border-radius: 999px; }

.hero__visual {
  position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px;
  margin-top: 6px;
}
.date-circle {
  flex: 1 1 auto; max-width: 300px;
  background: var(--pink); color: var(--ink);
  border-radius: 40px 40px 40px 8px;
  padding: 18px 20px 18px;
  text-align: center; line-height: 1.25;
  box-shadow: 4px 6px 0 rgba(31,110,107,.2);
  margin-bottom: 18px;
  border: 3px solid rgba(255,255,255,.6);
}
.date-circle__year { font-family: var(--font-display); font-size: 1.2rem; letter-spacing: .1em; }
.date-circle__date { font-family: var(--font-display); font-size: clamp(1.7rem, 7.6vw, 2.4rem); line-height: 1.15; margin: 4px 0 10px; }
.date-circle__day small { font-size: .5em; }
.date-circle__tilde { display: block; font-size: .5em; line-height: 1; margin: 2px 0; }
.date-circle__venue { font-weight: 900; font-size: .9rem; line-height: 1.4; }
.date-circle__venue strong { font-family: var(--font-display); font-weight: 400; font-size: 1.15em; }

.hero__peki { flex: 0 0 auto; width: clamp(120px, 34vw, 300px); margin-right: -8px; }
.dog--hero-peki { filter: drop-shadow(0 8px 12px rgba(31,110,107,.3)); }

.hero__scroll {
  position: absolute; left: 50%; bottom: 10px; translate: -50% 0; z-index: 2;
  font-family: var(--font-hand); font-size: .8rem; color: var(--ink); text-decoration: none;
  letter-spacing: .1em; display: none;
}
.hero__scroll::after { content: "↓"; display: block; text-align: center; animation: bob 1.4s ease-in-out infinite; }
@keyframes bob { 0%,100% { translate: 0 0; } 50% { translate: 0 6px; } }

/* ---------- セクション共通 ---------- */
.section { position: relative; padding: 64px 0; z-index: 1; }
.section > .container { position: relative; z-index: 1; }

.section-title {
  position: relative; display: flex; flex-direction: column; align-items: flex-start;
  margin-bottom: 28px; line-height: 1.1;
}
.section-title__jp {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.8rem, 7vw, 2.6rem); color: var(--ink);
  position: relative; z-index: 1;
}
.section-title__en {
  font-family: var(--font-display); font-weight: 400; font-size: .8rem; letter-spacing: .18em; color: #fff;
  margin-top: 6px; padding: 2px 10px; background: var(--tq-dark); border-radius: 4px;
}
.star-badge {
  position: absolute; left: -22px; top: -22px; width: 74px; height: 74px; z-index: 0;
  animation: twinkle 3s ease-in-out infinite;
}
.star-badge svg { width: 100%; height: 100%; fill: var(--pink-deep); transform: rotate(-12deg); }
@keyframes twinkle { 0%,100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.08) rotate(6deg); } }

.section-lead { font-weight: 700; margin: -10px 0 24px; }

.card {
  position: relative;
  background: var(--cream); border-radius: var(--radius);
  padding: 28px 22px; box-shadow: var(--shadow);
}
.card--yellow { background: var(--yellow); }
.card--pink { background: var(--pink); }

.notes { font-size: .9rem; line-height: 1.7; color: var(--ink-soft); }
.notes li + li { margin-top: 4px; }

/* 吹き出し */
.bubble {
  display: inline-block; position: relative;
  background: #fff; color: var(--ink); font-size: .85rem; line-height: 1.3;
  padding: 6px 12px; border-radius: 14px; border: 2px solid var(--ink);
  white-space: nowrap;
}
.bubble::after {
  content: ""; position: absolute; left: 50%; bottom: -9px; width: 0; height: 0;
  border: 8px solid transparent; border-top-color: var(--ink); border-bottom: 0; translate: -50% 0;
}
.bubble--left::after { left: 24px; }

/* 犬(クリックで反応) */
.dog { cursor: pointer; user-select: none; -webkit-user-drag: none; transition: transform .2s; }
.dog.is-wiggling { animation: wiggle .6s ease-in-out; }
@keyframes wiggle {
  0%,100% { transform: rotate(0); } 20% { transform: rotate(-8deg) scale(1.04); } 40% { transform: rotate(8deg); } 60% { transform: rotate(-5deg); } 80% { transform: rotate(5deg); }
}
.dog--hero-shiba.is-wiggling { animation-name: wiggle-upside; }
@keyframes wiggle-upside {
  0%,100% { transform: rotate(180deg); } 20% { transform: rotate(172deg) scale(1.04); } 40% { transform: rotate(188deg); } 60% { transform: rotate(175deg); } 80% { transform: rotate(185deg); }
}
.dog-toast {
  position: fixed; z-index: 120; pointer-events: none;
  font-family: var(--font-hand); font-size: 1rem; color: var(--ink);
  background: #fff; border: 2px solid var(--ink); border-radius: 14px; padding: 6px 14px;
  translate: -50% -100%;
  animation: toast .9s ease-out forwards;
}
@keyframes toast { from { opacity: 0; margin-top: 0; } 20% { opacity: 1; } to { opacity: 0; margin-top: -40px; } }

/* ---------- 2. 公演概要 ---------- */
.about { display: grid; gap: 22px; }
.about__lead { font-weight: 700; font-size: 1.05rem; margin-bottom: 0; }
.about__lead strong { color: var(--red); }
.spec { display: grid; gap: 10px; }
.spec__row { display: grid; grid-template-columns: 6.5em 1fr; gap: 8px; align-items: baseline; border-bottom: 2px dotted var(--pink); padding-bottom: 8px; }
.spec__row dt { font-size: .85rem; font-weight: 900; color: var(--tq-dark); }
.spec__row dd { font-weight: 700; }
.spec__title { font-family: var(--font-display); font-weight: 400; color: var(--red); font-size: 1.15em; }

.warning {
  position: relative;
  background: #fff; border-radius: var(--radius);
  padding: 30px 22px 26px;
  border: 4px solid var(--red);
  box-shadow: var(--shadow), inset 0 0 0 6px var(--pink-pale);
}
.warning::before {
  content: ""; position: absolute; inset: -4px; border-radius: inherit; pointer-events: none;
  background: repeating-linear-gradient(45deg, var(--red) 0 12px, #fff 12px 24px);
  z-index: -1; opacity: .18;
}
.warning__badge {
  position: absolute; right: 12px; top: -26px; width: 64px; height: 64px;
  display: grid; place-items: center;
}
.warning__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--red); }
.warning__badge span { position: relative; font-family: var(--font-display); color: #fff; font-size: 1.5rem; padding-top: 6px; }
.warning__title { font-weight: 900; font-size: 1rem; color: var(--red); margin-bottom: 8px; letter-spacing: .04em; }
.warning__body { font-weight: 700; font-size: 1.05rem; line-height: 1.9; }
.warning__strong { color: var(--red); font-size: 1.15em; background-image: linear-gradient(transparent 60%, var(--pink) 60%, var(--pink) 95%, transparent 95%); }

.flyers { margin-top: 36px; }
.flyers.card { padding: 24px 20px 28px; }
.flyers__title { font-size: 1rem; margin-bottom: 12px; color: var(--ink); }
.flyers__list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 560px; margin: 0 auto; }
.flyer-thumb {
  position: relative; width: 100%; border: 0; padding: 0; background: none; cursor: pointer;
  border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow); transition: transform .2s;
}
.flyer-thumb:nth-child(odd) { transform: rotate(-1.5deg); }
.flyers__list li:nth-child(2) .flyer-thumb { transform: rotate(1.5deg); }
.flyer-thumb:hover { transform: rotate(0) scale(1.03); }
.flyer-thumb img { width: 100%; }
.flyer-thumb__label {
  position: absolute; left: 8px; top: 8px; background: var(--red); color: #fff;
  font-family: var(--font-display); font-size: .85rem; padding: 2px 10px; border-radius: 6px;
}

/* ---------- 3. 上演作品 ---------- */
.works { display: grid; gap: 28px; }
.blob {
  position: relative; background: var(--cream); color: var(--ink);
  padding: 34px 24px 30px;
  box-shadow: var(--shadow);
}
.blob--a { border-radius: 46% 54% 50% 50% / 42% 44% 56% 58%; }
.blob--b { border-radius: 54% 46% 46% 54% / 56% 42% 58% 44%; }
.blob--a { border-radius: 38px 60px 42px 64px / 60px 40px 64px 42px; }
.blob--b { border-radius: 64px 40px 58px 44px / 42px 62px 40px 60px; }
.work__num {
  position: absolute; left: 18px; top: -14px;
  font-family: var(--font-display); font-size: 1.1rem; color: #fff;
  background: var(--tq-dark); padding: 2px 12px; border-radius: 999px; transform: rotate(-4deg);
}
.work__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.35rem, 5.6vw, 1.9rem); line-height: 1.3; }
.work__subtitle { display: block; font-size: .62em; margin-top: 2px; }
.work__close { font-size: 1.6em; line-height: 1; }
.work__credit { font-weight: 700; font-size: .95rem; margin-top: 8px; color: var(--ink-soft); }
.work__credit span { color: var(--ink); font-weight: 900; font-size: 1.1em; }
.dots { height: 6px; margin: 16px 0; background-image: radial-gradient(circle, var(--pink-deep) 2.5px, transparent 3px); background-size: 12px 6px; background-repeat: repeat-x; }
.work__synopsis { font-size: .98rem; line-height: 1.95; }
.work__synopsis p + p { margin-top: .6em; }

/* ---------- 4. 出演・スタッフ ---------- */
.cast-card { padding-top: 40px; margin-top: 40px; }
.cast-card__dog {
  position: absolute; right: 10px; top: -74px; width: 150px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.cast-card__dog .bubble { order: -1; margin-left: 30px; }
.dog--cast { filter: drop-shadow(0 6px 8px rgba(31,110,107,.3)); transform: scaleX(-1); }
.dog--cast.is-wiggling { animation-name: wiggle-flip; }
@keyframes wiggle-flip {
  0%,100% { transform: scaleX(-1) rotate(0); } 20% { transform: scaleX(-1) rotate(-8deg); } 40% { transform: scaleX(-1) rotate(8deg); } 60% { transform: scaleX(-1) rotate(-5deg); } 80% { transform: scaleX(-1) rotate(5deg); }
}

.credits { display: grid; gap: 18px; }
.credit { display: grid; gap: 8px; }
.credit__role {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 400; font-size: 1.1rem; color: var(--tq-dark);
}
.credit__star { width: 22px; height: 22px; fill: var(--pink-deep); }
.names { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1.2;
  background: var(--pink); color: var(--ink); font-weight: 900; font-size: 1.05rem;
  padding: 8px 16px; border-radius: 999px;
}
.chip small { font-size: .68rem; font-weight: 700; color: var(--ink-soft); margin-top: 2px; }
.chip--staff { background: #fff; border: 2px solid var(--pink); font-size: 1rem; }
.cast-card__rule { border: 0; border-top: 3px dotted var(--pink); margin: 24px 0; }
.credits--staff { gap: 12px; }
.credits--staff .credit { grid-template-columns: 4.5em 1fr; align-items: center; }
.credits--staff .credit__role { font-size: 1rem; }

/* ---------- 5. 公演日程 ---------- */
.schedule-card { overflow: hidden; }
.schedule-card__year { font-family: var(--font-display); font-size: 1.1rem; color: var(--tq-dark); margin-bottom: 8px; }
.schedule-card__year span { font-size: 1.7em; color: var(--ink); letter-spacing: .06em; }
.timetable { width: 100%; border-collapse: collapse; }
.timetable thead { display: none; }
.timetable tbody tr, .timetable tbody th, .timetable tbody td { display: block; }
.timetable tbody tr { border-bottom: 3px dotted var(--pink-deep); padding: 12px 0; }
.timetable tbody th, .timetable tbody td { border-bottom: 0; padding: 4px 0; }
.timetable th, .timetable td { text-align: center; padding: 12px 6px; vertical-align: middle; border-bottom: 3px dotted var(--pink-deep); }
.timetable thead th { font-size: .78rem; color: var(--tq-dark); font-weight: 900; border-bottom: 3px solid var(--tq-dark); padding-top: 0; }
.timetable tbody th { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; white-space: nowrap; width: 1%; padding-right: 14px; }
.timetable__dow { font-size: .75em; margin-left: 2px; }
.timetable__dow--sat { color: var(--tq-dark); }
.timetable__dow--sun { color: var(--red); }
.times { display: flex; flex-wrap: wrap; gap: 8px; }
.times li {
  font-family: var(--font-display); font-size: 1.15rem; line-height: 1;
  background: #fff; border: 3px solid var(--pink); color: var(--ink);
  padding: 10px 14px; border-radius: 14px;
}
.schedule-card .notes { margin-top: 18px; }

/* ---------- 6. チケット ---------- */
.ticket-card { text-align: center; padding-bottom: 20px; }
.ticket-card__foot { display: flex; align-items: flex-end; gap: 6px; width: 100%; }
.ticket-card__dog { flex: none; width: 84px; margin-bottom: -34px; transform: rotate(6deg); }
.dog--ticket { filter: drop-shadow(0 6px 8px rgba(31,110,107,.3)); }
.prices { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.price {
  flex: 1 1 130px; max-width: 220px;
  background: #fff; border-radius: 20px; padding: 14px 10px 10px;
  border: 3px solid var(--pink);
}
.price dt { font-weight: 900; font-size: .95rem; color: var(--tq-dark); }
.price dd { line-height: 1; margin-top: 4px; white-space: nowrap; }
.price__num { font-family: var(--font-display); font-size: 2rem; color: var(--red); }
.price__unit { font-weight: 900; font-size: 1rem; margin-left: 2px; }
.ticket-card .notes--single { margin-top: 12px; }
.ticket-card__cta { margin-top: 22px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ticket-card__cta .btn--large { width: 100%; max-width: 380px; font-size: 1.15rem; padding-inline: 1em; }
.ticket-card__url { flex: 1 1 auto; font-size: .8rem; line-height: 1.6; color: var(--ink-soft); word-break: break-all; text-align: center; padding-bottom: 6px; }
.ticket-card__url a { color: var(--tq-dark); }

/* ---------- 7. アクセス ---------- */
.access { display: grid; gap: 20px; }
.access__venue { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; line-height: 1.3; }
.access__box { color: var(--red); }
.access__address { font-weight: 700; margin-top: 6px; }
.access__route { margin-top: 12px; line-height: 1.75; }
.access__route-icon { margin-right: 4px; }
.access__info .btn--ghost { margin-top: 14px; }
.parking {
  margin-top: 20px; background: #fff; border: 3px dashed var(--red); border-radius: 18px;
  padding: 14px 16px; font-size: .92rem; line-height: 1.75;
}
.parking__title { font-weight: 900; color: var(--red); margin-bottom: 4px; }
.map { border-radius: var(--radius); overflow: hidden; border: 5px solid var(--pink); box-shadow: var(--shadow); background: #fff; }
.map__frame { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; border: 0; }

/* ---------- 8. わいわい会とは ---------- */
.waiwai-card { padding-bottom: 20px; }
.waiwai-card__name { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; margin-bottom: 10px; }
.waiwai-card__body { font-size: 1rem; line-height: 1.95; }
.waiwai-card__body p + p { margin-top: .5em; }
.waiwai-card__dog {
  width: 160px; margin: 14px 0 -6px 4px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.waiwai-card__dog .bubble { font-size: .8rem; }
.dog--waiwai { filter: drop-shadow(0 6px 8px rgba(31,110,107,.3)); }

/* ---------- 9. お問い合わせ ---------- */
.section--contact { padding-bottom: 72px; }
.contact-card { text-align: center; padding: 34px 20px; }
.contact-card__lead { font-size: 1.1rem; margin-bottom: 10px; }
.contact-card__mail {
  display: inline-block; font-family: var(--font-display); font-size: clamp(1rem, 4.6vw, 1.5rem);
  color: var(--red); text-decoration: none; word-break: break-all;
  border-bottom: 4px dotted var(--pink-deep); padding-bottom: 2px;
}
.contact-card__mail:hover { border-bottom-style: solid; }
.contact-card__note { margin-top: 12px; font-size: .9rem; font-weight: 700; color: var(--ink-soft); }

/* ---------- フッター ---------- */
.site-footer { background: var(--tq-dark); color: #fff; padding: 56px 0 40px; position: relative; overflow: hidden; }
.site-footer__inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; position: relative; }
.site-footer__dog { width: 100px; margin-bottom: -6px; }
.dog--footer { filter: drop-shadow(0 6px 8px rgba(0,0,0,.25)); }
.site-footer__title {
  font-family: var(--font-display); font-size: 1.6rem; color: var(--red);
  text-shadow: 2px 0 #fff, -2px 0 #fff, 0 2px #fff, 0 -2px #fff, 1.5px 1.5px #fff, -1.5px -1.5px #fff, 1.5px -1.5px #fff, -1.5px 1.5px #fff;
  transform: rotate(-3deg);
}
.site-footer__sub { font-size: .85rem; line-height: 1.7; font-weight: 700; }
.site-footer__disclaimer { font-size: .95rem; color: var(--lime); }
.site-footer .btn--reserve { margin-top: 8px; }
.site-footer__copy { margin-top: 18px; font-size: .8rem; opacity: .85; }

/* ---------- 追従予約ボタン(スマホ) ---------- */
.reserve-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(to top, rgba(31,110,107,.35), transparent);
  transform: translateY(120%); transition: transform .3s ease;
  pointer-events: none;
}
.reserve-bar.is-visible { transform: none; pointer-events: auto; }
.reserve-bar__btn { width: 100%; font-size: 1.1rem; padding: .9em 1em; }
.reserve-bar__price { font-size: .72em; font-weight: 700; background: rgba(255,255,255,.22); padding: 2px 8px; border-radius: 999px; margin-left: 4px; }

/* ---------- チラシ拡大ダイアログ ---------- */
.flyer-dialog {
  border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh;
  width: 100%; height: 100%;
}
.flyer-dialog::backdrop { background: rgba(31,110,107,.88); }
.flyer-dialog[open] { display: grid; place-items: center; }
.flyer-dialog__img { max-width: min(96vw, 720px); max-height: 92vh; width: auto; height: auto; border-radius: 10px; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.flyer-dialog__close {
  position: fixed; right: 12px; top: 12px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--pink); border: 0; font-size: 1.6rem; line-height: 1; cursor: pointer; z-index: 1;
}

/* ---------- タブレット以上 ---------- */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .hero__text { padding-top: 24vw; }
  .about { grid-template-columns: 1fr 1fr; align-items: start; }
  .works { grid-template-columns: 1fr 1fr; align-items: start; }
  .blob { padding: 40px 32px 36px; }
  .cast-card__dog { width: 190px; top: -84px; right: 24px; }
  .ticket-card__dog { width: 130px; right: 0; }
  .credits { grid-template-columns: 1fr; }
  .timetable thead { display: table-header-group; }
  .timetable tbody tr { display: table-row; padding: 0; }
  .timetable tbody th, .timetable tbody td { display: table-cell; padding: 12px 6px; border-bottom: 3px dotted var(--pink-deep); }
  .ticket-card { padding-bottom: 40px; padding-right: 150px; padding-left: 150px; }
  .ticket-card__foot { display: block; }
  .ticket-card__url { text-align: center; padding-bottom: 0; }
  .ticket-card__dog { position: absolute; right: 10px; bottom: -8px; width: 130px; margin: 0; }
  .ticket-card__cta .btn--large { width: auto; font-size: 1.25rem; padding-inline: 2.2em; }
  .waiwai-card { padding-right: 250px; padding-bottom: 32px; min-height: 250px; }
  .waiwai-card__dog { position: absolute; margin: 0; left: auto; right: 12px; bottom: 8px; width: 210px; }
  .map__frame { aspect-ratio: 16 / 10; }
}

/* ---------- PC ---------- */
@media (min-width: 1024px) {
  :root { --header-h: 76px; --gutter: 40px; }
  body { padding-bottom: 0; }
  .pc-only { display: inline; }
  .sp-only { display: none; }
  .reserve-bar { display: none; }

  .brand__sub { font-size: .7rem; }
  .brand__title { font-size: 1.45rem; }
  .nav-toggle { display: none; }
  .site-header__reserve { display: inline-flex; }
  .global-nav {
    position: static; inset: auto; transform: none; opacity: 1; visibility: visible;
    background: none; padding: 0; overflow: visible; transition: none;
    margin-right: 14px;
  }
  .global-nav__list { flex-direction: row; gap: 0; }
  .global-nav__list a {
    padding: 8px 8px; font-size: .82rem; border-bottom: 0; border-radius: 999px; white-space: nowrap;
    transition: background-color .15s;
  }
  .global-nav__list a::before { content: none; }
  .global-nav__list a:hover { background: rgba(255,255,255,.55); }
  .global-nav__list a.is-active { background: var(--pink); color: var(--ink); }
  .global-nav__cta { display: none; }

  .hero { padding: 40px 0 60px; min-height: calc(100vh - var(--header-h)); }
  .hero__inner { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 40px; }
  .hero__text { padding-top: 0; flex: 1 1 auto; max-width: 720px; }
  .hero__title { font-size: clamp(4.4rem, 7.8vw, 7.8rem); }
  .hero__label { font-size: 1.05rem; margin-bottom: 22px; }
  .hero__title { margin-bottom: 26px; }
  .hero__catch { margin-bottom: 30px; }
  .hero__cta { flex-direction: row; align-items: center; gap: 18px; }
  .hero__shiba { right: -50px; top: -30px; width: 340px; }
  .hero__shiba picture { width: 100%; }
  .hero__disclaimer { position: absolute; right: 100%; top: 70px; margin: 0 -30px 0 0; font-size: .85rem; white-space: nowrap; transform: rotate(-4deg); }
  .hero__visual { flex: 0 0 auto; width: 380px; align-items: flex-end; justify-content: flex-start; margin-bottom: -60px; }
  .date-circle {
    width: 260px; aspect-ratio: 1; border-radius: 50%; display: flex; flex-direction: column; justify-content: center;
    padding: 24px; margin: 0 -50px 60px 0; position: relative; z-index: 2; border-width: 4px;
  }
  .date-circle__date { font-size: 2.3rem; }
  .hero__peki { width: 230px; margin-right: 0; position: relative; z-index: 1; }
  .hero__scroll { display: block; }
  .hero__deco-3 { right: 34%; bottom: 8%; }
  .hero__star-2 { right: 40%; top: 24%; width: 90px; height: 90px; }

  .section { padding: 96px 0; }
  .section-title { flex-direction: row; align-items: baseline; gap: 18px; margin-bottom: 40px; }
  .section-title__en { margin-top: 0; font-size: .85rem; }
  .star-badge { width: 92px; height: 92px; left: -30px; top: -34px; }
  .card { padding: 40px 40px; }

  .about { gap: 32px; grid-template-columns: 1.15fr 1fr; }
  .warning { padding: 36px 32px 32px; }
  .warning__body { font-size: 1.15rem; }
  .flyers { margin-top: 48px; }
  .flyers__list { max-width: 620px; gap: 22px; }

  .works { gap: 40px; }
  .blob { padding: 52px 48px 48px; }

  .cast-card { margin-top: 64px; padding-top: 56px; }
  .cast-card__dog { width: 210px; top: -122px; right: 40px; }
  .credits { grid-template-columns: repeat(3, auto); justify-content: start; gap: 40px; }
  .credits--staff { grid-template-columns: repeat(3, auto); gap: 40px; }
  .credits--staff .credit { grid-template-columns: auto 1fr; gap: 14px; }

  .schedule-card { display: grid; grid-template-columns: auto 1fr; column-gap: 48px; align-items: start; }
  .schedule-card__year { grid-row: 1 / 3; font-size: 1.4rem; align-self: center; text-align: center; }
  .schedule-card__year span { display: block; font-size: 3.2rem; line-height: 1; }
  .timetable th, .timetable td { padding: 16px 10px; }
  .timetable tbody th { font-size: 1.5rem; }
  .times li { font-size: 1.4rem; padding: 12px 20px; }

  .ticket-card { padding: 48px 220px 52px; }
  .ticket-card__dog { width: 200px; right: 20px; bottom: -8px; }
  .prices { gap: 24px; }
  .price { flex-basis: 240px; max-width: 260px; padding: 20px 16px 16px; }
  .price__num { font-size: 2.8rem; }

  .access { grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: stretch; }
  .map__frame { aspect-ratio: auto; height: 100%; min-height: 420px; }

  .waiwai-card { padding-right: 340px; min-height: 280px; }
  .waiwai-card__dog { width: 260px; right: 30px; bottom: 10px; }

  .contact-card { padding: 48px; }
  .contact-card__mail { font-size: 1.8rem; }

  .site-footer { padding: 72px 0 48px; }
  .site-footer__dog { width: 130px; }
}

@media (min-width: 1280px) {
  .global-nav__list a { font-size: .9rem; padding: 8px 10px; }
  .hero__visual { width: 440px; }
  .hero__peki { width: 260px; }
  .hero__shiba { right: -60px; top: -40px; width: 420px; }
}

@media (min-width: 1440px) {
  .hero__shiba { right: -40px; }
}

/* ---------- モーション軽減 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- 文字位置を全てセンタリング ---------- */
body { text-align: center; }
.hero__text, .hero__label, .hero__cta, .section-title, .about, .work, .credits, .credit,
.schedule-card, .ticket-card, .access__info, .waiwai-card, .contact-card, .flyers, .names, .spec__row { text-align: center; }
.hero__label, .hero__cta { align-items: center; }
.hero__text { margin: 0 auto; }
.names { justify-content: center; }
.flyers__title, .section-lead, .work__credit, .work__synopsis, .warning { text-align: center; }
.credit { justify-items: center; }
.section-title { align-items: center; }
.chip { align-items: center; }
