@charset "utf-8";

/*
 * 業務改善コンサルティング（TOP）専用スタイル
 *
 * scss/_object/_project/_consulting.scss と対になる手書きCSS。
 * このサーバーには compiler/ の Node ビルド環境が無いため、
 * styles.css を再生成せず本ファイルを functions.php から個別に読み込んでいる。
 * SCSS を更新した場合は本ファイルにも同じ内容を反映すること。
 *
 * 出典：入稿データ「リフィード_業務改善ページ_Rev92.html」の <style>（229行）。
 *       原本は /_files/20260812_リフィード_業務改善ページ_Rev92_入稿データ.html（公開遮断済み）。
 *
 * 入稿データからの変更点（2026-08-12）
 * --------------------------------------------------------------------------
 * 1. 全セレクタに .p-consulting を前置してスコープ化した。
 *    Rev92 は .hero .stats .cta のような接頭辞なしの汎用クラス名を使うが、
 *    styles.css 側にこれらの定義は 1 件も無いため（実測）クラス名の衝突は無い。
 *    問題になるのは styles.css の「要素セレクタ」のほうで、下記 3 を参照。
 *    クラス名の BEM リネームは行っていない。Rev.93 以降が入稿されたときに
 *    原本との diff を取れる状態を保つことを優先したため。
 *
 * 2. 削除したもの
 *    ・*{margin:0;padding:0;box-sizing:border-box}  … styles.css の reset が済ませている
 *    ・body{...}                                    … .p-consulting へ移設（font-family は .l-body と同一のため落とした）
 *    ・:root（3 箇所に分散）                         … .p-consulting へ統合。:root は WordPress が
 *                                                     --wp--preset--* を注入するため汚さない
 *    ・.c-banner / .c-bread 系                       … fcvanilla の .c-section-keyvisual / .c-breadcrumb に置換
 *    ・未使用セレクタ（削除済みブロックの残骸）
 *      .value .viewpoint .assignment .field .dsep .theme .lists .data .stmt .stmt2
 *      .hero .kicker / .hero .hnote / .cta .btn--ghost / .stats .close / .outside .close
 *    ・中身が空のコメントブロック（「ヒーロー」「サポートの流れ」ほか計4件）
 *
 * 3. styles.css の要素セレクタを打ち消す規則を追加した（下記「打ち消し」節）
 *    styles.css:58-61   ol,ul{margin-bottom:1.5em;padding-left:1.5em}
 *    styles.css:128-133 p{margin-bottom:1.5em}
 *
 * 4. 入稿データのCSS構文エラーを修正した
 *    原本のコメント「課題18項目の行頭をチェックに」の直下に、セレクタが欠落した宣言ブロック
 *      background:none;border-left:2px solid var(--navy);... transform:rotate(-45deg)}
 *    が残っていた（Rev.86 で18項目ブロックを削除した際の消し残りと思われる）。
 *    CSS パーサはこの箇所から次の「{」までを 1 つのセレクタとして読むため、
 *    直後の  .cta p{max-width:640px;margin-left:auto;margin-right:auto}  が
 *    巻き込まれて丸ごと破棄されていた（＝入稿データでは「お問い合わせ本文の読み幅」が
 *    効いていない）。本ファイルでは欠落ブロックを除去し、.cta p の読み幅を有効にしている。
 *    ※ この 1 点だけは入稿データと見え方が変わる。Rev.60 のコメントに
 *      「お問い合わせ本文の読み幅」と明記された意図どおりの挙動に戻す判断。
 *
 * 5. fcvanilla との接合のために新規に書いた規則（下記「接合」節）
 *    SP（<768px）でヘッダが position:fixed（高さ49px）になるための上余白と、
 *    画面下部固定バー .c-block-fixed の逃げ。
 * --------------------------------------------------------------------------
 */

/* ==========================================================================
   キービジュアル（.p-consulting の外。TOP でのみ読み込まれるため前置は不要）
   fcvanilla 既定の青グラデーションを、リフィードの紺 1 色に上書きする
   ========================================================================== */
.c-section-keyvisual {
  background: #03346e;
}

/* ==========================================================================
   ルート：入稿データの :root（3箇所）と body の指定をここへ集約
   ========================================================================== */
.p-consulting {
  --ink: #141414;
  --txt: #3d3d44;
  --sub: #76767e;
  --line: #e9e9eb;
  --bg: #f6f6f7;
  --navy: #03346e;
  --white: #fff;
  --tint: #eef2f7;
  --tint2: #dbe4f0;
  --line3: #c8d4e4;
  --navyd: #022550;

  color: var(--txt);
  font-size: 16px;
  line-height: 2.05;
  letter-spacing: .05em;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   打ち消し：styles.css の要素セレクタが本文に効いてしまうのを止める
   ========================================================================== */
.p-consulting p { margin-bottom: 0 }
.p-consulting ul { list-style: none; margin: 0; padding: 0 }
.p-consulting ol { margin: 0; padding: 0 }
.p-consulting a { text-decoration: none; color: inherit }

/* ==========================================================================
   共通
   ========================================================================== */
.p-consulting .inner { max-width: 1200px; margin: 0 auto; padding: 0 24px }
.p-consulting :is(h2, h3, h4) { color: var(--ink) }
.p-consulting :is(h2, h3, h4, .s-head) { font-feature-settings: "palt" }
.p-consulting .measure { max-width: 46em }
.p-consulting .vh {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.p-consulting a:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px }
.p-consulting .cta a:focus-visible { outline-color: #fff }

/* ===== セクション見出し ===== */
.p-consulting .s-label {
  font-size: 12px; letter-spacing: .26em; color: var(--navy); font-weight: 700;
  padding-left: 52px; position: relative; display: inline-block;
}
.p-consulting .s-label:before {
  content: ""; position: absolute; background: var(--navy);
  left: 0; height: 1px; width: 36px; top: 50%; transform: translateY(-50%);
}
.p-consulting .s-head { font-size: 36px; line-height: 1.45; letter-spacing: .08em; font-weight: 700; margin-top: 18px }
.p-consulting .sec { padding: 128px 0 }
.p-consulting .sec--gray { background: var(--bg) }
.p-consulting .sec p.txt { margin-top: 22px }

/* ==========================================================================
   1 ヒーロー
   ========================================================================== */
.p-consulting .hero { padding: 120px 0 116px }
.p-consulting .hero .hgrid { display: flex; gap: 80px; align-items: center; margin-top: 40px }
.p-consulting .hero .left { flex: 1 1 58%; min-width: 0 }
.p-consulting .hero .himg { flex: 1 1 42%; min-width: 0 }
.p-consulting .hero .heroimg { width: 100%; height: auto; display: block }
.p-consulting .hero h2 { font-size: 44px; line-height: 1.5; letter-spacing: .03em; font-weight: 700; color: var(--ink); margin-top: 12px }
.p-consulting .hero .sub { margin-top: 22px; font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: .08em; line-height: 1.85 }
.p-consulting .hero p.txt { margin-top: 26px; font-size: 15px; line-height: 2.15 }
.p-consulting .hero .hbtn {
  display: inline-block; margin-top: 38px; background: var(--navy); color: #fff;
  padding: 20px 56px; border-radius: 2px; font-size: 15px; font-weight: 700; letter-spacing: .15em;
}

/* ==========================================================================
   2 中小企業の現状（紺ベタ・データ）
   ========================================================================== */
.p-consulting .stats { background: var(--navy); color: #fff; padding: 120px 0 }
.p-consulting .stats .s-label { color: rgba(255,255,255,.8) }
.p-consulting .stats .s-label:before { background: rgba(255,255,255,.8) }
.p-consulting .stats h3 { font-size: 38px; line-height: 1.55; letter-spacing: .08em; font-weight: 700; margin-top: 20px; color: #fff }
.p-consulting .stats .lead { display: flex; gap: 64px; align-items: flex-start; margin-top: 46px }
.p-consulting .stats .big { flex-shrink: 0; width: 300px }
.p-consulting .stats .big .num { font-size: 88px; font-weight: 700; line-height: 1; letter-spacing: .02em; color: #fff }
.p-consulting .stats .big .num i { font-style: normal; font-size: 40px; margin-left: 4px }
.p-consulting .stats .big .cap {
  margin-top: 18px; font-size: 14px; line-height: 1.95; color: rgba(255,255,255,.88);
  border-top: 1px solid rgba(255,255,255,.45); padding-top: 16px;
}
.p-consulting .stats .body { flex: 1; min-width: 0 }
.p-consulting .stats .body p { font-size: 15.5px; line-height: 2.25; color: rgba(255,255,255,.92); margin-top: 22px }
.p-consulting .stats .body p:first-child { margin-top: 0 }
.p-consulting .stats .body p em { font-style: normal; color: #fff; font-weight: 700 }
.p-consulting .stats .chart { margin-top: 56px }
.p-consulting .stats .chart svg { width: 100%; height: auto; display: block }
.p-consulting .stats .chart .c-narrow { display: none }
.p-consulting .stats .src {
  margin-top: 26px; font-size: 12px; line-height: 2.0; color: rgba(255,255,255,.72);
  border-top: 1px solid rgba(255,255,255,.28); padding-top: 20px;
}
.p-consulting .stats .src b { color: rgba(255,255,255,.92); font-weight: 700; margin-right: 2px }
.p-consulting .stats .src a { color: #fff; text-decoration: underline; text-underline-offset: 3px }
.p-consulting .stats .src a:hover { text-decoration-thickness: 2px }

/* ==========================================================================
   3 外部活用
   ========================================================================== */
.p-consulting .outside { padding: 104px 0 }
.p-consulting .outside .grid { display: flex; gap: 0; margin-top: 52px; border-top: 1px solid var(--ink) }
.p-consulting .outside .o { flex: 1; padding: 36px 40px 34px 0; box-sizing: border-box }
.p-consulting .outside .o + .o { padding-left: 40px; border-left: 1px solid var(--line) }
.p-consulting .outside .o h4 { font-size: 20px; font-weight: 700; letter-spacing: .08em; line-height: 1.5 }
.p-consulting .outside .o p { font-size: 14px; line-height: 2.05; margin-top: 16px; color: var(--txt) }
.p-consulting .outside .o .oicon { display: block; margin-bottom: 18px }
.p-consulting .outside .o .oicon svg { width: 46px; height: 46px; display: block }
.p-consulting .outside .src {
  margin-top: 26px; font-size: 12px; line-height: 1.95; color: var(--sub);
  border-top: 1px solid var(--line); padding-top: 18px;
}

/* ==========================================================================
   4 解決できる課題（Rev.92 具体例12件）
   ========================================================================== */
.p-consulting .cases { display: flex; gap: 44px; margin-top: 56px; align-items: stretch }
.p-consulting .cases .axis {
  flex: 0 0 92px; display: flex; flex-direction: column;
  align-items: center; justify-content: space-between; padding: 2px 0;
}
.p-consulting .cases .axis .al { font-size: 11.5px; letter-spacing: .14em; color: var(--navy); font-weight: 700; white-space: nowrap }
.p-consulting .cases .axis .rail { flex: 1; width: 1px; background: var(--line3); position: relative; margin: 16px 0 }
.p-consulting .cases .axis .rail i {
  position: absolute; left: 50%; transform: translate(-50%, -50%);
  background: var(--navy); border-radius: 50%; display: block;
}
.p-consulting .cases .axis .rail i:nth-child(1) { width: 5px;  height: 5px }
.p-consulting .cases .axis .rail i:nth-child(2) { width: 7px;  height: 7px }
.p-consulting .cases .axis .rail i:nth-child(3) { width: 9px;  height: 9px }
.p-consulting .cases .axis .rail i:nth-child(4) { width: 11px; height: 11px }
.p-consulting .cases .grid12 {
  flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.p-consulting .cases .c { background: #fff; padding: 24px 22px 26px; transition: background .25s }
.p-consulting .cases .c:hover { background: var(--tint) }
.p-consulting .cases .c .cno {
  display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px;
  background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .03em;
}
.p-consulting .cases .c p { margin-top: 14px; font-size: 14.5px; line-height: 1.9; color: var(--txt) }
.p-consulting .tiers p.note { margin-top: 40px; font-size: 14.5px; line-height: 2.05; color: var(--txt) }

/* ==========================================================================
   5 進め方（Rev.83 縦一列・連続する軸線）
   ========================================================================== */
.p-consulting .flow .steps { margin-top: 52px }
.p-consulting .flow .stepitem { position: relative; display: flex; gap: 44px; padding: 0 0 40px }
.p-consulting .flow .stepitem:last-child { padding-bottom: 0 }
.p-consulting .flow .stepitem:before {
  content: ""; position: absolute; left: 19px; top: 46px; bottom: -2px;
  width: 1px; background: var(--line3);
}
.p-consulting .flow .stepitem:last-child:before { display: none }
.p-consulting .flow .stepitem .shead { flex: 0 0 300px; display: flex; align-items: flex-start; gap: 20px; min-width: 0 }
.p-consulting .flow .stepitem .no b {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; background: var(--navy); color: #fff;
  font-size: 16px; font-weight: 700; letter-spacing: .04em; flex: 0 0 38px;
}
.p-consulting .flow .stepitem h4 { font-size: 20px; letter-spacing: .06em; line-height: 1.55; padding-top: 6px }
.p-consulting .flow .stepitem .sbody { flex: 1; min-width: 0; max-width: 620px; padding-top: 4px }
.p-consulting .flow .stepitem .sbody .txt { margin-top: 0 }
.p-consulting .flow .stepitem .sbody .txt2 { margin-top: 10px; font-size: 13.5px; color: var(--sub); line-height: 2 }

.p-consulting .midcta { text-align: center; margin-top: 52px }
.p-consulting .midcta a {
  display: inline-block; background: var(--navy); color: #fff;
  padding: 21px 64px; font-size: 15px; font-weight: 700; letter-spacing: .15em;
}

/* ==========================================================================
   6 お問い合わせ
   ========================================================================== */
.p-consulting .cta { background: var(--navy); color: #fff; text-align: center; padding: 144px 0 }
.p-consulting .cta .ctamark { width: 120px; height: 62px; display: block; margin: 0 auto 26px }
.p-consulting .cta .s-label2 { font-size: 13px; letter-spacing: .2em; color: rgba(255,255,255,.75); font-weight: 700 }
.p-consulting .cta h3 { font-size: 38px; letter-spacing: .14em; font-weight: 700; margin-top: 16px; color: #fff }
.p-consulting .cta p { margin-top: 16px; font-size: 15px; color: rgba(255,255,255,.92); max-width: 640px; margin-left: auto; margin-right: auto }
.p-consulting .cta .gets { margin-top: 44px }
.p-consulting .cta .gets .gcap { font-size: 13px; color: rgba(255,255,255,.75); letter-spacing: .12em }
.p-consulting .cta .gets ul { display: flex; gap: 16px; justify-content: center; margin-top: 18px }
.p-consulting .cta .gets li {
  border: 1px solid rgba(255,255,255,.55); border-radius: 2px;
  padding: 13px 30px; font-size: 14px; font-weight: 700; letter-spacing: .06em;
}
.p-consulting .cta .btns { display: flex; gap: 20px; justify-content: center; margin-top: 44px }
.p-consulting .cta .btn {
  display: inline-block; min-width: 280px; padding: 21px 36px; border-radius: 2px;
  font-size: 15px; letter-spacing: .15em; font-weight: 700;
}
.p-consulting .cta .btn--white { background: #fff; color: var(--navy) }
.p-consulting .cta .tel { margin-top: 26px; font-size: 13px; color: rgba(255,255,255,.8); letter-spacing: .06em }

/* ==========================================================================
   ボタンの操作感
   ========================================================================== */
.p-consulting .hero .hbtn,
.p-consulting .midcta a,
.p-consulting .cta .btn { transition: background .2s, color .2s, border-color .2s }
.p-consulting .hero .hbtn:hover,
.p-consulting .midcta a:hover { background: var(--navyd) }
.p-consulting .cta .btn--white:hover { background: var(--tint) }
.p-consulting .hero .hbtn:after,
.p-consulting .midcta a:after,
.p-consulting .cta .btn:after {
  content: ""; display: inline-block; width: 7px; height: 7px;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor;
  transform: rotate(45deg); margin-left: 14px; vertical-align: 2px;
}

/* ==========================================================================
   入稿データのブレークポイント（860px）
   ========================================================================== */
@media (max-width: 860px) {
  .p-consulting .measure { max-width: none }
  .p-consulting .s-head { font-size: 27px }

  .p-consulting .hero .hgrid { flex-direction: column; gap: 40px }
  .p-consulting .hero h2 { font-size: 25px }
  .p-consulting .hero .sub { font-size: 16px }

  .p-consulting .stats { padding: 80px 0 }
  .p-consulting .stats h3 { font-size: 24px }
  .p-consulting .stats .lead { flex-direction: column; gap: 32px }
  .p-consulting .stats .big { width: auto }
  .p-consulting .stats .big .num { font-size: 62px }
  .p-consulting .stats .chart .c-wide { display: none }
  .p-consulting .stats .chart .c-narrow { display: block; max-width: 440px }

  .p-consulting .outside { padding: 72px 0 }
  .p-consulting .outside .grid { flex-direction: column }
  .p-consulting .outside .o { padding: 28px 0 }
  .p-consulting .outside .o + .o { padding-left: 0; border-left: 0; border-top: 1px solid var(--line) }
  .p-consulting .outside .o .oicon svg { width: 42px; height: 42px }

  .p-consulting .cases { flex-direction: column; gap: 16px }
  .p-consulting .cases .axis { flex: none; flex-direction: row; width: 100%; justify-content: space-between; align-items: center; padding: 0 }
  .p-consulting .cases .axis .rail { flex: 1; width: auto; height: 1px; margin: 0 14px }
  .p-consulting .cases .axis .rail i { display: none }
  .p-consulting .cases .grid12 { grid-template-columns: 1fr }
  .p-consulting .cases .c { padding: 20px 18px 22px }

  .p-consulting .flow .stepitem { flex-direction: column; gap: 12px; padding-bottom: 34px }
  .p-consulting .flow .stepitem .shead { flex: none }
  .p-consulting .flow .stepitem .sbody { max-width: none; padding-left: 58px }

  .p-consulting .cta h3 { font-size: 26px }
  .p-consulting .cta .btns { flex-direction: column; align-items: center }
  .p-consulting .cta .gets ul { flex-direction: column; align-items: center }
}

/* ==========================================================================
   接合：fcvanilla のブレークポイント（768px）側の事情
   SP ではヘッダが position:fixed（高さ 49px）になり、
   画面下部に .c-block-fixed（固定バー）が出るため、その分の逃げを取る。
   ========================================================================== */
@media only screen and (max-width: 767px) {
  .p-consulting { padding-top: 49px }
  .p-consulting .cta { padding-bottom: 160px }
}

/* 2026-08-16 トップ再設計 追加分 */
/* ==========================================================================
   ハブ構成の追加部品（top_design.md §5）
   既存定義は削除していない（旧「外部活用」.outside・手順詳細 .flow .steps の
   規則もフォールバックと将来の復活に備えて残置。rules §6-10）。
   対の scss/_object/_project/_consulting.scss にも必ず同時反映すること。
   ========================================================================== */

/* --- 悩みカード（S2 .pain） --- */
.p-consulting .pain .plist { display: flex; gap: 24px; margin-top: 52px }
.p-consulting .pain .p { flex: 1; min-width: 0; background: #fff; border: 1px solid var(--line); padding: 30px 28px 32px }
.p-consulting .pain .p h4 { font-size: 18px; font-weight: 700; letter-spacing: .06em; line-height: 1.6 }
.p-consulting .pain .p p { margin-top: 14px; font-size: 14px; line-height: 2.05; color: var(--txt) }
.p-consulting .pain .pclose { margin-top: 36px; font-size: 15px }

/* --- 類型カード（S4 .types） --- */
.p-consulting .types .tgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 52px }
.p-consulting .types .t { background: #fff; border: 1px solid var(--line); padding: 30px 28px 32px; transition: background .25s }
.p-consulting .types .t:hover { background: var(--tint) }
.p-consulting .types .t .tno {
  display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px;
  background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .03em;
}
.p-consulting .types .t h4 { margin-top: 14px; font-size: 19px; font-weight: 700; letter-spacing: .06em; line-height: 1.6 }
.p-consulting .types .t p { margin-top: 12px; font-size: 14px; line-height: 2.05; color: var(--txt) }

/* --- 手順チップ（S5 .flowsum） --- */
.p-consulting .flowsum .fsteps { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 48px }
.p-consulting .flowsum .fsteps li {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line); padding: 12px 24px 12px 12px;
  font-size: 14.5px; font-weight: 700; letter-spacing: .05em; color: var(--ink);
}
.p-consulting .flowsum .fsteps li b {
  display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
  background: var(--navy); color: #fff; font-size: 12.5px; font-weight: 700; flex: 0 0 30px;
}
.p-consulting .flowsum .fclose { margin-top: 32px; font-size: 15px }

/* --- 強み要約カード（S6 .strsum。.outside の 3 列罫線型を踏襲） --- */
.p-consulting .strsum .grid3 { display: flex; gap: 0; margin-top: 52px; border-top: 1px solid var(--ink) }
.p-consulting .strsum .st { flex: 1; min-width: 0; padding: 34px 40px 32px 0; box-sizing: border-box }
.p-consulting .strsum .st + .st { padding-left: 40px; border-left: 1px solid var(--line) }
.p-consulting .strsum .st .sno { font-size: 13px; font-weight: 700; letter-spacing: .18em; color: var(--navy) }
.p-consulting .strsum .st h4 { margin-top: 10px; font-size: 20px; font-weight: 700; letter-spacing: .07em; line-height: 1.55 }
.p-consulting .strsum .st p { margin-top: 14px; font-size: 14px; line-height: 2.05; color: var(--txt) }

/* --- FAQ 抜粋（S8 .qa） --- */
.p-consulting .qa .qlist { margin-top: 48px; border-top: 1px solid var(--line) }
.p-consulting .qa .qitem { border-bottom: 1px solid var(--line); padding: 28px 0 30px }
.p-consulting .qa .qitem h4 { display: flex; align-items: flex-start; gap: 14px; font-size: 17px; font-weight: 700; letter-spacing: .05em; line-height: 1.8 }
.p-consulting .qa .qitem h4 b {
  display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
  background: var(--navy); color: #fff; font-size: 14px; flex: 0 0 30px; margin-top: 2px;
}
.p-consulting .qa .qitem .qa-a { margin-top: 12px; padding-left: 44px; font-size: 14.5px; line-height: 2.05; color: var(--txt) }

/* --- サブページ誘導ボタン（相談 CTA と描き分ける枠線型） --- */
.p-consulting .morebtn { text-align: center; margin-top: 52px }
.p-consulting .morebtn a {
  display: inline-block; background: #fff; color: var(--navy); border: 2px solid var(--navy);
  padding: 18px 54px; border-radius: 2px; font-size: 15px; font-weight: 700; letter-spacing: .15em;
  transition: background .2s, color .2s;
}
.p-consulting .morebtn a:hover { background: var(--navy); color: #fff }
.p-consulting .morebtn a:after {
  content: ""; display: inline-block; width: 7px; height: 7px;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor;
  transform: rotate(45deg); margin-left: 14px; vertical-align: 2px;
}

/* --- 860px（既存ブレークポイントに合わせる） --- */
@media (max-width: 860px) {
  .p-consulting .pain .plist { flex-direction: column; gap: 14px }
  .p-consulting .types .tgrid { grid-template-columns: 1fr; gap: 14px }
  .p-consulting .flowsum .fsteps li { width: 100%; box-sizing: border-box }
  .p-consulting .strsum .grid3 { flex-direction: column }
  .p-consulting .strsum .st { padding: 26px 0 }
  .p-consulting .strsum .st + .st { padding-left: 0; border-left: 0; border-top: 1px solid var(--line) }
  .p-consulting .qa .qitem .qa-a { padding-left: 0 }
  .p-consulting .morebtn a { display: block; padding: 18px 24px }
}

/* 2026-08-16 トップビジュアル改修 追加分 */
/* ==========================================================================
   トップビジュアル改修（design.md §4）
   keyframes floatUpDown / floatDrift / floatTilt は styles.css 6809-6843 の
   グローバル定義を参照する（再定義しない）。
   対の scss/_object/_project/_consulting.scss にも必ず同時反映すること。
   ========================================================================== */

/* --- S1 ヒーロー: CTA 2 本 --- */
.p-consulting .hero .hbtns { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 38px }
.p-consulting .hero .hbtns .hbtn { margin-top: 0 }
.p-consulting .hero .hbtn--line {
  background: #fff; color: var(--navy); border: 2px solid var(--navy);
  padding: 18px 44px;   /* 枠線 2px の分だけ詰めて紺ベタと同じ高さに */
}
.p-consulting .hero .hbtn--line:hover { background: var(--navy); color: #fff }

/* --- S1 ヒーロー: 浮遊ビジュアル --- */
.p-consulting .hero .himg { position: relative }
.p-consulting .hero .heroimg { animation: floatUpDown 4.2s ease-in-out infinite }
.p-consulting .hero .hobj { position: absolute; display: block; animation: floatDrift 4s ease-in-out infinite }
.p-consulting .hero .hobj img { display: block; width: 100%; height: auto }
.p-consulting .hero .hobj--01 { width: 92px; top: -8%;  left: -6%;  animation-duration: 5.2s }                     /* 雲 */
.p-consulting .hero .hobj--02 { width: 68px; top: 2%;   right: -4%; animation-name: floatTilt; animation-duration: 4.6s; animation-delay: .5s } /* 吹き出し */
.p-consulting .hero .hobj--03 { width: 76px; bottom: 2%; left: -2%;  animation-delay: 1s }                          /* フォルダ */

/* --- S2 お悩み: 幾何学装飾（analog の decor-pattern の紺系翻案。
       浮遊は scripts.js の .js-float-item に任せる） --- */
.p-consulting .pain { position: relative; overflow: hidden }
.p-consulting .pain .inner { position: relative; z-index: 1 }
.p-consulting .pdecor { position: absolute; inset: 0; pointer-events: none }
.p-consulting .pdecor__i { position: absolute; display: block; will-change: transform }
.p-consulting .pdecor__i--sq  { width: 10px; height: 10px }
.p-consulting .pdecor__i--bar { width: 50px; height: 10px }
.p-consulting .pdecor__i--navy { background: rgba(3,52,110,.28) }
.p-consulting .pdecor__i--tint { background: var(--tint2) }
.p-consulting .pdecor__i--line { background: var(--line3) }
.p-consulting .pdecor__i:nth-child(1)  { top: 8%;  left: 4% }
.p-consulting .pdecor__i:nth-child(2)  { top: 22%; left: 12% }
.p-consulting .pdecor__i:nth-child(3)  { top: 12%; left: 46% }
.p-consulting .pdecor__i:nth-child(4)  { top: 6%;  left: 72% }
.p-consulting .pdecor__i:nth-child(5)  { top: 26%; left: 90% }
.p-consulting .pdecor__i:nth-child(6)  { top: 44%; left: 6% }
.p-consulting .pdecor__i:nth-child(7)  { top: 52%; left: 94% }
.p-consulting .pdecor__i:nth-child(8)  { top: 68%; left: 3% }
.p-consulting .pdecor__i:nth-child(9)  { top: 76%; left: 88% }
.p-consulting .pdecor__i:nth-child(10) { top: 90%; left: 16% }
.p-consulting .pdecor__i:nth-child(11) { top: 88%; left: 55% }
.p-consulting .pdecor__i:nth-child(12) { top: 94%; left: 78% }

/* --- S2 お悩み: 絵カード化と受けの帯 --- */
.p-consulting .pain .p { display: flex; flex-direction: column; text-align: left }
.p-consulting .pain .pimg {
  display: flex; align-items: center; justify-content: center;
  height: 150px; background: var(--tint); margin: -30px -28px 20px;  /* カードの padding を打ち消して全幅の絵帯に */
}
.p-consulting .pain .pimg img { width: auto; height: 118px }
.p-consulting .pain .pno {
  display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px;
  background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .03em;
  margin-bottom: 12px; align-self: flex-start;
}
.p-consulting .pain .pclose {
  position: relative; margin-top: 56px; background: #fff; border: 1px solid var(--line);
  border-left: 3px solid var(--navy); padding: 26px 30px;
}
.p-consulting .pain .pclose:before {   /* カード列からの下向き矢羽根 */
  content: ""; position: absolute; top: -32px; left: 50%; width: 12px; height: 12px;
  border-right: 2px solid var(--line3); border-bottom: 2px solid var(--line3);
  transform: translateX(-50%) rotate(45deg);
}

/* --- S5 強み: 絵入り 3 カード（.grid3 の後継。旧定義は残置） --- */
.p-consulting .strsum .scards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 52px }
.p-consulting .strsum .sc { background: #fff; border: 1px solid var(--line); transition: background .25s; display: flex; flex-direction: column }
.p-consulting .strsum .sc:hover { background: var(--tint) }
.p-consulting .strsum .sc .simg {
  display: flex; align-items: center; justify-content: center;
  height: 160px; background: var(--tint); border-bottom: 1px solid var(--line);
}
.p-consulting .strsum .sc .simg img { width: auto; height: 120px }
.p-consulting .strsum .sc .sbody { padding: 26px 28px 30px }
.p-consulting .strsum .sc .sno {
  display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px;
  background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .03em;
}
.p-consulting .strsum .sc h4 { margin-top: 14px; font-size: 19px; font-weight: 700; letter-spacing: .06em; line-height: 1.6 }
.p-consulting .strsum .sc p { margin-top: 12px; font-size: 14px; line-height: 2.05; color: var(--txt) }

/* --- S6 進め方: チップ間の矢羽根コネクタ --- */
.p-consulting .flowsum .fsteps { gap: 14px 34px }
.p-consulting .flowsum .fsteps li { position: relative }
.p-consulting .flowsum .fsteps li:not(:last-child):after {
  content: ""; position: absolute; right: -23px; top: 50%; width: 9px; height: 9px;
  border-top: 2px solid var(--line3); border-right: 2px solid var(--line3);
  transform: translateY(-50%) rotate(45deg);
}

/* --- 動きを止める配慮（styles.css は .p-section-top-hero__object にしか
       reduced-motion を当てていないため、自前分はここで止める） --- */
@media (prefers-reduced-motion: reduce) {
  .p-consulting .hero .heroimg,
  .p-consulting .hero .hobj { animation: none }
}

/* --- 860px（入稿データ由来ブレークポイント） --- */
@media (max-width: 860px) {
  .p-consulting .hero .hbtns { flex-direction: column; align-items: stretch }
  .p-consulting .hero .hbtn, .p-consulting .hero .hbtn--line { display: block; text-align: center }
  .p-consulting .hero .himg { padding: 0 8% }             /* 小物のはみ出し余白を確保 */
  .p-consulting .hero .hobj--01 { width: 64px; left: 0 }
  .p-consulting .hero .hobj--02 { width: 48px; right: 0 }
  .p-consulting .hero .hobj--03 { display: none }          /* SP は小物 2 点に間引き（shiyou の --03 非表示と同じ流儀） */
  .p-consulting .pain .pimg { height: 130px; margin: -30px -28px 18px }
  .p-consulting .pain .pimg img { height: 100px }
  .p-consulting .pain .pclose { margin-top: 44px }
  .p-consulting .strsum .scards { grid-template-columns: 1fr; gap: 14px }
  .p-consulting .strsum .sc .simg { height: 140px }
  .p-consulting .flowsum .fsteps { gap: 14px }
  .p-consulting .flowsum .fsteps li:not(:last-child):after { display: none }  /* 縦積みでは矢印を消す（現行 width:100% を維持） */
}

/* 2026-08-16 メインビジュアル写真化 追加分（mission_img.jpg 由来、GD で 4:3 切出し） */
.p-consulting .hero .hgrid { gap: 56px }
.p-consulting .hero .left { flex: 1 1 52% }
.p-consulting .hero .himg { flex: 1 1 48% }
.p-consulting .hero .heroimg--photo img { width: 100%; height: auto; display: block; border-radius: 20px; box-shadow: 0 30px 60px -24px rgba(3, 52, 110, .38) }
@media (max-width: 767px) {
  .p-consulting .hero .heroimg--photo img { border-radius: 14px }
}

/* 2026-08-16 フルビューヒーロー 追加分 */
/* ==========================================================================
   S1 ヒーローを reform.ie-pro.net 型のフルビューヒーローへ刷新（hero_design.md）。
   ・タイトル帯（c-section-keyvisual）はトップ本文から除去、hero 見出しを h1 に昇格
     （59-61 行の keyvisual 上書きは下層想定が無いため死文になるが残置）
   ・keyframes floatDrift / floatUpDown / floatTilt は styles.css 6809-6843 の
     グローバル定義を参照する（再定義しない）
   ・css 直編集運用（Node 未導入のため SCSS ビルド不可）。
   ========================================================================== */

/* --- 見出しタグ付け替えの追従（h2→h1 昇格・h3→h2 / h4→h3 繰り下げ） --- */
.p-consulting h1 { color: var(--ink); font-feature-settings: "palt" }
.p-consulting .stats h2 { font-size: 38px; line-height: 1.55; letter-spacing: .08em; font-weight: 700; margin-top: 20px; color: #fff }
.p-consulting .cta h2 { font-size: 38px; letter-spacing: .14em; font-weight: 700; margin-top: 16px; color: #fff }
.p-consulting .pain .p h3 { font-size: 18px; font-weight: 700; letter-spacing: .06em; line-height: 1.6 }
.p-consulting .types .t h3 { margin-top: 14px; font-size: 19px; font-weight: 700; letter-spacing: .06em; line-height: 1.6 }
.p-consulting .strsum .sc h3 { margin-top: 14px; font-size: 19px; font-weight: 700; letter-spacing: .06em; line-height: 1.6 }
.p-consulting .qa .qitem h3 { display: flex; align-items: flex-start; gap: 14px; font-size: 17px; font-weight: 700; letter-spacing: .05em; line-height: 1.8 }
.p-consulting .qa .qitem h3 b {
  display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
  background: var(--navy); color: #fff; font-size: 14px; flex: 0 0 30px; margin-top: 2px;
}

/* --- フルビュー化本体 --- */
.p-consulting .hero {
  padding: 24px 0 48px;
  box-sizing: border-box;
  min-height: 640px;                              /* max() 非対応ブラウザ用の下限 */
  min-height: max(640px, calc(100vh - 0.85rem));  /* 0.85rem = PC ヘッダー高（styles.css .l-header__wrapper） */
  min-height: max(640px, calc(100svh - 0.85rem)); /* svh 対応ブラウザはこちらが勝つ */
  display: flex;
  align-items: center;
  overflow: hidden;   /* 浮遊物のはみ出しをヒーロー内で完結させ横スクロールを防ぐ */
  background: var(--white);
}
.p-consulting .hero .inner {
  max-width: none;    /* 全幅ヒーロー（reform の l-wrapper: 100%-2rem 相当） */
  width: 100%;
  padding: 0 clamp(24px, 4vw, 64px);
}
.p-consulting .hero .hgrid { gap: clamp(32px, 4vw, 72px); margin-top: 28px }
.p-consulting .hero .left { flex: 1 1 56% }
.p-consulting .hero .himg {
  flex: 1 1 44%;
  margin-right: calc(-1 * clamp(24px, 4vw, 64px));  /* 写真を右端まで裁ち落とし */
}

/* --- 左カラム: 大型タイポグラフィと階層 --- */
.p-consulting .hero h1 {
  margin: 12px 0 0;                    /* styles.css の h1 { margin-bottom: 1.5em } を打ち消す */
  font-size: clamp(34px, 4.3vw, 66px); /* 最長行12字が 56% カラムで折り返さない上限（§3） */
  line-height: 1.24;
  letter-spacing: .02em;
  font-weight: 700;
  color: var(--ink);
}
.p-consulting .hero .sub {
  margin-top: 26px;
  font-size: clamp(16px, 1.5vw, 22px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .08em;
  line-height: 1.85;
}
.p-consulting .hero p.txt { margin-top: 22px; font-size: 15px; line-height: 2.1; max-width: 34em }
.p-consulting .hero .hbtns { margin-top: 40px }

/* --- 写真の主役化 --- */
.p-consulting .hero .heroimg { animation: none }  /* 大判化に伴い写真は静止。動きは浮遊物へ集約 */
.p-consulting .hero .heroimg--photo img {
  width: 100%;
  height: clamp(440px, 62vh, 660px);
  height: clamp(440px, 62svh, 660px);
  object-fit: cover;
  border-radius: 20px 0 0 20px;       /* 右辺は裁ち落としのため角丸なし */
  box-shadow: 0 30px 60px -24px rgba(3, 52, 110, .38);
}

/* --- 浮遊オブジェクト 7 点（reform 方式: %絶対配置 + vw 幅 + 負 delay 分散。§4 の表） --- */
.p-consulting .hero .hobj { will-change: transform }
.p-consulting .hero .hobj--01 { top: -7%;  left: -11%; right: auto; bottom: auto; width: 6vw;   min-width: 60px;  animation: floatDrift 6.6s ease-in-out infinite }          /* hero_02 雲 */
.p-consulting .hero .hobj--02 { top: -10%; left: 74%;  right: auto; bottom: auto; width: 4.2vw; min-width: 44px;  animation: floatTilt 6s ease-in-out -0.6s infinite }       /* hero_06 吹き出し */
.p-consulting .hero .hobj--03 { top: 74%;  left: -9%;  right: auto; bottom: auto; width: 5.4vw; min-width: 56px;  animation: floatDrift 7.2s ease-in-out -1.2s infinite reverse } /* hero_05 フォルダ */
.p-consulting .hero .hobj--04 { top: 20%;  left: -13%; right: auto; bottom: auto; width: 3.8vw; min-width: 40px;  animation: floatDrift 6s ease-in-out -2.4s infinite reverse }   /* hero_09 スマホ（奥・ぼかし） */
.p-consulting .hero .hobj--05 { top: -15%; left: 32%;  right: auto; bottom: auto; width: 5vw;   min-width: 52px;  animation: floatUpDown 7.8s ease-in-out -1.8s infinite }   /* hero_13 タブレット（奥・ぼかし） */
.p-consulting .hero .hobj--06 { top: 84%;  left: 28%;  right: auto; bottom: auto; width: 7vw;   min-width: 72px;  animation: floatUpDown 6.6s ease-in-out -3s infinite }     /* hero_04 雲 */
.p-consulting .hero .hobj--07 { top: 58%;  left: 60%;  right: auto; bottom: auto; width: 11vw;  min-width: 120px; animation: floatDrift 7.8s ease-in-out -3.6s infinite }    /* hero_10 ノートPC（手前・主役級） */

/* --- 860px（入稿データ由来 BP）: 縦積み（文言 → 写真）。浮遊物は 3 点に間引き --- */
@media (max-width: 860px) {
  .p-consulting .hero { min-height: 0; padding: 32px 0 56px }
  .p-consulting .hero .inner { padding: 0 24px }
  .p-consulting .hero .hgrid { margin-top: 20px }
  .p-consulting .hero .himg { margin-right: 0; padding: 0 6% }
  .p-consulting .hero h1 { font-size: clamp(27px, 7.4vw, 34px) }
  .p-consulting .hero .sub { font-size: 16px }
  .p-consulting .hero p.txt { max-width: none }
  .p-consulting .hero .heroimg--photo img { height: auto; border-radius: 14px }
  .p-consulting .hero .hobj--01 { width: 15vw; min-width: 0; top: -6%; left: -2% }
  .p-consulting .hero .hobj--02 { width: 11vw; min-width: 0; top: -9%; left: 82% }
  .p-consulting .hero .hobj--07 { width: 20vw; min-width: 0; top: 66%; left: 70% }
  .p-consulting .hero .hobj--03,
  .p-consulting .hero .hobj--04,
  .p-consulting .hero .hobj--05,
  .p-consulting .hero .hobj--06 { display: none }
  .p-consulting .stats h2 { font-size: 24px }
  .p-consulting .cta h2 { font-size: 26px }
}

/* --- 767px（fcvanilla 側 BP）: fixed ヘッダーの残り全高を下限に。
       上方向の逃げは既存の .p-consulting { padding-top: 49px }（330-333 行）が担う --- */
@media (max-width: 767px) {
  .p-consulting .hero {
    min-height: calc(100vh - 49px);
    min-height: calc(100svh - 49px);
  }
}

/* --- 動きを止める配慮（再宣言）: 629-635 行の .hobj--01〜--07 が同詳細度(0,3,0)で
       518 行のガードを上書きするため、ファイル末尾で再度 animation を無効化する --- */
@media (prefers-reduced-motion: reduce) {
  .p-consulting .hero .heroimg,
  .p-consulting .hero .hobj { animation: none }
}

/* 2026-08-16 デザイン仕上げ 追加分（audit_desktop.md / audit_mobile.md 対応）
   ==========================================================================
   既存セレクタは削除せず、末尾追記の上書きのみで調整する。
   コメントの指摘番号は audit_desktop.md（A/B/C）・audit_mobile.md（M）に対応。
   ========================================================================== */

/* polish: A-1 中間CTA（無料で相談する）単独セクションの空洞帯を圧縮。
   :has() 非対応環境では現状表示のまま（劣化なし） */
.p-consulting .sec:has(> .inner > .midcta) { padding: 64px 0 }
.p-consulting .sec:has(> .inner > .midcta) .midcta { margin-top: 0 }

/* polish: A-2 861-1200px 帯でヒーロー浮遊小物が本文に接触するのを回避 */
@media (min-width: 861px) and (max-width: 1200px) {
  .p-consulting .hero .hobj--04 { display: none }   /* ガター幅より大きいため間引く */
  .p-consulting .hero .hobj--03 { left: -2% }       /* 写真の縁へ退避 */
  .p-consulting .hero .hobj--01 { left: -6%; top: -10% }  /* h1 末尾との接近を解消 */
}

/* polish: A-3 進め方チップの折返し行末に残る孤立矢羽根を消す
   （941px 以上は 04 の後、861-940px は 03 の後で折り返す実測に基づく） */
@media (min-width: 941px) {
  .p-consulting .flowsum .fsteps li:nth-child(4):after { display: none }
}
@media (min-width: 861px) and (max-width: 940px) {
  .p-consulting .flowsum .fsteps li:nth-child(3):after,
  .p-consulting .flowsum .fsteps li:nth-child(6):after { display: none }  /* 3 チップ×2 行折返しのため 2 行目末尾（06）の矢羽根も消す（900px 実測） */
}

/* polish: M-1 SP ヒーロー写真 404（[template_url] 未解決）の応急フォールバック。
   本修正は HTML 側（deferred.md 参照）。破損時のみ背景の PC 版写真が見える。
   注意: font-size:0 は禁止。styles.css の body * { max-height: 99999em } により
   max-height が 0 に計算され、img が高さ 0 に潰れる（実測で確認済み） */
.p-consulting .hero .heroimg--photo img {
  background: url(https://imp.re-feed.jp/wp-content/themes/fcvanilla/img/top/mainvisual.jpg)
    center / cover no-repeat;
  color: transparent;   /* 破損時の alt 文を目立たせない */
}

/* polish: M-3 モバイルのセクション縦リズム圧縮（128px → 72px）。
   .cta は padding-top のみ触り、≤767 の padding-bottom:160px（固定バー逃げ）を維持 */
@media (max-width: 860px) {
  .p-consulting .sec { padding: 72px 0 }
  .p-consulting .midcta { margin-top: 0 }
  .p-consulting .morebtn { margin-top: 40px }
  .p-consulting .cta { padding-top: 96px }
}

/* polish: M-2 375px FV の縦圧縮（CTA を 1 スワイプ圏内へ）。
   段落順の入替（写真・CTA を上へ）は HTML 変更のため deferred.md 参照 */
@media (max-width: 480px) {
  .p-consulting .hero { padding: 20px 0 40px }
  .p-consulting .hero .hgrid { margin-top: 12px; gap: 28px }
  .p-consulting .hero .sub { margin-top: 16px }
  .p-consulting .hero p.txt { margin-top: 16px; font-size: 13.5px; line-height: 1.9 }
  .p-consulting .hero .hbtns { margin-top: 24px }
}

/* polish: B-1 ヒーロー本文の行長を伸ばして右の死に余白を軽減（PC のみ。
   ≤860 は max-width:none（645 行）を維持するため min-width で区切る）。
   スマホ小物（--04）は空白の中央から写真寄りへ（861-1200px は A-2 で非表示） */
@media (min-width: 861px) {
  .p-consulting .hero p.txt { max-width: 37em }
}
@media (min-width: 1201px) {
  .p-consulting .hero .hobj--04 { left: -7%; top: 16% }
}

/* polish: B-2 ヒーローの s-label→h1 間隔を他セクションの詰まり方に近づける
   （≤860 の margin-top:20px / ≤480 の 12px を壊さないよう min-width で区切る） */
@media (min-width: 861px) {
  .p-consulting .hero .hgrid { margin-top: 16px }
}

/* polish: B-3 カード部品の寸法統一（ガター 24px・カード内余白 30/28/32） */
@media (min-width: 861px) {
  .p-consulting .types .tgrid { gap: 24px }   /* ≤860 の gap:14px は維持 */
}
.p-consulting .strsum .sc .sbody { padding: 30px 28px 32px }

/* polish: B-4 お悩みセクションの装飾バーを見出し・導入文の導線から退避 */
.p-consulting .pdecor__i:nth-child(2) { top: 32%; left: 6% }
.p-consulting .pdecor__i:nth-child(5) { top: 34%; left: 93% }

/* polish: M-4 タブレット帯（481-860px）はヒーロー CTA を横並びに戻す */
@media (min-width: 481px) and (max-width: 860px) {
  .p-consulting .hero .hbtns { flex-direction: row; align-items: center }
  .p-consulting .hero .hbtn,
  .p-consulting .hero .hbtn--line { display: inline-block }
}

/* polish: M-5 375px で h1 とセクション h2 のサイズ差を作る（27px→24px） */
@media (max-width: 480px) {
  .p-consulting .s-head { font-size: 24px }
}

/* polish: M-6 SP の吹き出し小物が本文・ボタン域へ迫るのを緩和 */
@media (max-width: 860px) {
  .p-consulting .hero .hobj--02 { top: -5% }
}

/* polish: M-7 CTA 内の電話リンクのタップ領域を 44px 相当へ拡大
   （横 padding は 2px に抑え、375px で「（平日 9:00〜17:00）」の折返し位置が
   括弧の途中に食い込まないようにする） */
.p-consulting .cta .tel a { display: inline-block; padding: 10px 2px; margin: -6px 0 }

/* 2026-08-16 モバイル仕上げ 追加分（team20260816g audit_top.md 対応）
   ==========================================================================
   既存セレクタ削除なし・末尾追記のみ。!important 不使用。
   ========================================================================== */

/* polish-m: T-4 320px 級で h1「グ」・sub「す。」の孤立行折返しを解消（22px×12字≒272px で 2 行） */
@media (max-width: 359px) {
  .p-consulting .hero h1 { font-size: 22px; }
  .p-consulting .hero .sub { font-size: 15px; }
}

/* polish-m: T-7 CTA 電話行「（平日 9:00〜17:00）」の閉じ括弧孤立を均衡折返しで解消
   （text-wrap 非対応ブラウザでは現状のまま＝劣化なし） */
@media (max-width: 480px) {
  .p-consulting .cta .tel { text-wrap: balance; }
}

/* polish-m: T-3 / M-2 FV に写真を先頭表示（flex order のみ・DOM 変更なし）。
   高さを 46vw にキャップし h1・sub まで初期画面内に残す。
   写真は M-1 背景フォールバック描画のため height+object-fit は background cover で機能 */
@media (max-width: 480px) {
  .p-consulting .hero .himg { order: -1; }
  .p-consulting .hero .heroimg--photo img {
    height: 46vw;
    object-fit: cover;
  }
}
/* ==========================================================================
   2026-08-16 5ページ改稿 追加分（team20260816j）
   wp-content/themes/fcvanilla/css/consulting.css の末尾へ追記する差分。
   既存セレクタの削除・書き換えはなし。追記のみ。!important 不使用。
   対の SCSS（scss/_object/_project/_consulting.scss）へは反映しない
   （Node 未導入でビルド不可。css 直編集で運用する既定方針に従う）。
   公開順: 画像コピー → 本ファイルを consulting.css の末尾へ追記 → 本文入稿。
   ========================================================================== */

/* j-1 強み要約カードの4枚化（本文側で 3 枚 → 4 枚に増設したことへの対応）
   既定は 3 列固定（consulting.css:491）のため、1200px 以上で 4 列、
   861〜1199px で 2 列に折り返す。860px 以下は既存の 1 列指定をそのまま使う。 */
@media (min-width: 1200px) {
  .p-consulting .strsum .scards { grid-template-columns: repeat(4, 1fr); gap: 20px }
}
@media (min-width: 861px) and (max-width: 1199px) {
  .p-consulting .strsum .scards { grid-template-columns: repeat(2, 1fr) }
}

/* j-2 お悩みの受け（.pclose）の見出し行と箇条書きの余白
   .p-consulting p / ul と .c-list に余白規則がないため、4 行が密着して表示される。 */
.p-consulting .pain .pclose ul { margin-top: 16px }
.p-consulting .pain .pclose .c-list__item { line-height: 1.95 }
.p-consulting .pain .pclose .c-list__item + .c-list__item { margin-top: 10px }

/* j-3 類型カードのリンク指示子
   カードを div → a に変更したが、.p-consulting a は色・下線とも継承するため、
   静止状態でリンクと分からない（hover 時の地色変化のみ、タッチ端末では効かない）。 */
.p-consulting .types .t { position: relative; padding-right: 44px }
.p-consulting .types .t:after {
  content: ""; position: absolute; right: 24px; bottom: 30px; width: 8px; height: 8px;
  border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy);
  transform: rotate(-45deg);
}
