@charset "UTF-8";
/**
 * 株式会社イエリテ 相続不動産相談LP 専用スタイル（v1.9.0で追加）
 *
 * 【デザインの正本】
 *   design-preview/inheritance-consultation/（静的プレビューv2）です。
 *   承認済みのデザインのため、色・余白・写真の扱い・カードの構成を
 *   売却査定LP・戸建て賃貸LP・アパート管理LPへ寄せないでください。
 *
 * 【既存LPとの関係】
 *   assets/css/lp.css は読み込みません（inc/enqueue.php で除外しています）。
 *   クラス名の流用もしていません。接頭辞はすべて ih-（inheritance）です。
 *   そのため、このファイルを変更しても既存3LPの表示は一切変わりません。
 *
 * 【方針】
 *   ・box-shadow は使用しません（薄い罫線で区切ります）
 *   ・テラコッタは CTA と固定CTAだけに使用します
 *   ・中間CTAは置きません
 *
 * @package Ierite_LP
 */

/* --------------------------------------------------------------
   1. デザイントークン
   -------------------------------------------------------------- */
.ih {
  --ink:        #1B4A42;  /* 深い青緑（見出し・SPヘッダー・フッター） */
  --ink-deep:   #143A34;
  --ink-soft:   #2F6157;
  --ivory:      #F8F4EC;  /* 地色 */
  --ivory-warm: #F3EDE1;
  --cream:      #FCF9F3;  /* パネル */
  --white:      #FFFFFF;
  --terracotta: #C0614A;  /* CTAだけに使う */
  --terracotta-d:#AB5340;
  --accent:     #D4703F;  /* 小バッジのみ */
  --body:       #4A4A46;
  --muted:      #74706A;
  --line:       #E4DDD1;
  --line-soft:  #EFE9DE;
  --error:      #B3261E;

  --wrap: 1120px;
  --r: 6px;

  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium",
               "Noto Sans JP", "Meiryo", system-ui, sans-serif;
  font-feature-settings: "palt" 1;
}

/* --------------------------------------------------------------
   2. リセット・ベース
   既存テーマの作法にならい、すべて .ih 配下へスコープしています。
   -------------------------------------------------------------- */
body.ih,
.ih *, .ih *::before, .ih *::after { box-sizing: border-box; }

body.ih {
  margin: 0;
  background: var(--ivory);
  color: var(--body);
  font-size: 15px;
  line-height: 1.95;
  letter-spacing: .02em;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
/*
 * 【:where() を使う理由】
 *   ここはリセット（初期化）です。あとから書く .ih-fv__lead などの
 *   余白指定に必ず負けてほしいため、:where() で詳細度を0にしています。
 *
 *   .ih p { margin: 0 } と書くと、クラス1つ分の詳細度が付き、
 *   .ih-fv__lead { margin-bottom: 12px } を打ち消してしまいます。
 *   （静的プレビューv2より段落の間隔が詰まる原因になります）
 */
:where(.ih) h1, :where(.ih) h2, :where(.ih) h3, :where(.ih) p,
:where(.ih) ul, :where(.ih) ol, :where(.ih) dl, :where(.ih) dd,
:where(.ih) figure, :where(.ih) blockquote { margin: 0; }
:where(.ih) ul, :where(.ih) ol { padding: 0; list-style: none; }
:where(.ih) img { display: block; max-width: 100%; height: auto; }
:where(.ih) a { color: inherit; text-decoration: none; }
:where(.ih) button, :where(.ih) input,
:where(.ih) select, :where(.ih) textarea { font: inherit; color: inherit; }

/* キーボード操作時のフォーカス表示（消しません） */
.ih a:focus-visible, .ih button:focus-visible, .ih summary:focus-visible,
.ih input:focus-visible, .ih select:focus-visible, .ih textarea:focus-visible {
  outline: 3px solid var(--ink-soft);
  outline-offset: 2px;
}

/* 読み上げのみに使う要素 */
.ih-visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.ih-skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--white); padding: 12px 18px; font-size: 14px;
}
.ih-skip-link:focus { left: 0; }

/* アイコンの共通デザインシステム（線画・単色・線幅統一・塗りなし） */
.ih svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ih-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ih-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 32px; }
.ih-band { padding-block: 92px; }
.ih-band--cream { background: var(--ivory-warm); }

/* --------------------------------------------------------------
   3. 見出し・本文
   -------------------------------------------------------------- */
.ih-h2 {
  color: var(--ink);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.62;
  letter-spacing: .01em;
  margin-bottom: 26px;
}
.ih-h2--center { text-align: center; }
.ih-h3 {
  color: var(--ink);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.66;
  margin-bottom: 16px;
}
.ih-lead { font-size: 14.5px; line-height: 2.0; color: var(--body); }

/*
 * 見出しの最終行に「ます。」だけが残るのを防ぎます（v1.9.4）。
 *
 * text-wrap: balance は、見出しの各行の長さがそろうように折り返し位置を選びます。
 * 文字サイズ・行数・高さは変わりません（375 / 390 / 430 / 1440px で確認済み）。
 * 対応していないブラウザでは無視されるだけで、表示は今までどおりです。
 */
.ih-h2, .ih-h3 {
  text-wrap: balance;
}

/*
 * 最終行に1〜2文字だけ残るのを防ぎます（v1.9.3）。
 *
 * カード内の短い説明文は、行末で1文字だけ次の行へ落ちると読みにくくなります。
 * text-wrap: pretty は、対応ブラウザだけがこれを避けるように折り返します。
 * 非対応のブラウザでは無視されるだけで、表示は今までと変わりません。
 * 文章そのものや、要素の幅・余白は変更していません。
 */
.ih-fv__lead, .ih-lead, .ih-note-center, .ih-assure li,
.ih-worry p, .ih-organize p, .ih-method__item p, .ih-stance p, .ih-flow p,
.ih-tax__lead, .ih-tax__note, .ih-tax__list li, .ih-faq__body p,
.ih-hint, .ih-formpanel__note,
.ih-thanks__lead, .ih-thanks__panel p, .ih-thanks__steps p,
.ih-footer__brand p, .ih-footer__memo {
  text-wrap: pretty;
}
.ih-note-center {
  margin-top: 28px;
  text-align: center;
  font-size: 13.5px;
  line-height: 2.0;
  color: var(--muted);
}

/* --------------------------------------------------------------
   4. ヘッダー
   -------------------------------------------------------------- */
/* PCはアイボリー〜白系。FVとのつながりを柔らかくする（SPは深緑のまま） */
.ih-header {
  background: var(--cream); color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.ih-header__inner {
  max-width: var(--wrap); margin-inline: auto; padding: 0 32px;
  height: 62px; display: flex; align-items: center; justify-content: space-between;
}
.ih-brand { display: inline-flex; align-items: center; gap: 10px; }
.ih-brand__mark {
  width: 30px; height: 30px; display: grid; place-items: center;
}
.ih-brand__mark svg { width: 30px; height: 30px; stroke-width: 2.6; }
.ih-brand__logo { max-height: 34px; width: auto; }
.ih-brand__name { font-size: 16px; font-weight: 700; letter-spacing: .06em; }

.ih-menu {
  background: none; border: 0; cursor: pointer; padding: 4px;
  display: flex; flex-direction: column; align-items: center; gap: 4px; color: inherit;
  text-decoration: none;
}
.ih-menu__bars { display: block; }
.ih-menu__bars i { display: block; width: 22px; height: 2px; background: currentColor; margin-bottom: 4px; }
.ih-menu__bars i:last-child { margin-bottom: 0; }
.ih-menu__label { font-size: 9px; letter-spacing: .12em; }

/*
 * ページ内メニュー
 *
 * 閉じているときの見た目は静的プレビューv2と同じです（アイコンだけ）。
 * 開いたときだけ一覧が現れます。box-shadow は使わず、罫線で区切ります。
 */
.ih-menu-wrap { position: relative; }
.ih-nav {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 40;
  min-width: 220px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r); padding: 6px 0;
}
.ih-nav[hidden] { display: none; }
.ih-nav ul { display: grid; }
.ih-nav a {
  display: block; padding: 11px 20px; font-size: 13.5px; color: var(--ink); font-weight: 600;
  border-bottom: 1px solid var(--line-soft);
}
.ih-nav li:last-child a { border-bottom: 0; }
.ih-nav a:hover { background: var(--cream); }

/* --------------------------------------------------------------
   5. ファーストビュー
   -------------------------------------------------------------- */
.ih-fv { position: relative; isolation: isolate; }
.ih-fv__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.ih-fv__media picture, .ih-fv__media img { width: 100%; height: 100%; }
.ih-fv__media img { object-fit: cover; object-position: 63% 46%; }
.ih-fv__veil {
  position: absolute; inset: 0;
  background: linear-gradient(100deg,
    rgba(248,244,236,.975) 0%,
    rgba(248,244,236,.945) 30%,
    rgba(248,244,236,.78)  44%,
    rgba(248,244,236,.30)  56%,
    rgba(248,244,236,0)    68%);
}
.ih-fv__body {
  position: relative; z-index: 1;
  min-height: 700px; display: flex; align-items: center;
}
.ih-fv__inner { width: 100%; max-width: var(--wrap); margin-inline: auto; padding: 56px 32px; }
.ih-fv__eyebrow {
  color: var(--ink-soft); font-size: 13.5px; font-weight: 600;
  letter-spacing: .08em; margin-bottom: 14px;
}
.ih-fv__title {
  color: var(--ink); font-size: 39px; font-weight: 700;
  line-height: 1.5; letter-spacing: .005em; margin-bottom: 24px;
}
.ih-fv__lead { font-size: 14.5px; line-height: 2.05; margin-bottom: 12px; }
.ih-fv__cta { margin-top: 30px; }

.ih-assure { margin-top: 20px; display: grid; gap: 7px; }
.ih-assure li {
  display: flex; align-items: center; gap: 9px;
  font-size: 13.5px; color: var(--ink-soft); font-weight: 600;
}
.ih-assure svg { width: 17px; height: 17px; flex: none; stroke-width: 1.7; }

/* CTAボタン（テラコッタはここと追従バーだけ） */
.ih-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  background: var(--terracotta); color: var(--white);
  font-size: 16px; font-weight: 700; letter-spacing: .04em;
  padding: 18px 32px; border-radius: 999px; border: 0; cursor: pointer;
  transition: background .2s ease;
}
.ih-btn:hover { background: var(--terracotta-d); }
.ih-btn__arrow { width: 15px; height: 15px; stroke-width: 2.2; flex: none; }
.ih-btn--block { width: 100%; }

/* --------------------------------------------------------------
   6. 2カラムの帯
   -------------------------------------------------------------- */
.ih-cols { display: grid; align-items: start; }
.ih-cols--a { grid-template-columns: 1.02fr 0.98fr; gap: 60px; }
.ih-cols--b { grid-template-columns: 1.18fr 0.82fr; gap: 52px; }
.ih-cols--c { grid-template-columns: 1.12fr 0.88fr; gap: 60px; }
.ih-cols--e { grid-template-columns: 0.92fr 1.08fr; gap: 56px; }

/* --------------------------------------------------------------
   7. お悩み（白カード＋薄罫、影なし）
   -------------------------------------------------------------- */
.ih-worry { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ih-worry li {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px 14px 20px; text-align: center;
}
.ih-worry svg { width: 40px; height: 40px; margin: 0 auto 12px; color: var(--ink); }
.ih-worry p { font-size: 13.5px; line-height: 1.78; }

/* --------------------------------------------------------------
   8. 4つの選択肢（対等・同じ大きさ・同じ形）
   -------------------------------------------------------------- */
.ih-choice { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 24px; }
.ih-choice li {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px 8px; display: flex; align-items: center; justify-content: center; gap: 9px;
}
.ih-choice svg { width: 26px; height: 26px; flex: none; color: var(--ink); }
.ih-choice span { color: var(--ink); font-size: 15px; font-weight: 700; }

.ih-figure { margin-top: 28px; border-radius: var(--r); overflow: hidden; }
.ih-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* --------------------------------------------------------------
   9. 無料相談で整理すること
   -------------------------------------------------------------- */
.ih-organize { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ih-organize li {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px 10px 26px; text-align: center;
}
.ih-organize svg { width: 48px; height: 48px; margin: 0 auto 16px; color: var(--ink); }
.ih-organize h3 {
  color: var(--ink); font-size: 14px; font-weight: 700; line-height: 1.6;
  letter-spacing: -.02em; margin-bottom: 10px;
}
.ih-organize p { font-size: 13.5px; line-height: 1.8; letter-spacing: -.01em; color: var(--muted); }

/* --------------------------------------------------------------
   10. 提携税理士（1つのパネルに閉じ込める／FVより目立たせない）
   -------------------------------------------------------------- */
.ih-tax {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--r); padding: 34px 32px 28px;
}
.ih-tax__eyebrow { color: var(--ink-soft); font-size: 13.5px; font-weight: 600; margin-bottom: 8px; }
.ih-tax .ih-h3 { font-size: 19.5px; margin-bottom: 12px; }
.ih-tax__lead { font-size: 14px; line-height: 1.95; color: var(--body); }
.ih-tax__panel { display: grid; grid-template-columns: 168px 1fr; gap: 22px; align-items: start; margin-top: 22px; }
.ih-tax__photo { margin: 0; }
.ih-tax__photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%;
  border-radius: var(--r);
}
.ih-tax__photo figcaption {
  margin-top: 7px; font-size: 10.5px; line-height: 1.6; color: var(--muted); text-align: center;
}
/*
 * 正式な提携税理士の写真が届くまでの、中立アイコン表示（2026-08-07で追加）。
 * .ih-tax__photo と同じ大きさ・位置のまま、中身だけをアイコンにしています。
 * 差し替え時は inc/sections/inheritance/tax.php の中身を img に戻すだけで、
 * ここから下のCSSは変更不要です。
 */
.ih-tax__photo--icon img { display: none; } /* 将来の誤操作対策（imgを残していても表示しない） */
.ih-tax__photo--icon {
  width: 100%; aspect-ratio: 4 / 5; border-radius: var(--r);
  background: var(--white); border: 1px solid var(--line);
  display: grid; place-items: center;
}
.ih-tax__photo--icon svg { width: 30%; height: 30%; color: var(--ink-soft); stroke-width: 1.4; }
.ih-tax__labels { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.ih-tax__role {
  background: var(--ink); color: var(--white); font-size: 12px; font-weight: 700;
  letter-spacing: .02em; padding: 5px 12px; border-radius: 3px; white-space: nowrap;
}
.ih-tax__badge {
  background: var(--accent); color: var(--white); font-size: 12px; font-weight: 700;
  letter-spacing: 0; padding: 5px 10px; border-radius: 3px; white-space: nowrap;
}
.ih-tax__list { display: grid; gap: 9px; }
.ih-tax__list li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--ink); font-weight: 600; }
.ih-tax__list svg { width: 15px; height: 15px; margin-top: 6px; flex: none; stroke-width: 2.2; color: var(--ink-soft); }
.ih-tax__note { margin-top: 18px; font-size: 12.5px; line-height: 1.8; color: var(--muted); }

/* --------------------------------------------------------------
   11. 今後の方法（5項目・それぞれ独立したインラインSVG）
   -------------------------------------------------------------- */
.ih-method { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 20px; }
.ih-method__item { text-align: center; }
.ih-method__icon {
  display: grid; place-items: center; width: 94px; height: 94px; margin: 0 auto 16px;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--white);
  color: var(--ink);
}
.ih-method__icon svg { width: 56px; height: 56px; }
.ih-method__item h3 { color: var(--ink); font-size: 15.5px; font-weight: 700; margin-bottom: 8px; }
.ih-method__item p { font-size: 13.5px; line-height: 1.8; color: var(--muted); }

/* --------------------------------------------------------------
   12. タグ（ピル・文字だけ）
   -------------------------------------------------------------- */
.ih-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.ih-tags li {
  border: 1px solid var(--line); border-radius: 999px; background: var(--white);
  padding: 9px 18px; font-size: 13.5px; color: var(--ink); font-weight: 600;
}

/* --------------------------------------------------------------
   13. 姿勢 ／ 代表紹介 ／ フロー のグリッド
   -------------------------------------------------------------- */
.ih-grid-d {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "stance flow" "profile profile";
  gap: 76px 56px;
  align-items: start;
}
.ih-area-stance  { grid-area: stance; }
.ih-area-flow    { grid-area: flow; }
.ih-area-profile { grid-area: profile; }

.ih-stance { display: grid; gap: 14px; }
.ih-stance li {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 20px 22px; display: grid; grid-template-columns: 34px 1fr; gap: 16px; align-items: start;
}
.ih-stance svg { width: 30px; height: 30px; color: var(--ink); margin-top: 2px; }
.ih-stance h3 { color: var(--ink); font-size: 14.5px; font-weight: 700; margin-bottom: 5px; }
.ih-stance p { font-size: 13.5px; line-height: 1.8; color: var(--muted); }

/* 代表紹介：写真を主役の大きさで扱う */
.ih-area-profile { display: grid; grid-template-columns: 424px 1fr; gap: 52px; align-items: center; }
.ih-profile__photo { margin: 0; border-radius: var(--r); overflow: hidden; }
.ih-profile__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ih-profile__body { max-width: 620px; }
.ih-profile__role { color: var(--ink-soft); font-size: 13.5px; font-weight: 600; margin-bottom: 3px; }
.ih-profile__name { color: var(--ink); font-size: 29px; font-weight: 700; letter-spacing: .04em; margin-bottom: 20px; }
.ih-profile__name span { font-size: 13.5px; font-weight: 500; letter-spacing: .02em; margin-left: 7px; }
.ih-profile__text { font-size: 14.5px; line-height: 2.05; margin-bottom: 13px; }
.ih-quote {
  margin-top: 24px; padding: 21px 26px; border-left: 2px solid var(--line);
  color: var(--ink); font-size: 15px; line-height: 2.0; font-weight: 600;
}

/* フロー：カードではなく1枚のパネル内の行リスト */
.ih-flow {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 8px 26px;
}
.ih-flow li {
  display: grid; grid-template-columns: 30px 1fr; gap: 16px; align-items: baseline;
  padding: 19px 0; border-bottom: 1px solid var(--line-soft);
}
.ih-flow li:last-child { border-bottom: 0; }
.ih-flow__num {
  grid-row: span 2; align-self: start; width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink); color: var(--white); display: grid; place-items: center;
  font-size: 13px; font-weight: 700; line-height: 1;
}
.ih-flow h3 { color: var(--ink); font-size: 14.5px; font-weight: 700; margin-bottom: 3px; }
.ih-flow p { font-size: 13.5px; line-height: 1.8; color: var(--muted); }
.ih-flow__note {
  display: flex; align-items: center; gap: 10px; margin-top: 18px;
  font-size: 13px; color: var(--ink-soft); font-weight: 600;
}
.ih-flow__note svg { width: 17px; height: 17px; flex: none; stroke-width: 1.7; }

/* --------------------------------------------------------------
   14. FAQ（罫線だけ・アコーディオン）
   -------------------------------------------------------------- */
.ih-faq { border-top: 1px solid var(--line); }
.ih-faq details { border-bottom: 1px solid var(--line); }
.ih-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 4px; cursor: pointer; list-style: none;
  color: var(--ink); font-size: 14.5px; font-weight: 600; line-height: 1.7;
}
.ih-faq summary::-webkit-details-marker { display: none; }
.ih-faq summary svg {
  width: 15px; height: 15px; flex: none; stroke-width: 2;
  transform: rotate(90deg); transition: transform .2s ease; color: var(--muted);
}
.ih-faq details[open] summary svg { transform: rotate(-90deg); }
.ih-faq__body { padding: 0 4px 22px; }
.ih-faq__body p { font-size: 14px; line-height: 1.95; color: var(--body); }

/* --------------------------------------------------------------
   15. フォーム
   Contact Form 7 が出力する要素にも同じ見た目を適用します。
   -------------------------------------------------------------- */
.ih-formpanel {
  margin-top: 24px; background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--r); padding: 30px 30px 26px;
}
.ih-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ih-field { margin-bottom: 16px; }
.ih-field label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.ih-req, .ih-any { font-size: 11px; font-weight: 700; margin-left: 8px; padding: 2px 7px; border-radius: 3px; }
.ih-req { background: #F3E3DE; color: var(--terracotta-d); }
.ih-any { background: #EDEAE2; color: var(--muted); }
.ih-field input, .ih-field textarea, .ih-field select {
  width: 100%; background: var(--white); border: 1px solid var(--line);
  border-radius: 4px; padding: 11px 13px; font-size: 14.5px; line-height: 1.6;
}
.ih-field textarea { resize: vertical; }
.ih-field input::placeholder, .ih-field textarea::placeholder { color: #B3ADA3; }
.ih-field input:focus, .ih-field textarea:focus, .ih-field select:focus {
  outline: 2px solid var(--ink-soft); outline-offset: 1px; border-color: transparent;
}
.ih-field select { appearance: none; padding-right: 38px; color: var(--body); }
.ih-hint { display: block; margin-top: 6px; font-size: 12.5px; line-height: 1.7; color: var(--muted); }
.ih-agree { margin: 4px 0 20px; }
.ih-agree label { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--body); cursor: pointer; }
.ih-agree input { width: 16px; height: 16px; accent-color: var(--ink); }
.ih-agree a { color: var(--ink); text-decoration: underline; }
.ih-formpanel__note { margin-top: 12px; font-size: 12.5px; line-height: 1.7; color: var(--muted); text-align: center; }

/*
 * Contact Form 7 の出力に合わせる指定
 *
 * CF7 は入力欄を <span class="wpcf7-form-control-wrap"> で包みます。
 * 幅が縮まないよう block にしています。
 * セレクトの矢印は、CF7 が span を挟むため背景画像ではなく
 * ::after で描いています（外部画像は読み込みません）。
 */
/*
 * 入力欄は <span class="wpcf7-form-control-wrap"> で包まれるため block にします。
 *
 * ここに .ih .wpcf7-form p { margin: 0 } のような指定を足さないでください。
 * .ih-field の margin-bottom より詳細度が高くなり、
 * 項目どうしの間隔が静的プレビューv2より詰まります。
 */
.ih .wpcf7-form-control-wrap { display: block; }
.ih-select { position: relative; display: block; }
.ih-select::after {
  content: ""; position: absolute; right: 15px; top: 50%; width: 8px; height: 8px;
  margin-top: -6px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); pointer-events: none;
}
.ih .wpcf7-not-valid { border-color: var(--error); }
.ih .wpcf7-not-valid-tip {
  display: block; margin-top: 6px; font-size: 12.5px; line-height: 1.7; color: var(--error);
}
.ih .wpcf7-response-output {
  margin: 16px 0 0; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 4px; background: var(--white); font-size: 13px; line-height: 1.8;
}
.ih .wpcf7-form.invalid .wpcf7-response-output,
.ih .wpcf7-form.spam .wpcf7-response-output,
.ih .wpcf7-form.failed .wpcf7-response-output { border-color: var(--error); color: var(--error); }
.ih .wpcf7-spinner { display: block; margin: 12px auto 0; }
/* 送信ボタン（CF7 の input[type=submit] に .ih-btn を付けています） */
.ih input.ih-btn { -webkit-appearance: none; appearance: none; }
.ih input.ih-btn:disabled { opacity: .6; cursor: default; }
/* ハニーポット（inc/form.php が挿入する見えない欄） */
.ih .ierite-lp__hp { position: absolute; left: -9999px; }

/* --------------------------------------------------------------
   16. フッター
   -------------------------------------------------------------- */
.ih-footer {
  background: linear-gradient(100deg, var(--ink-deep) 0%, var(--ink) 55%, #1F5449 100%);
  color: rgba(255,255,255,.86); padding: 52px 0 46px; font-size: 13px; line-height: 1.95;
}
.ih-footer__inner { display: grid; grid-template-columns: 1.35fr .8fr 1.25fr 1.25fr; gap: 40px; }
.ih-footer__brand .ih-brand { color: var(--white); margin-bottom: 14px; }
.ih-footer__brand p { font-size: 12.5px; line-height: 1.9; }
.ih-footer__col h2 { color: var(--white); font-size: 13.5px; font-weight: 700; margin-bottom: 14px; }
.ih-footer__col ul { display: grid; gap: 6px; }
.ih-footer__col dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 12.5px; }
.ih-footer__col dt { color: rgba(255,255,255,.62); white-space: nowrap; }
.ih-footer__col dd { margin: 0; }
.ih-footer em { font-style: normal; color: #F0C9A8; }
.ih-footer__tel {
  display: flex; align-items: center; gap: 10px; color: var(--white);
  font-size: 20px; font-weight: 700; letter-spacing: .02em; margin-bottom: 8px;
}
.ih-footer__tel svg { width: 22px; height: 22px; flex: none; stroke-width: 1.7; }
.ih-footer__tel em { font-size: 16px; }
.ih-footer__hours { font-size: 12.5px; }
.ih-footer__memo { margin-top: 8px; font-size: 12px; color: rgba(255,255,255,.62); }
.ih-footer__legal {
  max-width: var(--wrap); margin: 34px auto 0; padding-inline: 32px;
  border-top: 1px solid rgba(255,255,255,.16); padding-top: 20px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px;
}
.ih-footer__legal ul { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.ih-footer__legal a { font-size: 12.5px; }
.ih-footer__legal a:hover { text-decoration: underline; }
.ih-footer__copyright { margin-left: auto; font-size: 12px; color: rgba(255,255,255,.62); }

/* --------------------------------------------------------------
   17. スマートフォン固定CTA（1ボタン・SPのみ）
   -------------------------------------------------------------- */
.ih-sticky { display: none; }

/* --------------------------------------------------------------
   18. サンクスページ
   LP本体と同じ地色・同じ余白の考え方で作ります。
   フォームは再表示せず、中間CTAも置きません。
   -------------------------------------------------------------- */
.ih-thanks { max-width: 720px; margin-inline: auto; }
.ih-thanks__title { color: var(--ink); font-size: 30px; font-weight: 700; line-height: 1.5; margin-bottom: 20px; }
.ih-thanks__lead { font-size: 15px; line-height: 2.05; margin-bottom: 14px; }
.ih-thanks__panel {
  margin-top: 30px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); padding: 26px 28px 22px;
}
.ih-thanks__panel h2 { color: var(--ink); font-size: 17px; font-weight: 700; margin-bottom: 14px; }
.ih-thanks__panel p { font-size: 14px; line-height: 1.95; }
.ih-thanks__panel p + p { margin-top: 8px; }
.ih-thanks__steps { display: grid; gap: 0; }
.ih-thanks__steps li {
  display: grid; grid-template-columns: 30px 1fr; gap: 16px; align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid var(--line-soft);
}
.ih-thanks__steps li:last-child { border-bottom: 0; }
.ih-thanks__steps h3 { color: var(--ink); font-size: 14.5px; font-weight: 700; margin-bottom: 3px; }
.ih-thanks__steps p { font-size: 13.5px; line-height: 1.8; color: var(--muted); }
.ih-thanks__contact dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; font-size: 13.5px; }
.ih-thanks__contact dt { color: var(--muted); white-space: nowrap; }
.ih-thanks__contact dd { margin: 0; color: var(--ink); font-weight: 600; }
.ih-thanks__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }
.ih-thanks__button {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--ink); border-radius: 999px; color: var(--ink);
  font-size: 14px; font-weight: 700; padding: 13px 26px;
}
.ih-thanks__button svg { width: 13px; height: 13px; stroke-width: 2.2; flex: none; }
.ih-thanks__button:hover { background: var(--ink); color: var(--white); }
.ih-thanks__button--sub { border-color: var(--line); color: var(--body); font-weight: 600; }
.ih-thanks__button--sub:hover { background: var(--white); color: var(--ink); border-color: var(--ink); }

/* --------------------------------------------------------------
   19. レスポンシブ
   -------------------------------------------------------------- */
.ih-pc { display: inline; }

@media (max-width: 1180px) {
  .ih-wrap, .ih-header__inner, .ih-fv__inner, .ih-footer__legal { padding-inline: 28px; }
}

@media (max-width: 1080px) {
  .ih-band { padding-block: 76px; }
  .ih-fv__body { min-height: 580px; }
  .ih-fv__media img { object-position: 72% 46%; }  /* 幅が狭いと左右が切れるため人物側を優先 */
  .ih-fv__title { font-size: 34px; }
  .ih-h2 { font-size: 23px; }
  .ih-cols--a, .ih-cols--b, .ih-cols--c, .ih-cols--e { gap: 44px; }
  .ih-grid-d { gap: 60px 44px; }
  .ih-worry { gap: 11px; }
  .ih-worry li { padding: 18px 10px 16px; }
  .ih-method { gap: 26px 16px; }
  .ih-tax { padding: 28px 24px 24px; }
  .ih-tax__panel { grid-template-columns: 142px 1fr; gap: 18px; }
  .ih-method__icon { width: 86px; height: 86px; }
  .ih-method__icon svg { width: 51px; height: 51px; }
  .ih-area-profile { grid-template-columns: 360px 1fr; gap: 40px; }
  .ih-footer__inner { grid-template-columns: 1.2fr .8fr 1.2fr 1.1fr; gap: 28px; }
}

/* 2カラムを解除 */
@media (max-width: 920px) {
  .ih-cols--a, .ih-cols--b, .ih-cols--c, .ih-cols--e { grid-template-columns: 1fr; gap: 62px; }
  .ih-grid-d { grid-template-columns: 1fr; grid-template-areas: "stance" "profile" "flow"; gap: 62px; }
  .ih-area-profile { grid-template-columns: 340px 1fr; }
  .ih-fv__title { font-size: 31px; }
  .ih-fv__veil {
    background: linear-gradient(100deg,
      rgba(248,244,236,.98) 0%, rgba(248,244,236,.95) 40%,
      rgba(248,244,236,.72) 60%, rgba(248,244,236,.18) 80%, rgba(248,244,236,0) 96%);
  }
  .ih-footer__inner { grid-template-columns: 1fr 1fr; gap: 34px 28px; }
}

/* スマートフォン */
@media (max-width: 767px) {
  /* 【v1.9.3】スマートフォンの読みやすさの底上げ。
     セクション構成・大きな余白設計は変更していません。
     文字を大きくした分は、カード内の上下paddingを数pxずつ詰めて吸収しています。 */
  body.ih { font-size: 15.5px; }
  .ih-wrap, .ih-header__inner, .ih-fv__inner, .ih-footer__legal { padding-inline: 20px; }
  .ih-band { padding-block: 54px; }
  .ih-h2 { font-size: 20.5px; line-height: 1.66; margin-bottom: 20px; }
  .ih-h3 { font-size: 17px; line-height: 1.7; }
  .ih-pc { display: none; }

  /* SPヘッダーは深緑のまま */
  .ih-header { background: var(--ink); color: var(--white); border-bottom: 0; }

  /* FV：写真とテキストを上下に分離（写真の上に文章を重ねない）
     高さは 4:5 から約12%詰めた 1:1.1。顔・上半身・石垣・家屋は残す */
  .ih-fv__media { position: static; height: auto; }
  .ih-fv__media picture, .ih-fv__media img { height: auto; }
  .ih-fv__media img { aspect-ratio: 1 / 1.1; object-position: 50% 26%; }
  .ih-fv__veil { display: none; }
  .ih-fv__body { min-height: 0; display: block; background: var(--ivory); }
  .ih-fv__inner { padding: 25px 20px 30px; max-width: none; }
  .ih-fv__eyebrow { font-size: 12.5px; margin-bottom: 9px; }
  .ih-fv__title { font-size: 26px; line-height: 1.55; margin-bottom: 15px; }
  .ih-fv__lead { font-size: 15px; line-height: 1.9; margin-bottom: 10px; }
  .ih-fv__lead br { display: none; }
  .ih-fv__cta { margin-top: 20px; }
  .ih-btn { width: 100%; font-size: 15px; padding: 17px 22px; gap: 10px; }
  .ih-assure li { font-size: 13.5px; align-items: flex-start; }
  .ih-assure svg { margin-top: 4px; }

  /* カード類：横スクロールは使わない */
  .ih-worry { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ih-worry li { padding: 18px 10px 16px; }
  .ih-worry svg { width: 34px; height: 34px; margin-bottom: 9px; }
  .ih-worry p { font-size: 13.5px; line-height: 1.7; }
  .ih-worry p br { display: none; }
  .ih-choice { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ih-organize { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ih-organize li { padding: 18px 12px 16px; }
  .ih-organize svg { margin-bottom: 12px; }
  .ih-organize h3 br { display: none; }
  .ih-organize p { line-height: 1.7; }
  .ih-method { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
  .ih-method__icon { width: 68px; height: 68px; margin-bottom: 13px; }
  .ih-method__icon svg { width: 40px; height: 40px; }
  .ih-method__item p { line-height: 1.7; }
  .ih-tags { gap: 8px; margin-bottom: 20px; }
  .ih-tags li { padding: 8px 14px; font-size: 13.5px; }
  .ih-note-center { font-size: 13px; }

  /* 税理士：縦積み */
  .ih-tax { padding: 24px 20px 20px; }
  .ih-tax__panel { grid-template-columns: 1fr; gap: 18px; }
  .ih-tax__photo { max-width: 210px; margin-inline: auto; }

  /* 代表紹介：縦積み */
  .ih-area-profile { grid-template-columns: 1fr; gap: 22px; }
  .ih-profile__photo { max-width: 360px; }
  .ih-profile__name { font-size: 23px; }
  .ih-quote { padding: 16px 18px; font-size: 13.5px; }
  .ih-quote br { display: none; }

  /* フロー：縦型 */
  .ih-flow { padding: 6px 18px; }
  .ih-flow li { padding: 15px 0; gap: 13px; }
  .ih-flow p { line-height: 1.7; }
  .ih-stance li { padding: 18px 20px; }
  .ih-stance p { line-height: 1.7; }

  /* FAQ：横幅全体をタップ可能に */
  .ih-faq summary { padding: 17px 2px; font-size: 14.5px; min-height: 56px; }

  /* フォーム：1列
     入力欄は16px。これより小さいと、iPhoneで入力欄を選んだときに
     画面が勝手に拡大されます（拡大後は横スクロールも発生します）。 */
  .ih-field-row { grid-template-columns: 1fr; gap: 0; }
  .ih-formpanel { padding: 22px 18px 20px; }
  .ih-field input, .ih-field textarea, .ih-field select { font-size: 16px; }
  .ih-field { margin-bottom: 15px; }

  .ih-footer { padding: 40px 0 34px; }
  .ih-footer__inner { grid-template-columns: 1fr; gap: 26px; }
  .ih-footer__tel { font-size: 18px; }
  .ih-footer__legal { margin-top: 26px; padding-top: 18px; }
  .ih-footer__copyright { margin-left: 0; }

  /* サンクスページ */
  .ih-thanks__title { font-size: 24px; }
  .ih-thanks__panel { padding: 20px 18px 18px; }
  .ih-thanks__actions { flex-direction: column; }
  .ih-thanks__button { justify-content: center; }

  /* 固定CTA（1ボタンのみ）と、その高さ分の余白
     読み込み直後は非表示。FV内の通常CTAが上へスクロールアウトしてから
     assets/js/inheritance.js が .is-visible を付けて表示する。 */
  body.ih { padding-bottom: 74px; }
  .ih-sticky {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: var(--terracotta); padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
    visibility: hidden; opacity: 0; transform: translateY(100%);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
  }
  .ih-sticky.is-visible { visibility: visible; opacity: 1; transform: none; }
  .ih-sticky__btn {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    color: var(--white); font-size: 15px; font-weight: 700; letter-spacing: .08em;
    padding: 12px 8px; min-height: 48px;
  }
  .ih-sticky__icon svg { width: 19px; height: 19px; stroke-width: 1.7; display: block; }
  .ih-sticky__arrow { width: 13px; height: 13px; stroke-width: 2.2; flex: none; }

  /* サンクスページには固定CTAを置きません（申し込み済みのため） */
  body.ih.lp-thanks { padding-bottom: 0; }
}

@media (max-width: 400px) {
  .ih-wrap, .ih-fv__inner, .ih-header__inner, .ih-footer__legal { padding-inline: 17px; }
  .ih-fv__title { font-size: 24px; }
  /* 見出しの折り返しは text-wrap: balance で全幅共通に調整しています（3. 見出し・本文）。 */
  .ih-worry p { font-size: 13px; }
  .ih-sticky__btn { font-size: 14.5px; letter-spacing: .05em; }
  .ih-btn { font-size: 14.5px; letter-spacing: .02em; padding: 16px 16px; }
}

/* 画面の動きを減らす設定をしている方への配慮 */
@media (prefers-reduced-motion: reduce) {
  .ih-sticky, .ih-btn, .ih-faq summary svg { transition: none; }
}
