/* ============================================================
   暮らしと不動産の窓口 — site.css
   DESIGN.md v3.0（セゾン方向）に従う。
   地=淡ブルーグレー / 白カード / ぼかさない影 / 差し色=黄1種
   ============================================================ */

:root{
  --bg:        #EAF1EC;
  --card:      #FFFFFF;
  --navy:      #1A4A38;
  --blue:      #10714E;
  --cream:     #FFF9E5;
  --ink:       #333333;
  --ink-weak:  #5E6B62;
  --accent:    #F7C948;
  --accent-ink:#26302A;
  --line:      #D5DFD6;
  --shadow:    4px 4px 0 rgba(16,58,40,.08);
  --radius:    10px;
  --font-head: "LINE Seed JP", "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-body: "BIZ UDPGothic", "Hiragino Kaku Gothic ProN", sans-serif;
  --w: 1280px;   /* 2026-08-30: 左右をもっと使う。読み物は各所の max-width で別に抑える */
}

*{ margin:0; padding:0; box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; overflow-x:clip; }
body{ overflow-x:clip; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }

body{
  font-family: var(--font-body);
  font-size:16px; line-height:1.8; color:var(--ink);
  background:var(--bg);
  overflow-wrap: break-word;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:var(--blue); }
ul,ol{ list-style:none; }
table{ border-collapse:collapse; width:100%; }

.wrap{ max-width:var(--w); margin:0 auto; padding:0 40px; }
@media (max-width:1000px){ .wrap{ padding:0 24px; } }
@media (max-width:600px){ .wrap{ padding:0 18px; } }

h1,h2,h3,h4{ font-family:var(--font-head); font-weight:700; line-height:1.45; }

/* 文節折り: site.js が <wbr> を入れた要素だけ語中折れを禁じる */
.jp-balanced{ word-break:keep-all; overflow-wrap:anywhere; }
.nb{ white-space:nowrap; }

/* ---- 現れ（控えめ・これ以外の動きは作らない） ---- */
.reveal{ opacity:0; transform:translateY(8px); transition:opacity .5s ease, transform .5s ease; }
.reveal.is-in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
}

/* ============================================================
   ヘッダー
   ============================================================ */
/* fixed。sticky のままヘッダーの高さを変えると本文が上下に飛ぶ
   （畳む→本文が77px上がる→下スクロールと誤検知→また畳む、の振動になった）。
   場所は body の padding-top で確保する（JSで実測補正） */
.header{ border-bottom:1px solid transparent; position:fixed; top:0; left:0; right:0; z-index:50;
  transition:border-color .2s ease, box-shadow .2s ease; }
body{ padding-top:137px; }
@media (max-width:900px){ body{ padding-top:57px; } }
[id]{ scroll-margin-top:150px; }
@media (max-width:900px){ [id]{ scroll-margin-top:70px; } }
/* 透過の面は疑似要素に持たせる。header本体にbackdrop-filterを置くと
   固定配置のドロワーの包含ブロックになってしまう（実測726pxはみ出しの原因） */
.header::before{ content:""; position:absolute; inset:0; z-index:-1;
  background:rgba(255,255,255,.88);
  backdrop-filter:blur(14px) saturate(1.3); -webkit-backdrop-filter:blur(14px) saturate(1.3); }
.header.is-scrolled{ border-bottom-color:var(--line); box-shadow:0 4px 0 rgba(16,58,40,.05); }
.header-in{ max-width:var(--w); margin:0 auto; padding:10px 24px;
  display:flex; align-items:center; gap:20px; flex-wrap:wrap; }
.brand{ text-decoration:none; color:var(--ink); line-height:1.3;
  display:flex; align-items:center; gap:12px; }
/* シンボルは既存サイト kl-estate.com から転用。動きも同じ——ホバーで窓が90度回る */
.brand-mark{ width:34px; height:34px; flex-shrink:0;
  transition:transform .6s cubic-bezier(.32,.72,0,1); }
.brand:hover .brand-mark{ transform:rotate(-90deg); }
@media (prefers-reduced-motion: reduce){
  .brand-mark{ transition:none; }
  .brand:hover .brand-mark{ transform:none; }
}
.brand-text{ display:block; }
.brand-wm{ display:block; height:19px; width:auto; }
.brand-name{ display:block; font-family:var(--font-head); font-weight:700; font-size:20px; letter-spacing:.02em; }
.brand-sub{ display:block; font-size:10px; color:var(--blue); font-weight:700; letter-spacing:.18em; margin-top:4px; }
.footer-mark{ width:26px; height:26px; vertical-align:-7px; margin-right:9px; display:inline-block; }
.footer-wm{ display:inline-block; height:17px; width:auto; vertical-align:-2px; }
.header-right{ margin-left:auto; display:flex; align-items:center; gap:16px; }
.header-tel{ text-align:right; line-height:1.35; }
.header-tel a{ font-family:var(--font-head); font-weight:700; font-size:20px; color:var(--ink); text-decoration:none; }
.header-tel small{ display:block; font-size:11px; color:var(--ink-weak); }

/* ---- グローバルナビ（PC: 2段目に展開 / SP: 右ドロワー） ---- */
.nav-toggle{ display:none; }
.gnav{ width:100%; }
.gnav > ul{ display:flex; gap:2px; flex-wrap:wrap; align-items:center; }
.gnav ul a, .gnav-parent{ display:block; padding:9px 13px; font-size:14px; font-weight:700;
  color:var(--ink); text-decoration:none; border-radius:8px;
  background:none; border:none; font-family:var(--font-body); cursor:pointer; line-height:1.5; }
.gnav ul a:hover, .gnav-parent:hover{ background:var(--bg); }
.gnav ul a[aria-current="page"]{ color:var(--blue); box-shadow:inset 0 -2px 0 var(--blue); border-radius:8px 8px 0 0; }
.gnav-parent::after{ content:""; display:inline-block; width:7px; height:7px; margin-left:7px;
  border-right:2px solid var(--blue); border-bottom:2px solid var(--blue);
  transform:rotate(45deg) translateY(-3px); }
.has-sub{ position:relative; }
.subnav{ display:none; position:absolute; left:0; top:calc(100% + 6px); z-index:70;
  background:var(--card); border-radius:var(--radius); box-shadow:var(--shadow);
  border:1px solid var(--line); padding:8px; min-width:220px; }
.has-sub:hover .subnav, .has-sub:focus-within .subnav, .has-sub.is-open .subnav{ display:block; }
.subnav a{ display:flex; align-items:center; gap:10px; padding:10px 12px; border-radius:8px; white-space:nowrap; }
.subnav a .ic{ width:19px; height:19px; }
.gnav-cta{ display:none; }
.nav-close{ display:none; }
.nav-overlay{ display:none; }

@media (max-width:900px){
  /* ヘッダーは低く保つ。メニューボタンがロゴより背が高いと帯が膨らむ（2026-08-30 本人指摘） */
  .header-in{ gap:10px; padding:6px 14px; }
  .brand{ flex:1 1 auto; min-width:0; gap:9px; }
  .brand-mark{ width:30px; height:30px; }
  .brand-text{ min-width:0; }
  .brand-wm{ width:100%; height:auto; max-width:187px; }
  .brand-name{ font-size:16px; }
  .brand-sub{ font-size:8px; letter-spacing:.12em; margin-top:3px; }
  .header-tel{ display:none; }
  /* SPは下の固定バーが電話と予約を常時持っているので、ヘッダーのCTAは出さない
     （ファーストビューに同じ黄ボタンが2つ並ぶのを避ける・2026-08-30 本人指摘） */
  .header-right > .btn-primary{ display:none; }
  .nav-toggle{ display:inline-flex; flex-direction:column; align-items:center; justify-content:center;
    gap:3px; width:52px; height:44px; cursor:pointer;   /* 44px＝指で押せる下限。読み手は50〜70代 */
    background:var(--bg); border:1.5px solid var(--line); border-radius:9px;
    font-size:9.5px; font-weight:700; color:var(--ink); font-family:var(--font-body); line-height:1; }
  .nav-toggle .bars{ display:flex; flex-direction:column; gap:3.5px; }
  .nav-toggle .bars span{ display:block; width:19px; height:2.2px; background:var(--navy); border-radius:2px; }
  .gnav{ position:fixed; top:0; right:0; bottom:0; width:min(320px, 86vw); z-index:80;
    background:var(--card); padding:64px 20px 32px; overflow-y:auto;
    transform:translateX(105%); visibility:hidden;
    transition:transform .25s ease, visibility 0s linear .25s;
    box-shadow:-8px 0 0 rgba(16,58,40,.06); }
  @media (prefers-reduced-motion: reduce){ .gnav{ transition:none; } }
  body.nav-open .gnav{ transform:none; visibility:visible; transition:transform .25s ease; }
  .nav-overlay{ display:block; position:fixed; inset:0; z-index:75; background:rgba(18,40,30,.4);
    opacity:0; pointer-events:none; transition:opacity .25s ease; border:none; }
  body.nav-open .nav-overlay{ opacity:1; pointer-events:auto; }
  .nav-close{ display:block; position:absolute; top:12px; right:12px; width:40px; height:40px;
    background:var(--bg); border:none; border-radius:999px; cursor:pointer;
    font-size:18px; font-weight:700; color:var(--navy); }
  .gnav > ul{ display:block; }
  .gnav ul a, .gnav-parent{ font-size:15px; padding:12px 10px; }
  .gnav-parent{ width:100%; text-align:left; color:var(--ink-weak); font-size:12.5px; padding-bottom:2px; cursor:default; }
  .gnav-parent::after{ display:none; }
  .subnav{ display:block; position:static; box-shadow:none; border:none; padding:0 0 6px; min-width:0; }
  .subnav a{ padding:11px 10px; }
  .gnav ul a[aria-current="page"]{ background:var(--bg); box-shadow:none; border-radius:8px; }
  .gnav-cta{ display:block; margin-top:14px; border-top:1px solid var(--line); padding-top:18px; }
  .gnav-cta .btn-primary{ display:block; text-align:center; }
  .gnav-tel{ display:block; text-align:center; margin-top:14px; line-height:1.4; }
  .gnav-tel a{ font-family:var(--font-head); font-weight:700; font-size:22px; color:var(--ink); text-decoration:none; }
  .gnav-tel small{ display:block; font-size:11.5px; color:var(--ink-weak); }
}
@media (max-width:600px){
  .header .btn-primary{ padding:10px 13px; font-size:13.5px; }
}
@media (max-width:430px){ .brand-wm{ max-width:160px; } }

/* ============================================================
   ボタン（2種以外を作らない）
   ============================================================ */
.btn-primary{
  display:inline-block; background:var(--accent); color:var(--accent-ink);
  font-family:var(--font-head); font-weight:700; font-size:16px;
  padding:14px 26px; border-radius:var(--radius); text-decoration:none;
  border:none; cursor:pointer; box-shadow:var(--shadow);
}
.btn-primary:hover{ filter:brightness(.96); }
.btn-secondary{
  display:inline-block; background:var(--card); color:var(--blue);
  font-family:var(--font-head); font-weight:700; font-size:16px;
  padding:13px 26px; border-radius:var(--radius); text-decoration:none;
  border:2px solid var(--blue); cursor:pointer;
}
.btn-secondary:hover{ background:#EFF6F1; }
.btn-primary, .btn-secondary{ transition:transform .15s ease, box-shadow .15s ease, filter .15s ease; }
.btn-primary:hover{ transform:translateY(-1px); box-shadow:5px 6px 0 rgba(16,58,40,.1); }
.btn-primary:active{ transform:none; box-shadow:var(--shadow); }
@media (prefers-reduced-motion: reduce){ .btn-primary:hover{ transform:none; } }
:focus-visible{ outline:2.5px solid var(--blue); outline-offset:2px; }
.btn-note{ font-size:13px; color:var(--ink-weak); margin-top:8px; }

/* ============================================================
   セクション共通
   ============================================================ */
.section{ padding:72px 0; }
.section-tight{ padding:56px 0; }
@media (max-width:600px){ .section{ padding:52px 0; } .section-tight{ padding:40px 0; } }

.sec-label{ font-size:14px; font-weight:700; color:var(--blue); margin-bottom:10px; }
.sec-title{ font-size:34px; margin-bottom:16px; }
.sec-lead{ max-width:44em; color:var(--ink); }
@media (max-width:600px){ .sec-title{ font-size:25px; } }

.card{
  background:var(--card); border-radius:var(--radius);
  box-shadow:var(--shadow); padding:28px;
}

/* ---- アイコン（カードの中でだけ使う。横一列の飾り並べ禁止） ---- */
.ic{ width:22px; height:22px; flex-shrink:0; color:var(--blue); }
.card-ic{ width:46px; height:46px; border-radius:12px; background:#E6F0E9;
  display:flex; align-items:center; justify-content:center; color:var(--blue); }
.card-ic .ic{ width:26px; height:26px; }
.h-ic{ display:flex; align-items:center; gap:10px; }

/* バッジ（不安を先に潰すピル） */
.badge{
  display:inline-block; background:var(--navy); color:#fff;
  font-size:13px; font-weight:700; line-height:1;
  padding:7px 14px; border-radius:999px;
}

/* ============================================================
   ヒーロー
   ============================================================ */
.hero{ padding:72px 0 48px; position:relative; overflow:hidden; }
.hero::before{ content:""; position:absolute; right:-90px; top:-120px; width:420px; height:420px;
  border:26px solid #DFEAE2; border-radius:90px; transform:rotate(12deg); pointer-events:none; }
.hero .wrap{ position:relative; }
.hero-grid{ display:grid; grid-template-columns:1.08fr .92fr; gap:44px; align-items:center; }
.hero-kicker{ display:inline-block; font-size:15px; font-weight:700; color:var(--navy);
  background:var(--card); border-radius:999px; padding:9px 18px; box-shadow:var(--shadow); margin-bottom:22px; }
.hero h1{ font-size:46px; line-height:1.55; letter-spacing:.01em; font-weight:800; }
.hero h1 .accent-line{ color:var(--blue); }
.hero-sub{ font-size:16px; margin-top:18px; line-height:2; color:var(--ink); max-width:34em; }
.hero-cta{ margin-top:30px; display:flex; gap:16px; align-items:center; flex-wrap:wrap; }
.hero-illus{ width:100%; max-width:500px; justify-self:end; }
.hero-illus-note{ font-size:12.5px; color:var(--ink-weak); text-align:center; margin-top:2px; }
@media (max-width:900px){
  /* SP: 本文（ピクトグラム含む）→ イベントバナー → 図 の順。バナーは最後＝画面下端 */
  .hero .wrap{ display:flex; flex-direction:column; }
  .hero-grid{ display:contents; }
  .hero-grid > div:first-child{ order:1; }
  .event-banner{ order:2; }
  .hero-grid > div:last-child{ order:3; margin-top:30px; }
  .hero-illus{ max-width:340px; margin:0 auto; }
  .hero::before{ width:280px; height:280px; border-width:18px; right:-120px; top:-140px; }
}
@media (max-width:600px){
  /* ファーストビューを1画面ぴったりに収める。文字とCTAを上、イベントバナーを下端へ。
     余白は space-between で分配するので、端末の高さが違っても比率が保たれる。
     svh（ツールバーが出ている状態の高さ）を基準にして、バナーが隠れないようにする。 */
  .hero{ padding:22px 0 24px; }
  .hero .wrap{ min-height:calc(100vh - 57px - 46px); min-height:calc(100svh - 57px - 46px);
    justify-content:space-between; }
  /* スマホはスクロールでツールバーが隠れ、画面が (100lvh - 100svh) だけ伸びる。
     そのままだと伸びたぶんに次のセクション（創業・初回のご相談…）が覗いて締まらない。
     伸びしろをヒーローの下余白で先に押さえておく。svh基準は変えないので、
     ツールバーが出ている読み込み直後もバナーは画面内に収まる。 */
  @supports (height:100lvh) and (height:100svh){
    .hero{ padding-bottom:calc(24px + 100lvh - 100svh); }
  }
  /* 余った高さを1箇所に集めると真ん中に穴が空く。文字ブロックを伸ばして
     その中で中央に据え、上下に均等に分ける。行間も画面高に合わせて少し開く。 */
  .hero-grid > div:first-child{ flex:1; display:flex; flex-direction:column; justify-content:center; }
  .hero-kicker{ font-size:clamp(10px, 3.05vw, 13px); letter-spacing:0;
    white-space:nowrap; padding:9px 13px; max-width:100%; align-self:flex-start;
    margin-bottom:clamp(12px, 2.6svh, 24px); }
  /* 文字サイズの上限は7.4vw——これ以上だと落ちの「ぜんぶ、ひとつの窓口で。」(12字)が
     2行に折れて効きが落ちる。事実4つを中に入れたぶん、間は詰めてよくなった */
  .hero h1{ font-size:clamp(23px, 7.4vw, 32px); line-height:1.72; }
  .hero-sub{ font-size:14.5px; line-height:1.85; margin-top:clamp(10px, 1.8svh, 18px); }
  .hero-cta{ margin-top:clamp(16px, 3svh, 28px); gap:10px; }
  /* ピクトグラム: 6つを1行に。アイコンは小さくても形で見分けがつく */
  .hero .picto{ margin-top:clamp(14px, 2.6svh, 24px); gap:5px; }
  .hero .picto li{ padding:8px 2px 7px; border-radius:9px; }
  .hero .picto .pic{ width:28px; height:18px; margin-bottom:5px; }
  .hero .picto span{ font-size:9px; letter-spacing:-.02em; }
  /* 事実4つ: ファーストビューに入れるので小さく密に。
     補足の一行（今年で104年目…）はここでは省く。同じことは各ページ本文にある。
     ※ `.hero` を前置して詳細度を上げること——素の `.fact` だと
        このブロックより後ろにある既定の指定に後勝ちで負ける（実測） */
     ピクトグラムを入れたぶん、ここは1枚の細い帯にたたむ（4枚のカードだと入らない） */
  /* 事実4つはヒーローの外（直後の帯）。ピクトグラムと場所を取り合わないため */
  .facts-band{ padding:26px 0 0; }
  .facts{ grid-template-columns:1fr 1fr; gap:8px; }
  .fact{ padding:11px 13px; }
  .fact dt{ font-size:11px; }
  .fact dd{ font-size:14.5px; margin-top:3px; }
  .fact dd small{ font-size:10.5px; margin-top:2px; }
  .hero-cta .btn-primary{ padding:13px 17px; font-size:14.5px; }
  .hero-cta .btn-secondary{ padding:12px 15px; font-size:14px; }
  .event-banner{ margin-top:0; }
  /* スマホでは図を出さない（ファーストビュー最優先・本人判断） */
  .hero-grid > div:last-child{ display:none; }
}

/* イベントバナー（data/events.json から site.js が描画） */
.event-banner{ margin-top:26px; }
.event-banner a{ display:flex; align-items:center; gap:18px; text-decoration:none;
  background:var(--navy); color:#fff; border-radius:var(--radius);
  padding:16px 22px; box-shadow:var(--shadow); }
.event-banner a:hover{ filter:brightness(1.08); }
.event-thumb{ width:184px; height:124px; object-fit:cover; border-radius:8px; flex-shrink:0; }
.event-row{ display:flex; gap:18px; align-items:center; }
.event-row img{ width:128px; height:96px; object-fit:cover; border-radius:8px; flex-shrink:0; }
.event-row-body b{ font-family:var(--font-head); font-size:18px; }
.event-row-body span{ display:block; font-size:13.5px; color:var(--ink-weak); margin-top:4px; }
@media (max-width:520px){ .event-row{ flex-direction:column; align-items:stretch; }
  .event-row img{ width:100%; height:auto; aspect-ratio:4/3; } }
.event-date{ text-align:center; background:#fff; color:var(--navy); border-radius:9px;
  padding:7px 13px; line-height:1.25; flex-shrink:0; }
.event-date b{ display:block; font-family:var(--font-head); font-weight:800; font-size:20px; }
.event-date span{ font-size:11px; font-weight:700; }
.event-banner .event-label{ font-size:11.5px; font-weight:700; color:#B8CFBE; letter-spacing:.08em; }
.event-banner .event-title{ font-family:var(--font-head); font-weight:700; font-size:17px; line-height:1.5; }
.event-banner .event-meta{ font-size:12.5px; color:#D6E6DA; }
.event-banner .event-arrow{ margin-left:auto; font-family:var(--font-head); font-weight:700; flex-shrink:0; }
@media (max-width:600px){
  .event-banner a{ gap:12px; padding:12px 14px; }
  .event-thumb{ width:112px; height:84px; }
  .event-banner .event-date{ display:none; }
  .event-banner .event-title{ font-size:15px; }
  .event-banner .event-meta{ font-size:11.5px; }
  .event-banner .event-arrow{ display:none; }
}

/* SP固定フッター（電話＋予約。ドロワーより下の層） */
.sp-cta{ display:none; }
@media (max-width:900px){
  /* 本文のCTAが見えているあいだは出さない。通り過ぎてから受け皿として現れる
     （同じ黄ボタンが2つ同時に見える状態を作らない・2026-08-30 本人指摘） */
  .sp-cta{ position:fixed; left:0; right:0; bottom:0; z-index:45;
    display:grid; grid-template-columns:1fr 1.45fr; gap:10px;
    padding:8px 12px calc(8px + env(safe-area-inset-bottom));
    background:rgba(255,255,255,.94); border-top:1px solid var(--line);
    transform:translateY(105%); transition:transform .28s ease; }
  .sp-cta.is-shown{ transform:none; }
  @media (prefers-reduced-motion: reduce){ .sp-cta{ transition:none; } }
  .sp-cta a{ display:flex; align-items:center; justify-content:center; gap:8px;
    font-family:var(--font-head); font-weight:700; font-size:14.5px;
    padding:11px 8px; border-radius:var(--radius); text-decoration:none; }
  .sp-cta .sp-cta-tel{ background:#fff; color:var(--blue); border:2px solid var(--blue); }
  .sp-cta .sp-cta-tel .ic{ width:18px; height:18px; }
  .sp-cta .sp-cta-reserve{ background:var(--accent); color:var(--accent-ink); box-shadow:var(--shadow); }
  body{ padding-bottom:calc(64px + env(safe-area-inset-bottom)); }
}

/* リンクカード共通の持ち上がり */
.first-card, .entry-card, .next-read{ transition:transform .15s ease, box-shadow .15s ease; }
.first-card:hover, .entry-card:hover, .next-read:hover{ transform:translateY(-2px);
  box-shadow:5px 7px 0 rgba(16,58,40,.1); }
@media (prefers-reduced-motion: reduce){
  .first-card:hover, .entry-card:hover, .next-read:hover{ transform:none; }
}

/* チェックリスト（提案条件などの「文字の塊」ほぐし用） */
.checklist{ display:grid; gap:10px; }
.checklist li{ display:flex; gap:12px; align-items:flex-start;
  background:var(--card); border-radius:var(--radius); box-shadow:var(--shadow);
  padding:14px 18px; font-size:15px; }
.checklist li::before{ content:"✓"; font-family:var(--font-head); font-weight:800;
  color:#fff; background:var(--blue); border-radius:999px; width:24px; height:24px;
  display:flex; align-items:center; justify-content:center; font-size:14px; flex-shrink:0; margin-top:3px; }

/* 本文中の押さえどころ */
.kw{ font-weight:700; background:linear-gradient(transparent 62%, #DFEAE2 62%); }

/* ピクトグラム（先方支給。扱う分野を絵で一望させる。ヒーロー内） */
/* 7つになったので列を増やす（保険を追加・2026-08-31）。 狭い幅では2段に落として、1つだけ余らせない */
.picto{ display:grid; grid-template-columns:repeat(7,1fr); gap:8px; margin-top:30px; max-width:660px; }
@media (max-width:900px){ .picto{ grid-template-columns:repeat(4,1fr); } }
@media (max-width:520px){ .picto{ grid-template-columns:repeat(3,1fr); gap:7px; } }
.picto li{ background:var(--cream); border-radius:12px; padding:12px 6px 10px; text-align:center; }
.picto .pic{ display:block; width:38px; height:24px; margin:0 auto 7px; color:var(--navy); }
.picto span{ display:block; font-size:11.5px; font-weight:700; color:var(--navy); line-height:1.3; }
/* 7つに増えて1マスが細くなった。「マンション経営」だけ2行に折れて背が高くなるので、
   下端を揃える。文字は少しだけ詰める（読めなくならない範囲で）。 */
.picto li{ display:flex; flex-direction:column; justify-content:flex-start; }
.picto span{ letter-spacing:-.02em; word-break:keep-all; }
@media (min-width:901px){ .picto span{ font-size:10.5px; } }

/* 事実4つ（ヒーローの中。信用の裏付けを最初の画面に置く） */
.facts{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.fact{ background:var(--card); border-radius:var(--radius); box-shadow:var(--shadow); padding:20px 22px; }
.fact dt{ font-size:13px; color:var(--ink-weak); font-weight:700; }
.fact dd{ font-family:var(--font-head); font-weight:700; font-size:20px; line-height:1.4; margin-top:6px; }
.fact dd small{ display:block; font-family:var(--font-body); font-weight:400; font-size:12px; color:var(--ink-weak); margin-top:4px; }
@media (max-width:900px){ .facts{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:480px){ .facts{ grid-template-columns:1fr 1fr; } }

/* はじめての方の入口3つ */
.first-cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.first-card{ position:relative; background:var(--card); border-radius:var(--radius);
  box-shadow:var(--shadow); padding:30px 26px 26px; text-decoration:none; color:var(--ink);
  display:flex; flex-direction:column; gap:10px; }
.first-card .badge{ position:absolute; top:-13px; left:20px; }
.first-card h3{ font-size:21px; color:var(--blue); }
.first-card p{ font-size:14px; color:var(--ink); }
.first-card .more{ margin-top:auto; font-weight:700; font-size:14px; color:var(--blue); }
.first-card:hover h3{ text-decoration:underline; }
@media (max-width:900px){ .first-cards{ grid-template-columns:1fr; gap:22px; } }

/* 入口（生活の一言 → 何ができるか → 分野）。5枚あるので3列で組む */
.entry-cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.entry-desc{ font-size:14px; color:var(--ink); }
.entry-can{ display:grid; gap:5px; margin-top:2px; }
.entry-can li{ font-size:13px; color:var(--ink-weak); padding-left:1.1em; text-indent:-1.1em; }
.entry-can li::before{ content:"・"; color:var(--blue); font-weight:700; }
@media (max-width:1100px){ .entry-cards{ grid-template-columns:1fr 1fr; } }
.entry-card{ background:var(--card); border-radius:var(--radius); box-shadow:var(--shadow);
  padding:26px 28px; text-decoration:none; color:var(--ink);
  display:flex; flex-direction:column; gap:14px; border-left:6px solid transparent; }
.entry-card:hover{ border-left-color:var(--blue); }
.entry-quote{ font-family:var(--font-head); font-weight:700; font-size:20px; line-height:1.6; }
.entry-cat{ display:flex; align-items:center; gap:10px; margin-top:auto;
  font-weight:700; font-size:14.5px; color:var(--blue); }
.entry-cat .card-ic{ width:38px; height:38px; border-radius:10px; }
.entry-cat .card-ic .ic{ width:21px; height:21px; }
.entry-cat .arr{ margin-left:auto; font-family:var(--font-head); }
@media (max-width:800px){ .entry-cards{ grid-template-columns:1fr; }
  .entry-quote{ font-size:17.5px; } .entry-card{ padding:20px 20px; gap:10px; } }

/* 止まっていませんか（下層で使用） */
.worries{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.worry{ background:var(--card); border-radius:var(--radius); box-shadow:var(--shadow);
  padding:22px 24px; display:flex; gap:16px; }
.worry-num{ font-family:var(--font-head); font-weight:700; color:var(--blue); font-size:15px; padding-top:2px; }
.worry b{ display:block; font-size:16px; }
.worry p{ font-size:13.5px; color:var(--ink-weak); margin-top:6px; }
@media (max-width:800px){ .worries{ grid-template-columns:1fr; } }

/* 自己チェック（トップの6項目。印をつけて自分ごとにする） */
.selfcheck{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
@media (max-width:800px){ .selfcheck{ grid-template-columns:1fr; gap:12px; } }
.sc-item{ display:flex; gap:16px; align-items:flex-start; cursor:pointer;
  background:var(--card); border-radius:var(--radius); box-shadow:var(--shadow);
  border:2px solid transparent; padding:18px 22px; transition:border-color .15s ease, background .15s ease; }
.sc-item input{ position:absolute; opacity:0; width:1px; height:1px; }
.sc-box{ flex-shrink:0; width:28px; height:28px; border-radius:8px; margin-top:2px;
  border:2.5px solid #B9C9BD; background:#fff; position:relative; transition:all .15s ease; }
.sc-box::after{ content:""; position:absolute; left:7px; top:2px; width:8px; height:14px;
  border-right:3px solid #fff; border-bottom:3px solid #fff; transform:rotate(40deg); opacity:0; }
.sc-item:hover .sc-box{ border-color:var(--blue); }
.sc-item:has(input:checked){ border-color:var(--blue); background:#EDF6EF; }
.sc-item:has(input:checked) .sc-box{ background:var(--blue); border-color:var(--blue); }
.sc-item:has(input:checked) .sc-box::after{ opacity:1; }
.sc-item:has(input:focus-visible){ outline:2.5px solid var(--blue); outline-offset:2px; }
.sc-text b{ display:block; font-size:16.5px; line-height:1.7; }
.sc-text small{ display:block; font-size:13px; color:var(--ink-weak); margin-top:3px; }
.sc-result{ margin-top:18px; background:var(--navy); color:#fff;
  border-radius:var(--radius); padding:20px 26px; display:flex; gap:18px; align-items:center; flex-wrap:wrap; }
.sc-result[hidden]{ display:none; }
.sc-result p{ flex:1; min-width:220px; font-size:15px; }
.sc-result b{ font-family:var(--font-head); font-size:17px; }
@media (max-width:600px){ .sc-item{ padding:15px 16px; gap:12px; } .sc-text b{ font-size:15px; } }

/* 相談事例。読ませる前に「自分のを探せる」ことを優先し、一覧＋開閉にする。
   （2026-08-30 本人指摘「めちゃくちゃ見づらい」→ 濃緑バッジ12個の反復と
     6枚全開きで探せないのが原因だった。ラベルは面をやめて文字に落とす） */
/* 広い画面では左に見出し・右に一覧。横幅を使いつつ、読む列は広げすぎない */
.cases-guide{ font-size:15px; color:var(--ink-weak); max-width:60ch; margin-bottom:26px; }

/* ---- 入口の図。並べる前に、6つの入口を1枚で見せる ---- */
/* 入口は10件。5列×2段にすると端が余らない（6列だと2段目が4つで間延びする） */
.case-map{ display:grid; grid-template-columns:repeat(5,1fr); gap:10px; margin-bottom:30px; }
.case-map .cm{ width:100%; background:var(--cream); border:1.5px solid transparent;
  border-radius:12px; padding:16px 8px 13px; text-align:center; cursor:pointer;
  font-family:var(--font-body); color:var(--navy); display:block;
  transition:border-color .18s ease, transform .18s cubic-bezier(.32,.72,0,1), box-shadow .18s ease; }
.case-map .cm:hover{ border-color:var(--blue); transform:translateY(-2px); box-shadow:var(--shadow); }
.case-map .cm-ic{ display:block; margin-bottom:8px; }
.case-map .cm-ic .ic{ width:28px; height:28px; color:var(--blue); }
.case-map .cm b{ display:block; font-size:12.5px; font-weight:700; line-height:1.45; }
.case-map .cm.is-current{ border-color:var(--blue); background:var(--card); }
@media (max-width:900px){ .case-map{ grid-template-columns:repeat(3,1fr); gap:8px; } }
@media (max-width:600px){
  .case-map{ grid-template-columns:repeat(2,1fr); gap:8px; margin-bottom:22px; }
  .case-map .cm{ padding:13px 6px 11px; }
  .case-map .cm-ic .ic{ width:24px; height:24px; }
  .case-map .cm b{ font-size:12px; }
  .cases-guide{ font-size:14px; margin-bottom:18px; }
}

.cases{ display:grid; gap:10px; }
.case{ background:var(--card); border-radius:var(--radius); box-shadow:var(--shadow);
  border-left:5px solid transparent; transition:border-color .18s ease; scroll-margin-top:150px; }
.case[open]{ border-left-color:var(--blue); }
.case summary{ list-style:none; cursor:pointer; display:flex; align-items:center; gap:14px;
  padding:18px 52px 18px 20px; position:relative; }
.case summary::-webkit-details-marker{ display:none; }
.case summary::after{ content:"＋"; position:absolute; right:20px; top:50%; transform:translateY(-50%);
  font-family:var(--font-head); font-weight:700; color:var(--blue); font-size:18px; }
.case[open] summary::after{ content:"−"; }
.case summary:hover .case-q{ color:var(--blue); }
.case-ic{ flex-shrink:0; width:40px; height:40px; border-radius:10px; background:var(--cream);
  display:grid; place-items:center; }
.case-ic .ic{ width:22px; height:22px; color:var(--blue); }
.case[open] .case-ic{ background:var(--blue); }
.case[open] .case-ic .ic{ color:#fff; }
.case-q{ font-family:var(--font-head); font-weight:700; font-size:18px; line-height:1.6;
  color:var(--ink); transition:color .15s ease; }
.case-body{ padding:0 22px 22px 74px; display:grid; gap:14px; }
.case-body::before{ content:""; display:block; border-top:1px solid var(--line); margin-bottom:2px; }

/* ---- 「まず→そのあと」の2段。順番があることを形で示す ---- */
.case-flow{ display:grid; grid-template-columns:1fr 1fr; gap:0; position:relative; }
.cf-step{ padding:2px 26px 2px 0; }
.cf-step:last-child{ padding:2px 0 2px 26px; border-left:1px solid var(--line); }
/* 矢印は境目の線の上に置く。2段になる幅では下向きにする */
.case-flow::after{ content:"→"; position:absolute; left:50%; top:0;
  transform:translate(-50%,-2px); width:24px; height:24px; border-radius:50%;
  background:var(--blue); color:#fff; font-size:12px; display:grid; place-items:center;
  font-family:var(--font-head); }
.cf-k{ font-size:12.5px; font-weight:700; color:var(--blue); letter-spacing:.04em;
  margin-bottom:5px; display:flex; align-items:center; gap:7px; }
.cf-n{ width:19px; height:19px; border-radius:50%; background:var(--blue); color:#fff;
  font-size:11px; display:grid; place-items:center; flex-shrink:0; }
.cf-step p:last-child{ font-size:15px; }
.case-who{ display:flex; align-items:flex-start; gap:9px; background:var(--bg);
  border-radius:9px; padding:11px 14px; font-size:13.5px; color:var(--ink-weak); }
.case-who .ic{ width:17px; height:17px; color:var(--blue); flex-shrink:0; margin-top:2px; }
@media (max-width:820px){
  .case-flow{ grid-template-columns:1fr; gap:16px; }
  .cf-step{ padding:0; }
  .cf-step:last-child{ padding:16px 0 0; border-left:none; border-top:1px solid var(--line); }
  .case-flow::after{ content:"↓"; left:0; top:auto; bottom:auto;
    transform:none; position:static; margin:0; display:none; }
}
@media (max-width:600px){
  .case summary{ padding:15px 44px 15px 15px; gap:11px; }
  .case-ic{ width:34px; height:34px; border-radius:9px; }
  .case-ic .ic{ width:19px; height:19px; }
  .case-q{ font-size:16px; }
  .case-body{ padding:0 16px 18px 16px; }
  .cf-step p:last-child{ font-size:14.5px; }
}
@media (max-width:600px){
  .case summary::after{ right:16px; }
  }

/* 読ませる3段落 → 見出しつきの段 */
.prose-steps{ display:grid; gap:0; max-width:46em; }
.prose-step{ position:relative; padding:0 0 28px 34px; }
.prose-step::before{ content:""; position:absolute; left:9px; top:10px; bottom:0; border-left:2px solid #C8DCCE; }
.prose-step:last-child::before{ display:none; }
.prose-step::after{ content:""; position:absolute; left:3px; top:8px; width:14px; height:14px;
  border-radius:999px; background:var(--blue); border:3px solid #fff; box-shadow:0 0 0 2px var(--blue); }
.prose-step h3{ font-size:19px; margin-bottom:8px; }
.prose-step p{ font-size:15.5px; }
.prose-step:last-child h3{ color:var(--blue); }

/* ============================================================
   4回 vs 1回（このサイト唯一の図）
   ============================================================ */
.contrast{ display:grid; grid-template-columns:1fr 1fr; gap:20px; align-items:stretch; }
.contrast-col{ border-radius:var(--radius); padding:30px 28px; }
.contrast-before{ background:#E0E8E1; border:1px solid #C8D5C9; }
.contrast-after{ background:var(--card); box-shadow:var(--shadow); border-top:6px solid var(--blue); }
.contrast-col .contrast-tag{ font-size:14px; font-weight:700; color:var(--ink-weak); }
.contrast-after .contrast-tag{ color:var(--blue); }
.contrast-col .contrast-count{ font-family:var(--font-head); font-weight:700; font-size:56px; line-height:1.1; }
.contrast-count small{ font-size:20px; margin-left:2px; }
.contrast-before .contrast-count{ color:#68766B; }
.contrast-after .contrast-count{ color:var(--blue); }
.contrast-col .contrast-head{ font-family:var(--font-head); font-weight:700; font-size:20px; margin:10px 0 12px; }
.contrast p{ font-size:14.5px; }
.route{ display:flex; flex-wrap:wrap; gap:6px; margin:14px 0 16px; align-items:center; }
.route .stop{ background:#fff; border:1px solid #C8D5C9; border-radius:999px;
  font-size:13px; font-weight:700; padding:5px 12px; color:#4D584F; }
.route .arr{ color:#94A296; font-size:13px; }
.route-one .stop{ border:2px solid var(--blue); color:var(--blue); background:#fff; }
@media (max-width:800px){ .contrast{ grid-template-columns:1fr; } .contrast-count{ font-size:44px; } }

/* 対応範囲マップ（誰がどこまで見るか。①〜④のマスの塗りで比較する） */
.scopemap{ background:var(--card); border-radius:var(--radius); box-shadow:var(--shadow);
  padding:8px 24px 20px; }
.sm-legend, .sm-row{ display:grid; grid-template-columns:168px 1fr 216px; gap:20px;
  align-items:center; padding:15px 0; border-bottom:1px solid var(--line); }
.sm-legend{ padding:14px 0 10px; border-bottom:2.5px solid var(--navy); }
.sm-track-head{ display:grid; grid-template-columns:repeat(4,1fr); gap:6px;
  font-size:12px; font-weight:700; color:var(--ink); text-align:center; line-height:1.4; }
.sm-legend .sm-name, .sm-legend .sm-note{ font-size:12px; font-weight:700; color:var(--ink-weak); }
.sm-name{ font-weight:700; font-size:15px; }
.sm-name small{ display:block; font-weight:400; font-size:12px; color:var(--ink-weak); }
.sm-track{ display:grid; grid-template-columns:repeat(4,1fr); gap:6px; }
.sm-cell{ height:36px; border-radius:8px; background:#F0F5F1; color:#BCC9BF;
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-head); font-weight:700; font-size:14.5px; }
.sm-cell.on{ background:var(--blue); color:#fff; }
.sm-note{ font-size:13px; color:var(--ink-weak); }
.sm-row.is-us{ background:var(--navy); border-radius:10px; border-bottom:none;
  margin:12px -14px 0; padding:16px 14px; }
.sm-row.is-us .sm-name{ color:#fff; font-family:var(--font-head); font-size:17px; }
.sm-row.is-us .sm-name small{ color:#B8CFBE; font-family:var(--font-body); }
.sm-row.is-us .sm-cell{ background:rgba(255,255,255,.14); color:#8FAE9C; }
/* 自社のマスは差し色の黄。深緑の行の上で一番目立つ（本人指示・黄の使用箇所は主CTA+ここの2つだけ） */
.sm-row.is-us .sm-cell.on{ background:var(--accent); color:var(--accent-ink); }
.sm-row.is-us .sm-note{ color:#fff; font-weight:700; }
@media (max-width:820px){
  .scopemap{ padding:4px 14px 12px; }
  /* 名前とマスを横に並べ、説明だけ下に敷く。1行あたりの高さが3割減る */
  .sm-row{ grid-template-columns:94px 1fr; grid-template-areas:"name track" "note note";
    gap:6px 10px; padding:11px 0; align-items:center; }
  .sm-name{ grid-area:name; }
  .sm-track{ grid-area:track; }
  .sm-note{ grid-area:note; }
  /* 凡例は4列に押し込むと1文字ずつ縦に折れる。1行の説明文に変える */
  .sm-legend{ display:block; padding:10px 0 9px; }
  .sm-track-head{ display:flex; flex-wrap:wrap; gap:4px 14px; font-size:11.5px;
    color:var(--ink-weak); text-align:left; }
  .sm-legend .sm-name, .sm-legend .sm-note{ display:none; }
  .sm-track-head{ font-size:10px; }
  .sm-name{ font-size:13.5px; line-height:1.4; }
  .sm-name small{ font-size:10.5px; line-height:1.35; }
  .sm-note{ font-size:12px; }
  .sm-cell{ height:28px; font-size:13px; }
  .sm-row.is-us{ margin:10px -7px 0; padding:12px 9px; }
  .sm-row.is-us .sm-name{ font-size:15px; }
}
.note-cream{ background:var(--cream); border-radius:var(--radius); padding:14px 18px;
  font-size:13px; color:#6B5A20; margin-top:16px; }

/* ============================================================
   濃紺の面（104年）
   ============================================================ */
.band-navy{ background:var(--navy); color:#fff; padding:80px 0; }
.band-navy .band-copy{ font-family:var(--font-head); font-weight:700;
  font-size:34px; line-height:1.8; }
.band-navy .band-note{ margin-top:20px; font-size:14px; color:#B8CFBE; letter-spacing:.14em; }
@media (max-width:600px){ .band-navy{ padding:56px 0; } .band-navy .band-copy{ font-size:23px; } }

/* 家の一生（タイムライン） */
.life{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; position:relative; }
.life::before{ content:""; position:absolute; left:3%; right:3%; top:64px;
  border-top:2px dashed #B0C8B6; }
.life-item{ background:var(--card); border-radius:var(--radius); box-shadow:var(--shadow); padding:22px; position:relative; }
.life-ic{ width:58px; height:58px; border-radius:14px; background:#E6F0E9; color:var(--blue);
  display:flex; align-items:center; justify-content:center; margin-bottom:12px; }
.life-ic .ic{ width:36px; height:36px; }
.life-item.is-now .life-ic{ background:var(--blue); }
.life-item.is-now .life-ic .ic{ color:#fff; }
.life-year{ font-family:var(--font-head); font-weight:700; color:var(--blue); font-size:14px; }
.life-item h3{ font-size:20px; margin:6px 0 8px; }
.life-item p{ font-size:13.5px; color:var(--ink); }
.life-tag{ display:inline-block; margin-top:12px; font-size:12px; font-weight:700;
  color:var(--ink-weak); background:var(--bg); border-radius:999px; padding:4px 12px; }
.life-item.is-now{ border-top:6px solid var(--blue); }
.life-item.is-now .life-tag{ background:var(--blue); color:#fff; }
@media (max-width:900px){ .life{ grid-template-columns:1fr 1fr; } .life::before{ display:none; } }
@media (max-width:480px){ .life{ grid-template-columns:1fr; } }
.life-close{ margin-top:24px; font-family:var(--font-head); font-weight:700; font-size:20px; }

/* ============================================================
   ステップ（相談の流れ）
   ============================================================ */
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; counter-reset:step; }
.step{ background:var(--card); border-radius:var(--radius); box-shadow:var(--shadow); padding:24px 22px; }
.step-no{ font-family:var(--font-head); font-weight:700; font-size:14px; color:var(--blue); }
.step h3{ font-size:19px; margin:4px 0 2px; }
.step .time{ font-size:12.5px; font-weight:700; color:#fff; background:var(--blue);
  display:inline-block; border-radius:999px; padding:3px 10px; margin:6px 0 10px; }
.step p{ font-size:13.5px; }
@media (max-width:900px){ .steps{ grid-template-columns:1fr 1fr; } }
@media (max-width:480px){ .steps{ grid-template-columns:1fr; } }

/* 60分の時間バー（相談の流れ） */
.timebar{ margin-top:24px; }
.timebar-track{ display:flex; gap:5px; }
.timebar-seg{ border-radius:9px; padding:10px 6px; text-align:center; word-break:keep-all;
  font-family:var(--font-head); font-weight:700; font-size:14px; color:#fff; min-width:0; }
.timebar-seg small{ display:block; font-family:var(--font-body); font-weight:400; font-size:11.5px; opacity:.85; }
.tb-1{ flex:20; background:var(--navy); }
.tb-2{ flex:15; background:#2E6B51; }
.tb-3{ flex:20; background:#5E8F74; }
.tb-4{ flex:13; background:#fff; color:var(--blue); border:2px solid var(--blue); }
.tb-4 small{ opacity:1; color:var(--ink-weak); }
.timebar-total{ margin-top:10px; font-size:13.5px; color:var(--ink-weak); text-align:right; }
@media (max-width:600px){
  .timebar-seg{ font-size:12px; padding:8px 3px; }
  .timebar-seg small{ font-size:10px; }
}

/* 相談員カード */
/* 相談員が3人になった（2026-09-03）。2列だと1枚あぶれて間延びするので、
   広い幅では3列。写真＋文章が横並びなので、狭くなる前に1列へ落とす。 */
/* 相談員は4人。2列×2段で埋める。3列にすると1人だけ次の段に残る（2026-09-05） */
.staff-cards{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.staff-card{ background:var(--card); border-radius:var(--radius); box-shadow:var(--shadow);
  padding:26px; display:flex; gap:20px; align-items:flex-start; }
.staff-card img{ width:104px; height:104px; object-fit:cover; border-radius:var(--radius); flex-shrink:0; }
.staff-card h3{ font-size:20px; }
.staff-card .staff-role{ font-size:12.5px; color:var(--ink-weak); }
.staff-card p{ font-size:14px; margin-top:8px; }
.staff-word{ margin-top:10px; background:var(--bg); border-radius:8px; padding:10px 14px;
  font-size:13.5px; font-weight:700; }
@media (max-width:800px){ .staff-cards{ grid-template-columns:1fr; }
  .staff-card img{ width:84px; height:84px; } }

/* ============================================================
   FAQ
   ============================================================ */
.faq{ display:grid; gap:12px; }
.faq details{ background:var(--card); border-radius:var(--radius); box-shadow:var(--shadow); }
.faq summary{ list-style:none; cursor:pointer; padding:18px 52px 18px 22px;
  font-weight:700; font-size:16px; position:relative; }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:"＋"; position:absolute; right:20px; top:16px;
  font-family:var(--font-head); font-weight:700; color:var(--blue); font-size:18px; }
.faq details[open] summary::after{ content:"−"; }
.faq .faq-a{ padding:0 22px 20px; font-size:15px; color:var(--ink); }
.faq .faq-a::before{ content:""; display:block; border-top:1px solid var(--line); margin-bottom:14px; }

/* ============================================================
   締めのCTA（濃紺の面）
   ============================================================ */
.cta-band{ background:var(--navy); color:#fff; padding:72px 0; }
.cta-band h2{ font-size:30px; line-height:1.7; }
.cta-band .cta-copy{ margin-top:16px; font-size:15px; color:#D6E6DA; }
.cta-band .cta-actions{ margin-top:28px; display:flex; gap:20px; align-items:center; flex-wrap:wrap; }
.cta-band .cta-tel{ line-height:1.4; }
.cta-band .cta-tel a{ color:#fff; text-decoration:none; font-family:var(--font-head); font-weight:700; font-size:24px; }
.cta-band .cta-tel small{ display:block; font-size:12.5px; color:#B8CFBE; }
@media (max-width:600px){ .cta-band{ padding:52px 0; } .cta-band h2{ font-size:23px; } }

/* ============================================================
   スマホの圧縮（2026-08-30 本人指摘「ダラダラ長い」）
   縦に積むのをやめて2列にし、間と余白を詰める。
   ファーストビュー（hero）は触らない——ここだけは広く美しく保つ。
   ============================================================ */
@media (max-width:600px){
  .section{ padding:40px 0; }
  .section-tight{ padding:30px 0; }
  .sec-title{ font-size:23px; margin-bottom:12px; }
  .sec-label{ margin-bottom:7px; }
  .sec-lead{ font-size:15px; }

  /* 入口4つ: 引用を主役に、余白を詰める */
  .entry-cards{ gap:12px; }
  .entry-card{ padding:17px 18px; gap:9px; }
  .entry-quote{ font-size:16.5px; line-height:1.55; }
  .entry-desc{ font-size:13.5px; }
  .entry-can li{ font-size:12.5px; }
  .entry-cat{ font-size:13.5px; gap:8px; }
  .entry-cat .card-ic{ width:32px; height:32px; border-radius:9px; }
  .entry-cat .card-ic .ic{ width:18px; height:18px; }

  /* はじめての方3枚 */
  .first-cards{ gap:18px; }
  .first-card{ padding:24px 18px 18px; gap:8px; }
  .first-card h3{ font-size:19px; }
  .first-card p{ font-size:13.5px; }
  .first-card .card-ic{ width:38px; height:38px; }
  .first-card .card-ic .ic{ width:22px; height:22px; }

  /* 自己チェック */
  .selfcheck{ gap:9px; }
  .sc-item{ padding:13px 14px; gap:11px; }
  .sc-box{ width:24px; height:24px; }
  .sc-box::after{ left:6px; top:2px; width:7px; height:12px; }
  .sc-text b{ font-size:14.5px; line-height:1.6; }
  .sc-text small{ font-size:12px; }

  /* 4回 vs 1回 */
  .contrast{ gap:12px; }
  .contrast-col{ padding:20px 18px; }
  .contrast-count{ font-size:38px; }
  .contrast-head{ font-size:17px; margin:6px 0 9px; }
  .contrast p{ font-size:13.5px; }
  .route{ margin:10px 0 12px; }

  /* 読ませる3段 */
  .prose-step{ padding-bottom:20px; }
  .prose-step h3{ font-size:17px; }
  .prose-step p{ font-size:14.5px; }

  /* 家の一生・相談の流れ: 縦積みをやめて2列 */
  .life, .steps{ grid-template-columns:1fr 1fr; gap:10px; }
  .life-item{ padding:15px 13px; }
  .life-ic{ width:40px; height:40px; border-radius:11px; margin-bottom:8px; }
  .life-ic .ic{ width:25px; height:25px; }
  .life-item h3{ font-size:17px; margin:3px 0 5px; }
  .life-item p{ font-size:12.5px; }
  .life-tag{ margin-top:8px; font-size:11px; padding:3px 9px; }
  .life-close{ margin-top:16px; font-size:17px; }
  .step{ padding:15px 13px; }
  .step h3{ font-size:16.5px; }
  .step .time{ font-size:11.5px; padding:2px 8px; margin:5px 0 7px; }
  .step p{ font-size:12.5px; }

  /* 相談員 */
  .staff-cards{ gap:12px; }
  .staff-card{ padding:18px; gap:14px; }
  .staff-card img{ width:70px; height:70px; }
  .staff-card h3{ font-size:18px; }
  .staff-card p{ font-size:13px; }

  /* 事実4つ・注記・締め */
  .fact{ padding:13px 13px; }
  .note-cream{ padding:12px 15px; font-size:12.5px; }
  .band-navy{ padding:44px 0; }
  .cta-band{ padding:44px 0; }
  .pull{ padding:20px 20px; }
  .checklist li{ padding:12px 15px; font-size:14px; }
  .faq summary{ padding:15px 46px 15px 18px; font-size:15px; }
  .faq .faq-a{ padding:0 18px 17px; font-size:14px; }
  .next-reads{ gap:10px; }
  .next-read{ padding:16px 18px; }
  .page-head{ padding:32px 0 4px; }
  .page-head .lead{ font-size:15px; margin-top:12px; }
}
@media (max-width:420px){
  /* ここまで狭いと2列は苦しいので、家の一生は横並びの帯にする（縦に伸ばさない） */
  .life{ grid-template-columns:1fr; }
  .life-item{ display:grid; grid-template-columns:38px 1fr; column-gap:13px; row-gap:0;
    align-items:start; padding:13px 14px; }
  /* アイコンを左の列に通し、残りは全部右の列へ（自動配置だと左右に散る） */
  .life-ic{ grid-column:1; grid-row:1 / -1; margin-bottom:0; width:38px; height:38px; }
  .life-ic .ic{ width:23px; height:23px; }
  .life-year, .life-item h3, .life-item p, .life-tag{ grid-column:2; }
  .life-year{ font-size:12px; }
  .life-item h3{ margin:1px 0 4px; }
  .life-tag{ margin-top:7px; justify-self:start; }
}

/* ============================================================
   フッター
   ============================================================ */
.footer{ background:var(--card); border-top:1px solid var(--line); padding:56px 0 0; }
.footer-close{ font-family:var(--font-head); font-weight:700; color:var(--ink); font-size:17px; margin-bottom:28px; }
.footer-grid{ display:grid; grid-template-columns:1.25fr .75fr .75fr 1.05fr; gap:36px; padding-bottom:44px; }
.footer h4{ font-size:13.5px; margin-bottom:12px; color:var(--ink-weak); letter-spacing:.04em; }
.footer-company{ font-size:13.5px; color:var(--ink-weak); line-height:2; }
.footer-company .brand-name{ color:var(--ink); font-size:18px; margin-bottom:2px; }
.footer-en{ font-size:11.5px; letter-spacing:.14em; color:var(--ink-weak); margin-bottom:12px; }
.footer-nav a{ display:block; font-size:14px; color:var(--ink); text-decoration:none; padding:5px 0; }
.footer-nav a:hover{ color:var(--blue); text-decoration:underline; }
.footer-contact{ background:var(--bg); border-radius:var(--radius); padding:22px 24px; align-self:start; }
.footer-contact .fc-label{ font-size:13px; font-weight:700; color:var(--ink-weak); }
.footer-contact .fc-tel{ display:block; font-family:var(--font-head); font-weight:800; font-size:27px;
  color:var(--ink); text-decoration:none; line-height:1.3; margin-top:4px; }
.footer-contact .fc-hours{ display:block; font-size:12px; color:var(--ink-weak); margin-bottom:14px; }
.footer-contact .btn-primary{ display:block; text-align:center; padding:12px 16px; font-size:15px; }
/* LINE の友だち追加。予約ボタンの下に、連絡手段のひとつとして小さく置く。
   画像は LINE 公式配布のもの。**加工も色替えも比率の変更もしない**（規約） */
.footer-line{ display:block; margin-top:12px; line-height:0; }
.footer-line img{ width:116px; height:36px; }   /* 232x72 のちょうど半分 */
.footer-line:hover img, .footer-line:focus-visible img{ opacity:.85; }
@media (prefers-reduced-motion: no-preference){ .footer-line img{ transition:opacity .15s; } }
.footer-legal-bar{ background:var(--navy); color:#C9DACF; padding:18px 0; }
.footer-legal-bar .wrap{ display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap;
  font-size:12px; line-height:1.9; }
.footer-legal-bar .copy{ color:#8FAE9C; }
@media (max-width:900px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:640px){ .footer-grid{ grid-template-columns:1fr; gap:26px; } }

/* ============================================================
   下層ページ共通
   ============================================================ */
.breadcrumb{ padding:14px 0 0; font-size:12.5px; color:var(--ink-weak); }
.breadcrumb a{ color:var(--ink-weak); }
.page-head{ padding:44px 0 8px; }
.page-head h1{ font-size:34px; line-height:1.6; }
.page-head .lead{ margin-top:16px; max-width:42em; }
@media (max-width:600px){ .page-head h1{ font-size:25px; } }

.next-reads{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.next-read{ background:var(--card); border-radius:var(--radius); box-shadow:var(--shadow);
  padding:20px 22px; text-decoration:none; color:var(--ink); }
.next-read b{ font-family:var(--font-head); font-size:17px; }
.next-read span{ display:block; font-size:13px; color:var(--ink-weak); margin-top:6px; }
.next-read:hover b{ color:var(--blue); }
@media (max-width:800px){ .next-reads{ grid-template-columns:1fr; } }

/* 対比リスト（あると早い/要らない 等） */
.pair{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.pair-col{ background:var(--card); border-radius:var(--radius); box-shadow:var(--shadow); padding:26px; }
.pair-col h3{ font-size:19px; margin-bottom:12px; }
.pair-col ul{ display:grid; gap:8px; }
.pair-col li{ padding-left:1.3em; text-indent:-1.3em; font-size:15px; }
.pair-col li::before{ content:"・"; color:var(--blue); font-weight:700; }
.pair-col .pair-note{ margin-top:14px; font-size:13.5px; color:var(--ink-weak); }
.pair-col.is-plain{ background:#E0E8E1; box-shadow:none; border:1px solid #C8D5C9; }
.pair-col.is-plain li::before{ color:#68766B; }
@media (max-width:800px){ .pair{ grid-template-columns:1fr; } }

/* 強調の一文 */
.pull{ background:var(--card); border-left:6px solid var(--blue); border-radius:var(--radius);
  box-shadow:var(--shadow); padding:26px 30px; }
.pull b{ font-family:var(--font-head); font-size:22px; line-height:1.8; display:block; }
.pull span{ display:block; margin-top:8px; font-size:13.5px; color:var(--ink-weak); }
@media (max-width:600px){ .pull b{ font-size:18px; } }

/* 地図 */
.map-embed{ width:100%; aspect-ratio:16/9; border:0; display:block;
  border-radius:var(--radius); box-shadow:var(--shadow); background:var(--card); }
@media (max-width:600px){ .map-embed{ aspect-ratio:4/3; } }

/* 会社概要テーブル */
.spec-table th,.spec-table td{ padding:13px 16px; border-bottom:1px solid var(--line);
  font-size:14.5px; text-align:left; vertical-align:top; }
.spec-table th{ width:11em; color:var(--ink-weak); font-weight:700; white-space:nowrap; }
@media (max-width:600px){
  .spec-table th,.spec-table td{ display:block; width:auto; padding:10px 16px; }
  .spec-table th{ padding-bottom:0; border-bottom:none; }
}

/* ============================================================
   フォーム
   ============================================================ */
.form-step{ margin-bottom:28px; }
.form-step-head{ display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.form-step-no{ background:var(--navy); color:#fff; font-family:var(--font-head); font-weight:700;
  font-size:14px; border-radius:999px; padding:5px 14px; }
.form-step-head h2{ font-size:21px; }
.field{ margin-bottom:18px; }
.field > label,.field > .field-label{ display:block; font-weight:700; font-size:15px; margin-bottom:6px; }
.req{ color:#B4232A; font-size:12px; font-weight:700; margin-left:6px; }
.opt{ color:var(--ink-weak); font-size:12px; font-weight:700; margin-left:6px; }
.field input[type="text"],.field input[type="tel"],.field input[type="email"],.field textarea{
  width:100%; font:inherit; padding:13px 14px; border:1.5px solid var(--line);
  border-radius:8px; background:#fff; color:var(--ink); }
.field input:focus,.field textarea:focus{ outline:2px solid var(--blue); outline-offset:1px; border-color:var(--blue); }
.field .hint{ font-size:13px; color:var(--ink-weak); margin-top:6px; }
.choice-grid{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.choice{ position:relative; }
.choice input{ position:absolute; opacity:0; inset:0; cursor:pointer; }
.choice .choice-body{ display:block; border:1.5px solid var(--line); border-radius:var(--radius);
  padding:16px 18px; background:#fff; cursor:pointer; }
.choice input:checked + .choice-body{ border:2px solid var(--blue); background:#EDF6EF; }
.choice input:focus-visible + .choice-body{ outline:2px solid var(--blue); outline-offset:2px; }
.choice b{ font-size:16px; }
.choice p{ font-size:13px; color:var(--ink-weak); margin-top:4px; }
.check-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.check{ display:flex; gap:10px; align-items:center; border:1.5px solid var(--line);
  border-radius:8px; padding:12px 14px; background:#fff; cursor:pointer; font-size:14.5px; }
.check input{ width:18px; height:18px; accent-color:var(--blue); flex-shrink:0; }
.check:has(input:checked){ border-color:var(--blue); background:#EDF6EF; }
@media (max-width:800px){ .check-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .check-grid{ grid-template-columns:1fr; } .choice-grid{ grid-template-columns:1fr; } }
.consent{ background:var(--bg); border-radius:var(--radius); padding:18px 20px; font-size:14px; }
.consent label{ display:flex; gap:10px; align-items:flex-start; cursor:pointer; }
.consent input{ width:18px; height:18px; margin-top:4px; accent-color:var(--blue); flex-shrink:0; }

.promises{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.promise{ background:var(--card); border-radius:var(--radius); box-shadow:var(--shadow); padding:22px; }
.promise .card-ic{ margin-bottom:14px; }
.promise h3{ font-size:18px; color:var(--blue); margin-bottom:8px; }
.promise p{ font-size:13.5px; }
@media (max-width:800px){ .promises{ grid-template-columns:1fr; } }

/* ============================================================
   スクロール挙動と動き（2026-08-30 本人承認：案A＋進捗線＋手触り＋理解＋遷移）
   ============================================================ */

/* ---- 進捗線：ヘッダー下端。読み終わりの位置がわかる ---- */
.header::after{ content:""; position:absolute; left:0; bottom:-1px; height:2px;
  width:var(--read, 0%); background:var(--blue); z-index:2;
  transform-origin:left; pointer-events:none; }

/* ---- 案A：下スクロールでナビ行だけ畳む。ロゴと予約は残す ---- */
@media (min-width:901px){
  .header-in{ transition:padding .3s cubic-bezier(.32,.72,0,1); }
  .gnav{ max-height:var(--navh, 44px); opacity:1;
    transition:max-height .32s cubic-bezier(.32,.72,0,1), opacity .18s ease; }
  /* 畳む最中だけクリップする。常時 overflow:hidden にすると
     .subnav（絶対配置のドロップダウン）が切られる */
  .gnav.is-clipped{ overflow:hidden; }
  .header.is-condensed .header-in{ padding-top:6px; padding-bottom:6px; row-gap:0; }
  /* 帯が細くなるぶん、透けた本文がロゴの真横に来て読みにくくなる。
     畳んだときは面を締める（すりガラスは残したまま） */
  .header::before{ transition:background-color .3s ease; }
  .header.is-condensed::before{ background:rgba(255,255,255,.97);
    backdrop-filter:blur(18px) saturate(1.3); -webkit-backdrop-filter:blur(18px) saturate(1.3); }
  .header.is-condensed .gnav{ max-height:0; opacity:0; }
  .header.is-condensed .header-tel small{ opacity:0; max-height:0; overflow:hidden; }
  .header-tel small{ transition:opacity .2s ease, max-height .3s cubic-bezier(.32,.72,0,1); max-height:20px; }
  .header.is-condensed .header-right .btn-primary{ padding:10px 20px; font-size:15px; }
  .header-right .btn-primary{ transition:padding .3s cubic-bezier(.32,.72,0,1),
    font-size .3s cubic-bezier(.32,.72,0,1), transform .15s ease, box-shadow .15s ease, filter .15s ease; }
  .header.is-condensed .header-tel a{ font-size:17px; }
  .header-tel a{ transition:font-size .3s cubic-bezier(.32,.72,0,1); }

  /* ---- ドロップダウン：瞬間表示をやめて、下りてくるように ---- */
  .subnav{ display:block; opacity:0; visibility:hidden; transform:translateY(-6px);
    transition:opacity .18s ease, transform .2s cubic-bezier(.32,.72,0,1), visibility 0s .2s; }
  .has-sub:hover .subnav, .has-sub:focus-within .subnav, .has-sub.is-open .subnav{
    opacity:1; visibility:visible; transform:none; transition-delay:0s; }
  /* 畳んでいる間はドロップダウンを開かせない */
  .header.is-condensed .subnav{ opacity:0 !important; visibility:hidden !important; }
}

/* ---- 手触り：矢印が右へ、アイコンが少し前へ ---- */
.entry-cat .arr, .route .arr{ display:inline-block;
  transition:transform .22s cubic-bezier(.32,.72,0,1); }
.entry-card:hover .arr, .first-card:hover .arr{ transform:translateX(4px); }
/* 「次に読むもの」には矢印そのものが無かったので、ここで足す（HTMLは触らない） */
.next-read{ position:relative; }
.next-read b::after{ content:"→"; position:absolute; right:20px;
  color:var(--blue); font-weight:700; font-family:var(--font-head);
  transition:transform .22s cubic-bezier(.32,.72,0,1); }
.next-read:hover b::after{ transform:translateX(4px); }
.entry-card .card-ic, .first-card .card-ic{ transition:transform .22s cubic-bezier(.32,.72,0,1); }
.entry-card:hover .card-ic, .first-card:hover .card-ic{ transform:translateY(-2px); }

/* ---- アコーディオン：開くときに下りてくる ---- */
details[open] > .faq-a,
details[open] > .qa-a,
details[open] > div:not(summary){ animation:qaOpen .26s cubic-bezier(.32,.72,0,1); }
@keyframes qaOpen{ from{ opacity:0; transform:translateY(-6px); } to{ opacity:1; transform:none; } }
details > summary{ transition:color .18s ease; }

/* ---- ドロワー：項目が上から順に入ってくる ---- */
@media (max-width:900px){
  body.nav-open .gnav > ul > li{ animation:drawerIn .34s cubic-bezier(.32,.72,0,1) both; }
  body.nav-open .gnav > ul > li:nth-child(1){ animation-delay:.06s; }
  body.nav-open .gnav > ul > li:nth-child(2){ animation-delay:.10s; }
  body.nav-open .gnav > ul > li:nth-child(3){ animation-delay:.14s; }
  body.nav-open .gnav > ul > li:nth-child(4){ animation-delay:.18s; }
  body.nav-open .gnav > ul > li:nth-child(5){ animation-delay:.22s; }
  body.nav-open .gnav > ul > li:nth-child(6){ animation-delay:.26s; }
  body.nav-open .gnav > ul > li:nth-child(7){ animation-delay:.30s; }
  body.nav-open .gnav-cta{ animation:drawerIn .34s cubic-bezier(.32,.72,0,1) .34s both; }
  @keyframes drawerIn{ from{ opacity:0; transform:translateX(14px); } to{ opacity:1; transform:none; } }
}

/* ---- 順番のあるものは、順番に立ち上がる ---- */
.reveal-seq > *{ opacity:0; transform:translateY(10px);
  transition:opacity .46s ease, transform .46s cubic-bezier(.32,.72,0,1); }
.reveal-seq.is-in > *{ opacity:1; transform:none; }
.reveal-seq.is-in > *:nth-child(1){ transition-delay:0s; }
.reveal-seq.is-in > *:nth-child(2){ transition-delay:.09s; }
.reveal-seq.is-in > *:nth-child(3){ transition-delay:.18s; }
.reveal-seq.is-in > *:nth-child(4){ transition-delay:.27s; }
.reveal-seq.is-in > *:nth-child(5){ transition-delay:.36s; }
.reveal-seq.is-in > *:nth-child(6){ transition-delay:.45s; }

/* ---- 該当数のカウント：数字が変わったことに気づける ---- */
#sc-count{ display:inline-block; transition:transform .18s cubic-bezier(.32,.72,0,1); }
#sc-count.is-bump{ transform:scale(1.28); }

/* ---- ページ遷移：白い一瞬をなくす ---- */
@view-transition{ navigation:auto; }
::view-transition-old(root){ animation:vtOut .16s ease both; }
::view-transition-new(root){ animation:vtIn .24s cubic-bezier(.32,.72,0,1) both; }
/* ヘッダーは遷移から外して据え置く。中身だけが入れ替わって見えるように */
.header{ view-transition-name:site-header; }
::view-transition-old(site-header), ::view-transition-new(site-header){ animation:none; mix-blend-mode:normal; }
@keyframes vtOut{ to{ opacity:0; } }
@keyframes vtIn{ from{ opacity:0; transform:translateY(6px); } to{ opacity:1; transform:none; } }

/* ---- 動きを減らす設定のときは、全部止める ---- */
@media (prefers-reduced-motion: reduce){
  @view-transition{ navigation:none; }
  .header::after{ display:none; }
  .gnav, .header-in, .header-tel small, .header-tel a,
  .header-right .btn-primary, .subnav, .entry-cat .arr,
  .route .arr, .entry-card .card-ic, .next-read b::after,
  .first-card .card-ic, .reveal-seq > *, #sc-count{ transition:none !important; }
  details[open] > .faq-a, details[open] > .qa-a, details[open] > div:not(summary),
  body.nav-open .gnav > ul > li, body.nav-open .gnav-cta{ animation:none !important; }
  .reveal-seq > *{ opacity:1; transform:none; }
}

/* ==== 物件スライダー（不動産ページ 06）=====================================
   横スクロールは指とトラックパッドに任せる（scroll-snap）。JSは矢印の送りだけ。
   自前で transform を持つと、指で払ったときの位置とズレる。
   ========================================================================= */
.props{ position:relative; margin-top:24px; }
.props-track{
  display:flex; gap:16px; margin:0; padding:4px 4px 12px; list-style:none;
  overflow-x:auto; scroll-behavior:smooth;
  /* mandatory にすると、矢印での送り（scrollBy）と吸着が引っぱり合って
     その場に留まる（実測：何度押しても 636px から動かなかった）。
     proximity なら指の払いの吸着は残したまま、送りが通る。 */
  scroll-snap-type:x proximity;
  scrollbar-width:thin;
}
.prop{ flex:0 0 300px; scroll-snap-align:start; }
.prop-card{
  display:flex; flex-direction:column; height:100%;
  background:var(--card); border-radius:var(--radius); box-shadow:var(--shadow);
  overflow:hidden; text-decoration:none; color:var(--ink);
  transition:transform .18s ease, box-shadow .18s ease;
}
.prop-card:hover{ transform:translateY(-2px); }
.prop-thumb{ display:block; aspect-ratio:3/2; background:var(--cream); }
.prop-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.prop-thumb-none{ display:block; aspect-ratio:3/2; background:var(--cream); }
.prop-body{ display:flex; flex-direction:column; flex:1; gap:6px; padding:16px 18px 18px; }
.prop-cat{
  align-self:flex-start; font-size:12px; line-height:1; padding:5px 9px;
  border-radius:999px; background:var(--cream); color:var(--accent-ink);
}
.prop-title{ font-family:var(--font-head); font-size:16px; line-height:1.5; margin-top:4px; }
.prop-meta{ font-size:13px; color:var(--ink-weak); line-height:1.7; }
.prop-price{
  margin-top:auto; padding-top:10px;
  font-family:var(--font-head); font-size:19px; color:var(--accent-ink);
}
.prop-go{ font-size:13px; color:var(--blue); }

.props-nav{ display:flex; gap:8px; margin-top:4px; }
.props-arrow{
  width:44px; height:44px; border-radius:999px; cursor:pointer;
  border:1px solid var(--line); background:var(--card); color:var(--ink);
  font-size:17px; line-height:1;
}
.props-arrow:hover:not(:disabled){ border-color:var(--blue); color:var(--blue); }
.props-arrow:disabled{ opacity:.35; cursor:default; }

@media (max-width:560px){
  .prop{ flex:0 0 82%; }
  .props-arrow{ width:40px; height:40px; }
}
@media (prefers-reduced-motion:reduce){
  .props-track{ scroll-behavior:auto; }
  .prop-card{ transition:none; }
}

/* ==== 6分野（案D）=========================================================
   「この6つを、ぜんぶやれる」が売り。どれか1つを大きくしない。
   6枚を同じ大きさ・同じ濃さで置く。差をつけた時点で主張が崩れる。
   ========================================================================= */
.fields{ display:grid; grid-template-columns:repeat(6,1fr); gap:14px; margin-top:26px; }
.field-card{ display:flex; flex-direction:column; align-items:center; gap:9px;
  background:var(--card); border-radius:var(--radius); box-shadow:var(--shadow);
  padding:22px 12px 18px; text-decoration:none; color:var(--ink); text-align:center;
  transition:transform .18s cubic-bezier(.32,.72,0,1), box-shadow .18s ease; }
.field-card:hover{ transform:translateY(-3px); }
.field-card .pic{ width:44px; height:28px; color:var(--blue); }
.field-card b{ font-size:14.5px; line-height:1.35; }
.field-card span{ font-size:12px; color:var(--ink-weak); line-height:1.6; }
@media (max-width:1024px){ .fields{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:560px){
  .fields{ grid-template-columns:repeat(2,1fr); gap:10px; }
  .field-card{ padding:18px 8px 15px; }
  .field-card b{ font-size:13.5px; }
  .field-card span{ font-size:11.5px; }
}

/* ==== ヒーローの補足一行（アイコン列の直下）==============================
   アイコンで名前を出している分野のうち、この窓口ではなく母体が承るものを断る。
   名前だけ出して行き先が無い状態を作らないため。
   ========================================================================= */

/* ==== 電話番号の前のフリーダイヤルマーク（2026-09-02）====================
   NTT 配布の EPS（logo.zip）から図形をそのまま写したもの。描き直していない。
   マークは横長（120.76 : 78.81 ＝ およそ 3:2）。縦を数字に合わせて幅を決める。
   色はマークが持っているので、文字色は当てない（地の濃さで変えない）。
   ========================================================================= */
.fd{ display:inline-block; vertical-align:middle; margin-right:8px; line-height:0; }
.fd svg{ width:34px; height:22px; display:block; }
@media (max-width:900px){ .fd{ margin-right:6px; } .fd svg{ width:31px; height:20px; } }
/* ==== トップの流れる物件（画像と場所だけ・横長）==========================
   2026-08-31 指示。不動産ページの札とは別物。価格は出さない。
   同じ並びを2周ぶん置き、半分ぶん動かして継ぎ目なく回す。
   **動きは自動なので、止める道を必ず用意する。**
   ・マウスを乗せているあいだ／触っているあいだ／中に入ったあいだは止める
   ・「動きを減らす」設定の人には流さない（自分で横に送れるようにする）
   ========================================================================= */
.tps{ overflow:hidden; margin-top:24px; -webkit-mask-image:linear-gradient(90deg,
    transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
  mask-image:linear-gradient(90deg, transparent 0, #000 40px,
    #000 calc(100% - 40px), transparent 100%); }
.tps-track{ display:flex; gap:16px; margin:0; padding:0 0 4px; list-style:none;
  width:max-content; animation:tps-run var(--tps-dur, 90s) linear infinite; }
.tps:hover .tps-track, .tps:focus-within .tps-track{ animation-play-state:paused; }
@keyframes tps-run{ from{ transform:translateX(0) } to{ transform:translateX(-50%) } }

.tps-item{ flex:0 0 auto; }
.tps-card{ display:block; width:340px; text-decoration:none; color:var(--ink); }
.tps-pic{ display:block; aspect-ratio:16/9; border-radius:var(--radius);
  overflow:hidden; background:var(--cream); box-shadow:var(--shadow); }
.tps-pic img{ width:100%; height:100%; object-fit:cover; display:block;
  transition:transform .4s ease; }
.tps-card:hover .tps-pic img{ transform:scale(1.04); }
.tps-pic--none{ display:block; aspect-ratio:16/9; border-radius:var(--radius);
  background:var(--cream); }
.tps-place{ display:block; margin-top:9px; font-size:13.5px; font-weight:700;
  color:var(--ink); letter-spacing:.01em; }

@media (max-width:700px){
  .tps-card{ width:264px; }
  .tps-track{ gap:12px; }
  .tps-place{ font-size:12.5px; }
}
/* 動きを減らす設定のときは流さない。代わりに自分で横に送れるようにする */
@media (prefers-reduced-motion:reduce){
  .tps{ overflow-x:auto; -webkit-mask-image:none; mask-image:none; }
  .tps-track{ animation:none; }
}
/* ==== イベントバナーの切り替え（2026-09-03：横に流す）===================
   重ねて入れ替える形から、横に流す形に変えた。
   高さが変わるとページが跳ねるので、札の高さは揃えて器で切る。
   ========================================================================= */
.evs{ position:relative; overflow:hidden; }
.evs-track{ list-style:none; margin:0; padding:0; display:flex;
  transition:transform .55s cubic-bezier(.32,.72,0,1); will-change:transform; }
.evs-item{ flex:0 0 100%; min-width:0; }
.evs-item>a{ display:flex; align-items:center; gap:18px; text-decoration:none; }
/* 日付の代わりに「随時／受付」を出すときは、少し詰める */
.event-date .evs-any{ font-size:20px; letter-spacing:-.02em; }
.evs-dots{ display:flex; gap:8px; margin-top:10px; justify-content:flex-end; }
.evs-dot{ width:26px; height:4px; padding:0; border:0; border-radius:2px; cursor:pointer;
  background:rgba(255,255,255,.35); transition:background .3s ease; }
.evs-dot.is-on{ background:#fff; }
.evs-dot:hover{ background:rgba(255,255,255,.7); }
.sr{ position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden;
  clip:rect(0 0 0 0); white-space:nowrap; border:0; }
@media (prefers-reduced-motion:reduce){ .evs-track{ transition:none; } }
@media (max-width:520px){ .evs-dots{ justify-content:center; margin-top:12px; } }

/* ---------------------------------------------- 資料請求・お問い合わせのタブ
   transitions.dev の「tabs sliding」を、このサイトのトークンに合わせて入れたもの。
   丸(48px)のピルは角丸10px基調の既存意匠から浮くので、入れ子の角丸公式で
   外側10px・間隔4px → 内側6px にしている。 */
.form-block{ background:var(--card); border:1px solid var(--line); border-radius:var(--radius);
  padding:20px 20px 8px; }
.t-tabs{ position:relative; display:inline-flex; align-items:center; gap:4px; padding:4px;
  border-radius:var(--radius); background:var(--bg); }
.t-tab{ position:relative; z-index:1; appearance:none; border:0; background:transparent;
  min-height:44px; padding:8px 20px; border-radius:6px; cursor:pointer;
  font-family:var(--font-head); font-size:16px; font-weight:700; color:var(--ink-weak);
  transition:color 250ms cubic-bezier(.22,1,.36,1); }
.t-tab:not([aria-selected="true"]):hover{ color:var(--ink); }
.t-tab[aria-selected="true"]{ color:#fff; }
.t-tab:focus-visible{ outline:2px solid var(--blue); outline-offset:2px; }
/* ピルの位置と幅は JS が実寸を書き込む。CSS は補間だけ受け持つ */
.t-tabs-pill{ position:absolute; z-index:0; top:4px; left:0; height:calc(100% - 8px); width:0;
  background:var(--navy); border-radius:6px; transform:translateX(0); pointer-events:none;
  transition:transform 250ms cubic-bezier(.22,1,.36,1), width 250ms cubic-bezier(.22,1,.36,1);
  will-change:transform,width; }
.form-note{ margin:14px 0 4px; font-size:13.5px; color:var(--ink-weak); }
#form-panel{ margin-top:4px; }
#form-panel iframe{ display:block; width:100%; border:0; }
@media (prefers-reduced-motion:reduce){
  .t-tabs-pill, .t-tab{ transition:none !important; }
}
@media (max-width:520px){
  .form-block{ padding:14px 14px 8px; }
  .t-tabs{ display:flex; width:100%; }
  .t-tab{ flex:1; padding:8px 10px; font-size:15px; }
}

/* ------------------------------------------------ ヒーローの写真（2026-10-06）
   集合写真とイラストを併置する。写真が主、イラストは「無料相談で渡す1枚の図」の
   見本なので従。重ねずに上下に置き、イラストは少し小さくして主従をはっきりさせる。 */
.hero-side{ display:grid; gap:14px; justify-items:end; }
.hero-photo{ margin:0; width:100%; max-width:500px; }
.hero-photo img{ display:block; width:100%; height:auto; border-radius:var(--radius);
  box-shadow:var(--shadow); }
.hero-side .hero-illus{ max-width:420px; }
@media (max-width:900px){
  .hero-side{ justify-items:center; gap:10px; }
  .hero-photo{ max-width:420px; }
  .hero-side .hero-illus{ max-width:320px; }
}

/* --------------------------------------------------- 写真の並び（2026-10-06）
   節の手前に置く帯。4枚と2枚の両方で使う。
   角丸と影は既存のカードと同じ（--radius / --shadow）に揃える。 */
.photo-strip{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin:0 0 30px; }
.photo-strip.photo-two{ grid-template-columns:repeat(2,1fr); gap:18px; }
.photo-strip figure{ margin:0; }
.photo-strip img{ display:block; width:100%; aspect-ratio:3/2; object-fit:cover;
  border-radius:var(--radius); box-shadow:var(--shadow); }
@media (max-width:900px){ .photo-strip{ grid-template-columns:repeat(2,1fr); gap:12px; } }
@media (max-width:520px){
  .photo-strip{ grid-template-columns:1fr 1fr; gap:10px; }
  .photo-strip.photo-two{ grid-template-columns:1fr; }
}

/* ------------------------------------------- ヒーロー全面の写真（2026-10-06）
   写真を全幅に敷き、文字が乗る側だけ地を起こして読めるようにする。
   文字の色は変えない（既存の濃緑・黒のまま）。白抜きにすると
   他ページの見出しと系統が割れるため、**背景側で稼ぐ**方針。 */
.hero.has-photo{ padding:84px 0 56px; }
.hero.has-photo::before{ display:none; }   /* 飾りの輪は写真と喧嘩するので止める */
.hero-bg{ position:absolute; inset:0; z-index:0; overflow:hidden; }
.hero-bg::after{ content:""; position:absolute; inset:0; z-index:0;
  /* url() は**この CSS からの相対**。assets/… だと css/assets/… を見に行って404になる */
  background-image:url("../assets/photos/hero-bg.jpg?v=29760b12");
  background-size:cover; background-position:50% 58%; }
/* 文字側（左）を起こし、右へ抜く。
   **ヒーローの幅ちょうどに敷く**こと。以前 wrap の擬似要素に -50vw で敷いていて、
   箱が画面より広くなり、傾斜の位置が全部ずれて写真が見えなかった（2026-10-06）。 */
.hero-bg::before{ content:""; position:absolute; inset:0; z-index:1;
  background:linear-gradient(100deg,
    rgba(234,241,236,.92) 0%, rgba(234,241,236,.86) 30%,
    rgba(234,241,236,.55) 46%, rgba(234,241,236,.18) 62%, rgba(234,241,236,0) 76%); }
.hero.has-photo .hero-grid{ position:relative; z-index:1; }
@media (max-width:900px){
  /* 1列に落ちると文字が写真の全面に乗るので、上から下へ起こす */
  /* 1列に落ちると文字が写真に重なる。PCと同じ見え方にしつつ、
     文字が乗る上半分だけ起こす。濃くしすぎると写真が消える（2026-10-06 調整） */
  .hero-bg::before{ background:linear-gradient(180deg,
      rgba(234,241,236,.90) 0%, rgba(234,241,236,.84) 46%,
      rgba(234,241,236,.62) 74%, rgba(234,241,236,.42) 100%); }
  /* 右寄りにする（2026-10-06 指示）。64% は、いただいた見本が元画像の
     どこを切り出したものかを突き合わせて測った値 */
  .hero-bg::after{ background-position:64% 50%; }
}

/* イラスト下の注記は写真に重なる。小さい字なので地を敷いて確実に読ませる */
.hero.has-photo .hero-illus-note{ display:inline-block; background:rgba(255,255,255,.88);
  border-radius:6px; padding:3px 10px; margin-top:6px; }
.photo-strip.photo-one{ grid-template-columns:1fr; max-width:560px; }
.photo-strip.photo-one img{ aspect-ratio:3/2; }
@media (max-width:520px){ .photo-strip.photo-one{ max-width:none; } }

/* 入口3カードの写真（2026-10-06）。バッジの下に敷く */
.first-card .first-pic{ display:block; width:100%; aspect-ratio:16/9; object-fit:cover;
  border-radius:calc(var(--radius) - 4px); margin:2px 0 4px; }


/* スマホはヘッダーの裏に本文がすぐ来る。半透明（.88）だと帯が透けて
   「かぶっている」ように見える（2026-10-06 指摘）。狭い幅では面を締める。
   **基の .header::before より後ろに置くこと。**前に置くと上書きされない。 */
@media (max-width:900px){
  .header::before{ background:#FFFFFF; backdrop-filter:none; -webkit-backdrop-filter:none; }
}

/* ------------------------------------- KengakuCloud のカレンダー（2026-10-09）
   先方手順書の CSS は一例で「埋込先に応じて調整」と明記されているため、
   このサイトの枠（カード内・左右の余白）に合わせてある。 */
.kc-calendar-wrapper{ max-width:100%; margin:8px auto -40px; padding:0; background:transparent; }
.kc-calendar-wrapper iframe{ width:100%; border:0; display:block; }
.kc-calendar-title{ font-family:var(--font-head); font-size:17px; color:var(--ink);
  margin:0 0 10px; text-align:left; }
.kc-fallback{ margin-top:14px; }
.kc-fallback a{ color:var(--blue); font-weight:700; }
