/* ========================================
   TORCH TERASU — Community Space
   Orange + Stripe + Cute & Clean + Pop
   with animated backgrounds & reservation UI
   ボタン・入力・カードは shadcn/ui 系の階層（境界線・リング・控えめシャドウ）を参考に調整
   https://ui.shadcn.com/
   ======================================== */

:root {
  --orange-50:  #fff8f3;
  --orange-100: #ffedd9;
  --orange-200: #ffd9b3;
  --orange-300: #ffc088;
  --orange-400: #ffa35c;
  --orange-500: #ff8a3a;
  --orange-600: #f06f1a;
  --orange-700: #c7520d;
  --peach:      #fff0e6;
  --cream:      #fffcf8;
  --green-50:   #f4faf3;
  --green-100:  #e3f2e0;
  --green-200:  #c5e4bf;
  --green-600:  #4a9e3f;
  --yellow-100: #fff9e6;
  --ink:        #3a2a22;
  --ink-light:  #6b5549;
  --muted:      #9b8479;
  --surface:    #fffdfb;
  --card:       #ffffff;
  --line:       rgba(199, 82, 13, .12);
  --line-light: rgba(199, 82, 13, .06);
  --radius:     20px;
  --radius-sm:  12px;
  --radius-xs:  8px;
  /* shadcn/ui 風: ボタン・入力はややタイトな角丸 */
  --radius-btn: 10px;
  --radius-btn-pill: 999px;
  --border-ui: rgba(58, 42, 34, 0.12);
  --border-ui-strong: rgba(58, 42, 34, 0.18);
  --muted-bg: rgba(58, 42, 34, 0.045);
  --muted-bg-hover: rgba(58, 42, 34, 0.08);
  --ring: rgba(240, 111, 26, 0.4);
  --ring-offset: #fffdfb;
  --shadow-sm:  0 4px 14px rgba(191, 91, 32, .06);
  --shadow-md:  0 12px 32px rgba(191, 91, 32, .09);
  --shadow-lg:  0 20px 50px rgba(191, 91, 32, .12);
  --shadow-btn: 0 1px 2px rgba(58, 42, 34, 0.06);
  --shadow-btn-hover: 0 4px 12px rgba(199, 82, 13, 0.12);
  --font-round: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", sans-serif;
  --font-body:  "Zen Maru Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  --transition: .3s cubic-bezier(.4, 0, .2, 1);
  --transition-fast: .15s cubic-bezier(.4, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

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

img { max-width: 100%; display: block; }
a { color: var(--orange-600); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange-700); }
strong { color: var(--orange-700); font-weight: 700; }

/* ========== ANIMATED BACKGROUND BLOBS ========== */
.bg-blobs {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  overflow: hidden;
}
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: .35;
  animation: blobMove 18s ease-in-out infinite alternate;
}
.blob-1 {
  width: 420px; height: 420px; top: -80px; left: -60px;
  background: radial-gradient(circle, #ffc088, #ff8a3a);
  animation-duration: 20s;
}
.blob-2 {
  width: 350px; height: 350px; top: 40%; right: -100px;
  background: radial-gradient(circle, #ffd9b3, #ffa35c);
  animation-duration: 24s; animation-delay: -4s;
}
.blob-3 {
  width: 300px; height: 300px; bottom: 10%; left: 15%;
  background: radial-gradient(circle, #c5e4bf, #e3f2e0);
  animation-duration: 22s; animation-delay: -8s;
}
.blob-4 {
  width: 260px; height: 260px; top: 25%; left: 50%;
  background: radial-gradient(circle, #fff0e6, #ffc088);
  animation-duration: 26s; animation-delay: -12s;
}
@keyframes blobMove {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(60px, -40px) scale(1.1); }
  66%  { transform: translate(-30px, 50px) scale(.95); }
  100% { transform: translate(40px, 20px) scale(1.05); }
}

/* ========== SECTION BACKGROUNDS ========== */
.section-wrap {
  position: relative; z-index: 1;
}
.bg-warm {
  background:
    repeating-linear-gradient(-22deg, rgba(255,138,58,.04) 0 1.5px, transparent 1.5px 10px),
    linear-gradient(180deg, var(--cream), var(--orange-50));
}
.bg-white {
  background: var(--card);
}
.bg-orange-soft {
  background:
    repeating-linear-gradient(70deg, rgba(255,200,136,.06) 0 1px, transparent 1px 12px),
    linear-gradient(170deg, var(--orange-50), var(--peach));
}
.bg-green-soft {
  background:
    repeating-linear-gradient(-15deg, rgba(74,158,63,.04) 0 1px, transparent 1px 11px),
    linear-gradient(175deg, var(--green-50), var(--green-100));
}
.bg-peach {
  background:
    repeating-linear-gradient(25deg, rgba(255,138,58,.035) 0 1px, transparent 1px 9px),
    linear-gradient(180deg, var(--peach), var(--orange-100));
}
.bg-gradient-cta {
  background: linear-gradient(150deg, var(--orange-100) 0%, var(--peach) 40%, var(--green-100) 100%);
}

/* ========== NAVIGATION ========== */
/* 注意: .nav 本体に backdrop-filter を付けると、子の position:fixed メニューが
   ナビバー高さに閉じ込められることがあるため、ブラーは ::before に限定する */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.nav.menu-open { z-index: 4000; }
.nav::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: 64px;
  background: rgba(255, 253, 251, .92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  box-shadow: none;
  z-index: 0;
  pointer-events: none;
  transition: var(--transition);
}
.nav.scrolled::before {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

/* モバイル: メニュー外タップで閉じる */
.nav-scrim {
  display: none;
  position: fixed;
  inset: 0;
  top: 64px;
  background: rgba(58, 42, 34, .4);
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.nav-scrim.is-visible {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

body.nav-menu-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.nav-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 0 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px;
}
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-round); font-weight: 700; font-size: 1.05rem; color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo span { white-space: nowrap; }
.nav-logo-img { height: 36px; width: auto; flex-shrink: 0; }

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 2px;
  margin: 0;
  padding: 0;
  min-width: 0;
  flex: 1;
}
.nav-links > li { flex-shrink: 0; list-style: none; }
.nav-links > li:last-child { margin-left: 6px; }
.nav-links a {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 10px; border-radius: 999px;
  font-size: .8rem; font-weight: 500; color: var(--ink-light);
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}
.nav-links a:hover { background: var(--orange-100); color: var(--orange-700); }
.nav-links a:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}
/* 最右: 予約CTA（オレンジのピルボタン） */
.nav-links a.nav-reserve {
  padding: 8px 18px;
  background: linear-gradient(180deg, var(--orange-500), var(--orange-600)) !important;
  color: #fff !important;
  font-weight: 700 !important;
  border: 1px solid rgba(199, 82, 13, 0.35) !important;
  box-shadow: var(--shadow-btn) !important;
}
.nav-links a.nav-reserve:hover {
  background: linear-gradient(180deg, var(--orange-600), var(--orange-700)) !important;
  color: #fff !important;
  filter: brightness(1.03);
}
.nav-links a.nav-reserve:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

@media (min-width: 961px) and (max-width: 1120px) {
  .nav-inner { padding: 0 12px; gap: 8px; }
  .nav-logo { font-size: 1rem; gap: 6px; }
  .nav-logo-img { height: 32px; }
  .nav-links { gap: 0; }
  .nav-links a { font-size: .74rem; padding: 5px 7px; }
}

.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; padding: 8px; margin: 0 -8px 0 0;
  position: relative; flex-shrink: 0;
  border-radius: var(--radius-xs);
  -webkit-tap-highlight-color: transparent;
}
.hamburger:focus-visible {
  outline: 2px solid var(--orange-400); outline-offset: 2px;
}
.hamburger span {
  display: block; position: absolute; left: 8px; right: 8px; height: 2.5px;
  border-radius: 2px; background: var(--orange-700); transition: var(--transition);
}
.hamburger span:nth-child(1) { top: 11px; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 11px; }
.hamburger.open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* ========== HERO ========== */
.hero {
  position: relative; z-index: 1; overflow: hidden;
  padding: clamp(120px, 14vh, 170px) clamp(20px, 4vw, 40px) clamp(72px, 10vh, 110px);
  min-height: min(88vh, 920px);
  background:
    radial-gradient(ellipse at 10% 0%, rgba(255,224,194,.55) 0, transparent 50%),
    radial-gradient(ellipse at 85% 20%, rgba(255,200,150,.35) 0, transparent 40%),
    radial-gradient(ellipse at 50% 100%, rgba(255,245,230,.45) 0, transparent 50%),
    var(--cream);
}
.stripe-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(-22deg, rgba(255,138,58,.05) 0 1.5px, transparent 1.5px 9px);
}

/* torch flame sparks — rising embers */
.flame-sparks { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.spark {
  position: absolute; border-radius: 50%;
  animation: sparkRise linear infinite;
  will-change: transform, opacity;
}
.s1  { width: 5px; height: 5px; background: #ffb347; bottom: 12%; left: 18%; animation-duration: 3.2s; }
.s2  { width: 4px; height: 4px; background: #ff8a3a; bottom: 8%;  left: 30%; animation-duration: 4.0s; animation-delay: -.8s; }
.s3  { width: 6px; height: 6px; background: #ffe0b2; bottom: 15%; left: 42%; animation-duration: 3.6s; animation-delay: -1.6s; }
.s4  { width: 3px; height: 3px; background: #ffc088; bottom: 10%; left: 55%; animation-duration: 4.4s; animation-delay: -.4s; }
.s5  { width: 5px; height: 5px; background: #ff9858; bottom: 18%; left: 65%; animation-duration: 3.0s; animation-delay: -2.0s; }
.s6  { width: 4px; height: 4px; background: #ffd9b3; bottom: 6%;  left: 78%; animation-duration: 3.8s; animation-delay: -1.2s; }
.s7  { width: 3px; height: 3px; background: #ffb347; bottom: 20%; left: 25%; animation-duration: 4.2s; animation-delay: -2.5s; }
.s8  { width: 5px; height: 5px; background: #ff8a3a; bottom: 14%; left: 50%; animation-duration: 3.4s; animation-delay: -3.0s; }
.s9  { width: 4px; height: 4px; background: #ffe0b2; bottom: 9%;  left: 38%; animation-duration: 4.6s; animation-delay: -.6s; }
.s10 { width: 6px; height: 6px; background: #ffc088; bottom: 16%; left: 72%; animation-duration: 3.1s; animation-delay: -1.8s; }
.s11 { width: 3px; height: 3px; background: #ff9858; bottom: 11%; left: 85%; animation-duration: 4.8s; animation-delay: -3.5s; }
.s12 { width: 4px; height: 4px; background: #ffd9b3; bottom: 22%; left: 10%; animation-duration: 3.5s; animation-delay: -2.2s; }

@keyframes sparkRise {
  0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  8%   { opacity: .9; }
  40%  { opacity: .7; }
  100% { transform: translateY(-280px) translateX(var(--drift, 15px)) scale(0); opacity: 0; }
}
.s1  { --drift: 12px; }  .s2  { --drift: -18px; } .s3  { --drift: 8px; }
.s4  { --drift: -10px; } .s5  { --drift: 20px; }  .s6  { --drift: -14px; }
.s7  { --drift: 16px; }  .s8  { --drift: -8px; }  .s9  { --drift: 22px; }
.s10 { --drift: -20px; } .s11 { --drift: 10px; }  .s12 { --drift: -16px; }

/* セクション間の装飾帯（中央アイコンなし・全幅グラデーション） */
.torch-divider {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 56px;
  border: none;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  background: linear-gradient(
    90deg,
    #ffd9b3 0%,
    var(--orange-100) 12%,
    var(--peach) 32%,
    #fffefb 50%,
    var(--peach) 68%,
    var(--orange-100) 88%,
    #ffd9b3 100%
  );
}
.torch-divider:nth-of-type(even) {
  background: linear-gradient(
    90deg,
    var(--peach) 0%,
    #fff4ea 18%,
    var(--orange-50) 38%,
    #fffefb 50%,
    var(--orange-50) 62%,
    #fff4ea 82%,
    var(--peach) 100%
  );
}

@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity: .7; }
  50% { transform: scale(1.15); opacity: 1; }
}

.hero-inner {
  position: relative; z-index: 2;
  width: 100%;
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 5vw, 72px); align-items: center;
}
.hero-logo-wrap { text-align: center; order: 0; }
.hero-copy { order: 1; }
.hero-logo {
  width: auto;
  height: auto;
  max-width: min(420px, 38vw);
  max-height: min(42vh, 420px);
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 28px rgba(229,99,36,.18));
  animation: torchSway 4s ease-in-out infinite;
}
@keyframes torchSway {
  0%, 100% { transform: translateY(0) rotate(0deg); filter: drop-shadow(0 8px 20px rgba(229,99,36,.15)); }
  25% { transform: translateY(-6px) rotate(.6deg); filter: drop-shadow(0 12px 28px rgba(255,138,58,.25)); }
  50% { transform: translateY(-10px) rotate(0deg); filter: drop-shadow(0 14px 32px rgba(255,160,80,.3)); }
  75% { transform: translateY(-6px) rotate(-.6deg); filter: drop-shadow(0 12px 28px rgba(255,138,58,.25)); }
}

.hero-copy h1 {
  font-family: var(--font-round);
  font-size: clamp(2.6rem, 6.5vw, 4.5rem);
  font-weight: 800; line-height: 1.15; letter-spacing: .04em;
  background: linear-gradient(135deg, var(--orange-600), var(--orange-400));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc { margin-top: 22px; font-size: clamp(1.02rem, 1.2vw, 1.15rem); line-height: 2; color: var(--ink-light); }
.label {
  font-family: var(--font-round); font-size: .78rem; font-weight: 700;
  letter-spacing: .25em; text-transform: uppercase; color: var(--orange-600);
}
.hero-btns { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

/* ボタン: shadcn/ui 系（境界線・リング・控えめシャドウ）をトーチてらす色で */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 10px 20px;
  border-radius: var(--radius-btn);
  font-family: var(--font-round);
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.25;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  box-shadow: var(--shadow-btn);
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    box-shadow var(--transition-fast),
    transform 0.12s ease;
}
.btn:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}
.btn:active:not(:disabled) {
  transform: scale(0.98);
}
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--orange-500) 0%, var(--orange-600) 100%);
  border-color: rgba(199, 82, 13, 0.42);
  box-shadow: var(--shadow-btn), 0 1px 0 rgba(255, 255, 255, 0.12) inset;
}
.btn-primary:hover:not(:disabled) {
  color: #fff;
  filter: brightness(1.03);
  box-shadow: var(--shadow-btn-hover), 0 1px 0 rgba(255, 255, 255, 0.15) inset;
}
.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  filter: grayscale(0.15);
  box-shadow: none;
}
.btn-outline {
  color: var(--ink);
  background: var(--card);
  border-color: var(--border-ui-strong);
  box-shadow: var(--shadow-btn);
}
.btn-outline:hover:not(:disabled) {
  background: var(--muted-bg-hover);
  border-color: var(--orange-300);
  color: var(--orange-700);
}
.btn-ghost {
  color: var(--ink-light);
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
.btn-ghost:hover:not(:disabled) {
  background: var(--muted-bg-hover);
  color: var(--ink);
}
.btn-lg {
  min-height: 44px;
  padding: 12px 28px;
  font-size: 0.9375rem;
  border-radius: calc(var(--radius-btn) + 2px);
}
.btn-sm {
  min-height: 36px;
  padding: 8px 16px;
  font-size: 0.8125rem;
  margin-top: 16px;
  border-radius: var(--radius-btn);
}
.btn-full { width: 100%; justify-content: center; }

.hero-scroll {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--muted); font-size: .72rem; letter-spacing: .15em;
}
.scroll-line {
  width: 1px; height: 36px; background: var(--orange-300);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .3; transform: scaleY(.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ========== SECTIONS (shared) ========== */
.section {
  max-width: 1100px; margin: 0 auto;
  padding: clamp(52px, 7vw, 88px) 24px;
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.section.visible { opacity: 1; transform: translateY(0); }

.section-label { margin-bottom: 8px; }
.section-label span {
  font-family: var(--font-round); font-size: .74rem; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase; color: var(--orange-500);
  padding: 4px 14px; border-radius: 999px; background: rgba(255,138,58,.1);
}
.section-title {
  font-family: var(--font-round);
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  font-weight: 800; line-height: 1.35; margin-top: 10px;
  position: relative; display: inline-block;
}
.section-title::after {
  content: "";
  position: absolute; bottom: -6px; left: 0;
  width: 0; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--orange-400), var(--orange-200), transparent);
  transition: width .8s ease;
}
.visible .section-title::after {
  width: 100%;
}
.section-sub { margin-top: 10px; color: var(--ink-light); font-size: 1rem; }

/* ========== CONCEPT ========== */
.concept-photo {
  margin: 20px 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line-light);
}
.concept-photo img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}
.concept-grid { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.concept-text p { margin-top: 16px; font-size: 1.02rem; }
.concept-text p:first-child { margin-top: 0; }

.concept-features { display: flex; flex-direction: column; gap: 16px; }
.feature {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 20px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.7); border: 1px solid var(--line-light);
  backdrop-filter: blur(4px);
  opacity: 0; transform: translateX(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.visible .feature { opacity: 1; transform: translateX(0); }
.visible .feature:nth-child(1) { transition-delay: .1s; }
.visible .feature:nth-child(2) { transition-delay: .2s; }
.visible .feature:nth-child(3) { transition-delay: .3s; }
.visible .feature:nth-child(4) { transition-delay: .4s; }

.concept-highlight {
  display: inline-block; margin-top: 18px; padding: 10px 22px;
  background: var(--orange-100); border-radius: 999px;
  font-family: var(--font-round); font-weight: 800; font-size: 1.05rem;
  color: var(--orange-700);
}

.feature-icon { font-size: 1.6rem; flex-shrink: 0; margin-top: 2px; }
.feature h3 { font-family: var(--font-round); font-size: 1rem; font-weight: 700; color: var(--orange-700); }
.feature p { margin-top: 4px; font-size: .88rem; color: var(--ink-light); line-height: 1.6; }

/* ========== SPACE ========== */
.space-cards { margin-top: 28px; display: grid; grid-template-columns: 1fr; gap: 24px; }

.space-card {
  display: grid; grid-template-columns: 380px 1fr;
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease, box-shadow var(--transition);
}
.space-card.visible { opacity: 1; transform: translateY(0); }
.space-card:hover { box-shadow: var(--shadow-md); }

.space-card.large { grid-template-columns: 1fr; }
.space-card.large .space-card-img img { height: 340px; }

.space-card-large-top {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.space-card-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0 2px;
}
.space-card-thumb {
  border-radius: var(--radius-xs);
  overflow: hidden;
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow-sm);
}
.space-card-thumb img {
  width: 100%;
  height: 132px;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.space-card-thumb:hover img { transform: scale(1.03); }
.space-card-extra {
  margin: 16px 0 0;
  padding: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line-light);
  background: var(--surface);
}
.space-card-extra img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  display: block;
}
@media (max-width: 520px) {
  .space-card-gallery {
    grid-template-columns: 1fr;
  }
  .space-card-thumb img {
    height: 160px;
  }
}

.space-card-img { position: relative; overflow: hidden; }
.space-card-img img {
  width: 100%; height: 100%; min-height: 220px; object-fit: cover;
  transition: transform .6s ease;
}
.space-card:hover .space-card-img img { transform: scale(1.04); }
.space-card-img::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 80%, rgba(255,160,80,.15) 0%, transparent 60%);
  opacity: 0; transition: opacity .5s ease; pointer-events: none;
}
.space-card:hover .space-card-img::after { opacity: 1; }

.space-badge {
  position: absolute; top: 14px; left: 14px;
  padding: 5px 14px; border-radius: 999px;
  background: var(--orange-500); color: #fff;
  font-family: var(--font-round); font-size: .78rem; font-weight: 700;
  box-shadow: 0 4px 12px rgba(199,82,13,.3);
}

.space-card-body { padding: 28px 30px; display: flex; flex-direction: column; justify-content: center; }
.space-card-body h3 { font-family: var(--font-round); font-size: 1.25rem; font-weight: 800; color: var(--orange-700); }
.space-card-body p { margin-top: 12px; font-size: .95rem; color: var(--ink-light); line-height: 1.85; }

.space-tags {
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px;
}
.space-tags li {
  padding: 4px 12px; border-radius: 999px;
  background: var(--orange-100); color: var(--orange-700);
  font-size: .8rem; font-weight: 500; font-family: var(--font-round);
}

/* トップ: スペース概要ティーザー */
.space-teasers {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.space-teaser {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease, box-shadow var(--transition), border-color var(--transition);
}
.space-teaser.visible { opacity: 1; transform: translateY(0); }
.space-teaser:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--orange-200);
}
.space-teaser:focus-visible {
  outline: 2px solid var(--orange-500);
  outline-offset: 3px;
}
.space-teaser-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.space-teaser-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.space-teaser:hover .space-teaser-img img { transform: scale(1.04); }
.space-teaser-body {
  padding: 16px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.space-teaser-body h3 {
  font-family: var(--font-round);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--orange-700);
  margin: 0;
}
.space-teaser-body p {
  margin: 0;
  font-size: .86rem;
  color: var(--ink-light);
  line-height: 1.65;
}
.space-teaser-cta {
  text-align: center;
  margin-top: 28px;
}
.space-detail .space-card[id],
.space-detail .rental-block,
.space-detail .other-block {
  scroll-margin-top: 96px;
}
@media (min-width: 900px) {
  .space-teasers {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}
@media (max-width: 520px) {
  .space-teasers {
    grid-template-columns: 1fr;
  }
}

/* ========== PLAN ========== */
.plan-cards { margin-top: 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.plan-card {
  position: relative; background: var(--card); border-radius: var(--radius);
  border: 1px solid var(--border-ui); padding: 32px 22px 24px; text-align: center;
  box-shadow: var(--shadow-sm), 0 1px 0 rgba(255, 255, 255, 0.75) inset; display: flex; flex-direction: column; align-items: center;
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease, box-shadow var(--transition);
}
.plan-card.visible { opacity: 1; transform: translateY(0); }
.plan-card.visible:nth-child(1) { transition-delay: 0s; }
.plan-card.visible:nth-child(2) { transition-delay: .1s; }
.plan-card.visible:nth-child(3) { transition-delay: .2s; }
.plan-card.visible:nth-child(4) { transition-delay: .3s; }
.plan-card:hover { box-shadow: var(--shadow-md), 0 0 40px rgba(255,138,58,.08); }

.plan-card.featured { border: 2px solid var(--orange-400); background: linear-gradient(170deg, #fff 0%, var(--peach) 100%); }
.plan-ribbon {
  position: absolute; top: -1px; right: 20px;
  background: var(--orange-500); color: #fff;
  font-family: var(--font-round); font-size: .72rem; font-weight: 700;
  padding: 4px 14px 6px; border-radius: 0 0 var(--radius-xs) var(--radius-xs);
}
.plan-icon { font-size: 2rem; margin-bottom: 10px; }
.plan-card h3 { font-family: var(--font-round); font-size: 1.05rem; font-weight: 800; }
.plan-desc { margin-top: 6px; font-size: .86rem; color: var(--muted); }
.plan-price { margin-top: 16px; }
.price-num { font-family: var(--font-round); font-size: 2.4rem; font-weight: 800; color: var(--orange-600); line-height: 1; }
.price-unit { font-size: .83rem; color: var(--ink-light); }
.plan-detail { list-style: none; margin-top: 18px; text-align: left; font-size: .86rem; color: var(--ink-light); width: 100%; }
.plan-detail li { padding: 6px 0; border-bottom: 1px dashed var(--line-light); }
.plan-detail li::before { content: "\25CF"; color: var(--orange-400); font-size: .5rem; margin-right: 8px; vertical-align: middle; }
.plan-note { margin-top: 24px; font-size: .85rem; color: var(--muted); text-align: center; line-height: 1.9; }

/* ========== SPACE extras ========== */
.space-catch {
  font-family: var(--font-round); font-weight: 700; font-size: 1rem;
  color: var(--orange-600); margin-top: 8px;
}
.space-price-inline {
  display: flex; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap;
}
.price-tag {
  padding: 6px 16px; border-radius: 999px;
  background: var(--orange-100); color: var(--orange-700);
  font-family: var(--font-round); font-size: .9rem;
}
.price-tag strong { font-size: 1.15rem; }
.price-free {
  padding: 5px 14px; border-radius: 999px;
  background: var(--green-100); color: var(--green-600);
  font-family: var(--font-round); font-size: .82rem; font-weight: 700;
}

.price-table-mini { margin-top: 14px; }
.ptm-row {
  display: flex; align-items: baseline; gap: 10px; padding: 8px 0;
  border-bottom: 1px dashed var(--line-light); font-size: .92rem;
}
.ptm-row span { min-width: 120px; color: var(--muted); font-size: .86rem; }
.ptm-row strong { color: var(--orange-700); font-family: var(--font-round); }
.ptm-row small { color: var(--muted); font-size: .8rem; }
.ptm-row.highlight {
  background: var(--green-50); border-radius: var(--radius-xs);
  padding: 8px 10px; margin-top: 4px; border: none;
}

.piano-schedule { margin-top: 16px; }
.piano-schedule h4, .mini-lesson h4 {
  font-family: var(--font-round); font-size: .92rem; font-weight: 700;
  color: var(--orange-700); margin-bottom: 6px;
}
.schedule-row {
  display: flex; gap: 14px; font-size: .9rem; padding: 4px 0;
}
.schedule-row span { min-width: 50px; color: var(--muted); }

.mini-lesson {
  margin-top: 16px; padding: 16px; border-radius: var(--radius-sm);
  background: var(--orange-50); border: 1px solid var(--line-light);
}
.mini-lesson p { margin-top: 6px; font-size: .88rem; color: var(--ink-light); line-height: 1.75; }

/* rental block */
.rental-block {
  margin-top: 48px; padding: 36px 32px;
  background: var(--peach); border-radius: var(--radius);
  border: 1px solid var(--orange-200);
}
.rental-title {
  font-family: var(--font-round); font-size: 1.3rem; font-weight: 800;
  margin-top: 10px;
}
.rental-catch {
  margin-top: 10px; font-size: 1rem; color: var(--ink-light); line-height: 1.8;
}
.rental-details {
  margin-top: 20px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.rental-price { }
.rental-note { margin-top: 10px; font-size: .84rem; color: var(--muted); }
.rental-features ul {
  list-style: none; padding: 0;
}
.rental-features li {
  padding: 6px 0; font-size: .92rem; color: var(--ink-light);
  border-bottom: 1px dashed var(--line-light);
}
.rental-features li::before {
  content: "\2714"; color: var(--orange-500); margin-right: 8px;
}

/* other block */
.other-block {
  margin-top: 36px; padding: 28px 24px;
  background: var(--surface); border-radius: var(--radius);
  border: 1px solid var(--line-light);
}
.other-title {
  font-family: var(--font-round); font-size: 1.15rem; font-weight: 800;
  text-align: center;
}
.other-items {
  margin-top: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.other-item {
  text-align: center; padding: 18px 12px; border-radius: var(--radius-sm);
  background: var(--card); border: 1px solid var(--line-light);
  opacity: 0; transform: translateY(12px);
  transition: opacity .4s ease, transform .4s ease;
}
.other-item.visible { opacity: 1; transform: translateY(0); }
.other-icon { font-size: 1.8rem; display: block; margin-bottom: 8px; }
.other-item p { font-size: .86rem; color: var(--ink-light); line-height: 1.5; }
.other-idea {
  margin-top: 16px; text-align: center;
  font-family: var(--font-round); font-weight: 700; font-size: .95rem;
  color: var(--orange-600);
}

/* ========== PLAN notices ========== */
.plan-notices {
  margin-top: 32px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.notice-item {
  padding: 22px 20px; border-radius: var(--radius-sm);
  background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  opacity: 0; transform: translateY(12px);
  transition: opacity .4s ease, transform .4s ease;
}
.notice-item.visible { opacity: 1; transform: translateY(0); }
.notice-item h4 {
  font-family: var(--font-round); font-size: .95rem; font-weight: 700;
  margin-bottom: 8px;
}
.notice-item p { font-size: .88rem; color: var(--ink-light); line-height: 1.75; }

.plan-ribbon.accent { background: var(--ink); }

/* ========== RESERVATION ========== */
.reserve-layout {
  margin-top: 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start;
}
/* hidden 時も display:grid が勝つブラウザ向けに確実に非表示 */
#reserveInteractive[hidden] {
  display: none !important;
}
.reserve-left, .reserve-right { display: flex; flex-direction: column; gap: 20px; }

/* space selector */
.space-selector label {
  display: block; margin-bottom: 8px;
  font-family: var(--font-round); font-size: .9rem; font-weight: 700;
}
.space-btns {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border-radius: calc(var(--radius-btn) + 4px);
  background: var(--muted-bg);
  border: 1px solid var(--border-ui);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}
.space-btn {
  padding: 8px 16px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  background: transparent;
  font-family: var(--font-round);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-light);
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}
.space-btn:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 1px;
}
.space-btn.active {
  background: linear-gradient(180deg, var(--orange-500), var(--orange-600));
  color: #fff;
  border-color: rgba(199, 82, 13, 0.35);
  box-shadow: var(--shadow-btn), 0 1px 0 rgba(255, 255, 255, 0.12) inset;
}
.space-btn:hover:not(.active) {
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
}

/* calendar */
.cal-wrap {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border-ui);
  padding: 22px;
  box-shadow: var(--shadow-sm), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}
.cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-month { font-family: var(--font-round); font-size: 1.1rem; font-weight: 800; }
.cal-nav {
  background: var(--card);
  border: 1px solid var(--border-ui);
  border-radius: var(--radius-btn);
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--orange-600);
  box-shadow: var(--shadow-btn);
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}
.cal-nav:hover {
  background: var(--muted-bg-hover);
  border-color: var(--orange-200);
}
.cal-nav:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

.cal-weekdays {
  display: grid; grid-template-columns: repeat(7, 1fr); text-align: center;
  font-family: var(--font-round); font-size: .76rem; font-weight: 700;
  color: var(--muted); margin-bottom: 6px;
}
.cal-weekdays span:first-child { color: #e05555; }
.cal-weekdays span:last-child  { color: #4a82c7; }

.cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-day {
  aspect-ratio: 1;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  background: var(--orange-50);
  color: var(--ink);
  font-family: var(--font-round);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform 0.12s ease;
  position: relative;
}
.cal-day:hover:not(:disabled):not(.empty) {
  transform: scale(1.04);
  border-color: var(--orange-200);
}
.cal-day:focus-visible:not(:disabled) {
  outline: 2px solid var(--ring);
  outline-offset: 1px;
}
.cal-day.empty { background: transparent; cursor: default; }
.cal-day.past, .cal-day.none { background: #f5f5f5; color: #ccc; cursor: default; }
.cal-day.available::after {
  content: ""; position: absolute; bottom: 3px; left: 50%; transform: translateX(-50%);
  width: 6px; height: 6px; border-radius: 50%; background: var(--green-600);
}
.cal-day.few::after {
  content: ""; position: absolute; bottom: 3px; left: 50%; transform: translateX(-50%);
  width: 6px; height: 6px; border-radius: 50%; background: #e8a030;
}
.cal-day.full { background: #fceaea; color: #c55; cursor: not-allowed; }
.cal-day.full::after { content: "\00D7"; position: absolute; bottom: 1px; left: 50%; transform: translateX(-50%); font-size: .6rem; color: #c55; }
.cal-day.selected {
  background: var(--orange-600);
  color: #fff;
  border-color: rgba(199, 82, 13, 0.35);
  box-shadow: var(--shadow-btn);
}
.cal-day.selected::after { background: #fff; }

/* イベント日: 底の◯ではなくセル全体の背景で識別。予約可/わずかは左ボーダーで表示 */
.cal-day.has-event.available:not(.selected)::after,
.cal-day.has-event.few:not(.selected)::after,
.cal-day.has-event.selected::after {
  display: none;
}
.cal-day.has-event:not(.past):not(.selected) {
  background: linear-gradient(165deg, #c5ec98 0%, #def5b8 38%, #f0fbe0 100%);
  border-color: rgba(90, 140, 50, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}
.cal-day.has-event.available:not(.selected) {
  border-left: 4px solid var(--green-600);
}
.cal-day.has-event.few:not(.selected) {
  border-left: 4px solid #e8a030;
}
.cal-day.has-event.past {
  background: #e4e9e0;
  color: #b8b8b8;
}
.cal-day.has-event.full:not(.selected) {
  background: linear-gradient(165deg, #c5ec98 0%, #fce8e8 100%);
  border-color: rgba(197, 85, 85, 0.28);
}
.cal-day.has-event.selected {
  background: linear-gradient(145deg, var(--orange-600) 0%, #c7520d 100%);
  color: #fff;
  border-color: rgba(199, 82, 13, 0.45);
  box-shadow: var(--shadow-btn);
}

.cal-legend {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: .76rem;
  color: var(--muted);
}
.legend-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 3px; vertical-align: middle; }
.legend-dot.available { background: var(--green-600); }
.legend-dot.few { background: #e8a030; }
.legend-dot.full { background: #c55; }
.legend-dot.event {
  border-radius: 3px;
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, #c5ec98, #9fd65c);
  border: 1px solid rgba(74, 158, 63, 0.35);
}
.cal-legend-note {
  margin-left: 2px;
  font-size: 0.72rem;
  color: var(--muted);
}

.news-title a {
  color: var(--orange-700);
  text-decoration: none;
}
.news-title a:hover {
  color: var(--orange-600);
  text-decoration: underline;
}

/* time slots */
.time-slots-wrap {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border-ui);
  padding: 20px;
  box-shadow: var(--shadow-sm), 0 1px 0 rgba(255, 255, 255, 0.75) inset;
}
.time-slots-wrap h4 { font-family: var(--font-round); font-size: .95rem; font-weight: 800; }
.time-slots-hint { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.time-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; margin-top: 12px; }
.time-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 6px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border-ui);
  background: var(--card);
  font-family: var(--font-round);
  font-size: 0.8125rem;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}
.time-slot.open:hover {
  border-color: var(--orange-300);
  background: var(--orange-50);
}
.time-slot:focus-visible.open {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}
.time-slot.chosen {
  border-color: var(--orange-500);
  background: var(--orange-100);
  box-shadow: 0 0 0 2px var(--ring-offset), 0 0 0 4px rgba(255, 138, 58, 0.22);
}
.time-slot.closed { background: #f5f5f5; color: #bbb; cursor: not-allowed; border-color: #eee; }
.ts-time { font-size: .82rem; font-weight: 700; }
.ts-label { font-size: .9rem; margin-top: 2px; }
.time-slot.open .ts-label { color: var(--green-600); font-weight: 800; }
.time-slot.closed .ts-label { color: #ccc; }
.time-slot.anchor {
  border-color: var(--orange-600) !important;
  background: var(--orange-100) !important;
  box-shadow: 0 0 0 2px var(--ring-offset), 0 0 0 4px rgba(255, 138, 58, 0.35);
}
.time-slots-empty { text-align: center; padding: 16px; color: var(--muted); }

.btn-range-clear {
  margin: 8px 0 14px;
  padding: 8px 14px;
  min-height: 36px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  background: transparent;
  font-family: var(--font-round);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.btn-range-clear:hover {
  background: var(--muted-bg-hover);
  color: var(--orange-700);
}
.btn-range-clear:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

/* form */
.reserve-form {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border-ui);
  padding: 26px;
  box-shadow: var(--shadow-sm), 0 1px 0 rgba(255, 255, 255, 0.75) inset;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; margin-bottom: 5px;
  font-family: var(--font-round); font-size: .86rem; font-weight: 700; color: var(--ink);
}
.req { color: #e05555; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  min-height: 40px;
  padding: 10px 12px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border-ui-strong);
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--ink);
  background: var(--card);
  box-shadow: 0 1px 2px rgba(58, 42, 34, 0.04) inset;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-group textarea {
  min-height: auto;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--orange-400);
  box-shadow: 0 0 0 2px var(--ring-offset), 0 0 0 4px rgba(255, 138, 58, 0.2);
}
.form-group textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.form-summary {
  margin: 18px 0; padding: 16px; border-radius: var(--radius-sm);
  background: var(--orange-50); border: 1px solid var(--orange-200);
}
.form-summary h4 { font-family: var(--font-round); font-size: .9rem; font-weight: 800; margin-bottom: 8px; }
.form-summary p { font-size: .88rem; margin-top: 4px; }

.form-note { margin-top: 12px; font-size: .82rem; color: var(--muted); text-align: center; }

/* 利用規約（予約フォーム） */
.terms-block {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid var(--line-light);
}
.terms-block-head {
  margin-bottom: 10px;
}
.terms-block-head label {
  font-family: var(--font-round);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}
.terms-block-hint {
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
}
.terms-scroll {
  max-height: min(52vh, 320px);
  overflow: auto;
  padding: 14px 16px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border-ui);
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(58, 42, 34, 0.04) inset;
  -webkit-overflow-scrolling: touch;
}
.terms-scroll:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}
.terms-h {
  font-family: var(--font-round);
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--orange-700);
}
.terms-section {
  margin-bottom: 14px;
}
.terms-section:last-of-type {
  margin-bottom: 0;
}
.terms-section h5 {
  font-family: var(--font-round);
  font-size: 0.84rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--ink);
}
.terms-section p,
.terms-section li {
  font-size: 0.8rem;
  color: var(--ink-light);
  line-height: 1.75;
}
.terms-section ul {
  margin: 0;
  padding-left: 1.15em;
}
.terms-section li {
  margin-top: 4px;
}
.terms-footnote {
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--muted);
}
.terms-table-wrap {
  margin: 10px 0 12px;
  overflow-x: auto;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border-ui);
  background: var(--card);
}
.terms-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.76rem;
}
.terms-table th,
.terms-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--line-light);
  text-align: left;
  vertical-align: top;
}
.terms-table th {
  font-family: var(--font-round);
  font-weight: 700;
  color: var(--orange-700);
  background: var(--orange-50);
  white-space: nowrap;
}
.terms-table tr:last-child td {
  border-bottom: none;
}
.terms-agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border-ui);
  background: var(--card);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
}
.terms-agree input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--orange-600);
  flex-shrink: 0;
}

/* modal */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(58,42,34,.5); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity var(--transition);
}
.modal-overlay.show { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border-ui);
  padding: 36px 32px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-lg), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.modal-overlay.show .modal { transform: translateY(0) scale(1); }
.modal-icon { font-size: 2.4rem; margin-bottom: 10px; }
.modal h3 { font-family: var(--font-round); font-size: 1.15rem; font-weight: 800; margin-bottom: 8px; }
.modal p { font-size: .92rem; color: var(--ink-light); line-height: 1.7; margin-bottom: 14px; }
.modal-sub { font-size: .86rem !important; color: var(--muted) !important; }

.reserve-loading {
  text-align: center; padding: 28px 16px; color: var(--muted);
  font-size: .95rem; font-family: var(--font-round);
}
.reserve-fallback {
  max-width: 560px; margin: 0 auto 28px; padding: 28px 24px;
  background: var(--orange-50); border-radius: var(--radius);
  border: 1px solid var(--orange-200); text-align: center;
}
.reserve-fallback-lead { font-size: .95rem; color: var(--ink-light); line-height: 1.85; margin-bottom: 8px; }
.reserve-fallback-btns { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.reserve-fallback-note {
  margin-top: 18px; font-size: .82rem; color: var(--muted); line-height: 1.65;
}
.reserve-fallback-note code { font-size: .78rem; background: var(--card); padding: 2px 6px; border-radius: 4px; }

.reserve-setup-panel {
  text-align: left;
  margin: 20px 0 16px;
  padding: 18px 18px 20px;
  background: var(--card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-ui);
  box-shadow: var(--shadow-sm);
}
.reserve-setup-title {
  font-family: var(--font-round);
  font-size: .95rem;
  font-weight: 800;
  color: var(--orange-700);
  margin-bottom: 10px;
}
.reserve-setup-text {
  font-size: .86rem;
  color: var(--ink-light);
  line-height: 1.75;
  margin-bottom: 10px;
}
.reserve-setup-text:last-of-type { margin-bottom: 14px; }
.reserve-setup-panel .btn { margin-top: 4px; }

.reserve-diag {
  display: block;
  text-align: left;
  font-size: .72rem;
  line-height: 1.5;
  color: var(--muted);
  background: rgba(58, 42, 34, 0.06);
  border: 1px dashed var(--line);
  border-radius: var(--radius-xs);
  padding: 12px 14px;
  margin: 12px 0 16px;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 200px;
  overflow: auto;
}

.reserve-note-box {
  margin-top: 24px; padding: 20px 24px;
  background: var(--green-50); border-radius: var(--radius-sm);
  border: 1px solid var(--green-200); text-align: center;
}
.reserve-note-box p { font-size: .93rem; color: var(--ink-light); line-height: 1.8; }

/* ========== HOW TO ========== */
.steps {
  margin-top: 36px; display: flex; align-items: flex-start; gap: 0;
}
.step {
  flex: 1; text-align: center; padding: 24px 18px;
  background: rgba(255,255,255,.75); backdrop-filter: blur(4px);
  border-radius: var(--radius); border: 1px solid rgba(74,158,63,.12);
  box-shadow: var(--shadow-sm);
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}
.step.visible { opacity: 1; transform: translateY(0); }
.step.visible:nth-child(1) { transition-delay: 0s; }
.step.visible:nth-child(3) { transition-delay: .15s; }
.step.visible:nth-child(5) { transition-delay: .3s; }
.step.visible:nth-child(7) { transition-delay: .45s; }

.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
  color: #fff; font-family: var(--font-round); font-size: 1.1rem; font-weight: 800;
  margin-bottom: 14px;
  box-shadow: 0 4px 16px rgba(255,138,58,.3);
  animation: numGlow 3s ease-in-out infinite;
}
@keyframes numGlow {
  0%, 100% { box-shadow: 0 4px 16px rgba(255,138,58,.3); }
  50% { box-shadow: 0 6px 24px rgba(255,138,58,.45), 0 0 40px rgba(255,160,80,.15); }
}
.step h3 { font-family: var(--font-round); font-size: .96rem; font-weight: 700; color: var(--orange-700); }
.step p { margin-top: 10px; font-size: .86rem; color: var(--ink-light); line-height: 1.7; }

.step-arrow {
  flex-shrink: 0; width: 32px; height: 2px; margin-top: 46px;
  background: var(--orange-300); position: relative;
}
.step-arrow::after {
  content: ""; position: absolute; right: -1px; top: -4px;
  border: 5px solid transparent; border-left-color: var(--orange-300);
}

/* ========== ACCESS ========== */
.access-grid { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.access-table { width: 100%; border-collapse: collapse; }
.access-table th, .access-table td {
  padding: 14px 16px; border-bottom: 1px solid var(--line-light);
  font-size: .94rem; text-align: left; vertical-align: top;
}
.access-table th {
  width: 110px; font-weight: 700; color: var(--orange-700);
  font-family: var(--font-round); white-space: nowrap;
}
.access-note { margin-top: 18px; font-size: .85rem; color: var(--muted); }
.access-map-wrap { margin-top: 20px; max-width: 100%; }
.access-map {
  display: block; width: 100%; min-height: 280px; border: 0;
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.access-photo-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.access-photo-stack img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* ========== FAQ ========== */
.faq-list { margin-top: 28px; max-width: 800px; }
.faq-item {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  margin-bottom: 12px; background: rgba(255,255,255,.8);
  overflow: hidden; backdrop-filter: blur(4px);
  opacity: 0; transform: translateY(12px);
  transition: opacity .4s ease, transform .4s ease;
}
.faq-item.visible { opacity: 1; transform: translateY(0); }
.faq-item.visible:nth-child(1) { transition-delay: 0s; }
.faq-item.visible:nth-child(2) { transition-delay: .06s; }
.faq-item.visible:nth-child(3) { transition-delay: .12s; }
.faq-item.visible:nth-child(4) { transition-delay: .18s; }
.faq-item.visible:nth-child(5) { transition-delay: .24s; }
.faq-item.visible:nth-child(6) { transition-delay: .3s; }
.faq-item.visible:nth-child(7) { transition-delay: .36s; }

.faq-item summary {
  padding: 18px 22px; cursor: pointer;
  font-family: var(--font-round); font-weight: 700; font-size: 1rem;
  list-style: none; position: relative; padding-right: 48px;
  transition: background var(--transition);
}
.faq-item summary:hover { background: var(--orange-50); }
.faq-item summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--orange-500); font-weight: 400;
  transition: transform var(--transition);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { padding: 0 22px 20px; font-size: .93rem; color: var(--ink-light); line-height: 1.8; }

/* ========== CTA ========== */
.cta-section { text-align: center; }
.cta-inner {
  max-width: 640px; margin: 0 auto; padding: 52px 36px;
  background: rgba(255,255,255,.65); backdrop-filter: blur(10px);
  border-radius: var(--radius); border: 1px solid var(--orange-200);
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.cta-inner::before {
  content: ""; position: absolute; top: -40px; left: 50%; transform: translateX(-50%);
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,138,58,.2) 0%, transparent 65%);
  animation: glowPulse 4s ease-in-out infinite;
  pointer-events: none;
}
.cta-inner h2 { font-family: var(--font-round); font-size: 1.5rem; font-weight: 800; }
.cta-inner p { margin-top: 14px; color: var(--ink-light); font-size: .98rem; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* ========== FOOTER ========== */
.footer {
  position: relative; z-index: 1;
  background: var(--ink); color: rgba(255,255,255,.7); padding: 48px 24px 28px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo { height: 52px; width: auto; filter: brightness(0) invert(1); opacity: .85; }
.footer-brand p { font-family: var(--font-round); font-size: .9rem; line-height: 1.5; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { color: rgba(255,255,255,.6); font-size: .86rem; }
.footer-links a:hover { color: var(--orange-300); }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.7);
  transition: background var(--transition), color var(--transition);
}
.footer-social a:hover { background: var(--orange-500); color: #fff; }
.footer-copy {
  max-width: 1100px; margin: 28px auto 0; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .78rem; text-align: center; color: rgba(255,255,255,.35);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 960px) {
  .hamburger { display: block; z-index: 3; }

  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    margin: 0;
    padding: 12px 16px max(24px, env(safe-area-inset-bottom));
    max-height: calc(100dvh - 64px);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background:
      repeating-linear-gradient(-18deg, rgba(255, 138, 58, .04) 0 1px, transparent 1px 10px),
      linear-gradient(180deg, var(--cream) 0%, var(--orange-50) 55%, var(--peach) 100%);
    border-top: 1px solid var(--line-light);
    box-shadow: 0 12px 40px rgba(191, 91, 32, .1);
    transform: translateX(100%);
    pointer-events: none;
    transition: transform .34s cubic-bezier(.4, 0, .2, 1);
  }
  .nav-links.open {
    transform: translateX(0);
    pointer-events: auto;
  }
  .nav-links li { width: 100%; list-style: none; }
  .nav-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 16px 18px;
    border-radius: var(--radius-sm);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
    border-bottom: 1px solid var(--line-light);
    box-sizing: border-box;
  }
  .nav-links a:hover,
  .nav-links a:active {
    background: var(--orange-100);
    color: var(--orange-700);
  }
  .nav-links > li:last-child { margin-left: 0; }
  .nav-links a.nav-reserve {
    margin-top: 16px;
    border-bottom: none !important;
    border-radius: 999px !important;
    justify-content: center !important;
    background: linear-gradient(135deg, var(--orange-500), var(--orange-600)) !important;
    color: #fff !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 16px rgba(229, 99, 36, .28);
  }
  .nav-links a.nav-reserve:hover,
  .nav-links a.nav-reserve:active {
    color: #fff !important;
    filter: brightness(1.05);
    background: linear-gradient(135deg, var(--orange-600), var(--orange-700)) !important;
  }

  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 28px; }
  .hero-logo-wrap { order: 0; }
  .hero-copy { order: 1; }
  .hero-logo {
    max-width: min(300px, 78vw);
    max-height: min(38vh, 340px);
  }
  .hero-btns { justify-content: center; }
  .hero-scroll { display: none; }
  .concept-grid { grid-template-columns: 1fr; gap: 28px; }
  .space-card { grid-template-columns: 1fr; }
  .space-card-img img { height: 240px; }
  .space-card.large .space-card-img img { height: 240px; }
  .plan-cards { grid-template-columns: repeat(2, 1fr); }
  .reserve-layout { grid-template-columns: 1fr; }
  .rental-details { grid-template-columns: 1fr; }
  .plan-notices { grid-template-columns: 1fr; }
  .other-items { grid-template-columns: repeat(2, 1fr); }
  .steps { flex-direction: column; align-items: stretch; gap: 12px; }
  .step-arrow { display: none; }
  .access-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero {
    padding: 100px 18px 48px;
    min-height: unset;
  }
  .section { padding-left: 18px; padding-right: 18px; }
  .plan-cards { grid-template-columns: 1fr; }
  .plan-card.featured { order: -1; }
  .other-items { grid-template-columns: 1fr 1fr; }
  .ptm-row { flex-wrap: wrap; }
  .ptm-row span { min-width: 80px; }
  .reserve-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .time-slots { grid-template-columns: repeat(3, 1fr); }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }

  .blob-1 { width: 250px; height: 250px; }
  .blob-2 { width: 200px; height: 200px; }
  .blob-3 { width: 180px; height: 180px; }
  .blob-4 { width: 160px; height: 160px; }

  .spark:nth-child(n+9) { display: none; }
}

/* ========== SUBPAGES（コンセプト・ニュース・イベント・スペース紹介）========== */
.subpage-main {
  position: relative;
  z-index: 1;
  padding-top: 88px;
  padding-bottom: 48px;
}
/* 下層ではスクロール演出用の .section 初期非表示を使わない（本文が消えたままになるのを防ぐ） */
.subpage-main .section {
  opacity: 1;
  transform: none;
}
.subpage-hero {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 24px 8px;
  text-align: center;
}
.subpage-title {
  font-family: var(--font-round);
  font-size: clamp(1.45rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--orange-700);
  line-height: 1.45;
}
.subpage-lead {
  margin-top: 16px;
  font-size: .95rem;
  color: var(--ink-light);
  text-align: left;
  line-height: 1.85;
}
.subpage-article {
  max-width: 720px;
  margin: 0 auto;
}
.subpage-h2 {
  font-family: var(--font-round);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--orange-700);
  margin: 1.25em 0 0.6em;
}
.prose-block p {
  margin-bottom: 1em;
}
.prose-block p:last-child { margin-bottom: 0; }

.concept-lead p { margin-bottom: 1em; }

/* コンセプト下層: プロローグを折りたたみなしでリードに続けて表示 */
.concept-prologue {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-light);
}
.concept-bullets {
  margin: 0.75em 0 1em 1.1em;
  color: var(--ink-light);
}
.concept-bullets li { margin-bottom: 0.45em; }

.owner-aside {
  margin-top: 1.75rem;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--muted-bg);
  border: 1px dashed var(--line);
  font-size: .88rem;
  color: var(--ink-light);
}
.owner-aside-title {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.owner-name {
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.owner-creds {
  margin-top: 10px;
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.6;
}

.subpage-back { margin-top: 28px; text-align: center; }
.subpage-note {
  font-size: .85rem;
  color: var(--muted);
  margin-top: 20px;
  text-align: center;
}

.concept-to-page { margin-top: 14px; }

/* ========== MEMBERSHIP ========== */
.membership-block {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.membership-heading {
  font-family: var(--font-round);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--orange-700);
  text-align: center;
  margin-bottom: 10px;
}
.membership-intro {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 28px;
  font-size: .92rem;
  color: var(--ink-light);
}
.membership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
}
.membership-card {
  background: var(--card);
  border: 1px solid var(--border-ui);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow-sm);
}
.membership-card h4 {
  font-family: var(--font-round);
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 6px;
}
.membership-card--corp {
  border-color: rgba(74, 158, 63, 0.25);
  background: linear-gradient(165deg, #fffdfb, var(--green-50));
}
.membership-price {
  font-size: 1.5rem;
  color: var(--orange-700);
  margin-bottom: 12px;
}
.membership-price span {
  font-size: .88rem;
  font-weight: 500;
  color: var(--ink-light);
  margin-left: 4px;
}
.membership-perks-title {
  font-size: .78rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.membership-card ul {
  list-style: none;
  font-size: .9rem;
  color: var(--ink-light);
  line-height: 1.65;
}
.membership-card li {
  padding-left: 1em;
  position: relative;
}
.membership-card li::before {
  content: "＊";
  position: absolute;
  left: 0;
  color: var(--orange-500);
  font-size: .75rem;
}
.membership-andmore {
  font-weight: 700;
  color: var(--orange-600);
  margin-top: 6px;
}
.membership-note {
  max-width: 640px;
  margin: 24px auto 0;
  font-size: .86rem;
  color: var(--ink-light);
  text-align: center;
  line-height: 1.75;
}
.membership-events-link {
  text-align: center;
  margin-top: 14px;
  font-size: .9rem;
}

/* ── イベントページ（ユース / サンデー / コンサート） ── */
.event-page-inner {
  max-width: 720px;
  margin: 0 auto;
}
.event-programs {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.event-program {
  background: var(--card);
  border: 1px solid var(--border-ui);
  border-radius: var(--radius);
  padding: 26px 28px 24px;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 88px;
}
.event-program-title {
  font-family: var(--font-round);
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--orange-700);
  margin-bottom: 16px;
  line-height: 1.35;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.event-program-mark {
  color: var(--orange-500);
  font-weight: 900;
  flex-shrink: 0;
}
.event-program-body p {
  font-size: .95rem;
  color: var(--ink-light);
  line-height: 1.95;
  margin-bottom: 0.85em;
  text-align: left;
}
.event-program-body p:last-child {
  margin-bottom: 0;
}
.event-program-bullets {
  margin: 12px 0 8px 1.25em;
  padding: 0;
  font-size: .95rem;
  color: var(--ink-light);
  line-height: 1.85;
}
.event-program-bullets li {
  margin-bottom: 0.35em;
}
.event-program-footnote {
  margin-top: 16px !important;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: .82rem !important;
  color: var(--muted) !important;
  line-height: 1.75 !important;
}
.event-program-footnote a {
  font-weight: 600;
}
.event-program-body h3 {
  font-family: var(--font-round);
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--orange-700);
  margin: 1.35em 0 0.55em;
}

.event-cta-box {
  max-width: 640px;
  margin: 36px auto 0;
  padding: 20px 22px;
  border-radius: var(--radius-sm);
  background: var(--yellow-100);
  border: 1px solid var(--orange-200);
  font-size: .9rem;
  color: var(--ink-light);
}

.news-list {
  list-style: none;
  max-width: 720px;
  margin: 0 auto;
}
.news-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 18px 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-light);
  align-items: start;
}
.news-date {
  font-family: var(--font-round);
  font-weight: 700;
  font-size: .88rem;
  color: var(--orange-600);
}
.news-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.news-excerpt {
  font-size: .9rem;
  color: var(--ink-light);
  line-height: 1.75;
}
.news-anchor-link { font-size: .9rem; font-weight: 500; }
.news-detail-section { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line-light); }
.news-detail-h { font-size: 1.15rem; font-weight: 800; color: var(--orange-800); margin-bottom: 8px; font-family: var(--font-round); }
.news-flyer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; align-items: start; }
.news-flyer-grid figure { margin: 0; }
.news-flyer-grid img { width: 100%; height: auto; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.contact-form { text-align: left; }
.contact-status { min-height: 1.4em; font-size: .9rem; color: var(--orange-800); font-weight: 600; }
.contact-actions { margin-top: 8px; }
.news-item--placeholder .news-title { color: var(--muted); }

.nav-links a[aria-current="page"] {
  background: var(--orange-100);
  color: var(--orange-700);
  font-weight: 700;
}

@media (max-width: 640px) {
  .membership-grid { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; }
  .news-date { margin-bottom: -4px; }
  .news-flyer-grid { grid-template-columns: 1fr; }
}

/* ========== 予約管理（admin.html 埋め込み用・コンパクト） ========== */
.admin-embed { max-width: 800px; margin: 0 auto; padding: 0 0 1.5rem; }
.admin-surface {
  background: var(--card);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.1rem 1.25rem;
}
.admin-surface + .admin-surface { margin-top: 0.75rem; }
.admin-embed .tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
}
.admin-embed .tab {
  padding: 6px 14px;
  border-radius: var(--radius-btn-pill);
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  border: 1.5px solid var(--line);
  background: var(--card);
  color: var(--ink-light);
  transition: background var(--transition-fast), color var(--transition-fast);
}
.admin-embed .tab.active {
  background: var(--orange-500);
  color: #fff;
  border-color: var(--orange-500);
}
.admin-embed .tab:hover:not(.active) { background: var(--orange-100); }
.admin-embed .panel { display: none; }
.admin-embed .panel.active { display: block; }
.admin-embed .filters {
  display: flex;
  gap: 8px 12px;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
  align-items: center;
}
.admin-embed .filters label { font-size: 0.8rem; font-weight: 700; font-family: var(--font-round); }
.admin-embed .filters select,
.admin-embed .filters input[type="date"] {
  padding: 6px 10px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-family: var(--font-body);
}
.admin-embed .btn-filter {
  padding: 6px 14px;
  border-radius: var(--radius-btn-pill);
  background: var(--orange-500);
  color: #fff;
  border: none;
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background var(--transition-fast);
}
.admin-embed .btn-filter:hover { background: var(--orange-600); }
.admin-embed .admin-embed-table-wrap { margin-bottom: 0.5rem; }
.admin-embed table { width: 100%; border-collapse: collapse; }
.admin-embed thead th {
  background: var(--orange-50);
  padding: 8px 8px;
  text-align: left;
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 0.78rem;
  border-bottom: 2px solid var(--line);
  white-space: nowrap;
}
.admin-embed tbody td {
  padding: 8px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  vertical-align: top;
}
.admin-embed tbody tr:hover { background: var(--orange-50); }
.admin-embed .status {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-round);
}
.admin-embed .status-pending { background: #fff3cd; color: #856404; }
.admin-embed .status-approved { background: var(--green-100); color: var(--green-600); }
.admin-embed .status-rejected { background: #f8d7da; color: #721c24; }
.admin-embed .status-cancelled { background: #eee; color: #777; }
.admin-embed .action-btn {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-round);
  cursor: pointer;
  border: none;
  margin-right: 4px;
  transition: opacity var(--transition-fast);
}
.admin-embed .btn-approve { background: var(--green-600); color: #fff; }
.admin-embed .btn-reject { background: #dc3545; color: #fff; }
.admin-embed .btn-cancel { background: #6c757d; color: #fff; }
.admin-embed .gen-form {
  background: var(--muted-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-bottom: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  align-items: end;
}
.admin-embed .gen-form label { display: block; font-size: 0.78rem; font-weight: 700; font-family: var(--font-round); margin-bottom: 4px; }
.admin-embed .gen-form input,
.admin-embed .gen-form select {
  width: 100%;
  padding: 6px 8px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-family: var(--font-body);
}
.admin-embed .count-badge {
  display: inline-block;
  background: var(--orange-500);
  color: #fff;
  border-radius: 50%;
  padding: 0 5px;
  font-size: 0.7rem;
  margin-left: 4px;
  min-width: 1.1em;
  text-align: center;
}
.admin-embed .empty { text-align: center; padding: 1.2rem; color: var(--muted); font-size: 0.9rem; }
.admin-embed .slot-grid { margin-top: 0.5rem; }
.admin-embed .slot-date-group { margin-bottom: 1rem; }
.admin-embed .slot-date-group h3 {
  font-family: var(--font-round);
  font-size: 0.88rem;
  margin-bottom: 6px;
  padding: 6px 10px;
  background: var(--orange-100);
  border-radius: var(--radius-sm);
  display: inline-block;
}
.admin-embed .slot-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 6px 8px; border-bottom: 1px solid var(--line); font-size: 0.82rem; }
.admin-embed .slot-time { min-width: 6.5em; font-family: var(--font-round); font-weight: 700; }
.admin-embed .slot-blocked { color: #c0392b; font-weight: 700; }
.admin-embed .slot-available { color: var(--green-600); font-weight: 700; }
.admin-embed .slot-full { color: var(--muted); font-weight: 700; }
.admin-embed .admin-login-error { color: #b02a37; font-size: 0.85rem; margin-top: 6px; }
