/* ============================================================
   snekke-kit 共通CSS
   ------------------------------------------------------------
   ★規律：ブランド色の直値をここに書かない。色は必ず var() を参照する
     （トークンは parts/theme.php が site.php の3色から生成する）。
     白の透過rgba等、ブランドと無関係な値だけ直値でよい。
   ★アニメは opacity / transform に限定（レイアウトを動かさない＝CLSゼロ）。
     prefers-reduced-motion: reduce で全停止する。
   ============================================================ */

/* ── フォント（欧文のみself-host。和文はシステムスタック＝theme.php） ── */
@font-face {
  font-family: 'BrandEn';
  src: url('/assets/fonts/brand-var.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

/* ── リセット・ベース ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-jp);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  font-size: 16px;
  line-break: strict;                 /* 日本語の禁則処理（実測で効かせる） */
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
.en { font-family: var(--font-en); letter-spacing: .04em; }
.pc-br { display: none; }
@media (min-width: 768px) { .pc-br { display: inline; } }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

/* ── スクロール出現（[data-rev]）──────────────────────────── */
/* JS無効時は最初から見える。html.js が付いた時だけ隠す（header.phpの前提クラス） */
html.js [data-rev] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22,.65,.3,1);
  transition-delay: var(--d, 0s);
}
html.js [data-rev].on,
html.js.rev-safe [data-rev] { opacity: 1; transform: none; }

/* ── ボタン・テキストリンク ────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--band); color: var(--on-band);
  font-weight: 700; font-size: 15px; letter-spacing: .06em;
  padding: 16px 34px; border: 1px solid var(--band);
  border-radius: var(--r-btn); cursor: pointer;
  transition: background .25s ease, color .25s ease;
}
.btn svg { width: 24px; height: 8px; transition: transform .25s ease; }
.btn:hover { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.btn:hover svg { transform: translateX(5px); }

.tlink {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--brand); font-weight: 700; font-size: 14px;
}
.tlink svg { width: 22px; height: 7px; transition: transform .25s ease; }
.tlink:hover svg { transform: translateX(4px); }
.tlink__dn { transition: transform .25s ease; }
.tlink:hover .tlink__dn { transform: translateY(3px); }

/* ── セクション共通 ─────────────────────────────────────────
   ★余白は全セクションで同じclampスケールに乗せる（画面幅に応じて一緒に伸縮させ、
     セクション間で高さのバランスが崩れないようにする）。個別のpxは書かない。 */
.sec { padding-block: var(--pad-sec); background: var(--bg); }
.sec--tint { background: var(--tint-1); }
:root { --pad-sec: clamp(58px, 7vw, 100px); }

/* 英字ラベル＋日本語見出しの組（カンプの共通パターン） */
.lbl {
  color: var(--brand); font-family: var(--font-en);
  font-weight: 700; font-size: 13px; letter-spacing: .14em;
  margin-bottom: 10px;
}
.lbl--line { display: inline-flex; align-items: center; gap: 12px; }
.lbl--line::after {
  /* ★色はラベル自身に追従させる（currentColor）。--brand 固定だと
     .msg（濃紺グラデ）や .lbl--onband の帯で線が背景に沈む。
     .fv__lbl::before と同じ作法に揃えた（2026-08-18 ダッチ） */
  content: ''; width: 34px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left center; transition: transform .6s ease .3s;
}
html.js [data-rev].on .lbl--line::after,
html:not(.js) .lbl--line::after,
html.rev-safe .lbl--line::after { transform: scaleX(1); }
.lbl--onband { color: var(--brand-l); }
.sec__h { font-size: clamp(24px, 3.2vw, 32px); font-weight: 700; letter-spacing: .04em; line-height: 1.5; }
/* セクション見出し行（左=ラベル+見出し／右=補足の一文） */
.sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.sec__note { font-size: 14px; color: var(--muted); }
/* ★見出しの直後に本文が続くときは必ず間を空ける（塊として分ける）。
   個別クラスごとに margin を書くとバラつくので、隣接セレクタで一括して効かせる */
.sec__h + p, .sec__h + div > p:first-child { margin-top: clamp(16px, 1.8vw, 24px); }

/* 濃紺帯 */
.band { background: var(--band-grad); color: var(--on-band); padding-block: calc(var(--pad-sec) * .88); }

/* ============================================================
   ヘッダー（白ソリッド・非オーバーレイ＝雛形0号の確定方針）
   ============================================================ */
.hd {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg); border-bottom: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease;
}
.hd.stuck { box-shadow: 0 2px 16px var(--sh-1); }
.hd--hide { transform: translateY(-100%); }
.hd__in {
  max-width: var(--wrap); margin-inline: auto; padding-inline: 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo--text {
  font-family: var(--font-en); font-weight: 800; font-size: 21px;
  letter-spacing: .02em; color: var(--ink);
}
.logo--light { color: #fff; }
.hd__r { display: flex; align-items: center; gap: 28px; }
.hd__nav { display: flex; gap: 28px; }
.hd__nav a {
  position: relative; font-size: 14px; font-weight: 600; letter-spacing: .05em;
  padding-block: 6px;
}
.hd__nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--brand);
  transform: scaleX(0); transform-origin: center; transition: transform .25s ease;
}
.hd__nav a:hover::after, .hd__nav a[aria-current="page"]::after { transform: scaleX(1); }
.hd__cta {
  background: var(--band); color: var(--on-band);
  font-size: 13px; font-weight: 700; letter-spacing: .06em;
  padding: 11px 22px; border-radius: var(--r-btn);
  transition: background .25s ease, color .25s ease;
}
.hd__cta:hover { background: var(--brand); color: var(--on-brand); }

/* バーガー（〜1024pxで表示） */
.burger { display: none; }
@media (max-width: 1024px) {
  .hd__nav, .hd__cta { display: none; }
  .burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px;
    background: none; border: 0; cursor: pointer;
  }
  .burger i { display: block; height: 2px; background: var(--ink); transition: transform .3s ease, opacity .3s ease; }
  body.nav-open .burger i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .burger i:nth-child(2) { opacity: 0; }
  body.nav-open .burger i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ドロワー */
.drawer {
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
  overflow-y: auto; padding-top: 100px;
}
.drawer.on { opacity: 1; visibility: visible; transform: none; }
.drawer__in { padding: 0 32px 48px; }
.drawer__nav { display: flex; flex-direction: column; }
.drawer__nav a {
  padding: 18px 4px; font-size: 17px; font-weight: 700;
  border-bottom: 1px solid var(--line);
}
.drawer__cta { margin-top: 32px; }
@media (prefers-reduced-motion: reduce) {
  .drawer { transition: none; }
}

/* ============================================================
   FV（写真＋キャッチ。ヘッダーの下に置く）
   ============================================================ */
.fv { position: relative; overflow: hidden; }
.fv__media { position: relative; height: min(78vh, 700px); overflow: hidden; }
.fv__img { width: 100%; height: 100%; object-fit: cover; }
/* 濃紺のベール（左ほど濃い）。文字の可読性を作る。色はトークン参照 */
.fv__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(95deg, var(--veil-1) 0%, var(--veil-2) 46%, var(--veil-3) 100%);
}
.fv__copy {
  position: absolute; left: 0; right: 0;
  top: 50%; transform: translateY(-50%);
  max-width: var(--wrap); margin-inline: auto; padding-inline: 32px;
  color: #fff;
}
.fv__lbl {
  display: flex; align-items: center; gap: 16px;
  color: var(--brand-l); font-weight: 600; font-size: clamp(12px, 1.2vw, 14px);
  letter-spacing: .18em; margin-bottom: 22px;
}
.fv__lbl::before { content: ''; width: 42px; height: 1px; background: currentColor; flex-shrink: 0; }
.fv__catch {
  font-size: clamp(34px, 5.2vw, 58px); font-weight: 800;
  line-height: 1.45; letter-spacing: .05em;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
/* ★行はSPでは縦に積み（意味の区切りで折れる）、PC（768px〜）では横に連結して1行にする。
   inline-block のままなので overflow:hidden が効き、行スライドの登場アニメも保たれる */
.fv__line { display: block; overflow: hidden; }
.fv__line > span { display: inline-block; }
@media (min-width: 768px) { .fv__line { display: inline-block; vertical-align: top; } }
.fv__sub {
  margin-top: 18px; font-size: clamp(14px, 1.6vw, 17px); font-weight: 600;
  letter-spacing: .08em; text-shadow: 0 1px 12px rgba(0,0,0,.45);
}
.fv__btn {
  display: inline-flex; align-items: center; gap: 34px;
  margin-top: 38px;
  background: var(--surface-inv); color: var(--on-surface-inv);
  font-size: 15px; font-weight: 700; letter-spacing: .06em;
  padding: 18px 34px; border-radius: var(--r-btn);
  transition: background .25s ease, color .25s ease;
}
.fv__btn svg { width: 26px; height: 8px; transition: transform .25s ease; }
.fv__btn:hover { background: var(--brand); color: var(--on-brand); }
.fv__btn:hover svg { transform: translateX(5px); }

/* FV登場（ページロード時。行単位のスライドアップ＝catch_linesと連動） */
html.js .fv__img { transform: scale(1.06); animation: fv-zoom 7s cubic-bezier(.2,.6,.3,1) forwards; }
html.js .fv__line > span {
  transform: translateY(110%);
  animation: fv-line .9s cubic-bezier(.22,.65,.3,1) forwards;
  animation-delay: calc(.15s + var(--i, 0) * .12s);
}
html.js .fv__lbl { opacity: 0; animation: fv-fade .7s ease forwards .05s; }
html.js .fv__sub { opacity: 0; animation: fv-fade .8s ease forwards .7s; }
html.js .fv__btn { opacity: 0; transform: translateY(14px); animation: fv-rise .7s cubic-bezier(.22,.65,.3,1) forwards .9s; }
@keyframes fv-zoom { to { transform: scale(1); } }
@keyframes fv-line { to { transform: translateY(0); } }
@keyframes fv-fade { to { opacity: 1; } }
@keyframes fv-rise { to { opacity: 1; transform: none; } }

/* ============================================================
   TOP
   ============================================================ */
/* 導入（左=ラベル+見出し／右=本文+リンクの2カラム）。固定背景を見せるため縦を厚めに取る */
.intro { padding-block: calc(var(--pad-sec) * 1.5); }
/* 固定背景：写真をスクロールに対して固定し、白ベールで伏せて本文の可読性を保つ。
   ★文字色は変えない（前後に暗いセクションが続くため、ここは明るいまま保つ）
   ★iOS Safari は background-attachment:fixed を無視する＝単に固定されないだけで崩れない。
     モバイルは描画負荷も高いので 1024px 以下では scroll に落とす（下のメディアクエリ） */
.intro--bg { position: relative; background-image: var(--intro-bg); background-size: cover;
  background-position: center; background-attachment: fixed; }
.intro--bg::before { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,.78); }
.intro--bg > .wrap { position: relative; }
.intro__in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
/* ★サイズは「各行が折り返さない上限」で決める（2カラムに切り替わる1025px前後が最も窮屈）。
   変更したら必ず 1025 / 1100 / 1280 / 1440 / 390px で行数を実測すること */
.intro__h { font-size: clamp(23px, 3.8vw, 46px); font-weight: 800; line-height: 1.5; letter-spacing: .03em; }
.intro__r { padding-top: 30px; }
.intro__body { margin-bottom: 26px; }
.intro__body p { color: var(--muted); font-size: 15.5px; }

/* 事業カード（上に写真／番号は白ボックスで写真に食い込ませる） */
.svc__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 30px); margin-top: clamp(28px, 3.4vw, 44px); }
/* ★事業が4つの案件だけ横4列にする。3つ以下は既定の3列のまま＝他案件・雛形に影響しない */
.svc__cards--4 { grid-template-columns: repeat(4, 1fr); }
.svc__card {
  display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--line-soft, var(--line));
  box-shadow: 0 3px 18px var(--sh-1);
  transition: transform .3s ease, box-shadow .3s ease;
}
.svc__card:hover { transform: translateY(-5px); box-shadow: 0 14px 34px var(--sh-2); }
.svc__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svc__card:hover .svc__media img { transform: scale(1.04); }
/* 番号：写真の左下に白ボックスで重ねる */
.svc__no {
  position: absolute; left: 0; bottom: 0;
  background: var(--bg); color: var(--brand);
  font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; line-height: 1;
  padding: 13px 20px 11px;
}
.svc__body { display: flex; flex-direction: column; flex-grow: 1; padding: clamp(20px, 2.2vw, 28px); }
.svc__name { font-size: clamp(15.5px, 1.5vw, 17.5px); font-weight: 700; letter-spacing: .04em; }
/* 事業名の下の短い青線 */
.svc__name::after { content: ''; display: block; width: 30px; height: 2px; background: var(--brand); margin-top: 14px; }
.svc__desc {
  font-size: 14px; line-height: 1.9; color: var(--muted); flex-grow: 1;
  margin-top: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.svc__body .tlink { margin-top: 16px; }

/* 会社概要（左=写真／右=濃紺パネル。全幅・wrapの外） */
.abt { display: grid; grid-template-columns: 1fr 1fr; background: var(--band-grad); color: var(--on-band); }
.abt__media { position: relative; min-height: clamp(420px, 46vw, 620px); overflow: hidden; }
.abt__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.abt__panel { display: flex; align-items: center; padding: clamp(46px, 6vw, 92px) clamp(26px, 5vw, 78px); }
.abt__in { max-width: 560px; }
.abt__sub { font-size: clamp(17px, 1.7vw, 21px); font-weight: 700; letter-spacing: .06em; margin-bottom: clamp(20px, 2.6vw, 34px); }
.abt__h { font-size: clamp(25px, 3.2vw, 40px); font-weight: 800; letter-spacing: .04em; line-height: 1.55; margin-bottom: clamp(18px, 2.2vw, 28px); }
.abt__body p { font-size: 15px; opacity: .88; }
.abt__body p + p { margin-top: 15px; }
.abt__in .btn { margin-top: clamp(26px, 3.4vw, 42px); }
/* 濃紺の上に置くアウトラインボタン */
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: var(--surface-inv); color: var(--on-surface-inv); border-color: var(--surface-inv); }

/* お知らせ */
.news__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 26px; }
.news__list li { border-bottom: 1px solid var(--line); }
.news__list li:first-child { border-top: 1px solid var(--line); }
.news__list a {
  display: flex; align-items: baseline; gap: 28px;
  padding: 20px 8px; transition: background .25s ease;
}
.news__list a:hover { background: var(--tint-1); }
.news__list time { font-family: var(--font-en); font-weight: 600; font-size: 14px; color: var(--muted); flex-shrink: 0; }
.news__list span { font-size: 15px; font-weight: 500; }

/* ============================================================
   下層共通：タイトル帯・パンくず
   ============================================================ */
/* タイトル帯：既定は濃紺グラデ＋白文字（背景画像がある場合は .ph--bg が写真＋ベールで上書き） */
.ph {
  background: var(--band-grad); color: var(--on-band);
  padding-block: calc(var(--pad-sec) * 1.05) calc(var(--pad-sec) * .95);
}
.ph .lbl { color: var(--brand-l); }
.ph .ph__h::after { background: var(--brand-l); }
.ph .ph__bc, .ph .ph__bc a { color: rgba(255,255,255,.72); }
.ph .ph__bc a:hover { color: #fff; }
/* 背景画像を敷くタイトル帯（高さは帯のまま。濃紺ベールを重ねて白文字にする） */
.ph--bg {
  position: relative; color: #fff;
  background-image: var(--ph-bg); background-size: cover; background-position: center;
}
.ph--bg::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(92deg, var(--veil-1) 0%, var(--veil-2) 55%, var(--veil-3) 100%);
}
.ph--bg > .wrap { position: relative; }
.ph--bg .lbl { color: var(--brand-l); }
.ph--bg .ph__bc, .ph--bg .ph__bc a { color: rgba(255,255,255,.72); }
.ph--bg .ph__bc a:hover { color: #fff; }
.ph__in { position: relative; }
.ph__h { font-size: clamp(28px, 3.6vw, 38px); font-weight: 800; letter-spacing: .06em; line-height: 1.4; }
.ph__h::after { content: ''; display: block; width: 34px; height: 3px; background: var(--brand); margin-top: 18px; }
.ph__bc { position: absolute; right: 0; bottom: 4px; font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.ph__bc a { color: var(--muted); }
.ph__bc a:hover { color: var(--brand); }
@media (max-width: 767px) { .ph__bc { position: static; margin-top: 14px; } }

/* ============================================================
   サービス
   ============================================================ */
.sintro__in { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.sintro__body { margin-top: 22px; }
.sintro__body p { color: var(--muted); font-size: 15px; }
.sintro__body p + p { margin-top: 14px; }

/* 構想→実行→定着の図 */
.sintro__dia { display: flex; align-items: center; justify-content: center; gap: 18px; }
.sintro__circle {
  display: grid; place-items: center;
  width: 108px; height: 108px; border-radius: 50%;
  border: 2px solid var(--ink);
  font-size: 17px; font-weight: 700; letter-spacing: .1em;
  background: var(--bg);
}
.sintro__circle:last-of-type { border-color: var(--brand); color: var(--brand); }
.sintro__arr { color: var(--ink); }
.sintro__arr svg { width: 30px; height: 10px; }
.sintro__cap { text-align: center; margin-top: 22px; font-size: 14px; font-weight: 700; letter-spacing: .04em; }
/* 図の順次出現（親の .on を起点に円→矢印の順で立ち上がる） */
html.js [data-rev] .sintro__circle,
html.js [data-rev] .sintro__arr {
  opacity: 0; transform: scale(.85);
  transition: opacity .5s ease, transform .5s cubic-bezier(.22,.65,.3,1);
  transition-delay: calc(.15s + var(--i, 0) * .18s);
}
html.js [data-rev].on .sintro__circle,
html.js [data-rev].on .sintro__arr,
html.js.rev-safe [data-rev] .sintro__circle,
html.js.rev-safe [data-rev] .sintro__arr { opacity: 1; transform: none; }

/* 支援領域カード＝TOPのサービスカード（.svc__*）と共通の意匠を使う */

/* 事業詳細（交互） */
.sdetail__in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.sdetail--rev .sdetail__in { grid-template-columns: 1.1fr 1fr; }
.sdetail--rev .sdetail__media { order: 2; }
.sdetail__media { border-radius: var(--r-card); overflow: hidden; box-shadow: 0 10px 34px var(--sh-2); }
.sdetail__media img { width: 100%; height: auto; transition: transform .5s ease; }
.sdetail__media:hover img { transform: scale(1.03); }
.sdetail__h { font-size: clamp(23px, 2.8vw, 29px); font-weight: 800; letter-spacing: .04em; margin-bottom: 16px; }
.sdetail__lead { font-size: 15px; color: var(--muted); margin-bottom: 22px; }
.sdetail__items-h { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.sdetail__items { margin-bottom: 24px; }
.sdetail__items li {
  position: relative; padding: 9px 0 9px 26px;
  font-size: 14.5px; font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.sdetail__items li::before {
  content: ''; position: absolute; left: 4px; top: 50%; transform: translateY(-50%);
  width: 9px; height: 9px; border: 2px solid var(--brand); border-radius: 50%;
}

/* 進め方（濃紺帯） */
.process__h { font-size: clamp(24px, 3vw, 30px); font-weight: 800; letter-spacing: .05em; }
/* ============================================================
   支援事例（守秘義務のため社名は出さず、業種・規模・課題・打ち手・成果で見せる）
   ============================================================ */
/* 見出し行の右（導入文・注記・一覧リンク） */
.cases__side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.cases__note { font-size: 13px; color: var(--muted); }
.cases__side .tlink { margin-top: 4px; }

.cases__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 30px); margin-top: clamp(28px, 3.4vw, 44px); }
.case {
  display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--line); border-top: 3px solid var(--band);
}
.case__in { display: flex; flex-direction: column; flex-grow: 1; padding: clamp(22px, 2.4vw, 30px); }
.case__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
/* CASE＋番号は縦組み（カンプ準拠。番号を大きく見せる） */
.case__label { display: flex; flex-direction: column; color: var(--brand); line-height: 1.1; }
.case__label span { font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.case__label b { font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: .02em; }
.case__meta { display: flex; gap: 8px; font-size: 12px; color: var(--muted); flex-wrap: wrap; justify-content: flex-end; }
.case__meta span { border: 1px solid var(--line); padding: 3px 10px; white-space: nowrap; }
.case__title { font-size: clamp(16px, 1.6vw, 18.5px); font-weight: 700; line-height: 1.6; margin: 18px 0 0; }
.case__body { margin-top: 18px; display: flex; flex-direction: column; flex-grow: 1; }
/* 課題／ご支援は横罫で仕切り、ラベルは縦罫で本文と分ける */
.case__body > div {
  display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start;
  padding: 15px 0; border-top: 1px solid var(--line);
}
.case__body dt { font-size: 12.5px; font-weight: 700; color: var(--brand); }
.case__body dd { margin: 0; font-size: 13.5px; line-height: 1.85; color: var(--muted); padding-left: 14px; border-left: 1px solid var(--line); }
/* 成果はカード下部の色帯として独立させる */
.case__result {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
  background: var(--tint-2); padding: clamp(18px, 2vw, 22px) clamp(22px, 2.4vw, 30px);
}
.case__rlabel {
  background: var(--brand); color: var(--on-brand);
  font-size: 12.5px; font-weight: 700; letter-spacing: .06em;
  padding: 6px 12px; white-space: nowrap;
}
.case__result > span:last-child { font-size: 13.5px; font-weight: 600; line-height: 1.8; }

.process__note { font-size: 14.5px; opacity: .8; }

/* ★水平タイムライン：線の上に4つのノード。線→ノードの順に出て、その後ノードが順に脈打つ */
.process__steps {
  --proc-gap: clamp(20px, 2.6vw, 40px);
  --node: 21px;          /* ノードの直径 */
  --track: 30px;         /* 線の高さ位置（ステップ上端から） */
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--proc-gap);
  margin-top: clamp(34px, 4vw, 52px); padding-top: calc(var(--track) + 34px);
}
/* 横一本の線（左→右へ伸びる） */
.process__steps::before {
  content: ''; position: absolute; top: var(--track); left: 0; right: 0; height: 1px;
  background: rgba(255,255,255,.28);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 1s cubic-bezier(.22,.65,.3,1);
}
html:not(.js) .process__steps::before,
.process__steps.on::before,
html.rev-safe .process__steps::before { transform: scaleX(1); }

.process__step { position: relative; }
/* ステップ間の縦の区切り線（ノードより下） */
.process__step:not(:first-child)::after {
  content: ''; position: absolute; top: 0; bottom: 4px;
  left: calc(var(--proc-gap) / -2); width: 1px; background: rgba(255,255,255,.13);
}
/* ノード（外周リング＋中央の点） */
/* ★top に % は使わない（親=stepの高さ基準になって浮く）。
   step上端から線までの距離（padding-top − --track = 34px）を負で指定する */
.process__node {
  position: absolute; top: -34px; left: 50%;
  width: var(--node); height: var(--node);
  border-radius: 50%; border: 1px solid rgba(255,255,255,.55);
  background: var(--band);
  display: grid; place-items: center;
  transform: translate(-50%, -50%) scale(0);
  transition: transform .5s cubic-bezier(.34,1.56,.64,1);
  transition-delay: calc(.45s + var(--i) * .13s);
}
.process__node::after {
  content: ''; width: calc(var(--node) * .48); height: calc(var(--node) * .48);
  border-radius: 50%; background: var(--brand);
}
/* 脈動（波紋）。ノードが出そろってから順に広がる */
.process__node::before {
  content: ''; position: absolute; inset: -5px; border-radius: 50%;
  border: 1px solid var(--brand); opacity: 0;
}
html:not(.js) .process__node,
.process__steps.on .process__node,
html.rev-safe .process__node { transform: translate(-50%, -50%) scale(1); }
.process__steps.on .process__node::before,
html.rev-safe .process__node::before {
  animation: node-pulse 3.2s ease-out infinite;
  animation-delay: calc(1.1s + var(--i) * .4s);
}
@keyframes node-pulse {
  0%        { transform: scale(.72); opacity: .75; }
  55%, 100% { transform: scale(1.55); opacity: 0; }
}

.process__name { display: flex; align-items: baseline; gap: 12px; font-size: 16.5px; font-weight: 700; margin-bottom: 10px; }
.process__name .en { color: var(--brand-l); font-size: clamp(21px, 2.4vw, 30px); font-weight: 800; }
.process__desc { font-size: 13.5px; opacity: .85; line-height: 1.9; }
/* 中身は線が伸びたあと順に立ち上がる */
html.js .process__step > :not(.process__node) {
  opacity: 0; transform: translateY(12px);
  transition: opacity .55s ease, transform .55s ease;
  transition-delay: calc(.5s + var(--i) * .13s);
}
html.js .process__steps.on .process__step > :not(.process__node),
html.js.rev-safe .process__step > :not(.process__node) { opacity: 1; transform: none; }

/* ============================================================
   会社概要
   ============================================================ */
.phic__st { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: .06em; line-height: 1.6; margin: 30px 0 26px; }
.phic__body { max-width: 720px; }
.phic__body p { color: var(--muted); font-size: 15px; }
.phic__body p + p { margin-top: 14px; }

/* 代表挨拶：濃紺グラデ地に白文字 */
.msg { background: var(--band-grad); color: var(--on-band); }
.msg .lbl { color: var(--brand-l); }
.msg__in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.msg__p { font-size: 15px; opacity: .88; }
.msg__p + .msg__p { margin-top: 16px; }
.msg__sign { margin-top: 30px; font-size: 14px; font-weight: 700; line-height: 2; }
.msg__name { font-size: 17px; }
/* 引用符（装飾）。左上に大きく置いて“語り”の面であることを示す */
.msg__body { position: relative; }
.msg__quote {
  position: absolute; left: -.12em; top: -.55em;
  font-family: var(--font-en); font-size: clamp(80px, 9vw, 130px); font-weight: 800;
  line-height: 1; color: rgba(255,255,255,.13); pointer-events: none;
}
.msg__body > *:not(.msg__quote) { position: relative; }
/* 引用として立てる一文（左に縦線） */
.msg__lead {
  font-size: clamp(19px, 2.2vw, 27px); font-weight: 700; line-height: 1.65; letter-spacing: .02em;
  border-left: 2px solid var(--brand-l); padding-left: clamp(16px, 1.6vw, 22px);
  margin: clamp(20px, 2.4vw, 30px) 0 clamp(20px, 2.4vw, 28px);
}
.msg__sign {
  display: flex; flex-direction: column; gap: 4px;
  margin-top: clamp(24px, 3vw, 34px); padding-top: clamp(18px, 2vw, 24px);
  border-top: 1px solid rgba(255,255,255,.2);
  font-size: 13.5px; opacity: .9;
}
.msg__name { font-size: clamp(19px, 2vw, 24px); font-weight: 700; letter-spacing: .12em; opacity: 1; margin-top: 2px; }
/* 写真＋右端の縦組み英字 */
.msg__media { position: relative; }
.msg__media img { width: 100%; height: auto; }
.msg__vtext {
  position: absolute; right: -22px; top: 0;
  writing-mode: vertical-rl; font-size: 10.5px; letter-spacing: .22em;
  color: rgba(255,255,255,.5); white-space: nowrap;
}

/* ── 代表プロフィール（セクション下部・横並びの年表）────────────── */
.career { margin-top: clamp(40px, 5vw, 66px); padding-top: clamp(28px, 3.4vw, 44px); }
.career__in { display: grid; grid-template-columns: 200px 1fr; gap: clamp(24px, 3vw, 40px); align-items: start; }
.career__en { font-family: var(--font-en); font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--brand-l); }
.career__h { font-size: 15px; font-weight: 700; letter-spacing: .06em; margin-top: 6px; }
.career__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
/* 各項目：上に横線＋点。線は左右いっぱいに繋がって見える */
.career__item { position: relative; padding-top: 26px; }
.career__item::before {
  content: ''; position: absolute; top: 5px; left: 0; right: calc(clamp(16px, 2vw, 28px) * -1);
  height: 1px; background: rgba(255,255,255,.24);
}
.career__item:last-child::before { right: 0; }
.career__dot {
  position: absolute; top: 0; left: 0; width: 11px; height: 11px; border-radius: 50%;
  background: var(--brand-l);
  transform: scale(0); transition: transform .45s cubic-bezier(.34,1.56,.64,1);
  transition-delay: calc(.2s + var(--i) * .1s);
}
html:not(.js) .career__dot,
[data-rev].on .career__dot,
html.rev-safe .career__dot { transform: scale(1); }
.career__year { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; color: var(--brand-l); line-height: 1.2; }
.career__text { margin-top: 10px; font-size: 13px; line-height: 1.85; opacity: .86; }

.profile__tbl { max-width: 860px; margin-top: 34px; border-top: 1px solid var(--line-strong); }
.profile__row { display: grid; grid-template-columns: 180px 1fr; gap: 20px; padding: 18px 8px; border-bottom: 1px solid var(--line); }
.profile__row dt { font-weight: 700; font-size: 14.5px; }
.profile__row dd { font-size: 14.5px; color: var(--muted); }


/* ============================================================
   お知らせ記事
   ============================================================ */
.article__in { max-width: 760px; }
.article__date { font-family: var(--font-en); font-weight: 600; font-size: 14px; color: var(--muted); }
.article__h { font-size: clamp(22px, 2.8vw, 28px); font-weight: 800; line-height: 1.6; margin: 10px 0 34px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
/* 記事のアイキャッチ（items に img がある記事だけ出る） */
.article__eye { margin: 0 0 32px; border-radius: var(--r-card); overflow: hidden; }
.article__eye img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.article__body p { font-size: 15.5px; line-height: 2.2; }
.article__body p + p { margin-top: 18px; }

/* ── 記事本文の装飾（2026-09-27 追加・[[startin]] で作った型をトークン化して移植）──
   ★本文は素のHTMLタグだけで書く（h2/h3/h4/h5・ul/ol・blockquote・strong・a）。
     独自クラスを覚えなくてよい＝顧客がAIに「見出しにして」と頼めばそのまま効く。
   ★色はトークン参照のみ。案件の差し色（--brand）が自動で乗る */
.article__body h2 {
  font-size: 20px; font-weight: 800; line-height: 1.6;
  margin: 44px 0 14px; padding-left: 14px;
  border-left: 3px solid var(--brand);
}
.article__body h3 {
  font-size: 18px; font-weight: 800; line-height: 1.6;
  margin: 36px 0 12px; padding-bottom: 8px;
  border-bottom: 1px solid var(--line-strong);
}
/* 下線の左端に差し色の短い帯を重ねる */
.article__body h3::after {
  content: ''; display: block; width: 46px; height: 2px;
  background: var(--brand); position: relative; top: 9px; margin-bottom: -9px;
}
.article__body h4 {
  font-size: 16.5px; font-weight: 800; line-height: 1.7;
  margin: 30px 0 10px; display: flex; align-items: baseline; gap: 9px;
}
.article__body h4::before {
  content: ''; flex: none; width: 7px; height: 7px;
  border-radius: 50%; background: var(--brand);
}
.article__body h5 {
  font-size: 15px; font-weight: 700; line-height: 1.7;
  margin: 26px 0 8px; letter-spacing: .04em; color: var(--muted);
}
/* 見出しの直後の段落は上余白を詰める（見出しと本文を一塊に見せる） */
.article__body h2 + p, .article__body h3 + p,
.article__body h4 + p, .article__body h5 + p { margin-top: 0; }

.article__body ul, .article__body ol { padding-left: 1.5em; margin-top: 18px; }
.article__body ul li, .article__body ol li { font-size: 15.5px; line-height: 2.1; }
.article__body ul li { list-style: disc; }
.article__body ol li { list-style: decimal; }
.article__body ol li::marker { color: var(--brand); font-weight: 700; }
.article__body ul + p, .article__body ol + p { margin-top: 22px; }
.article__body p + ul, .article__body p + ol { margin-top: 18px; }

.article__body blockquote {
  margin: 30px 0; padding: 20px 22px;
  border-left: 3px solid var(--brand);
  background: var(--tint-2); border-radius: var(--r-card);
}
.article__body blockquote p { margin: 0; font-size: 15px; color: var(--muted); }

.article__body strong { font-weight: 800; }
.article__body a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.article__body a:hover { text-decoration-thickness: 2px; }

.article__back { margin-top: 44px; }

/* ============================================================
   お問い合わせ
   ============================================================ */
/* フォームは1カラム。見出しを上に置き、幅を読みやすい範囲に絞る */
.cf__in { max-width: 820px; margin-inline: auto; }
.cf__side { text-align: center; margin-bottom: clamp(26px, 3vw, 38px); }
.cf__h { font-size: clamp(22px, 2.8vw, 30px); font-weight: 800; line-height: 1.6; margin-bottom: 14px; }
.cf__note { font-size: 14px; color: var(--muted); }
/* ★見出し直後の余白は共通ルール（.sec__h + p）に任せる。ここで個別に指定しない
   （個別指定は後勝ちで共通ルールを上書きし、セクションごとに間隔がばらつく） */
.cf__req, .cf__opt {
  display: inline-block; margin-left: 10px; padding: 1px 8px;
  font-size: 11px; font-weight: 700; border-radius: 3px; vertical-align: 2px;
}
.cf__req { background: var(--brand); color: var(--on-brand); }
.cf__opt { background: var(--line); color: var(--muted); }

.cf__form { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-card); padding: 40px 36px; box-shadow: 0 6px 26px var(--sh-1); }
.f-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.f-row { margin-bottom: 22px; }
.f-row label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.f-row input, .f-row select, .f-row textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  background: var(--tint-1); border: 1px solid var(--line);
  border-radius: var(--r-btn); padding: 12px 14px;
  transition: border-color .2s ease, background .2s ease;
}
.f-row input:focus, .f-row select:focus, .f-row textarea:focus {
  outline: none; border-color: var(--brand); background: var(--bg);
}
.f-row .is-err, .f-agree .is-err { border-color: #c33a52; background: #fdeaee; }
.f-err { display: none; font-size: 12.5px; color: #c33a52; margin-top: 6px; }
.f-err.on { display: block; }
.f-alert { display: none; font-size: 14px; font-weight: 700; color: #c33a52; background: #fdeaee; border-radius: var(--r-btn); padding: 12px 16px; margin-bottom: 20px; }
.f-alert.on { display: block; }
.f-agree { display: flex; align-items: center; gap: 10px; font-size: 14px; margin-top: 28px; }
.f-agree a { color: var(--brand); text-decoration: underline; }
.f-agree input { width: 18px; height: 18px; accent-color: var(--brand); }
.act { margin-top: 28px; }
.cf__form .act { text-align: center; }
.is-sending { opacity: .6; pointer-events: none; }

/* お問い合わせの流れ（3ステップ） */
.flow__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: clamp(26px, 3vw, 38px); }
.flow__item {
  position: relative; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: 26px 26px 28px;
  box-shadow: 0 3px 16px var(--sh-1);
}
.flow__no { display: block; color: var(--brand); font-size: 26px; font-weight: 800; line-height: 1; }
.flow__name { font-size: 16px; font-weight: 700; margin: 12px 0 10px; }
.flow__desc { font-size: 13.5px; color: var(--muted); line-height: 1.9; }
.flow__mail { margin-top: clamp(20px, 2.4vw, 30px); font-size: 13px; color: var(--muted); }
.flow__mail a { color: var(--brand); text-decoration: underline; }

/* ============================================================
   サンクス・404
   ============================================================ */
.thx { padding-block: calc(var(--pad-sec) * 1.25); }
.thx__in { text-align: center; max-width: 640px; }
.thx__ic { display: inline-block; width: 64px; height: 64px; color: var(--brand); margin-bottom: 18px; }
.thx__h { font-size: clamp(24px, 3vw, 30px); font-weight: 800; margin: 6px 0 22px; }
.thx__lead p { font-size: 15px; color: var(--muted); }
.thx__lead p + p { margin-top: 14px; }
.thx__lead a { color: var(--brand); text-decoration: underline; }
.thx .act { text-align: center; margin-top: 36px; }
.nf__code { font-size: clamp(64px, 10vw, 110px); font-weight: 800; color: var(--tint-4); line-height: 1; }

/* ============================================================
   プライバシーポリシー
   ============================================================ */
/* ★本文幅は他のコンテンツページと揃える＝.wrap の幅をそのまま使う。
   ここで max-width を指定しない（none にすると .wrap の制限まで外れて全幅になる） */
.pp__in h2 { font-size: 18px; font-weight: 700; margin: 36px 0 12px; padding-left: 14px; border-left: 3px solid var(--brand); }
.pp__in p { font-size: 15px; color: var(--muted); }
.pp__in ul { padding-left: 1.4em; }
.pp__in ul li { list-style: disc; font-size: 15px; color: var(--muted); }
.pp__in a { color: var(--brand); text-decoration: underline; }

/* ============================================================
   CTA帯・フッター
   ============================================================ */
/* CTA帯（左=見出し／縦線／右=大きめボタン） */
.cta { background: var(--tint-2); padding-block: calc(var(--pad-sec) * .92); }
.cta__in { display: grid; grid-template-columns: 1fr auto; gap: clamp(28px, 5vw, 76px); align-items: center; }
.cta__h { font-size: clamp(25px, 4vw, 46px); font-weight: 800; letter-spacing: .03em; line-height: 1.45; margin-bottom: 18px; }
.cta__note { font-size: 15px; color: var(--muted); }
.cta__r { border-left: 1px solid var(--line); padding-left: clamp(22px, 4vw, 62px); text-align: center; }
.btn--lg { padding: 25px 54px; font-size: 17px; gap: 44px; }
.cta__bnote { margin-top: 14px; font-size: 13.5px; color: var(--muted); }

/* フッター */
.ft { background: var(--band); color: var(--on-band); padding-top: clamp(40px, 5vw, 64px); }
.ft__in {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 28px;
  padding-bottom: clamp(28px, 4vw, 46px);
}
.ft__logo .logo--text { font-size: clamp(19px, 2.1vw, 25px); }
/* ロゴの下の短い青線＋タグライン */
.ft__tag { position: relative; margin-top: 26px; padding-top: 22px; font-size: 14px; opacity: .82; }
.ft__tag::before { content: ''; position: absolute; top: 0; left: 0; width: 68px; height: 2px; background: var(--brand-l); }
.ft__nav { display: flex; flex-wrap: wrap; gap: 16px 32px; padding-top: 6px; }
.ft__nav a { font-size: 13.5px; font-weight: 600; opacity: .9; transition: opacity .2s ease; }
.ft__nav a:hover { opacity: 1; text-decoration: underline; }
.ft__btm {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding-block: 18px 26px; border-top: 1px solid rgba(255,255,255,.16);
}
/* ★サンプルサイトの注記（フォーム上・サンクス画面）
   エラーの赤とは別物と分かるよう、地色に馴染む中立な面で出す */
.f-sample {
  margin: 0 0 clamp(16px, 2vw, 22px);
  padding: clamp(12px, 1.6vw, 16px) clamp(14px, 1.8vw, 18px);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: color-mix(in srgb, var(--ink) 5%, transparent);
  font-size: 13.5px; line-height: 1.85;
}
.f-sample strong { font-weight: 700; }

/* ★サンプル表記（フッター内・全ページ共通）
   目立たせすぎず、しかし読めば必ず分かる強さにする。
   本番案件では site.php の sample_note を空にすれば丸ごと消える */
.ft__sample {
  border-top: 1px solid rgba(255, 255, 255, .16);
  padding-block: clamp(14px, 1.6vw, 18px);
}
.ft__sample p { font-size: 12.5px; line-height: 1.9; opacity: .66; max-width: 76ch; }

.ft__copy { font-size: 12.5px; opacity: .65; font-family: var(--font-en); }
.ft__links { display: flex; align-items: center; gap: 18px; font-size: 13px; }
.ft__links a { opacity: .85; transition: opacity .2s ease; }
.ft__links a:hover { opacity: 1; }
.ft__top { border-left: 1px solid rgba(255,255,255,.28); padding-left: 18px; }

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 1024px) {
  .sintro__in, .sdetail__in, .sdetail--rev .sdetail__in, .msg__in { grid-template-columns: 1fr; gap: 40px; }
  .intro__in { grid-template-columns: 1fr; gap: 26px; }
  .intro__r { padding-top: 0; }
  .flow__list { gap: 16px; }
  /* 4カラムはタブレット幅だと窮屈なので2×2へ */
  .svc__cards--4 { grid-template-columns: repeat(2, 1fr); }
  /* 事例は3カラムだと窮屈になるので2カラムへ（3枚目は1枚で並ぶ） */
  .cases__list { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  /* 代表プロフィール：見出しを上に出し、年表は2カラムへ */
  .career__in { grid-template-columns: 1fr; gap: 22px; }
  .career__list { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .msg__vtext { display: none; }
  /* ★モバイルは固定背景を切る（iOS Safariは無視する仕様＋描画負荷が高い） */
  .intro--bg { background-attachment: scroll; }
  /* 会社概要：写真が上、テキストが下の縦積みに */
  .abt { grid-template-columns: 1fr; }
  .abt__media { min-height: clamp(260px, 48vw, 380px); }
  .abt__in { max-width: none; }
  .sdetail--rev .sdetail__media { order: 0; }
  /* 2カラム時：線とノードは成立しないので伏せ、区切り線だけ残す */
  .process__steps { grid-template-columns: repeat(2, 1fr); padding-top: 0; row-gap: 34px; }
  .process__steps::before { display: none; }
  .process__node { display: none; }
  .process__step:nth-child(3)::after { display: none; }
}
@media (max-width: 767px) {
  /* ★padding は --pad-sec のclampが吸収するのでここでは触らない（二重管理を避ける） */
  /* SPでは改行を解いて1行に収める見出し（PCの改行はカンプ通り残す） */
  .cta__h br { display: none; }
  .cta__h { font-size: clamp(18px, 5vw, 21px); }

  /* ★孤立行（最終行に「す。」等が2文字だけ落ちる）を潰す。
     見出しは text-wrap:pretty で行を均し、詰まる文言はサイズ側で1文字分を稼ぐ。
     ※文言を変えずに直せるのが利点。案件で原稿が変わっても効き続ける */
  .sec__h, .cf__h, .phic__st, .intro__h, .abt__h, .process__h, .thx__h, .sdetail__h { text-wrap: pretty; }
  .phic__st { font-size: clamp(21px, 5.6vw, 27px); }
  .cf__h    { font-size: clamp(19px, 5vw, 24px); }
  .sintro__cap, .cf__note, .flow__desc, .cta__note { text-wrap: pretty; }
  .svc__cards, .svc__cards--4, .flow__list, .cases__list { grid-template-columns: 1fr; }
  /* 代表プロフィール：縦積み。線は各項目の上に短く残す */
  .career__list { grid-template-columns: 1fr; row-gap: 22px; }
  .career__item::before { right: 0; }
  .msg__quote { font-size: 76px; top: -.4em; }
  /* 引用見出しはSPで末尾が落ちやすいので1段詰める */
  .msg__lead { font-size: clamp(17px, 4.6vw, 21px); padding-left: 14px; }
  /* CTA帯：縦積みにして、縦線を上の横線に置き換える */
  .cta__in { grid-template-columns: 1fr; gap: 28px; }
  .cta__r { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 28px; }
  .btn--lg { padding: 20px 32px; font-size: 15.5px; gap: 24px; }
  /* フッター：ロゴ／ナビ、©／リンクを縦に */
  .ft__in { flex-direction: column; gap: 26px; }
  .ft__btm { flex-direction: column; align-items: flex-start; gap: 12px; }
  .process__steps { grid-template-columns: 1fr; gap: 26px; }
  .process__step::after { display: none; }   /* 縦積みでは区切り線を出さない */
  .fv__media { height: 64vh; }
  .fv__copy { bottom: 88px; padding-inline: 24px; }
  .fv__catch { font-size: clamp(30px, 8.6vw, 38px); }  /* 各行が1行に収まるサイズ（ルール21） */
  /* FVラベルはSPで折り返さない（線を詰め・字間を締めて1行に収める） */
  .fv__lbl { font-size: 10.5px; letter-spacing: .1em; gap: 10px; margin-bottom: 16px; }
  .fv__lbl::before { width: 22px; }
  .fv__btn { margin-top: 28px; padding: 15px 24px; gap: 20px; font-size: 14px; }
  /* 見出しの孤立行対策（「〜があ／る。」等の1〜2文字落ちを潰す。LPで実測済みの罠） */
  .abt__h { font-size: clamp(21px, 5.6vw, 27px); }
  .cta__h { font-size: clamp(18px, 5vw, 22px); }
  .news__list a { flex-direction: column; gap: 4px; }
  .profile__row { grid-template-columns: 1fr; gap: 4px; padding: 14px 4px; }
  .cf__form { padding: 28px 20px; }
  /* ★図が横にはみ出さないサイズに詰める（円3つ＋矢印2つ＋gapが最小幅360pxに収まること） */
  .sintro__dia { gap: 10px; }
  .sintro__circle { width: 72px; height: 72px; font-size: 13.5px; }
  .sintro__arr svg { width: 16px; }
  .ft__in { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* ============================================================
   reduced-motion：全アニメ停止（背景・出現・ホバー移動）
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-rev],
  html.js [data-rev] .sintro__circle,
  html.js [data-rev] .sintro__arr { opacity: 1; transform: none; transition: none; }
  html.js .fv__img, html.js .fv__line > span, html.js .fv__sub,
  html.js .fv__lbl, html.js .fv__btn {
    animation: none; transform: none; opacity: 1;
  }
  .fv__copy { transform: translateY(-50%); }   /* 位置指定のtransformは維持する */
  .fv__btn:hover svg { transform: none; }
  .lbl--line::after { transform: scaleX(1); transition: none; }
  /* タイムラインは完成形で静止（線の伸長・ノードの出現・脈動をすべて止める） */
  .process__steps::before { transform: scaleX(1); transition: none; }
  .process__node { transform: translate(-50%, -50%) scale(1); transition: none; }
  .process__node::before { animation: none; opacity: 0; }
  html.js .process__step > :not(.process__node) { opacity: 1; transform: none; transition: none; }
  .svc__card:hover, .btn:hover svg, .tlink:hover svg, .sdetail__media:hover img,
  .svc__card:hover .svc__media img { transform: none; }
  /* 経歴の点は出現アニメを止めて最初から表示する */
  .career__dot { transform: scale(1); transition: none; }
  .hd, .hd--hide { transition: none; transform: none; }
}

/* PHILOSOPHY に画像を置く案件だけ2カラムにする（philosophy.image が空なら従来どおり1カラム） */
.phic--media .phic__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.phic--media .phic__body { max-width: none; }
.phic__media img { width: 100%; height: auto; display: block; }
@media (max-width: 900px) { .phic--media .phic__in { grid-template-columns: 1fr; gap: 28px; } }

/* FVのSP用カット（site.fv_image_sp）を <picture> で出し分ける。
   picture を display:contents にして img を .fv__media の直子として扱う */
.fv__media picture { display: contents; }

/* サービス導入の図解を1枚絵で持つ場合（service_intro.image） */
.sintro__fig img { width: 100%; height: auto; display: block; }

/* ── ブログ式の記事カード（collections[<key>].layout = 'blog'）────────
   ★雛形5号から移植（2026-09-14）。list 形式しか使わない案件には一切効かない。
   カードの中身は「アイキャッチ／カテゴリ／日付／タイトル」まで。抜粋は出さない */
.blog {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3.2vw, 42px) clamp(20px, 2.2vw, 28px);
  margin-top: clamp(28px, 3.4vw, 44px);
}
.blog__link { display: grid; gap: 14px; color: inherit; text-decoration: none; }
.blog__thumb {
  display: block; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--r-card); background: var(--tint-2);
}
.blog__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.blog__link:hover .blog__thumb img { transform: scale(1.05); }
/* アイキャッチを持たない記事の代わり。カードの高さを揃えるための面（無彩色に社名を薄く） */
.blog__thumb--none { display: grid; place-items: center; background: var(--tint-2); }
.blog__thumb-ph {
  font-weight: 800; font-size: clamp(15px, 1.6vw, 19px); letter-spacing: .24em;
  color: var(--ink); opacity: .17;
}
.blog__body { display: grid; gap: 9px; }
.blog__meta { display: flex; align-items: center; gap: 12px; }
.blog__cat {
  background: var(--brand); color: var(--on-brand); border-radius: 999px;
  padding: 4px 13px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em;
  text-decoration: none; white-space: nowrap;
}
a.blog__cat:hover { background: var(--ink); color: var(--bg); }
.blog__date {
  font-family: var(--font-en); font-size: 13px; font-weight: 700;
  color: var(--muted); font-variant-numeric: tabular-nums;
}
.blog__title { font-size: 15.5px; font-weight: 700; line-height: 1.75; }
.blog__link:hover .blog__title { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }

/* カテゴリの絞り込みタブ */
.blog__tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(26px, 3vw, 38px); }
.blog__tab {
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 9px 20px;
  font-size: 13.5px; font-weight: 700; color: var(--ink); text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.blog__tab:hover { border-color: var(--ink); }
.blog__tab.is-current { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }

/* 記事ページのカテゴリ表示（blog 形式のときだけ出る） */
.article__meta { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }

@media (max-width: 1024px) { .blog { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) {
  .blog { grid-template-columns: 1fr; gap: 26px; }
  .blog__tabs { gap: 8px; }
  .blog__tab { padding: 8px 16px; font-size: 12.5px; }
}

/* ============================================================
   記事のフリーワード検索（collections[<key>].search が true のときだけ出る）
   ★ブランド色の直値は書かない＝トークン参照のみ
   ============================================================ */
.psearch { margin-bottom: clamp(22px, 2.6vw, 32px); }
.psearch__label {
  display: block; margin-bottom: 9px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--muted);
}
.psearch__row { display: flex; gap: 10px; align-items: stretch; max-width: 520px; }
.psearch__input {
  flex: 1 1 auto; min-width: 0;
  border: 1px solid var(--line-strong); border-radius: var(--r-btn);
  background: var(--bg); color: var(--ink);
  padding: 11px 15px; font: inherit; font-size: 14.5px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.psearch__input::placeholder { color: var(--muted); }
.psearch__input:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--tint-2);
}
/* 検索欄のクリア（×）はブラウザ標準を隠して自前のボタンに寄せる */
.psearch__input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.psearch__clear {
  flex: 0 0 auto;
  border: 1px solid var(--line-strong); border-radius: var(--r-btn);
  background: transparent; color: var(--ink);
  padding: 0 16px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.psearch__clear:hover { border-color: var(--ink); background: var(--tint-1); }
.psearch__count {
  margin-top: 8px; min-height: 1.5em;
  font-size: 12.5px; color: var(--muted);
}
.psearch__empty {
  padding: 28px 0; text-align: center; font-size: 14.5px; color: var(--muted);
}

/* ★絞り込みで外れたカードを消す。
   .blog__card / .news__list li は display を持つので hidden 属性だけでは消えない */
.blog__card[hidden],
.news__list li[hidden] { display: none; }

@media (max-width: 700px) {
  .psearch__row { max-width: none; }
}

/* ============================================================
   ★BuzzTravelers（2026-10-25 カンプ準拠）
   ------------------------------------------------------------
   ・上の雛形CSSはヘッダー骨格・ドロワー・フォーム・記事・下層帯に使う
   ・TOPとフッターはここで組む。色はトークン（--brand 等）と
     index.php が body.is-top に出す --bt-* だけを参照する
   ・手書き風＝.hand（Zen Kurenaido・TOPだけ読み込む）
   ============================================================ */
:root { --wrap: 1400px; }
body { line-height: 1.95; }
.hand { font-family: 'Zen Kurenaido', var(--font-jp); font-weight: 400; }
.ic { width: 1em; height: 1em; display: block; }

/* ── 共通：ラベル・見出し・ボタン ───────────────────────── */
.blbl {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--brand); font-family: var(--font-en); font-weight: 700;
  font-size: 12px; letter-spacing: .18em; margin-bottom: 6px;
}
.blbl::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }
.bh2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: .04em; line-height: 1.45; color: var(--ink); }
.bhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(22px, 2.6vw, 34px); }
.bhead--c { flex-direction: column; align-items: center; text-align: center; gap: 0; }
.bhead--c .blbl::before { display: none; }
.bhead--c .blbl { letter-spacing: .2em; }

.bbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-width: 240px; padding: 15px 30px; border-radius: 999px;
  font-size: 14.5px; font-weight: 700; letter-spacing: .06em; line-height: 1.4;
  border: 1.5px solid var(--ink); color: var(--ink); background: transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.bbtn svg { width: 22px; height: 7px; flex: none; transition: transform .25s ease; }
.bbtn:hover svg { transform: translateX(5px); }
.bbtn--grad { border: 0; color: #fff; background: var(--bt-grad, var(--brand)); box-shadow: 0 10px 24px var(--sh-2); }
.bbtn--grad:hover { transform: translateY(-2px); box-shadow: 0 14px 30px var(--sh-3); }
.bbtn--line { border-color: var(--brand); color: var(--brand); background: #fff; }
.bbtn--line:hover { background: var(--brand); color: #fff; }
.bbtn--lg { min-width: 300px; padding: 20px 40px; font-size: 16px; }

.blink { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.blink__ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--brand); color: var(--brand); transition: background .25s ease, color .25s ease; }
.blink__ic svg { width: 16px; height: 6px; }
.blink:hover .blink__ic { background: var(--brand); color: #fff; }

/* 装飾ブロブ（淡い水色の面。図形専用） */
.bfv__blob, .about__blob, .works__blob, .bflow__blob { position: absolute; border-radius: 50%; background: var(--bt-blob); pointer-events: none; z-index: 0; }

/* ── ヘッダー（白・ロゴ画像・ピルのCTA） ─────────────────── */
.hd { border-bottom: 0; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); }
.hd__in { height: 72px; }
.logo--img { height: 34px; width: auto; }
.hd__nav { gap: 22px; }
.hd__nav a { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--ink); }
.hd__cta { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; border-radius: 999px; padding: 11px 20px; font-size: 12.5px; }
.hd__cta svg { width: 18px; height: 6px; }
.hd__cta:hover { background: var(--brand); color: #fff; }
.drawer__cta .bbtn { width: 100%; }

/* ── FV ─────────────────────────────────────────────────── */
.bfv { position: relative; overflow: hidden; background: linear-gradient(100deg, var(--tint-2) 0%, #fff 55%); }
.bfv__blob--l { left: -14vw; top: -10vw; width: 44vw; height: 44vw; max-width: 560px; max-height: 560px; opacity: .55; }
.bfv__in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); align-items: center; gap: clamp(20px, 3vw, 48px); min-height: clamp(480px, 46vw, 680px); max-width: none; padding-left: max(24px, calc((100vw - var(--wrap)) / 2 + 24px)); padding-right: 0; }
.bfv__copy { padding-block: clamp(30px, 4vw, 48px); }
.bfv__catch { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.34; letter-spacing: .04em; white-space: nowrap; color: var(--ink); font-family: 'Zen Kurenaido', var(--font-jp); font-weight: 400; }
.bfv__line { display: block; overflow: hidden; }
.bfv__line > span { display: inline-block; }
.bfv__sub { margin-top: clamp(18px, 2vw, 26px); font-size: clamp(13.5px, 1.2vw, 15px); font-weight: 700; letter-spacing: .04em; line-height: 2; color: var(--ink); }
.bfv__copy .bbtn { margin-top: clamp(22px, 2.6vw, 32px); min-width: 300px; padding: 17px 34px; }
.bfv__media { position: relative; align-self: stretch; min-height: 360px; }
.bfv__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 42% 38%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 100%);
}
.bfv__note {
  position: absolute; right: 0; background: #fff; color: var(--ink);
  font-size: clamp(14px, 1.3vw, 18px); line-height: 1.6; letter-spacing: .06em;
  padding: 10px 16px; box-shadow: 0 8px 22px rgba(11,31,77,.12); transform: rotate(-4deg);
}
.bfv__note--1 { top: 14%; right: max(16px, calc((100vw - var(--wrap)) / 2)); }
.bfv__note--2 { bottom: 12%; right: max(16px, calc((100vw - var(--wrap)) / 2 - 8px)); transform: rotate(3deg); }
html.js .bfv__line > span { transform: translateY(110%); animation: fv-line .9s cubic-bezier(.22,.65,.3,1) forwards; animation-delay: calc(.15s + var(--i, 0) * .12s); }
html.js .bfv__sub { opacity: 0; animation: fv-fade .8s ease forwards .6s; }
html.js .bfv__copy .bbtn { opacity: 0; animation: fv-rise .7s cubic-bezier(.22,.65,.3,1) forwards .8s; }
html.js .bfv__media { opacity: 0; animation: fv-fade 1s ease forwards .2s; }

/* ── 導入企業ロゴ帯（現行サイトと同じく左へ流れる。幅いっぱい・端はフェード）── */
.clients { padding-block: clamp(22px, 2.6vw, 34px); background: #fff; overflow: hidden; }
.clients__in { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); max-width: none; padding-inline: 0; }
.clients__lbl { flex: none; padding-left: max(24px, calc((100vw - var(--wrap)) / 2 + 24px)); font-size: 12.5px; font-weight: 700; letter-spacing: .1em; color: var(--muted); white-space: nowrap; }
.clients__track { flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.clients__list { display: flex; align-items: center; gap: clamp(28px, 3.4vw, 56px); width: max-content; padding-inline: clamp(14px, 1.7vw, 28px); animation: clients-marquee 38s linear infinite; }
.clients__track:hover .clients__list { animation-play-state: paused; }
.clients__list li { flex: none; }
.clients__list img { height: clamp(56px, 5.4vw, 84px); width: auto; max-width: none; display: block; }
.clients__note { flex: none; padding-right: max(24px, calc((100vw - var(--wrap)) / 2 + 24px)); font-size: 12.5px; color: var(--muted); white-space: nowrap; }
@keyframes clients-marquee { to { transform: translateX(-50%); } }

/* ── 重要なお知らせ ─────────────────────────────────────── */
.notice { border: 1px solid var(--bt-notice-l); background: var(--bt-notice); border-radius: 8px; margin-block: 6px clamp(10px, 1.4vw, 18px); }
.notice__sum { display: flex; align-items: center; gap: 16px; padding: 12px 18px; cursor: pointer; list-style: none; font-size: 13px; }
.notice__sum::-webkit-details-marker { display: none; }
.notice__lbl { display: inline-flex; align-items: center; gap: 6px; flex: none; color: #d8403a; font-weight: 800; font-size: 12px; letter-spacing: .06em; }
.notice__ic { width: 16px; height: 16px; }
.notice__title { flex: 1; font-weight: 700; color: var(--ink); min-width: 0; }
.notice__chev { width: 18px; height: 18px; color: var(--ink); transition: transform .25s ease; }
.notice__chev svg { width: 100%; height: 100%; }
.notice[open] .notice__chev { transform: rotate(90deg); }
.notice__body { padding: 0 18px 16px; font-size: 13.5px; color: var(--muted); }
.notice__body p + p { margin-top: 6px; }

/* ── ABOUT ──────────────────────────────────────────────── */
.about { position: relative; overflow: hidden; }
.about__blob { left: -9vw; top: 30%; width: 22vw; height: 22vw; max-width: 300px; max-height: 300px; }
.about__in { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.about__p { margin-top: clamp(14px, 1.6vw, 20px); font-size: 14.5px; color: var(--muted); }
.about__body .bbtn { margin-top: clamp(22px, 2.4vw, 30px); min-width: 0; padding: 13px 28px; font-size: 13.5px; }
.about__media { position: relative; z-index: 0; }
.about__pic { clip-path: url(#blob-a); aspect-ratio: 836 / 424; }
.about__media::before { content: ''; position: absolute; inset: -6% -4% -8% 6%; clip-path: url(#blob-b); background: var(--bt-blob); z-index: -1; }
.about__pic img { width: 100%; height: 100%; object-fit: cover; }
.about__note { position: absolute; left: 7%; top: 18%; font-size: clamp(16px, 1.6vw, 22px); line-height: 1.7; letter-spacing: .08em; color: var(--ink); text-shadow: 0 0 10px #fff, 0 0 18px #fff, 0 1px 2px #fff; }

/* ── FEATURE ────────────────────────────────────────────── */
.feat { background: var(--tint-1); }
.feat__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.8vw, 24px); }
.feat__card { background: #fff; border-radius: 18px; padding: clamp(26px, 2.4vw, 34px) clamp(18px, 1.8vw, 26px); text-align: center; box-shadow: 0 8px 26px var(--sh-1); }
.feat__ic { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--tint-3); color: var(--brand); }
.feat__ic svg { width: 32px; height: 32px; }
.feat__name { font-size: 16px; font-weight: 800; letter-spacing: .04em; line-height: 1.5; }
.feat__text { margin-top: 12px; font-size: 13px; line-height: 1.9; color: var(--muted); text-align: left; }

/* ── WORKS（投稿例・縦動画） ────────────────────────────── */
.works { position: relative; overflow: hidden; }
.works__blob { right: -8vw; top: 10%; width: 20vw; height: 20vw; max-width: 260px; max-height: 260px; background: var(--bt-blob-2); }
.works__list { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); max-width: 880px; margin-inline: auto; }
.works__card { aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: var(--ink); box-shadow: 0 14px 36px var(--sh-2); }
.works__video { width: 100%; height: 100%; object-fit: cover; display: block; }
.works__note { margin-top: clamp(16px, 2vw, 24px); text-align: center; font-size: 13.5px; color: var(--muted); }

/* ── FLOW ───────────────────────────────────────────────── */
.bflow { position: relative; overflow: hidden; }
.bflow__blob { left: -6vw; bottom: -10vw; width: 30vw; height: 30vw; max-width: 380px; max-height: 380px; opacity: .8; }
.bflow__in { position: relative; z-index: 1; display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(26px, 4vw, 60px); align-items: center; }
.bflow__media { position: relative; z-index: 0; }
.bflow__pic { clip-path: url(#blob-b); aspect-ratio: 712 / 528; }
.bflow__media::before { content: ''; position: absolute; inset: 8% -8% -8% -6%; clip-path: url(#blob-c); background: var(--bt-blob); z-index: -1; }
.bflow__pic img { width: 100%; height: 100%; object-fit: cover; }
.bflow__note { position: absolute; left: 2%; top: 0; font-size: clamp(18px, 1.8vw, 24px); line-height: 1.7; letter-spacing: .08em; color: var(--ink); text-shadow: 0 0 10px #fff, 0 0 18px #fff, 0 1px 2px #fff; }
.bflow__list { display: grid; gap: 10px; margin-top: clamp(18px, 2vw, 26px); }
.bflow__step { display: grid; grid-template-columns: 52px 1fr 20px; align-items: center; gap: 14px; background: #fff; border-radius: 999px; padding: 9px 18px 9px 10px; box-shadow: 0 6px 20px var(--sh-1); }
.bflow__no {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #fff; line-height: 1;
  background: color-mix(in srgb, var(--bt-flow-from), var(--bt-flow-to) calc(var(--p, 0) * 100%));
}
.bflow__no small { font-size: 8px; font-weight: 700; letter-spacing: .08em; opacity: .9; }
.bflow__no b { font-size: 17px; font-weight: 800; margin-top: 1px; }
.bflow__txt { display: grid; gap: 2px; min-width: 0; }
.bflow__name { font-size: 15px; font-weight: 800; letter-spacing: .04em; }
.bflow__desc { font-size: 12px; color: var(--muted); line-height: 1.7; }
.bflow__chev { width: 18px; height: 18px; color: var(--ink); }
.bflow__chev svg { width: 100%; height: 100%; }

/* ── FAQ ────────────────────────────────────────────────── */
.faq { background: var(--tint-1); }
.faq__in { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(26px, 4vw, 60px); align-items: center; }
.faq__list { display: grid; gap: 10px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 22px; }
.faq__item[open] { border-color: var(--brand); }
.faq__q { display: grid; grid-template-columns: 24px 1fr 20px; align-items: center; gap: 12px; padding: 13px 18px; cursor: pointer; list-style: none; font-size: 13.5px; font-weight: 700; }
.faq__q::-webkit-details-marker { display: none; }
.faq__qic { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--brand); color: var(--brand); font-family: var(--font-en); font-weight: 800; font-size: 12px; }
.faq__plus { position: relative; width: 16px; height: 16px; }
.faq__plus::before, .faq__plus::after { content: ''; position: absolute; left: 50%; top: 50%; background: var(--ink); transform: translate(-50%, -50%); transition: transform .25s ease; }
.faq__plus::before { width: 14px; height: 2px; }
.faq__plus::after { width: 2px; height: 14px; }
.faq__item[open] .faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__a { padding: 0 18px 16px 54px; font-size: 13.5px; color: var(--muted); }
.faq__media { position: relative; }
.faq__pic { clip-path: url(#blob-c); aspect-ratio: 612 / 400; }
.faq__media::before { content: ''; position: absolute; inset: -8% -6% 6% 8%; clip-path: url(#blob-a); background: var(--bt-blob-2); z-index: -1; }
.faq__pic img { width: 100%; height: 100%; object-fit: cover; }

/* ── COLUMN（お役立ち情報） ─────────────────────────────── */
.col__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.2vw, 30px); }
.col__link { display: grid; gap: 8px; }
.col__thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; background: var(--tint-2); }
.col__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.col__link:hover .col__thumb img { transform: scale(1.05); }
.col__date { margin-top: 4px; font-size: 12.5px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.col__title { font-size: 14px; font-weight: 700; line-height: 1.7; }
.col__link:hover .col__title { text-decoration: underline; text-underline-offset: 4px; }

/* ── CONTACT（3枠） ─────────────────────────────────────── */
.ct3 { background: linear-gradient(180deg, #fff 0%, var(--tint-1) 100%); }
.ct3__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 24px); }
.ct3__card {
  display: grid; grid-template-columns: 44px 1fr 22px; align-items: center; gap: 14px;
  padding: 20px 22px; border-radius: 16px; color: #fff; min-height: 96px;
  box-shadow: 0 12px 30px rgba(11,31,77,.16); transition: transform .25s ease, box-shadow .25s ease;
}
.ct3__card:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(11,31,77,.22); }
.ct3__card--tel { background: var(--bt-tel); }
.ct3__card--mail { background: var(--bt-mail); }
.ct3__card--line { background: var(--bt-line); }
.ct3__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.22); }
.ct3__ic svg { width: 26px; height: 26px; }
.ct3__ic--line { font-family: var(--font-en); font-weight: 800; font-size: 11px; letter-spacing: .02em; background: #fff; color: #06c755; }
.ct3__txt { display: grid; gap: 2px; min-width: 0; }
.ct3__lbl { font-size: 11.5px; font-weight: 700; opacity: .92; letter-spacing: .04em; }
.ct3__main { font-size: 17px; font-weight: 800; letter-spacing: .04em; line-height: 1.4; }
.ct3__sub { font-size: 11px; opacity: .9; }
.ct3__arr svg { width: 22px; height: 7px; }

/* ── CTA帯（下層） ──────────────────────────────────────── */
.cta { background: var(--tint-1); }
.cta__in { display: grid; grid-template-columns: 1fr auto; gap: clamp(24px, 4vw, 60px); align-items: center; }
.cta__h { font-size: clamp(22px, 2.8vw, 32px); font-weight: 800; line-height: 1.5; margin-bottom: 12px; }
.cta__r { border: 0; padding: 0; }

/* ── フッター（淡い青地） ───────────────────────────────── */
.ft { background: var(--bt-foot, var(--tint-3)); color: var(--ink); padding-top: clamp(40px, 5vw, 64px); }
.ft__in { display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; gap: clamp(24px, 3vw, 44px); align-items: start; padding-bottom: clamp(28px, 4vw, 44px); }
.ft__logo .logo--img { height: 34px; }
.ft__tag { margin-top: 18px; padding-top: 0; font-size: 13.5px; font-weight: 700; line-height: 1.9; opacity: 1; }
.ft__tag::before { display: none; }
.ft__org { margin-top: 12px; font-size: 12.5px; line-height: 1.9; color: var(--muted); }
.ft__grp { display: grid; gap: 8px; padding-top: 6px; }
.ft__gt { font-size: 13.5px; font-weight: 800; margin-bottom: 4px; }
.ft__grp a { font-size: 13px; font-weight: 600; color: var(--ink); opacity: .85; }
.ft__grp a:hover { opacity: 1; text-decoration: underline; }
.ft__cta .bbtn { min-width: 0; padding: 13px 26px; font-size: 13.5px; border-color: var(--ink); color: var(--ink); background: transparent; }
.ft__cta .bbtn:hover { background: var(--ink); color: #fff; }
.ft__btm { border-top: 1px solid rgba(11,31,77,.12); padding-block: 16px 24px; }
.ft__copy { opacity: .7; color: var(--ink); }
.ft__links a { color: var(--ink); opacity: .8; }
.ft__links a + a { border-left: 1px solid rgba(11,31,77,.25); padding-left: 18px; }
.ft__sample { border-top: 1px solid rgba(11,31,77,.12); }

/* ── レスポンシブ ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .feat__list { grid-template-columns: repeat(2, 1fr); }
  .ft__in { grid-template-columns: 1fr 1fr; }
  .ft__cta { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .bh2 { text-wrap: pretty; }
  .bfv__in { grid-template-columns: 1fr; min-height: 0; gap: 10px; padding: 18px 24px 0; }
  .bfv__note { right: 12px !important; }
  .clients__lbl, .clients__note { display: none; }
  .clients__list img { height: 48px; }
  .bfv__copy { padding-block: 10px 0; }
  .bfv__catch { font-size: clamp(34px, 9.4vw, 42px); letter-spacing: .04em; }
  .bfv__copy .bbtn { width: 100%; min-width: 0; }
  .bfv__media { min-height: 0; aspect-ratio: 4 / 3; margin-inline: -24px; }
  .bfv__img { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%); mask-image: linear-gradient(180deg, transparent 0%, #000 18%); object-position: 70% 30%; }
  .bfv__note { right: 12px; font-size: 13px; padding: 8px 12px; }
  .bfv__note--1 { top: 22%; }
  .bfv__note--2 { bottom: 10%; }
  .notice__sum { flex-wrap: wrap; gap: 8px 12px; }
  .notice__title { flex-basis: 100%; order: 3; font-size: 12.5px; }
  .about__in, .bflow__in, .faq__in { grid-template-columns: 1fr; gap: 28px; }
  .about__media { order: -1; }
  .feat__list, .col__list, .ct3__list { grid-template-columns: 1fr; }
  .works__list { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .works__card { border-radius: 10px; }
  .bflow__step { grid-template-columns: 44px 1fr 16px; gap: 10px; padding: 8px 14px 8px 8px; }
  .bflow__no { width: 44px; height: 44px; }
  .bflow__no b { font-size: 15px; }
  .bflow__name { font-size: 14px; }
  .faq__q { font-size: 13px; padding: 12px 14px; }
  .faq__a { padding-left: 14px; }
  .faq__media { order: 2; }
  /* ★SPは写真が小さく顔に重なるので、手書きの一言は写真の下に出す */
  .bflow__note, .about__note { position: static; margin: 10px 0 0 6px; font-size: 16px; letter-spacing: .06em; text-shadow: none; }
  .ct3__card { min-height: 84px; }
  .ft__in { grid-template-columns: 1fr; gap: 22px; }
  .ft__btm { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .clients__list { animation: none; }
  html.js .bfv__line > span, html.js .bfv__sub, html.js .bfv__copy .bbtn, html.js .bfv__media { animation: none; transform: none; opacity: 1; }
  .bbtn:hover, .bbtn:hover svg, .ct3__card:hover, .col__link:hover .col__thumb img { transform: none; }
}
