/* =========================================================
   整体とパーソナルジム めばえ — design sample (fictional)
   Clean × Sporty : white / sage / deep green / lime
   ========================================================= */
:root {
  --white: #fbfdfa;
  --paper: #f3f7f1;
  --sage-100: #e7efe5;
  --sage-200: #d3e2d0;
  --sage: #9db8a0;
  --sage-600: #5f8466;
  --deep: #1f3d2f;
  --deep-2: #163024;
  --ink: #1a2a21;
  --muted: #56695d;
  --lime: #c6f432;
  --lime-600: #8fbf0f;
  --line: #dbe5d8;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(31, 61, 47, .06), 0 12px 32px -12px rgba(31, 61, 47, .18);
  --ease: cubic-bezier(.22, .9, .3, 1);
  --font: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
  --font-en: "Outfit", "Zen Kaku Gothic New", system-ui, sans-serif;
  --header-h: 68px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.85;
  font-size: 15px;
  letter-spacing: .02em;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.4; margin: 0; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--lime-600); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--deep); color: #fff; padding: 8px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
.pc { display: none; }
@media (min-width: 900px) { .pc { display: inline; } .sp { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 50px; padding: 0 26px; border-radius: 999px; border: 0;
  font-weight: 700; text-decoration: none; letter-spacing: .04em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-deep { background: var(--deep); color: #fff; box-shadow: 0 10px 24px -12px rgba(31,61,47,.7); }
.btn-deep::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.btn-lime { background: var(--lime); color: var(--deep); box-shadow: 0 10px 24px -14px rgba(143,191,15,.9); }
.btn-ghost { background: transparent; color: var(--deep); box-shadow: inset 0 0 0 1.5px var(--sage); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 253, 250, .82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(219, 229, 216, .7);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.logo-mark { width: 38px; height: 38px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-sub { font-size: 10px; color: var(--muted); letter-spacing: .12em; }
.logo-main { font-size: 20px; font-weight: 700; color: var(--deep); letter-spacing: .1em; white-space: nowrap; }
.logo-main em { font-style: normal; font-family: var(--font-en); font-weight: 400; font-size: 10px; letter-spacing: .14em; color: var(--sage-600); margin-left: 4px; }
.nav-pc { display: none; }
.nav-sp { position: relative; }
.nav-sp summary {
  list-style: none; width: 46px; height: 46px; border-radius: 50%;
  background: var(--deep); display: grid; place-content: center; gap: 5px; cursor: pointer;
}
.nav-sp summary::-webkit-details-marker { display: none; }
.nav-sp summary span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-sp summary span:nth-child(2) { width: 12px; background: var(--lime); }
.nav-sp[open] summary span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-sp[open] summary span:nth-child(2) { opacity: 0; }
.nav-sp[open] summary span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-sp nav {
  position: absolute; right: 0; top: 56px; width: min(280px, calc(100vw - 32px));
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid var(--line); padding: 10px; display: grid;
  animation: pop .35s var(--ease);
}
.nav-sp nav a { padding: 12px 14px; border-radius: 12px; text-decoration: none; font-weight: 500; }
.nav-sp nav a:hover { background: var(--sage-100); }
.nav-sp nav a:last-child { background: var(--lime); color: var(--deep); font-weight: 700; margin-top: 6px; text-align: center; }
@keyframes pop { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
@media (min-width: 1000px) {
  .nav-sp { display: none; }
  .nav-pc { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 500; }
  .nav-pc a:not(.btn) { text-decoration: none; position: relative; padding: 4px 0; }
  .nav-pc a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--lime-600); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
  .nav-pc a:not(.btn):hover::after { transform: scaleX(1); }
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 80% at 100% 0%, #e4efdf 0%, transparent 60%),
    radial-gradient(60% 50% at 0% 100%, #eef6d8 0%, transparent 70%),
    var(--white);
  padding-top: 36px;
}
.hero-grid { display: grid; gap: 8px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--sage-600); letter-spacing: .1em; background: #fff; padding: 6px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime-600); box-shadow: 0 0 0 4px rgba(198,244,50,.35); }
.hero-title { font-size: clamp(40px, 11vw, 84px); line-height: 1.18; letter-spacing: .04em; margin: 18px 0 18px; color: var(--deep); }
.hero-title .hl { position: relative; display: inline-block; z-index: 0; }
.hero-title .hl::after {
  content: ""; position: absolute; z-index: -1; left: -4px; right: -4px; bottom: .08em; height: .36em;
  background: var(--lime); border-radius: 6px; transform-origin: left;
  animation: hl 1s .5s var(--ease) both;
}
@keyframes hl { from { transform: scaleX(0); } }
.hero-lead { color: var(--muted); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 26px; max-width: 460px; }
.hero-points li { background: #fff; border-radius: var(--radius-sm); padding: 10px 8px; text-align: center; box-shadow: inset 0 0 0 1px var(--line); line-height: 1.4; }
.hero-points strong { display: block; font-size: 13px; color: var(--deep); }
.hero-points span { font-size: 11px; color: var(--muted); }
.hero-art { position: relative; height: 380px; margin-inline: -16px; }
#flowCanvas { width: 100%; height: 100%; }
.hero-art-cap { position: absolute; right: 16px; bottom: 18px; display: flex; flex-direction: column; align-items: flex-end; font-family: var(--font-en); font-size: 11px; letter-spacing: .3em; color: var(--sage-600); line-height: 1.8; }
.hero-art-cap span:nth-child(2) { color: var(--deep); font-weight: 600; }
@media (min-width: 900px) {
  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; align-items: center; min-height: min(680px, calc(100svh - var(--header-h) - 70px)); }
  .hero-art { height: 600px; margin: 0 -24px 0 0; }
}

.marquee { border-block: 1px solid var(--line); background: var(--deep); color: #fff; overflow: hidden; margin-top: 12px; }
.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee-track span { font-family: var(--font-en); font-weight: 300; font-size: 14px; letter-spacing: .24em; padding: 12px 28px; white-space: nowrap; }
.marquee-track span::before { content: "●"; color: var(--lime); font-size: 8px; margin-right: 28px; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.sec-head { max-width: 640px; margin-bottom: 36px; }
.sec-en { font-family: var(--font-en); font-weight: 600; font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: var(--sage-600); display: flex; align-items: center; gap: 10px; }
.sec-en::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--lime-600); }
.sec-title { font-size: clamp(24px, 6.4vw, 38px); color: var(--deep); margin: 10px 0 14px; letter-spacing: .05em; }
.sec-lead { color: var(--muted); }
@media (min-width: 900px) { .section { padding: 120px 0; } }

/* reveal (only when JS is on) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- body map ---------- */
.concern { background: var(--white); }
.bodymap { display: grid; gap: 20px; background: var(--paper); border-radius: 28px; padding: 20px; box-shadow: inset 0 0 0 1px var(--line); }
.bodymap-figure { position: relative; background: #fff; border-radius: var(--radius); padding: 18px 10px 12px; box-shadow: var(--shadow); }
.body-svg { width: 100%; max-width: 190px; margin: 0 auto; overflow: visible; }
.body-shape > * { fill: url(#bodyFill); stroke: var(--sage); stroke-width: 1.5; }
.body-lines path { fill: none; stroke: var(--sage-200); stroke-width: 1.5; stroke-linecap: round; }
.hs { cursor: pointer; outline: none; }
.hs-ring { fill: rgba(198, 244, 50, .25); stroke: var(--lime-600); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ring 2.4s ease-out infinite; }
.hs:nth-child(2n) .hs-ring { animation-delay: .6s; }
.hs:nth-child(3n) .hs-ring { animation-delay: 1.2s; }
.hs-dot { fill: var(--deep); stroke: #fff; stroke-width: 2; transition: fill .3s, r .3s; }
.hs:hover .hs-dot, .hs:focus-visible .hs-dot { fill: var(--lime-600); }
.hs:focus-visible .hs-ring { stroke: var(--deep); stroke-width: 3; }
.hs.is-active .hs-dot { fill: var(--lime); stroke: var(--deep); r: 8; }
.hs.is-active .hs-ring { fill: rgba(198, 244, 50, .5); animation-duration: 1.4s; }
@keyframes ring { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(1.7); opacity: 0; } }
.bodymap-hint { text-align: center; font-size: 12px; color: var(--muted); margin-top: 6px; }
.bodymap-hint::first-letter { color: var(--lime-600); }

.area-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.area-chips button { border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--line); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 500; transition: background .25s, color .25s, box-shadow .25s; }
.area-chips button:hover { box-shadow: inset 0 0 0 1.5px var(--sage); }
.area-chips button[aria-selected="true"] { background: var(--deep); color: #fff; box-shadow: none; }
.area-chips button[aria-selected="true"]::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); margin-right: 7px; vertical-align: middle; }
html:not(.js) .area-chips { display: none; }

.area-panels { display: grid; gap: 14px; }
.area-panel { background: #fff; border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.area-panel::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(198,244,50,.35), transparent 70%); pointer-events: none; }
.js .area-panel { display: none; }
.js .area-panel.is-active { display: block; view-transition-name: area-panel; }
.js .area-panel.is-active > * { animation: panelIn .6s var(--ease) both; }
.js .area-panel.is-active > :nth-child(2) { animation-delay: .05s; }
.js .area-panel.is-active > :nth-child(3) { animation-delay: .1s; }
.js .area-panel.is-active > :nth-child(4) { animation-delay: .15s; }
.js .area-panel.is-active > :nth-child(5) { animation-delay: .2s; }
.js .area-panel.is-active > :nth-child(6) { animation-delay: .25s; }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } }
.ap-en { font-family: var(--font-en); font-size: 12px; letter-spacing: .3em; color: var(--lime-600); font-weight: 600; }
.area-panel h3 { font-size: 19px; color: var(--deep); margin: 4px 0 14px; }
.ap-list li { position: relative; padding-left: 26px; margin-bottom: 6px; }
.ap-list li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 14px; height: 14px; border-radius: 4px; background: var(--sage-100); box-shadow: inset 0 0 0 1.5px var(--sage); }
.ap-list li::after { content: ""; position: absolute; left: 6px; top: calc(.55em + 3px); width: 6px; height: 4px; border-left: 2px solid var(--deep); border-bottom: 2px solid var(--deep); transform: rotate(-45deg); }
.ap-label { font-size: 12px; font-weight: 700; color: var(--muted); margin: 16px 0 8px; letter-spacing: .1em; }
.ap-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ap-tags li { background: var(--lime); color: var(--deep); font-weight: 700; font-size: 13px; padding: 4px 14px; border-radius: 999px; }
.ap-note { font-size: 13px; color: var(--muted); margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
@media (min-width: 900px) {
  .bodymap { grid-template-columns: 340px 1fr; gap: 32px; padding: 32px; align-items: start; }
  .bodymap-figure { padding: 28px 20px 16px; }
  .body-svg { max-width: 280px; }
  .area-panel { padding: 34px 36px; }
  .area-panel h3 { font-size: 23px; }
}

::view-transition-old(area-panel) { animation: vtOut .28s var(--ease) both; }
::view-transition-new(area-panel) { animation: vtIn .45s var(--ease) both; }
::view-transition-group(area-panel) { animation-duration: .45s; }
@keyframes vtOut { to { opacity: 0; transform: translateX(-24px); filter: blur(4px); } }
@keyframes vtIn { from { opacity: 0; transform: translateX(24px); filter: blur(4px); } }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .25s; }

/* ---------- method / compare ---------- */
.method { background: var(--deep); color: #e8f0e6; position: relative; overflow: hidden; }
.method::before { content: ""; position: absolute; inset: auto -20% -40% auto; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(198,244,50,.12), transparent 65%); pointer-events: none; }
.method .sec-title { color: #fff; }
.method .sec-en { color: var(--sage); }
.method .sec-en::before { background: var(--lime); }
.method-grid { display: grid; gap: 44px; position: relative; }
.method-copy > p { color: #c4d4c6; }
.steps3 { margin-top: 28px; display: grid; gap: 12px; }
.steps3 li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-sm); background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.steps3 .n { font-family: var(--font-en); font-weight: 700; font-size: 22px; color: var(--lime); line-height: 1.2; }
.steps3 strong { color: #fff; font-size: 16px; }
.steps3 p { font-size: 14px; color: #b8cabb; }

.compare { margin: 0; }
.compare-stage { position: relative; aspect-ratio: 4 / 5; max-width: 460px; margin-inline: auto; border-radius: 28px; overflow: hidden; background: #fff; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.compare-layer { position: absolute; inset: 0; }
.compare-layer svg { width: 100%; height: 100%; }
.compare-layer.before { background: linear-gradient(180deg, #f2f4f1, #e6ebe4); }
.compare-layer.after { background: linear-gradient(180deg, #f6fbe8, #e7f1dd); clip-path: inset(0 0 0 var(--pos)); }
.plumb { stroke: var(--sage); stroke-width: 1.5; stroke-dasharray: 5 6; }
.fig path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.fig .fig-body { stroke-width: 24; }
.fig .fig-limb { stroke-width: 16; }
.fig .fig-limb.thin { stroke-width: 10; }
.fig-before path { stroke: #b9c3bb; }
.fig-before .fig-head { fill: #b9c3bb; }
.fig-after path { stroke: var(--sage); }
.fig-after .fig-head { fill: var(--sage); }
.marks circle { fill: #fff; stroke-width: 3; }
.marks polyline { fill: none; stroke-width: 2.5; stroke-linejoin: round; }
.before .marks circle { stroke: #8a958d; }
.before .marks polyline { stroke: #8a958d; }
.after .marks circle { stroke: var(--deep); }
.after .marks polyline { stroke: var(--lime-600); }
.compare-tag { position: absolute; top: 16px; font-family: var(--font-en); font-weight: 700; font-size: 13px; letter-spacing: .16em; padding: 6px 12px; border-radius: 999px; }
.compare-tag small { font-family: var(--font); font-weight: 500; letter-spacing: .04em; margin-left: 4px; font-size: 11px; }
.before .compare-tag { left: 16px; background: #fff; color: var(--muted); }
.after .compare-tag { right: 16px; background: var(--lime); color: var(--deep); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; pointer-events: none; }
.compare-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: var(--deep); }
.compare-handle span { position: absolute; top: 50%; left: 0; width: 48px; height: 48px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--deep); box-shadow: 0 0 0 4px #fff, 0 8px 20px rgba(0,0,0,.25); }
.compare-handle span::before, .compare-handle span::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; border-top: 2.5px solid var(--lime); border-left: 2.5px solid var(--lime); }
.compare-handle span::before { left: 12px; transform: translateY(-50%) rotate(-45deg); }
.compare-handle span::after { right: 12px; transform: translateY(-50%) rotate(135deg); }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; touch-action: pan-y; }
.compare-range:focus-visible ~ .compare-handle span, .compare-stage:has(.compare-range:focus-visible) .compare-handle span { box-shadow: 0 0 0 4px var(--lime), 0 8px 20px rgba(0,0,0,.25); }
.compare figcaption { font-size: 12px; color: #b8cabb; margin: 16px auto 0; max-width: 460px; line-height: 1.7; }
.compare figcaption strong { color: #fff; }
/* no-JS: side by side */
html:not(.js) .compare-stage { aspect-ratio: 8 / 5; }
html:not(.js) .compare-layer.before { right: 50%; }
html:not(.js) .compare-layer.after { left: 50%; clip-path: none; }
html:not(.js) .compare-handle, html:not(.js) .compare-range { display: none; }
@media (min-width: 900px) {
  .method-grid { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
}

/* ---------- menu ---------- */
.menu { background: var(--white); }
.menu-cards { display: grid; gap: 16px; }
.menu-card { position: relative; background: #fff; border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.menu-card:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(31,61,47,.06), 0 24px 44px -18px rgba(31,61,47,.3); }
.mc-icon svg { width: 56px; height: 56px; }
.mc-en { font-family: var(--font-en); font-size: 12px; letter-spacing: .28em; color: var(--sage-600); font-weight: 600; margin-top: 16px; }
.menu-card h3 { font-size: 20px; color: var(--deep); margin: 2px 0 10px; }
.menu-card h3 span { font-family: var(--font-en); font-size: 13px; font-weight: 600; background: var(--sage-100); color: var(--sage-600); padding: 2px 10px; border-radius: 999px; margin-left: 6px; vertical-align: middle; }
.menu-card > p:not(.mc-en):not(.mc-badge) { color: var(--muted); font-size: 14px; }
.mc-list { margin-top: 14px; display: grid; gap: 4px; font-size: 14px; }
.mc-list li { padding-left: 18px; position: relative; }
.mc-list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--lime-600); }
.menu-card-feature { background: var(--deep); border-color: var(--deep); color: #fff; }
.menu-card-feature h3 { color: #fff; }
.menu-card-feature h3 span { background: rgba(255,255,255,.12); color: var(--lime); }
.menu-card-feature .mc-en { color: var(--lime); }
.menu-card-feature > p:not(.mc-en):not(.mc-badge) { color: #c4d4c6; }
.menu-card-feature .mc-list li::before { background: var(--lime); }
.mc-badge { position: absolute; top: 20px; right: 20px; background: var(--lime); color: var(--deep); font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
@media (min-width: 900px) { .menu-cards { grid-template-columns: repeat(3, 1fr); gap: 22px; } .menu-card { padding: 34px 30px; } }

/* stretch */
.selfcare { margin-top: 90px; }
.sub-head { max-width: 640px; margin-bottom: 28px; }
.sub-title { font-size: clamp(21px, 5.4vw, 28px); color: var(--deep); margin: 8px 0 10px; }
.sub-head > p:last-child { color: var(--muted); }
.stretch-list { display: grid; gap: 16px; counter-reset: st; }
.stretch { display: grid; grid-template-columns: 128px 1fr; gap: 16px; align-items: center; background: var(--paper); border-radius: var(--radius); padding: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.stretch-fig { position: relative; background: #fff; border-radius: var(--radius-sm); aspect-ratio: 4 / 5; display: grid; place-items: center; overflow: hidden; }
.stretch-fig svg { width: 100%; height: 100%; }
.stretch-step { position: absolute; left: 8px; top: 8px; font-family: var(--font-en); font-size: 10px; font-weight: 700; letter-spacing: .18em; background: var(--lime); color: var(--deep); padding: 2px 8px; border-radius: 999px; }
.stretch-text h4 { font-size: 17px; color: var(--deep); margin-bottom: 4px; }
.stretch-text p { font-size: 13.5px; color: var(--muted); line-height: 1.75; }
.stretch svg path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.stretch .shadow { fill: var(--sage-100); }
.st-legs path { stroke: var(--deep); stroke-width: 11; }
.st-torso { stroke: var(--deep); stroke-width: 16; }
.st-arm-l path, .st-arm-r path { stroke: var(--sage-600); stroke-width: 9; }
.st-neck { stroke: var(--deep); stroke-width: 7; }
.st-headc { fill: var(--deep); }
.stretch .st-head .st-headc { fill: var(--deep); }
.anim-neck, .anim-arm-l, .anim-arm-r, .anim-side { transform-box: view-box; }
.anim-neck { transform-origin: 80px 64px; animation: neckTilt 5s ease-in-out infinite; }
.anim-arm-l { transform-origin: 80px 70px; animation: armL 4s ease-in-out infinite; }
.anim-arm-r { transform-origin: 80px 70px; animation: armR 4s ease-in-out infinite; }
.anim-side { transform-origin: 80px 120px; animation: sideBend 6s ease-in-out infinite; }
.anim-side .st-arm-l path, .anim-side .st-arm-r path { stroke: var(--lime-600); }
.anim-arm-l path, .anim-arm-r path { stroke: var(--lime-600); }
.anim-neck .st-headc { fill: var(--lime-600); }
@keyframes neckTilt { 0%, 12% { transform: rotate(0); } 32%, 44% { transform: rotate(-24deg); } 56%, 62% { transform: rotate(0); } 80%, 92% { transform: rotate(24deg); } 100% { transform: rotate(0); } }
@keyframes armL { 0%, 10% { transform: rotate(18deg); } 45%, 60% { transform: rotate(168deg); } 95%, 100% { transform: rotate(18deg); } }
@keyframes armR { 0%, 10% { transform: rotate(-18deg); } 45%, 60% { transform: rotate(-168deg); } 95%, 100% { transform: rotate(-18deg); } }
@keyframes sideBend { 0%, 8% { transform: rotate(0); } 30%, 44% { transform: rotate(-18deg); } 56%, 60% { transform: rotate(0); } 80%, 94% { transform: rotate(18deg); } 100% { transform: rotate(0); } }
@media (min-width: 900px) {
  .stretch-list { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .stretch { grid-template-columns: 1fr; padding: 18px; align-items: start; }
  .stretch-fig { aspect-ratio: 1 / 1; }
  .stretch-fig svg { width: 78%; }
}

/* breath */
.breath { margin-top: 90px; display: grid; gap: 28px; background: linear-gradient(135deg, #eaf3e6 0%, #f5fae6 100%); border-radius: 32px; padding: 32px 22px; overflow: hidden; position: relative; }
.breath-copy > p { color: var(--muted); }
.nojs-note { display: inline; }
.js .nojs-note { display: none; }
.breath-pace { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 18px; border: 0; padding: 0; }
.breath-pace label { cursor: pointer; position: relative; }
.breath-pace input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.breath-pace span { display: inline-block; padding: 7px 14px; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--line); transition: background .25s, color .25s; }
.breath-pace input:checked + span { background: var(--deep); color: #fff; box-shadow: none; }
.breath-pace input:focus-visible + span { outline: 3px solid var(--lime-600); outline-offset: 2px; }
html:not(.js) .breath-pace, html:not(.js) .breath-btn { display: none; }
.breath-count { font-size: 13px; color: var(--sage-600); margin-top: 10px; min-height: 1.8em; font-family: var(--font-en), var(--font); }
.breath-stage { position: relative; display: grid; place-items: center; height: 300px; }
.breath-rings { position: absolute; inset: 0; display: grid; place-items: center; }
.breath-rings span { position: absolute; border-radius: 50%; border: 1px dashed rgba(95,132,102,.35); }
.breath-rings span:nth-child(1) { width: 150px; height: 150px; }
.breath-rings span:nth-child(2) { width: 220px; height: 220px; }
.breath-rings span:nth-child(3) { width: 284px; height: 284px; border-style: solid; border-color: rgba(95,132,102,.15); }
.breath-orb {
  --dur: 4s;
  position: relative; width: 150px; height: 150px; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  background: radial-gradient(circle at 35% 30%, #e8ff9a 0%, var(--lime) 38%, #9fd323 100%);
  box-shadow: 0 20px 50px -18px rgba(143,191,15,.8), inset 0 -10px 30px rgba(31,61,47,.12);
  transform: scale(1);
  transition: transform var(--dur) cubic-bezier(.45, 0, .55, 1), background .6s;
}
.breath-orb.inhale { transform: scale(1.8); }
.breath-orb.exhale { transform: scale(1); }
.breath-orb.hold { transition-duration: .4s; }
.breath-word { font-weight: 700; font-size: 20px; color: var(--deep); line-height: 1.2; transition: transform var(--dur) cubic-bezier(.45,0,.55,1); }
.breath-sec { font-size: 10px; color: var(--deep); opacity: .75; line-height: 1.4; margin-top: 2px; transition: transform var(--dur) cubic-bezier(.45,0,.55,1); }
.breath-orb.inhale .breath-word, .breath-orb.inhale .breath-sec { transform: scale(.62); }
.breath-orb.running .breath-sec { font-family: var(--font-en); font-size: 22px; font-weight: 600; }
@media (min-width: 900px) {
  .breath { grid-template-columns: 1fr 1fr; align-items: center; padding: 56px 64px; }
  .breath-stage { height: 360px; }
  .breath-rings span:nth-child(3) { width: 330px; height: 330px; }
}

/* ---------- price ---------- */
.price { background: var(--paper); }
.price-tabs { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: 999px; padding: 6px; box-shadow: inset 0 0 0 1px var(--line); max-width: 520px; margin-bottom: 28px; }
.price-tabs button { position: relative; border: 0; background: none; border-radius: 999px; min-height: 46px; font-weight: 700; font-size: 15px; color: var(--muted); padding: 0 6px; }
.price-tabs .pill { position: absolute; inset: 0; border-radius: 999px; background: var(--deep); opacity: 0; transition: opacity .25s; }
.price-tabs .t { position: relative; transition: color .25s; }
.price-tabs button[aria-selected="true"] .pill { opacity: 1; view-transition-name: price-pill; }
.price-tabs button[aria-selected="true"] .t { color: #fff; }
.price-tabs button[aria-selected="true"] .t::after { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); margin-left: 6px; vertical-align: middle; }
html:not(.js) .price-tabs { display: none; }
::view-transition-group(price-pill) { animation-duration: .45s; animation-timing-function: var(--ease); }

.price-panels { display: grid; gap: 40px; }
.js .price-panel[hidden] { display: none; }
.pp-title { font-size: 18px; color: var(--deep); margin-bottom: 16px; }
.pp-title small { font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 8px; }
.js .pp-title { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.price-cards { display: grid; gap: 14px; }
.pcard { position: relative; background: #fff; border-radius: var(--radius); padding: 22px 22px 20px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name price" "desc unit"; align-items: end; column-gap: 12px; view-transition-name: none; }
.pc-name { grid-area: name; font-weight: 700; color: var(--deep); font-size: 16px; line-height: 1.5; }
.pc-desc { grid-area: desc; font-size: 13px; color: var(--muted); }
.pc-price { grid-area: price; font-family: var(--font-en); font-weight: 700; font-size: 34px; color: var(--deep); line-height: 1; letter-spacing: 0; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.pc-price .yen { font-size: .5em; margin-right: 2px; vertical-align: .35em; }
.pc-unit { grid-area: unit; font-size: 12px; color: var(--muted); text-align: right; white-space: nowrap; }
.pcard-hi { background: var(--deep); }
.pcard-hi .pc-name, .pcard-hi .pc-price { color: #fff; }
.pcard-hi .pc-desc, .pcard-hi .pc-unit { color: #b8cabb; }
.pcard-hi .pc-price .num { color: var(--lime); }
.pc-flag { position: absolute; top: -10px; left: 18px; background: var(--lime); color: var(--deep); font-size: 11px; font-weight: 700; padding: 1px 12px; border-radius: 999px; }
.js .price-panel.is-swapping .pcard { animation: cardIn .6s var(--ease) both; }
.js .price-panel.is-swapping .pcard:nth-child(2) { animation-delay: .06s; }
.js .price-panel.is-swapping .pcard:nth-child(3) { animation-delay: .12s; }
@keyframes cardIn { from { opacity: .3; transform: translateY(10px); } }
.price-note { font-size: 12px; color: var(--muted); margin-top: 22px; }
@media (min-width: 900px) {
  .price-cards { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .pcard { grid-template-columns: 1fr; grid-template-areas: "name" "desc" "price" "unit"; align-items: start; padding: 34px 30px 28px; }
  .pc-price { text-align: left; font-size: 48px; margin-top: 22px; }
  .pc-unit { text-align: left; margin-top: 6px; }
  .pcard-hi { transform: translateY(-10px); }
}

/* ---------- staff ---------- */
.staff-list { display: grid; gap: 16px; }
.staff-card { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: start; background: #fff; border-radius: var(--radius); padding: 20px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.avatar svg { width: 96px; height: 96px; border-radius: 50%; box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line); }
.staff-card .role { font-size: 12px; font-weight: 700; color: var(--lime-600); letter-spacing: .1em; }
.staff-card h3 { font-size: 19px; color: var(--deep); margin: 2px 0 2px; }
.staff-card h3 span { display: block; font-family: var(--font-en); font-weight: 400; font-size: 11px; letter-spacing: .16em; color: var(--sage-600); }
.quals { display: inline-block; font-size: 12px; background: var(--sage-100); color: var(--deep); padding: 2px 10px; border-radius: 8px; margin: 8px 0 10px; }
.staff-body > p:last-child { font-size: 14px; color: var(--muted); }
@media (min-width: 900px) {
  .staff-list { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .staff-card { grid-template-columns: 1fr; text-align: left; padding: 30px; }
  .avatar svg { width: 120px; height: 120px; }
}

/* ---------- flow ---------- */
.flow { background: var(--white); }
.flow-list { display: grid; gap: 0; position: relative; }
.flow-list li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding-bottom: 26px; position: relative; }
.flow-list li:not(:last-child)::before { content: ""; position: absolute; left: 25px; top: 52px; bottom: 0; width: 2px; background: repeating-linear-gradient(var(--sage) 0 6px, transparent 6px 12px); }
.fl-num { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-en); font-size: 20px; font-weight: 700; background: #fff; color: var(--deep); box-shadow: inset 0 0 0 2px var(--sage); }
.flow-list li:first-child .fl-num { background: var(--lime); box-shadow: none; }
.flow-list h3 { font-size: 17px; color: var(--deep); margin-top: 10px; }
.flow-list p { font-size: 14px; color: var(--muted); }
@media (min-width: 900px) {
  .flow-list { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .flow-list li { grid-template-columns: 1fr; background: var(--paper); border-radius: var(--radius); padding: 28px; box-shadow: inset 0 0 0 1px var(--line); }
  .flow-list li:not(:last-child)::before { display: none; }
  .flow-list h3 { margin-top: 4px; }
}

/* ---------- access ---------- */
.access { background: var(--paper); }
.access-grid { display: grid; gap: 32px; }
.info-dl { margin: 18px 0 0; display: grid; }
.info-dl > div { display: grid; grid-template-columns: 88px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-dl dt { font-weight: 700; color: var(--deep); font-size: 14px; }
.info-dl dd { margin: 0; font-size: 14px; }
.info-dl a { color: var(--deep); font-weight: 700; }
.map { border-radius: 28px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.map svg { width: 100%; height: auto; }
.map .route { animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -22; } }
.map .pin { transform-box: fill-box; transform-origin: 50% 100%; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-6px); } }
.map-cap { font-size: 11px; color: var(--muted); padding: 10px 16px; }
@media (min-width: 900px) { .access-grid { grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; } }

/* ---------- reserve ---------- */
.reserve { background: var(--deep); color: #e8f0e6; }
.reserve .sec-title { color: #fff; }
.reserve .sec-en { color: var(--sage); }
.reserve .sec-en::before { background: var(--lime); }
.reserve-grid { display: grid; gap: 32px; }
.reserve-copy > p { color: #c4d4c6; }
.tel-card { display: block; margin: 24px 0 16px; padding: 18px 22px; border-radius: var(--radius); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); text-decoration: none; }
.tel-card span { display: block; font-size: 12px; color: var(--sage); }
.tel-card strong { font-family: var(--font-en); font-size: 30px; letter-spacing: .06em; color: var(--lime); }
.reserve .small { font-size: 12px; color: #9fb4a3; }
.reserve-form { background: var(--white); color: var(--ink); border-radius: 28px; padding: 26px 20px; display: grid; gap: 16px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.demo-flag { font-size: 12px; font-weight: 700; color: var(--deep); background: var(--lime); border-radius: 10px; padding: 6px 12px; justify-self: start; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: 13px; font-weight: 700; color: var(--deep); padding: 0; }
.field input, .field select { width: 100%; min-height: 48px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; padding: 0 14px; font-size: 16px; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--deep) 50%), linear-gradient(135deg, var(--deep) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--sage-600); box-shadow: 0 0 0 4px rgba(198,244,50,.45); }
.field-row { display: grid; gap: 16px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.checks label { cursor: pointer; position: relative; }
.checks input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.checks span { display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 13px; background: var(--sage-100); transition: background .2s, color .2s; }
.checks input:checked + span { background: var(--deep); color: #fff; }
.checks input:focus-visible + span { outline: 3px solid var(--lime-600); outline-offset: 2px; }
.form-result { font-size: 14px; color: var(--deep); min-height: 0; }
.form-result:not(:empty) { background: var(--sage-100); border-radius: 12px; padding: 12px 14px; animation: panelIn .5s var(--ease); }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .reserve-grid { grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; } .reserve-form { padding: 36px; } }

/* ---------- footer ---------- */
.site-footer { background: var(--deep-2); color: #a9bcad; font-size: 12px; padding: 32px 0 150px; }
.footer-inner { display: grid; gap: 10px; }
.footer-brand { color: #fff; font-size: 15px; font-weight: 700; }
@media (min-width: 900px) { .site-footer { padding-bottom: 90px; } .footer-inner { grid-template-columns: 1fr auto; align-items: end; } }

/* ---------- mobile reserve bar ---------- */
.sp-bar {
  position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60;
  display: grid; grid-template-columns: 76px 1fr; gap: 8px;
  padding: 8px; border-radius: 22px;
  background: rgba(22, 48, 36, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px -12px rgba(0,0,0,.45);
  transition: transform .45s var(--ease), opacity .3s;
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px) * .5);
}
.sp-bar a { text-decoration: none; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.sp-bar-tel { flex-direction: column; color: #fff; font-size: 11px; gap: 2px; background: rgba(255,255,255,.08); }
.sp-bar-tel svg { width: 20px; height: 20px; color: var(--lime); }
.sp-bar-main { flex-direction: column; background: var(--lime); color: var(--deep); min-height: 52px; line-height: 1.3; }
.sp-bar-main span { font-size: 11px; font-weight: 500; }
.sp-bar-main strong { font-size: 15px; }
body.bar-hidden .sp-bar { transform: translateY(calc(100% + 20px)); opacity: 0; }
@media (min-width: 900px) { .sp-bar { display: none; } }

/* ---------- sample badge ---------- */
.sample-badge {
  position: fixed; right: 10px; bottom: 90px; z-index: 70;
  max-width: calc(100vw - 20px); padding: 6px 12px; border-radius: 12px;
  background: rgba(255,255,255,.94); border: 1px solid var(--line);
  box-shadow: 0 8px 24px -10px rgba(0,0,0,.3);
  font-size: 10.5px; line-height: 1.5;
  transition: bottom .45s var(--ease);
}
.sample-badge p { color: var(--muted); white-space: nowrap; }
.sample-badge a { color: var(--deep); font-weight: 700; }
body.bar-hidden .sample-badge { bottom: 10px; }
@media (min-width: 900px) { .sample-badge { bottom: 16px; right: 16px; font-size: 11.5px; max-width: none; } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; animation-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .anim-arm-l { transform: rotate(168deg); }
  .anim-arm-r { transform: rotate(-168deg); }
  .anim-neck { transform: rotate(-20deg); }
  .anim-side { transform: rotate(-16deg); }
  .breath-orb.inhale { transform: scale(1.25); }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
html:not(.js) .breath-sec { display: none; }
