/* ============================================================
   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; }
}

/* ============================================================
   ★STAR Japan 案件固有（2026-10-09 カンプ準拠で作り直し）
   ------------------------------------------------------------
   ・色は theme.php（--ink/--brand/--muted/--line…）と parts/brand.php（--c-*／--colorline）の
     変数だけを参照する。直値は白・黒の透過と中立のグレーのみ
   ・上の kit 共通ルールは消さず、ここで後勝ちで上書きする（同期規律を壊さない）
   ============================================================ */
:root { --wrap: 1180px; --pad-sec: clamp(56px, 6.5vw, 96px); }
.lbl { color: var(--brand); font-size: 12px; letter-spacing: .16em; font-weight: 700; margin-bottom: 8px; }
.lbl--onband { color: #fff; }
.sec--face { background: var(--c-face); }
.colorline { display: block; height: 4px; width: 120px; background: var(--colorline); }

/* 共通ボタン（kit既定＝黒）。青・白の派生 */
.btn--blue { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn--blue:hover { background: var(--brand-d); border-color: var(--brand-d); color: #fff; }
.btn--white { background: #fff; color: var(--ink); border-color: #fff; }
.btn--white:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--wide { width: min(100%, 420px); justify-content: center; padding: 20px 34px; font-size: 16px; }
.btn__dn { font-family: var(--font-en); font-weight: 700; transition: transform .25s ease; }
.btn:hover .btn__dn { transform: translateY(3px); }

/* ── ヘッダー ─────────────────────────────────────────────── */
.hd__in { height: 76px; }
.logo--img { display: block; height: 38px; width: auto; }
.hd__nav { gap: 30px; }
.hd__nav a { font-size: 13.5px; font-weight: 600; }
.hd__nav a::after { display: none; }
.hd__nav a:hover { color: var(--brand); }
.hd__cta { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; padding: 12px 20px; font-size: 13px; border-radius: 2px; }
.hd__cta:hover { background: var(--brand); color: #fff; }
.hd__cta-ar { font-family: var(--font-en); font-weight: 700; }
.drawer__cta .btn { width: 100%; justify-content: center; }

/* ── FV（左=コピー／右=色の塊。写真なし） ───────────────────── */
.fv { position: relative; overflow: hidden; background: var(--bg); border-bottom: 1px solid var(--line); }
.fv__in {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center;
  gap: clamp(20px, 3vw, 48px);
  min-height: clamp(440px, 44vw, 600px); padding-block: clamp(36px, 4.5vw, 64px);
}
.fv .fv__copy { position: static; transform: none; color: var(--ink); max-width: none; padding: 0; z-index: 1; }
.fv__lbl { color: var(--brand); font-size: 12px; letter-spacing: .2em; font-weight: 700; margin-bottom: 20px; }
.fv__lbl::before { display: none; }
.fv__catch { font-size: clamp(34px, 3.6vw, 54px); font-weight: 800; line-height: 1.32; letter-spacing: .02em; color: var(--ink); text-shadow: none; }
.fv .fv__line { display: block; overflow: hidden; white-space: nowrap; }   /* ★各行は意味の区切りで固定＝折り返さない（ルール21・390pxで実測） */
@media (min-width: 768px) { .fv .fv__line { display: block; } }
.fv__sub { margin-top: 22px; font-size: clamp(14px, 1.15vw, 16px); font-weight: 500; letter-spacing: .04em; line-height: 2; color: var(--muted); text-shadow: none; }
.fv__scroll {
  display: inline-flex; align-items: center; gap: 12px; margin-top: clamp(28px, 3.4vw, 48px);
  font-size: 11px; letter-spacing: .2em; font-weight: 600; color: var(--muted);
  border-left: 1px solid var(--line-strong); padding-left: 12px;
}
.fv__scroll:hover { color: var(--brand); border-color: var(--brand); }
html.js .fv__scroll { opacity: 0; animation: fv-fade .8s ease forwards 1s; }
.fv__art { position: relative; justify-self: end; width: 100%; }
.blob { display: block; height: auto; }
.blob--fv { width: clamp(320px, 50vw, 720px); margin-right: calc(-1 * clamp(24px, 8vw, 140px)); margin-left: auto; }
html.js .fv__art { opacity: 0; transform: translateX(24px) scale(.98); animation: fv-rise .9s cubic-bezier(.22,.65,.3,1) forwards .35s; }

/* ── 01 OUR MISSION ──────────────────────────────────────── */
.mi { border-bottom: 1px solid var(--line); }
.mi__in { display: grid; grid-template-columns: 1.1fr 1fr .74fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.mi__h { font-size: clamp(26px, 3vw, 42px); font-weight: 800; line-height: 1.4; margin-top: 14px; }
.mi__body p { font-size: 14.5px; color: var(--muted); line-height: 2.1; }
.mi__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: grayscale(1); }

/* ── 02 OUR EXPERTISE ───────────────────────────────────── */
.ex { padding-bottom: 0; }
.ex__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: clamp(28px, 3vw, 44px); }
.ex__h { font-size: clamp(24px, 2.6vw, 36px); font-weight: 800; margin-top: 12px; letter-spacing: .02em; }
.ex__tabs { display: flex; gap: 22px; padding-bottom: 8px; }
.ex__tabs a { font-size: 11px; letter-spacing: .14em; color: var(--muted); font-weight: 700; }
.ex__tabs a:hover { color: var(--ink); }
.ex__tabs b { color: var(--brand); margin-right: 5px; }
.ex__item {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center;
  padding-block: clamp(44px, 5vw, 72px); border-top: 1px solid var(--line);
}
.ex__item--rev .ex__text { order: 2; }
.ex__text { position: relative; }
.ex__text::after { content: ''; position: absolute; left: 0; top: 66px; bottom: 6px; width: 1px; background: var(--line); }
.ex__title { display: flex; align-items: baseline; gap: 18px; }
.ex__no { color: var(--brand); font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; }
.ex__name { font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; letter-spacing: .01em; }
.ex__lead, .ex__body, .ex__list, .ex__text .btn { margin-left: 24px; position: relative; }
.ex__lead { margin-top: 16px; font-size: clamp(18px, 1.6vw, 22px); font-weight: 800; line-height: 1.5; }
.ex__body { margin-top: 12px; font-size: 14px; color: var(--muted); line-height: 2; }
.ex__list { margin-top: 18px; border-top: 1px solid var(--line); max-width: 420px; }
.ex__list li { font-size: 13.5px; padding: 9px 14px; border-bottom: 1px solid var(--line); }
.ex__text .btn { margin-top: 22px; }
.ex__fig { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-face); border-radius: var(--r-card); }
.ex__fig img { width: 100%; height: 100%; object-fit: cover; }
/* 図版は出現時に軽く持ち上がる（レイアウトは動かさない） */
html.js .ex__item .ex__fig { opacity: 0; transform: translateY(18px); transition: opacity .7s ease .15s, transform .7s cubic-bezier(.22,.65,.3,1) .15s; }
html.js .ex__item.on .ex__fig, html.js.rev-safe .ex__fig { opacity: 1; transform: none; }

/* ── MESSAGE（黒い帯） ───────────────────────────────────── */
.msgb { background: var(--ink); color: #fff; padding-block: clamp(60px, 7vw, 110px); }
.msgb__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.msgb__h { font-size: clamp(26px, 3vw, 42px); font-weight: 800; line-height: 1.4; margin-top: 14px; }
.colorline--msg { margin-top: 28px; width: 72px; }
.msgb__sub { font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.msgb__body { margin-top: 14px; }
.msgb__body p { font-size: 14px; line-height: 2.1; opacity: .88; }
.msgb__sign { margin-top: 24px; display: flex; gap: 14px; align-items: baseline; font-size: 13px; }
.msgb__sign b { font-size: 15.5px; letter-spacing: .08em; }

/* ── 05 COMPANY ─────────────────────────────────────────── */
.cp { border-bottom: 1px solid var(--line); }
.cp__in { display: grid; grid-template-columns: .9fr 1.4fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.cp__h { margin-top: 10px; }
.cp__en { display: block; font-size: clamp(34px, 3.6vw, 52px); font-weight: 800; line-height: 1.1; }
.cp__jp { display: block; margin-top: 12px; font-size: clamp(15px, 1.3vw, 18px); font-weight: 700; letter-spacing: .08em; }
.cp__tbl { border-top: 1px solid var(--line-strong); }
.cp__tbl > div { display: grid; grid-template-columns: 150px 1fr; border-bottom: 1px solid var(--line); }
.cp__tbl dt { background: var(--c-face); padding: 14px 20px; font-size: 13.5px; font-weight: 700; }
.cp__tbl dd { padding: 14px 22px; font-size: 14px; line-height: 1.9; }

/* ── CTA帯（青地） ──────────────────────────────────────── */
.cta { position: relative; overflow: hidden; background: var(--brand); color: #fff; padding-block: clamp(56px, 6.5vw, 100px); }
.cta__in { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.cta__lbl { font-size: 11px; letter-spacing: .2em; font-weight: 700; opacity: .85; }
.cta__h { font-size: clamp(26px, 3vw, 44px); font-weight: 800; line-height: 1.4; margin: 14px 0 0; color: #fff; }
.cta__r { border-left: 0; padding-left: 0; text-align: left; }
.cta__note { font-size: 14px; line-height: 2; margin-bottom: 22px; color: #fff; opacity: .95; }
.blob--cta { position: absolute; right: -40px; bottom: -70px; width: clamp(240px, 26vw, 400px); }

/* ── フッター（白地） ───────────────────────────────────── */
.ft { background: var(--bg); color: var(--ink); padding-top: 0; border-top: 1px solid var(--line); }
.ft__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 26px; }
.ft__logo .logo--img { height: 34px; }
.ft__nav { display: flex; flex-wrap: wrap; gap: 26px; padding: 0; margin-left: auto; }
.ft__nav a { font-size: 13px; font-weight: 600; opacity: .85; }
.ft__copy { font-size: 12px; color: var(--muted); padding-left: 26px; border-left: 1px solid var(--line); opacity: 1; }

/* ── 下層のページ見出し（白地・大きな英字） ─────────────────── */
.ph { position: relative; background: var(--bg); color: var(--ink); padding-block: 22px clamp(44px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.ph .ph__bc { position: static; display: flex; gap: 10px; font-size: 12px; color: var(--muted); margin-bottom: clamp(28px, 4vw, 56px); }   /* ★kit の白文字指定（.ph .ph__bc）より強くする */
.ph .ph__bc a { color: var(--muted); }
.ph .ph__bc a:hover { color: var(--brand); }
.ph .lbl { color: var(--brand); }
.ph__h { margin-top: 4px; }
.ph__h::after { display: none; }
.ph__en { display: block; font-size: clamp(48px, 6vw, 88px); font-weight: 800; line-height: 1; letter-spacing: 0; }
.ph__jp { display: block; margin-top: 12px; font-size: clamp(20px, 2vw, 30px); font-weight: 800; }
.ph__lead { margin-top: 22px; font-size: 15px; color: var(--muted); line-height: 2; }
.ph__art { position: absolute; right: 0; top: 36%; width: clamp(120px, 12vw, 180px); }
.blob--contact { width: 100%; }

/* ── お問い合わせフォーム ───────────────────────────────── */
.cf__in { max-width: 760px; }
.cf__h { font-size: clamp(22px, 2.6vw, 34px); }
.cf__note { margin-top: 8px; }
.cf__form { background: transparent; border: 0; box-shadow: none; padding: 0; margin-top: clamp(28px, 3vw, 44px); }
.f-row { margin-bottom: 26px; }
.f-row label, .f-row legend { display: block; font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.f-row--svc { border: 0; padding: 0; }
.cf__multi { font-size: 11px; color: var(--muted); margin-left: 10px; font-weight: 500; }
.cf__opt { background: color-mix(in srgb, var(--ink) 8%, #fff); color: var(--muted); }
.f-checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 16px; }
.f-check { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; margin: 0; cursor: pointer; }
.f-check input { width: 20px; height: 20px; accent-color: var(--brand); flex: none; }
.f-row input, .f-row textarea { background: #fff; border: 1px solid var(--line); padding: 14px 16px; border-radius: 4px; }
.f-row input::placeholder, .f-row textarea::placeholder { color: color-mix(in srgb, var(--ink) 38%, #fff); }
.f-agree { justify-content: center; margin-top: 26px; }
.f-agree label { font-size: 14px; }
.f-agree a { color: var(--brand); }
.cf__form .act { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 26px; }
.cf__back { color: var(--brand); font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; }
.thx .btn, .nf .btn { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ── レスポンシブ ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .hd__cta { display: none; }
  .fv__in { grid-template-columns: 1fr; min-height: 0; gap: 8px; }
  .fv__art { justify-self: center; margin-top: 16px; }
  .blob--fv { width: min(100%, 560px); margin-right: calc(-1 * clamp(16px, 6vw, 60px)); }
  .mi__in { grid-template-columns: 1fr 1fr; }
  .mi__media { grid-column: 1 / -1; max-width: 520px; }
  .ex__item, .ex__item--rev .ex__in { grid-template-columns: 1fr; }
  .ex__item--rev .ex__text { order: 0; }
  .ex__fig { max-width: 640px; }
  .msgb__in, .cp__in, .cta__in { grid-template-columns: 1fr; }
  .cp__tbl > div { grid-template-columns: 130px 1fr; }
  .ex__tabs { display: none; }
}
@media (max-width: 767px) {
  .hd__in { height: 64px; }
  .logo--img { height: 30px; }
  .fv__in { padding-block: 36px 28px; }
  .fv__catch { font-size: clamp(30px, 8.4vw, 38px); }
  .fv__lbl { font-size: 10.5px; letter-spacing: .14em; gap: 0; margin-bottom: 16px; }
  .fv__sub br { display: none; }
  .fv__sub { text-wrap: pretty; }
  .blob--fv { width: min(100%, 420px); margin-right: -8%; }
  .mi__in { grid-template-columns: 1fr; gap: 22px; }
  .mi__h, .ex__h, .msgb__h, .cp__en, .cta__h, .ph__jp { text-wrap: pretty; }
  .ex__text::after { top: 58px; }
  .ex__lead, .ex__body, .ex__list, .ex__text .btn { margin-left: 18px; }
  .ex__text .btn { width: 100%; justify-content: center; }
  .cp__tbl > div { grid-template-columns: 1fr; }
  .cp__tbl dt { padding: 10px 16px; }
  .cp__tbl dd { padding: 12px 16px; }
  .cta__h br { display: none; }
  .cta__h { font-size: clamp(24px, 7vw, 30px); }
  .cta .btn { width: 100%; justify-content: center; }
  .blob--cta { right: -60px; bottom: -80px; width: 220px; opacity: .9; }
  .ft__in { flex-direction: column; align-items: flex-start; gap: 18px; }
  .ft__nav { margin-left: 0; gap: 14px 20px; }
  .ft__copy { border: 0; padding: 0; }
  .ph__art { position: static; width: 120px; margin-top: 20px; }
  .f-checks { grid-template-columns: 1fr; }
  .cf__form { padding: 0; }
  .btn--wide { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .fv .fv__copy { transform: none; }
  html.js .fv__art, html.js .fv__scroll { animation: none; opacity: 1; transform: none; }
  html.js .ex__item .ex__fig { opacity: 1; transform: none; transition: none; }
  .btn:hover .btn__dn { transform: none; }
}

/* ── FV右＝ロゴのシンボル（2026-10-09 ボス指示：自作の色の塊 → ロゴ本体のマークへ） ──
   ロゴなので画面端で切らない（.blob--fv の負のマージンは使わない） */
/* 列幅（約506px@1440）に収めるとマークが小さいので、列を超えて右の余白側へ広げる。
   画面端からは余白を残す（ロゴを切らない）。左は文字列（キャッチ右端 約714px@1440）に当てない */
.fv__mark { display: block; height: auto; width: clamp(340px, 44vw, 680px); max-width: none; margin-left: auto; margin-right: calc(-1 * clamp(0px, 5.5vw, 80px)); }
/* FVの高さを出す（2026-10-09 ボス指示「もう少し高さを」）＝min-height と上下の余白を広げ、
   マークはSVG（ベクター化・拡大しても甘くならない）で 820px まで */
.fv__in { min-height: clamp(520px, 54vw, 760px); padding-block: clamp(48px, 6vw, 96px); grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
/* ★末尾の .fv__in 指定は、先にある ≤1024 の1列指定より後勝ちになるので、ここで1列に戻す（SPで2列のまま崩れた 2026-10-09） */
@media (max-width: 1024px) { .fv__mark { width: min(100%, 560px); max-width: 100%; margin-right: auto; } .fv__in { min-height: 0; grid-template-columns: 1fr; padding-block: 36px 28px; } }

/* FVの英字ラベル「DIGITAL MARKETING PARTNER」を少し大きく（2026-10-09 ボス指示）12px → 15px@PC・13px@SP */
.fv__lbl { font-size: clamp(13px, 1.05vw, 15px); margin-bottom: 22px; }

/* 01 OUR MISSION の地をライトグレーに・全幅（2026-10-09 ボス指示）。面の色トークン --c-face（#F4F4F4） */
.mi { background: var(--c-face); border-bottom: 0; }

/* ── 02 EXPERTISE の見出し右：有機的な塊ボタン（2026-10-09 ボス指示・GPTイメージ準拠） ── */
.ex__blobs { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0 clamp(2px, .5vw, 8px); margin-left: auto; }
.ex__blobs li { margin: 0; }
.ex__blobs li:nth-child(1) { margin-top: 22px; }
.ex__blobs li:nth-child(2) { margin-top: -18px; }
.ex__blobs li:nth-child(3) { margin-top: 18px; }
.ex__blobs li:nth-child(4) { margin-top: -14px; }
.exb { position: relative; display: grid; place-items: center; width: clamp(92px, 8.8vw, 126px); aspect-ratio: 210 / 160;
  color: #fff; font-weight: 800; letter-spacing: .06em; font-size: clamp(11px, .95vw, 14px); text-decoration: none; border: 0; padding: 0;
  transition: transform .25s cubic-bezier(.22,.65,.3,1); }
.exb svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--exb); filter: drop-shadow(0 8px 16px rgb(0 0 0 / .10)); }
.exb span { position: relative; z-index: 1; }
.exb--ink { color: var(--ink); }
/* 4つ目（ADVERTISING）は文字が長いので塊を横に広くする（文字が塊からはみ出していた） */
.ex__blobs li:nth-child(4) .exb { width: clamp(118px, 11.6vw, 168px); }
.ex__blobs li:nth-child(4) .exb span { letter-spacing: .04em; }
.exb:hover, .exb:focus-visible { transform: translateY(-4px) scale(1.05); color: inherit; }
.exb:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 50%; }
@media (max-width: 1024px) {
  .ex__blobs { margin-left: 0; flex-wrap: wrap; gap: 6px 4px; }
  .ex__blobs li:nth-child(n) { margin-top: 0; }
  .exb { width: clamp(84px, 22vw, 110px); font-size: 11px; }
  .ex__blobs li:nth-child(4) .exb { width: clamp(104px, 27vw, 136px); font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .exb { transition: none; } .exb:hover { transform: none; } }

/* 塊ボタンからのスクロール着地を少し下げる（見出しが画面上端に張り付かないように） */
.ex__item { scroll-margin-top: 28px; }

/* ── 塊ボタンの配置をボスの画像どおりに（2026-10-09）＝SEO左下／CROが上に重なる／CONTENTS右下に広く／ADVERTISING右上
   相対配置の箱（340:150）に絶対配置。重なりの前後＝SEO<CRO<ADVERTISING<CONTENTS */
.ex__blobs { display: block; position: relative; width: min(540px, 100%); aspect-ratio: 340 / 150; margin-left: auto; gap: 0; }
.ex__blobs li, .ex__blobs li:nth-child(n) { position: absolute; margin: 0; }
.ex__blobs li:nth-child(1) { left: 4%;  top: 34%; width: 31%; z-index: 1; }
.ex__blobs li:nth-child(2) { left: 25%; top: -2%; width: 26%; z-index: 2; }
.ex__blobs li:nth-child(3) { left: 40%; top: 42%; width: 40%; z-index: 4; }
.ex__blobs li:nth-child(4) { left: 63%; top: 10%; width: 37%; z-index: 3; }
.exb, .ex__blobs li:nth-child(4) .exb { width: 100%; aspect-ratio: 210 / 160; }
.ex__blobs li:nth-child(3) .exb, .ex__blobs li:nth-child(4) .exb { aspect-ratio: 260 / 160; }
.exb { font-size: clamp(11px, 1vw, 15px); }
@media (max-width: 1024px) {
  .ex__blobs { width: min(420px, 100%); margin: 8px 0 0; flex-wrap: nowrap; }
  .ex__blobs li:nth-child(n) { margin: 0; }
  .exb, .ex__blobs li:nth-child(4) .exb { width: 100%; font-size: clamp(10px, 2.6vw, 12px); }
}

/* 浮遊感（2026-10-09 ボス指示）＝li を周期・位相をずらして上下にゆっくり。hover の拡大は .exb 側なので干渉しない */
@keyframes exb-float { 0% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-9px) rotate(-1.2deg); } 100% { transform: translateY(0) rotate(0deg); } }
.ex__blobs li { animation: exb-float 5.2s ease-in-out infinite; will-change: transform; }
.ex__blobs li:nth-child(1) { animation-duration: 5.6s; animation-delay: -1.2s; }
.ex__blobs li:nth-child(2) { animation-duration: 4.6s; animation-delay: -2.8s; }
.ex__blobs li:nth-child(3) { animation-duration: 6.2s; animation-delay: -0.6s; }
.ex__blobs li:nth-child(4) { animation-duration: 5.0s; animation-delay: -3.6s; }
@media (prefers-reduced-motion: reduce) { .ex__blobs li { animation: none; } }

/* バランス調整（2026-10-09 ボス指摘「配置や形のバランスが悪い」）＝丸みのある滑らかな形に作り直し・
   参考画像どおり CRO が SEO の右上に、CONTENTS が ADVERTISING の左下に少し掛かる配置 */
.ex__blobs li:nth-child(1) { left: 2%;  top: 30%; width: 33%; }
.ex__blobs li:nth-child(2) { left: 21%; top: 0;   width: 27%; }
.ex__blobs li:nth-child(3) { left: 42%; top: 42%; width: 40%; }
.ex__blobs li:nth-child(4) { left: 61%; top: 2%;  width: 38%; }

/* ── 塊ボタン＝参考画像（GPT生成）の形と配置をそのまま実測で再現（2026-10-09 ボス「ここにまさに合わせたい」） ──
   箱の縦横比 1074:433・各塊の位置/幅は画像内の bbox の比率・形は potrace のパス */
.ex__blobs { aspect-ratio: 1074 / 433; width: min(560px, 100%); }
.ex__blobs li:nth-child(1) { left: 0.00%; top: 25.17%; width: 29.42%; z-index: 1; }
.ex__blobs li:nth-child(1) .exb { aspect-ratio: 316 / 247; width: 100%; }
.ex__blobs li:nth-child(2) { left: 26.63%; top: 0.00%; width: 23.18%; z-index: 2; }
.ex__blobs li:nth-child(2) .exb { aspect-ratio: 249 / 221; width: 100%; }
.ex__blobs li:nth-child(3) { left: 36.50%; top: 44.11%; width: 37.80%; z-index: 4; }
.ex__blobs li:nth-child(3) .exb { aspect-ratio: 406 / 242; width: 100%; }
.ex__blobs li:nth-child(4) { left: 64.43%; top: 10.62%; width: 35.57%; z-index: 3; }
.ex__blobs li:nth-child(4) .exb { aspect-ratio: 382 / 240; width: 100%; }
@media (max-width: 1024px) { .ex__blobs { width: min(440px, 100%); } }

/* 見出し（ラベル＋H2）を右の塊群の上下中央に（2026-10-09 ボス指示）。元は flex-end で下揃えだった */
.ex__head { align-items: center; }
@media (max-width: 1024px) { .ex__head { align-items: flex-start; } }

/* サービス4つ：見出し（番号＋英名）とキャッチを大きく（2026-10-09 ボス指示）30→36px／22→27px */
.ex__no, .ex__name { font-size: clamp(26px, 2.6vw, 36px); }
.ex__lead { font-size: clamp(20px, 1.95vw, 27px); margin-top: 18px; line-height: 1.45; }

/* ── サービスのリスト印＝サービス色の小さな有機形（塊ボタンのCRO形を縮小・mask）＋行ごとに向きを変える（2026-10-09 ボス指示「ただの点じゃなく」） ── */
.ex__list { border-top: 0; }
.ex__list li { position: relative; padding: 11px 12px 11px 34px; font-size: 14px; letter-spacing: .01em; border-bottom: 1px solid var(--line); }
.ex__list li:first-child { border-top: 1px solid var(--line); }
.ex__list li::before { content: ""; position: absolute; left: 6px; top: 50%; width: 16px; height: 14px; translate: 0 -50%;
  background: var(--svc-c, var(--brand)); -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20249%20221%22%3E%3Cpath%20d%3D%22M62.5%201.0%20c-28.0%204.3%20-52.4%2022.6%20-58.0%2043.4%20c-2.4%209.0%20-1.7%2020.7%202.0%2030.6%20c7.0%2019.1%207.7%2021.8%208.2%2029.0%20c0.7%209.9%20-0.7%2016.2%20-6.7%2029.2%20c-6.9%2015.1%20-8.3%2020.5%20-7.8%2029.9%20c2.2%2037.0%2056.8%2064.6%20112.5%2056.8%20c39.5%20-5.5%2098.3%20-34.3%20120.9%20-59.2%20c18.1%20-20.1%2019.6%20-45.3%203.8%20-67.3%20c-16.4%20-23.1%20-61.0%20-58.4%20-95.4%20-75.6%20c-26.5%20-13.2%20-58.6%20-20.0%20-79.5%20-16.8%20Z%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20249%20221%22%3E%3Cpath%20d%3D%22M62.5%201.0%20c-28.0%204.3%20-52.4%2022.6%20-58.0%2043.4%20c-2.4%209.0%20-1.7%2020.7%202.0%2030.6%20c7.0%2019.1%207.7%2021.8%208.2%2029.0%20c0.7%209.9%20-0.7%2016.2%20-6.7%2029.2%20c-6.9%2015.1%20-8.3%2020.5%20-7.8%2029.9%20c2.2%2037.0%2056.8%2064.6%20112.5%2056.8%20c39.5%20-5.5%2098.3%20-34.3%20120.9%20-59.2%20c18.1%20-20.1%2019.6%20-45.3%203.8%20-67.3%20c-16.4%20-23.1%20-61.0%20-58.4%20-95.4%20-75.6%20c-26.5%20-13.2%20-58.6%20-20.0%20-79.5%20-16.8%20Z%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
.ex__list li:nth-child(3n+2)::before { rotate: 120deg; }
.ex__list li:nth-child(3n+3)::before { rotate: -110deg; }
.ex__list li:nth-child(3n+1)::before { rotate: 8deg; }

/* リスト印＝有機形は却下（ボス「ダサくなった」）→ よくある矢印系＝サービス色の細いシェブロン（2026-10-09） */
.ex__list li { padding-left: 26px; }
.ex__list li::before { width: 7px; height: 7px; left: 6px; top: 50%; translate: 0 -50%; background: none; -webkit-mask: none; mask: none;
  border-right: 2px solid var(--svc-c, var(--brand)); border-bottom: 2px solid var(--svc-c, var(--brand)); rotate: -45deg; border-radius: 1px; }
.ex__list li:nth-child(n)::before { rotate: -45deg; }

/* ── 太字をもっと太く（2026-10-09 ボス指示）＝和文は Hiragino Sans（W9まで）→ Noto Sans JP 900 のスタックで 900 指定 ── */
:root { --font-jp-bold: "Hiragino Sans", "Noto Sans JP", var(--font-jp); }
.fv__catch, .mi__h, .ex__h, .ex__lead, .msgb__h, .cta__h, .ph__jp, .cf__h, .thx__h, .intro__h, .msgb__sign b, .article__h, .article__body strong { font-family: var(--font-jp-bold); font-weight: 900; }
.ex__no, .ex__name, .ph__en, .cp__en, .exb, .fv__lbl, .lbl { font-weight: 900; }

/* FVロゴの流体エフェクト（fv-fluid.js）。canvas は img より PAD 分大きく絶対配置される。is-fx のあいだ img は見た目だけ隠す */
.fv__fluid { position: absolute; pointer-events: none; z-index: 2; }
.fv__art.is-fx .fv__mark { visibility: hidden; }

/* ═══════════════════════════════════════════════════════════════
   出現アニメを「インパクト」寄りに作り替え（2026-10-09 ボス指示・内容はダッチ裁量）
   ・FV：行は切り上がり（鋭い減速）＋ラベルは字間が締まりながら＋ロゴは回転しつつ弾んで結像
   ・セクション（[data-rev]）：ボケ→結像（filter blur）＋直下の要素を順送りで立ち上げる
   ・サービス：図版は左右それぞれの側からスライドイン、文字側は下から
   ・塊ボタン：順に弾んで出る（overshoot）／会社概要：行を順送り
   ・prefers-reduced-motion と rev-safe（JS不達の保険）では全部そのまま表示
   ═══════════════════════════════════════════════════════════════ */
:root { --ease-out-expo: cubic-bezier(.16, 1, .3, 1); --ease-pop: cubic-bezier(.2, 1.4, .3, 1); }

/* FV */
html.js .fv__line > span { animation: fv-line 1s var(--ease-out-expo) forwards; animation-delay: calc(.25s + var(--i, 0) * .14s); }
html.js .fv__lbl { opacity: 0; letter-spacing: .6em; animation: fv-track 1.1s var(--ease-out-expo) forwards .05s; }
@keyframes fv-track { to { opacity: 1; letter-spacing: .2em; } }
html.js .fv__sub { opacity: 0; clip-path: inset(0 100% 0 0); animation: fv-wipe .9s var(--ease-out-expo) forwards .75s; }
@keyframes fv-wipe { to { opacity: 1; clip-path: inset(0 0 0 0); } }
html.js .fv__art { opacity: 0; transform: translateX(60px) rotate(-10deg) scale(.6); animation: fv-pop 1.15s var(--ease-pop) forwards .4s; }
@keyframes fv-pop { 60% { opacity: 1; } to { opacity: 1; transform: none; } }
html.js .fv__scroll { animation: fv-fade .8s ease forwards 1.3s; }

/* セクション：ボケ→結像 */
html.js [data-rev] { transform: translateY(36px); filter: blur(10px); transition: opacity .9s ease, transform 1s var(--ease-out-expo), filter .9s ease; }
html.js [data-rev].on, html.js.rev-safe [data-rev] { opacity: 1; transform: none; filter: none; }
/* 直下の要素を順送り（親の .on から） */
html.js [data-rev] > * { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .9s var(--ease-out-expo); }
html.js [data-rev] > :nth-child(2) { transition-delay: .12s; }
html.js [data-rev] > :nth-child(3) { transition-delay: .24s; }
html.js [data-rev] > :nth-child(4) { transition-delay: .36s; }
html.js [data-rev].on > *, html.js.rev-safe [data-rev] > * { opacity: 1; transform: none; }

/* サービス：図版は自分の側から、文字は下から（ex__item は 2列。--rev で図版が左） */
html.js .ex__item > .ex__media { transform: translateX(56px) scale(.96); }
html.js .ex__item--rev > .ex__media { transform: translateX(-56px) scale(.96); }
html.js .ex__item.on > .ex__media { transform: none; }

/* 塊ボタン：順に弾んで出る（hover の transform は .exb 側なので干渉しない） */
html.js .ex__head .exb svg { transform: scale(0); transform-origin: 50% 50%; }
html.js .ex__head .exb span { opacity: 0; }
html.js .ex__head.on .exb svg { animation: exb-pop .75s var(--ease-pop) forwards; }
html.js .ex__head.on .exb span { animation: fv-fade .5s ease forwards; }
html.js .ex__head.on li:nth-child(1) .exb svg, html.js .ex__head.on li:nth-child(1) .exb span { animation-delay: .25s; }
html.js .ex__head.on li:nth-child(2) .exb svg, html.js .ex__head.on li:nth-child(2) .exb span { animation-delay: .37s; }
html.js .ex__head.on li:nth-child(3) .exb svg, html.js .ex__head.on li:nth-child(3) .exb span { animation-delay: .49s; }
html.js .ex__head.on li:nth-child(4) .exb svg, html.js .ex__head.on li:nth-child(4) .exb span { animation-delay: .61s; }
@keyframes exb-pop { to { transform: scale(1); } }
html.js.rev-safe .ex__head .exb svg { transform: none; } html.js.rev-safe .ex__head .exb span { opacity: 1; }

/* 会社概要の表：行を順送り */
html.js .cp__tbl > div { opacity: 0; transform: translateX(24px); transition: opacity .6s ease, transform .7s var(--ease-out-expo); }
html.js .cp__in.on .cp__tbl > div, html.js.rev-safe .cp__tbl > div { opacity: 1; transform: none; }
html.js .cp__in.on .cp__tbl > div:nth-child(2) { transition-delay: .08s; }
html.js .cp__in.on .cp__tbl > div:nth-child(3) { transition-delay: .16s; }
html.js .cp__in.on .cp__tbl > div:nth-child(4) { transition-delay: .24s; }
html.js .cp__in.on .cp__tbl > div:nth-child(5) { transition-delay: .32s; }
html.js .cp__in.on .cp__tbl > div:nth-child(6) { transition-delay: .40s; }

/* 動きを減らす設定＝全部そのまま */
@media (prefers-reduced-motion: reduce) {
  html.js [data-rev], html.js [data-rev] > *, html.js .ex__item > .ex__media, html.js .cp__tbl > div { opacity: 1; transform: none; filter: none; transition: none; }
  html.js .fv__art, html.js .fv__lbl, html.js .fv__sub, html.js .fv__line > span, html.js .fv__scroll { animation: none; opacity: 1; transform: none; clip-path: none; letter-spacing: inherit; }
  html.js .fv__lbl { letter-spacing: .2em; }
  html.js .ex__head .exb svg { transform: none; animation: none; } html.js .ex__head .exb span { opacity: 1; animation: none; }
}

/* FVより下の出現をゆっくり＋遅延（2026-10-09 ボス指示）。FV（.fv__*）は対象外
   ＝セクション本体 1.6s・開始を .25s 遅らせる／中の要素は .25s 刻みで順送り（元 .9s・.12s 刻み） */
html.js [data-rev] { transition: opacity 1.6s ease .25s, transform 1.8s var(--ease-out-expo) .25s, filter 1.6s ease .25s; }
html.js [data-rev] > * { transition: opacity 1.4s ease, transform 1.6s var(--ease-out-expo); transition-delay: .45s; }
html.js [data-rev] > :nth-child(2) { transition-delay: .7s; }
html.js [data-rev] > :nth-child(3) { transition-delay: .95s; }
html.js [data-rev] > :nth-child(4) { transition-delay: 1.2s; }
html.js .ex__item > .ex__media { transition: opacity 1.4s ease .7s, transform 1.8s var(--ease-out-expo) .7s; }
html.js .ex__head.on li:nth-child(1) .exb svg, html.js .ex__head.on li:nth-child(1) .exb span { animation-delay: .7s; }
html.js .ex__head.on li:nth-child(2) .exb svg, html.js .ex__head.on li:nth-child(2) .exb span { animation-delay: .9s; }
html.js .ex__head.on li:nth-child(3) .exb svg, html.js .ex__head.on li:nth-child(3) .exb span { animation-delay: 1.1s; }
html.js .ex__head.on li:nth-child(4) .exb svg, html.js .ex__head.on li:nth-child(4) .exb span { animation-delay: 1.3s; }
html.js .ex__head.on .exb svg { animation-duration: 1.1s; }
html.js .cp__tbl > div { transition: opacity 1.1s ease, transform 1.3s var(--ease-out-expo); transition-delay: .7s; }
html.js .cp__in.on .cp__tbl > div:nth-child(2) { transition-delay: .85s; }
html.js .cp__in.on .cp__tbl > div:nth-child(3) { transition-delay: 1s; }
html.js .cp__in.on .cp__tbl > div:nth-child(4) { transition-delay: 1.15s; }
html.js .cp__in.on .cp__tbl > div:nth-child(5) { transition-delay: 1.3s; }
html.js .cp__in.on .cp__tbl > div:nth-child(6) { transition-delay: 1.45s; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-rev], html.js [data-rev] > *, html.js .ex__item > .ex__media, html.js .cp__tbl > div { transition: none; }
}

/* 表示速度は元に戻す・遅延は維持（2026-10-09 ボス「遅延は今の感じでいい、速度は元に」） */
html.js [data-rev] { transition: opacity .9s ease .25s, transform 1s var(--ease-out-expo) .25s, filter .9s ease .25s; }
html.js [data-rev] > * { transition-property: opacity, transform; transition-duration: .8s, .9s; transition-timing-function: ease, var(--ease-out-expo); }
html.js .ex__item > .ex__media { transition: opacity .8s ease .7s, transform .9s var(--ease-out-expo) .7s; }
html.js .ex__head.on .exb svg { animation-duration: .75s; }
html.js .cp__tbl > div { transition-property: opacity, transform; transition-duration: .6s, .7s; transition-timing-function: ease, var(--ease-out-expo); }
@media (prefers-reduced-motion: reduce) {
  html.js [data-rev], html.js [data-rev] > *, html.js .ex__item > .ex__media, html.js .cp__tbl > div { transition: none; }
}

/* ★訂正：サービス図版の実クラスは .ex__fig（.ex__media は存在しない＝横スライドが効いていなかった・2026-10-09 実測で発見）
   遅延は [data-rev] > :nth-child(2) の .7s を継承 */
html.js .ex__item > .ex__fig { transform: translateX(56px) scale(.96); }
html.js .ex__item--rev > .ex__fig { transform: translateX(-56px) scale(.96); }
html.js .ex__item.on > .ex__fig, html.js.rev-safe .ex__item > .ex__fig { transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .ex__item > .ex__fig { transform: none; transition: none; } }

/* ── MISSION／MESSAGE／CTA帯の上下余白を広げる（2026-10-09 ボス指示「もう少しとりたい」）。PCで約1.4倍・SPは控えめに ── */
.mi   { padding-block: clamp(76px, 9.5vw, 140px); }
.msgb { padding-block: clamp(80px, 10vw, 156px); }
.cta  { padding-block: clamp(76px, 9.5vw, 144px); }

/* ── MESSAGE帯：カラーライン撤去→見出しの下にロゴマークを大きく／本文増量に合わせて左右の高さを揃える（2026-10-09 ボス指示） ── */
.msgb__in { align-items: center; }
.msgb__mark { margin-top: clamp(36px, 4vw, 56px); width: clamp(220px, 26vw, 360px); }
.msgb__mark img { display: block; width: 100%; height: auto; }
.msgb__sub { font-size: clamp(17px, 1.6vw, 20px); font-weight: 700; letter-spacing: .06em; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.2); }
.msgb__body { margin-top: 22px; }
.msgb__body p { font-size: 15px; line-height: 2.1; }
.msgb__body p + p { margin-top: 1em; }
.msgb__sign { margin-top: 32px; }
@media (max-width: 1024px) {
  .msgb__in { align-items: start; }
  .msgb__mark { width: min(220px, 56vw); margin-top: 32px; }
}
@media (max-width: 767px) {
  .msgb__body p { font-size: 14px; }
}

/* ── 02 EXPERTISE の下（04 Trading Desk と MESSAGE帯の間）の余白を広げる／ヘッダー下のグレー線を撤去（2026-10-09 ボス指示）。追従時の影は残す ── */
.ex { padding-bottom: clamp(36px, 5.5vw, 80px); }
.hd { border-bottom: 0; }

/* ── 05 COMPANY の上下余白を MISSION と同じ幅に広げる（2026-10-09 ボス指示） ── */
.cp { padding-block: clamp(76px, 9.5vw, 140px); }

/* ── お問い合わせ：ページ帯の塊イラスト→ロゴマークに差し替え／ご相談サービスのチェックボックス崩れを修正（2026-10-09 ボス指示）
   ★崩れの原因＝後段の汎用ルール .f-row label（太字・block）と .f-row input（枠・padding）が、同じ特異度で .f-check に後勝ちしていた ── */
.ph__art--mark img { display: block; width: 100%; height: auto; }
.f-row .f-check { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14.5px; font-weight: 500; line-height: 1.6; cursor: pointer; }
.f-row .f-check input {
  flex: none; width: 20px; height: 20px; margin: 0; padding: 0;
  border: 0; border-radius: 0; background: none; accent-color: var(--brand); cursor: pointer;
}
.f-row .f-checks { gap: 14px 20px; margin-top: 4px; }

/* スマホ表示の修正（2026-10-09 ボス指示）
   ・黒帯（代表メッセージ）のロゴを中央に
   ・CTA見出しは kit が SP で <br> を消して自動折返し任せ＝「考えませ／んか。」で割れていた
     → 意味の区切り（次の一手を、／一緒に考えませんか。）で改行を固定し、各行が1行に収まるサイズに（ルール21） */
@media (max-width: 1024px) {
  .msgb__mark { margin-left: auto; margin-right: auto; }
  .cta__h br { display: inline; }
  .cta__h { font-size: clamp(22px, 6.4vw, 30px); word-break: keep-all; }
}

/* サービス図版＝ボス支給の生成画像4枚（1536×1024＝3:2）に差し替え（2026-10-09）。枠を画像の比率に合わせて切れないように */
.ex__fig { aspect-ratio: 3 / 2; }
.ex__fig img { display: block; }

/* サービスの「相談する」ボタンを上の塊ボタンと同じ色に（2026-10-09 ボス指示）
   ★文字色：青・マゼンタは白／橙・黄は黒（白だと 橙2.3:1・黄1.1:1 で読めない） */
.ex__item .btn--svc { background: var(--btn-c); border-color: var(--btn-c); color: #fff; }
.ex__item .btn--svc-ink { color: #000; }
.ex__item .btn--svc:hover { filter: brightness(.92); background: var(--btn-c); border-color: var(--btn-c); }
