/* ==========================================================
   木と暮らす家 ひだまり工房 — スタイル
   色は js/config.js の colors で変えられます（ここの値は初期値）
   ========================================================== */
:root {
  --paper: #f1ece3;
  --paper-2: #e7e0d3;
  --ink: #1c1d1a;
  --ink-2: #45463f;
  --wood: #a8744a;
  --moss: #56633f;
  --ember: #c8642f;
  --night: #121722;
  --line: rgba(28, 29, 26, .14);
  --mincho: 'Shippori Mincho B1', 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', 'Noto Serif JP', serif;
  --gothic: 'Zen Kaku Gothic New', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Noto Sans JP', sans-serif;
  --gut: clamp(20px, 4.4vw, 72px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--gothic); font-size: 15.5px; line-height: 1.95; letter-spacing: .04em;
  -webkit-font-smoothing: antialiased; overflow-x: clip; font-feature-settings: 'palt' 1;
}
html.is-loading body { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
::selection { background: var(--ember); color: #fff; }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gut); }

/* ---------- 制作見本の表示 ---------- */
.notice {
  position: fixed; left: 50%; bottom: 10px; transform: translateX(-50%); z-index: 90;
  font-size: 11px; line-height: 1.4; letter-spacing: .04em; color: rgba(28, 29, 26, .72);
  background: rgba(241, 236, 227, .78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 5px 12px; border-radius: 99px; border: 1px solid rgba(28, 29, 26, .1);
  pointer-events: none; white-space: nowrap; max-width: calc(100vw - 20px); overflow: hidden; text-overflow: ellipsis;
}

/* ---------- 3D ---------- */
#gl { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: 0; display: block; }
#gl.is-off { visibility: hidden; }
.grain {
  position: fixed; inset: -50%; z-index: 60; pointer-events: none; opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.1 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, .foot { position: relative; z-index: 1; }

/* ---------- 読みこみ画面 ---------- */
#loader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; color: var(--ink); pointer-events: all; }
.shoji {
  position: absolute; top: 0; bottom: 0; width: 50.5%; background-color: #f3eee5;
  background-image:
    linear-gradient(90deg, rgba(110, 82, 52, .16) 2px, transparent 2px),
    linear-gradient(0deg, rgba(110, 82, 52, .16) 2px, transparent 2px);
  background-size: calc(100% / 4) 25vh, calc(100% / 4) 25vh;
  will-change: transform;
}
.shoji::after { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 50%, transparent 40%, rgba(120, 90, 50, .1)); }
.shoji--l { left: 0; box-shadow: inset -6px 0 0 rgba(95, 70, 45, .32); }
.shoji--r { right: 0; box-shadow: inset 6px 0 0 rgba(95, 70, 45, .32); }
.loader__inner { position: relative; width: min(560px, 82vw); }
.loader__draw { width: 100%; height: auto; color: #2b3b66; }
.loader__draw path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.loader__draw .dim { color: var(--ember); stroke: var(--ember); stroke-width: .9; }
.loader__draw .tree { stroke: var(--moss); }
.loader__meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; border-top: 1px solid rgba(43, 59, 102, .25); padding-top: 12px; }
.loader__name { font-family: var(--mincho); font-weight: 700; font-size: 18px; letter-spacing: .14em; }
.loader__count { font-family: var(--mincho); font-weight: 600; font-size: 40px; line-height: 1; font-variant-numeric: tabular-nums; }
.loader__count i { font-style: normal; font-size: 16px; margin-left: 4px; }
.loader__msg { font-size: 12px; letter-spacing: .3em; color: var(--ink-2); margin-top: 6px; }

/* ---------- カーソル ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 120; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor label, .has-cursor summary { cursor: none; }
.has-cursor input, .has-cursor textarea, .has-cursor select { cursor: auto; }
.cursor__dot { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--ember); }
.cursor__ring {
  position: absolute; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%;
  border: 1px solid rgba(28, 29, 26, .45); display: grid; place-items: center;
  transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background .4s, border-color .4s;
  mix-blend-mode: normal;
}
.cursor__label { font-size: 11px; letter-spacing: .12em; color: #fff; opacity: 0; transition: opacity .3s; white-space: nowrap; }
.cursor.is-link .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: rgba(200, 100, 47, .7); }
.cursor.is-label .cursor__ring { width: 104px; height: 104px; margin: -52px 0 0 -52px; background: rgba(28, 29, 26, .82); border-color: transparent; backdrop-filter: blur(4px); }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-light .cursor__ring { border-color: rgba(255, 255, 255, .6); }
.cursor.is-hidden { opacity: 0; }

/* ---------- ボタン ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  height: 56px; padding: 0 30px; border-radius: 99px; text-decoration: none; font-weight: 500; font-size: 15px; letter-spacing: .1em;
  overflow: hidden; isolation: isolate; border: 0; cursor: pointer; white-space: nowrap;
  transition: color .4s var(--ease);
}
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .55s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn span { display: inline-block; }
.btn--ember { background: var(--ember); color: #fff; }
.btn--ember::before { background: var(--ink); }
.btn--line { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(28, 29, 26, .4); background: rgba(241, 236, 227, .35); backdrop-filter: blur(6px); }
.btn--line::before { background: var(--ink); }
.btn--line:hover { color: var(--paper); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink::before { background: var(--ember); }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }

/* ---------- ヘッダー ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80; display: flex; align-items: center; gap: 28px;
  padding: 18px var(--gut); transition: transform .6s var(--ease), color .4s;
}
.nav.is-hidden { transform: translateY(-110%); }
.nav::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: linear-gradient(rgba(241, 236, 227, .86), rgba(241, 236, 227, 0)); }
.nav.is-solid::before { opacity: 1; }
.nav.is-dark { color: #f3eee6; }
.nav.is-dark::before { background: linear-gradient(rgba(14, 17, 25, .75), rgba(14, 17, 25, 0)); }
.nav__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.nav__logo svg { width: 34px; height: 34px; }
.nav__logo span { display: flex; flex-direction: column; line-height: 1.25; }
.nav__logo small { font-size: 10px; letter-spacing: .2em; opacity: .8; }
.nav__logo b { font-family: var(--mincho); font-size: 19px; font-weight: 700; letter-spacing: .12em; }
.nav__links { display: flex; gap: 26px; font-size: 13.5px; letter-spacing: .1em; }
.nav__links a { text-decoration: none; position: relative; padding: 4px 0; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { height: 46px; padding: 0 22px; font-size: 13.5px; }
.nav__menu { display: none; position: relative; width: 48px; height: 48px; border: 0; background: none; padding: 0; cursor: pointer; }
.nav__menu span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease); }
.nav__menu span:nth-child(1) { top: 19px; } .nav__menu span:nth-child(2) { top: 27px; }
.nav__menu em { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nav__menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(20deg); }
.nav__menu[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-20deg); }
.menu { position: fixed; inset: 0; z-index: 79; background: var(--ink); color: var(--paper); padding: 110px var(--gut) 40px; display: flex; flex-direction: column; justify-content: space-between; }
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font-family: var(--mincho); font-size: clamp(26px, 7.4vw, 44px); font-weight: 600; text-decoration: none; padding: 8px 0; border-bottom: 1px solid rgba(241, 236, 227, .12); display: flex; gap: 14px; align-items: baseline; }
.menu nav a i { font-style: normal; font-size: 12px; color: var(--ember); font-family: var(--gothic); }
.menu__tel a { font-family: var(--mincho); font-size: 24px; }

/* ---------- 見出しの小さなラベル ---------- */
.kicker { display: flex; align-items: center; gap: 12px; font-size: 12.5px; letter-spacing: .28em; color: var(--ink-2); }
.kicker > span:first-child { font-family: var(--mincho); font-weight: 700; color: var(--ember); letter-spacing: .08em; display: inline-flex; align-items: center; gap: 12px; }
.kicker > span:first-child::after { content: ''; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.kicker--light { color: rgba(243, 238, 230, .78); }

/* ---------- 文字を1文字ずつ出す ---------- */
.ch { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.ch > i { display: inline-block; font-style: normal; will-change: transform; }
.js [data-fade] { opacity: 0; }

/* ==========================================================
   ヒーロー
   ========================================================== */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; padding: 0 var(--gut); color: var(--ink); }
.hero__kicker { position: absolute; top: 108px; left: var(--gut); display: flex; gap: 22px; font-size: 13px; letter-spacing: .2em; }
.hero__kicker span + span { padding-left: 22px; border-left: 1px solid var(--line); }
.hero__title {
  position: absolute; left: calc(var(--gut) - .06em); bottom: clamp(150px, 21vh, 220px);
  font-family: var(--mincho); font-weight: 800; font-size: clamp(76px, 10.6vw, 200px); line-height: .98; letter-spacing: -.01em;
  display: flex; flex-direction: column;
}
.hero__line--2 { padding-left: .6em; }
.hero__v { position: absolute; right: var(--gut); top: 112px; writing-mode: vertical-rl; font-family: var(--mincho); font-size: 15px; letter-spacing: .32em; font-weight: 600; }
.hero__foot { position: absolute; left: var(--gut); right: var(--gut); bottom: 46px; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.hero__lead { font-size: 14px; line-height: 2; max-width: 36em; font-weight: 500; }
.hero__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__scroll { position: absolute; left: 50%; bottom: 58px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .3em; }
.hero__scroll i { width: 1px; height: 44px; background: rgba(28, 29, 26, .2); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ink); animation: drop 2.2s var(--ease) infinite; }
@keyframes drop { to { top: 100%; } }
.dims { position: absolute; inset: 0; pointer-events: none; }
.dim { position: absolute; left: 0; top: 0; font-size: 11px; letter-spacing: .14em; color: #2b3b66; white-space: nowrap; padding: 3px 8px; background: rgba(241, 236, 227, .7); border: 1px solid rgba(43, 59, 102, .35); border-radius: 3px; font-variant-numeric: tabular-nums; will-change: transform, opacity; }
.dim::before { content: ''; position: absolute; left: 50%; top: 100%; width: 1px; height: 14px; background: rgba(43, 59, 102, .45); }

/* ==========================================================
   想い
   ========================================================== */
.panel { position: relative; background: var(--paper); border-radius: clamp(24px, 4vw, 56px) clamp(24px, 4vw, 56px) 0 0; box-shadow: 0 -30px 80px rgba(28, 29, 26, .12); }
.concept { padding: clamp(100px, 16vh, 180px) 0 clamp(120px, 18vh, 220px); overflow: clip; }
.concept__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 48px; }
.concept .kicker { grid-column: 1 / -1; }
.concept__title { grid-column: 1 / 9; font-family: var(--mincho); font-weight: 700; font-size: clamp(36px, 5.6vw, 92px); line-height: 1.3; letter-spacing: .01em; }
.concept__body { grid-column: 7 / 13; display: grid; gap: 1.3em; font-size: 16px; line-height: 2.2; }
.stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: 30px; }
.stats li { padding: 28px 20px 0 0; display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 6px; }
.stats li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.stats b { font-family: var(--mincho); font-weight: 600; font-size: clamp(48px, 5.6vw, 88px); line-height: 1; font-variant-numeric: tabular-nums; }
.stats i { font-style: normal; font-size: 15px; }
.stats span { grid-column: 1 / -1; font-size: 13px; color: var(--ink-2); margin-top: 12px; line-height: 1.7; }
.concept__big { position: absolute; left: 0; bottom: -0.2em; white-space: nowrap; font-family: var(--mincho); font-weight: 800; font-size: clamp(90px, 15vw, 260px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(28, 29, 26, .09); pointer-events: none; will-change: transform; }

/* ==========================================================
   家ができるまで
   ========================================================== */
.story { position: relative; height: 760vh; }
.story__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; padding: 0 var(--gut); color: var(--ink); transition: color .8s; }
.story__scrim { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(46% 44% at 16% 56%, rgba(241, 236, 227, .5) 0%, rgba(241, 236, 227, .26) 52%, rgba(241, 236, 227, 0) 100%); transition: opacity .8s; }
.story:not(.is-dusk) .chapter__title, .story:not(.is-dusk) .chapter__text, .story:not(.is-dusk) .chapter__no span, .story:not(.is-dusk) .story__head, .story:not(.is-dusk) .story__rail ol { text-shadow: 0 0 14px rgba(241, 236, 227, .75), 0 0 2px rgba(241, 236, 227, .6); }
.story__scrim::after { content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .9s; background: linear-gradient(90deg, rgba(12, 15, 24, .78) 0%, rgba(12, 15, 24, .45) 32%, rgba(12, 15, 24, 0) 58%); }
.story.is-dusk .story__stage { color: #f3eee6; }
.story.is-dusk .story__scrim { background: none; }
.story.is-dusk .story__scrim::after { opacity: 1; }
.story__head { position: absolute; top: 108px; left: var(--gut); right: var(--gut); display: flex; justify-content: space-between; align-items: center; }
.story.is-dusk .kicker { color: rgba(243, 238, 230, .8); }
.story__clock { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.3; }
.story__clock i { font-style: normal; font-size: 11px; letter-spacing: .24em; opacity: .7; }
.story__clock b { font-family: var(--mincho); font-weight: 600; font-size: 22px; font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.story__chapters { position: absolute; left: var(--gut); top: 50%; transform: translateY(-46%); width: min(520px, 40vw); }
.chapter { position: absolute; left: 0; top: 0; transform: translateY(-50%); width: 100%; visibility: hidden; }
.chapter.is-on { visibility: visible; }
.chapter__no { display: flex; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.chapter__no b { font-family: var(--mincho); font-weight: 600; font-size: 76px; line-height: 1; color: var(--ember); font-variant-numeric: tabular-nums; }
.chapter__no span { font-size: 14px; letter-spacing: .3em; }
.chapter__title { font-family: var(--mincho); font-weight: 800; font-size: clamp(36px, 3.9vw, 64px); line-height: 1.2; letter-spacing: .02em; margin-bottom: 22px; white-space: nowrap; }
.chapter__text { font-size: 15px; line-height: 2.1; max-width: 30em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips li { font-size: 12px; letter-spacing: .1em; padding: 5px 13px; border-radius: 99px; border: 1px solid currentColor; opacity: .82; }
.story__rail { position: absolute; left: var(--gut); right: var(--gut); bottom: 40px; }
.story__bar { height: 1px; background: rgba(128, 128, 128, .35); position: relative; }
.story__bar i { position: absolute; left: 0; top: -1px; height: 3px; width: 100%; background: var(--ember); transform-origin: left; transform: scaleX(0); }
.story__rail ol { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 12px; font-size: 12px; letter-spacing: .14em; }
.story__rail li { opacity: .45; transition: opacity .4s; }
.story__rail li.is-on { opacity: 1; font-weight: 700; }

/* ==========================================================
   プラン
   ========================================================== */
.plans { position: relative; min-height: 100vh; padding: 96px var(--gut) 40px; display: flex; align-items: center; }
.plans { transition: color .8s; }
.plans::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(241, 236, 227, .78) 0%, rgba(241, 236, 227, .42) 28%, rgba(241, 236, 227, 0) 44%); -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 38vh); mask-image: linear-gradient(180deg, transparent 0, #000 38vh); transition: opacity .8s; }
.plans::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .8s; background: linear-gradient(90deg, rgba(12, 15, 24, .8) 0%, rgba(12, 15, 24, .5) 30%, rgba(12, 15, 24, 0) 52%); }
/* 夜：パネルを暗い地に白い文字へ */
.plans.is-night { --ink: #f3eee6; --ink-2: rgba(243, 238, 230, .72); --paper: #14171f; --line: rgba(243, 238, 230, .2); color: var(--ink); }
.plans.is-night::before { opacity: 0; }
.plans.is-night::after { opacity: 1; }
.plans.is-night .tabs { background: rgba(243, 238, 230, .1); box-shadow: inset 0 0 0 1px rgba(243, 238, 230, .16); }
.plans.is-night .opt span { background: rgba(243, 238, 230, .08); box-shadow: inset 0 0 0 1px rgba(243, 238, 230, .28); }
.plans.is-night .tod, .plans.is-night .plans__hint { background: rgba(14, 17, 25, .5); box-shadow: inset 0 0 0 1px rgba(243, 238, 230, .14); }
.plans__panel, .plans .tod, .plans__hint { z-index: 1; }
.plans__drag { position: absolute; inset: 0 0 0 40%; touch-action: pan-y; }
.plans__panel { position: relative; width: min(500px, 100%); }
.plans__title { font-family: var(--mincho); font-weight: 800; font-size: clamp(30px, 3vw, 48px); line-height: 1.25; margin: 12px 0 20px; }
.tabs { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 5px; border-radius: 99px; background: rgba(28, 29, 26, .07); box-shadow: inset 0 0 0 1px rgba(28, 29, 26, .08); }
.tabs button { position: relative; z-index: 1; border: 0; background: none; padding: 10px 26px; font-size: 15px; font-weight: 500; letter-spacing: .12em; border-radius: 99px; cursor: pointer; transition: color .4s; }
.tabs button[aria-selected="true"] { color: var(--paper); }
.tabs__pill { position: absolute; top: 5px; bottom: 5px; left: 5px; border-radius: 99px; background: var(--ink); transition: transform .6s var(--ease), width .6s var(--ease); }
.plan { margin-top: 18px; min-height: 0; }
.plan__name { font-family: var(--mincho); font-weight: 700; font-size: 24px; letter-spacing: .06em; }
.plan__text { font-size: 14px; line-height: 1.85; margin-top: 6px; min-height: 3.7em; }
.plan__spec { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 16px; border-top: 1px solid var(--line); }
.plan__spec div { padding: 12px 10px 0 0; }
.plan__spec div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.plan__spec dt { font-size: 11px; letter-spacing: .2em; color: var(--ink-2); }
.plan__spec dd { font-family: var(--mincho); font-weight: 600; font-size: 19px; }
.opts { border: 0; padding: 0; margin: 16px 0 0; }
.opts legend { font-size: 12px; letter-spacing: .14em; color: var(--ink-2); margin-bottom: 10px; padding: 0; }
.opts__list { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 99px; font-size: 13.5px; letter-spacing: .06em; background: rgba(255, 255, 255, .45); box-shadow: inset 0 0 0 1px rgba(28, 29, 26, .18); transition: background .35s, color .35s, box-shadow .35s; }
.opt span::before { content: ''; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; transition: background .35s, box-shadow .35s; }
.opt small { opacity: .7; font-size: 11.5px; }
.opt input:checked + span { background: var(--moss); color: #fff; box-shadow: none; }
.opt input:checked + span::before { background: #fff; box-shadow: inset 0 0 0 4px var(--moss); }
.opt input:focus-visible + span { outline: 2px solid var(--ember); outline-offset: 2px; }
.price { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; align-items: end; column-gap: 20px; }
.price__label { font-size: 12px; letter-spacing: .2em; color: var(--ink-2); }
.price__num { display: flex; align-items: baseline; gap: 6px; line-height: 1; margin-top: 6px; }
.price__label { grid-column: 1 / -1; }
.price__num b { font-family: var(--mincho); font-weight: 700; font-size: clamp(50px, 4.8vw, 76px); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.price__num span { font-family: var(--mincho); font-weight: 700; font-size: 22px; }
.price__num em { font-style: normal; font-size: 12px; color: var(--ink-2); margin-left: 4px; }
.price__note { font-size: 11px; color: var(--ink-2); line-height: 1.7; margin-top: 0; max-width: 17em; padding-bottom: 6px; }
.plans__cta { margin-top: 18px; }
.tod, .plans__hint { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.plans.is-in .tod, .plans.is-in .plans__hint { opacity: 1; transform: none; }
.tod { position: absolute; right: var(--gut); top: 120px; display: flex; gap: 4px; padding: 5px; border-radius: 99px; background: rgba(241, 236, 227, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(28, 29, 26, .1); }
.tod button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: none; font-family: var(--mincho); font-weight: 700; font-size: 16px; cursor: pointer; transition: background .4s, color .4s; }
.tod button.is-on { background: var(--ink); color: var(--paper); }
.plans__hint .m { display: none; }
.plans__hint { position: absolute; right: var(--gut); bottom: 44px; font-size: 12px; letter-spacing: .16em; display: flex; align-items: center; gap: 10px; color: var(--ink); background: rgba(241, 236, 227, .6); padding: 6px 14px; border-radius: 99px; backdrop-filter: blur(6px); }
.plans__hint i { width: 22px; height: 22px; border-radius: 50%; border: 1px solid currentColor; position: relative; }
.plans__hint i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: var(--ember); animation: swing 2.4s ease-in-out infinite; }
@keyframes swing { 0%, 100% { transform: translateX(-6px); } 50% { transform: translateX(6px); } }

/* ---------- 流れる文字 ---------- */
.marquee { position: relative; z-index: 2; background: var(--ink); color: var(--paper); padding: 26px 0 22px; overflow: hidden; }
.marquee__row { display: flex; width: max-content; font-family: var(--mincho); font-weight: 700; font-size: clamp(30px, 4.6vw, 70px); line-height: 1.25; white-space: nowrap; will-change: transform; }
.marquee__row span, .marquee__row em { padding: 0 .45em; font-style: normal; }
.marquee__row em { color: var(--ember); }
.marquee__row--2 { font-size: clamp(18px, 2vw, 28px); color: transparent; -webkit-text-stroke: 1px rgba(241, 236, 227, .55); margin-top: 6px; }

/* ==========================================================
   施工事例
   ========================================================== */
.works { position: relative; z-index: 2; background: var(--ink); color: #f3eee6; }
.works__inner { max-width: 1440px; margin: 0 auto; padding: clamp(100px, 14vh, 160px) var(--gut) clamp(120px, 16vh, 200px); }
.works__head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; align-items: end; margin-bottom: clamp(60px, 9vh, 110px); }
.works__head .kicker { grid-column: 1 / -1; }
.works__title { font-family: var(--mincho); font-weight: 800; font-size: clamp(40px, 5.6vw, 96px); line-height: 1.2; }
.works__note { font-size: 13px; line-height: 2; color: rgba(243, 238, 230, .68); max-width: 34em; justify-self: end; }
.works__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(40px, 6vw, 110px) clamp(24px, 4vw, 70px); }
.work { perspective: 1200px; text-decoration: none; display: block; }
.work:nth-child(2n) { margin-top: clamp(60px, 14vw, 220px); }
.work__card { position: relative; aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; transform-style: preserve-3d; will-change: transform; background: #2a2c2a; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.work__card canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.work__hit { position: absolute; inset: 0; z-index: 3; border: 0; background: none; padding: 0; cursor: pointer; }
.work__card::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 62%, rgba(10, 12, 18, .55)); }
.work__badge { position: absolute; left: 18px; top: 16px; z-index: 2; font-size: 11px; letter-spacing: .16em; padding: 4px 10px; border-radius: 99px; background: rgba(18, 20, 24, .55); backdrop-filter: blur(6px); color: #f3eee6; }
.work__no { position: absolute; right: 18px; bottom: 10px; z-index: 2; font-family: var(--mincho); font-size: 64px; font-weight: 600; line-height: 1; color: rgba(243, 238, 230, .9); }
.work__meta { display: flex; justify-content: space-between; gap: 16px; margin-top: 20px; align-items: baseline; }
.work__title { font-family: var(--mincho); font-weight: 700; font-size: clamp(20px, 1.9vw, 28px); line-height: 1.45; }
.work__sub { font-size: 12.5px; color: rgba(243, 238, 230, .65); letter-spacing: .1em; margin-top: 4px; }
.work__year { font-size: 12px; color: rgba(243, 238, 230, .55); white-space: nowrap; }
.lightbox { position: fixed; inset: 0; z-index: 110; background: rgba(12, 14, 18, .9); display: grid; place-items: center; padding: 24px; backdrop-filter: blur(10px); color: #f3eee6; }
.lightbox[hidden] { display: none; }
.lightbox__body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: end; max-width: 1100px; width: 100%; }
.lightbox__body img { width: 100%; max-height: 82vh; object-fit: cover; border-radius: 6px; }
.lightbox__body h3 { font-family: var(--mincho); font-size: 30px; line-height: 1.4; }
.lightbox__body p { font-size: 14px; color: rgba(243, 238, 230, .75); margin-top: 10px; }
.lightbox__close { position: absolute; top: 20px; right: 20px; border: 1px solid rgba(243, 238, 230, .4); background: none; color: inherit; border-radius: 99px; padding: 8px 18px; cursor: pointer; }

/* ==========================================================
   流れ
   ========================================================== */
.flow { position: relative; z-index: 2; background: var(--paper); }
.flow__stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 6vh; padding: 90px 0 40px; }
.flow__head { padding: 0 var(--gut); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 18px 40px; }
.flow__head .kicker { grid-column: 1 / -1; }
.flow__title { font-family: var(--mincho); font-weight: 800; font-size: clamp(34px, 4.4vw, 72px); line-height: 1.25; }
.flow__sum { font-size: 14px; }
.flow__sum b { font-family: var(--mincho); font-size: 26px; margin: 0 .2em; color: var(--ember); }
.flow__track { position: relative; }
.flow__line { position: absolute; left: var(--gut); right: 0; top: 46px; height: 1px; background: var(--line); }
.flow__line i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.flow__list { display: flex; gap: 0; padding: 0 var(--gut); width: max-content; will-change: transform; }
.step { width: clamp(280px, 27vw, 400px); padding-right: 46px; position: relative; }
.step b { font-family: var(--mincho); font-weight: 600; font-size: 64px; line-height: 1; display: block; color: var(--ink); background: var(--paper); width: max-content; padding-right: 14px; position: relative; }
.step b::after { content: ''; position: absolute; right: 0; top: 46px; width: 9px; height: 9px; border-radius: 50%; background: var(--ember); transform: translate(50%, -50%); }
.step h3 { font-family: var(--mincho); font-weight: 700; font-size: 26px; margin-top: 26px; }
.step__time { display: inline-block; font-size: 12px; letter-spacing: .12em; padding: 2px 10px; border-radius: 99px; background: rgba(86, 99, 63, .14); color: var(--moss); margin: 8px 0 12px; }
.step p:last-child { font-size: 14px; line-height: 2; color: var(--ink-2); }

/* ==========================================================
   よくある質問
   ========================================================== */
.faq { position: relative; z-index: 2; background: var(--paper-2); padding: clamp(100px, 14vh, 160px) 0; }
.faq__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 60px; }
.faq__head { position: sticky; top: 120px; align-self: start; }
.faq__title { font-family: var(--mincho); font-weight: 800; font-size: clamp(32px, 3.8vw, 60px); line-height: 1.3; margin-top: 18px; }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px 0; cursor: pointer; font-family: var(--mincho); font-weight: 700; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.6; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary i { flex: none; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(28, 29, 26, .25); position: relative; transition: background .4s, transform .6s var(--ease); }
.faq__list summary i::before, .faq__list summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; transition: transform .5s var(--ease); }
.faq__list summary i::after { transform: rotate(90deg); }
.faq__list details[open] summary i { background: var(--ink); color: var(--paper); transform: rotate(180deg); }
.faq__list details[open] summary i::after { transform: rotate(0); }
.faq__a { overflow: hidden; }
.faq__a p { padding: 0 60px 28px 0; font-size: 15px; line-height: 2.1; color: var(--ink-2); }

/* ==========================================================
   会社
   ========================================================== */
.company { position: relative; z-index: 2; background: var(--paper); padding: clamp(100px, 14vh, 160px) 0; }
.company__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.company__title { font-family: var(--mincho); font-weight: 800; font-size: clamp(32px, 3.6vw, 56px); line-height: 1.35; margin: 18px 0 40px; }
.company__table div { display: grid; grid-template-columns: 7.5em 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.company__table dt { color: var(--ink-2); font-size: 13px; letter-spacing: .14em; }
.company__table a { text-decoration: none; }
.map { background: #e9e2d4; border-radius: 6px; padding: 0; overflow: hidden; color: var(--ink); }
.map svg { width: 100%; height: auto; }
.map svg text { font-size: 12px; fill: var(--ink-2); letter-spacing: .1em; font-family: var(--gothic); }
.map__road { fill: none; stroke: #fbf8f2; stroke-width: 10; stroke-linecap: round; }
.map__road--main { stroke-width: 18; stroke: #fffdf8; }
.map__river { fill: none; stroke: #b7c8cf; stroke-width: 20; stroke-linecap: round; }
.map__pin circle { fill: var(--ember); }
.map__pin text { fill: var(--ink); font-family: var(--mincho); font-weight: 700; font-size: 15px; }
.map__pulse { opacity: .25; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { from { transform: scale(.3); opacity: .5; } to { transform: scale(1.5); opacity: 0; } }
.map figcaption { padding: 14px 18px 16px; font-size: 13px; color: var(--ink-2); background: #f6f2ea; }
.event { margin-top: 18px; background: var(--moss); color: #f3eee6; border-radius: 6px; padding: 24px 26px; }
.event__k { font-size: 12px; letter-spacing: .3em; opacity: .8; }
.event__d { font-family: var(--mincho); font-weight: 700; font-size: 28px; line-height: 1.5; }
.event__t { font-size: 13px; opacity: .85; }

/* ==========================================================
   お問い合わせ
   ========================================================== */
.cta { position: relative; min-height: 100vh; padding: 140px var(--gut) 120px; color: #f3eee6; display: flex; align-items: center; }
.cta__scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(10, 13, 22, 0) 0%, rgba(10, 13, 22, .25) 40%, rgba(10, 13, 22, .78) 70%); }
.cta__grid { position: relative; width: 100%; display: grid; grid-template-columns: 1fr minmax(0, 560px); gap: 60px; align-items: center; }
.cta__head { align-self: end; padding-bottom: 20px; }
.cta__title { font-family: var(--mincho); font-weight: 800; font-size: clamp(36px, 4.6vw, 76px); line-height: 1.25; margin: 18px 0 24px; }
.cta__lead { font-size: 14.5px; line-height: 2.1; max-width: 30em; }
.cta__tel { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-size: 13px; }
.cta__tel a { font-family: var(--mincho); font-weight: 700; font-size: 34px; text-decoration: none; letter-spacing: .04em; }
.cta__tel small { font-size: 12px; opacity: .75; }
.form { background: rgba(243, 238, 230, .94); color: var(--ink); border-radius: 10px; padding: clamp(24px, 3vw, 40px); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6); display: grid; gap: 14px; }
.form legend, .field > span { font-size: 12.5px; letter-spacing: .1em; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.form em { font-style: normal; font-size: 10.5px; color: #fff; background: var(--ember); padding: 0 6px; border-radius: 3px; letter-spacing: .1em; }
.form__kind { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.form__kind legend { width: 100%; margin-bottom: 8px; }
.form__kind label { position: relative; }
.form__kind input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.form__kind span { display: inline-block; padding: 8px 16px; border-radius: 99px; font-size: 13.5px; box-shadow: inset 0 0 0 1px rgba(28, 29, 26, .25); transition: background .3s, color .3s; }
.form__kind input:checked + span { background: var(--ink); color: var(--paper); box-shadow: none; }
.form__kind input:focus-visible + span { outline: 2px solid var(--ember); outline-offset: 2px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field[hidden] { display: none; }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid rgba(28, 29, 26, .18); border-radius: 6px; padding: 11px 13px; line-height: 1.5;
  transition: border-color .3s, box-shadow .3s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ember); box-shadow: 0 0 0 3px rgba(200, 100, 47, .18); }
.field.is-bad input, .field.is-bad select, .field.is-bad textarea { border-color: #b3261e; }
.err { color: #b3261e; font-size: 12px; min-height: 0; line-height: 1.5; }
.err:empty { display: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.7; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--ember); flex: none; }
.form__send { width: 100%; height: 60px; font-size: 16px; margin-top: 4px; }
.form__status { font-size: 13.5px; line-height: 1.8; }
.form__status:empty { display: none; }
.form__status.is-ok { background: rgba(86, 99, 63, .14); color: #3c4a2b; padding: 12px 14px; border-radius: 6px; }
.form__status.is-bad { background: rgba(179, 38, 30, .08); color: #8f1e18; padding: 12px 14px; border-radius: 6px; }

/* ==========================================================
   フッター
   ========================================================== */
.foot { background: #0f1116; color: #e9e3d8; overflow: hidden; }
.foot__inner { max-width: 1440px; margin: 0 auto; padding: 60px var(--gut) 70px; }
.foot__word { font-family: var(--mincho); font-weight: 800; font-size: clamp(64px, 17vw, 300px); line-height: 1; letter-spacing: -.02em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(233, 227, 216, .3); margin-left: -.04em; }
.foot__cols { display: grid; grid-template-columns: 1fr auto; gap: 40px; margin-top: 40px; padding-top: 30px; border-top: 1px solid rgba(233, 227, 216, .14); font-size: 13.5px; line-height: 2; }
.foot__name { font-family: var(--mincho); font-weight: 700; font-size: 17px; }
.foot nav { display: grid; grid-template-columns: repeat(2, auto); gap: 4px 40px; }
.foot nav a, .foot a { text-decoration: none; opacity: .85; }
.foot nav a:hover { opacity: 1; color: var(--ember); }
.foot__copy { display: flex; justify-content: space-between; margin-top: 40px; font-size: 12px; opacity: .7; }

/* ==========================================================
   WebGLが使えないとき
   ========================================================== */
.no-gl #gl { display: none; }
.no-gl .hero { background: linear-gradient(180deg, #e9e1d1, var(--paper)); }
.no-gl .hero::before { content: ''; position: absolute; right: 4vw; top: 22vh; width: min(52vw, 760px); aspect-ratio: 16/9; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 360' fill='none' stroke='%232b3b66' stroke-width='1.4'%3E%3Cpath d='M20 300H620M96 300V284H544V300M100 284V170M180 284V170M260 284V170M340 284V170M420 284V170M500 284V170M540 284V170M48 180L320 92L592 180L580 184L320 104L60 184Z'/%3E%3C/svg%3E") center/contain no-repeat; opacity: .8; }
.no-gl .story { height: auto; background: var(--paper); }
.no-gl .story__stage { position: relative; height: auto; padding-top: 120px; padding-bottom: 80px; }
.no-gl .story__scrim, .no-gl .story__rail, .no-gl .story__clock { display: none; }
.no-gl .story__chapters { position: relative; transform: none; top: auto; left: auto; width: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 50px; margin-top: 60px; }
.no-gl .chapter { position: relative; visibility: visible; transform: none; }
.no-gl .chapter__title { white-space: normal; font-size: clamp(30px, 3vw, 46px); word-break: keep-all; }
.no-gl .plans { background: var(--paper-2); }
.no-gl .plans__drag, .no-gl .plans__hint, .no-gl .tod { display: none; }
.no-gl .cta { background: linear-gradient(160deg, #1b2236, #0f1116); }
.no-gl .work__card { background: linear-gradient(160deg, #3a3d40, #1d1f22); }

/* ==========================================================
   タブレット・スマホ
   ========================================================== */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .concept__title { grid-column: 1 / -1; }
  .concept__body { grid-column: 3 / -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 24px; }
  .story__chapters { width: min(460px, 50vw); }
  .faq__grid { grid-template-columns: 1fr; gap: 30px; }
  .faq__head { position: relative; top: 0; }
  .company__grid { grid-template-columns: 1fr; }
  .cta__grid { grid-template-columns: 1fr; }
  .cta__scrim { background: linear-gradient(180deg, rgba(10, 13, 22, 0) 0%, rgba(10, 13, 22, .55) 45%, rgba(10, 13, 22, .85) 100%); }
  .lightbox__body { grid-template-columns: 1fr; }
}
@media (max-width: 1080px) {
  .hero__scroll { display: none; }
}
@media (max-width: 1080px) and (orientation: portrait) {
  .plans { padding-top: 46vh; align-items: flex-end; }
  .plans::before { background: linear-gradient(0deg, rgba(241, 236, 227, .96) 0%, rgba(241, 236, 227, .9) 62%, rgba(241, 236, 227, 0) 80%); }
  .plans__drag { inset: 0 0 auto 0; height: 46vh; }
  .plans__hint { top: auto; bottom: auto; right: auto; left: var(--gut); top: calc(46vh - 58px); }
  .tod { top: calc(46vh - 70px); }
  .plans__panel { width: min(620px, 100%); }
  .plans.is-night::after { background: linear-gradient(0deg, rgba(12, 15, 24, .94) 0%, rgba(12, 15, 24, .86) 62%, rgba(12, 15, 24, 0) 80%); }
}
@media (max-width: 760px) {
  body { font-size: 15px; }
  .nav { padding: 12px 16px; gap: 10px; }
  .nav__cta { display: none; }
  .nav__menu { display: block; }
  .nav__logo b { font-size: 17px; }
  .hero { padding: 0 20px; min-height: 600px; }
  .hero__kicker { top: 84px; left: 20px; font-size: 11.5px; gap: 12px; }
  .hero__kicker span + span { padding-left: 12px; }
  .hero__title { left: 14px; bottom: 236px; font-size: clamp(56px, 17.5vw, 96px); }
  .hero__line--2 { padding-left: .55em; }
  .hero__v { display: none; }
  .dims { display: none; }
  .hero__foot { left: 20px; right: 20px; bottom: 56px; flex-direction: column; align-items: stretch; gap: 18px; }
  .hero__lead { font-size: 13px; }
  .hero__btns { display: grid; grid-template-columns: 1fr 1fr; }
  .hero__btns .btn { padding: 0 10px; height: 52px; font-size: 13.5px; }
  .hero__scroll { display: none; }
  .concept__body { grid-column: 1 / -1; font-size: 15px; }
  .stats li { padding-right: 8px; }
  .stats li + li { padding-left: 14px; }
  .concept__big { font-size: 28vw; }
  .story { height: 700vh; }
  .story__scrim { background: linear-gradient(0deg, rgba(241, 236, 227, .96) 0%, rgba(241, 236, 227, .85) 38%, rgba(241, 236, 227, 0) 60%); }
  .story__scrim::after { background: linear-gradient(0deg, rgba(12, 15, 24, .92) 0%, rgba(12, 15, 24, .7) 40%, rgba(12, 15, 24, 0) 62%); }
  .story__head { top: 80px; left: 20px; right: 20px; }
  .story__clock b { font-size: 18px; }
  .story__chapters { left: 20px; right: 20px; width: auto; top: auto; bottom: 92px; transform: none; }
  .chapter { top: auto; bottom: 0; transform: none; }
  .chapter__no { margin-bottom: 6px; }
  .chapter__no b { font-size: 46px; }
  .chapter__title { font-size: clamp(32px, 9.6vw, 44px); margin-bottom: 10px; }
  .chapter__text { font-size: 13.5px; line-height: 1.9; }
  .chips { margin-top: 12px; gap: 6px; }
  .chips li { font-size: 11px; padding: 3px 10px; }
  .story__rail { left: 20px; right: 20px; bottom: 50px; }
  .story__rail ol { font-size: 10px; letter-spacing: 0; }
  .plans { padding: 46vh 20px 60px; align-items: flex-end; }
  .plans::before { background: linear-gradient(0deg, rgba(241, 236, 227, .96) 0%, rgba(241, 236, 227, .9) 62%, rgba(241, 236, 227, 0) 80%); }
  .plans__drag { inset: 0 0 auto 0; height: 46vh; }
  .tabs button { padding: 9px 18px; font-size: 14px; }
  .plans { padding-top: 50vh; }
  .plans__drag { height: 50vh; }
  .tod { top: calc(50vh - 62px); right: 16px; padding: 4px; }
  .tod button { width: 38px; height: 38px; font-size: 14px; }
  .plans__hint { top: calc(50vh - 54px); left: 16px; right: auto; font-size: 11px; letter-spacing: .1em; padding: 5px 12px 5px 6px; }
  .plans__hint .d { display: none; }
  .plans__hint .m { display: inline; }
  .plans.is-night::after { background: linear-gradient(0deg, rgba(12, 15, 24, .94) 0%, rgba(12, 15, 24, .86) 66%, rgba(12, 15, 24, 0) 84%); }
  .plan { min-height: 0; }
  .plan__spec dd { font-size: 16px; }
  .works__head { grid-template-columns: 1fr; }
  .works__note { justify-self: start; }
  .works__grid { grid-template-columns: 1fr; }
  .work:nth-child(2n) { margin-top: 0; }
  .flow__stick { position: relative; height: auto; padding: 90px 0 80px; }
  .flow__head { grid-template-columns: 1fr; }
  .flow__list { flex-direction: column; width: auto; gap: 34px; }
  .flow__line { display: none; }
  .step { width: auto; padding: 0 0 0 0; }
  .step b { font-size: 44px; }
  .step b::after { display: none; }
  .step h3 { margin-top: 8px; font-size: 22px; }
  .faq__a p { padding-right: 0; }
  .company__table div { grid-template-columns: 6em 1fr; }
  .cta { padding: 50vh 16px 90px; align-items: flex-end; }
  .form__row { grid-template-columns: 1fr; }
  .cta__tel a { font-size: 28px; }
  .foot__cols { grid-template-columns: 1fr; }
  .foot nav { grid-template-columns: 1fr 1fr; gap: 4px 16px; }
  .notice { font-size: 10px; bottom: 6px; }
}

/* ---------- 動きをへらす設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-fade] { opacity: 1; }
}
