/* KYABEL SITE 52 CHAMPAGNE ARC / style.css — レイアウト・コンポーネント
   中央配置・アーチ形写真マスク・曲線セクション境界。明るい石材とシャンパン。 */

/* ============ ベース ============ */
html { scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.8;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.wrap--narrow { max-width: var(--wrap-narrow); }
strong { font-weight: 700; }

/* ============ タイポの基調 ============ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--font-mono); font-size: var(--fs-eyebrow);
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent-ink);
}
.eyebrow::before { content: ""; width: 2.2em; height: 1px; background: var(--accent); opacity: 0.7; }
.section__head { text-align: center; max-width: 46rem; margin: 0 auto clamp(2rem, 5vw, 3.5rem); }
.section__title { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h2); line-height: 1.24; color: var(--ink); margin: 0.5rem 0 0.6rem; }
.section__title .ja { display: block; font-family: var(--font-body); font-size: 0.9rem; letter-spacing: 0.18em; color: var(--ink-2); margin-top: 0.5rem; font-weight: 500; }
.section__lead { font-size: var(--fs-lead); color: var(--ink-2); line-height: 1.85; }

/* ============ ボタン ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0.65rem 1.6rem;
  font-size: var(--fs-body); font-weight: 600; letter-spacing: 0.04em;
  border-radius: 999px; transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn--primary { background: var(--bronze); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--bronze-deep); transform: translateY(-2px); }
.btn--ghost { border: 1.5px solid var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--bronze); color: var(--accent-ink); }
.btn--line { border: 1.5px solid var(--bronze); color: var(--accent-ink); background: var(--white); }
.btn--line:hover { background: var(--bronze); color: var(--white); }

/* ============ ヘッダー ============ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--white) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}
.site-header.is-shrunk { box-shadow: var(--shadow-sm); background: color-mix(in srgb, var(--white) 96%, transparent); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: inline-flex; align-items: baseline; gap: 0.55rem; }
.brand__mark { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; letter-spacing: 0.06em; color: var(--ink); }
.brand__sub { font-family: var(--font-mono); font-size: var(--fs-eyebrow); letter-spacing: 0.24em; color: var(--accent-ink); }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.9rem); }
.nav__link { font-size: 0.95rem; letter-spacing: 0.06em; color: var(--ink); padding: 0.4rem 0; position: relative; }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px; background: var(--bronze); transition: width 0.3s var(--ease); }
.nav__link:hover::after, .nav__link:focus-visible::after { width: 100%; }
.header__cta { display: inline-flex; }
.hamburger { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: 50%; }
.hamburger span, .hamburger span::before, .hamburger span::after { content: ""; display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: transform 0.3s var(--ease); }
.hamburger span::before { position: absolute; top: -6px; } .hamburger span::after { position: absolute; top: 6px; }

/* ============ ドロワー ============ */
#drawer-backdrop { position: fixed; inset: 0; z-index: 70; background: rgba(74, 56, 44, 0.4); opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s; }
#drawer-backdrop.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; z-index: 80; height: 100%; width: min(86vw, 340px);
  background: var(--white); box-shadow: -20px 0 50px rgba(74, 56, 44, 0.2);
  transform: translateX(100%); transition: transform 0.34s var(--ease);
  display: flex; flex-direction: column; padding: 1.4rem;
  border-top-left-radius: 40px 20px;
}
.drawer.is-open { transform: translateX(0); }
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.4rem; }
.drawer__close { width: 48px; height: 48px; border: 1px solid var(--line-strong); border-radius: 50%; font-size: 1.4rem; color: var(--ink); }
.drawer__nav { display: flex; flex-direction: column; gap: 0.2rem; }
.drawer__nav a { font-size: 1.05rem; padding: 0.85rem 0.6rem; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.drawer__nav a .en { font-family: var(--font-mono); font-size: var(--fs-eyebrow); color: var(--accent-ink); letter-spacing: 0.18em; }
.drawer__foot { margin-top: auto; display: grid; gap: 0.6rem; padding-top: 1.2rem; }

/* ============ HERO（アーチ） ============ */
.hero { position: relative; padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem); overflow: hidden; text-align: center; background: linear-gradient(180deg, var(--white), var(--sand)); }
.hero__glow { position: absolute; left: 50%; top: -12%; width: 68vw; max-width: 780px; aspect-ratio: 1; transform: translateX(-50%); background: radial-gradient(circle at 50% 40%, rgba(255, 244, 220, 0.9), rgba(236, 213, 210, 0.35) 45%, transparent 70%); z-index: 0; pointer-events: none; will-change: transform; }
.hero__inner { position: relative; z-index: 1; display: grid; justify-items: center; gap: clamp(1.5rem, 3vw, 2.2rem); }
.hero__copy { max-width: 47rem; }
.hero__title { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-display); line-height: 1.18; letter-spacing: 0.01em; color: var(--ink); white-space: pre-line; text-wrap: balance; }
.hero__lead { margin-top: 1.2rem; font-size: var(--fs-lead); color: var(--ink-2); line-height: 1.9; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-top: 1.6rem; }
.hero__media { width: min(84vw, 460px); }
.hero__meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; justify-content: center; font-size: var(--fs-small); color: var(--ink-2); }
.hero__meta b { color: var(--ink); font-weight: 600; }

/* ============ .ph 画像コンテナ（アーチマスク） ============ */
.ph { position: relative; overflow: hidden; background: var(--champagne-deep); border-radius: var(--radius-sm); margin: 0; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph__label { position: absolute; left: 10px; bottom: 8px; font-family: var(--font-mono); font-size: var(--fs-eyebrow); letter-spacing: 0.08em; color: var(--ink-2); opacity: 0; pointer-events: none; }
.ph.is-broken { display: grid; place-content: center; background: linear-gradient(135deg, var(--sand), var(--champagne-deep)); }
.ph.is-broken img { display: none; }
.ph.is-broken .ph__label { position: static; opacity: 0.75; font-size: var(--fs-small); }
.ph--r4x5 { aspect-ratio: 4 / 5; } .ph--r3x2 { aspect-ratio: 3 / 2; } .ph--r16x9 { aspect-ratio: 16 / 9; }
.ph--r1x1 { aspect-ratio: 1 / 1; } .ph--r4x3 { aspect-ratio: 4 / 3; } .ph--r3x4 { aspect-ratio: 3 / 4; }
.ph--arch { border-radius: var(--arch); }
.ph--r4x5.ph--arch, .ph--r3x4.ph--arch { border-radius: var(--arch-deep); }

/* ============ 曲線セクション境界 ============ */
.sec { padding: var(--sec-pad) 0; position: relative; }
.sec--alt { background: var(--sand); }
.sec--pink { background: var(--bg-pink); }
.sec--curve { border-top-left-radius: 50% 56px; border-top-right-radius: 50% 56px; margin-top: -28px; padding-top: calc(var(--sec-pad) - 28px); }

/* ============ RESERVATION CTA バンド ============ */
.reserve { background: linear-gradient(120deg, var(--bronze), var(--bronze-deep)); color: var(--white); position: relative; overflow: hidden; }
.reserve::after { content: ""; position: absolute; right: -8%; top: -40%; width: 46%; aspect-ratio: 1; background: radial-gradient(circle, rgba(255, 244, 220, 0.35), transparent 70%); }
.reserve__inner { position: relative; display: grid; gap: 1.6rem; align-items: center; }
.reserve__today { display: inline-flex; align-items: center; gap: 0.6rem; background: rgba(251, 248, 242, 0.16); border: 1px solid rgba(251, 248, 242, 0.4); border-radius: 999px; padding: 0.4rem 1.1rem; font-size: var(--fs-small); }
.reserve__today b { font-size: 1.15rem; font-family: var(--font-display); }
.reserve h2 { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h2); line-height: 1.3; }
.reserve p { color: rgba(251, 248, 242, 0.9); }
.reserve__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.reserve .btn--primary { background: var(--white); color: var(--bronze-deep); }
.reserve .btn--primary:hover { background: var(--pink-soft); }
.reserve .btn--ghost { border-color: rgba(251, 248, 242, 0.7); color: var(--white); }
.reserve .btn--ghost:hover { border-color: var(--white); background: rgba(251, 248, 242, 0.14); }

/* ============ PICKUP CAST ============ */
.castbig { display: grid; gap: clamp(1.6rem, 4vw, 3rem); align-items: center; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.castbig__media { width: 100%; max-width: 420px; margin-inline: auto; }
.castbig__eyebrow { font-family: var(--font-mono); font-size: var(--fs-eyebrow); letter-spacing: 0.28em; color: var(--accent-ink); }
.castbig__name { font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 4vw, 2.8rem); color: var(--ink); margin: 0.4rem 0 0.2rem; line-height: 1.1; }
.castbig__reading { display: inline-block; font-family: var(--font-body); font-size: 1rem; letter-spacing: 0.1em; color: var(--ink-2); margin-left: 0.7rem; }
.castbig__type { font-size: var(--fs-body); color: var(--accent-ink); font-weight: 600; }
.castbig__msg { margin: 0.9rem 0 1.3rem; color: var(--ink-2); }
.castbig__meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.8rem; margin-bottom: 1.4rem; }
.castbig__meta div { display: flex; flex-direction: column; }
.castbig__meta dt { font-size: var(--fs-small); color: var(--ink-2); }
.castbig__meta dd { font-size: var(--fs-body); color: var(--ink); font-weight: 600; }

/* カルーセル */
.carousel { position: relative; }
.carousel__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.carousel__title { font-family: var(--font-mono); font-size: var(--fs-eyebrow); letter-spacing: 0.24em; color: var(--accent-ink); }
.carousel__nav { display: flex; gap: 0.5rem; }
.carousel__btn { width: 48px; height: 48px; border: 1.5px solid var(--line-strong); border-radius: 50%; font-size: 1.3rem; color: var(--ink); display: grid; place-content: center; transition: border-color 0.2s var(--ease), background 0.2s; }
.carousel__btn:hover:not(:disabled) { border-color: var(--bronze); color: var(--accent-ink); }
.carousel__btn:disabled { opacity: 0.35; cursor: default; }
.track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.6rem; scrollbar-width: thin; }
.track::-webkit-scrollbar { height: 6px; } .track::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }
.slide { flex: 0 0 clamp(180px, 42vw, 240px); scroll-snap-align: start; }
.castcard { display: block; }
.castcard__media { position: relative; }
.castcard__media .tag { position: absolute; top: 10px; left: 10px; }
.castcard__foot { display: flex; align-items: baseline; gap: 0.5rem; padding: 0.7rem 0.2rem 0; }
.castcard__name { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); }
.castcard__reading { font-size: var(--fs-small); color: var(--ink-2); }
.castcard:hover .ph img { transform: scale(1.04); }
.castcard .ph img { transition: transform 0.4s var(--ease); }

.tag { display: inline-block; font-size: var(--fs-small); font-weight: 600; letter-spacing: 0.06em; padding: 0.2rem 0.7rem; border-radius: 999px; background: var(--pink-soft); color: var(--accent-ink); }
.tag--today { background: var(--bronze); color: var(--white); }
.tag--new { background: var(--pink); color: var(--brown); }

/* ============ FIRST GUIDE ============ */
.guide__list { display: grid; gap: 1rem; max-width: 52rem; margin: 0 auto; }
.guidestep { display: flex; gap: 1.2rem; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; box-shadow: var(--shadow-sm); }
.sec--alt .guidestep, .sec--pink .guidestep { background: var(--white); }
.guidestep__no { font-family: var(--font-display); font-size: 1.6rem; color: var(--bronze); flex: 0 0 auto; width: 2.6rem; line-height: 1; padding-top: 0.1rem; }
.guidestep__title { font-size: var(--fs-h3); font-weight: 600; color: var(--ink); margin-bottom: 0.3rem; font-family: var(--font-display); }
.guidestep p { color: var(--ink-2); }

/* ============ ROOM ============ */
.room__grid { display: grid; gap: clamp(1.6rem, 4vw, 2.6rem); }
.roomcard { display: grid; gap: 1rem; }
.roomcard__body { text-align: center; max-width: 34rem; margin-inline: auto; }
.roomcard__en { font-family: var(--font-mono); font-size: var(--fs-eyebrow); letter-spacing: 0.24em; color: var(--accent-ink); }
.roomcard__name { font-family: var(--font-display); font-size: var(--fs-h3); color: var(--ink); margin: 0.2rem 0 0.5rem; }
.roomcard p { color: var(--ink-2); }

/* ============ SYSTEM プラン切替 ============ */
.plans { max-width: 46rem; margin: 0 auto; }
.plantabs { display: flex; gap: 0.5rem; justify-content: center; margin-bottom: 1.6rem; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 0.4rem; box-shadow: var(--shadow-sm); }
.plantab { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; gap: 0.1rem; padding: 0.6rem 0.5rem; border-radius: 999px; min-height: 48px; color: var(--ink-2); transition: background 0.25s var(--ease), color 0.25s var(--ease); }
.plantab__ja { font-size: var(--fs-body); font-weight: 700; }
.plantab__en { font-family: var(--font-mono); font-size: var(--fs-eyebrow); letter-spacing: 0.14em; }
.plantab.is-active { background: var(--bronze); color: var(--white); }
.plantab.is-active .plantab__en { color: rgba(251, 248, 242, 0.85); }
.planpanel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 2.2rem); box-shadow: var(--shadow); }
.planpanel__head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; border-bottom: 1px solid var(--line); padding-bottom: 0.9rem; margin-bottom: 0.9rem; }
.planpanel__badge { display: inline-block; background: var(--pink-soft); color: var(--accent-ink); font-size: var(--fs-small); font-weight: 600; padding: 0.25rem 0.9rem; border-radius: 999px; }
.planpanel__price strong { font-family: var(--font-display); font-size: 1.9rem; color: var(--ink); }
.planpanel__price span { font-size: var(--fs-small); color: var(--ink-2); margin-left: 0.3rem; }
.planpanel__lead { color: var(--ink-2); margin-bottom: 1rem; }
.plantable th, .plantable td { padding: 0.7rem 0.4rem; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.plantable th { font-weight: 600; color: var(--ink); }
.planrow__detail { color: var(--ink-2); font-size: var(--fs-small); }
.planrow__price { text-align: right; font-family: var(--font-mono); font-weight: 700; color: var(--accent-ink); white-space: nowrap; }
.planpanel__note { margin-top: 0.9rem; font-size: var(--fs-small); color: var(--ink-2); line-height: 1.6; }
.plans__more { text-align: center; margin-top: 1.4rem; }

/* ============ EVENT ============ */
.event__grid { display: grid; gap: clamp(1.4rem, 3vw, 2rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.evcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.evcard__media .ph { border-radius: 0; }
.evcard__body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 0.5rem; }
.evcard__meta { display: flex; align-items: center; gap: 0.7rem; }
.evcard__date { font-size: var(--fs-small); color: var(--ink-2); font-family: var(--font-mono); }
.evcard__title { font-family: var(--font-display); font-size: var(--fs-h3); color: var(--ink); }
.evcard p { color: var(--ink-2); font-size: var(--fs-body); }

/* ============ GALLERY ============ */
.gallery__grid { columns: 3 220px; column-gap: 1rem; }
.galcell { display: block; width: 100%; margin: 0 0 1rem; break-inside: avoid; position: relative; text-align: left; }
.galcell .ph { border-radius: var(--radius-sm); }
.galcell .ph img { transition: transform 0.4s var(--ease); }
.galcell:hover .ph img, .galcell:focus-visible .ph img { transform: scale(1.05); }
.galcell__cap { position: absolute; left: 10px; bottom: 10px; background: rgba(251, 248, 242, 0.9); color: var(--ink); font-size: var(--fs-small); font-weight: 600; padding: 0.2rem 0.7rem; border-radius: 999px; }

/* ============ ACCESS ============ */
.access__grid { display: grid; gap: clamp(1.6rem, 4vw, 2.6rem); align-items: start; }
.access__map .ph { border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.access__info { display: grid; gap: 0.2rem; }
.access__dl { display: grid; }
.access__dl div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 0.6rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.access__dl dt { font-size: var(--fs-small); color: var(--ink-2); font-weight: 600; letter-spacing: 0.04em; }
.access__dl dd { color: var(--ink); }
.access__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.3rem; }

/* ============ RECRUIT ============ */
.recruit { background: linear-gradient(150deg, var(--pink-soft), var(--sand)); }
.recruit__points { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin: 1.8rem 0; }
.rpoint { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; box-shadow: var(--shadow-sm); }
.rpoint__title { font-family: var(--font-display); font-size: var(--fs-h3); color: var(--accent-ink); margin-bottom: 0.4rem; }
.rpoint p { color: var(--ink-2); }
.recruit__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }

/* ============ フッター ============ */
.site-footer { background: var(--brown); color: var(--pink-soft); padding: clamp(2.8rem, 6vw, 4rem) 0 calc(var(--cta-h) + 2.2rem); }
.footer__grid { display: grid; gap: 1.8rem; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); }
.footer__brand .brand__mark { color: var(--white); }
.footer__brand p { color: rgba(244, 229, 226, 0.72); margin-top: 0.7rem; font-size: var(--fs-small); max-width: 24rem; }
.footer__col h3 { font-family: var(--font-mono); font-size: var(--fs-eyebrow); letter-spacing: 0.2em; color: var(--champagne-deep); margin-bottom: 0.8rem; }
.footer__col li { margin-bottom: 0.5rem; }
.footer__col a { color: rgba(244, 229, 226, 0.86); font-size: 0.95rem; }
.footer__col a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom { border-top: 1px solid rgba(244, 229, 226, 0.16); margin-top: 2rem; padding-top: 1.3rem; display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; justify-content: space-between; font-size: var(--fs-small); color: rgba(244, 229, 226, 0.66); }
.footer__demo { color: var(--champagne-deep); }

/* ============ 固定CTA（円形＋ラベル） ============ */
.fabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; justify-content: center; gap: clamp(0.6rem, 3vw, 1.4rem); padding: 0.5rem 0.8rem calc(0.5rem + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--white) 92%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
.fab { display: flex; flex-direction: column; align-items: center; gap: 0.2rem; min-width: 48px; }
.fab__circle { width: 52px; height: 52px; border-radius: 50%; display: grid; place-content: center; background: var(--white); border: 1.5px solid var(--line-strong); color: var(--ink); transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease); }
.fab__circle svg { width: 22px; height: 22px; }
.fab__label { font-size: var(--fs-small); font-weight: 600; letter-spacing: 0.04em; color: var(--ink-2); }
.fab:hover .fab__circle, .fab.is-current .fab__circle { background: var(--bronze); color: var(--white); border-color: var(--bronze); transform: translateY(-2px); }
.fab.is-current .fab__label, .fab:hover .fab__label { color: var(--accent-ink); }
.fab--line .fab__circle { background: var(--bronze); color: var(--white); border-color: var(--bronze); }

/* ============ ページトップ ============ */
.backtop { position: fixed; right: clamp(1rem, 3vw, 1.8rem); bottom: calc(var(--cta-h) + 1rem); z-index: 54; width: 48px; height: 48px; border-radius: 50%; background: var(--brown); color: var(--white); display: grid; place-content: center; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s; }
.backtop.is-show { opacity: 1; visibility: visible; transform: none; }
.backtop svg { width: 20px; height: 20px; }

/* ============ ライトボックス ============ */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; padding: clamp(1rem, 4vw, 2.5rem); }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(38, 28, 21, 0.86); backdrop-filter: blur(3px); }
.lightbox__inner { position: relative; display: flex; align-items: center; gap: 0.6rem; max-width: min(94vw, 760px); }
.lightbox__fig { background: var(--white); padding: 0.6rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.lightbox__img { max-height: 78vh; width: auto; border-radius: var(--radius-sm); }
.lightbox__cap { text-align: center; padding: 0.7rem 0 0.2rem; font-size: var(--fs-body); color: var(--ink); font-weight: 600; }
.lightbox__nav { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; background: rgba(251, 248, 242, 0.92); color: var(--brown); font-size: 1.7rem; display: grid; place-content: center; }
.lightbox__close { position: absolute; top: -54px; right: 0; width: 48px; height: 48px; border-radius: 50%; background: rgba(251, 248, 242, 0.92); color: var(--brown); font-size: 1.6rem; display: grid; place-content: center; }

/* ============================================================
   下層ページ共通（V5-3）— アーチ・曲線・シャンパンの世界観を継承
   ============================================================ */
.nav__link[aria-current="page"] { color: var(--accent-ink); }
.nav__link[aria-current="page"]::after { width: 100%; }
.drawer__nav a[aria-current="page"] { color: var(--accent-ink); font-weight: 700; }

.crumbs { padding: 1rem 0 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.3rem 0.5rem; font-size: var(--fs-small); color: var(--ink-2); }
.crumbs li { display: flex; align-items: center; gap: 0.5rem; }
.crumbs li:not(:last-child)::after { content: "\203A"; color: var(--line-strong); }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
.crumbs [aria-current="page"] { color: var(--ink); }

.pagehead { position: relative; padding: clamp(2rem, 5vw, 3.4rem) 0 clamp(1.6rem, 4vw, 2.6rem); text-align: center; background: linear-gradient(180deg, var(--white), var(--sand)); overflow: hidden; }
.pagehead::before { content: ""; position: absolute; left: 50%; top: -60%; width: 60vw; max-width: 640px; aspect-ratio: 1; transform: translateX(-50%); background: radial-gradient(circle at 50% 60%, rgba(255, 244, 220, 0.7), transparent 66%); pointer-events: none; }
.pagehead__inner { position: relative; }
.pagehead__title { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h2); color: var(--ink); margin: 0.4rem 0 0.5rem; line-height: 1.2; }
.pagehead__title .ja { display: block; font-family: var(--font-body); font-size: 0.95rem; letter-spacing: 0.14em; color: var(--ink-2); margin-top: 0.5rem; font-weight: 500; }
.pagehead__lead { max-width: 42rem; margin: 0 auto; color: var(--ink-2); font-size: var(--fs-lead); line-height: 1.85; }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: clamp(1.6rem, 4vw, 2.4rem); }
.chip { min-height: 44px; padding: 0.5rem 1.15rem; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--white); color: var(--ink); font-size: 0.95rem; font-weight: 600; transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease); }
.chip:hover { border-color: var(--bronze); color: var(--accent-ink); }
.chip.is-active { background: var(--bronze); color: var(--white); border-color: var(--bronze); }

.castgrid { display: grid; gap: clamp(1.1rem, 3vw, 1.8rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.gcast__media { position: relative; }
.gcast__media .tag { position: absolute; top: 10px; left: 10px; }
.gcast__foot { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 0.6rem; padding: 0.7rem 0.2rem 0; }
.gcast__name { font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); }
.gcast__reading { font-size: var(--fs-small); color: var(--ink-2); }
.gcast__type { width: 100%; font-size: var(--fs-small); color: var(--accent-ink); }
.gcast__link:hover .ph img { transform: scale(1.04); }
.gcast .ph img { transition: transform 0.4s var(--ease); }
.list-empty { text-align: center; color: var(--ink-2); padding: 2.5rem 1rem; background: var(--white); border: 1px dashed var(--line-strong); border-radius: var(--radius); }

.cd { display: grid; gap: clamp(1.6rem, 4vw, 2.8rem); }
.cd__media { display: grid; gap: 0.8rem; }
.cd__subs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
.cd__name { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--ink); line-height: 1.12; }
.cd__reading { display: inline-block; font-family: var(--font-body); font-size: 1rem; letter-spacing: 0.1em; color: var(--ink-2); margin-left: 0.7rem; }
.cd__type { color: var(--accent-ink); font-weight: 600; margin: 0.3rem 0 0.9rem; }
.cd__message { color: var(--ink-2); background: var(--pink-soft); border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: 1.2rem; }
.cd__sche { margin: 1.4rem 0; }
.cd__sche h2 { font-family: var(--font-display); font-size: var(--fs-h3); margin-bottom: 0.7rem; color: var(--ink); }
.cdweek { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cdday { flex: 1 1 4.2rem; min-width: 4.2rem; display: flex; flex-direction: column; align-items: center; gap: 0.25rem; padding: 0.6rem 0.3rem; border-radius: var(--radius-sm); background: var(--sand); border: 1px solid var(--line); }
.cdday.is-on { background: var(--bronze); border-color: var(--bronze); }
.cdday__d { font-size: var(--fs-small); color: var(--ink-2); }
.cdday.is-on .cdday__d { color: rgba(251, 248, 242, 0.85); }
.cdday__t { font-size: var(--fs-small); font-weight: 700; color: var(--ink); font-family: var(--font-mono); }
.cdday.is-on .cdday__t { color: var(--white); }
.cd__sche-note { font-size: var(--fs-small); color: var(--ink-2); margin-top: 0.6rem; }
.cd__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1rem; }
.cdnav { display: flex; justify-content: space-between; gap: 1rem; margin-top: clamp(2rem, 5vw, 3rem); border-top: 1px solid var(--line); padding-top: 1.4rem; }
.cdnav a { display: flex; flex-direction: column; gap: 0.2rem; color: var(--ink); max-width: 46%; }
.cdnav__dir { font-family: var(--font-mono); font-size: var(--fs-eyebrow); letter-spacing: 0.16em; color: var(--accent-ink); }
.cdnav__name { font-family: var(--font-display); font-size: 1.15rem; }
.cdnav__next { text-align: right; margin-left: auto; }
.cdnav__back { text-align: center; align-self: center; }

.deflist { display: grid; }
.deflist div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 0.6rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.deflist dt { font-size: var(--fs-small); color: var(--ink-2); font-weight: 600; }
.deflist dd { color: var(--ink); }

.systables { display: grid; gap: clamp(1.4rem, 3vw, 2rem); }
.systable { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.2rem, 3vw, 1.8rem); box-shadow: var(--shadow-sm); }
.systable__head { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.6rem; }
.systable__title { font-family: var(--font-display); font-size: var(--fs-h3); color: var(--ink); }
.systable__badge { background: var(--pink-soft); color: var(--accent-ink); font-size: var(--fs-small); font-weight: 600; padding: 0.2rem 0.8rem; border-radius: 999px; }
.systable__note { margin-top: 0.7rem; font-size: var(--fs-small); color: var(--ink-2); line-height: 1.6; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ptable th, .ptable td { padding: 0.7rem 0.5rem; border-bottom: 1px solid var(--line); vertical-align: baseline; text-align: left; }
.ptable th { font-weight: 600; color: var(--ink); white-space: nowrap; }
.sysrow__detail { color: var(--ink-2); font-size: var(--fs-small); }
.sysrow__price { text-align: right; font-family: var(--font-mono); font-weight: 700; color: var(--accent-ink); white-space: nowrap; }
.notelist { display: grid; gap: 0.5rem; }
.notelist li { position: relative; padding-left: 1.2rem; color: var(--ink-2); }
.notelist li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 7px; height: 7px; border-radius: 50%; background: var(--bronze); }
.paylist { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.paylist li { background: var(--sand); border: 1px solid var(--line); border-radius: 999px; padding: 0.4rem 1rem; font-size: 0.95rem; }

.faqlist { display: grid; gap: 0.7rem; max-width: 48rem; margin: 0 auto; }
.faq { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq__btn { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; text-align: left; padding: 1rem 1.2rem; min-height: 56px; font-size: var(--fs-body); font-weight: 600; color: var(--ink); }
.faq__mark { position: relative; flex: 0 0 auto; width: 18px; height: 18px; }
.faq__mark::before, .faq__mark::after { content: ""; position: absolute; background: var(--bronze); border-radius: 2px; transition: transform 0.25s var(--ease); }
.faq__mark::before { left: 0; top: 8px; width: 18px; height: 2px; }
.faq__mark::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq__btn[aria-expanded="true"] .faq__mark::after { transform: scaleY(0); }
.faq__a { padding: 0 1.2rem 1.2rem; color: var(--ink-2); }

.newslist { display: grid; gap: 0.8rem; max-width: 52rem; margin: 0 auto; }
.newsrow { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.newsrow:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.newsrow__link { display: grid; gap: 0.35rem; padding: 1.1rem 1.3rem; }
.newsrow__meta { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; }
.newsrow__date { font-family: var(--font-mono); font-size: var(--fs-small); color: var(--ink-2); }
.newsrow__ended { font-size: var(--fs-small); color: var(--white); background: var(--brown-soft); border-radius: 999px; padding: 0.1rem 0.6rem; }
.newsrow__title { font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); }
.newsrow__lead { font-size: var(--fs-body); color: var(--ink-2); }
.pager { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-top: 1.8rem; }
.pager .page { min-width: 44px; min-height: 44px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: var(--white); color: var(--ink); font-family: var(--font-mono); font-weight: 700; }
.pager .page:hover { border-color: var(--bronze); color: var(--accent-ink); }
.pager .page.is-active { background: var(--bronze); color: var(--white); border-color: var(--bronze); }

.article { max-width: 46rem; margin: 0 auto; }
.article__meta { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.7rem; }
.article__date { font-family: var(--font-mono); font-size: var(--fs-small); color: var(--ink-2); }
.article__title { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h2); line-height: 1.3; color: var(--ink); margin-bottom: 1.2rem; }
.article__media { margin-bottom: 1.6rem; }
.article__media .ph { border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.article__body p { margin-bottom: 1.1rem; color: var(--ink); line-height: 1.9; }
.article__related { margin-top: clamp(2.2rem, 5vw, 3.2rem); }
.article__related h2 { font-family: var(--font-display); font-size: var(--fs-h3); text-align: center; margin-bottom: 1.2rem; color: var(--ink); }

.schday { margin-bottom: clamp(1.6rem, 4vw, 2.4rem); }
.schday__h { display: flex; align-items: baseline; gap: 0.8rem; font-family: var(--font-display); font-size: var(--fs-h3); color: var(--ink); margin-bottom: 0.8rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--bronze); }
.schday__h span { font-family: var(--font-mono); font-size: var(--fs-small); color: var(--ink-2); }
.schlist { display: grid; gap: 0.6rem; }
.schrow a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.9rem 1.2rem; min-height: 56px; box-shadow: var(--shadow-sm); }
.schrow a:hover { border-color: var(--bronze); }
.schrow__name { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); }
.schrow__reading { font-family: var(--font-body); font-size: var(--fs-small); color: var(--ink-2); margin-left: 0.5rem; }
.schrow__time { font-family: var(--font-mono); font-weight: 700; color: var(--accent-ink); white-space: nowrap; }
.sch-empty { text-align: center; color: var(--ink-2); padding: 1.6rem; background: var(--white); border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.sch-note { text-align: center; font-size: var(--fs-small); color: var(--ink-2); margin-top: 1rem; }

.btags { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.btag { background: var(--white); border: 1px solid var(--line-strong); border-radius: 999px; padding: 0.5rem 1.1rem; font-size: 0.95rem; font-weight: 600; color: var(--accent-ink); }
.rc-catch { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-display); line-height: 1.18; white-space: pre-line; text-wrap: balance; color: var(--ink); }

.form { max-width: 40rem; margin: 0 auto; display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field > label { font-size: var(--fs-body); font-weight: 600; color: var(--ink); }
.field .req { color: var(--bronze-deep); font-size: var(--fs-small); margin-left: 0.3rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 0.65rem 0.9rem; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--white); color: var(--ink); font-size: var(--fs-body); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--bronze); box-shadow: 0 0 0 3px rgba(140, 98, 57, 0.18); }
.field [aria-invalid="true"] { border-color: #a8322a; }
.field__err { color: #a8322a; font-size: var(--fs-small); }
.form__row { display: grid; gap: 1.1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.consent { display: flex; align-items: flex-start; gap: 0.6rem; background: var(--sand); border-radius: var(--radius); padding: 1rem 1.2rem; }
.consent input { width: 22px; height: 22px; min-height: 22px; margin-top: 0.15rem; flex: 0 0 auto; }
.consent label { font-size: var(--fs-body); color: var(--ink); }
.consent a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
.form__submit { display: flex; justify-content: center; margin-top: 0.4rem; }
.form__note { text-align: center; font-size: var(--fs-small); color: var(--ink-2); }
.form__demo-msg { text-align: center; color: var(--ink-2); background: var(--pink-soft); border-radius: var(--radius); padding: 0.8rem 1rem; font-size: var(--fs-small); }

.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; padding: 1.5rem; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(38, 28, 21, 0.78); backdrop-filter: blur(3px); }
.modal__box { position: relative; background: var(--white); border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.4rem); max-width: 26rem; text-align: center; box-shadow: var(--shadow); border-top: 4px solid var(--bronze); }
.modal__title { font-family: var(--font-display); font-size: var(--fs-h3); color: var(--ink); margin-bottom: 0.6rem; }
.modal__box p { color: var(--ink-2); margin-bottom: 1.3rem; }

.prose { max-width: 46rem; margin: 0 auto; }
.prose h2 { font-family: var(--font-display); font-size: var(--fs-h3); color: var(--ink); margin: 1.8rem 0 0.6rem; }
.prose p { color: var(--ink); margin-bottom: 0.9rem; line-height: 1.9; }
.prose ul { display: grid; gap: 0.4rem; margin-bottom: 0.9rem; padding-left: 1.2rem; list-style: disc; }
.prose li { color: var(--ink-2); }

.access__steps { counter-reset: step; display: grid; gap: 0.8rem; margin: 1.2rem 0; }
.access__steps li { position: relative; padding-left: 2.4rem; color: var(--ink-2); }
.access__steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: -0.1rem; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--bronze); color: var(--white); display: grid; place-content: center; font-family: var(--font-mono); font-size: var(--fs-small); font-weight: 700; }
.two-col { display: grid; gap: clamp(1.6rem, 4vw, 2.6rem); }
