/* Layout: split hero (copy + arch-framed photo), quiet bands, editorial reasons list, segmented plans, sticky side headings */
:root {
  interpolate-size: allow-keywords;
  --paper: #f8f4ef;
  --mist: #efe7de;
  --white: #ffffff;
  --ink: #2f2a26;
  --ink-soft: #6b625b;
  --rose: #8d6a61;
  --rose-deep: #6c4e47;
  --champagne: #cdb999;
  --footer-text: #ddd4cb;
  --footer-muted: #a89d93;
  --todo: #f3e3a8;
  --mincho: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --gothic: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 68px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--gothic);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
figure { margin: 0; }
a { color: var(--rose-deep); text-underline-offset: 0.2em; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* header: hides on scroll down, returns on scroll up */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: rgba(248, 244, 239, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--mist);
  transition: transform 0.35s ease;
}
.site-header.is-hidden { transform: translateY(-110%); }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}
.logo {
  display: inline-flex;
  flex-direction: column;
  font-family: var(--mincho);
  color: var(--ink);
  text-decoration: none;
  line-height: 1.15;
  white-space: nowrap;
}
.logo .logo-sub { font-size: 11px; letter-spacing: 0.3em; }
.logo .logo-main { font-size: 22px; font-weight: 500; letter-spacing: 0.22em; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a {
  position: relative;
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--rose);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.nav a:not(.btn):hover::after,
.nav a[aria-current="true"]::after { transform: scaleX(1); }
.nav a[aria-current="true"] { color: var(--rose-deep); }
.nav .btn { padding: 10px 20px; font-size: 14px; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: var(--white); }
.menu-toggle { display: none; }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 999px;
  font-family: var(--gothic);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: 1px solid var(--rose);
  transition: background-color 0.2s, color 0.2s, transform 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--rose); color: var(--white); }
.btn-primary:hover { background: var(--rose-deep); border-color: var(--rose-deep); }
.btn-line { background: var(--white); color: var(--rose-deep); }
.btn-line:hover { background: var(--mist); }

/* hero */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(56px, 8vw, 104px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.hero-intro .name { margin: 0; font-family: var(--mincho); line-height: 1.25; }
.hero-intro .name .sub { display: block; font-size: 16px; letter-spacing: 0.32em; }
.hero-intro .name .main { display: block; font-size: clamp(44px, 5.6vw, 72px); font-weight: 500; letter-spacing: 0.18em; }
.hero-intro .tag { margin: 16px 0 28px; font-size: 14px; color: var(--ink-soft); }
.hero-intro .body { margin: 0 0 32px; max-width: 26em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-art { display: flex; align-items: flex-start; gap: clamp(20px, 3vw, 40px); }
.hero-copy {
  margin: 0;
  font-family: var(--mincho);
  font-weight: 500;
  writing-mode: vertical-rl;
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.8;
  letter-spacing: 0.14em;
  padding-top: 24px;
}
.hero-copy span { display: block; white-space: nowrap; }
.hero-copy span + span { padding-top: 1.6em; }
.arch {
  width: clamp(220px, 28vw, 380px);
  aspect-ratio: 3 / 4;
  max-width: 100%;
  overflow: hidden;
  border-radius: 999px 999px 6px 6px;
  background: var(--mist);
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 26% center; }

/* marquee */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--champagne);
  padding-block: 18px;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee-track span {
  font-family: var(--mincho);
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: 0.2em;
  white-space: nowrap;
  padding-right: 1.6em;
}
.marquee-track span::after { content: "。"; color: var(--rose); padding-left: 1.6em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* sections */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-mist { background: var(--mist); }
.section h2 {
  margin: 0 0 clamp(32px, 5vw, 52px);
  font-family: var(--mincho);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.6;
}
.section h2 small {
  display: block;
  margin-top: 4px;
  font-family: var(--gothic);
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
}

/* concept */
.concept-photo {
  aspect-ratio: 21 / 8;
  max-width: 100%;
  overflow: hidden;
  border-radius: 6px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.concept-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.concept-body {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 6vw, 88px);
}
.concept-text {
  min-width: 0;
  font-family: var(--mincho);
  font-size: clamp(16px, 1.7vw, 17px);
  line-height: 2.3;
}
.concept-text p { margin: 0 0 1.5em; }
.concept-text .closing { margin: 2em 0 0; font-size: clamp(19px, 2.2vw, 22px); line-height: 1.9; }

/* reasons: statement, sticky photo, ruled list */
.statement {
  margin: 0 0 clamp(56px, 8vw, 104px);
  font-family: var(--mincho);
  font-size: clamp(26px, 3.4vw, 44px);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.6;
}
.statement > span { display: block; }
.statement > span + span { padding-left: clamp(1em, 6vw, 3em); color: var(--rose-deep); }
.statement i { display: inline-block; font-style: normal; white-space: nowrap; }
.reasons {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.reasons-photo {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  aspect-ratio: 4 / 5;
  max-width: 100%;
  overflow: hidden;
  border-radius: 6px;
}
.reasons-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 74% 47%; }
.reasons-body { min-width: 0; }
.reason-list { margin: 0; padding: 0; list-style: none; }
.reason-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: 32px 0;
  border-top: 1px solid var(--champagne);
}
.reason-list li:last-child { border-bottom: 1px solid var(--champagne); }
.reason-key {
  margin: 0;
  font-family: var(--mincho);
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2;
  color: var(--rose-deep);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.reason-key small { font-size: 0.5em; margin-left: 4px; }
.reason-list h3 {
  margin: 0 0 10px;
  font-family: var(--mincho);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.6;
}
.reason-list p { margin: 0; color: var(--ink-soft); font-size: 15px; letter-spacing: 0.03em; }

/* plans */
.plan-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 24px;
  border: 1px solid var(--champagne);
  border-radius: 999px;
  background: var(--white);
}
.plan-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 26px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: var(--mincho);
  font-size: 18px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.plan-tabs button:hover { background: var(--mist); }
.plan-tabs button[aria-selected="true"] { background: var(--rose); color: var(--white); }
.tab-badge {
  padding: 0 8px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--rose-deep);
  font-family: var(--gothic);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.plan-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px clamp(32px, 6vw, 72px);
  padding: clamp(28px, 4vw, 48px);
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: 16px;
}
.plan-panel[hidden] { display: none; }
.plan-head h3 {
  margin: 0 0 16px;
  font-family: var(--mincho);
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.2;
}
.plan-head .kana { display: block; font-family: var(--gothic); font-size: 13px; color: var(--ink-soft); letter-spacing: 0.1em; }
.plan-head .pitch { margin: 0; font-family: var(--mincho); font-size: 17px; line-height: 2; }
.plan-fees { margin: 0; }
.plan-fees div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--mist);
}
.plan-fees dt { font-size: 14px; color: var(--ink-soft); }
.plan-fees dd { margin: 0; font-size: 20px; font-weight: 500; font-variant-numeric: tabular-nums; }
.plan-fees dd small { font-size: 12px; font-weight: 400; margin-left: 2px; }
.perk {
  grid-column: 1 / -1;
  margin: 0;
  padding: 18px 20px;
  background: var(--paper);
  border-radius: 8px;
  font-size: 14px;
}
.perk strong { display: block; color: var(--rose-deep); font-weight: 500; }
.compare { margin-top: clamp(48px, 6vw, 72px); }
.compare h3 { margin: 0 0 16px; font-family: var(--mincho); font-size: 19px; font-weight: 500; }
.table-scroll { overflow-x: auto; }
.compare table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--mist); text-align: center; }
.compare thead th { font-family: var(--mincho); font-size: 17px; font-weight: 500; }
.compare tbody th { text-align: left; font-weight: 400; color: var(--ink-soft); white-space: nowrap; }
.compare .is-rec { background: var(--paper); }
.compare thead .is-rec { color: var(--rose-deep); }
.plans-foot { margin: 20px 0 0; font-size: 13px; color: var(--ink-soft); }

/* sticky side heading layout for flow and faq */
.flow-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: clamp(24px, 6vw, 88px);
  align-items: start;
}
.flow-grid > h2 { position: sticky; top: calc(var(--header-h) + 32px); }

/* flow */
.flow { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.flow li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 20px;
  padding: 0 0 36px;
  position: relative;
}
.flow li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--rose);
  border-radius: 50%;
  font-family: var(--mincho);
  font-size: 18px;
  color: var(--rose-deep);
  background: var(--mist);
  position: relative;
  z-index: 1;
}
.flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 44px;
  bottom: 0;
  width: 1px;
  background: var(--champagne);
}
.flow h3 { margin: 6px 0 6px; font-family: var(--mincho); font-size: 19px; font-weight: 500; letter-spacing: 0.06em; }
.flow p { margin: 0; color: var(--ink-soft); }
.docs { margin: 8px 0 0; padding: 24px 28px; background: var(--white); border-radius: 16px; }
.docs h3 { margin: 0 0 8px; font-size: 15px; font-weight: 500; }
.docs ul { margin: 0; padding-left: 1.2em; font-size: 14px; color: var(--ink-soft); }

/* faq */
.faq details { border-top: 1px solid var(--champagne); }
.faq details:last-child { border-bottom: 1px solid var(--champagne); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--mincho);
  font-size: 17px;
  font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 1px solid var(--rose);
  border-bottom: 1px solid var(--rose);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.faq details p { margin: 0; padding: 0 0 24px; color: var(--ink-soft); }

/* access */
.access {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.access dl { margin: 0; }
.access dl div {
  display: grid;
  grid-template-columns: 6.5em minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--champagne);
}
.access dt { font-size: 14px; color: var(--ink-soft); }
.access dd { margin: 0; }
.map {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: 16px;
  filter: grayscale(0.4) sepia(0.15);
}

/* closing cta */
.closing-cta { padding-block: clamp(72px, 10vw, 128px); }
.closing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.closing-photo {
  aspect-ratio: 4 / 3;
  max-width: 100%;
  overflow: hidden;
  border-radius: 6px;
}
.closing-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 38% center; }
.closing-box { min-width: 0; }
.closing-box h2 {
  margin: 0 0 20px;
  font-family: var(--mincho);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500;
  letter-spacing: 0.12em;
}
.closing-box p { margin: 0 0 32px; font-family: var(--mincho); font-size: clamp(16px, 1.8vw, 18px); line-height: 2.1; }

/* footer */
.site-footer {
  padding-block: 48px 40px;
  background: var(--ink);
  color: var(--footer-text);
  font-size: 13px;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.site-footer .logo { color: var(--white); }
.site-footer .note { margin: 6px 0 0; color: var(--footer-muted); font-size: 12px; }
.site-footer a { color: var(--footer-text); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.copyright { width: 100%; margin: 16px 0 0; color: var(--footer-muted); }

/* mobile booking bar */
.mobile-cta { display: none; }

/* legal pages */
.legal { padding-block: clamp(56px, 8vw, 96px); }
.legal h1 { margin: 0 0 40px; font-family: var(--mincho); font-size: clamp(24px, 3vw, 30px); font-weight: 500; letter-spacing: 0.1em; }
.legal table { width: 100%; max-width: 860px; border-collapse: collapse; background: var(--white); }
.legal th, .legal td { padding: 16px 20px; border-bottom: 1px solid var(--mist); text-align: left; vertical-align: top; font-size: 15px; }
.legal th { width: 11em; font-weight: 500; background: var(--paper); }
.legal .doc { max-width: 760px; }
.legal .doc h2 { margin: 40px 0 8px; font-size: 17px; font-weight: 500; }
.legal .doc p, .legal .doc li { color: var(--ink-soft); }
.todo { background: var(--todo); padding: 0 4px; }

/* scroll reveal, only where the browser drives it from scroll position */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 22%;
    }
    @keyframes reveal { from { opacity: 0.35; transform: translateY(28px); } }
  }
}

/* responsive */
@media (max-width: 880px) {
  .home .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-family: var(--gothic);
    font-size: 13px;
    cursor: pointer;
  }
  .menu-toggle .bars,
  .menu-toggle .bars::before,
  .menu-toggle .bars::after {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--ink);
    transition: transform 0.25s, background-color 0.25s;
  }
  .menu-toggle .bars { position: relative; }
  .menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; }
  .menu-toggle .bars::before { top: -7px; }
  .menu-toggle .bars::after { top: 7px; }
  .menu-toggle[aria-expanded="true"] .bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

  .home .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px max(var(--gutter), env(safe-area-inset-right, 0px)) 24px max(var(--gutter), env(safe-area-inset-left, 0px));
    background: var(--paper);
    border-bottom: 1px solid var(--champagne);
  }
  .home .nav.is-open { display: flex; }
  .home .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--mist); font-size: 15px; }
  .home .nav a:not(.btn)::after { display: none; }
  .home .nav .nav-cta { margin-top: 20px; padding: 14px 20px; }
  body:not(.home) .nav a:not(.btn) { display: none; }

  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art { order: -1; justify-content: center; }
  .concept-body, .flow-grid, .access, .closing-grid, .reasons { grid-template-columns: minmax(0, 1fr); }
  .reasons-photo { position: relative; top: auto; aspect-ratio: 16 / 10; }
  .flow-grid > h2 { position: static; }
  .concept-photo { aspect-ratio: 16 / 9; }
  .plan-panel { grid-template-columns: minmax(0, 1fr); }

  .home { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 8px;
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    background: rgba(248, 244, 239, 0.96);
    border-top: 1px solid var(--champagne);
  }
  .mobile-cta .btn { padding: 13px 12px; font-size: 14px; letter-spacing: 0.04em; }
}

@media (max-width: 480px) {
  .logo .logo-main { font-size: 19px; }
  .nav .btn { padding: 8px 14px; font-size: 13px; }
  .hero { padding-top: 28px; }
  .arch { width: 62vw; }
  .hero-copy { font-size: 19px; padding-top: 12px; }
  .hero-intro .name .main { font-size: 40px; }
  .hero-intro .tag { margin: 10px 0 18px; }
  .hero-intro .cta-row { display: none; }
  .hero-intro .body { margin: 0; }
  .reason-list li { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 28px 0; }
  .plan-tabs { display: flex; }
  .plan-tabs button { flex: 1; justify-content: center; padding: 10px 8px; font-size: 16px; }
  .tab-badge { display: none; }
  .cta-row .btn { width: 100%; padding: 14px 24px; }
  .legal th, .legal td { display: block; width: 100%; }
  .legal th { border-bottom: 0; padding-bottom: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .site-header { transition: none; }
}

/* reading progress */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: 2px;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
@supports (animation-timeline: scroll()) {
  .progress { animation: progress linear both; animation-timeline: scroll(root); }
  @keyframes progress { to { transform: scaleX(1); } }
}

/* rotating words */
.rotate-line { margin: 0 0 16px; font-family: var(--mincho); font-size: clamp(17px, 1.8vw, 20px); letter-spacing: 0.08em; }
.rotator { display: inline-grid; vertical-align: bottom; color: var(--rose-deep); border-bottom: 1px solid var(--champagne); margin: 0 4px; }
.rotator span { grid-area: 1 / 1; opacity: 0; transform: translateY(8px); transition: opacity 0.5s, transform 0.5s; }
.rotator span.is-on { opacity: 1; transform: none; }

/* parallax on the concept photo */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .concept-photo img { transform: scale(1.12); animation: drift linear both; animation-timeline: view(); }
    @keyframes drift { from { transform: scale(1.12) translateY(-4%); } to { transform: scale(1.12) translateY(4%); } }
  }
}

/* glossary popovers */
.term {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-left: 6px;
  padding: 0;
  border: 1px solid var(--champagne);
  border-radius: 50%;
  background: var(--white);
  color: var(--rose-deep);
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
  vertical-align: 1px;
}
.term:hover { background: var(--mist); }
.term-pop {
  max-width: min(360px, calc(100vw - 32px));
  margin: auto;
  padding: 20px 22px;
  border: 1px solid var(--champagne);
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.8;
  box-shadow: 0 12px 40px rgba(47, 42, 38, 0.14);
}
.term-pop::backdrop { background: rgba(47, 42, 38, 0.2); }
.term-pop p { margin: 0; }
.term-title { font-family: var(--mincho); font-size: 16px; margin-bottom: 6px !important; color: var(--rose-deep); }

/* toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  z-index: 50;
  max-width: min(420px, calc(100vw - 32px));
  padding: 14px 20px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  line-height: 1.7;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.25s, transform 0.25s;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* back to top */
.to-top {
  position: fixed;
  right: calc(24px + env(safe-area-inset-right, 0px));
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--champagne);
  border-radius: 50%;
  background: var(--white);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}
.to-top.is-show { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-2px); }
.to-top span { width: 10px; height: 10px; border-left: 1px solid var(--rose-deep); border-top: 1px solid var(--rose-deep); transform: translateY(2px) rotate(45deg); }
@media (max-width: 880px) { .to-top { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .rotator span { transition: none; }
}

/* opening curtain */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  transition: transform 0.8s cubic-bezier(0.7, 0, 0.2, 1), opacity 0.8s;
}
.curtain.is-done { transform: translateY(-100%); }
.curtain p { margin: 0; font-family: var(--mincho); text-align: center; line-height: 1.2; }
.curtain .c-sub { display: block; font-size: 15px; letter-spacing: 0.4em; opacity: 0; animation: c-in 0.8s 0.1s forwards; }
.curtain .c-main { display: block; font-size: clamp(48px, 9vw, 88px); letter-spacing: 0.2em; opacity: 0; animation: c-in 0.9s 0.3s forwards; }
.curtain b { font-weight: 400; color: var(--rose); display: inline-block; opacity: 0; transform: scale(0.4); animation: c-dot 0.6s 0.9s forwards; }
@keyframes c-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes c-dot { to { opacity: 1; transform: none; } }

/* statement letters and underline */
.statement .ch { display: inline-block; }
.statement.is-split .ch { opacity: 0.12; transform: translateY(0.3em); transition: opacity 0.5s var(--d), transform 0.5s var(--d); }
.statement.is-split.is-in .ch { opacity: 1; transform: none; }
.statement .line2 { position: relative; display: block; width: fit-content; }
.swash { position: absolute; left: 0; right: 0; bottom: -0.15em; width: 100%; height: 0.45em; overflow: visible; }
.swash path { fill: none; stroke: var(--champagne); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-dasharray: 700; stroke-dashoffset: 700; transition: stroke-dashoffset 1.2s ease-out; transition-delay: calc(var(--total, 0ms) + 200ms); }
.statement.is-in .swash path { stroke-dashoffset: 0; }

/* reasons photo crossfade */
.reasons-photo img { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity 0.7s ease, transform 1.2s ease; }
.reasons-photo img:nth-child(1) { object-position: 74% 47%; }
.reasons-photo img:nth-child(2) { object-position: center 40%; }
.reasons-photo img:nth-child(3) { object-position: 60% center; }
.reasons-photo img:nth-child(4) { object-position: center; }
.reasons-photo img.is-active { opacity: 1; transform: none; }
.reason-list li { transition: opacity 0.4s; }
@media (min-width: 881px) {
  .reason-list:has(.is-current) li:not(.is-current) { opacity: 0.45; }
}


/* cursor light on the plan card */
.plan-panel { position: relative; overflow: hidden; }
.plan-panel > * { position: relative; }
.plan-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(260px circle at var(--mx, -300px) var(--my, -300px), rgba(205, 185, 153, 0.28), transparent 70%);
  pointer-events: none;
}

/* magnetic buttons */
.magnetic { transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.2s; }

/* smooth accordion */
.faq details::details-content { height: 0; overflow: clip; transition: height 0.35s ease, content-visibility 0.35s allow-discrete; }
.faq details[open]::details-content { height: auto; }

/* gentle zoom on the closing photo */
.closing-photo img { transition: transform 0.8s ease; }
.closing-photo:hover img { transform: scale(1.04); }

/* roomier phone layout */
@media (max-width: 480px) {
  :root { --gutter: 28px; }
  body { font-size: 15px; line-height: 2; }
  .plan-panel { padding: 24px 20px; }
  .docs { padding: 20px; }
  .reason-list p:not(.reason-key) { font-size: 14.5px; }
  .section h2 { margin-bottom: 28px; }
  .statement { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .statement.is-split .ch, .swash path, .reasons-photo img, .closing-photo img { transition: none; }
}

/* staff */
.staff-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 64px); }
.staff { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 24px; align-items: center; }
.staff-photo { aspect-ratio: 3 / 4; max-width: 100%; overflow: hidden; border-radius: 999px 999px 6px 6px; background: var(--mist); }
.staff-photo img { width: 100%; height: 100%; object-fit: cover; }
.staff-photo.is-empty { display: flex; align-items: center; justify-content: center; border: 1px dashed var(--champagne); color: var(--ink-soft); font-size: 13px; }
.staff-text { min-width: 0; }
.staff-role { margin: 0 0 4px; font-size: 13px; color: var(--rose-deep); letter-spacing: 0.1em; }
.staff-text h3 { margin: 0 0 12px; font-family: var(--mincho); font-size: 22px; font-weight: 500; letter-spacing: 0.1em; }
.staff-text p:last-child { margin: 0; font-size: 14px; color: var(--ink-soft); }

/* course quiz */
.shindan-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.shindan-photo { aspect-ratio: 4 / 3; max-width: 100%; overflow: hidden; border-radius: 6px; }
.shindan-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% center; }
.quiz { min-width: 0; padding: clamp(28px, 4vw, 44px); background: var(--white); border: 1px solid var(--mist); border-radius: 16px; min-height: 360px; }
.quiz-steps { display: flex; gap: 6px; margin: 0 0 24px; padding: 0; list-style: none; }
.quiz-steps li { flex: 1; height: 3px; border-radius: 3px; background: var(--mist); transition: background-color 0.3s; }
.quiz-steps li.is-on { background: var(--rose); }
.quiz-q { margin: 0; padding: 0; border: 0; display: grid; gap: 10px; }
.quiz-q[hidden] { display: none; }
.quiz-q.is-active { animation: q-in 0.4s ease; }
@keyframes q-in { from { opacity: 0; transform: translateX(16px); } }
.quiz-q legend { padding: 0; margin-bottom: 14px; font-family: var(--mincho); font-size: clamp(19px, 2vw, 22px); line-height: 1.6; }
.q-count { display: block; font-family: var(--gothic); font-size: 12px; color: var(--ink-soft); letter-spacing: 0.1em; margin-bottom: 6px; }
.quiz-q label { position: relative; display: block; padding: 14px 18px 14px 46px; border: 1px solid var(--champagne); border-radius: 999px; cursor: pointer; transition: background-color 0.2s, border-color 0.2s; }
.quiz-q label:hover { background: var(--paper); }
.quiz-q input { position: absolute; left: 18px; top: 50%; width: 16px; height: 16px; margin: -8px 0 0; accent-color: var(--rose); }
.quiz-q label:has(input:checked) { background: var(--mist); border-color: var(--rose); }
.quiz-result.is-pop { animation: pop 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.2); }
@keyframes pop { from { opacity: 0; transform: scale(0.96); } }
.result-label { margin: 0; font-size: 14px; color: var(--ink-soft); }
.result-name { margin: 4px 0 12px; font-family: var(--mincho); font-size: clamp(44px, 5vw, 60px); line-height: 1.1; color: var(--rose-deep); }
.result-why { margin: 0 0 24px; }
.result-note { margin: 16px 0 0; font-size: 12px; color: var(--ink-soft); }
.quiz-result .btn { font-family: var(--gothic); cursor: pointer; }

/* cost simulator */
.sim { margin-top: clamp(48px, 7vw, 88px); padding: clamp(28px, 4vw, 48px); background: var(--mist); border-radius: 16px; }
.sim h3 { margin: 0 0 6px; font-family: var(--mincho); font-size: clamp(21px, 2.4vw, 26px); font-weight: 500; letter-spacing: 0.08em; }
.sim-lead { margin: 0 0 28px; font-size: 14px; color: var(--ink-soft); }
.sim-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 56px); align-items: start; }
.sim-controls { display: grid; gap: 14px; }
.sim-label { margin: 0; font-size: 14px; }
.sim-label output { font-family: var(--mincho); font-size: 18px; color: var(--rose-deep); }
.sim-courses { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--champagne); border-radius: 999px; background: var(--white); width: fit-content; max-width: 100%; }
.sim-courses label { position: relative; padding: 8px 20px; border-radius: 999px; font-family: var(--mincho); font-size: 16px; cursor: pointer; }
.sim-courses input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.sim-courses label:has(input:checked) { background: var(--rose); color: var(--white); }
.sim-courses label:has(input:focus-visible) { outline: 2px solid var(--rose); outline-offset: 2px; }
.sim input[type="range"] { width: 100%; accent-color: var(--rose); }
.sim-check { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.sim-check input { accent-color: var(--rose); width: 16px; height: 16px; }
.sim-result { padding: 24px 28px; background: var(--white); border-radius: 12px; }
.sim-total-label { margin: 0; font-size: 13px; color: var(--ink-soft); }
.sim-total { margin: 0 0 12px; font-family: var(--mincho); font-size: clamp(38px, 4.4vw, 52px); line-height: 1.2; color: var(--rose-deep); font-variant-numeric: tabular-nums; }
.sim-total small { font-size: 0.4em; margin-left: 4px; }
.sim-break { margin: 0; }
.sim-break div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--mist); font-size: 14px; }
.sim-break dt { color: var(--ink-soft); }
.sim-break dd { margin: 0; font-variant-numeric: tabular-nums; }

@media (max-width: 880px) {
  .staff-grid, .shindan-grid, .sim-grid { grid-template-columns: minmax(0, 1fr); }
  .shindan-photo { aspect-ratio: 16 / 9; }
}
@media (max-width: 480px) {
  .staff { grid-template-columns: 7.5rem minmax(0, 1fr); gap: 18px; }
  .staff-text h3 { font-size: 19px; }
  .quiz { padding: 22px 20px; min-height: 0; }
  .sim { padding: 24px 20px; }
  .sim-result { padding: 20px; }
  .sim-courses { width: 100%; }
  .sim-courses label { flex: 1; text-align: center; padding: 8px 6px; }
}
@media (prefers-reduced-motion: reduce) { .quiz-q.is-active, .quiz-result.is-pop { animation: none; } }

/* slideshow beside the quiz */
.slideshow { position: relative; }
.slideshow img { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity 1.4s ease, transform 6.5s ease-out; }
.slideshow img.is-active { opacity: 1; transform: scale(1); }
.slideshow img:nth-child(1) { object-position: 55% center; }
.slideshow img:nth-child(2) { object-position: 45% 30%; }
.slideshow img:nth-child(3) { object-position: center; }
@media (prefers-reduced-motion: reduce) { .slideshow img { transition: none; } }

/* tighter vertical rhythm on phones */
.concept-text p, .reason-list p, .hero-intro .body { text-wrap: pretty; }
@media (max-width: 480px) {
  .section, .closing-cta { padding-block: 52px; }
  .hero { padding-bottom: 40px; }
  .marquee { padding-block: 12px; }
  .section h2 { margin-bottom: 24px; }
  .statement { margin-bottom: 36px; }
  .concept-photo { margin-bottom: 28px; }
  .concept-text .closing br { display: none; }
  .reason-list li { padding: 22px 0; }
  .compare, .sim { margin-top: 40px; }
  .flow li { padding-bottom: 26px; }
  .closing-grid { gap: 28px; }
}

/* booking sheet */
.sheet-open { overflow: hidden; }
.book-sheet {
  width: min(980px, calc(100vw - 32px));
  height: min(88vh, 880px);
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 24px 64px rgba(47, 42, 38, 0.25);
  overflow: hidden;
}
.book-sheet[open] { display: flex; flex-direction: column; animation: sheet-in 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); }
.book-sheet::backdrop { background: rgba(47, 42, 38, 0.45); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(24px); } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px 8px; }
.sheet-title { margin: 0; font-family: var(--mincho); font-size: 20px; letter-spacing: 0.1em; }
.sheet-close { position: relative; width: 40px; height: 40px; border: 1px solid var(--champagne); border-radius: 50%; background: var(--white); cursor: pointer; flex: none; }
.sheet-close span::before, .sheet-close span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1px; background: var(--ink); }
.sheet-close span::before { transform: translate(-50%, -50%) rotate(45deg); }
.sheet-close span::after { transform: translate(-50%, -50%) rotate(-45deg); }
.sheet-steps { display: flex; gap: 8px; margin: 0; padding: 4px 24px 14px; list-style: none; font-size: 13px; color: var(--ink-soft); }
.sheet-steps li { flex: 1; display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--white); border: 1px solid var(--mist); border-radius: 999px; min-width: 0; }
.step-num { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--rose); color: var(--white); font-size: 12px; }
.sheet-frame { flex: 1; min-height: 0; margin: 0 16px; border-radius: 12px; overflow: hidden; background: var(--white); border: 1px solid var(--mist); }
.sheet-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.sheet-note { margin: 0; padding: 10px 24px 16px; font-size: 12px; color: var(--ink-soft); }
@media (max-width: 640px) {
  .book-sheet { width: 100vw; height: 94dvh; margin: auto 0 0; border-radius: 18px 18px 0 0; }
  .book-sheet[open] { animation-name: sheet-up; }
  @keyframes sheet-up { from { transform: translateY(40%); opacity: 0.6; } }
  .sheet-head { padding: 14px 16px 6px; }
  .sheet-title { font-size: 17px; }
  .sheet-steps { flex-direction: column; gap: 4px; padding: 2px 16px 10px; font-size: 12px; }
  .sheet-steps li { padding: 4px 0; background: none; border: 0; border-radius: 0; }
  .sheet-frame { margin: 0 8px; }
  .sheet-note { padding: 8px 16px calc(12px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .book-sheet[open] { animation: none; } }

/* concept as a letter: vertical title, ink reveal, filled closing quote */
.concept-body { grid-template-columns: auto minmax(0, 1fr); gap: clamp(40px, 9vw, 120px); align-items: center; }
.concept-title {
  margin: 0;
  writing-mode: vertical-rl;
  height: max-content;
  font-family: var(--mincho);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.16em;
}
.concept-title span { display: block; white-space: nowrap; }
.concept-title span + span { padding-top: 3em; color: var(--rose-deep); }
.concept-text { max-width: 34em; padding-top: 8px; }
.concept-text p { margin: 0 0 1.8em; }
.concept-quote { margin: clamp(64px, 9vw, 120px) 0 0; padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--champagne); }
.concept-quote blockquote { margin: 0; }
.concept-quote p { margin: 0; font-family: var(--mincho); font-size: clamp(24px, 3.4vw, 42px); line-height: 1.8; letter-spacing: 0.1em; text-wrap: balance; }
.concept-quote .fill { display: block; width: fit-content; max-width: 100%; }
.concept-quote figcaption { margin-top: 24px; text-align: right; font-family: var(--mincho); font-size: 15px; letter-spacing: 0.2em; color: var(--rose-deep); }
.concept-quote figcaption::before { content: ""; display: inline-block; width: 40px; height: 1px; margin-right: 14px; vertical-align: middle; background: var(--rose); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .concept-text p { animation: ink linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
    @keyframes ink { from { color: var(--champagne); } to { color: var(--ink); } }
    .concept-quote .fill {
      color: transparent;
      background: linear-gradient(90deg, var(--ink) 50%, var(--champagne) 50%) 100% 0 / 200% 100% no-repeat;
      -webkit-background-clip: text;
      background-clip: text;
      animation: fill-text linear both;
      animation-timeline: view();
      animation-range: cover 20% cover 55%;
    }
    @keyframes fill-text { to { background-position: 0 0; } }
  }
}
@media (max-width: 880px) {
  .concept-body { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .concept-title { writing-mode: horizontal-tb; font-size: 24px; }
  .concept-title span + span { padding-top: 0; }
}

.concept-quote p { word-break: keep-all; overflow-wrap: anywhere; }
@media (max-width: 480px) { .concept-quote p { font-size: 22px; letter-spacing: 0.06em; } }

/* online-only note */
.access-note { margin: -8px 0 28px; color: var(--ink-soft); font-size: 15px; line-height: 1.9; max-width: 36em; }

/* column */
.column-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--champagne); }
.column-list li { border-bottom: 1px solid var(--champagne); }
.column-list a { display: grid; gap: 8px; padding: 28px 0; color: inherit; text-decoration: none; }
.column-tag { font-size: 13px; letter-spacing: 0.08em; color: var(--rose); }
.column-title { font-family: var(--mincho); font-size: clamp(19px, 2.2vw, 22px); line-height: 1.6; text-wrap: pretty; transition: color .3s; }
.column-lead { color: var(--ink-soft); font-size: 15px; line-height: 1.9; }
.column-list a:hover .column-title, .column-list a:focus-visible .column-title { color: var(--rose-deep); }

.article { padding-block: clamp(56px, 8vw, 96px); }
.article .wrap { max-width: 720px; }
.article-tag { margin: 0 0 12px; font-size: 13px; letter-spacing: 0.08em; color: var(--rose); }
.article h1 { margin: 0 0 32px; font-family: var(--mincho); font-size: clamp(24px, 3.4vw, 32px); font-weight: 500; line-height: 1.6; text-wrap: balance; }
.article h2 { margin: 48px 0 12px; font-family: var(--mincho); font-size: clamp(19px, 2.4vw, 22px); font-weight: 500; line-height: 1.6; }
.article p, .article li { line-height: 2; text-wrap: pretty; }
.article ul { padding-left: 1.2em; }
.article .article-lead { color: var(--ink-soft); }
.article-end { margin-top: 64px; padding: 32px; background: var(--mist); }
.article-end p { margin: 0 0 20px; }
.article-end .cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.article-more { margin-top: 40px; font-size: 15px; }
.article-more a { color: var(--rose-deep); }
@media (max-width: 480px) { .article-end { padding: 24px 20px; } }

/* 想いの欄を短くしたので、文章を見出しの真ん中に置いて少し大きく */
.concept-text { padding-top: 0; font-size: clamp(17px, 1.9vw, 20px); line-height: 2.4; }
.concept-text p:last-child { margin-bottom: 0; }

/* ---------- 白い曲線の模様（ベージュの欄） ---------- */
.section-mist { position: relative; overflow: clip; }
.section-mist::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: no-repeat center / 100% 100%; }
.section-mist > .wrap { position: relative; z-index: 1; }
#features::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 800' preserveAspectRatio='none'%3E%3Cpath d='M 860 -20 C 1060 150, 1230 70, 1460 250' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' vector-effect='non-scaling-stroke' opacity='0.95'/%3E%3Cpath d='M 820 -20 C 1050 200, 1230 130, 1460 320' fill='none' stroke='white' stroke-width='1.2' stroke-linecap='round' vector-effect='non-scaling-stroke' opacity='0.8'/%3E%3Cpath d='M 1000 -20 C 1170 90, 1300 50, 1460 150' fill='none' stroke='white' stroke-width='1.2' stroke-linecap='round' vector-effect='non-scaling-stroke' opacity='0.65'/%3E%3C/svg%3E"); }
#shindan::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 800' preserveAspectRatio='none'%3E%3Cpath d='M -20 520 C 200 640, 380 480, 640 820' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' vector-effect='non-scaling-stroke' opacity='0.95'/%3E%3Cpath d='M -20 580 C 230 690, 400 560, 600 820' fill='none' stroke='white' stroke-width='1.2' stroke-linecap='round' vector-effect='non-scaling-stroke' opacity='0.8'/%3E%3Cpath d='M -20 660 C 120 720, 260 650, 380 820' fill='none' stroke='white' stroke-width='1.2' stroke-linecap='round' vector-effect='non-scaling-stroke' opacity='0.65'/%3E%3C/svg%3E"); }
#flow::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 800' preserveAspectRatio='none'%3E%3Cpath d='M -20 50 C 300 -30, 620 140, 940 40 S 1300 -20, 1460 60' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' vector-effect='non-scaling-stroke' opacity='0.9'/%3E%3Cpath d='M -20 690 C 300 790, 660 600, 1000 700 S 1330 780, 1460 690' fill='none' stroke='white' stroke-width='1.3' stroke-linecap='round' vector-effect='non-scaling-stroke' opacity='0.8'/%3E%3C/svg%3E"); }
#concept::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 800' preserveAspectRatio='none'%3E%3Cpath d='M 1460 420 C 1220 360, 1150 600, 900 820' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' vector-effect='non-scaling-stroke' opacity='0.95'/%3E%3Cpath d='M 1460 480 C 1260 440, 1180 640, 980 820' fill='none' stroke='white' stroke-width='1.2' stroke-linecap='round' vector-effect='non-scaling-stroke' opacity='0.75'/%3E%3Cpath d='M -20 60 C 160 20, 300 120, 420 -20' fill='none' stroke='white' stroke-width='1.2' stroke-linecap='round' vector-effect='non-scaling-stroke' opacity='0.65'/%3E%3C/svg%3E"); }
#access::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 800' preserveAspectRatio='none'%3E%3Cpath d='M 860 -20 C 1060 150, 1230 70, 1460 250' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' vector-effect='non-scaling-stroke' opacity='0.95'/%3E%3Cpath d='M 820 -20 C 1050 200, 1230 130, 1460 320' fill='none' stroke='white' stroke-width='1.2' stroke-linecap='round' vector-effect='non-scaling-stroke' opacity='0.8'/%3E%3Cpath d='M 1000 -20 C 1170 90, 1300 50, 1460 150' fill='none' stroke='white' stroke-width='1.2' stroke-linecap='round' vector-effect='non-scaling-stroke' opacity='0.65'/%3E%3C/svg%3E"); transform: scaleX(-1); }
@media (max-width: 640px) { .section-mist::before { background-size: 220% 100%; background-position: right top; } #access::before { background-position: left top; } }

/* ---------- はじめての方へ（3ステップ） ---------- */
.steps3 { list-style: none; margin: clamp(32px, 5vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); counter-reset: s; position: relative; }
.steps3::before { content: ""; position: absolute; top: 34px; left: 16%; right: 16%; height: 1px; background: repeating-linear-gradient(90deg, var(--champagne) 0 6px, transparent 6px 12px); }
.steps3 li { position: relative; text-align: center; padding: 0 8px; min-width: 0; }
.steps3 .s-ico { position: relative; z-index: 1; display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%; background: var(--paper); border: 1px solid var(--champagne); color: var(--rose); }
.steps3 .s-ico svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.steps3 .s-num { display: block; font-family: var(--mincho); font-size: 13px; letter-spacing: 0.2em; color: var(--rose); }
.steps3 h3 { margin: 4px 0 10px; font-family: var(--mincho); font-weight: 500; font-size: clamp(19px, 2vw, 22px); letter-spacing: 0.08em; }
.steps3 p { margin: 0 auto; max-width: 18em; font-size: 14px; line-height: 1.95; color: var(--ink-soft); text-wrap: pretty; }
.steps3-cta { margin: clamp(36px, 5vw, 56px) 0 0; text-align: center; }
@media (max-width: 760px) {
  .steps3 { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .steps3::before { top: 0; bottom: 0; left: 33px; right: auto; width: 1px; height: auto; background: repeating-linear-gradient(180deg, var(--champagne) 0 6px, transparent 6px 12px); }
  .steps3 li { display: grid; grid-template-columns: 68px minmax(0, 1fr); column-gap: 18px; text-align: left; padding: 0; }
  .steps3 .s-ico { grid-row: 1 / 4; margin: 0; }
  .steps3 p { margin: 0; max-width: none; }
}

/* ---------- 自前の予約画面 ---------- */
.bk-steps { display: flex; gap: 8px; margin: 0; padding: 4px 24px 14px; list-style: none; font-size: 13px; color: var(--ink-soft); }
.bk-steps li { flex: 1; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--mist); min-width: 0; white-space: nowrap; }
.bk-steps li span { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--mist); color: var(--ink-soft); font-size: 12px; }
.bk-steps li.is-on { border-color: var(--rose); color: var(--rose-deep); }
.bk-steps li.is-on span, .bk-steps li.is-done span { background: var(--rose); color: var(--white); }
.bk-body { flex: 1; min-height: 0; overflow: auto; margin: 0 16px; padding: 22px 24px 28px; border-radius: 12px; background: var(--white); border: 1px solid var(--mist); }
.bk-body .sheet-frame { margin: -22px -24px -28px; height: calc(100% + 50px); border: 0; }
.bk-lead { margin: 0 0 18px; font-size: 14px; color: var(--ink-soft); }
.bk-loading { margin: 32px 0; text-align: center; color: var(--ink-soft); font-size: 14px; }
.bk-label { margin: 0 0 10px; font-size: 13px; font-weight: 500; letter-spacing: 0.08em; color: var(--rose-deep); }
.bk-days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 12px; margin-bottom: 18px; scroll-snap-type: x mandatory; }
.bk-day { flex: none; scroll-snap-align: start; display: grid; justify-items: center; gap: 0; width: 64px; padding: 8px 0 10px; border: 1px solid var(--champagne); border-radius: 14px; background: var(--white); color: var(--ink); cursor: pointer; font: inherit; line-height: 1.3; transition: background .2s, border-color .2s; }
.bk-day small { font-size: 11px; color: var(--ink-soft); }
.bk-day b { font-family: var(--mincho); font-weight: 500; font-size: 22px; }
.bk-day span { font-size: 12px; color: var(--ink-soft); }
.bk-day:hover { border-color: var(--rose); }
.bk-day[aria-pressed="true"] { background: var(--rose); border-color: var(--rose); color: var(--white); }
.bk-day[aria-pressed="true"] small, .bk-day[aria-pressed="true"] span { color: rgba(255, 255, 255, .85); }
.bk-times { display: grid; border-top: 1px solid var(--mist); }
.bk-hour { display: grid; grid-template-columns: 3.2em minmax(0, 1fr); align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--mist); }
.bk-hour-label { font-family: var(--mincho); font-size: 16px; color: var(--ink); text-align: right; }
.bk-hour-slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.bk-time { padding: 9px 0; border: 1px solid var(--champagne); border-radius: 8px; background: var(--white); color: var(--ink); font: inherit; font-size: 15px; letter-spacing: 0.04em; text-align: center; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.bk-time:hover { background: var(--rose); border-color: var(--rose); color: var(--white); }
.bk-time.is-off { visibility: hidden; }
.bk-empty { margin: 16px 0; color: var(--ink-soft); }
#bk-form { display: grid; gap: 16px; max-width: 560px; margin: 0 auto; }
.bk-chosen { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 14px 16px; border-radius: 12px; background: var(--paper); }
.bk-chosen span { font-size: 12px; color: var(--ink-soft); width: 100%; }
.bk-chosen b { font-family: var(--mincho); font-weight: 500; font-size: 19px; }
.bk-link { margin-left: auto; border: 0; background: none; padding: 0; color: var(--rose-deep); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }
.bk-field { display: grid; gap: 6px; }
.bk-field > span { font-size: 13px; color: var(--ink); }
.bk-field em, .bk-field i { margin-left: 8px; font-style: normal; font-size: 11px; padding: 1px 8px; border-radius: 999px; }
.bk-field em { background: var(--rose-tint, #f3ebe7); color: var(--rose-deep); }
.bk-field i { background: var(--mist); color: var(--ink-soft); }
.bk-field input, .bk-field textarea { width: 100%; min-width: 0; padding: 12px 14px; border: 1px solid var(--champagne); border-radius: 10px; background: var(--white); color: var(--ink); font: inherit; font-size: 16px; }
.bk-field input:focus, .bk-field textarea:focus { outline: 2px solid var(--rose); outline-offset: 0; border-color: transparent; }
.bk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.bk-agree { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.bk-agree input { width: 18px; height: 18px; accent-color: var(--rose); }
.bk-agree a { color: var(--rose-deep); }
.bk-error { margin: 0; padding: 12px 14px; border-radius: 10px; background: #f7ebe8; color: #9a5a4e; font-size: 14px; }
.bk-submit { justify-self: center; min-width: 240px; }
.bk-submit[disabled] { opacity: .6; cursor: default; }
.bk-done { text-align: center; padding: 24px 0; }
.bk-check { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: var(--rose); }
.bk-check svg { width: 34px; height: 34px; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bk-done h3 { margin: 0 0 8px; font-family: var(--mincho); font-weight: 500; font-size: 24px; letter-spacing: 0.08em; }
.bk-done-when { font-family: var(--mincho); font-size: 18px; color: var(--rose-deep); margin: 0 0 18px; }
.bk-done p { font-size: 14px; color: var(--ink-soft); line-height: 1.9; }
.bk-done .btn { margin-top: 12px; }
@media (max-width: 640px) {
  .bk-steps { padding: 2px 16px 10px; gap: 6px; font-size: 11px; }
  .bk-steps li { padding: 6px 8px; gap: 6px; justify-content: center; }
  .bk-body { margin: 0 8px; padding: 18px 16px 22px; }
  .bk-body .sheet-frame { margin: -18px -16px -22px; height: calc(100% + 40px); }
  .bk-hour { grid-template-columns: 2.6em minmax(0, 1fr); gap: 8px; }
  .bk-hour-label { font-size: 14px; }
  .bk-hour-slots { gap: 5px; }
  .bk-time { padding: 9px 0; font-size: 14px; letter-spacing: 0; }
  .bk-submit { width: 100%; min-width: 0; }
}
.book-sheet [hidden] { display: none !important; }

/* ロゴ画像（2026-11-02） */
.logo img { display: block; height: 40px; width: auto; }
.hero-intro .name { margin: 0 0 18px; }
.hero-intro .name img { display: block; width: clamp(220px, 24vw, 330px); height: auto; }
.curtain .c-logo { display: block; width: clamp(220px, 34vw, 400px); height: auto; margin: 0 auto; opacity: 0; animation: c-in 0.9s 0.2s forwards; }
@media (max-width: 640px) {
  .logo img { height: 34px; }
  .hero-intro .name img { width: 210px; }
}
