@charset "UTF-8";
/* =========================================================
   CARELERT LP  style.css
   - 小磯/laughtus-clone の演出フレームを踏襲
     （ローディング phase 連鎖 / 文字分割 / vwスケーリング / is-inview）
   - 配色は 菊池/ウェブサイトデザインメモ.md 準拠
     （フォグ白×木のトーン、グリーン主役・オレンジはCTAのみ）
   - 設計基準幅: 1520px（vwスケーリング）/ 768px以下はSP
   ========================================================= */

/* =========================================================
   ★デザイントークン★
   ========================================================= */
:root {
  /* --- 基本色（フォグ白 × 木のトーン × 墨ネイビー） --- */
  --c-ink:      #1f2d3d; /* 本文（墨ネイビー・真っ黒は使わない） */
  --c-bg:       #f4f2ec; /* ページ背景（フォグ白） */
  --c-kv-bg:    #e9e3d5; /* KV背景（ライトオーク系） */
  --c-wood:     #dcd3c4; /* 木パネル（明） */
  --c-wood-2:   #b9b4a6; /* 木パネル（中）板の境目 */
  --c-glow:     #f3e6c4; /* 下からのウォームグロウ */
  --c-muted:    #8d8471; /* 補助テキスト（トープ） */
  --c-line:     #d9d2c0; /* 罫線・カード枠 */
  /* --- ブランド色（企業ロゴ由来） --- */
  --c-green:      #6dc24e; /* プライマリ（自然・成長） */
  --c-green-deep: #3d8c2f; /* テキスト・塗りに使える濃グリーン */
  --c-green-pale: #e2efd9; /* 淡グリーン面 */
  --c-orange:     #f78f27; /* CTA専用（押させたい所だけ） */
  --c-orange-deep:#e37a10;
  --c-teal:       #2d9fa2; /* 補助（図版・アイコン） */
  --c-blue:       #0f6cb4; /* 補助（リンク・図版） */
  --c-navy:       #1a365a; /* 濃色面（プレゼンティーズム等） */
  --c-lime:       #d2d63c; /* 明るいハイライト */
  --c-terra:      #c05b4d; /* 悲劇ラベル用テラコッタ */
  /* --- フォント --- */
  --font-jp:      "Noto Sans JP", sans-serif;
  --font-en:      "Montserrat", "Noto Sans JP", sans-serif;
  --font-display: "Barlow Condensed", "Montserrat", sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  margin: 0;
  font-size: 10px;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  width: 100%;
  position: relative;
  overflow-x: hidden;
  font-family: var(--font-jp);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: .04em;
  line-height: 2;
  color: var(--c-ink);
}
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, dl, dd, dt { margin: 0; }
.en { font-family: var(--font-en); }
.t-bold { font-weight: 700; }

/* =========================================================
   LOADING（phase-0 → phase-1 → phase-2 → phase-3）
   ========================================================= */
html.is-locked, html.is-locked body { overflow: hidden; height: 100%; }

#loading {
  position: absolute; left: 0; top: 0; z-index: 10001;
  background: #10231a; width: 100%; height: 100vh;
  transition: background 1s ease-in-out, opacity 1s ease-in-out;
}

/* シンボル（CARELERT アウトライン）= 最後に登場し、そのままヒーローに残る */
#symbol {
  position: absolute; top: 8.6vw; left: 50%; translate: -50% 0;
  max-width: 0; opacity: 0; overflow: hidden;
  width: 75.13vw; height: 20vw;
}
#symbol, #symbol-wrapper { transition: 1.5s cubic-bezier(.6,.04,.98,1); }
#symbol-wrapper { min-width: 75.13vw; min-height: 20vw; display: flex; align-items: center; justify-content: center; }
.symbol-text {
  font-family: var(--font-display); font-weight: 600; letter-spacing: .06em;
  font-size: 15vw; line-height: 1; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px #fff; text-stroke: 1.5px #fff;
  transition: -webkit-text-stroke-color .6s;
}
/* 表示完了後はヒーローの邪魔をしないよう淡いアウトラインに */
body.is-transit #loading .symbol-text { -webkit-text-stroke-color: rgba(31,45,61,.30); text-stroke-color: rgba(31,45,61,.30); }

/* ロゴマーク（企業ロゴ v10ベクター）= 最初に登場
   ネットワーク線が走る → ノード点灯 → ブレインが結晶化 → 軌道スウッシュ →
   スパークル → ワードマーク（親サイト index.html のイントロと同じ作法） */
#loading-mark {
  position: absolute; top: 50%; left: 50%; translate: -50% -50%; z-index: 10002;
  width: min(52vh, 36vw, 480px);
  transition: opacity .7s ease, scale .7s ease;
}
@media (max-width: 768px) { #loading-mark { width: min(52vh, 76vw); } }
#loading-mark svg { display: block; width: 100%; height: auto; overflow: visible; }

/* 1) 白のネットワーク線が左→右へ走る */
.lm-line {
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: lmDraw .55s cubic-bezier(.45,0,.2,1) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes lmDraw { to { stroke-dashoffset: 0; } }

/* 2) ノードがポップ */
.lm-node {
  opacity: 0; transform-origin: center; transform-box: fill-box;
  animation: lmPop .45s cubic-bezier(.2,.7,.3,1.4) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes lmPop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }

/* 2.5) 白い下敷き（脳シルエット）— マス間の白格子は面と面の隙間から
   これが透けて見える構造なので、面の結晶化に先行してフェードイン */
#lm-brainbase {
  opacity: 0;
  animation: lmBase .7s ease-out forwards;
  animation-delay: 1.2s;
}
@keyframes lmBase { to { opacity: 1; } }

/* 3) ブレインの面が左→右に結晶化（ネットワークの下に浮かび上がる） */
.lm-facet {
  opacity: 0; transform-origin: center; transform-box: fill-box;
  animation: lmBloom .5s ease-out forwards;
  animation-delay: var(--d, 0s);
}
/* scaleを控えめ(.94)に: 結晶化中もマスが白格子からほぼずれない */
@keyframes lmBloom { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }

/* 4) 軌道スウッシュが左から右へ抜ける */
#lm-orbit {
  clip-path: inset(-5% 100% -5% 0);
  animation: lmSweep .7s cubic-bezier(.6,.04,.3,1) forwards;
  animation-delay: 1.95s;
}
@keyframes lmSweep { to { clip-path: inset(-5% -5% -5% 0); } }

/* 5) スパークル */
.lm-spark {
  opacity: 0; transform-origin: center; transform-box: fill-box;
  animation: lmSpark .55s cubic-bezier(.2,.7,.3,1.3) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes lmSpark {
  0% { opacity: 0; transform: scale(0) rotate(-90deg); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

/* 6) ワードマーク（ダーク幕の上なのでフォグ白に上書き） */
#lm-wordmark path { fill: #f4f2ec; }
#lm-wordmark {
  opacity: 0; transform-origin: center; transform-box: fill-box;
  animation: lmWord .8s cubic-bezier(.2,.7,.2,1) forwards;
  animation-delay: 2.65s;
}
@keyframes lmWord { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* --- phase 制御 --- */
#pagetop.phase-0 #loading { background: #10231a; }
#pagetop.phase-2 #loading-mark { opacity: 0; scale: .96; }
#pagetop.phase-3 #symbol { max-width: 75.13vw; opacity: 1; }
#pagetop.phase-3 #loading { background: none; }
body.is-transit #loading { pointer-events: none; z-index: 5; }

/* モーション低減設定ではイントロを出さない（JS側で即 phase-3 へ） */
@media (prefers-reduced-motion: reduce) { #loading-mark { display: none; } }

/* ページ遷移用の白幕 */
#transition {
  position: fixed; left: 0; top: 0; z-index: 99; background: #fff;
  width: 100%; height: 100%; opacity: 0; pointer-events: none;
  transition: all .2s ease-in-out;
}

/* =========================================================
   HEADER
   ========================================================= */
#header {
  position: fixed; left: 0; top: 0; z-index: 9000;
  width: 100%; height: 5.2vw; min-height: 64px;
  opacity: 0; pointer-events: none;
  transition: opacity .6s ease, background .4s ease;
}
body.is-transit #header { opacity: 1; pointer-events: auto; }
#header-inner {
  display: flex; align-items: center; position: relative;
  width: 100%; height: 100%; padding-left: 1.97vw; padding-right: 1.4vw;
}
#header-logo { display: flex; align-items: center; gap: .6vw; height: 100%; }
#header-logo .logo-text {
  font-family: var(--font-display); font-weight: 600;
  letter-spacing: .14em; font-size: max(1.9vw, 19px);
  color: var(--c-ink); transition: color .4s;
}
#header-logo .logo-text::after {
  content: ""; display: inline-block; width: .5em; height: .5em; margin-left: .35em;
  border-radius: 50%; background: var(--c-green); translate: 0 -.05em;
}
#header.is-scrolled { background: rgba(244,242,236,.9); backdrop-filter: blur(8px); box-shadow: 0 1px 12px rgba(31,45,61,.06); }
/* backdrop-filter は fixed 子要素（全画面ドロワー）の包含ブロックを作るため、開いている間は必ず外す */
#header.is-open { background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }

/* burger（SPのみ） */
.burger-btn {
  display: none; flex-direction: column; justify-content: center; gap: 6px;
  width: 60px; height: 100%; padding: 0 18px; margin-left: auto;
  cursor: pointer; z-index: 9100;
}
.burger-btn-line { display: block; width: 100%; height: 2px; background: var(--c-ink); transition: all .35s ease; }
.burger-btn.is-open .burger-btn-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger-btn.is-open .burger-btn-line:nth-child(2) { opacity: 0; }
.burger-btn.is-open .burger-btn-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* PCナビ */
#header-nav { margin-left: auto; height: 100%; display: flex; align-items: center; }
.header-nav__inner { display: flex; align-items: center; height: 100%; }
.header-nav__corporate { display: flex; flex-direction: row; align-items: center; gap: 1.6vw; }
.header-nav__item {
  font-size: 1.15vw; font-weight: 700; letter-spacing: .06em; color: var(--c-ink);
  position: relative; white-space: nowrap; transition: opacity .3s;
}
.header-nav__item::after {
  content: ""; position: absolute; left: 0; bottom: -.5em; width: 0; height: 2px;
  background: var(--c-green); transition: width .3s ease;
}
.header-nav__item:hover::after { width: 100%; }
.header-nav__btn { display: flex; gap: .7vw; margin-left: 1vw; }
.header-nav__btn-item {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .55em 1.5em; border-radius: 999px; font-weight: 700; font-size: 1.1vw; color: #fff;
  white-space: nowrap; transition: transform .3s ease, opacity .3s ease;
}
.header-nav__btn-item:hover { transform: translateY(-2px); }
.header-nav__btn-item.download { background: var(--c-green-deep); }
.header-nav__btn-item.contact { background: var(--c-orange); }

/* =========================================================
   LAYOUT
   ========================================================= */
.l-container { width: 75.65vw; margin: 0 auto; box-sizing: border-box; }
.l-content { display: flex; }
.l-content__gr-1 { width: 26.31vw; flex-shrink: 0; }
.l-content__gr-2 { width: 49.34vw; }

#wrapper { overflow: hidden; }

/* =========================================================
   KV（ファーストビュー）
   ========================================================= */
#kv {
  position: relative; height: 66vw; overflow: hidden;
  /* 木の壁: 横張りパネルのうっすらした継ぎ目 + フォグのかすみ */
  background:
    repeating-linear-gradient(180deg,
      rgba(185,180,166,0) 0, rgba(185,180,166,0) 5.8vw,
      rgba(185,180,166,.28) 5.8vw, rgba(185,180,166,.28) calc(5.8vw + 1px)),
    linear-gradient(180deg, #ece6d9 0%, var(--c-kv-bg) 60%, #e5decf 100%);
}
#kv-content { padding-top: 10.6vw; padding-left: 6vw; position: relative; z-index: 3; }
#kv-eyebrow {
  font-weight: 600; letter-spacing: .34em; font-size: .95vw; color: var(--c-green-deep);
  margin-bottom: 1.4vw; opacity: 0;
}
#kv-copy, #kv-subcopy { width: 0; white-space: nowrap; overflow: hidden; }
#kv-copy {
  font-weight: 700; font-size: 2.85vw; line-height: 1.6; margin-bottom: 1.2vw;
  letter-spacing: .08em; color: var(--c-ink);
}
#kv-subcopy {
  font-weight: 700; font-size: 1.45vw; line-height: 1.6; letter-spacing: .08em;
  color: var(--c-green-deep); margin-bottom: 1.6vw;
}
#kv-lead {
  font-size: 1.15vw; line-height: 2.1; letter-spacing: .06em; color: var(--c-ink);
  margin-bottom: 2vw; opacity: 0;
}
#kv-badges { display: flex; flex-wrap: wrap; gap: .7vw; margin-bottom: 2.2vw; max-width: 46vw; }
#kv-badges li {
  display: inline-flex; align-items: center; gap: .5em;
  background: rgba(255,255,255,.72); border: 1px solid var(--c-line);
  border-radius: 999px; padding: .45em 1.2em;
  font-weight: 700; font-size: .95vw; letter-spacing: .04em;
  opacity: 0; translate: 0 14px;
}
#kv-badges li svg { width: 1.25em; height: 1.25em; color: var(--c-green-deep); flex-shrink: 0; }
#kv-cta { display: flex; flex-wrap: wrap; gap: .9vw; opacity: 0; translate: 0 14px; }
.kv-btn {
  display: inline-flex; align-items: center; gap: .8em;
  border-radius: 999px; font-weight: 700; letter-spacing: .04em;
  padding: 1em 2.2em; font-size: 1.1vw; white-space: nowrap;
  transition: transform .35s ease, box-shadow .35s ease, background .35s ease;
}
.kv-btn::after { content: "→"; font-family: var(--font-en); }
.kv-btn.main { background: var(--c-orange); color: #fff; box-shadow: 0 .5vw 1.6vw rgba(247,143,39,.35); }
.kv-btn.main:hover { transform: translateY(-3px); background: var(--c-orange-deep); }
.kv-btn.sub { background: #fff; color: var(--c-ink); border: 1px solid var(--c-wood-2); }
.kv-btn.sub:hover { transform: translateY(-3px); border-color: var(--c-ink); }

/* KVの段階表示（黒幕が引けた後に順番に） */
body.is-transit.phase-3 #kv-copy { width: 100%; transition: width 1.5s ease-in-out 1.1s; }
body.is-transit.phase-3 #kv-subcopy { width: 100%; transition: width 1.5s ease-in-out 1.9s; }
body.is-transit.phase-3 #kv-eyebrow { opacity: 1; transition: opacity 1s ease .9s; }
body.is-transit.phase-3 #kv-lead { opacity: 1; transition: opacity 1.2s ease 2.6s; }
body.is-transit.phase-3 #kv-badges li { opacity: 1; translate: 0 0; }
body.is-transit.phase-3 #kv-badges li:nth-child(1) { transition: all .9s cubic-bezier(.16,1,.3,1) 2.9s; }
body.is-transit.phase-3 #kv-badges li:nth-child(2) { transition: all .9s cubic-bezier(.16,1,.3,1) 3.05s; }
body.is-transit.phase-3 #kv-badges li:nth-child(3) { transition: all .9s cubic-bezier(.16,1,.3,1) 3.2s; }
body.is-transit.phase-3 #kv-cta { opacity: 1; translate: 0 0; transition: all 1s cubic-bezier(.16,1,.3,1) 3.4s; }

/* 下からのウォームグロウ */
#kv-glow {
  position: absolute; left: 0; bottom: 0; z-index: 1; width: 100%; height: 20vw;
  background: linear-gradient(180deg, rgba(243,230,196,0) 0%, rgba(243,230,196,.85) 100%);
  pointer-events: none;
}

/* =========================================================
   共通アニメーション（is-inview で発火）
   ========================================================= */
.anim { opacity: 0; }
.anim.is-inview { opacity: 1; transition: opacity 1s cubic-bezier(.16,1,.3,1) .1s; }

.anim-fadeUp { transform: translateY(34px); }
.anim-fadeUp.is-inview { transform: translateY(0); transition: all 1.6s cubic-bezier(.16,1,.3,1) .3s; }

/* 文字バラバラ → 整列（js-word-divider） */
.js-word-divider span {
  display: inline-block; opacity: 0; transform-origin: center center;
  transform: translate3d(var(--x,120%), var(--y,80%), 0) scale(var(--s,1.2));
  rotate: var(--r, 200deg);
}
.js-word-divider.is-inview span {
  opacity: 1; transform: translateZ(0) scale(1); rotate: 0deg;
  transition:
    opacity 1s cubic-bezier(.16,1,.3,1),
    transform 2.4s cubic-bezier(.16,1,.3,1),
    rotate 1.5s cubic-bezier(.16,1,.3,1);
  transition-delay: calc(var(--i, 0) * .05s);
}

/* 区切り線 */
.m-line-1, .m-line-2 {
  width: 0; height: 1px; background: var(--c-wood-2); margin: 7vw auto 0;
  transition: width 1.9s cubic-bezier(.16,1,.3,1);
}
.m-line-1.is-inview, .m-line-2.is-inview { width: 75.65vw; }

/* =========================================================
   見出し m-head-1 / 共通リード
   ========================================================= */
.m-head-1 .ja { display: block; font-weight: 700; letter-spacing: .1em; font-size: 2.5vw; margin-bottom: 1.05vw; }
.m-head-1 .en {
  display: inline-block; font-weight: 700; letter-spacing: .14em;
  background: var(--c-green-deep); color: #fff; font-size: 1.1vw;
  padding: .2vw .8vw; border-radius: .52vw;
}
.sec-lead { font-weight: 700; letter-spacing: .1em; font-size: 2.5vw; line-height: 1.6; margin-bottom: 1.4vw; text-wrap: balance; }
.sec-sub { font-weight: 700; letter-spacing: .08em; font-size: 1.5vw; line-height: 1.9; margin-bottom: 2.4vw; text-wrap: balance; }
.sec-sub.green { color: var(--c-green-deep); }
.sec-body { font-weight: 400; letter-spacing: .04em; font-size: 1.4vw; line-height: 2.2; }
.sec-body + .sec-body { margin-top: 1.2em; }
.sec-body strong { font-weight: 700; background: linear-gradient(transparent 68%, rgba(109,194,78,.4) 68%); }

/* =========================================================
   PROBLEM（課題提起）
   ========================================================= */
#problem { position: relative; padding: 9vw 0 0; overflow: hidden; }
.home-problem__container { position: relative; z-index: 2; }
.problem-list { display: flex; gap: 1.4vw; margin-top: 3.6vw; }
.problem-item {
  background: #fff; box-sizing: border-box; flex: 1;
  padding: 2.4vw 2vw; border-top: 4px solid var(--c-teal);
}
.problem-item:nth-of-type(2) { border-top-color: var(--c-blue); }
.problem-item:nth-of-type(3) { border-top-color: var(--c-terra); }
.problem-item .icon { width: 2.6vw; height: 2.6vw; color: var(--c-teal); margin-bottom: 1vw; }
.problem-item:nth-of-type(2) .icon { color: var(--c-blue); }
.problem-item:nth-of-type(3) .icon { color: var(--c-terra); }
.problem-item .ttl { font-weight: 700; letter-spacing: .06em; font-size: 1.5vw; line-height: 1.6; margin-bottom: .8vw; }
.problem-item .body { font-size: 1.25vw; line-height: 2; }

/* プレゼンティーズム（濃紺の告知パネル） */
.presenteeism {
  margin-top: 3.4vw; background: var(--c-navy); color: #fff;
  padding: 3.2vw 3.4vw; border-top: 4px solid var(--c-lime); position: relative; overflow: hidden;
}
.presenteeism::after {
  content: ""; position: absolute; right: -6vw; top: -8vw; width: 22vw; height: 22vw;
  border-radius: 50%; background: rgba(210,214,60,.08); pointer-events: none;
}
.presenteeism .label { font-weight: 700; letter-spacing: .3em; font-size: .95vw; color: var(--c-lime); margin-bottom: .8vw; }
.presenteeism .ttl { font-weight: 700; letter-spacing: .06em; font-size: 1.75vw; line-height: 1.7; margin-bottom: 1.2vw; }
.presenteeism .body { font-size: 1.3vw; line-height: 2.2; color: rgba(255,255,255,.92); }
.presenteeism .body strong { color: var(--c-lime); font-weight: 700; }

/* 弾む淡グリーンのボール（laughtus のボールと同じ世界観） */
#problem-bg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
#problem-circle-1 {
  width: 19vw; height: 19vw; border-radius: 50%; position: absolute; left: 0; bottom: 2.2vw;
  transform-origin: bottom right;
  background: #d3e8c6; z-index: 1; animation: circleBounce 7.5s linear infinite;
}
@keyframes circleBounce {
  0%   { opacity: 0;  left: 0;    translate: 0 0;        scale: 1.06 .94;
         animation-timing-function: cubic-bezier(.215,.61,.355,1); }
  10%  { opacity: .55; left: 11%;  translate: -11% -30%;  scale: .97 1.05;
         animation-timing-function: cubic-bezier(.55,.055,.675,.19); }
  20%  { opacity: .55; left: 22%;  translate: -22% 0;     scale: 1.08 .92;
         animation-timing-function: cubic-bezier(.215,.61,.355,1); }
  32%  { opacity: .55; left: 34%;  translate: -34% -60%;  scale: .97 1.05;
         animation-timing-function: cubic-bezier(.55,.055,.675,.19); }
  44%  { opacity: .55; left: 46%;  translate: -46% 0;     scale: 1.1 .9;
         animation-timing-function: cubic-bezier(.215,.61,.355,1); }
  58%  { opacity: .55; left: 60%;  translate: -60% -95%;  scale: .96 1.06;
         animation-timing-function: cubic-bezier(.55,.055,.675,.19); }
  72%  { opacity: .55; left: 74%;  translate: -74% 0;     scale: 1.12 .88;
         animation-timing-function: cubic-bezier(.215,.61,.355,1); }
  84%  { opacity: .55; left: 90%;  translate: -90% -135%; scale: .95 1.07;
         animation-timing-function: cubic-bezier(.55,.055,.675,.19); }
  96%  { opacity: .55; left: 100%; translate: -100% 0;    scale: 1.06 .94; }
  100% { opacity: 0;  left: 100%; translate: -100% 0;    scale: 1; }
}

/* =========================================================
   SERVICE（サービス紹介）
   ========================================================= */
#service { position: relative; padding: 7vw 0 0; }
.home-service__container { position: relative; z-index: 2; }

/* 3つの円: 上から弾んで着地 */
.service-info { position: relative; height: 13.5vw; width: 49vw; margin: 4vw 0 4.5vw -2vw; }
.service-info__item {
  position: absolute; top: 0; width: 13.5vw; height: 13.5vw; border-radius: 50%;
  border: 1px solid var(--c-wood-2); background: rgba(255,255,255,.55);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  translate: -50% 0; opacity: 0; transform-origin: 50% 100%; text-align: center;
}
.service-info__item:nth-of-type(1) { left: 16%; }
.service-info__item:nth-of-type(2) { left: 50%; }
.service-info__item:nth-of-type(3) { left: 84%; }
.service-info__item .ja { font-weight: 700; letter-spacing: .1em; font-size: 1.35vw; line-height: 1.5; }
.service-info__item .en {
  font-weight: 700; letter-spacing: .08em; font-size: .9vw; color: #fff;
  padding: .12em .9em; border-radius: 999px; margin-top: .5em; white-space: nowrap;
}
.service-info__item:nth-of-type(1) .en { background: var(--c-green-deep); }
.service-info__item:nth-of-type(2) .en { background: var(--c-teal); }
.service-info__item:nth-of-type(3) .en { background: var(--c-blue); }
.service-info.is-inview .service-info__item { animation: circlePop 1.1s both; }
.service-info.is-inview .service-info__item:nth-of-type(1) { animation-delay: .1s; }
.service-info.is-inview .service-info__item:nth-of-type(2) { animation-delay: .32s; }
.service-info.is-inview .service-info__item:nth-of-type(3) { animation-delay: .54s; }
@keyframes circlePop {
  0%   { opacity: 0; translate: -50% -90%; scale: .85;
         animation-timing-function: cubic-bezier(.55,.055,.675,.19); }
  45%  { opacity: 1; translate: -50% 0;    scale: 1;
         animation-timing-function: cubic-bezier(.215,.61,.355,1); }
  60%  { translate: -50% 0;    scale: 1.12 .86;
         animation-timing-function: cubic-bezier(.215,.61,.355,1); }
  76%  { translate: -50% -14%; scale: .97 1.05;
         animation-timing-function: cubic-bezier(.55,.055,.675,.19); }
  88%  { translate: -50% 0;    scale: 1.04 .96;
         animation-timing-function: cubic-bezier(.215,.61,.355,1); }
  100% { opacity: 1; translate: -50% 0;    scale: 1; }
}

/* 3つの理由カード */
.service-detail { display: flex; flex-direction: column; gap: 1.4vw; }
.service-detail__item { background: #fff; box-sizing: border-box; padding: 2.2vw 2.5vw; border-top: 4px solid var(--c-green); }
.service-detail__item:nth-of-type(2) { border-top-color: var(--c-teal); }
.service-detail__item:nth-of-type(3) { border-top-color: var(--c-blue); }
.service-detail__ttl {
  font-weight: 700; letter-spacing: .06em; font-size: 1.7vw; line-height: 1.7; margin-bottom: .9vw;
}
.service-detail__ttl .num {
  font-family: var(--font-en); color: var(--c-green-deep); font-size: 2.1vw; margin-right: .5em; vertical-align: baseline;
}
.service-detail__item:nth-of-type(2) .service-detail__ttl .num { color: var(--c-teal); }
.service-detail__item:nth-of-type(3) .service-detail__ttl .num { color: var(--c-blue); }
.service-detail__ttl .cat { display: block; font-size: 1.05vw; letter-spacing: .12em; color: var(--c-muted); margin-bottom: .3em; }
.service-detail__body { font-weight: 400; letter-spacing: .04em; font-size: 1.35vw; line-height: 2.1; }

/* =========================================================
   SCENE（想定される活用シーン）
   ========================================================= */
#scene { position: relative; padding: 7vw 0 0; }
.home-scene__container { position: relative; z-index: 2; }
.scene-list { display: flex; flex-direction: column; gap: 2vw; margin-top: 3.6vw; }
.scene-item { background: #fff; padding: 2.6vw 3vw 2.8vw; border-left: 5px solid var(--c-blue); }
.scene-item.is-genba { border-left-color: var(--c-orange); }
.scene-item.is-sales { border-left-color: var(--c-teal); }
.scene-item__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: .2em .8em; margin-bottom: 1.6vw; }
.scene-item__head .emoji { font-size: 2.2vw; line-height: 1; translate: 0 .18em; }
.scene-item__head .ttl { font-weight: 700; letter-spacing: .06em; font-size: 1.85vw; }
.scene-item__head .tagline { width: 100%; font-weight: 700; font-size: 1.2vw; color: var(--c-muted); letter-spacing: .06em; }
.scene-story .row {
  display: flex; gap: 2vw; padding: 1.3vw 0; border-top: 1px dashed var(--c-line);
}
.scene-story .row dt {
  flex-shrink: 0; width: 11vw; align-self: flex-start;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; color: #fff; font-weight: 700;
  font-size: 1vw; letter-spacing: .08em; padding: .35em 0; margin-top: .35em;
}
.scene-story .row dt.tragedy { background: var(--c-terra); }
.scene-story .row dt.action { background: var(--c-teal); }
.scene-story .row dt.result { background: var(--c-green-deep); }
.scene-story .row dd { font-size: 1.3vw; line-height: 2.05; }

/* =========================================================
   FLOW（サービスの流れ・仕組み）
   ========================================================= */
#flow { position: relative; padding: 7vw 0 0; }
.home-flow__container { position: relative; z-index: 2; }
.flow-steps { margin-top: 2.6vw; }
.flow-step { display: flex; gap: 2vw; padding: 2.3vw 0; border-bottom: 1px solid var(--c-line); }
.flow-step:first-child { border-top: 1px solid var(--c-line); }
.flow-step__gr-1 { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-start; gap: .5vw; width: 9.5vw; }
.flow-label {
  font-family: var(--font-en); font-weight: 700; letter-spacing: .1em;
  display: inline-block; padding: .4vw 1.2vw; border-radius: 999px; font-size: 1.15vw; color: #fff;
}
.flow-label.green { background: var(--c-green-deep); }
.flow-label.teal { background: var(--c-teal); }
.flow-label.orange { background: var(--c-orange); }
.flow-label.blue { background: var(--c-blue); }
.flow-actor {
  font-size: .95vw; font-weight: 700; letter-spacing: .1em; color: var(--c-muted);
  border: 1px solid var(--c-line); border-radius: 999px; padding: .1em 1em; background: #fff;
}
.flow-step__lead { font-weight: 700; letter-spacing: .08em; font-size: 1.7vw; line-height: 1.6; margin-bottom: .6vw; }
.flow-step__lead .en { display: block; font-size: 1vw; letter-spacing: .18em; color: var(--c-muted); margin-top: .2em; }
.flow-step__body { font-weight: 400; letter-spacing: .04em; font-size: 1.35vw; line-height: 2; }

/* =========================================================
   WHY / TRUST / MISSION
   ========================================================= */
#why { position: relative; padding: 7vw 0 0; }
#trust { position: relative; padding: 7vw 0 0; }
#mission { position: relative; padding: 7vw 0 0; }
.home-why__container, .home-trust__container, .home-mission__container { position: relative; z-index: 2; }

.trust-sub {
  font-weight: 700; letter-spacing: .08em; font-size: 1.6vw; line-height: 1.8;
  margin: 2.6vw 0 1.4vw; padding-left: .9em; border-left: 4px solid var(--c-green);
}
.trust-cards { display: flex; gap: 1.4vw; }
.trust-card { background: #fff; flex: 1; padding: 2.2vw 2vw; border-top: 4px solid var(--c-teal); }
.trust-card:nth-of-type(2) { border-top-color: var(--c-blue); }
.trust-card .icon { width: 2.4vw; height: 2.4vw; color: var(--c-teal); margin-bottom: .9vw; }
.trust-card:nth-of-type(2) .icon { color: var(--c-blue); }
.trust-card .ttl { font-weight: 700; letter-spacing: .06em; font-size: 1.45vw; margin-bottom: .7vw; }
.trust-card .body { font-size: 1.25vw; line-height: 2; }

/* =========================================================
   FAQ
   ========================================================= */
#faq { position: relative; padding: 7vw 0; }
.home-faq__container { position: relative; z-index: 2; }
.faq-list { display: flex; flex-direction: column; gap: 1.2vw; }
.faq-item { background: #fff; border-top: 4px solid var(--c-green); }
.faq-q {
  display: flex; align-items: center; gap: 1.2vw; width: 100%; text-align: left;
  background: none; border: 0; cursor: pointer; font-family: inherit; color: inherit;
  padding: 1.6vw 2vw; font-weight: 700; letter-spacing: .05em; font-size: 1.4vw; line-height: 1.7;
}
.faq-q .mark, .faq-a .mark {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 2.2vw; height: 2.2vw; border-radius: 50%;
  font-weight: 700; font-size: 1.15vw;
  background: var(--c-green-deep); color: #fff;
}
.faq-a .mark { background: var(--c-orange); }
.faq-q .txt { flex: 1; }
.faq-q .toggle { position: relative; flex-shrink: 0; width: 1.2vw; height: 1.2vw; }
.faq-q .toggle::before, .faq-q .toggle::after {
  content: ""; position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  background: var(--c-ink); transition: rotate .4s ease, opacity .4s ease;
}
.faq-q .toggle::before { width: 100%; height: 2px; }
.faq-q .toggle::after { width: 2px; height: 100%; }
.faq-item.is-open .faq-q .toggle::after { rotate: 90deg; opacity: 0; }
.faq-a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .6s cubic-bezier(.16,1,.3,1);
}
.faq-a__inner {
  overflow: hidden; min-height: 0;
  display: flex; gap: 1.2vw; padding: 0 2vw;
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-item.is-open .faq-a__inner { padding-bottom: 1.8vw; }
.faq-a p { font-size: 1.3vw; line-height: 2.05; padding-top: .2vw; }

/* =========================================================
   CLOSING（クロージング CTA バナー）
   ========================================================= */
#closing {
  position: relative; padding: 7.5vw 12.5vw 8vw; margin-top: 0;
  background: linear-gradient(120deg, #f6a94f 0%, var(--c-orange) 55%, #ef801b 100%);
  overflow: hidden;
}
#closing::after {
  content: ""; position: absolute; right: -8vw; bottom: -14vw; width: 34vw; height: 34vw;
  border-radius: 50%; background: rgba(255,255,255,.14); pointer-events: none;
}
#closing .inner { position: relative; z-index: 2; }
#closing .label { font-weight: 700; letter-spacing: .3em; font-size: 1.2vw; color: #fff; }
#closing .head { font-weight: 700; letter-spacing: .08em; font-size: 2.2vw; margin: .4em 0 1vw; color: var(--c-ink); }
#closing .copy {
  font-family: var(--font-display); font-weight: 600; letter-spacing: .04em;
  font-size: 6.4vw; line-height: .95; color: rgba(255,255,255,.92); margin-bottom: 2vw;
}
#closing .body { font-size: 1.45vw; line-height: 2.1; margin-bottom: 2.6vw; max-width: 52vw; color: var(--c-ink); font-weight: 500; }
#closing .btns { display: flex; flex-wrap: wrap; gap: 1vw; }
#closing .btn {
  display: inline-flex; align-items: center; gap: 1em;
  padding: 1.1em 2.4em; border-radius: 999px; font-weight: 700; letter-spacing: .04em; font-size: 1.2vw;
  transition: transform .4s ease, background .4s ease;
}
#closing .btn::after { content: "→"; font-family: var(--font-en); }
#closing .btn.dark { background: var(--c-ink); color: #fff; }
#closing .btn.dark:hover { transform: translateX(6px); background: #10233c; }
#closing .btn.light { background: #fff; color: var(--c-ink); }
#closing .btn.light:hover { transform: translateX(6px); }

/* =========================================================
   CONTACT（フォーム / デモ）
   ========================================================= */
#contact { position: relative; padding: 7vw 0 8vw; }
.home-contact__container { position: relative; z-index: 2; }
.form-card { background: #fff; padding: 2.8vw 3vw; border-top: 4px solid var(--c-green); }
.fld { margin-bottom: 1.5vw; }
.fld label { display: flex; align-items: center; gap: .7em; font-weight: 700; font-size: 1.15vw; letter-spacing: .06em; margin-bottom: .5vw; }
.fld .req {
  background: var(--c-orange); color: #fff; font-size: .8vw; font-weight: 700;
  border-radius: .3vw; padding: .05em .7em; letter-spacing: .1em;
}
.fld input, .fld select, .fld textarea {
  width: 100%; box-sizing: border-box; font-family: inherit; color: inherit;
  font-size: 1.15vw; letter-spacing: .04em; line-height: 1.6;
  background: var(--c-bg); border: 1px solid var(--c-line); border-radius: .5vw;
  padding: .8em 1em; outline: none; transition: border-color .3s, box-shadow .3s;
}
.fld input:focus, .fld select:focus, .fld textarea:focus {
  border-color: var(--c-green-deep); box-shadow: 0 0 0 3px rgba(109,194,78,.18);
}
.fld textarea { min-height: 8vw; resize: vertical; }
.form-card .submit {
  display: inline-flex; align-items: center; gap: .8em; cursor: pointer;
  background: var(--c-orange); color: #fff; border: 0; font-family: inherit;
  font-weight: 700; letter-spacing: .06em; font-size: 1.25vw;
  padding: 1em 2.6em; border-radius: 999px;
  box-shadow: 0 .5vw 1.6vw rgba(247,143,39,.3);
  transition: transform .35s ease, background .35s ease;
}
.form-card .submit::after { content: "→"; font-family: var(--font-en); }
.form-card .submit:hover { transform: translateY(-3px); background: var(--c-orange-deep); }
.form-note { font-size: 1vw; color: var(--c-muted); margin-top: 1vw; }
.form-done { display: none; text-align: center; padding: 3vw 0; }
.form-done .big { font-weight: 700; font-size: 1.7vw; margin-bottom: 1vw; }
.form-done .note { font-size: 1.1vw; color: var(--c-muted); line-height: 2; }
.form-card.is-done form { display: none; }
.form-card.is-done .form-done { display: block; }

/* =========================================================
   FOOTER
   ========================================================= */
footer { background: var(--c-ink); color: #fff; padding: 6vw 12.5vw; }
.footer-inner { display: flex; gap: 6vw; }
#footer-logo .logo-wordmark { font-family: var(--font-display); font-weight: 600; letter-spacing: .14em; font-size: 3.5vw; color: #fff; }
.footer-tagline { font-size: 1.05vw; line-height: 2; color: rgba(255,255,255,.6); margin-top: 1vw; }
.footer-gr-2 { flex: 1; }
#footer-nav { display: flex; gap: 5vw; margin-bottom: 3vw; }
.footer-nav__item { display: block; font-size: 1.5rem; line-height: 2.4; color: rgba(255,255,255,.85); transition: color .3s; }
.footer-nav__item:hover { color: var(--c-green); }
.copyright { font-size: 1.2rem; color: rgba(255,255,255,.5); letter-spacing: .05em; }

/* =========================================================
   追従CTA（画面右下）
   ========================================================= */
#float-cta {
  /* ドロワー（z9000）より下、コンテンツより上 */
  position: fixed; right: 1.2vw; bottom: 1.4vw; z-index: 8900;
  display: flex; flex-direction: column; align-items: flex-end; gap: .6vw;
  opacity: 0; translate: 0 16px; pointer-events: none;
  transition: opacity .5s ease, translate .5s ease;
}
#float-cta.is-shown { opacity: 1; translate: 0 0; pointer-events: auto; }
#float-cta.is-suppressed { opacity: 0; pointer-events: none; }
.float-btn {
  display: inline-flex; align-items: center; gap: .7em;
  border-radius: 999px; font-weight: 700; letter-spacing: .03em;
  font-size: 1vw; padding: .9em 1.8em; white-space: nowrap;
  box-shadow: 0 .6vw 1.8vw rgba(31,45,61,.22);
  transition: transform .3s ease;
}
.float-btn:hover { transform: translateY(-3px); }
.float-btn::after { content: "→"; font-family: var(--font-en); }
.float-btn.main { background: var(--c-orange); color: #fff; }
.float-btn.sub { background: #fff; color: var(--c-ink); border: 1px solid var(--c-wood-2); }

/* =========================================================
   レスポンシブ
   ========================================================= */
.m-sm { display: none; }

/* ===== ヘッダー: 1024px以下はバーガー＋全画面ドロワー ===== */
@media (max-width: 1024px) {
  #header { height: 60px; min-height: 60px; }
  #header-inner { padding-left: 4vw; }
  #header-logo .logo-text { font-size: 19px; }

  .burger-btn { display: flex; }
  #header-nav {
    position: fixed; top: 0; right: 0; width: 100%; height: 100%; margin-left: 0;
    display: block; background: var(--c-bg); opacity: 0; pointer-events: none; z-index: 9000;
    transition: all .6s ease .3s;
  }
  #header-nav.is-open { opacity: 1; pointer-events: auto; transition: all .6s ease .1s; }
  .header-nav__inner { width: 100%; height: 100%; justify-content: center; }
  .header-nav__corporate { flex-direction: column; align-items: flex-start; gap: min(4vw, 28px); padding: 0 10vw; }
  .header-nav__item {
    font-size: min(6vw, 34px);
    opacity: 0; translate: 0 20px; transition: all .5s ease-in-out .3s;
  }
  .header-nav__item::after { display: none; }
  #header-nav.is-open .header-nav__item { opacity: 1; translate: 0 0; }
  #header-nav.is-open .header-nav__item:nth-of-type(1){ transition-delay:.35s; }
  #header-nav.is-open .header-nav__item:nth-of-type(2){ transition-delay:.40s; }
  #header-nav.is-open .header-nav__item:nth-of-type(3){ transition-delay:.45s; }
  #header-nav.is-open .header-nav__item:nth-of-type(4){ transition-delay:.50s; }
  #header-nav.is-open .header-nav__item:nth-of-type(5){ transition-delay:.55s; }
  .header-nav__btn {
    flex-direction: column; width: 100%; gap: min(3vw, 20px); margin: min(5vw, 34px) 0 0;
    opacity: 0; translate: 0 20px; transition: all .5s .6s;
  }
  #header-nav.is-open .header-nav__btn { opacity: 1; translate: 0 0; }
  .header-nav__btn-item { font-size: min(4.2vw, 22px); padding: 1em 2.4em; }
}

/* ===== SP（768px以下）===== */
@media (max-width: 768px) {
  body { font-size: 3.6vw; }
  .m-sm { display: inline; }
  .l-container { width: 92vw; }
  .l-content { flex-direction: column; }
  .l-content__gr-1, .l-content__gr-2 { width: 100%; }

  #symbol, #symbol-wrapper { width: 96vw; height: 26vw; }
  .symbol-text { font-size: 19vw; }
  #pagetop.phase-3 #symbol { max-width: 96vw; }

  #kv { height: auto; padding-bottom: 14vw; }
  #kv-content { padding-top: 34vw; padding-left: 0; }
  #kv-eyebrow { font-size: 2.9vw; letter-spacing: .24em; margin-bottom: 3.5vw; }
  /* SPは幅を動かすと折返しが乱れるため clip-path でワイプ */
  #kv-copy { font-size: 5.8vw; letter-spacing: .04em; line-height: 1.65; margin-bottom: 3vw; white-space: normal; width: 100%; clip-path: inset(0 100% 0 0); }
  #kv-subcopy { font-size: 4.3vw; line-height: 1.7; white-space: normal; width: 100%; clip-path: inset(0 100% 0 0); margin-bottom: 4vw; }
  body.is-transit.phase-3 #kv-copy { clip-path: inset(0 0 0 0); transition: clip-path 1.5s ease-in-out 1.1s; }
  body.is-transit.phase-3 #kv-subcopy { clip-path: inset(0 0 0 0); transition: clip-path 1.5s ease-in-out 1.9s; }
  #kv-lead { font-size: 3.7vw; margin-bottom: 5vw; }
  #kv-badges { gap: 2vw; margin-bottom: 6vw; max-width: none; }
  #kv-badges li { font-size: 3.2vw; padding: .5em 1.1em; }
  #kv-cta { flex-direction: column; gap: 3vw; align-items: stretch; }
  .kv-btn { font-size: 3.9vw; justify-content: center; white-space: normal; text-align: center; text-wrap: balance; line-break: strict; }
  #kv-glow { height: 40vw; }

  .m-line-1.is-inview, .m-line-2.is-inview { width: 92vw; }

  .m-head-1 .ja { font-size: 8vw; margin-bottom: 3vw; }
  .m-head-1 .en { font-size: 3.6vw; padding: .4vw 2.6vw; border-radius: 2.6vw; }
  .sec-lead { font-size: 5.8vw; margin-bottom: 3.5vw; }
  .sec-sub { font-size: 4.4vw; margin-bottom: 6vw; }
  .sec-body { font-size: 3.8vw; }

  #problem { padding: 14vw 0 0; }
  .problem-list { flex-direction: column; gap: 4vw; margin-top: 8vw; }
  .problem-item { padding: 6vw; }
  .problem-item .icon { width: 9vw; height: 9vw; margin-bottom: 3vw; }
  .problem-item .ttl { font-size: 4.6vw; margin-bottom: 2vw; }
  .problem-item .body { font-size: 3.6vw; }
  .presenteeism { margin-top: 8vw; padding: 8vw 6vw; }
  .presenteeism .label { font-size: 3vw; margin-bottom: 2vw; }
  .presenteeism .ttl { font-size: 4.8vw; margin-bottom: 3vw; }
  .presenteeism .body { font-size: 3.6vw; }
  #problem-circle-1 { width: 40vw; height: 40vw; }

  /* 3つの円: SPでもPCと同じ横一列 */
  .service-info { height: 30vw; width: 92vw; margin: 8vw 0; }
  .service-info__item { width: 30vw; height: 30vw; }
  .service-info__item:nth-of-type(1) { left: 17%; top: 0; }
  .service-info__item:nth-of-type(2) { left: 50%; top: 0; }
  .service-info__item:nth-of-type(3) { left: 83%; top: 0; }
  .service-info__item .ja { font-size: 3.5vw; }
  .service-info__item .en { font-size: 2.4vw; }

  .service-detail { gap: 4vw; }
  .service-detail__item { padding: 6vw; }
  .service-detail__ttl { font-size: 4.6vw; margin-bottom: 2.4vw; }
  .service-detail__ttl .num { font-size: 6vw; }
  .service-detail__ttl .cat { font-size: 3.2vw; }
  .service-detail__body { font-size: 3.6vw; }

  .scene-list { gap: 5vw; margin-top: 8vw; }
  .scene-item { padding: 6vw 5vw; }
  .scene-item__head { margin-bottom: 4vw; }
  .scene-item__head .emoji { font-size: 7vw; }
  .scene-item__head .ttl { font-size: 4.9vw; }
  .scene-item__head .tagline { font-size: 3.4vw; }
  .scene-story .row { flex-direction: column; gap: 2vw; padding: 3.6vw 0; }
  .scene-story .row dt { width: 34vw; font-size: 3.1vw; margin-top: 0; }
  .scene-story .row dd { font-size: 3.6vw; }

  .flow-steps { margin-top: 6vw; }
  .flow-step { flex-direction: column; gap: 2.4vw; padding: 5.5vw 0; }
  .flow-step__gr-1 { flex-direction: row; align-items: center; width: auto; gap: 2vw; }
  .flow-label { font-size: 3.3vw; padding: 1vw 3vw; }
  .flow-actor { font-size: 3vw; }
  .flow-step__lead { font-size: 4.5vw; }
  .flow-step__lead .en { font-size: 2.9vw; }
  .flow-step__body { font-size: 3.6vw; }

  .trust-sub { font-size: 4.5vw; margin: 7vw 0 4vw; }
  .trust-cards { flex-direction: column; gap: 4vw; }
  .trust-card { padding: 6vw; }
  .trust-card .icon { width: 8vw; height: 8vw; margin-bottom: 2.6vw; }
  .trust-card .ttl { font-size: 4.4vw; margin-bottom: 2vw; }
  .trust-card .body { font-size: 3.6vw; }

  #faq { padding: 14vw 0; }
  .faq-list { gap: 3.5vw; }
  .faq-q { gap: 3vw; padding: 4.6vw 4.5vw; font-size: 3.9vw; }
  .faq-q .mark, .faq-a .mark { width: 7vw; height: 7vw; font-size: 3.6vw; }
  .faq-q .toggle { width: 3.6vw; height: 3.6vw; }
  .faq-a__inner { gap: 3vw; padding: 0 4.5vw; }
  .faq-item.is-open .faq-a__inner { padding-bottom: 5vw; }
  .faq-a p { font-size: 3.6vw; }

  #closing { padding: 14vw 4vw; }
  #closing .label { font-size: 3.2vw; }
  /* keep-all で「・」区切りの折返しに（相/談 のような語中分割を防ぐ） */
  #closing .head { font-size: 5.6vw; text-wrap: balance; word-break: keep-all; }
  #closing .copy { font-size: 17vw; }
  #closing .body { font-size: 3.7vw; max-width: none; margin-bottom: 6vw; }
  #closing .btns { flex-direction: column; gap: 3vw; align-items: stretch; }
  #closing .btn { font-size: 3.9vw; justify-content: center; text-align: center; text-wrap: balance; line-break: strict; }

  #contact { padding: 14vw 0 18vw; }
  .form-card { padding: 7vw 5.5vw; }
  .fld { margin-bottom: 5vw; }
  .fld label { font-size: 3.7vw; margin-bottom: 1.6vw; }
  .fld .req { font-size: 2.7vw; border-radius: 1vw; }
  .fld input, .fld select, .fld textarea { font-size: 4vw; border-radius: 2vw; }
  .fld textarea { min-height: 30vw; }
  .form-card .submit { width: 100%; justify-content: center; font-size: 4.2vw; }
  .form-note { font-size: 3vw; margin-top: 3vw; }
  .form-done .big { font-size: 4.8vw; margin-bottom: 3vw; }
  .form-done .note { font-size: 3.3vw; }

  footer { padding: 12vw 6vw 26vw; }
  .footer-inner { flex-direction: column; gap: 8vw; }
  #footer-logo .logo-wordmark { font-size: 12vw; }
  .footer-tagline { font-size: 3.3vw; }
  #footer-nav { gap: 10vw; }

  /* 追従CTA: SPは画面下部の固定バー */
  #float-cta {
    right: 0; bottom: 0; width: 100%;
    flex-direction: row; align-items: stretch; gap: 0;
    background: rgba(244,242,236,.94); backdrop-filter: blur(8px);
    box-shadow: 0 -2px 14px rgba(31,45,61,.12);
    padding: 2.4vw 2.4vw calc(2.4vw + env(safe-area-inset-bottom));
    translate: 0 100%;
  }
  #float-cta.is-shown { translate: 0 0; }
  .float-btn { flex: 1; font-size: 3vw; padding: 1em .5em; justify-content: center; white-space: normal; text-align: center; box-shadow: none; text-wrap: balance; line-break: strict; }
  .float-btn::after { content: none; }
  .float-btn.main { margin-right: 2vw; }
}
