/* =========================================================================
   中小企業(一般B2B)テンプレート スタイル(グラファイト×鋼青)
   配色の切り替えは下の :root 変数を差し替えるだけ(README「配色の切り替え」)。
   デザイン原則:
   - ポップさを避け、無彩色基調(グラファイト)＋鋼のような青の一色差しで
     「硬派・信頼・誠実」を出す。装飾は最小限、余白と整列で見せる
   - 明色アクセントを白背景に器(丸・帯)として置かない。濃色の上の小さな
     マーク・細い線としてのみ使う(hp-maker-core CLAUDE.md の鉄則を準用)
   - 見出しは Noto Sans JP(角ゴ=誠実・現代的)。本文は BIZ UDPGothic(UD書体)
   - 変数名は他テンプレートと共通(--sumi=濃色/--accent=アクセント)。
     意味は「業種の濃色/差し色」で、値だけが業種ごとに変わる
   ========================================================================= */

:root {
  /* --- 配色(中小企業:グラファイト×鋼青) ---
     業態で差し替える例:
       一般B2B・機器/設備  --accent: #2E6187(鋼青)  ← 既定
       製造・町工場        --accent: #B4531F(鉄錆の橙)/ --sumi: #26292E(鉄黒)
       建設・工務店        --accent: #1F6E4A(深緑)  / --sumi: #2A2621(土)
       士業・コンサル      --accent: #2E6187(鋼青)  / --sumi: #1E2A3A(濃紺寄り)
  */
  --sumi: #232B36;          /* グラファイト:無彩寄りの濃色。濃色セクション・見出し */
  --sumi-2: #333E4C;        /* グラファイトの明るめ(グラデ・ホバー) */
  --accent: #2E6187;        /* 鋼青:ボタン・アクセント。白文字が載る濃さを保つこと */
  --accent-soft: #8FB6D6;   /* 鋼青の明るめ:濃色背景の上の文字・マーク専用 */

  --paper: #F5F7F9;         /* 冷たい白(ページ地) */
  --paper-2: #E9EDF1;       /* 淡い青灰(セクション地) */
  --ink: #232B36;
  --ink-muted: #5D6B79;
  --line: #D7DEE5;

  /* --- タイポ --- */
  --font-head: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-body: "BIZ UDPGothic", "Yu Gothic", "Noto Sans JP", sans-serif;

  --wrap: 1080px;
  --radius: 10px;
  --shadow: 0 12px 32px rgba(35, 43, 54, 0.12);
  --shadow-sm: 0 3px 12px rgba(35, 43, 54, 0.09);
}

/* --------------------------------------------------------------- base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt" 1;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.5; margin: 0; letter-spacing: .02em; }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
/* アンカー着地時にstickyヘッダーで見出しが隠れないように */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; scroll-margin-top: 68px; }
.section--tint { background: var(--paper-2); }
.section--dark { background: var(--sumi); color: #fff; }

/* 画像プレースホルダ(顧客写真に差し替える枠) */
.ph {
  position: relative;
  background:
    linear-gradient(135deg, rgba(35,43,54,.05), rgba(35,43,54,.02)),
    repeating-linear-gradient(45deg, #E6EBF0 0 12px, #DEE4EB 12px 24px);
  display: grid; place-items: center;
  color: var(--ink-muted);
  font-size: .8rem; letter-spacing: .08em;
  border-radius: var(--radius);
}
.ph::after { content: attr(data-label); }

/* --------------------------------------------------------- demo banner */
.demobar {
  background: var(--sumi);
  color: rgba(255,255,255,.85);
  font-size: .78rem;
  text-align: center;
  padding: .4rem 1rem;
  letter-spacing: .02em;
}
.demobar b { color: var(--accent-soft); font-weight: 700; }

/* -------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245,247,249,.94);
  backdrop-filter: saturate(1.1) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 68px; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
/* ロゴ=濃色の角丸 × 明色のマーク(鉄則の基本形。企業らしく角を少し立てる) */
.brand__mark {
  width: 38px; height: 38px; border-radius: 7px;
  background: var(--sumi);
  display: grid; place-items: center; flex: none;
}
.brand__mark span {
  width: 12px; height: 12px; border-radius: 3px;
  background: var(--accent-soft);
}
.brand__name { font-family: var(--font-head); font-weight: 700; color: var(--sumi); font-size: 1.14rem; line-height: 1.4; letter-spacing: .04em; }
.brand__name small { display: block; font-size: .54rem; letter-spacing: .2em; color: var(--ink-muted); font-weight: 500; font-family: var(--font-body); }

.nav { display: flex; align-items: center; gap: 1.7rem; }
.nav a { text-decoration: none; }
.nav a:not(.btn) {
  color: var(--sumi); font-family: var(--font-head); font-weight: 600; font-size: .93rem;
  letter-spacing: .05em; line-height: 1.5; position: relative; padding: .2rem 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--accent); transition: width .2s ease;
}
.nav a:not(.btn):hover::after { width: 100%; }

.nav-toggle { display: none; background: none; border: 0; padding: .4rem; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--sumi); margin: 5px 0; transition: .25s; }

/* ヘッダー右クラスタ(ナビ＋言語切替＋ハンバーガー) */
.header-right { display: flex; align-items: center; gap: 1.1rem; }

/* 言語切替(日英)。濃色ピルでアクティブ言語を示す */
.lang-switch {
  display: inline-flex; flex: none; border: 1px solid var(--line); border-radius: 6px;
  overflow: hidden; font-family: var(--font-head); font-weight: 700; font-size: .76rem;
}
.lang-switch a, .lang-switch span {
  padding: .32rem .62rem; text-decoration: none; letter-spacing: .06em; line-height: 1.5;
  color: var(--ink-muted); transition: background .2s ease, color .2s ease;
}
.lang-switch .is-active { background: var(--sumi); color: #fff; }        /* 現在の言語 */
.lang-switch a:hover { background: var(--paper-2); color: var(--sumi); }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 700; line-height: 1.5; letter-spacing: .05em;
  padding: .8rem 1.7rem; border-radius: 7px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; font-size: 1rem;
  transition: box-shadow .2s ease, background .2s ease, border-color .2s ease, filter .2s ease;
}
.btn:active { transform: translateY(1px); }
/* 白背景で使う主ボタン=グラファイト塗り+白文字 */
.btn--primary { background: var(--sumi); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--sumi-2); }
/* 鋼青ボタン=白文字が載る濃さの青なので白背景でも濃色背景でも使える */
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { filter: brightness(1.08); }
/* 濃色背景の上の従ボタン=白枠 */
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost:hover { border-color: #fff; }
.btn--sm { padding: .5rem 1.15rem; font-size: .88rem; }

/* ----------------------------------------------------------------- hero */
.hero {
  position: relative; color: #fff;
  background:
    radial-gradient(1100px 480px at 82% -8%, var(--sumi-2), transparent 60%),
    linear-gradient(165deg, var(--sumi) 46%, #171C24 100%);
  overflow: hidden;
}
/* 細い罫のテクスチャで「図面・整った」印象(硬派) */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.028) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.022) 0 1px, transparent 1px 46px);
  mask-image: linear-gradient(120deg, transparent 40%, #000 100%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.6rem;
  align-items: center; padding: clamp(3rem, 7vw, 5.5rem) 0;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--font-head); font-weight: 600; font-size: .85rem; letter-spacing: .2em;
  color: rgba(255,255,255,.85); line-height: 1.5;
}
.hero__eyebrow .dot { width: 7px; height: 7px; border-radius: 2px; background: var(--accent-soft); }
.hero h1 {
  font-size: clamp(1.9rem, 5vw, 3.05rem); margin: 1.2rem 0 .6rem; line-height: 1.5;
  font-weight: 900; letter-spacing: .03em;
}
.hero h1 .accent { color: var(--accent-soft); }
.hero__lead { font-size: 1.02rem; color: rgba(255,255,255,.82); max-width: 34ch; }
.hero__cta { display: flex; gap: .8rem; margin-top: 1.9rem; flex-wrap: wrap; }
.hero__photo { aspect-ratio: 4/3; box-shadow: 0 30px 60px rgba(0,0,0,.4); }
img.hero__photo { width: 100%; height: auto; object-fit: cover; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.12); }
.hero__facts {
  display: flex; gap: 1.5rem; margin-top: 2.2rem; flex-wrap: wrap;
  font-size: .9rem; color: rgba(255,255,255,.75);
}
.hero__facts b { color: #fff; font-family: var(--font-head); font-weight: 700; margin-right: .35em; }

/* ---- ヒーローのパターン切替(正典は ../../hero-patterns/README.md) ----
   .hero.hero--flat(既定) … 左コピー＋右写真カード(企業サイトの王道・写真が弱くても成立)
   .hero.hero--photo       … 全面写真(img/hero.jpg・オフィス/現場)＋スクリム、コピー1カラム
   必須装備:スクリムで可読性確保、背景写真は width/height 指定と軽量化でLCP対策。 */
.hero__scrim { display: none; }
.hero--photo::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: url(../img/hero.jpg) center 35% / cover;
}
.hero--photo .hero__scrim {
  display: block; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(95deg, rgba(20,25,32,.92) 0%, rgba(20,25,32,.55) 48%, rgba(20,25,32,.14) 100%);
}
.hero--photo .hero__grid { grid-template-columns: 1fr; padding: clamp(4.5rem, 15vh, 8rem) 0; }
.hero--photo .hero__photo { display: none; }
.hero--photo .hero__copy { max-width: 37rem; }
.hero--photo .hero__lead { text-shadow: 0 1px 12px rgba(0,0,0,.35); }

/* ---------------------------------------------------------- section head */
.head { text-align: center; margin-bottom: 2.8rem; }
.head .eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  color: var(--accent);
  font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .24em;
  line-height: 1.5;
}
.head .eyebrow .dot { width: 6px; height: 6px; border-radius: 2px; background: var(--accent); }
.section--dark .head .eyebrow { color: var(--accent-soft); }
.section--dark .head .eyebrow .dot { background: var(--accent-soft); }
.head h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-top: .9rem; color: var(--sumi); line-height: 1.5; font-weight: 800; }
/* 見出し下の短いアクセント線 */
.head h2::after {
  content: ""; display: block; width: 44px; height: 3px; border-radius: 2px;
  background: var(--accent); margin: 1.1rem auto 0;
}
.section--dark .head h2 { color: #fff; }
.section--dark .head h2::after { background: var(--accent-soft); }
.head p { color: var(--ink-muted); margin: 1rem 0 0; }
.section--dark .head p { color: rgba(255,255,255,.72); }

/* --------------------------------------------------------------- feature */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.feature + .feature { margin-top: 3.2rem; }
.feature--rev .feature__media { order: 2; }
.feature__media .ph { aspect-ratio: 5/4; }
.feature__img { width: 100%; height: auto; aspect-ratio: 5/4; object-fit: cover; display: block; border-radius: var(--radius); }
.feature__kicker {
  font-family: var(--font-head); font-weight: 700; color: var(--accent); font-size: .92rem;
  letter-spacing: .16em; line-height: 1.6;
}
.feature h3 { font-size: clamp(1.35rem, 3.4vw, 1.8rem); color: var(--sumi); margin: .5rem 0 .9rem; line-height: 1.5; font-weight: 800; }
.feature p { color: var(--ink-muted); }

/* -------------------------------------------------------- service cards */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.svc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
/* カード上部=濃色帯(サービス番号)。鉄則:明色はこの濃色帯の上の文字にのみ使う */
.svc__head { background: var(--sumi); color: #fff; padding: 1rem 1.3rem; }
.svc__label { font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .16em; color: var(--accent-soft); }
.svc__name { font-family: var(--font-head); font-weight: 800; font-size: 1.22rem; line-height: 1.5; margin-top: .15rem; }
.svc__body { padding: 1.2rem 1.3rem 1.45rem; display: flex; flex-direction: column; flex: 1; }
.svc__desc { color: var(--ink-muted); font-size: .92rem; margin: 0 0 1rem; }
.svc__points { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.svc__points li { padding-left: 1.5em; position: relative; font-size: .9rem; color: var(--ink); line-height: 1.7; }
/* チェック風マーク(鋼青の細線。器にしない) */
.svc__points li::before {
  content: ""; position: absolute; left: .1em; top: .5em;
  width: .5em; height: .28em; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.svc-note { text-align: center; color: var(--ink-muted); font-size: .85rem; margin-top: 1.8rem; }

/* --------------------------------------------------------------- stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1rem; text-align: center;
  border-top: 3px solid var(--accent);
}
.stat b {
  display: block; font-family: var(--font-head); font-weight: 900; color: var(--sumi);
  font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.1; letter-spacing: .01em;
}
.stat b span { font-size: .42em; font-weight: 800; margin-left: .15em; color: var(--ink-muted); }
.stat__label { display: block; margin-top: .5rem; color: var(--ink-muted); font-size: .84rem; line-height: 1.6; }

/* 取引先業種などのタグ列(結果・実績の軽い見せ方) */
.taglist-lead { text-align: center; color: var(--ink-muted); font-size: .9rem; margin: 2.4rem 0 1rem; }
.taglist { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem .7rem; margin: 0; padding: 0; list-style: none; }
.taglist li {
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  padding: .45rem 1.05rem; font-family: var(--font-head); font-weight: 700;
  color: var(--sumi); font-size: .92rem; line-height: 1.5;
}

/* ------------------------------------------------------------------ news */
.news-cta { text-align: center; max-width: 620px; margin-inline: auto; }
.news-cta p { color: rgba(255,255,255,.82); margin: .6rem 0 1.7rem; }
.news-list { list-style: none; padding: 0; margin: 0 auto 1.8rem; max-width: 560px; text-align: left; border-top: 1px solid rgba(255,255,255,.14); }
.news-list[hidden] { display: none; }
.news-list li { display: flex; gap: 1.1rem; align-items: baseline; padding: .85rem .2rem; border-bottom: 1px solid rgba(255,255,255,.14); }
.news-list .d { font-family: var(--font-head); color: var(--accent-soft); font-size: .85rem; letter-spacing: .06em; flex: none; line-height: 1.6; }
.news-list .t { color: rgba(255,255,255,.92); text-decoration: none; font-size: .95rem; line-height: 1.6; min-width: 0; }
.news-list .t:hover { color: #fff; text-decoration: underline; }

/* ------------------------------------------------------------------ info */
.info-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: start; }
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { text-align: left; padding: .9rem .2rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.info-table th { width: 8em; color: var(--sumi); font-family: var(--font-head); font-weight: 700; font-size: .95rem; line-height: 1.6; }
.info-table td { color: var(--ink-muted); }
.info-tel { color: var(--sumi); font-weight: 700; }
.info-map { aspect-ratio: 4/3; }
.info-map iframe { width: 100%; height: 100%; border: 0; border-radius: var(--radius); display: block; }

/* ------------------------------------------------------------------ form */
.form-wrap { max-width: 640px; margin-inline: auto; }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-weight: 700; color: var(--sumi); margin-bottom: .35rem; font-size: .95rem; }
.field .req { color: var(--accent); font-size: .78em; margin-left: .4rem; font-weight: 700; }
.field .opt { color: var(--ink-muted); font-size: .78em; margin-left: .4rem; font-weight: 500; }
.field input, .field textarea {
  width: 100%; padding: .8rem .9rem; border: 1px solid var(--line); border-radius: 7px;
  font: inherit; color: var(--ink); background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(46,97,135,.14);
}
.field textarea { min-height: 140px; resize: vertical; }
.field small.hint { color: var(--ink-muted); font-size: .8rem; }
/* ハニーポット:視覚・スクリーンリーダーから隠す(ボット除け。空のまま送られる) */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { text-align: center; margin-top: 1.7rem; }
.form-status { margin-top: 1.2rem; padding: .9rem 1rem; border-radius: 7px; font-size: .92rem; display: none; }
.form-status.is-ok { display: block; background: #EAF3EB; color: #2F6B3C; border: 1px solid #C6DECA; }
.form-status.is-err { display: block; background: #FAEDE7; color: #A04226; border: 1px solid #EDCFC0; }
.form-status ul { margin: .4rem 0 0; padding-left: 1.1rem; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: #171C24; color: rgba(255,255,255,.72); padding: 3rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer .brand__name { color: #fff; }
.site-footer h4 { font-family: var(--font-head); font-weight: 700; letter-spacing: .1em; color: #fff; font-size: .95rem; line-height: 1.6; margin: 0 0 .8rem; }
.site-footer a { color: rgba(255,255,255,.72); text-decoration: none; }
.site-footer a:hover { color: var(--accent-soft); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; font-size: .9rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1.3rem; font-size: .78rem; color: rgba(255,255,255,.5); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__photo { order: -1; aspect-ratio: 16/10; }
  .svc-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .feature, .info-grid, .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .feature--rev .feature__media { order: 0; }

  .nav {
    position: fixed; inset: 68px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: .5rem 1.25rem 1.25rem;
    transform: translateY(-140%); transition: transform .28s ease; box-shadow: var(--shadow);
  }
  .nav.is-open { transform: translateY(0); }
  .nav a:not(.btn) { padding: .85rem .2rem; border-bottom: 1px solid var(--line); }
  .nav a.btn { margin-top: .9rem; }
  .nav-toggle { display: block; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 520px) {
  .hero__cta .btn { flex: 1 1 auto; }
  .stats { grid-template-columns: 1fr 1fr; }
}

/* ------------------------------------------- FAQ(AIO対策セクション) */
.faq-list { max-width: 760px; margin-inline: auto; display: grid; gap: .8rem; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; gap: .8rem; align-items: baseline;
  padding: 1.05rem 1.15rem; font-weight: 700; color: var(--sumi);
  font-family: var(--font-head); line-height: 1.6;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "Q"; color: var(--accent); font-family: var(--font-head); font-weight: 700; flex: none; }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-item .faq-a { padding: .95rem 1.15rem 1.1rem; color: var(--ink-muted); display: flex; gap: .8rem; line-height: 1.9; }
.faq-item .faq-a::before { content: "A"; color: var(--sumi); font-family: var(--font-head); font-weight: 700; flex: none; }
.faq-item .faq-a p { margin: 0; }

/* ---------------------------- リクエスト予約の注意書き(削除しない) */
.form-note {
  margin: 0 0 1.4rem; background: #fff; border: 1px solid var(--line);
  border-left: 3px solid var(--accent); border-radius: 6px;
  padding: .85rem 1rem; font-size: .88rem; color: var(--ink-muted); line-height: 1.8;
}
.form-note b { color: var(--sumi); }
.form-note a { color: var(--sumi); font-weight: 700; }

/* ------------------------- フローティングCTA(スマホのみ・下部固定) */
.float-cta { display: none; }
@media (max-width: 860px) {
  body { padding-bottom: 76px; } /* CTAバーの高さぶん、フッターが隠れないように */
  .float-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr 1fr; gap: .6rem;
    padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
    border-top: 1px solid var(--line);
  }
  .float-cta .btn { padding: .75rem .4rem; font-size: .93rem; white-space: nowrap; }
}

/* アニメーション抑制の希望を尊重 */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; transition: none !important; }
}
