/* =========================================
   ibuki デモLP（オンラインヨガ＆ピラティス）
   余白：4/8/12/16/24/32/40/48/64/80/96px が基本
   ========================================= */

:root {
  --paper: #f3efe8;
  --sheet: #fbf8f2;
  --ink: #23231f;
  --ink-sub: #63625b;
  --line: rgba(35, 35, 31, .14);
  --sage: #8fa58f;
  --clay: #c98b6b;
  --sand: #dec496;
  --mist: #b0bec4;
  --moss: #3f5a4a;
  --moss-dark: #2f4436;
  --deep: #26332c;
  --stamp: #b5694a;
  --error: #b3261e;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --mincho: "Zen Old Mincho", "Hiragino Mincho ProN", serif;
  --gothic: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  --latin: "Cormorant Garamond", var(--mincho);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--gothic);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
/* 見出しは句読点やカッコの位置で改行する（単語の途中で折り返さない） */
h2, h3, .worry-text, .cue { word-break: keep-all; overflow-wrap: anywhere; }
p, li, blockquote { text-wrap: pretty; }
em { font-style: normal; }
.sp { display: none; }
.container { position: relative; z-index: 1; width: min(1200px, 100% - 64px); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--moss); outline-offset: 4px; border-radius: 4px; }

.skip { position: absolute; left: 16px; top: -64px; z-index: 300; padding: 8px 12px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip:focus { top: 16px; }

/* ---------- ざらつき ---------- */
.grain { position: fixed; inset: 0; z-index: 90; pointer-events: none; mix-blend-mode: multiply; opacity: .5; }

/* ---------- オープニング：円がひと呼吸 ---------- */
.opener {
  position: fixed; inset: 0; z-index: 280; display: grid; place-items: center;
  background: var(--paper);
  transition: opacity .9s var(--ease), visibility 0s linear .9s;
}
.opener.is-done { opacity: 0; visibility: hidden; }
.opener-orb {
  position: absolute; width: 280px; height: 280px; border-radius: 50%;
  background: var(--sage); opacity: .35; filter: blur(24px);
  transform: scale(.3);
}
.opener.is-run .opener-orb { animation: openBreath 2.4s var(--ease) forwards; }
@keyframes openBreath {
  0% { transform: scale(.3); opacity: .2; }
  45% { transform: scale(1.15); opacity: .45; }
  100% { transform: scale(.85); opacity: .35; }
}
.opener-word {
  position: relative; font-family: var(--latin); font-weight: 500; font-size: 60px; line-height: 1; letter-spacing: .12em;
  opacity: 0; transition: opacity 1.2s var(--ease) .6s, letter-spacing 1.8s var(--ease) .6s;
}
.opener.is-run .opener-word { opacity: 1; letter-spacing: .2em; }
html:not(.js) .opener, .no-opener .opener { display: none; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  background: var(--moss); color: #fff; text-decoration: none;
  font-family: var(--gothic); font-weight: 700;
  border: 0; border-radius: 9999px; cursor: pointer;
  transition: background-color .3s var(--ease), transform .5s var(--ease);
}
.btn:hover { background: var(--moss-dark); transform: translateY(-2px); }
.btn:active { transform: scale(.98); }
.btn-sm { font-size: 14px; line-height: 20px; padding: 8px 16px; }
.btn-md { font-size: 16px; line-height: 24px; padding: 12px 24px; }
.btn-lg { font-size: 16px; line-height: 24px; padding: 16px 32px; }
.btn-block { width: 100%; }
.btn .arrow { transition: transform .5s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- デモ表記 ---------- */
.demo-badge {
  position: fixed; right: 16px; bottom: 16px; z-index: 95;
  display: flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px;
  background: rgba(251,248,242,.92); border: 1px solid var(--line); border-radius: 9999px;
  font-size: 12px; line-height: 16px; color: var(--ink-sub); backdrop-filter: blur(8px);
}
.demo-badge span { padding: 2px 8px; background: var(--ink); color: #fff; border-radius: 9999px; font-family: var(--latin); font-weight: 600; letter-spacing: .04em; }

/* ---------- ナビ ---------- */
.nav-wrap { position: fixed; top: 16px; left: 0; right: 0; z-index: 100; display: flex; justify-content: center; padding-inline: 16px; pointer-events: none; }
.nav {
  pointer-events: auto; display: flex; align-items: center; gap: 24px; padding: 8px 8px 8px 16px;
  background: rgba(251,248,242,.7); border: 1px solid var(--line); border-radius: 9999px;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.logo { display: flex; align-items: center; gap: 8px; font-family: var(--latin); font-weight: 600; font-size: 24px; line-height: 28px; letter-spacing: .08em; text-decoration: none; }
.logo-orb { width: 16px; height: 16px; border-radius: 50%; background: var(--sage); animation: logoBreath 9s ease-in-out infinite; }
@keyframes logoBreath { 0%, 100% { transform: scale(.8); } 50% { transform: scale(1.1); } }
.nav-links { display: flex; gap: 4px; }
.nav-links a { display: block; padding: 4px 12px; border-radius: 9999px; font-size: 14px; line-height: 20px; font-weight: 500; text-decoration: none; transition: background-color .3s var(--ease); }
.nav-links a:hover { background: rgba(35,35,31,.06); }
.nav-links a.is-current { background: rgba(143,165,143,.24); }

.menu-btn { display: none; position: relative; width: 40px; height: 40px; border: 0; border-radius: 9999px; background: transparent; cursor: pointer; }
.menu-btn span { position: absolute; left: 12px; right: 12px; top: 19px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .5s var(--ease); }
.menu-btn span:first-child { transform: translateY(-4px); }
.menu-btn span:last-child { transform: translateY(4px); }
.menu-btn[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99; display: flex; align-items: center; justify-content: center;
  background: rgba(243,239,232,.95); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  opacity: 0; transition: opacity .5s var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { opacity: 1; }
.mobile-menu ul { display: grid; gap: 24px; text-align: center; }
.mobile-menu a:not(.btn) { font-family: var(--mincho); font-size: 24px; line-height: 32px; text-decoration: none; }
.mobile-menu li { opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.mobile-menu.is-open li { opacity: 1; transform: none; }
.mobile-menu.is-open li:nth-child(2) { transition-delay: 60ms; }
.mobile-menu.is-open li:nth-child(3) { transition-delay: 120ms; }
.mobile-menu.is-open li:nth-child(4) { transition-delay: 180ms; }
.mobile-menu.is-open li:nth-child(5) { transition-delay: 240ms; }
.mobile-menu.is-open li:nth-child(6) { transition-delay: 300ms; }

/* ---------- ヒーロー ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 128px 0 80px; overflow: hidden; }
.hero-canvas { position: absolute; inset: -10%; width: 120%; height: 120%; z-index: 0; filter: blur(28px); }
.hero-vertical {
  position: absolute; right: 0; top: 0;
  writing-mode: vertical-rl; font-family: var(--mincho); font-size: 16px; line-height: 24px; letter-spacing: .3em; color: var(--ink-sub);
}
.hero-title { font-family: var(--mincho); font-weight: 500; font-size: 72px; line-height: 1.35; letter-spacing: .02em; word-break: keep-all; }
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.line > span { display: inline-block; }
.js .line > span { transform: translateY(105%); transition: transform 1.4s var(--ease); }
.js .is-ready .line > span { transform: none; }
.js .is-ready .line:nth-child(2) > span { transition-delay: .14s; }
.js .is-ready .line:nth-child(3) > span { transition-delay: .28s; }
.mark { position: relative; display: inline-block; }
.mark::after {
  content: ""; position: absolute; left: 0; right: .9em; bottom: .14em; height: .24em; z-index: -1;
  background: rgba(143,165,143,.42); border-radius: 9999px;
  transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) 1s;
}
.is-ready .mark::after { transform: scaleX(1); }

.hero-body { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; margin-top: 48px; }
.hero-body .hero-photo { margin-top: -200px; }
.hero-copy { display: grid; gap: 32px; }
.hero-lead { max-width: 560px; color: var(--ink-sub); }
.hero-photo { position: relative; margin: 0; }
.hero-inner { position: relative; }
/* 次のライブ：見出し1行目の右側に置く */
.live-card {
  position: absolute; right: 0; top: 8px; z-index: 2; width: min(420px, calc(100% - 780px));
  display: grid; gap: 4px; padding: 16px 24px;
  background: rgba(251,248,242,.78); border: 1px solid var(--line); border-radius: 16px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.live-label { display: flex; align-items: center; gap: 8px; font-family: var(--latin); font-size: 14px; line-height: 20px; letter-spacing: .08em; color: var(--moss); }
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--sage); }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 80%, 100% { transform: scale(3); opacity: 0; } }
.live-card.is-live .live-dot { background: var(--clay); }
.live-card.is-live .live-label { color: #95522f; }
.live-title { font-family: var(--mincho); font-size: 18px; line-height: 28px; }
.live-time { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; line-height: 20px; color: var(--ink-sub); }
.live-left { font-variant-numeric: tabular-nums; color: var(--ink); }
.js .live-card { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease) 1.1s, transform 1.2s var(--ease) 1.1s; }
.js .is-ready .live-card { opacity: 1; transform: none; }
.hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 0% 50%; border-radius: 24px; }
.hero-actions { display: grid; gap: 12px; justify-items: start; }
.note { font-size: 14px; line-height: 20px; color: var(--ink-sub); }
.js .hero-copy, .js .hero-photo { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease) .7s, transform 1.2s var(--ease) .7s; }
.js .hero-photo { transition-delay: .9s; }
.js .is-ready .hero-copy, .js .is-ready .hero-photo { opacity: 1; transform: none; }

/* ---------- セクション共通 ---------- */
.section { position: relative; padding: 160px 0; }
.sec-label { display: flex; align-items: baseline; gap: 12px; margin-bottom: 24px; font-family: var(--latin); font-weight: 500; font-size: 18px; line-height: 28px; letter-spacing: .08em; color: var(--ink-sub); }
.sec-label span { font-size: 14px; color: var(--moss); }
.sec-label span::after { content: ""; display: inline-block; width: 32px; height: 1px; margin-left: 12px; vertical-align: middle; background: currentColor; }
.sec-title { font-family: var(--mincho); font-size: 48px; line-height: 1.5; margin-bottom: 64px; }

.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* やわらかい色の光（ゆっくり漂う） */
.orb {
  position: absolute; z-index: 0; pointer-events: none;
  width: 44vw; max-width: 640px; aspect-ratio: 1; border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  background: var(--c); opacity: .3; filter: blur(64px);
  animation: float 22s ease-in-out infinite alternate;
}
.orb-a { --c: var(--clay); right: -12vw; top: 8%; }
.orb-b { --c: var(--sage); right: 4vw; top: 10%; animation-duration: 26s; }
.orb-c { --c: var(--mist); left: -14vw; top: 20%; }
.orb-d { --c: var(--sand); left: -10vw; top: 0; opacity: .4; }
@keyframes float { from { transform: translate3d(0, 0, 0) rotate(0); } to { transform: translate3d(-4vw, 6vh, 0) rotate(40deg); } }

/* ---------- こんな毎日：文字がほどける ---------- */
.worries { display: grid; gap: 40px; max-width: 960px; }
.worry-text {
  font-family: var(--mincho); font-size: 36px; line-height: 1.6;
  letter-spacing: -.14em; filter: blur(1.5px); opacity: .55;
  transition: letter-spacing 2s var(--ease), filter 2s var(--ease), opacity 2s var(--ease);
}
.worry.is-in .worry-text { letter-spacing: .04em; filter: blur(0); opacity: 1; }
.answer { margin-top: 96px; padding-left: 24px; border-left: 2px solid var(--sage); font-family: var(--mincho); font-size: 24px; line-height: 1.8; }

/* ---------- タグライン ---------- */
.tagline { padding: 200px 0; }
.tagline-text { font-family: var(--mincho); font-size: 60px; line-height: 1.6; max-width: 1040px; }
.tagline-text .w { color: rgba(35,35,31,.18); transition: color .7s var(--ease); }
.tagline-text .w.on { color: var(--ink); }

/* ---------- 呼吸体験 ---------- */
.breathe { background: var(--deep); color: #eeeae2; overflow: hidden; }
.breathe .sec-label { color: rgba(238,234,226,.7); }
.breathe .sec-label span { color: var(--sand); }
.breathe-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.breathe-text > p:not(.sec-label) { color: rgba(238,234,226,.8); }
.breathe-note { margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(238,234,226,.2); font-family: var(--mincho); font-size: 18px; }
.stage { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin-inline: auto; }
.stage-canvas { position: absolute; inset: -12%; width: 124%; height: 124%; filter: blur(18px); }
.stage-ring { position: absolute; inset: 8%; width: 84%; height: 84%; transform: rotate(-90deg); overflow: visible; }
.stage-ring circle { fill: none; stroke: rgba(238,234,226,.16); stroke-width: 1; }
.stage-ring .ring-bar { stroke: var(--sand); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 603.2; stroke-dashoffset: 603.2; transition: stroke-dashoffset .3s linear; }
.stage-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.cue { font-family: var(--mincho); font-size: 30px; line-height: 1.4; color: #fff; transition: opacity .5s var(--ease); }
.count { margin-top: 8px; font-family: var(--latin); font-size: 20px; line-height: 28px; color: rgba(238,234,226,.7); min-height: 28px; }
.stage-btn { position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%); background: #eeeae2; color: var(--deep); }
.stage-btn:hover { background: #fff; transform: translateX(-50%) translateY(-2px); }
.stage-btn:active { transform: translateX(-50%) scale(.98); }
.stage-done { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; text-align: center; }
.stage-done[hidden] { display: none; }
.stage-link { display: inline-flex; gap: 8px; color: var(--sand); font-family: var(--mincho); text-decoration: none; border-bottom: 1px solid currentColor; }
.stage-center[hidden] { display: none; }
.stage.is-running .stage-btn { background: transparent; color: rgba(238,234,226,.8); border: 1px solid rgba(238,234,226,.3); }

/* ---------- 理由 ---------- */
.rows { border-top: 1px solid var(--line); }
.row { position: relative; display: grid; grid-template-columns: 120px 1fr 1fr; gap: 32px; align-items: baseline; padding: 40px 0; border-bottom: 1px solid var(--line); }
.row-num, .row-title, .row-text { position: relative; z-index: 1; }
.row-num { font-family: var(--latin); font-size: 48px; line-height: 1; }
.row-title { font-family: var(--mincho); font-size: 30px; line-height: 1.5; }
.row-text { color: var(--ink-sub); }
.row-orb {
  position: absolute; left: -24px; top: 50%; width: 160px; height: 160px; margin-top: -80px; z-index: 0;
  background: var(--c); opacity: 0; border-radius: 50%; filter: blur(16px); transform: scale(.4);
  transition: opacity .8s var(--ease), transform 1.2s var(--ease);
}
.row:hover .row-orb, .row.is-lit .row-orb { opacity: .45; transform: scale(1); }

/* ---------- クラス（重なるカード） ---------- */
.stack { display: grid; gap: 64px; }
.sheet {
  position: sticky; top: calc(112px + var(--i) * 24px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  min-height: 460px; padding: 48px; background: var(--sheet); border-radius: 24px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(35,35,31,.05), 0 24px 64px -24px rgba(35,35,31,.2);
}
.sheet-kind { font-family: var(--latin); font-size: 20px; line-height: 28px; letter-spacing: .08em; color: var(--ink-sub); }
.sheet-title { margin: 16px 0; font-family: var(--mincho); font-size: 30px; line-height: 1.5; }
.sheet-text > p:not(.sheet-kind) { color: var(--ink-sub); }
.meta { display: grid; gap: 8px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; line-height: 20px; }
.meta div { display: flex; gap: 24px; }
.meta dt { width: 40px; color: var(--ink-sub); }
.dots { letter-spacing: .2em; color: var(--moss); }
.dots i { font-style: normal; color: rgba(35,35,31,.15); }
.sheet-photo { margin: 0; }
.sheet-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.breathe-photo { margin: 40px 0 0; }
.breathe-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 60%; border-radius: 16px; opacity: .92; }

/* ---------- はじめ方 ---------- */
.step-wrap { position: relative; }
.step-path { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 80px; overflow: visible; }
.step-path path { fill: none; stroke: var(--sage); stroke-width: 2; stroke-dasharray: 1200; stroke-dashoffset: 1200; transition: stroke-dashoffset 2.4s var(--ease); }
.step-wrap.is-in .step-path path { stroke-dashoffset: 0; }
.step-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; padding-top: 16px; }
.step-num { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 24px; font-family: var(--latin); font-size: 30px; line-height: 1; background: var(--paper); border: 1px solid var(--ink); border-radius: 50%; }
.step h3 { font-family: var(--mincho); font-size: 24px; line-height: 1.5; margin-bottom: 12px; }
.step p { color: var(--ink-sub); }

/* ---------- 声 ---------- */
.voice { overflow: hidden; }
.quotes { display: grid; grid-template-columns: repeat(12, 1fr); gap: 64px 32px; }
.quote { grid-column: 1 / span 7; }
.quote:nth-child(2) { grid-column: 6 / span 7; }
.quote:nth-child(3) { grid-column: 2 / span 7; }
.quote blockquote { font-family: var(--mincho); font-size: 24px; line-height: 1.9; }
.quote blockquote::before { content: "“"; display: block; height: 40px; font-family: var(--latin); font-size: 72px; line-height: 1; color: var(--sage); }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: 14px; line-height: 20px; color: var(--ink-sub); }
.avatar { width: 24px; height: 24px; border-radius: 50%; background: var(--c); }

/* ---------- 料金 ---------- */
.price-sheet {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; padding: 64px;
  background: var(--sheet); border-radius: 24px;
  box-shadow: 0 1px 0 rgba(35,35,31,.05), 0 24px 64px -24px rgba(35,35,31,.18);
}
.price-name { font-family: var(--mincho); font-size: 20px; line-height: 28px; }
.price-num { margin: 16px 0 32px; font-size: 20px; line-height: 28px; }
.price-num span { font-family: var(--latin); font-weight: 500; font-size: 128px; line-height: 1; margin-right: 8px; }
.price-num small { margin-left: 4px; font-size: 14px; color: var(--ink-sub); }
.check-list { display: grid; gap: 8px; }
.check-list li { position: relative; padding-left: 24px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 12px; height: 6px; border-left: 2px solid var(--moss); border-bottom: 2px solid var(--moss); transform: rotate(-45deg) translateY(-4px); }
.price-sub { margin-top: 32px; font-size: 14px; line-height: 1.8; color: var(--ink-sub); }
.price-side { display: grid; gap: 40px; align-content: center; justify-items: center; }
.stamp {
  display: grid; place-items: center; align-content: center; width: 176px; height: 176px;
  border: 3px solid var(--stamp); border-radius: 50%; color: var(--stamp);
  font-family: var(--mincho); font-size: 18px; line-height: 1.3; transform: rotate(-12deg);
  box-shadow: inset 0 0 0 6px var(--sheet), inset 0 0 0 7px var(--stamp);
}
.stamp strong { font-family: var(--latin); font-weight: 600; font-size: 72px; line-height: 1; }
.js .stamp { opacity: 0; transform: rotate(-12deg) scale(1.6); transition: opacity .3s var(--ease) .5s, transform .5s cubic-bezier(.3, 1.6, .5, 1) .5s; }
.js .is-in .stamp { opacity: .92; transform: rotate(-12deg) scale(1); }
.assure { display: grid; gap: 12px; width: 100%; }
.assure li { padding: 12px 0; border-bottom: 1px solid var(--line); font-family: var(--mincho); text-align: center; }

/* ---------- FAQ ---------- */
.faq-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; font-family: var(--mincho); font-size: 18px; line-height: 1.6; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; font-family: var(--latin); font-size: 30px; line-height: 1; color: var(--moss); transition: transform .5s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 48px 24px 0; color: var(--ink-sub); }

/* ---------- フォーム ---------- */
.trial { overflow: hidden; }
.trial-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.trial-text > p:not(.sec-label) { color: var(--ink-sub); margin-bottom: 24px; }
.trial .sec-title { margin-bottom: 32px; }
.form {
  position: relative; display: grid; gap: 24px; padding: 48px;
  background: var(--sheet); border-radius: 24px;
  box-shadow: 0 1px 0 rgba(35,35,31,.05), 0 24px 64px -24px rgba(35,35,31,.22);
}
.field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: 14px; line-height: 20px; font-weight: 500; }
.field legend { padding: 0; margin-bottom: 8px; }
.req { margin-left: 8px; padding: 2px 8px; border-radius: 9999px; background: rgba(179,38,30,.08); color: var(--error); font-size: 12px; line-height: 16px; }
.field input[type="text"], .field input[type="email"], .field select {
  width: 100%; padding: 12px 0; font-family: var(--gothic); font-size: 16px; line-height: 24px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid rgba(35,35,31,.3); border-radius: 0;
  transition: border-color .3s var(--ease); appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2323231f' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; padding-right: 24px; }
.field input:hover, .field select:hover { border-bottom-color: var(--ink); }
.field input:focus, .field select:focus { outline: none; border-bottom: 2px solid var(--moss); padding-bottom: 11px; }
.field.has-error input, .field.has-error select { border-bottom-color: var(--error); }
.error { font-size: 14px; line-height: 20px; color: var(--error); }
.error:empty { display: none; }
.radios { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; line-height: 20px; }
.radios label { display: flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 400; }
.radios input { accent-color: var(--moss); width: 16px; height: 16px; margin: 0; }
.form-note { font-size: 12px; line-height: 16px; color: var(--ink-sub); text-align: center; }
.done { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 48px; text-align: center; background: var(--sheet); border-radius: 24px; overflow: hidden; animation: fade .6s var(--ease); }
.done[hidden] { display: none; }
.done-orb { width: 96px; height: 96px; margin-bottom: 12px; border-radius: 50%; background: var(--sage); opacity: .5; filter: blur(8px); animation: logoBreath 6s ease-in-out infinite; }
.done p { color: var(--ink-sub); font-size: 14px; }
.done .done-title { font-family: var(--mincho); font-size: 24px; line-height: 1.5; color: var(--ink); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- フッター ---------- */
.footer { position: relative; padding: 96px 0 112px; overflow: hidden; }
.footer-word {
  font-family: var(--latin); font-weight: 600; font-size: 30vw; line-height: .85; letter-spacing: .02em;
  color: rgba(35,35,31,.07); background-size: cover; background-position: center;
  -webkit-background-clip: text; background-clip: text; margin-left: -1vw;
}
.footer-word.is-painted { color: transparent; }
.footer-info { display: flex; justify-content: space-between; gap: 24px; margin-top: 32px; font-size: 12px; line-height: 1.8; color: var(--ink-sub); }

/* 見出し1行目とライブカードがぶつからないように */
@media (max-width: 1279px) {
  .hero-title { font-size: 60px; }
  .live-card { width: min(420px, calc(100% - 660px)); }
  .hero-body .hero-photo { margin-top: -140px; }
}

/* =========================================
   タブレット
   ========================================= */
@media (max-width: 1080px) {
  .hero-title { font-size: 60px; }
  .hero-body { grid-template-columns: 1fr; gap: 40px; }
  .hero-body .hero-photo { margin-top: 0; }
  .live-card { position: static; width: auto; max-width: 400px; margin-top: 32px; }
  .hero-photo { max-width: 640px; }
  .sec-title { font-size: 36px; }
  .tagline-text { font-size: 48px; }
  .row { grid-template-columns: 80px 1fr; }
  .row-text { grid-column: 2; }
  .sheet { grid-template-columns: 1fr; min-height: 0; }
  .breathe-inner, .trial-inner, .faq-inner, .price-sheet { grid-template-columns: 1fr; }
  .quote, .quote:nth-child(2), .quote:nth-child(3) { grid-column: 1 / -1; }
  .quote:nth-child(2) { padding-left: 15%; }
}

/* =========================================
   スマホ
   ========================================= */
@media (max-width: 760px) {
  .sp { display: inline; }
  .container { width: calc(100% - 48px); }
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: block; }
  .nav { gap: 64px; padding: 4px 4px 4px 16px; }

  .hero { min-height: 0; padding: 112px 0 96px; }
  .hero-vertical { display: none; }
  .hero-title { font-size: 36px; line-height: 1.45; }
  .hero-body { margin-top: 32px; }
  .hero-actions { width: 100%; justify-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .note { text-align: center; }
  .hero-inner { display: flex; flex-direction: column; }
  .hero-title { order: 1; }
  .hero-body { order: 2; }
  .live-card { order: 3; max-width: none; margin-top: 24px; }

  .section { padding: 96px 0; }
  .sec-title { font-size: 30px; margin-bottom: 40px; }
  .worry-text { font-size: 20px; }
  .worries { gap: 24px; }
  .answer { margin-top: 64px; font-size: 18px; padding-left: 16px; }
  .answer br { display: none; }
  .tagline { padding: 128px 0; }
  .tagline-text { font-size: 24px; }
  .orb { width: 80vw; filter: blur(48px); }
  .breathe-inner { gap: 48px; }
  .cue { font-size: 24px; }
  .row { grid-template-columns: 1fr; gap: 8px; padding: 32px 0; }
  .row-text { grid-column: 1; }
  .row-num { font-size: 36px; }
  .row-title { font-size: 24px; }
  .sheet { top: calc(80px + var(--i) * 16px); gap: 24px; padding: 24px; border-radius: 16px; }
  .sheet-title { font-size: 24px; margin: 8px 0; }
  .meta { margin-top: 16px; padding-top: 16px; }
  .sheet-photo img { aspect-ratio: 16 / 10; border-radius: 12px; }
  .step-path { display: none; }
  .step-list { grid-template-columns: 1fr; gap: 40px; }
  .quote blockquote { font-size: 18px; }
  .quote:nth-child(2) { padding-left: 0; }
  .price-sheet { padding: 32px 24px; gap: 40px; }
  .price-num span { font-size: 72px; }
  .stamp { width: 144px; height: 144px; }
  .stamp strong { font-size: 60px; }
  .faq-inner { gap: 0; }
  .faq-list summary { font-size: 16px; padding: 20px 0; }
  .faq-list details p { padding-right: 0; }
  .form { padding: 32px 24px; }
  .footer-info { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .3s !important; transition-delay: 0s !important; animation: none !important; }
  .js .reveal, .js .line > span, .js .hero-copy, .js .hero-photo, .js .live-card, .mobile-menu li { transform: none !important; }
  .tagline-text .w { color: var(--ink); }
  .worry-text { letter-spacing: .04em; filter: none; opacity: 1; }
  .opener { display: none; }
}

/* Netlifyが自動で差し込む「Powered by Netlify」バッジを隠す（無料プランは管理画面でオフにできない。ポートフォリオと同じ方法） */
#nl-badge-frame { display: none !important; }
