@charset "UTF-8";
/* ==========================================================================
   阪神山手エステート ／ メインスタイル
   assets/css/style.css
   --------------------------------------------------------------------------
   ★ このファイルが編集元です（SCSSは廃止しました）。
     以前は assets/_scss/ からコンパイルしていましたが、現在は使用しません。
     _scss フォルダは削除するか、別の場所に退避してください。
     （_scss を残したまま誤って再コンパイルすると、このファイルが上書きされます）

   【役割分担】
     style.css   … サイトのデザイン一式（すべて .hys-top 配下にスコープ）
                   ＋ 下の :root がデザイントークンの唯一の定義場所
     base.css    … .hys-top の外側だけを担当
                   （Lightningが描画するページの書体統一／パンくずの見た目）
     scheme.css  … /scheme/ ページ固有

   【トークンの変え方】
     色・書体は下の :root だけを書き換えれば全ページに反映されます。
     ただしメディアクエリの区切り幅（980 / 900 / 820 / 560px）は
     CSS変数を使えない仕様のため、レスポンシブ節に直接記述しています。

   【目次】
     ベース／リセット ─ 共通パーツ ─ ヘッダーナビ ─ ヒーロー ─ ボタン
     ─ セクション土台 ─ Why ─ 実例 ─ 価値の流れ ─ 比較パネル
     ─ プロフィール ─ 対応エリア ─ フォーム ─ 総額ロジック
     ─ フッター ─ 下層ページ共通 ─ 投稿一覧 ─ 折り返し制御 ─ レスポンシブ

   【デザイントークン】
   ========================================================================== */
:root {
  --paper: #F2EEE4;
  --paper-2: #EAE4D5;
  --green: #243429;
  --green-deep: #131B14;
  --ink: #232219;
  --body: #413B2F;
  --muted: #574F42;
  --line: #D6CEBC;
  --brass: #8F6E2E;
  --brass-soft: #C0A268;
  --alert: #9A3B2C;
  --mincho: Zen Old Mincho, serif;
  --lat: Cormorant Garamond, Shippori Mincho, serif;
  --num: Jost, sans-serif;
  --sans: Noto Sans JP, sans-serif;
  /* ヒーロー写真：元データ 5712×3213px（電線レタッチ済み）から書き出し。
     PC用（3400×1789）は元写真の横を丸ごと使い、街の様子が伝わる引きの構図。
     縦は上4.5%（空）と下1.9%（路面）を落とし、被写体（建物〜レンガ塀〜ガレージ）が
     素材の縦中央（23%〜80%／中心51%）に来るよう切り出しています。
     そのため background-position は素直に center 50% で焦点が合います。
     縦横比 1.90 は「1440px幅の画面でも写真の左右が切れない」ことから逆算した値です。
     SP用（1050×1163）は縦フルを使用（縦長画面では縦フルにすると見える街の幅が最大になる）。
     WebP対応ブラウザは自動でWebPを選択（非対応環境はJPEGにフォールバック）。 */
  --yamate-photo:    url("../img/hero_yamate_pc.jpg");
  --yamate-photo-sp: url("../img/hero_yamate_sp.jpg");
}

@supports (background-image: image-set(url("a.webp") type("image/webp"))) {
  :root {
    --yamate-photo: image-set(
      url("../img/hero_yamate_pc.webp") type("image/webp"),
      url("../img/hero_yamate_pc.jpg")  type("image/jpeg"));
    --yamate-photo-sp: image-set(
      url("../img/hero_yamate_sp.webp") type("image/webp"),
      url("../img/hero_yamate_sp.jpg")  type("image/jpeg"));
  }
}


/* ==========================================================================
   ベース ／ リセット
   ========================================================================== */
html {
  scroll-behavior: smooth;
}

/* ヒーローのズーム演出。
   ※2560px幅の画面での上限は約1.32倍（背景画像が3400px幅のため）。
     これ以上に上げると引き伸ばしになり、画像がにじみます。 */
@keyframes heroZoom {
  from {
    transform: scale(1.03);
  }
  to {
    transform: scale(1.3);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hys-top .hero-bg {
    animation: none;
  }
}

/* ==========================================================================
   Lightning 標準パーツの非表示（独自ヘッダー・フッターに差し替えるため）
   ========================================================================== */
#site-header, .site-header,
.site-footer, #site-footer, .siteFooter,
#vk-mobile-nav-menu-btn, .vk-mobile-nav {
  display: none !important;
}


/* ==========================================================================
   差し込みチャンクのラッパー（.hys-top の全画面高・背景を打ち消す）
   ========================================================================== */
.hys-top.hys-inject {
  min-height: 0;
  background: transparent;
}


/* ==========================================================================
   .hys-top 本体 ／ 共通レイアウト
   ========================================================================== */
.hys-top {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--body);
  background: var(--paper);
  line-height: 2;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  letter-spacing: 0.02em;
  min-height: 100vh;
}
.hys-top * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.hys-top .wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 46px;
}
/* アンカーリンク（/company/#profile や #contact など）で飛んだとき、
   見出しが固定ヘッダー（高さ78px）の下に隠れないようにする余白 */
.hys-top section[id],
.hys-top [id^="hys-"] {
  scroll-margin-top: 94px;
}

/* ==========================================================================
   共通パーツ ／ 見出し・リード文
   ========================================================================== */
.hys-top .eyebrow {
  font-family: var(--lat);
  font-size: 17px;
  letter-spacing: 0.3em;
  color: var(--brass);
  text-transform: uppercase;
  margin-bottom: 22px;
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-weight: 600;
  flex-wrap: wrap;
}
.hys-top .eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--brass);
  display: inline-block;
}
.hys-top .eyebrow .jp {
  font-family: var(--mincho);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: none;
  color: var(--green);
}
.hys-top .hero .eyebrow .jp {
  color: #FBF9F3;
}
.hys-top h2.disp {
  font-family: var(--mincho);
  font-weight: 700;
  font-size: 31px;
  line-height: 1.8;
  letter-spacing: 0.06em;
  color: var(--green);
}
.hys-top .lead {
  font-size: 17px;
  color: var(--body);
  font-weight: 400;
  line-height: 2.1;
  margin-top: 22px;
  max-width: 660px;
  letter-spacing: 0.03em;
}
.hys-top .num {
  font-family: var(--num);
  font-weight: 500;
  font-feature-settings: "tnum" 1;
}

/* ==========================================================================
   ユーティリティバー（売主／買主 切替）
   --------------------------------------------------------------------------
   template-parts/hys-nav.php の .hys-util。ヘッダーナビの真上に置く濃緑の細帯。

   【設計意図】
     ・選択中のタブだけを、直下のナビと同じアイボリー
       （rgba(242,238,228,.94)）で塗り、地続きに見せます。
       金の下線やバッジを使わずに「いま見ているのはどちら側か」を示せます。
     ・バーは sticky にしていません。スクロールすると流れて消え、
       ナビだけが残ります。アンカーリンクの scroll-margin-top（78px）を
       変更せずに済みます。
   ========================================================================== */
.hys-top .hys-util {
  background: var(--green);
}
.hys-top .hys-util .wrap {
  display: flex;
  align-items: stretch;
  height: 34px;
}
.hys-top .util-tag {
  align-self: center;
  font-size: 11px;
  letter-spacing: 0.18em;
  line-height: 1;
  font-weight: 400;
  color: rgba(242, 238, 228, 0.5);
  white-space: nowrap;
}
.hys-top .util-switch {
  display: flex;
  margin-left: auto;
}
.hys-top .util-switch a {
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  font-size: 12px;
  letter-spacing: 0.1em;
  font-weight: 500;
  line-height: 1;
  color: rgba(242, 238, 228, 0.6);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.hys-top .util-switch a:hover {
  color: var(--paper);
}
/* 選択中：直下のナビと同じ地色で塗り、タブが地続きに見えるようにする */
.hys-top .util-switch a.is-active {
  background: rgba(242, 238, 228, 0.94);
  color: var(--green);
  font-weight: 700;
}
.hys-top .util-switch a.is-active:hover {
  color: var(--green);
}

/* ==========================================================================
   ヘッダーナビ
   ========================================================================== */
.hys-top .nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 238, 228, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.hys-top .nav .wrap {
  display: flex;
  align-items: center;
  height: 78px;
}
.hys-top .logo {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.16em;
  color: var(--green);
  text-decoration: none;
  display: inline-block;
}
.hys-top a.logo {
  transition: opacity 0.2s;
}
.hys-top a.logo:hover {
  opacity: 0.72;
}
.hys-top .logo small {
  display: block;
  font-family: var(--lat);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--brass);
  font-weight: 600;
  margin-top: 3px;
}
.hys-top .menu {
  display: flex;
  gap: 32px;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--ink);
  font-weight: 500;
  flex-shrink: 0;
  margin-left: auto;
}
.hys-top .menu a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.hys-top .menu a:hover {
  color: var(--brass);
}
.hys-top .nav-cta {
  margin-left: 34px;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--paper);
  background: var(--green);
  border: 1px solid var(--green);
  padding: 11px 24px;
  text-decoration: none;
  transition: 0.25s;
  font-weight: 500;
}
.hys-top .nav-cta:hover {
  background: transparent;
  color: var(--green);
}
.hys-top .nav-toggle {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.hys-top .nav-burger {
  display: none;
}
.hys-top .menu-cta {
  display: none;
}

/* ==========================================================================
   ヒーロー
   ========================================================================== */
.hys-top .hero {
  position: relative;
  /* 写真の左右を切らず「全幅」で見せるための高さ。
     cover は「ヒーローの縦横比 ≧ 画像の縦横比」のときだけ横を全部映します。
     背景画像は 3400×1789＝1.90 なので、高さが（ビューポート幅 ÷ 1.90）以下なら全幅表示。
       1440px幅 → 750px以下 ／ 1512px幅 → 787px以下 ／ 1920px幅 → 1010px以下
     除数を 1.96 にしているのは、100vw がスクロールバー幅を含むぶんの余裕（約3%）です。
     780px は引きを確保するための上限。calc(100vh - 60px) は画面の低いノートPCで
     ヒーローだけでファーストビューが埋まらないようにするための保険です。
     ※ この3つより下は .hero .wrap のコンテンツ高（約717px）が下限になります。
        画像の縦横比を変えたら 1.995 の数値も必ず合わせてください。 */
  min-height: min(780px, calc(100vw / 1.96), calc(100vh - 60px));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--green-deep);
}
.hys-top .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--yamate-photo) center 50%/cover no-repeat;
  transform-origin: center 50%;
  animation: heroZoom 20s ease-out forwards;
  will-change: transform;
  filter: saturate(1.08) contrast(1.02) brightness(1.02);
}
.hys-top .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* 暗幕は薄めのフラット（グラデーションなし）。
     写真の鮮やかさを優先し、可読性は文字側の影で補っています。 */
  background: rgba(19, 27, 20, 0.35);
}
/* 上下の余白は、ヒーローのコンテンツ高（＝高さの下限）を決める要素です。
   ここを大きくすると下限が上がり、その分だけ写真の左右が切れ始める幅も上がります。
   130/84 → 100/66 に詰めて、下限を約765px → 約717px にしています
   （＝1440px幅の画面でも写真が全幅で映るようにするため）。 */
.hys-top .hero .wrap {
  position: relative;
  z-index: 2;
  padding-top: 100px;
  padding-bottom: 66px;
}
.hys-top .hero .eyebrow {
  color: var(--brass-soft);
  font-size: 18px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 2px 14px rgba(0, 0, 0, 0.8);
}
.hys-top .hero .eyebrow::before {
  background: var(--brass-soft);
}
.hys-top .hero h1 {
  font-family: var(--mincho);
  font-weight: 900;
  color: #FBF9F3;
  font-size: 50px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  /* 暗幕が薄いぶん、近距離の影を足して白背景（空・雲）でも輪郭が立つようにしています */
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.62), 0 2px 6px rgba(0, 0, 0, 0.55), 0 0 2px rgba(0, 0, 0, 0.5);
}
/* 「」で始まる見出しのぶら下げ処理。
   鉤括弧は字面が文字枠の右半分にしかないため、そのままだと
   1行目だけが右に落ちて見えます。1行目を括弧1文字ぶん（＝全角1em＋
   letter-spacing 0.05em＝1.05em）左へずらし、括弧の次の文字を
   2行目以降・アイブロウ・サブ文と同じ左端に揃えます。
   ※ Why見出し（.why-h2）と同じ考え方・同じ数値です。
   ※ 括弧は左余白へはみ出しますが、字面は枠の右半分だけのため
     PC（余白46px）・スマホ（余白24px）とも画面内に収まります。
   ※ letter-spacing を変更した場合は、この値も合わせて調整してください。 */
.hys-top .hero h1.hang {
  text-indent: -1.05em;
}
.hys-top .hero .sub {
  font-size: 16px;
  color: rgba(251, 249, 243, 0.95);
  font-weight: 400;
  line-height: 2.15;
  margin-top: 28px;
  max-width: 560px;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95), 0 2px 16px rgba(0, 0, 0, 0.85);
}

/* ==========================================================================
   ボタン（primary）
   ========================================================================== */
.hys-top .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 38px;
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0.12em;
  font-weight: 500;
  background: var(--brass-soft);
  color: #20180a;
  padding: 18px 42px;
  text-decoration: none;
  transition: 0.25s;
  border: 1px solid var(--brass-soft);
}
.hys-top .btn-primary:hover {
  background: transparent;
  color: var(--brass-soft);
}
.hys-top .btn-primary::after {
  content: "→";
}
.hys-top .photo-note {
  position: absolute;
  right: 18px;
  bottom: 12px;
  z-index: 2;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(251, 249, 243, 0.55);
}

/* ==========================================================================
   セクション土台（.block / .block.alt）
   ========================================================================== */
.hys-top .block {
  padding: 98px 0;
  border-bottom: 1px solid var(--line);
}
.hys-top .block.alt {
  background: var(--paper-2);
}

/* ==========================================================================
   Why ／ 買主が迫られる選択肢カード
   ========================================================================== */
.hys-top .choices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 28px;
  background: var(--line);
  border: 1px solid var(--line);
}
.hys-top .choice {
  background: var(--paper);
  padding: 40px 30px;
  text-align: center;
}
.hys-top .choice .n {
  display: block;
  margin-bottom: 12px;
  color: var(--brass);
  font-family: var(--num);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 0.06em;
}
.hys-top .choice p {
  font-family: var(--mincho);
  font-size: 20px;
  color: var(--ink);
  letter-spacing: 0.05em;
  font-weight: 500;
}
.hys-top .block.alt .choice {
  background: var(--paper-2);
}
.hys-top .choice .desc {
  display: block;
  margin-top: 14px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.95;
  color: var(--muted);
  letter-spacing: 0.01em;
  text-wrap: pretty;
  word-break: auto-phrase;
}

/* ==========================================================================
   実例 ／ 金額の対比
   ========================================================================== */
.hys-top .figs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 50px;
}
.hys-top .fig {
  border: 1px solid var(--line);
  padding: 40px 38px;
  background: var(--paper);
}
.hys-top .fig.key {
  border-color: var(--green);
  background: var(--green);
  color: var(--paper);
}
.hys-top .fig .cap {
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 18px;
  font-weight: 500;
}
.hys-top .fig.key .cap {
  color: var(--brass-soft);
}
.hys-top .fig .amount {
  font-family: var(--num);
  font-weight: 500;
  font-size: 42px;
  line-height: 1;
  letter-spacing: 0.02em;
  font-feature-settings: "tnum" 1;
  color: var(--ink);
}
.hys-top .fig.key .amount {
  color: #FBF9F3;
}
.hys-top .fig .yen {
  font-size: 22px;
  font-weight: 400;
  margin-right: 4px;
}
.hys-top .fig .man {
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 400;
  margin-left: 5px;
}
.hys-top .diff {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: 26px;
  white-space: nowrap;
  text-align: center;
  margin-top: 48px;
  letter-spacing: 0.05em;
  color: var(--green);
}
.hys-top .diff .em {
  color: var(--brass);
  font-family: var(--num);
  font-weight: 500;
  font-size: 34px;
  margin: 0 6px;
}
.hys-top .note {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
  background: rgba(143, 110, 46, 0.09);
  border-left: 2px solid var(--brass-soft);
  padding: 16px 20px;
  margin-top: 36px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.02em;
}
.hys-top .note a {
  color: var(--brass);
  text-decoration: underline;
}

/* ==========================================================================
   実例ブロック（CASE 01 / CASE 02）
   --------------------------------------------------------------------------
   1つのセクション内に事例を複数並べるための入れ物です。
   .figs / .fig / .diff / .spec / .note は既存クラスをそのまま流用しています。
   ========================================================================== */
.hys-top .case {
  margin-top: 52px;
}
/* 2件目以降は罫線で区切る */
.hys-top .case + .case {
  margin-top: 66px;
  padding-top: 58px;
  border-top: 1px solid var(--line);
}
.hys-top .case-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
}
.hys-top .case-no {
  flex: 0 0 auto;
  font-family: var(--num);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.22em;
  line-height: 1;
  color: var(--brass);
  border: 1px solid var(--brass-soft);
  padding: 7px 12px 6px;
  white-space: nowrap;
}
.hys-top .case h3 {
  font-family: var(--mincho);
  font-weight: 700;
  font-size: 25px;
  line-height: 1.6;
  letter-spacing: 0.05em;
  color: var(--green);
}
.hys-top .case-sub {
  display: block;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-top: 9px;
}
.hys-top .case-lead {
  font-size: 16px;
  line-height: 2.05;
  color: var(--body);
  margin-top: 20px;
  max-width: 720px;
  letter-spacing: 0.02em;
  /* 文節改行（auto-phrase）は1行が長いときだけ有効。
     1行が短いと文節が入りきらず右端が大きく余るため、
     820px以下では解除しています（レスポンシブ節を参照）。 */
  word-break: auto-phrase;
  text-wrap: pretty;
}
/* 事例内の補足（法定の注記ではなく、業者の信頼性など内容の補足） */
.hys-top .subnote {
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--muted);
  letter-spacing: 0.01em;
  margin-top: 22px;
}

/* --- 見積もり比較パネル（.qbox） ---------------------------------------
   金額と差額を1枚の枠にまとめ、右端を揃えて縦に積むことで
   桁の違いがそのまま見えるようにしています。
   ・.qrow      … 各社の見積もり行（当社ルートは .key で緑ベタ）
   ・.qdiff     … 同じ枠内の最終行に置く差額（ブラスの淡い帯）
   ・2社比較・3社比較のどちらも同じマークアップで成立します。
   ※ 金額は .qamt に tnum（等幅数字）を指定しているため、
     桁数が同じなら数字の位置がぴったり揃います。 */
.hys-top .qbox {
  margin-top: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
}
.hys-top .qrow,
.hys-top .qdiff {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 22px 30px;
}
.hys-top .qrow {
  border-bottom: 1px solid var(--line);
}
.hys-top .qlb {
  min-width: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: var(--muted);
  word-break: auto-phrase;
}
.hys-top .qamt {
  flex: 0 0 auto;
  font-family: var(--num);
  font-weight: 500;
  font-size: 38px;
  line-height: 1;
  letter-spacing: 0.02em;
  font-feature-settings: "tnum" 1;
  color: var(--ink);
  white-space: nowrap;
}
.hys-top .qamt .yen {
  font-size: 20px;
  font-weight: 400;
  margin-right: 4px;
}
.hys-top .qamt .man {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  margin-left: 5px;
}
.hys-top .qamt .pre {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  margin-right: 6px;
}

/* 当社ルートの行 */
.hys-top .qrow.key {
  background: var(--green);
  border-bottom-color: var(--green);
}
.hys-top .qrow.key .qlb {
  color: var(--brass-soft);
  font-weight: 700;
}
.hys-top .qrow.key .qamt {
  color: #FBF9F3;
}

/* 差額の行（枠の外に出さず、最終行として同じパネルに収める） */
.hys-top .qdiff {
  background: rgba(143, 110, 46, 0.1);
}
.hys-top .qdiff .qlb {
  /* 金額側が nowrap で幅を確保するため、ラベルを縮ませないと
     「その差」が1文字ずつ縦に折り返されてしまいます */
  flex: 0 0 auto;
  white-space: nowrap;
  font-family: var(--mincho);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.08em;
  color: var(--green);
}
.hys-top .qdiff .qamt {
  color: var(--brass);
  font-size: 40px;
}
.hys-top .qdiff .qamt .man {
  font-size: 18px;
}

/* --- リフォーム内容（4項目） --- */
.hys-top .reno {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 34px;
  background: var(--line);
  border: 1px solid var(--line);
}
.hys-top .reno .r {
  background: var(--paper);
  padding: 28px 26px;
  /* カードの1行が短いため、文節改行ではなく右端まで詰めて折り返します。
     line-break:strict で句読点・閉じ括弧の禁則処理は維持します。
     （word-break / text-wrap は継承するので、見出しと本文の両方に効きます） */
  word-break: normal;
  text-wrap: wrap;
  line-break: strict;
}
.hys-top .reno .r h4 {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--green);
  margin-bottom: 11px;
}
.hys-top .reno .r p {
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* ==========================================================================
   価値の流れ（3ステップ）
   ========================================================================== */
.hys-top .flow {
  display: flex;
  align-items: stretch;
  gap: 16px;
  margin-top: 50px;
}
.hys-top .step {
  flex: 1;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 34px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hys-top .block.alt .step {
  background: var(--paper-2);
}
.hys-top .step .k {
  font-family: var(--num);
  font-weight: 500;
  font-size: 21px;
  color: var(--brass);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.hys-top .step p {
  font-family: var(--mincho);
  font-size: 17px;
  letter-spacing: 0.04em;
  line-height: 1.8;
  color: var(--ink);
  font-weight: 500;
}
.hys-top .step.key {
  background: var(--green);
  border-color: var(--green);
  color: var(--paper);
}
.hys-top .step.key p {
  color: #FBF9F3;
}
.hys-top .step.key .k {
  color: var(--brass-soft);
}
.hys-top .arr {
  display: flex;
  align-items: center;
  color: var(--brass);
  font-size: 24px;
}

/* ==========================================================================
   ボタン（dark）／ CTA
   ========================================================================== */
.hys-top .cta-center {
  text-align: center;
  margin-top: 54px;
}
.hys-top .btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  letter-spacing: 0.12em;
  font-weight: 500;
  background: var(--green);
  color: var(--paper);
  padding: 18px 46px;
  text-decoration: none;
  transition: 0.25s;
  border: 1px solid var(--green);
}
.hys-top .btn-dark:hover {
  background: transparent;
  color: var(--green);
}
.hys-top .btn-dark::after {
  content: "→";
}

/* ==========================================================================
   比較パネル（大手 vs 弊社）
   ========================================================================== */
.hys-top .compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 50px;
}
.hys-top .pane {
  padding: 40px 38px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.hys-top .pane.key {
  border-color: var(--green);
  background: var(--green);
  color: var(--paper);
}
.hys-top .pane h3 {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
  color: var(--ink);
}
.hys-top .pane.key h3 {
  color: #fff;
}
.hys-top .pane p {
  font-size: 15px;
  font-weight: 400;
  line-height: 2.05;
  color: var(--body);
  letter-spacing: 0.02em;
}
.hys-top .pane.key p {
  color: rgba(251, 249, 243, 0.9);
}
.hys-top .pane .rate {
  font-family: var(--num);
  font-weight: 500;
  font-size: 42px;
  color: var(--brass-soft);
  margin-top: 18px;
  display: block;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   テキストリンク
   ========================================================================== */
.hys-top .textlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid var(--brass-soft);
  padding-bottom: 4px;
  transition: 0.2s;
  font-weight: 500;
}
.hys-top .textlink:hover {
  gap: 14px;
  color: var(--brass);
}

/* ==========================================================================
   プロフィール
   ========================================================================== */
.hys-top .prof {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 46px;
  align-items: center;
  margin-top: 50px;
}
.hys-top .avatar {
  width: 210px;
  height: 250px;
  background: url("../img/portrait_matsu_sm.jpg") center 20%/cover no-repeat;
  position: relative;
  overflow: hidden;
}
.hys-top .avatar span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--lat);
  letter-spacing: 0.22em;
  color: rgba(242, 238, 228, 0.5);
  font-size: 13px;
}
.hys-top .prof .name {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: 29px;
  letter-spacing: 0.12em;
  color: var(--green);
}
.hys-top .prof .lic {
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--brass);
  margin-top: 12px;
  font-weight: 500;
}
.hys-top .prof .bio {
  font-size: 16px;
  font-weight: 400;
  line-height: 2.2;
  color: var(--body);
  margin-top: 22px;
  max-width: 580px;
  letter-spacing: 0.03em;
}
.hys-top .prof .quote {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.75;
  letter-spacing: 0.05em;
  color: var(--green);
  margin-bottom: 22px;
}
.hys-top .prof .affil {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--brass);
  font-weight: 500;
  margin-bottom: 5px;
}

/* ==========================================================================
   対応エリア（チップ・マップ）
   ========================================================================== */
.hys-top .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 42px;
}
.hys-top .chip {
  font-family: var(--mincho);
  font-size: 17px;
  letter-spacing: 0.05em;
  color: var(--green);
  border: 1px solid var(--brass-soft);
  padding: 10px 22px;
  background: var(--paper);
  font-weight: 500;
}
.hys-top .block.alt .chip {
  background: var(--paper-2);
}
/* --------------------------------------------------------------------------
   リンクになっている町名チップ（<a class="chip">）
   TOPの「対応エリア」と /area/ の町名一覧で共通です。
   ホバーは緑の塗りつぶし。/area/ 側は area.css の .area-group .chip が
   同じ見た目を上書きするため、両ページで表示は揃います。
   -------------------------------------------------------------------------- */
.hys-top a.chip {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.hys-top a.chip::after {
  content: "→";
  font-family: var(--sans);
  font-size: 11.5px;
  margin-left: 12px;
  color: var(--brass);
  transition: color 0.25s ease, transform 0.25s ease;
}
/* .hys-top .block.alt .chip（クラス4つ）より詳細度を上げる必要があるため、
   .block.alt を含むセレクタも併記しています */
.hys-top a.chip:hover,
.hys-top a.chip:focus-visible,
.hys-top .block.alt a.chip:hover,
.hys-top .block.alt a.chip:focus-visible {
  background: var(--green);
  border-color: var(--green);
  color: #FBF9F3;
}
.hys-top a.chip:hover::after,
.hys-top a.chip:focus-visible::after {
  color: #FBF9F3;
  transform: translateX(3px);
}
.hys-top a.chip:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}
.hys-top .map {
  height: 380px;
  margin-top: 38px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: url("../img/area_yamate.jpg") center 92%/cover no-repeat;
}
.hys-top .map-note {
  position: absolute;
  right: 16px;
  bottom: 12px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #FBF9F3;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}
.hys-top .area-life {
  margin-top: 44px;
  background: var(--green);
  color: #FBF9F3;
  padding: 42px 46px;
  border-radius: 4px;
}
.hys-top .area-life h4 {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: 23px;
  color: #FBF9F3;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.hys-top .area-life p {
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
  color: rgba(251, 249, 243, 0.9);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   コラム誘導カード（.column-card）
   --------------------------------------------------------------------------
   TOPの「対応エリア」セクションと /area/ ページで使う、
   コラム記事（投稿）への誘導ブロックです。
   マークアップは template-parts/hys-column-hanshinkan.php。
   すぐ下に置く .area-life（深緑ベタ）と隣り合うため、
   こちらは紙色＋細罫＋左の真鍮ラインで“読み物”の質感に寄せています。
   ========================================================================== */
.hys-top .column-card {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px 48px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass-soft);
  border-radius: 4px;
  padding: 34px 38px;
}
.hys-top .block.alt .column-card {
  background: var(--paper-2);
}
.hys-top .column-lb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
}
.hys-top .column-lb .jp {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: none;
}
.hys-top .column-card h4 {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--green);
  margin: 12px 0 10px;
}
.hys-top .column-card p {
  font-size: 15.5px;
  line-height: 1.95;
  letter-spacing: 0.02em;
  color: var(--body);
}
.hys-top .column-card .textlink {
  margin-top: 0;
  white-space: nowrap;
}
/* 見出し直下にカードを置き、その下にリード文が続く並びのための余白調整 */
.hys-top .column-card + .lead {
  margin-top: 34px;
}

/* ==========================================================================
   お問い合わせフォーム（Contact Form 7）
   ========================================================================== */
.hys-top .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}
.hys-top .field.full {
  grid-column: span 2;
}
.hys-top .field label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 10px;
  font-weight: 500;
}
.hys-top .field label .req {
  color: var(--brass);
  margin-left: 6px;
}
.hys-top .field .input {
  height: 56px;
  border: 1px solid var(--line);
  background: var(--paper);
  display: flex;
  align-items: center;
  padding: 0 20px;
  font-size: 14px;
  color: var(--muted);
}
.hys-top .field.full .input {
  height: 100px;
  align-items: flex-start;
  padding-top: 18px;
}
.hys-top .form-cta {
  text-align: center;
  margin-top: 44px;
}
.hys-top .form-consent {
  text-align: center;
  margin-top: 34px;
  font-size: 14px;
  color: var(--muted);
  font-family: var(--sans);
}
.hys-top .form-consent label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  letter-spacing: 0.02em;
}
.hys-top .form-consent a {
  color: var(--brass);
  text-decoration: underline;
}
.hys-top .form-consent input[type=checkbox] {
  width: 17px;
  height: 17px;
  accent-color: var(--green);
  cursor: pointer;
  flex-shrink: 0;
}
/* 同意チェックは常に中央揃えのまま。他の .wpcf7-list-item 指定に
   引きずられないよう、詳細度を上げて明示しています */
.hys-top .form-consent .wpcf7-form-control .wpcf7-list-item,
.hys-top .form-consent .wpcf7-list-item {
  margin: 0;
}
.hys-top .form-consent .wpcf7-list-item-label {
  letter-spacing: 0.02em;
}
.hys-top .form-grid .wpcf7-form-control-wrap {
  display: block;
}
.hys-top .form-grid br {
  display: none;
}
.hys-top .form-grid .field p {
  margin: 0;
}
.hys-top .form-grid input[type=text],
.hys-top .form-grid input[type=email],
.hys-top .form-grid input[type=tel],
.hys-top .form-grid input[type=number],
.hys-top .form-grid select,
.hys-top .form-grid textarea,
.hys-top .form-grid .hys-input {
  width: 100%;
  height: 56px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0 18px;
  font-size: 15px;
  color: var(--ink);
  font-family: var(--sans);
  letter-spacing: 0.02em;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s;
}
/* テキストエリア
   ── class:hys-input が付くと .hys-top .form-grid .hys-input（詳細度 0,3,0）が
      .hys-top .form-grid textarea（0,2,1）に勝ってしまい、height:56px /
      padding:0 18px が適用されて文字が枠の上端に張り付きます。
      textarea.hys-input（0,3,1）で明示的に上書きします。 */
.hys-top .form-grid textarea,
.hys-top .form-grid textarea.hys-input {
  height: 120px;
  padding: 16px 18px;
  line-height: 1.8;
  resize: vertical;
}
.hys-top .form-grid input::placeholder, .hys-top .form-grid textarea::placeholder {
  color: #9a9384;
}
.hys-top .form-grid input:focus, .hys-top .form-grid select:focus, .hys-top .form-grid textarea:focus {
  outline: none;
  border-color: var(--brass);
}
.hys-top .form-grid select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%238F6E2E' stroke-width='1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
  cursor: pointer;
}
/* 補助説明（ラベルの直下に置く小さな案内文）
   ── 「住所がわからないから書けない」という離脱を防ぐための欄で使います */
.hys-top .field .help {
  display: block;
  font-size: 12.5px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: var(--muted);
  font-weight: 400;
  margin: -4px 0 10px;
}
/* 選択肢（チェックボックス群）
   ── 枠線は付けず、同意チェック（.form-consent）と同じ素の見た目に揃えます。
      左端に固まって見えないよう、欄の横幅を等分して配置します。
      auto-fit なので、選択肢を4つ・5つに増やしても自動で折り返します。 */
.hys-top .field .choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  align-items: center;
  gap: 14px;
  min-height: 56px;
}
.hys-top .field .choices .wpcf7-form-control,
.hys-top .field .choices .wpcf7-form-control-wrap {
  display: contents;
}
/* 各項目を20pxずつ内側へ。入力欄の文字位置（padding 18px）とほぼ揃います。
   ── [data-name="structure"] で「ご希望の構造」の3項目だけに限定しています。
      同意チェック（data-name="privacy-consent"）には一切かかりません。
      CF7側でフィールド名を変えたら、ここの structure も合わせてください。 */
.hys-top .field .choices [data-name=structure] .wpcf7-list-item {
  margin: 0 0 0 20px;
}
.hys-top .field .choices label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink);
  cursor: pointer;
}
.hys-top .field .choices input[type=checkbox] {
  width: 19px;
  height: 19px;
  accent-color: var(--green);
  cursor: pointer;
  flex-shrink: 0;
}
.hys-top .field .choices .wpcf7-list-item-label {
  letter-spacing: 0.04em;
}
.hys-top .form-cta .hys-submit {
  display: inline-block;
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0.12em;
  font-weight: 500;
  background: var(--green);
  color: var(--paper);
  padding: 17px 48px;
  border: 1px solid var(--green);
  border-radius: 0;
  cursor: pointer;
  transition: 0.25s;
  -webkit-appearance: none;
  appearance: none;
}
.hys-top .form-cta .hys-submit:hover {
  background: transparent;
  color: var(--green);
}
.hys-top .wpcf7-not-valid-tip {
  color: #b3402e;
  font-size: 12.5px;
  margin-top: 6px;
  font-family: var(--sans);
}
.hys-top .wpcf7-response-output {
  margin: 26px 0 0 !important;
  border: 1px solid var(--brass-soft) !important;
  font-size: 14px;
  padding: 14px 18px !important;
  font-family: var(--sans);
}
.hys-top .wpcf7 form.invalid .wpcf7-response-output,
.hys-top .wpcf7 form.unaccepted .wpcf7-response-output {
  border-color: #b3402e !important;
}
.hys-top .wpcf7-spinner {
  margin: 0 0 0 12px;
}

/* ==========================================================================
   Why ／ 問いかけ・買主の声・結び
   ========================================================================== */
.hys-top .ask {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.95;
  color: var(--body);
  letter-spacing: 0.02em;
  margin-top: 42px;
  text-wrap: pretty;
  word-break: auto-phrase;
}
.hys-top .ask b {
  color: var(--green);
  font-weight: 700;
}
.hys-top .voices {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 22px;
  padding-left: 58px;
}
.hys-top .voices::before {
  content: "“";
  position: absolute;
  left: 0;
  top: -6px;
  font-family: var(--lat);
  font-weight: 600;
  font-size: 78px;
  line-height: 1;
  color: var(--brass-soft);
  opacity: 0.55;
}
.hys-top .voice {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.08em;
  color: var(--green);
  line-height: 1.5;
}
.hys-top .voice:nth-child(1) {
  opacity: 1;
  margin-left: 0;
}
.hys-top .voice:nth-child(2) {
  opacity: 0.78;
  margin-left: 30px;
}
.hys-top .voice:nth-child(3) {
  opacity: 0.58;
  margin-left: 60px;
}
.hys-top .close-line {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 21px;
  text-align: center;
  line-height: 1.95;
  color: var(--paper);
  margin-top: 52px;
  letter-spacing: 0.03em;
  background: var(--green);
  padding: 34px 30px;
  border-radius: 4px;
}
.hys-top .close-line b {
  color: var(--brass-soft);
}

/* ==========================================================================
   物件スペック表
   ========================================================================== */
.hys-top .spec {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 40px;
}
.hys-top .spec > div {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 20px 18px;
}
.hys-top .spec .t {
  display: inline-block;
  background: var(--green);
  color: var(--paper);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 3px;
}
.hys-top .spec .v {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: 16.5px;
  color: var(--green);
  margin-top: 14px;
  line-height: 1.55;
}

/* ==========================================================================
   総額ロジック
   ========================================================================== */
.hys-top .total {
  margin-top: 34px;
  background: var(--green);
  color: #FBF9F3;
  padding: 34px 40px;
}
.hys-top .total .eq {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.06em;
  color: var(--brass-soft);
  margin-bottom: 14px;
}
.hys-top .total p {
  font-size: 15px;
  font-weight: 400;
  line-height: 2.05;
  color: rgba(251, 249, 243, 0.92);
  letter-spacing: 0.02em;
}
.hys-top .scheme-more {
  margin-top: 48px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}
.hys-top .scheme-more .more-q {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: 25px;
  line-height: 1.7;
  letter-spacing: 0.05em;
  color: var(--green);
  margin-bottom: 32px;
  white-space: nowrap;
}

/* ==========================================================================
   Why ／ 見出しと写真
   ========================================================================== */
.hys-top h2.why-h2 {
  font-size: 30px;
  line-height: 1.7;
  text-indent: -1.05em;
  margin-bottom: 6px;
}
.hys-top .why-top {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 44px;
  align-items: center;
  margin-top: 34px;
}
.hys-top .why-copy {
  align-self: center;
}
.hys-top .why-photo {
  background: url("../img/why_comp.jpg") center/cover no-repeat;
  border: 1px solid var(--line);
  border-radius: 4px;
  aspect-ratio: 16/10;
  width: 420px;
}

/* ==========================================================================
   フッター
   ========================================================================== */
.hys-top .foot {
  background: var(--green-deep);
  color: rgba(242, 238, 228, 0.78);
  padding: 58px 0 40px;
}
.hys-top .foot .logo {
  color: var(--paper);
}
.hys-top .foot .logo small {
  color: var(--brass-soft);
}
.hys-top .foot .links {
  display: flex;
  gap: 28px;
  font-size: 13px;
  letter-spacing: 0.05em;
  margin-top: 26px;
  flex-wrap: wrap;
}
.hys-top .foot .links a {
  color: rgba(242, 238, 228, 0.78);
  text-decoration: none;
}
.hys-top .foot .links a:hover {
  color: var(--brass-soft);
}
.hys-top .foot .legal {
  font-size: 12px;
  color: rgba(242, 238, 228, 0.5);
  margin-top: 28px;
  line-height: 2;
  border-top: 1px solid rgba(242, 238, 228, 0.14);
  padding-top: 24px;
  letter-spacing: 0.02em;
}
.hys-top .foot-cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 34px;
  margin-top: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(242, 238, 228, 0.14);
}
.hys-top .foot-cols .about {
  font-size: 12.5px;
  line-height: 1.95;
  color: rgba(242, 238, 228, 0.6);
  margin-top: 16px;
  max-width: 280px;
}
.hys-top .foot-col h5 {
  font-family: var(--lat);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin-bottom: 14px;
  font-weight: 600;
}
.hys-top .foot-col a {
  display: block;
  font-size: 13px;
  color: rgba(242, 238, 228, 0.78);
  text-decoration: none;
  padding: 5px 0;
  letter-spacing: 0.03em;
}
.hys-top .foot-col a:hover {
  color: var(--brass-soft);
}
.hys-top .foot-info {
  margin-top: 28px;
  border-top: 1px solid rgba(242, 238, 228, 0.14);
  padding-top: 28px;
}
.hys-top .foot-info .disclaim {
  font-size: 12.5px;
  line-height: 1.95;
  color: rgba(242, 238, 228, 0.68);
  letter-spacing: 0.02em;
}
.hys-top .foot-info .disclaim a {
  color: var(--brass-soft);
  text-decoration: underline;
}
.hys-top .foot-info .run-line {
  font-size: 12px;
  color: rgba(242, 238, 228, 0.64);
  letter-spacing: 0.02em;
  line-height: 1.8;
  margin-top: 16px;
}
.hys-top .foot-info .note-legal {
  font-size: 11.5px;
  line-height: 1.85;
  color: rgba(242, 238, 228, 0.5);
  margin-top: 16px;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   下層ページ共通 ／ ページヘッダー・CTAバンド
   --------------------------------------------------------------------------
   もとは scheme.css に置いていましたが、下層ページが複数になったため
   style.css（＝全ページで読み込み）へ移設しました。
   /scheme/ /simulation/ など、独立テンプレートの下層ページ共通で使います。
   背景は画像ファイル不要のCSS完結型です。
     ::before … 右上からの光（斜め二分のグラデーション）
     ::after  … 和紙のような微細グレイン
   ========================================================================== */
.hys-top .page-hero{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:var(--green-deep);
  color:var(--paper);
  padding:104px 0 88px;
}
/* 光レイヤー：右上から差し込み、左下へ沈む
   ※ 色は右上→左下の順。明るさを変えるなら先頭2つの色を調整してください。 */
.hys-top .page-hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:linear-gradient(207deg,
    #55603C 0%,
    #3A472C 22%,
    #222C1F 48%,
    #0E1410 78%,
    #080C09 100%);
}
/* グレインレイヤー */
.hys-top .page-hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity:.06;
}
/* テキストをテクスチャより前面に */
.hys-top .page-hero .wrap{position:relative;z-index:2}

.hys-top .page-hero .eyebrow{color:var(--brass-soft)}
.hys-top .page-hero .eyebrow::before{background:var(--brass-soft)}
.hys-top .page-hero .eyebrow .jp{color:#fff}
.hys-top .page-hero h1{font-family:var(--mincho);font-weight:700;font-size:clamp(28px,4.2vw,42px);line-height:1.65;letter-spacing:.05em;color:#fff;margin-top:10px}
.hys-top .page-hero .sub{font-size:16px;line-height:2.15;color:rgba(242,238,228,.86);max-width:700px;margin-top:28px;font-weight:400;letter-spacing:.02em}
.hys-top .hero-note{font-size:12px;line-height:1.9;color:rgba(242,238,228,.55);margin-top:22px;max-width:700px;letter-spacing:.02em}


/* --- 下層ページ共通のCTAバンド --- */
.hys-top .cta-band{background:var(--green);text-align:center;border-bottom:none}
.hys-top .cta-band .eyebrow{color:var(--brass-soft)}
.hys-top .cta-band .eyebrow::before{background:var(--brass-soft)}
.hys-top .cta-band .eyebrow .jp{color:#fff}
.hys-top .cta-band .disp,
.hys-top .cta-band h2.disp{color:#fff}
.hys-top .cta-band p{color:rgba(242,238,228,.85);max-width:620px;margin:22px auto 0;font-size:16px;line-height:2.1}
.hys-top .cta-band .btn-dark{margin-top:36px;background:var(--brass);border-color:var(--brass);color:#fff}
.hys-top .cta-band .btn-dark:hover{background:transparent;color:var(--brass-soft);border-color:var(--brass-soft)}


/* ==========================================================================
   下層ページ共通（.hys-page ／ ページ見出しのレイアウト）
   --------------------------------------------------------------------------
   本文の中身（h2/h3/p/table 等）の見た目は base.css が担当します。
   ここは「下層ページの外枠」＝余白・コンテンツ幅・ページタイトルのみ。
   ========================================================================== */
.hys-top .hys-page {
  padding: 68px 0 96px;
}
.hys-top .hys-page .wrap {
  max-width: 840px;
}
.hys-top .page-head {
  margin-bottom: 40px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.hys-top .page-title {
  font-family: var(--mincho);
  font-weight: 700;
  font-size: 32px;
  color: var(--green);
  letter-spacing: 0.04em;
  line-height: 1.5;
}
/* --- .hys-content（本文の見出し・段落・表など）は base.css に移設しました ---
   理由：同じ見た目を Lightning が描画する投稿（/column/ 等）にも効かせるため。
         .hys-top スコープのままでは投稿に当たりません。
   編集する場合は assets/css/base.css の「4. 文書ページ・記事本文の共通スタイル」へ。
   ここには .hys-content の指定を書き足さないでください（二重管理になります）。 */

/* ==========================================================================
   投稿・記事一覧・ページャー
   ========================================================================== */
.hys-top .post-meta {
  font-family: var(--num);
  font-size: 14px;
  color: var(--brass);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.hys-top .post-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.hys-top .post-item {
  display: flex;
  gap: 22px;
  align-items: baseline;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background 0.2s;
}
.hys-top .post-item:hover {
  background: rgba(143, 110, 46, 0.06);
}
.hys-top .post-item-date {
  font-family: var(--num);
  font-size: 14px;
  color: var(--brass);
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.hys-top .post-item-title {
  font-family: var(--mincho);
  font-size: 18px;
  color: var(--green);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.6;
}
.hys-top .back-link {
  margin-top: 46px;
}
.hys-top .back-link a {
  color: var(--brass);
  text-decoration: none;
  letter-spacing: 0.04em;
}
.hys-top .back-link a:hover {
  text-decoration: underline;
}
.hys-top .pager {
  margin-top: 44px;
  text-align: center;
}
.hys-top .pager .page-numbers {
  display: inline-block;
  padding: 9px 15px;
  margin: 0 3px;
  border: 1px solid var(--line);
  color: var(--green);
  text-decoration: none;
  font-family: var(--num);
  font-size: 15px;
  transition: 0.2s;
}
.hys-top .pager .page-numbers:hover {
  border-color: var(--brass);
  color: var(--brass);
}
.hys-top .pager .page-numbers.current {
  background: var(--green);
  color: var(--paper);
  border-color: var(--green);
}
.hys-top .pager .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* ==========================================================================
   日本語の折り返し制御
   ========================================================================== */
.hys-top .pw > span {
  display: inline-block;
}

.hys-top .lead, .hys-top .sub, .hys-top .ask, .hys-top .bio, .hys-top .close-line, .hys-top .crisis-q, .hys-top .total p, .hys-top .formcta p, .hys-top .disclaim, .hys-top .run-line, .hys-top .note-legal {
  word-break: auto-phrase;
  line-break: strict;
  text-wrap: pretty;
}

/* ==========================================================================
   レスポンシブ
   ========================================================================== */
@media (max-width: 980px) {
  /* メニュー項目が長くなったため、ハンバーガーに切り替わる900pxまでの間だけ
     間隔とCTAの余白を詰めます（.menu は flex-shrink:0 のため、詰めないと
     900〜940px あたりで横にはみ出します）。 */
  .hys-top .menu {
    gap: 22px;
  }
  .hys-top .nav-cta {
    margin-left: 22px;
    padding: 11px 18px;
  }
  .hys-top .why-top {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .hys-top .why-photo {
    width: 100%;
    max-width: 520px;
  }
  .hys-top .scheme-more .more-q {
    white-space: normal;
    font-size: 22px;
  }
}
@media (max-width: 900px) {
  .hys-top .util-switch a {
    padding: 0 14px;
  }
  .hys-top .nav-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    margin-left: auto;
  }
  .hys-top .nav-burger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--green);
    transition: transform 0.28s, opacity 0.2s;
  }
  .hys-top .nav-cta {
    display: none;
  }
  .hys-top .menu {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(242, 238, 228, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    padding: 6px 24px 22px;
    box-shadow: 0 18px 30px rgba(19, 27, 20, 0.1);
  }
  .hys-top .nav-toggle:checked ~ .menu {
    display: flex;
  }
  .hys-top .menu a {
    padding: 15px 2px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    white-space: nowrap;
  }
  .hys-top .menu .menu-cta {
    display: block;
    margin-top: 16px;
    text-align: center;
    background: var(--green);
    color: var(--paper);
    padding: 15px;
    border-bottom: 0;
    letter-spacing: 0.08em;
  }
  .hys-top .nav-toggle:checked ~ .nav-burger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hys-top .nav-toggle:checked ~ .nav-burger span:nth-child(2) {
    opacity: 0;
  }
  .hys-top .nav-toggle:checked ~ .nav-burger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}
@media (max-width: 820px) {
  .hys-top .wrap {
    padding: 0 24px;
  }
  /* スマホは横方向のトリミングが強く効くため、専用クロップに差し替え */
  .hys-top .hero-bg {
    background-image: var(--yamate-photo-sp);
    background-position: center 50%;
    transform-origin: center 50%;
  }
  .hys-top .hero::after {
    background: rgba(19, 27, 20, 0.42);
  }
  .hys-top .hero {
    min-height: 560px;
  }
  .hys-top .hero h1 {
    font-size: 29px;
    letter-spacing: 0.03em;
    line-height: 1.5;
  }
  .hys-top .hero .eyebrow {
    font-size: 15px;
  }
  .hys-top h2.disp {
    font-size: 24px;
    line-height: 1.7;
  }
  .hys-top .eyebrow {
    font-size: 15px;
  }
  .hys-top .lead {
    font-size: 16px;
  }
  .hys-top .choices {
    grid-template-columns: 1fr;
  }
  /* 説明文の幅を稼ぐ（行数が増えて縦長になるのを防ぐ） */
  .hys-top .choice {
    padding: 28px 18px;
  }
  .hys-top .choice .desc {
    font-size: 14.5px;
    line-height: 1.9;
  }
  .hys-top .figs, .hys-top .compare {
    grid-template-columns: 1fr;
  }
  .hys-top .reno {
    grid-template-columns: 1fr;
  }
  .hys-top .qrow,
  .hys-top .qdiff {
    padding: 18px 20px;
    gap: 16px;
  }
  .hys-top .qlb {
    font-size: 14px;
  }
  .hys-top .qamt {
    font-size: 30px;
  }
  .hys-top .qamt .yen {
    font-size: 17px;
  }
  .hys-top .qamt .man,
  .hys-top .qamt .pre {
    font-size: 15px;
  }
  .hys-top .qdiff .qlb {
    font-size: 17px;
  }
  .hys-top .qdiff .qamt {
    font-size: 30px;
  }
  .hys-top .qdiff .qamt .man {
    font-size: 15px;
  }
  .hys-top .reno .r {
    padding: 24px 20px;
  }
  .hys-top .case {
    margin-top: 40px;
  }
  .hys-top .case + .case {
    margin-top: 48px;
    padding-top: 42px;
  }
  .hys-top .case h3 {
    font-size: 21px;
  }
  .hys-top .case-head {
    gap: 12px;
  }
  .hys-top .case-sub {
    font-size: 13.5px;
  }
  .hys-top .case-lead {
    font-size: 15.5px;
    /* 1行が短くなるため、文節改行をやめて右端まで詰めます */
    word-break: normal;
    text-wrap: wrap;
    line-break: strict;
  }
  .hys-top .fig .amount {
    font-size: 32px;
  }
  .hys-top .fig .yen {
    font-size: 18px;
  }
  .hys-top .fig .man {
    font-size: 16px;
  }
  .hys-top .diff {
    font-size: 19px;
    margin-top: 34px;
  }
  .hys-top .diff .em {
    font-size: 24px;
    margin: 0 4px;
  }

  /* ヒーロー：CTAボタンまでファーストビューに収める */
  .hys-top .hero {
    min-height: 480px;
  }
  .hys-top .hero .wrap {
    padding-top: 70px;
    padding-bottom: 54px;
  }
  .hys-top .hero .sub {
    margin-top: 20px;
    line-height: 2;
  }
  .hys-top .btn-primary {
    margin-top: 26px;
  }

  /* 対応エリア：2列グリッドで整然と並べる */
  .hys-top .chips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 30px;
  }
  .hys-top .chip {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 13.5px;
    padding: 9px 6px;
    letter-spacing: 0.01em;
  }
  /* 写真は横長比率に */
  .hys-top .map {
    height: 200px;
    background-size: 165% auto;
    background-position: 50% 88%;
  }

  /* フッター：社名=1列 ／ 理由・根拠=2列 ／ ご案内=1列 */
  .hys-top .foot-cols > *:first-child,
  .hys-top .foot-cols > *:last-child {
    grid-column: 1 / -1;
  }
  /* 紹介文はPCでは280px幅に収めているが、スマホでは列が全幅になるため
     上限を外して右端まで使う（残したままだと右側が大きく余ります） */
  .hys-top .foot-cols .about {
    max-width: none;
  }
  .hys-top .flow {
    flex-direction: column;
  }
  .hys-top .arr {
    justify-content: center;
    transform: rotate(90deg);
  }
  .hys-top .prof {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .hys-top .form-grid {
    grid-template-columns: 1fr;
  }
  .hys-top .field.full {
    grid-column: span 1;
  }
  .hys-top .block {
    padding: 66px 0;
  }
  .hys-top .spec {
    grid-template-columns: 1fr 1fr;
  }
  .hys-top .area-life {
    padding: 30px 24px;
  }
  .hys-top .column-card {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 28px 24px;
  }
  .hys-top .column-card .textlink {
    white-space: normal;
  }
  .hys-top .foot-cols {
    grid-template-columns: 1fr 1fr;
  }
  .hys-top .scheme-more .more-q {
    font-size: 22px;
    line-height: 1.65;
  }
  .hys-top .foot-info .run-line {
    margin-top: 14px;
  }
  .hys-top .hys-page {
    padding: 44px 0 66px;
  }
  .hys-top .page-title {
    font-size: 25px;
  }
}
@media (max-width: 560px) {
  /* 選択肢：狭い幅では2列に折り返します */
  .hys-top .field .choices {
    gap: 14px 18px;
    min-height: 0;
    padding: 4px 0 6px;
  }
  /* ユーティリティバー：画面幅が足りないため、左のタグラインは畳んで
     切替の2つを均等幅に広げます */
  .hys-top .util-tag {
    display: none;
  }
  .hys-top .hys-util .wrap {
    height: 30px;
  }
  .hys-top .util-switch {
    margin-left: 0;
    width: 100%;
  }
  .hys-top .util-switch a {
    flex: 1;
    justify-content: center;
    padding: 0;
    font-size: 11.5px;
    letter-spacing: 0.06em;
  }
  /* 下層ページのヘッダー（scheme.css から移設） */
  .hys-top .page-hero {
    padding: 78px 0 62px;
  }
  .hys-top .page-hero h1 {
    font-size: 25px;
    line-height: 1.6;
  }
  /* 見積もりパネル：横並びでは金額の幅が勝ってラベルが潰れるため、
     560px以下はラベルを上・金額を下に分けます。
     金額は右端揃えのままなので、各行の桁位置は揃ったままです。 */
  .hys-top .qrow,
  .hys-top .qdiff {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .hys-top .qamt {
    align-self: flex-end;
  }
  .hys-top .qdiff .qlb {
    white-space: normal;
  }
  /* ヒーロー：小型端末でもCTAまで収める */
  .hys-top .hero .sub {
    font-size: 15px;
    line-height: 1.9;
    margin-top: 18px;
  }
  .hys-top .btn-primary {
    font-size: 14px;
    letter-spacing: 0.06em;
    padding: 16px 24px;
    margin-top: 22px;
  }
  .hys-top .chip {
    font-size: 12.5px;
    padding: 9px 4px;
  }
  .hys-top h2.why-h2 {
    font-size: 24px;
  }
  .hys-top .voices {
    padding-left: 44px;
  }
  .hys-top .voices::before {
    font-size: 60px;
  }
  .hys-top .voice {
    font-size: 19px;
  }
  .hys-top .voice:nth-child(2) {
    margin-left: 18px;
  }
  .hys-top .voice:nth-child(3) {
    margin-left: 36px;
  }
  .hys-top .close-line {
    font-size: 18px;
    padding: 28px 22px;
  }
}
