/* ==========================================================================
   KAYOEL — style.css (v3 / 2026-11-12)
   白を基調に、文字は黒、差し色はロゴのオレンジ(--accent)。写真とカードは角を丸くする。
   ========================================================================== */

:root {
  --bg: #FFFFFF;
  --bg-2: #F5F5F3;
  --bg-3: #ECECE9;
  --ink: #111111;
  --ink-2: #3A3A3A;
  --mute: #6B6B6B;
  --line: #E4E4E1;
  --accent: #FF5A36;
  --accent-text: #C63A17;
  --dark: #111111;
  --on-dark: #FFFFFF;
  --on-dark-mute: rgba(255, 255, 255, .66);
  --on-dark-line: rgba(255, 255, 255, .14);

  --f-jp: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Noto Sans CJK JP", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
  --f-head: "Zen Kaku Gothic New", var(--f-jp);
  --f-en: "Manrope", "Helvetica Neue", Arial, var(--f-jp);

  --pad: clamp(20px, 4.6vw, 80px);
  --maxw: 1440px;
  --gap: clamp(16px, 2vw, 32px);
  --sec: clamp(88px, 11vw, 176px);
  --hd-h: 76px;
  --r: 14px;
  --r-lg: 24px;

  --ease: cubic-bezier(.16, .84, .24, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

/* ---------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-jp); font-size: 16px; line-height: 1.9; font-weight: 400; letter-spacing: .03em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; font-size: 14px; transition: top .2s; }
.skip:focus { top: 12px; }

/* ---------------------------------------------------------------- type */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.en { font-family: var(--f-en); letter-spacing: -.02em; }
.num { font-family: var(--f-en); font-feature-settings: "tnum" 1, "lnum" 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-en); font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.dark .eyebrow { color: var(--on-dark); }
.h-hero { font-family: var(--f-head); font-weight: 700; font-size: clamp(40px, 5.4vw, 80px); line-height: 1.22; letter-spacing: .02em; font-feature-settings: "palt" 1; }
.h-1 { font-family: var(--f-head); font-weight: 700; font-size: clamp(26px, 3vw, 44px); line-height: 1.45; letter-spacing: .03em; font-feature-settings: "palt" 1; }
.h-2 { font-family: var(--f-head); font-weight: 700; font-size: clamp(21px, 2vw, 28px); line-height: 1.5; letter-spacing: .03em; font-feature-settings: "palt" 1; }
.h-3 { font-family: var(--f-head); font-weight: 700; font-size: clamp(17.5px, 1.4vw, 20px); line-height: 1.6; letter-spacing: .03em; }
.h-hero, .h-1, .h-2, .h-3 { text-wrap: balance; word-break: auto-phrase; overflow-wrap: anywhere; }
.lead { font-size: clamp(15.5px, 1.15vw, 17px); line-height: 2; color: var(--ink-2); word-break: auto-phrase; }
.body { font-size: 15px; line-height: 1.95; color: var(--ink-2); }
.note { font-size: 12.5px; line-height: 1.8; color: var(--mute); }
.dark .lead, .dark .body, .dark .note { color: var(--on-dark-mute); }

/* section head: 大きな英字 + 日本語の見出し */
.sh { margin-bottom: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: end; }
.sh .t { grid-column: 1 / span 7; }
.sh .big { display: block; font-family: var(--f-en); font-weight: 700; font-size: clamp(44px, 6.4vw, 104px); line-height: .95; letter-spacing: -.035em; margin: 18px 0 16px; }
.sh .r { grid-column: 9 / span 4; }
.dark .sh .big { color: #fff; }

/* reveal */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; }
.ph-img { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--bg-3); }
.ph-img img { width: 100%; height: 100%; object-fit: cover; }
.js .ph-img.rv-img img { transform: scale(1.08); opacity: 0; transition: transform 1.6s var(--ease), opacity 1s var(--ease); transition-delay: var(--d, 0ms); }
.js .ph-img.rv-img.in img { transform: none; opacity: 1; }

/* ---------------------------------------------------------------- buttons */
.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 58px; padding: 0 22px 0 22px; border-radius: 999px; background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 15px; letter-spacing: .06em; line-height: 1.3;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, color .3s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(17, 17, 17, .16); }
.btn .mk { width: 20px; height: 20px; flex: none; }
.btn .ar { width: 28px; height: 28px; border-radius: 50%; flex: none; background: rgba(255, 255, 255, .18); display: grid; place-items: center; transition: transform .4s var(--ease), background .3s; }
.btn .ar::after { content: ""; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: translateX(-1px) rotate(45deg); }
.btn:hover .ar { transform: translateX(3px); }
.btn-line { --bg: var(--ink); --fg: #fff; }
.btn-line .mk { color: #06C755; }
.dark .btn-line, .ft .btn-line { --bg: #fff; --fg: var(--ink); }
.dark .btn-line .ar, .ft .btn-line .ar { background: rgba(17, 17, 17, .08); }
.btn-white { --bg: #fff; --fg: var(--ink); }
.btn-white .ar { background: rgba(17, 17, 17, .08); }
.btn-ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1px rgba(17, 17, 17, .25); }
.btn-ghost:hover { --bg: var(--ink); --fg: #fff; }
.btn-ghost .ar { background: rgba(17, 17, 17, .08); }
.btn-ghost:hover .ar { background: rgba(255, 255, 255, .18); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 13.5px; gap: 8px; }
.btn-sm .mk { width: 17px; height: 17px; }
.link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14.5px; letter-spacing: .05em; padding-bottom: 4px; border-bottom: 1px solid currentColor; transition: gap .3s var(--ease), color .3s; }
.link:hover { gap: 14px; color: var(--accent-text); }
.dark .link:hover { color: var(--accent); }
.link .ar { width: 8px; height: 8px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.cta-note { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 14px; font-size: 13px; color: var(--mute); }
.cta-note span { display: inline-flex; align-items: center; gap: 8px; }
.cta-note span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.dark .cta-note { color: var(--on-dark-mute); }

/* ---------------------------------------------------------------- ring */
.ring { overflow: visible; }
.ring .seg { fill: currentColor; transition: fill .5s var(--ease), transform .6s var(--ease); transform-origin: 100px 100px; }
.ring .seg.lit { fill: var(--accent); }
.ring .lbl { font-family: var(--f-jp); font-size: 11px; font-weight: 600; fill: var(--mute); text-anchor: middle; dominant-baseline: central; transition: fill .4s; }
.ring .lbl.lit { fill: var(--accent-text); }

/* ---------------------------------------------------------------- header */
.hd { position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--hd-h); transition: transform .5s var(--ease), background-color .3s, box-shadow .3s; }
.hd-in { height: 100%; display: flex; align-items: center; gap: 28px; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.hd.scrolled { background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.hd.hide { transform: translateY(-100%); }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex: none; }
.logo .ring { width: 28px; height: 28px; }
.logo .wm { height: 14px; width: auto; }
.hd-nav { display: flex; gap: 30px; margin-left: auto; font-size: 14px; font-weight: 600; letter-spacing: .06em; }
.hd-nav a { position: relative; padding: 6px 0; }
.hd-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.hd-nav a:hover::after, .hd-nav a.on::after { transform: scaleX(1); transform-origin: left; }
.burger { display: none; align-items: center; gap: 10px; height: 44px; padding: 0 2px 0 10px; font-family: var(--f-en); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.burger .bars { position: relative; width: 24px; height: 10px; }
.burger .bars::before, .burger .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger .bars::before { top: 0; }
.burger .bars::after { top: 8px; }
.menu-open .burger .bars::before { top: 4px; transform: rotate(20deg); }
.menu-open .burger .bars::after { top: 4px; transform: rotate(-20deg); }
.menu-open .hd { background: #fff; box-shadow: none; transform: none; }
.menu { position: fixed; inset: 0; z-index: 80; background: #fff; padding: calc(var(--hd-h) + 16px) var(--pad) 32px; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.menu-open .menu { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }
.menu-links { border-top: 1px solid var(--line); }
.menu-links a { display: flex; justify-content: space-between; align-items: center; padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 16.5px; font-weight: 600; }
.menu-links a .en { font-size: 11.5px; color: var(--mute); letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.menu-cta { margin-top: 28px; display: grid; gap: 12px; }
.menu-sub { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--mute); }
.fixbar { display: none; }

/* ---------------------------------------------------------------- sections */
.sec { padding: var(--sec) 0; position: relative; }
.sec-t { padding: calc(var(--sec) * .55) 0; position: relative; }
.gray { background: var(--bg-2); }
.dark { background: var(--dark); color: var(--on-dark); }
main > section:not(.hero):not(.studio):not(.weeks):not(.pg), .ft { content-visibility: auto; contain-intrinsic-size: auto 900px; }

/* ---------------------------------------------------------------- hero */
.hero { padding: calc(var(--hd-h) + clamp(12px, 2.4vw, 32px)) 0 clamp(40px, 5vw, 72px); }
.hero-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: center; }
.hero-copy { grid-column: 1 / span 6; grid-row: 1; padding-right: 2vw; }
.hero-copy .eyebrow { margin-bottom: clamp(20px, 2.4vw, 32px); }
.hero-copy .lead { margin-top: clamp(20px, 2.2vw, 30px); max-width: 30em; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.hero-tags li { font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: var(--bg-2); letter-spacing: .05em; }
.hero-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(26px, 2.8vw, 38px); }
.hero-vis { grid-column: 7 / span 6; grid-row: 1; position: relative; }
.hero-vis .ph-img { aspect-ratio: 4 / 5; max-height: calc(100svh - var(--hd-h) - 48px); width: 100%; }
.hero-badge { position: absolute; left: -28px; bottom: 32px; display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 999px; padding: 10px 22px 10px 10px; box-shadow: 0 16px 40px rgba(17, 17, 17, .12); }
.hero-badge .ring { width: 44px; height: 44px; }
.hero-badge .ring .seg { fill: var(--bg-3); }
.hero-badge .ring .seg.lit { fill: var(--accent); }
.hero-badge b { display: block; font-size: 14px; line-height: 1.4; }
.hero-badge span { display: block; font-size: 12px; color: var(--mute); line-height: 1.4; }
.js .hero .rv { animation: rvIn .9s var(--ease) both; animation-delay: var(--d, 0ms); opacity: 1; transform: none; transition: none; }
.js .hero .ph-img.rv-img img { animation: imgIn 1.4s var(--ease) both; opacity: 1; transform: none; transition: none; }
@keyframes rvIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes imgIn { from { opacity: 0; transform: scale(1.05); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- concept */
.concept { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: center; }
.concept .im { grid-column: 1 / span 6; }
.concept .im .ph-img { aspect-ratio: 3 / 2; }
.concept .tx { grid-column: 7 / span 6; padding-left: clamp(0px, 2vw, 32px); }
.concept .tx .h-1 { margin: 20px 0 22px; }
.concept .tx .lead + .lead { margin-top: 14px; }

/* ---------------------------------------------------------------- features */
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.feat { background: #fff; border-radius: var(--r-lg); padding: clamp(26px, 2.6vw, 38px) clamp(22px, 2.2vw, 30px) clamp(28px, 2.6vw, 34px); display: flex; flex-direction: column; }
.feat .ix { font-family: var(--f-en); font-size: 12.5px; font-weight: 700; color: var(--accent-text); letter-spacing: .1em; }
.feat .big { display: flex; align-items: baseline; gap: 6px; margin: 20px 0 16px; line-height: 1; }
.feat .big b { font-family: var(--f-en); font-size: clamp(54px, 5.2vw, 80px); font-weight: 700; letter-spacing: -.04em; }
.feat .big small { font-family: var(--f-head); font-size: clamp(17px, 1.4vw, 21px); font-weight: 700; }
.feat h3 { margin-bottom: 8px; }

/* ---------------------------------------------------------------- studio (sticky) */
.studio { position: relative; height: 200vh; --p: 0; }
.studio-stick { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.studio .ph-img { position: absolute; inset: 0; border-radius: 0; clip-path: inset(calc((1 - var(--p)) * 14%) calc((1 - var(--p)) * 20%) round calc((1 - var(--p)) * 24px)); }
.studio .ph-img img { transform: scale(calc(1.12 - var(--p) * .12)); }
.studio-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .58)); opacity: var(--p); }
.studio-copy { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: clamp(36px, 7vh, 80px); color: #fff; opacity: clamp(0, calc((var(--p) - .5) * 3), 1); transform: translateY(calc((1 - var(--p)) * 36px)); }
.studio-copy .wrap { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: end; }
.studio-copy .t { grid-column: 1 / span 7; }
.studio-copy .t .eyebrow { color: #fff; margin-bottom: 16px; }
.studio-copy .r { grid-column: 9 / span 4; }
.studio-copy .lead { color: rgba(255, 255, 255, .9); }
.studio-copy .note { color: rgba(255, 255, 255, .75); margin-top: 12px; }

/* ---------------------------------------------------------------- system */
.slot { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: center; background: var(--bg-2); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 64px); }
.slot-viz { grid-column: 1 / span 5; position: relative; }
.slot-viz .ring { width: min(100%, 420px); margin: 0 auto; }
.slot-viz .ring .seg { fill: #fff; }
.slot-viz .ring .seg.lit { fill: var(--accent); transform: scale(1.04); }
.slot-viz .center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; }
.slot-viz .center .note { display: block; }
.slot-viz .center b { display: block; font-family: var(--f-head); font-size: clamp(32px, 3.4vw, 52px); font-weight: 700; line-height: 1.15; }
.slot-viz .center b span { display: inline-block; }
.slot-viz .center b span.swap { animation: swapIn .5s var(--ease); }
@keyframes swapIn { from { opacity: 0; transform: translateY(30%); } }
.slot-copy { grid-column: 7 / span 6; }
.slot-copy .ix, .mech .ix { font-family: var(--f-en); font-size: 12.5px; font-weight: 700; color: var(--accent-text); letter-spacing: .1em; }
.slot-copy .h-2 { margin: 12px 0 14px; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 26px; max-width: 420px; }
.days button { height: 48px; border-radius: 999px; background: #fff; font-weight: 600; font-size: 15px; transition: background .3s, color .3s, transform .3s var(--ease); }
.days button:hover { transform: translateY(-2px); }
.days button[aria-checked="true"] { background: var(--ink); color: #fff; }
.days-hint { margin-top: 12px; }
.mechs { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: var(--gap); }
.mech { background: var(--bg-2); border-radius: var(--r-lg); padding: clamp(24px, 2.4vw, 34px); display: flex; flex-direction: column; }
.mech .viz { margin: 16px 0 22px; aspect-ratio: 16 / 10; background: #fff; border-radius: var(--r); display: grid; place-items: center; overflow: hidden; }
.mech h3 { margin-bottom: 8px; }
.v-chat { width: 76%; display: grid; gap: 8px; }
.v-chat .who { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 600; color: var(--mute); }
.v-chat .who i { width: 24px; height: 24px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.v-chat .who i svg { width: 15px; color: #fff; }
.v-chat .bub { justify-self: start; background: #06C755; color: #fff; border-radius: 4px 18px 18px 18px; padding: 10px 16px; font-size: 14px; font-weight: 600; }
.v-chat .meta { font-size: 11.5px; color: var(--mute); }
.js .v-chat .bub { opacity: 0; transform: translateY(8px) scale(.96); transform-origin: left top; transition: opacity .6s var(--ease) .3s, transform .6s var(--ease) .3s; }
.js .in .v-chat .bub { opacity: 1; transform: none; }
.v-cal { width: 80%; }
.v-cal .row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.v-cal .row + .row { margin-top: 5px; }
.v-cal .hd7 span { font-size: 11px; font-weight: 600; text-align: center; color: var(--mute); }
.v-cal .d { aspect-ratio: 1; border-radius: 6px; background: var(--bg-2); position: relative; }
.v-cal .d.done { background: var(--ink); }
.v-cal .d.next { box-shadow: inset 0 0 0 1.5px var(--accent); background: #fff; }
.v-cal .d.next::after { content: ""; position: absolute; inset: 24%; border-radius: 50%; background: var(--accent); }
.v-cal .legend { display: flex; gap: 14px; margin-top: 12px; font-size: 11.5px; color: var(--mute); font-weight: 600; }
.v-cal .legend span { display: inline-flex; align-items: center; gap: 6px; }
.v-cal .legend i { width: 9px; height: 9px; border-radius: 3px; background: var(--ink); }
.v-cal .legend i.o { background: var(--accent); border-radius: 50%; }
.v-streak { width: 84%; }
.v-streak .dots { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.v-streak .dots i { aspect-ratio: 1; border-radius: 50%; background: var(--ink); }
.v-streak .dots i.off { background: transparent; box-shadow: inset 0 0 0 1.5px #B5B5B1; }
.v-streak .dots i.back { background: var(--accent); }
.v-streak .wk { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; margin-top: 8px; font-family: var(--f-en); font-size: 10px; font-weight: 700; text-align: center; color: var(--mute); }
.v-streak .say { margin-top: 16px; display: flex; gap: 8px; align-items: center; font-size: 12px; font-weight: 600; }
.v-streak .say i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }

/* ---------------------------------------------------------------- weeks (sticky, dark) */
.weeks { position: relative; height: 320vh; }
.weeks-stick { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; overflow: hidden; padding-top: var(--hd-h); }
.weeks-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: center; width: 100%; }
.weeks-copy { grid-column: 1 / span 6; }
.weeks-copy .big { display: block; font-family: var(--f-en); font-weight: 700; font-size: clamp(44px, 6vw, 96px); line-height: .95; letter-spacing: -.035em; margin: 16px 0 16px; }
.weeks-copy .h-1 { margin-bottom: 16px; }
.phases { margin-top: clamp(20px, 3vh, 36px); border-top: 1px solid var(--on-dark-line); }
.phase { display: grid; grid-template-columns: 104px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--on-dark-line); opacity: .5; transition: opacity .5s var(--ease); }
.phase.on { opacity: 1; }
.phase .w { font-family: var(--f-en); font-weight: 700; font-size: 13px; padding-top: 3px; }
.phase .w small { font-family: var(--f-jp); font-size: 11px; margin-left: 2px; }
.phase h3 { font-family: var(--f-head); font-size: 16.5px; line-height: 1.5; font-weight: 700; }
.phase p { font-size: 13.5px; line-height: 1.8; color: var(--on-dark-mute); max-height: 0; overflow: hidden; transition: max-height .6s var(--ease), margin .6s var(--ease); }
.phase.on p { max-height: 120px; margin-top: 6px; }
.weeks-viz { grid-column: 8 / span 5; }
.wk-count { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; font-family: var(--f-en); }
.wk-count .now { font-size: clamp(60px, 6.4vw, 112px); font-weight: 700; letter-spacing: -.05em; line-height: .9; }
.wk-count .now small { font-family: var(--f-jp); font-size: .22em; letter-spacing: .02em; margin-left: .3em; color: var(--on-dark-mute); font-weight: 600; }
.wk-count .of { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--on-dark-mute); text-transform: uppercase; }
.wk-rings { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(10px, 1.4vw, 22px) clamp(8px, 1.2vw, 18px); }
.wk { text-align: center; }
.wk .ring .seg { fill: rgba(255, 255, 255, .08); }
.wk.on .ring .seg { fill: rgba(255, 255, 255, .6); }
.wk.on .ring .seg.lit { fill: var(--accent); }
.wk .n { display: block; margin-top: 6px; font-family: var(--f-en); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; color: var(--on-dark-mute); }
.wk.on .n { color: #fff; }
.weeks-note { margin-top: 22px; }
.weeks-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--on-dark-line); }
.weeks-bar i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--accent); }

/* ---------------------------------------------------------------- 1回の流れ */
.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.steps4.steps3 { grid-template-columns: repeat(3, 1fr); }
.step .ph-img { aspect-ratio: 4 / 3; border-radius: var(--r); }
.step .meta { display: flex; align-items: baseline; justify-content: space-between; margin: 18px 0 8px; }
.step .meta .ix { font-family: var(--f-en); font-size: 12.5px; font-weight: 700; color: var(--accent-text); letter-spacing: .1em; }
.step .meta .min { font-family: var(--f-en); font-weight: 700; font-size: 22px; letter-spacing: -.02em; }
.step .meta .min small { font-family: var(--f-jp); font-size: 12px; margin-left: 2px; font-weight: 600; }
.step h3 { margin-bottom: 6px; }

/* ---------------------------------------------------------------- trainer */
.trainer { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; }
.trainer .im { grid-column: 1 / span 5; position: sticky; top: calc(var(--hd-h) + 24px); }
.trainer .im .ph-img { aspect-ratio: 4 / 5; }
.trainer .tx { grid-column: 7 / span 6; }
.trainer .tx .h-1 { margin: 18px 0 20px; }
.points { margin-top: clamp(32px, 4vw, 48px); background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); }
.points h3 { margin-bottom: 10px; }
.points li { display: grid; grid-template-columns: 36px 1fr; padding: 12px 0; border-top: 1px solid var(--line); font-weight: 600; font-size: 15.5px; }
.points li:first-child { border-top: 0; }
.points li .num { color: var(--accent-text); font-size: 13px; font-weight: 700; padding-top: 2px; }
.rules { margin-top: var(--gap); border: 1px solid var(--line); background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); }
.rules h3 { margin-bottom: 8px; }
.rules .link { margin-top: 16px; }

/* ---------------------------------------------------------------- price + faq (top) */
.pf { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; }
.pf .price { grid-column: 1 / span 5; background: var(--dark); color: #fff; border-radius: var(--r-lg); padding: clamp(28px, 3.4vw, 52px); }
.pf .faq-col { grid-column: 7 / span 6; }
.yen { display: flex; align-items: baseline; gap: 6px; margin: 20px 0 14px; font-family: var(--f-en); line-height: 1; }
.yen b { font-size: clamp(52px, 5.4vw, 88px); font-weight: 700; letter-spacing: -.045em; }
.yen i { font-style: normal; font-size: clamp(24px, 2.2vw, 34px); font-weight: 700; }
.yen small { font-family: var(--f-jp); font-size: 14px; font-weight: 600; margin-left: 4px; }
.price .btn { margin-top: 26px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 40px 1fr 30px; align-items: start; gap: 8px; padding: 22px 0; font-weight: 600; font-size: clamp(15.5px, 1.15vw, 17px); line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { font-family: var(--f-en); font-size: 16px; font-weight: 700; color: var(--accent-text); }
.faq summary .tg { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--bg-2); transition: background .3s; }
.faq summary .tg::before, .faq summary .tg::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq summary .tg::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.faq details[open] summary .tg { background: var(--ink); color: #fff; }
.faq details[open] summary .tg::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .a { display: grid; grid-template-columns: 40px 1fr; gap: 8px; padding: 0 38px 24px 0; font-size: 15px; line-height: 2; color: var(--ink-2); }
.faq .a::before { content: "A"; font-family: var(--f-en); font-size: 16px; font-weight: 700; color: var(--mute); }

/* ---------------------------------------------------------------- CTA */
.cta-wrap { padding: 0 0 var(--sec); }
.cta { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--dark); color: #fff; padding: clamp(48px, 7vw, 104px) clamp(28px, 6vw, 96px); display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: center; isolation: isolate; }
.cta .l { grid-column: 1 / span 7; }
.cta .l .h-1 { margin-top: 18px; font-size: clamp(28px, 3.4vw, 50px); }
.cta .r { grid-column: 8 / span 5; }
.cta .r .lead { margin-bottom: 24px; }
.cta .bg-ring { position: absolute; right: -10%; top: 50%; width: min(60vw, 760px); transform: translateY(-50%); z-index: -1; pointer-events: none; }
.cta .bg-ring .seg { fill: rgba(255, 255, 255, .05); }
.cta .bg-ring .seg.lit { fill: var(--accent); opacity: .9; }
.my-slot { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 13px; color: var(--on-dark-mute); }
.my-slot .ring { width: 24px; height: 24px; }
.my-slot .ring .seg { fill: rgba(255, 255, 255, .3); }
.my-slot .ring .seg.lit { fill: var(--accent); }
.my-slot b { color: #fff; font-weight: 600; }

/* ---------------------------------------------------------------- footer */
.ft { background: var(--dark); color: #fff; padding: clamp(64px, 7vw, 104px) 0 28px; }
.ft-top { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--on-dark-line); }
.ft-top .about { grid-column: 1 / span 4; }
.ft-top .about .logo { color: #fff; }
.ft-top .about p { margin-top: 18px; font-size: 13.5px; line-height: 1.95; color: var(--on-dark-mute); max-width: 26em; }
.ft-top .about .btn { margin-top: 24px; }
.ft-top nav { grid-column: span 2; }
.ft-top nav:first-of-type { grid-column: 7 / span 2; }
.ft .ft-h { font-family: var(--f-en); font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-mute); margin-bottom: 14px; }
.ft li + li { margin-top: 8px; }
.ft li a { font-size: 14px; transition: color .3s; }
.ft li a:hover { color: var(--accent); }
.ft-bottom { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 12px; color: var(--on-dark-mute); }

/* ---------------------------------------------------------------- sub pages */
.pg { padding: calc(var(--hd-h) + clamp(36px, 5.6vw, 88px)) 0 clamp(40px, 5vw, 72px); }
.pg .crumb { display: flex; gap: 10px; font-size: 12.5px; color: var(--mute); margin-bottom: clamp(28px, 3.4vw, 48px); }
.pg .crumb a:hover { color: var(--ink); }
.pg .crumb span::before { content: "/"; margin-right: 10px; opacity: .5; }
.pg .big { display: block; font-family: var(--f-en); font-weight: 700; font-size: clamp(48px, 7.2vw, 116px); line-height: .95; letter-spacing: -.04em; margin: 16px 0 18px; }
.pg-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: end; }
.pg-grid .t { grid-column: 1 / span 7; }
.pg-grid .r { grid-column: 9 / span 4; }

.price-wrap { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; }
.price-wrap .side { grid-column: 1 / span 4; position: sticky; top: calc(var(--hd-h) + 24px); background: var(--bg-2); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); }
.price-wrap .main { grid-column: 6 / span 7; }
.plans { border-top: 1px solid var(--ink); }
.plan { display: grid; grid-template-columns: 1.3fr 1fr .8fr .8fr; gap: 12px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.plan.hd7 { padding: 14px 0; font-size: 12px; font-weight: 600; color: var(--mute); letter-spacing: .06em; }
.plan .nm { font-weight: 600; font-size: 16px; }
.plan .pr { font-family: var(--f-en); font-weight: 700; font-size: clamp(22px, 2vw, 30px); letter-spacing: -.02em; line-height: 1; }
.plan .pr small { font-family: var(--f-jp); font-size: 12px; font-weight: 600; letter-spacing: 0; margin-left: 3px; }
.plan .per, .plan .fee { font-size: 14px; color: var(--ink-2); }
.plan .tag { display: inline-block; margin-left: 10px; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--accent); color: var(--ink); vertical-align: .15em; }
.fine { margin-top: 40px; border-top: 1px solid var(--line); }
.fine > li { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.9; }
.fine b { font-weight: 600; }

.tl { border-top: 1px solid var(--ink); }
.tl > li { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); padding: clamp(28px, 3.4vw, 48px) 0; border-bottom: 1px solid var(--line); }
.tl .when { grid-column: 1 / span 3; font-family: var(--f-en); font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.tl .when b { display: block; font-family: var(--f-head); font-size: clamp(22px, 2.2vw, 32px); font-weight: 700; letter-spacing: .02em; text-transform: none; color: var(--ink); margin-top: 6px; line-height: 1.3; }
.tl .what { grid-column: 5 / span 8; }
.tl .what h3 { margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips > li { font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: var(--bg-2); white-space: nowrap; }
.bar45 { margin-top: 28px; }
.bar45 .bar { display: grid; grid-template-columns: 5fr 7.5fr 20fr 20fr; height: 56px; border-radius: var(--r); overflow: hidden; gap: 3px; }
.bar45 .bar i { display: block; background: var(--bg-3); }
.bar45 .bar i:nth-child(3) { background: var(--ink); }
.bar45 .bar i:nth-child(4) { background: var(--accent); }
.bar45 .keys { display: grid; grid-template-columns: 5fr 7.5fr 20fr 20fr; gap: 3px; margin-top: 12px; font-size: 12.5px; line-height: 1.5; }
.bar45 .keys b { display: block; font-family: var(--f-en); font-size: clamp(16px, 1.5vw, 22px); font-weight: 700; letter-spacing: -.02em; }
.bar45 .keys b small { font-family: var(--f-jp); font-size: 11px; margin-left: 2px; }
.bar45 .keys span { color: var(--mute); }
.two { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: center; }
.two .tx { grid-column: 1 / span 5; }
.two .im { grid-column: 7 / span 6; }
.two .im .ph-img { aspect-ratio: 3 / 2; }
.two.flip .tx { grid-column: 8 / span 5; order: 2; }
.two.flip .im { grid-column: 1 / span 6; order: 1; }
.two .h-1 { margin: 18px 0 20px; }
.defs { border-top: 1px solid var(--line); }
.defs > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.9; }
.defs dt { font-weight: 600; }
.numlist { border-top: 1px solid var(--line); }
.numlist > li { display: grid; grid-template-columns: 52px 1fr; padding: 20px 0; border-bottom: 1px solid var(--line); font-family: var(--f-head); font-weight: 700; font-size: clamp(17px, 1.5vw, 21px); }
.numlist > li .num { font-size: 14px; color: var(--accent-text); padding-top: 3px; }

.trial-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; }
.trial-grid .main { grid-column: 1 / span 7; }
.trial-grid .side { grid-column: 9 / span 4; }
.panel { background: var(--bg-2); border-radius: var(--r-lg); padding: clamp(26px, 3.2vw, 48px); }
.panel.inv { background: var(--dark); color: #fff; }
.panel h2 { margin: 12px 0 8px; }
.how { margin-top: 20px; border-top: 1px solid var(--on-dark-line); }
.how > li { display: grid; grid-template-columns: 44px 1fr; padding: 16px 0; border-bottom: 1px solid var(--on-dark-line); font-weight: 600; font-size: 15px; line-height: 1.7; }
.how .num { font-size: 13px; color: var(--accent); padding-top: 2px; }
.qr { display: flex; align-items: center; gap: 18px; margin-top: 22px; }
.qr img { width: 104px; height: 104px; background: #fff; padding: 6px; border-radius: 10px; image-rendering: pixelated; }
.side .defs > div { grid-template-columns: 96px 1fr; }

.doc { max-width: 880px; }
.doc h2 { font-family: var(--f-head); font-size: 19px; font-weight: 700; margin: 44px 0 12px; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { font-size: 15px; line-height: 2; color: var(--ink-2); }
.doc ul { padding-left: 1.2em; list-style: disc; }

.nf { min-height: 80svh; display: flex; align-items: center; padding-top: var(--hd-h); }
.nf .ring { width: 96px; margin-bottom: 32px; }
.nf .ring .seg { fill: var(--bg-3); }
.nf .acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* page transition */
.pt { position: fixed; inset: 0; z-index: 190; background: #fff; pointer-events: none; opacity: 0; }
.pt.leave { transition: opacity .25s ease; opacity: 1; }
.js.from-pt .pt { opacity: 1; animation: ptOut .4s ease .05s forwards; }
@keyframes ptOut { to { opacity: 0; } }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .hd-nav { display: none; }
  .hd .btn { margin-left: auto; }
  .burger { display: inline-flex; }
  .feats { grid-template-columns: repeat(2, 1fr); }
  .steps4 { grid-template-columns: repeat(2, 1fr); }
  .mechs { grid-template-columns: 1fr 1fr; }
  .wk-rings { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 760px) {
  :root { --hd-h: 64px; --gap: 14px; --r-lg: 18px; }
  body { font-size: 15px; }
  .hd .btn { display: none; }
  .burger { margin-left: auto; }
  .logo .ring { width: 26px; height: 26px; }
  .sh .t, .sh .r { grid-column: 1 / -1; }
  .sh .r { margin-top: 4px; }

  .hero { padding-top: calc(var(--hd-h) + 8px); }
  .hero-grid { display: flex; flex-direction: column-reverse; gap: 28px; }
  .hero-vis { width: 100%; }
  .hero-vis .ph-img { aspect-ratio: 1 / 1.08; max-height: none; }
  .hero-badge { left: 12px; bottom: 12px; padding: 8px 16px 8px 8px; }
  .hero-badge .ring { width: 36px; height: 36px; }
  .hero-copy { padding: 0; }
  .hero-acts .btn { flex: 1 1 100%; }

  .concept .im, .concept .tx { grid-column: 1 / -1; }
  .concept .tx { margin-top: 18px; }
  .feats { grid-template-columns: 1fr; }
  .studio { height: 160vh; }
  .studio-copy .t, .studio-copy .r { grid-column: 1 / -1; }
  .slot { padding: 24px 18px 28px; }
  .slot-viz, .slot-copy { grid-column: 1 / -1; }
  .slot-copy { margin-top: 18px; }
  .days button { height: 44px; font-size: 14px; }
  .mechs { grid-template-columns: 1fr; }

  .weeks { height: 260vh; }
  .weeks-stick { align-items: flex-start; padding-top: calc(var(--hd-h) + 18px); }
  .weeks-copy, .weeks-viz { grid-column: 1 / -1; }
  .weeks-copy .big { font-size: 40px; margin: 10px 0 6px; }
  .weeks-copy .h-1 { font-size: 20px; margin-bottom: 0; }
  .weeks-copy .lead { display: none; }
  .phases { margin-top: 12px; }
  .phase { padding: 9px 0; grid-template-columns: 84px 1fr; }
  .phase h3 { font-size: 14px; }
  .phase p { display: none; }
  .weeks-viz { margin-top: 16px; }
  .wk-count .now { font-size: 52px; }
  .wk-rings { grid-template-columns: repeat(6, 1fr); gap: 8px 6px; }
  .wk .n { font-size: 9px; }
  .weeks-note { display: none; }

  .steps4, .steps4.steps3 { grid-template-columns: 1fr; gap: 36px; }
  br.pc { display: none; }
  .trainer .im, .trainer .tx { grid-column: 1 / -1; }
  .trainer .im { position: relative; top: 0; margin-bottom: 28px; }
  .pf .price, .pf .faq-col { grid-column: 1 / -1; }
  .pf .faq-col { margin-top: 48px; }
  .faq summary { grid-template-columns: 32px 1fr 30px; }
  .faq .a { grid-template-columns: 32px 1fr; padding-right: 0; }
  .cta { padding: 44px 22px 40px; }
  .cta .l, .cta .r { grid-column: 1 / -1; }
  .cta .r { margin-top: 20px; }
  .cta .bg-ring { width: 120vw; right: -50vw; top: 18%; }
  .cta .btn { width: 100%; }

  .ft-top .about { grid-column: 1 / -1; margin-bottom: 32px; }
  .ft-top nav, .ft-top nav:first-of-type { grid-column: span 6; margin-bottom: 24px; }

  .pg-grid .t, .pg-grid .r { grid-column: 1 / -1; }
  .price-wrap .side, .price-wrap .main { grid-column: 1 / -1; }
  .price-wrap .side { position: relative; top: 0; margin-bottom: 36px; }
  .plan { grid-template-columns: 1fr auto; row-gap: 4px; }
  .plan .per { grid-column: 1; font-size: 12.5px; color: var(--mute); }
  .plan .fee { grid-column: 2; text-align: right; font-size: 12.5px; color: var(--mute); }
  .plan.hd7 { display: none; }
  .fine > li { grid-template-columns: 1fr; gap: 2px; }
  .tl .when, .tl .what { grid-column: 1 / -1; }
  .tl .what { margin-top: 10px; }
  .two .tx, .two .im, .two.flip .tx, .two.flip .im { grid-column: 1 / -1; order: 0; }
  .two .im { margin-top: 28px; }
  .two.flip .im { margin-top: 0; margin-bottom: 28px; order: -1; }
  .defs > div { grid-template-columns: 1fr; gap: 2px; }
  .trial-grid .main, .trial-grid .side { grid-column: 1 / -1; }
  .trial-grid .side { margin-top: 20px; }
  .bar45 .keys { font-size: 11px; }

  .fixbar { display: flex; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 70; transform: translateY(160%); transition: transform .5s var(--ease); }
  .fixbar.show { transform: none; }
  .fixbar .btn { flex: 1; min-height: 54px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .28), 0 10px 28px rgba(0, 0, 0, .22); }
  .menu-open .fixbar { transform: translateY(160%); }
  .ft { padding-bottom: 100px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  .studio { height: auto; --p: 1 !important; }
  .studio-stick { position: relative; height: 80svh; }
  .weeks { height: auto; }
  .weeks-stick { position: relative; height: auto; padding: var(--sec) 0; }
}

@media print {
  .hd, .menu, .fixbar, .pt { display: none !important; }
  .js .rv { opacity: 1 !important; transform: none !important; }
}
