/* もりすくスタジオ - Global styles */

:root {
  /* Palette A: ゆめかわポップ */
  --a-bg: #FFF8F4;
  --a-bg-alt: #FFEEF5;
  --a-pink: #FFB8D1;
  --a-pink-deep: #FF8FB8;
  --a-blue: #C7DEFF;
  --a-yellow: #FFF0B8;
  --a-cream: #FFF3E0;
  --a-neon: #FF3FA4;
  --a-china: #C9304A;
  --a-ink: #3D2A3B;
  --a-sub: #8B6B80;

  /* Palette B: ミニマル・ガーリー */
  --b-bg: #FDFBF8;
  --b-bg-alt: #F6F1EC;
  --b-pink: #F6C8D8;
  --b-pink-deep: #E69FB4;
  --b-blue: #D9E3EE;
  --b-yellow: #F2E6C2;
  --b-cream: #F4ECE0;
  --b-neon: #D94F87;
  --b-china: #9E2B38;
  --b-ink: #2A2026;
  --b-sub: #7D6A75;
}

[data-theme="a"] {
  --bg: var(--a-bg);
  --bg-alt: var(--a-bg-alt);
  --pink: var(--a-pink);
  --pink-deep: var(--a-pink-deep);
  --blue: var(--a-blue);
  --yellow: var(--a-yellow);
  --cream: var(--a-cream);
  --neon: var(--a-neon);
  --china: var(--a-china);
  --ink: var(--a-ink);
  --sub: var(--a-sub);
  --font-head: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
  --font-body: "Noto Sans JP", sans-serif;
  --font-accent: "DM Serif Display", serif;
  --radius-card: 28px;
  --radius-pill: 999px;
  --head-weight: 700;
  --letter: 0.02em;
}

[data-theme="b"] {
  --bg: var(--b-bg);
  --bg-alt: var(--b-bg-alt);
  --pink: var(--b-pink);
  --pink-deep: var(--b-pink-deep);
  --blue: var(--b-blue);
  --yellow: var(--b-yellow);
  --cream: var(--b-cream);
  --neon: var(--b-neon);
  --china: var(--b-china);
  --ink: var(--b-ink);
  --sub: var(--b-sub);
  --font-head: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  --font-body: "Noto Sans JP", sans-serif;
  --font-accent: "DM Serif Display", serif;
  --radius-card: 6px;
  --radius-pill: 2px;
  --head-weight: 500;
  --letter: 0.08em;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: 0; background: 0; }

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.head-font {
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  letter-spacing: var(--letter);
}

.accent-font {
  font-family: var(--font-accent);
  font-style: italic;
  letter-spacing: -0.01em;
}

/* ───────── NAV ───────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: color-mix(in srgb, var(--bg) 75%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
  transition: background .3s;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
}
.nav .logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
  display: flex; align-items: center; gap: 10px;
}
.nav .logo .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--pink-deep);
  display: inline-block;
}
[data-theme="b"] .nav .logo .dot { border-radius: 0; transform: rotate(45deg); }

.nav-links {
  display: flex; gap: 24px; align-items: center;
  font-size: 13px;
  color: color-mix(in srgb, var(--ink) 75%, transparent);
}
.nav-links a:hover { color: var(--pink-deep); }
.nav-cta {
  padding: 10px 20px;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  transition: transform .2s;
}
.nav-cta:hover { transform: translateY(-2px); }

@media (max-width: 820px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ───────── HERO ───────── */
.hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1000px 600px at 90% 10%, color-mix(in srgb, var(--pink) 60%, transparent) 0%, transparent 60%),
    radial-gradient(800px 500px at 5% 80%, color-mix(in srgb, var(--blue) 50%, transparent) 0%, transparent 60%),
    radial-gradient(600px 400px at 50% 100%, color-mix(in srgb, var(--yellow) 40%, transparent) 0%, transparent 60%),
    var(--bg);
}
[data-theme="b"] .hero {
  background:
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}

.hero-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 28px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  background: color-mix(in srgb, var(--pink) 40%, white);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--pink-deep);
  margin-bottom: 24px;
}
[data-theme="b"] .hero-eyebrow {
  background: transparent;
  border: 1px solid var(--pink-deep);
  color: var(--pink-deep);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
}
.hero-eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--pink-deep);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.3); }
}

.hero h1 {
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  font-size: clamp(40px, 6.5vw, 76px);
  line-height: 1.15;
  letter-spacing: var(--letter);
  margin-bottom: 28px;
}
.hero h1 .accent-font {
  display: block;
  color: var(--pink-deep);
  font-size: 0.75em;
  margin-top: 8px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(180deg, transparent 60%, var(--yellow) 60%);
  padding: 0 6px;
}
[data-theme="b"] .hero h1 em {
  background: none;
  border-bottom: 2px solid var(--pink-deep);
  padding: 0 2px;
}

.hero p.lead {
  font-size: 16px;
  color: var(--sub);
  margin-bottom: 36px;
  max-width: 480px;
  text-wrap: pretty;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 28px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  transition: transform .2s, box-shadow .2s;
  font-family: var(--font-body);
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px color-mix(in srgb, var(--ink) 35%, transparent); }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-pink {
  background: var(--pink-deep);
  color: white;
}
.btn-pink:hover { transform: translateY(-2px); box-shadow: 0 10px 28px color-mix(in srgb, var(--pink-deep) 50%, transparent); }

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  max-width: 460px;
  margin-left: auto;
}

/* === Hero Sozai (リファレンス再現) === */
.hero-sozai {
  aspect-ratio: 1/1;
  max-width: 620px;
  width: 100%;
  margin-left: auto;
  margin-right: -20px;
  pointer-events: none;
}
.hero-sozai .sozai {
  position: absolute;
  pointer-events: none;
  filter: drop-shadow(0 8px 18px rgba(220, 130, 170, .18));
  animation: sozaiFloat 6s ease-in-out infinite;
}
@keyframes sozaiFloat {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-6px) rotate(var(--rot, 0deg)); }
}
/* 右上：ピンク扇 */
.sozai-fan-pink {
  width: 38%;
  top: 0%;
  right: -2%;
  --rot: 6deg;
  z-index: 4;
}
/* 紫タッセル（中央左寄り、長い） */
.sozai-knot-purple {
  width: 17%;
  top: 4%;
  left: 18%;
  --rot: -4deg;
  z-index: 3;
  animation-delay: .5s;
}
/* ピンクランタン（中央） */
.sozai-lantern-pink {
  width: 22%;
  top: 14%;
  left: 38%;
  --rot: 2deg;
  z-index: 5;
  animation-delay: 1s;
}
/* ピンク中華結び（左） */
.sozai-knot-pink {
  width: 16%;
  top: 38%;
  left: 8%;
  --rot: -8deg;
  z-index: 3;
  animation-delay: 1.5s;
}
/* 桜の月窓（右下大きめ） */
.sozai-moon-window {
  width: 34%;
  bottom: 4%;
  right: 0%;
  --rot: 4deg;
  z-index: 2;
  animation-delay: 2s;
}
/* 桜メダル（左中段） */
.sozai-medal {
  width: 18%;
  top: 42%;
  left: 26%;
  --rot: -6deg;
  z-index: 4;
  animation-delay: .8s;
}
/* ハート宝石ピンク（中下） */
.sozai-heart-pink {
  width: 13%;
  bottom: 18%;
  left: 32%;
  --rot: 8deg;
  z-index: 5;
  animation-delay: 2.5s;
}
/* ハート宝石（虹・上中央） */
.sozai-heart-iri {
  width: 9%;
  top: 52%;
  left: 50%;
  --rot: -4deg;
  z-index: 5;
  animation-delay: 1.8s;
}
/* リボン（下） */
.sozai-ribbon {
  width: 16%;
  bottom: 0%;
  right: 28%;
  --rot: 12deg;
  z-index: 4;
  animation-delay: 3s;
}
/* 桜雲（左下） */
.sozai-sakura-cloud {
  width: 16%;
  bottom: 8%;
  left: 0%;
  --rot: -10deg;
  z-index: 2;
  animation-delay: 1.2s;
}
/* 散らし星 */
.sozai-star {
  width: 5%;
  z-index: 6;
  filter: drop-shadow(0 2px 6px rgba(220,130,170,.3));
}
.sozai-star-1 { top: 30%; left: 60%; --rot: 12deg; animation-delay: .3s; }
.sozai-star-2 { bottom: 30%; right: 8%; --rot: -8deg; width: 4%; animation-delay: 2.2s; }

@media (max-width: 880px) {
  .hero-sozai {
    max-width: 480px;
    margin: 0 auto;
  }
}
.hero-card {
  position: absolute;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(180, 100, 140, 0.18);
  background: var(--cream);
}
.hero-card.c1 {
  inset: 0 30% 20% 0;
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-deep) 100%);
  transform: rotate(-3deg);
  z-index: 2;
}
.hero-card.c2 {
  inset: 18% 0 12% 35%;
  background: linear-gradient(135deg, var(--blue) 0%, #9CBEEB 100%);
  transform: rotate(4deg);
  z-index: 1;
}
.hero-card.c3 {
  inset: 45% 40% 0 10%;
  background: linear-gradient(135deg, var(--yellow) 0%, #FFD96B 100%);
  transform: rotate(-6deg);
  z-index: 3;
}
.placeholder-label {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: rgba(255,255,255,.85);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Sparkle decorations */
.sparkle {
  position: absolute;
  pointer-events: none;
  font-family: var(--font-accent);
  color: var(--pink-deep);
  opacity: 0.7;
  animation: twinkle 3s infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.1); }
}
[data-theme="b"] .sparkle { display: none; }

/* Stats strip */
.stats {
  display: flex; gap: 40px;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px dashed color-mix(in srgb, var(--ink) 20%, transparent);
}
.stat .num {
  font-family: var(--font-accent);
  font-size: 36px;
  color: var(--pink-deep);
  line-height: 1;
}
.stat .lbl {
  font-size: 12px;
  color: var(--sub);
  margin-top: 4px;
}

/* ───────── SECTION ───────── */
section { padding: 100px 0; position: relative; }
.sec-head { text-align: center; margin-bottom: 60px; }
.sec-head .kicker {
  font-family: var(--font-accent);
  color: var(--pink-deep);
  font-size: 20px;
  margin-bottom: 8px;
}
.sec-head h2 {
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: var(--letter);
  line-height: 1.3;
}
.sec-head p { color: var(--sub); margin-top: 14px; font-size: 15px; }

/* ───────── BOOTHS ───────── */
#booths { background: var(--bg-alt); }

.booth-tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 44px;
}
.booth-tab {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: transparent;
  border: 1.5px solid color-mix(in srgb, var(--ink) 15%, transparent);
  font-size: 13px;
  font-weight: 500;
  color: var(--sub);
  transition: all .2s;
}
.booth-tab:hover { border-color: var(--pink-deep); color: var(--pink-deep); }
.booth-tab.active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.booth-showcase {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
  min-height: 520px;
}
@media (max-width: 880px) {
  .booth-showcase { grid-template-columns: 1fr; }
}
.booth-visual {
  aspect-ratio: 4/3;
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 80px rgba(180, 100, 140, 0.2);
  transition: all .5s cubic-bezier(.2,.8,.2,1);
}
.booth-visual .placeholder-label {
  color: rgba(255,255,255,.95);
  font-size: 13px;
  font-weight: 500;
}
.booth-info h3 {
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  font-size: 40px;
  letter-spacing: var(--letter);
  margin-bottom: 14px;
}
.booth-info h3 .num {
  font-family: var(--font-accent);
  font-size: 20px;
  color: var(--pink-deep);
  display: block;
  margin-bottom: 6px;
}
.booth-info .desc {
  color: var(--sub);
  font-size: 15px;
  margin-bottom: 24px;
  text-wrap: pretty;
}
.booth-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.booth-tag {
  padding: 6px 14px;
  background: color-mix(in srgb, var(--pink) 35%, white);
  border-radius: var(--radius-pill);
  font-size: 12px;
  color: var(--pink-deep);
  font-weight: 500;
}
[data-theme="b"] .booth-tag {
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--ink) 20%, transparent);
  color: var(--ink);
}
.booth-features { display: flex; flex-direction: column; gap: 10px; }
.booth-features li {
  list-style: none;
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 14px;
  color: var(--ink);
}
.booth-features li::before {
  content: "✦";
  color: var(--pink-deep);
  font-size: 12px;
  margin-top: 4px;
}
[data-theme="b"] .booth-features li::before { content: "—"; color: var(--sub); }

.booth-grid-mini {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  justify-content: center;
  gap: 12px;
  margin-top: 44px;
}
@media (max-width: 880px) {
  .booth-grid-mini { grid-template-columns: repeat(3, 1fr); }
}
.booth-mini {
  aspect-ratio: 1;
  border-radius: var(--radius-card);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .3s;
  border: 2px solid transparent;
}
.booth-mini:hover { transform: translateY(-4px); }
.booth-mini.active {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--pink) 40%, transparent);
}
.booth-mini .placeholder-label { font-size: 10px; }

/* ───────── PRICING ───────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}
@media (max-width: 820px) { .pricing-grid { grid-template-columns: 1fr; } }

.price-card {
  padding: 36px;
  background: white;
  border-radius: var(--radius-card);
  border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
  position: relative;
  transition: transform .25s, box-shadow .25s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(180,100,140,.15); }
.price-card.featured {
  background: linear-gradient(145deg, var(--pink) 0%, var(--cream) 100%);
  border-color: transparent;
}
[data-theme="b"] .price-card.featured {
  background: var(--bg-alt);
  border-color: var(--pink-deep);
}
.price-card .tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--pink-deep);
  color: white;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 12px;
}
.price-card h3 {
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  font-size: 22px;
  margin-bottom: 20px;
  letter-spacing: var(--letter);
}
.price-rows { display: flex; flex-direction: column; gap: 12px; }
.price-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 10px;
  border-bottom: 1px dashed color-mix(in srgb, var(--ink) 15%, transparent);
}
.price-row .dur { font-size: 14px; color: var(--sub); }
.price-row .amt {
  font-family: var(--font-accent);
  font-size: 22px;
  color: var(--ink);
}
.price-row .amt small { font-size: 11px; color: var(--sub); margin-left: 2px; }
.price-note {
  font-size: 12px;
  color: var(--sub);
  margin-top: 14px;
  padding: 10px 14px;
  background: color-mix(in srgb, var(--yellow) 30%, white);
  border-radius: 10px;
}
[data-theme="b"] .price-note { background: var(--bg-alt); }

.addons {
  margin-top: 24px;
  padding: 28px;
  background: var(--bg-alt);
  border-radius: var(--radius-card);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
[data-theme="b"] .addons { background: white; border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); }
@media (max-width: 820px) { .addons { grid-template-columns: repeat(2, 1fr); } }

.addon-item .addon-lbl {
  font-size: 12px;
  color: var(--sub);
  margin-bottom: 6px;
}
.addon-item .addon-val {
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  font-size: 18px;
}

/* ───────── BOOKING ───────── */
#booking {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}

.booking-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: start;
}
@media (max-width: 960px) { .booking-layout { grid-template-columns: 1fr; } }

.calendar {
  padding: 28px;
  background: white;
  border-radius: var(--radius-card);
  border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
}
.cal-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px;
}
.cal-head h3 {
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  font-size: 22px;
}
.cal-nav { display: flex; gap: 6px; }
.cal-nav button {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--bg-alt);
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.cal-nav button:hover { background: var(--pink); }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-wd {
  text-align: center;
  font-size: 11px;
  color: var(--sub);
  padding: 8px 0;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.cal-wd:first-child { color: var(--china); }
.cal-wd:last-child { color: #4A7DC7; }
.cal-cell {
  aspect-ratio: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  border-radius: 12px;
  font-size: 13px;
  position: relative;
  transition: all .2s;
  border: 1.5px solid transparent;
}
[data-theme="b"] .cal-cell { border-radius: 4px; }
.cal-cell.in-month { color: var(--ink); cursor: pointer; }
.cal-cell.out-month { color: color-mix(in srgb, var(--ink) 20%, transparent); }
.cal-cell.past { opacity: 0.35; cursor: not-allowed; }
.cal-cell .avail {
  font-size: 16px;
  line-height: 1;
  margin-top: 2px;
  font-weight: 600;
}
.cal-cell .day-num { font-size: 12px; font-family: var(--font-accent); }
.cal-cell .avail.ok { color: #3BA37A; }
.cal-cell .avail.few { color: #E09F3E; }
.cal-cell .avail.full { color: var(--china); }
.cal-cell.selected {
  background: var(--pink-deep) !important;
  color: white !important;
  border-color: var(--pink-deep);
}
.cal-cell.selected .avail { color: white !important; }
.cal-cell.has-booking {
  background: color-mix(in srgb, var(--blue) 60%, white);
}
.cal-cell:hover:not(.past):not(.out-month) { background: var(--bg-alt); }

.cal-legend {
  display: flex; gap: 16px; justify-content: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed color-mix(in srgb, var(--ink) 15%, transparent);
  font-size: 11px;
  color: var(--sub);
}
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend .sym { font-weight: 700; font-size: 14px; }

/* Booking form */
.booking-form {
  padding: 28px;
  background: white;
  border-radius: var(--radius-card);
  border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
}
.booking-form h3 {
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  font-size: 22px;
  margin-bottom: 4px;
}
.booking-form .sub {
  color: var(--sub); font-size: 13px; margin-bottom: 20px;
}
.form-row { margin-bottom: 16px; }
.form-row label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}
.form-row label .req { color: var(--china); margin-left: 2px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid color-mix(in srgb, var(--ink) 12%, transparent);
  border-radius: 12px;
  background: var(--bg);
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  transition: border-color .2s;
}
[data-theme="b"] .form-row input,
[data-theme="b"] .form-row select,
[data-theme="b"] .form-row textarea { border-radius: 2px; background: var(--bg-alt); }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--pink-deep);
}
.form-row textarea { min-height: 80px; resize: vertical; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-booth-pick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.form-booth-pick .pick {
  padding: 10px 8px;
  border-radius: 10px;
  border: 1.5px solid color-mix(in srgb, var(--ink) 12%, transparent);
  background: var(--bg);
  font-size: 11px;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
}
.form-booth-pick .pick.on {
  border-color: var(--pink-deep);
  background: color-mix(in srgb, var(--pink) 30%, white);
  color: var(--pink-deep);
  font-weight: 600;
}
.form-note {
  font-size: 12px; color: var(--sub);
  padding: 10px;
  background: color-mix(in srgb, var(--yellow) 25%, white);
  border-radius: 10px;
  margin-bottom: 16px;
}

.submit-btn {
  width: 100%;
  padding: 16px;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  transition: transform .2s, box-shadow .2s;
}
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px color-mix(in srgb, var(--ink) 35%, transparent); }
.submit-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ───────── FLOW ───────── */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: flow;
}
@media (max-width: 820px) { .flow-grid { grid-template-columns: repeat(2, 1fr); } }

.flow-step {
  padding: 28px 24px;
  background: white;
  border-radius: var(--radius-card);
  border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
  position: relative;
  counter-increment: flow;
}
.flow-step::before {
  content: counter(flow, decimal-leading-zero);
  font-family: var(--font-accent);
  font-size: 40px;
  color: var(--pink-deep);
  line-height: 1;
  display: block;
  margin-bottom: 16px;
}
.flow-step h4 {
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  font-size: 18px;
  margin-bottom: 8px;
}
.flow-step p { font-size: 13px; color: var(--sub); }

/* ───────── FAQ ───────── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
  padding: 4px 0;
}
.faq-q {
  width: 100%;
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  text-align: left;
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  font-size: 16px;
  color: var(--ink);
  background: none;
}
.faq-q .q-mark {
  font-family: var(--font-accent);
  color: var(--pink-deep);
  margin-right: 16px;
  font-size: 20px;
}
.faq-q .q-toggle {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .3s;
}
.faq-item.open .faq-q .q-toggle { transform: rotate(45deg); background: var(--pink-deep); color: white; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
  color: var(--sub);
  font-size: 14px;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 20px; }
.faq-a .inner { padding-left: 36px; padding-right: 36px; }

/* ───────── ACCESS ───────── */
#access {
  background: var(--bg-alt);
}
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 820px) { .access-grid { grid-template-columns: 1fr; } }

.access-map {
  aspect-ratio: 5/4;
  border-radius: var(--radius-card);
  background:
    linear-gradient(45deg, transparent 49.5%, color-mix(in srgb, var(--ink) 10%, transparent) 49.5%, color-mix(in srgb, var(--ink) 10%, transparent) 50.5%, transparent 50.5%),
    linear-gradient(-45deg, transparent 49.5%, color-mix(in srgb, var(--ink) 10%, transparent) 49.5%, color-mix(in srgb, var(--ink) 10%, transparent) 50.5%, transparent 50.5%),
    var(--cream);
  background-size: 40px 40px;
  position: relative;
  border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
  overflow: hidden;
}
.access-map .pin {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -100%);
  width: 40px; height: 40px;
  background: var(--pink-deep);
  border-radius: 50% 50% 50% 0;
  transform: translate(-50%, -100%) rotate(-45deg);
  box-shadow: 0 8px 24px rgba(180,100,140,.4);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 16px;
}
.access-map .pin::before {
  content: ""; position: absolute; inset: 8px;
  background: white; border-radius: 50%;
}
.access-map .placeholder-label {
  color: var(--sub);
  font-size: 11px;
  top: auto;
  bottom: 20px;
  align-items: flex-end;
  padding-bottom: 20px;
}

.access-details h3 {
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  font-size: 32px;
  margin-bottom: 8px;
  letter-spacing: var(--letter);
}
.access-details .studio-sub {
  font-family: var(--font-accent);
  color: var(--pink-deep);
  margin-bottom: 24px;
}
.access-table { margin-bottom: 24px; }
.access-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed color-mix(in srgb, var(--ink) 15%, transparent);
  font-size: 14px;
}
.access-row .k {
  color: var(--sub);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
}

/* ───────── SNS ───────── */
.sns-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
@media (max-width: 820px) { .sns-grid { grid-template-columns: repeat(3, 1fr); } }
.sns-cell {
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  background: var(--cream);
  position: relative;
  cursor: pointer;
  transition: transform .25s;
}
.sns-cell:hover { transform: scale(1.03); }
.sns-cell .ph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: ui-monospace, monospace;
  font-size: 9px;
  color: rgba(255,255,255,.8);
  letter-spacing: 0.05em;
}

/* ───────── FOOTER ───────── */
footer {
  padding: 60px 0 40px;
  background: var(--ink);
  color: color-mix(in srgb, var(--bg) 80%, transparent);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 820px) { .footer-inner { grid-template-columns: 1fr 1fr; } }

.footer-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 24px;
  color: var(--bg);
  margin-bottom: 8px;
}
.footer-tag { font-size: 13px; }
.footer-col h5 {
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  font-size: 13px;
  color: var(--bg);
  margin-bottom: 14px;
  letter-spacing: 0.1em;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 12px; }
.footer-col a:hover { color: var(--pink); }
.footer-copy {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 24px 28px 0;
  border-top: 1px solid color-mix(in srgb, var(--bg) 15%, transparent);
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* Toast for booking confirmation */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(200%);
  padding: 16px 28px;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius-pill);
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
  z-index: 200;
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
  font-size: 14px;
  display: flex; align-items: center; gap: 10px;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast .check {
  width: 24px; height: 24px;
  background: var(--pink-deep);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: white;
  font-size: 14px;
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }

/* Terms confirmation checkbox in booking form */
.terms-check {
  margin: 18px 0 18px;
  padding: 14px 16px;
  background: color-mix(in srgb, var(--pink) 18%, white);
  border: 1.5px solid color-mix(in srgb, var(--pink-deep) 18%, transparent);
  border-radius: 14px;
}
.terms-check label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.6;
  cursor: pointer;
}
.terms-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--pink-deep);
  flex-shrink: 0;
}
.terms-check a {
  color: var(--pink-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.terms-check p {
  margin-top: 8px;
  padding-left: 28px;
  font-size: 11px;
  color: var(--sub);
  line-height: 1.7;
}
[data-theme="b"] .terms-check {
  border-radius: 2px;
  background: var(--bg-alt);
}

/* ───────── Calendar Popup ───────── */
.cal-cell { position: relative; }
.booking-dot {
  position: absolute;
  bottom: 4px; left: 50%;
  transform: translateX(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 2px white;
}
.cal-cell.has-booking .booking-dot { background: var(--pink-deep); }

.cal-popup {
  position: absolute;
  transform: translateX(-50%);
  z-index: 50;
  min-width: 240px;
  max-width: 300px;
  background: white;
  border-radius: 16px;
  padding: 14px 16px 14px;
  box-shadow: 0 12px 40px rgba(180,100,140,.25), 0 0 0 1px rgba(0,0,0,.04);
  animation: popIn .18s ease-out;
}
.cal-popup::before {
  content: "";
  position: absolute;
  top: -8px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px; height: 14px;
  background: white;
  border-radius: 3px;
}
@keyframes popIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.cal-popup-close {
  position: absolute;
  top: 6px; right: 8px;
  width: 22px; height: 22px;
  border: none; background: transparent;
  font-size: 18px; line-height: 1;
  color: var(--sub); cursor: pointer;
  border-radius: 50%;
}
.cal-popup-close:hover { background: var(--bg-alt); color: var(--ink); }
.cal-popup-date {
  font-family: var(--font-head);
  font-size: 14px; font-weight: 700;
  color: var(--ink);
  padding-right: 24px;
  margin-bottom: 8px;
}
.cal-popup-count {
  font-size: 11px; font-weight: 600;
  color: var(--pink-deep);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}
.cal-popup-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
  max-height: 200px; overflow-y: auto;
}
.cal-popup-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  background: var(--bg-alt);
  border-radius: 10px;
  font-size: 12px;
}
.cal-popup-time {
  font-weight: 700; color: var(--pink-deep);
  font-variant-numeric: tabular-nums;
}
.cal-popup-booth { color: var(--ink); }
.cal-popup-name { color: var(--sub); font-size: 11px; }
.cal-popup-empty {
  text-align: center;
  padding: 12px 0 4px;
  color: var(--sub);
  font-size: 12px;
}
.cal-popup-empty-mark {
  font-size: 28px;
  color: #3BA37A;
  margin-bottom: 4px;
}
.cal-popup-hint {
  font-size: 10px; color: var(--sub);
  margin-top: 4px;
}


/* === Studio photo update: sample photos + fixed image sizes === */
.hero-card-photo {
  background: #fff;
  padding: 8px;
}
.hero-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-card) - 8px);
  display: block;
}

.booth-showcase {
  grid-template-columns: minmax(0, 1.14fr) minmax(330px, .86fr);
  align-items: center;
  gap: clamp(28px, 4.5vw, 56px);
  min-height: auto;
}

.booth-showcase > * {
  min-width: 0;
}

.booth-photo-visual {
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 0;
  max-height: none;
  background: white !important;
  padding: 10px;
  border: 1px solid color-mix(in srgb, var(--booth-accent, var(--pink-deep)) 26%, white);
  box-shadow: 0 24px 64px rgba(180, 100, 140, 0.18);
}

.booth-photo-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: calc(var(--radius-card) - 10px);
  display: block;
}

.booth-info h3 {
  font-size: clamp(30px, 3.1vw, 44px);
  line-height: 1.25;
}

.booth-info h3 .num {
  font-size: clamp(16px, 1.4vw, 20px);
}

.booth-info .desc {
  font-size: clamp(14px, 1.25vw, 16px);
  line-height: 1.9;
}

.booth-features li {
  font-size: clamp(13px, 1.1vw, 14px);
  line-height: 1.75;
}

.booth-mini-photo {
  aspect-ratio: 4 / 3;
  background: white !important;
  border-radius: 18px;
  padding: 4px;
  box-shadow: 0 10px 24px rgba(180,100,140,.10);
}

.booth-mini-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  display: block;
}

.booth-mini-photo::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 48%, rgba(0,0,0,.42) 100%);
  pointer-events: none;
}

.booth-mini-label {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 9px;
  z-index: 2;
  color: #fff;
  font-size: clamp(10px, 1vw, 12px);
  font-weight: 700;
  text-align: center;
  text-shadow: 0 1px 8px rgba(0,0,0,.55);
}

.booth-mini-photo.active {
  border-color: var(--pink-deep);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--pink-deep) 24%, transparent), 0 16px 34px rgba(180,100,140,.18);
}

@media (max-width: 880px) {
  .booth-showcase {
    grid-template-columns: 1fr;
  }
  .booth-grid-mini {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 560px) {
  .booth-photo-visual {
    padding: 7px;
    border-radius: 22px;
  }
  .booth-photo-visual img {
    border-radius: 16px;
  }
  .booth-grid-mini {
    grid-template-columns: repeat(2, 1fr);
  }
}
