@charset "UTF-8";
/* ==========================================================================
   家守不動産株式会社  style.css（B案）
   --------------------------------------------------------------------------
   デザインコンセプト「家から見える、海と丘と空」
   家のかたちの窓に、横浜〜三浦半島の情景（夜明け・朝・夕暮れ・昼）。
   空気を含む青白い面、深い海の色、夕陽の珊瑚色。上品な明朝と細い罫線、たっぷりの余白。
   （2026-10-27：背景を生成り・セージから、ごく淡い青白〜青灰へ変更。CTAの杏色とロゴ正本の深緑は不変）

   0. トークン / 1. リセット / 2. ベース / 3. レイアウト
   4. 部品 / 5. ページ別 / 6. 動き / 7. 制作プレビュー
   ========================================================================== */

@layer reset, base, layout, components, pages, motion, preview;

@view-transition { navigation: auto; }

/* ---------- 0. トークン ---------- */
:root {
  color-scheme: light;

  /* 背景（2026-10-27）：ごく淡い青白〜青灰。生成り・畑の色調と一目で区別し、冷たい灰色や暗い青には寄せない */
  --bg: #F4F7FA;
  --bg-2: #E8EEF3;
  --surface: #FFFFFF;

  --ink: #1E2A2E;
  --ink-2: #48545A;
  --ink-3: #56646A; /* 小さな補足文字。青灰の面（--bg-2・フッター）でも 4.5:1 以上 */
  --line: #D9E1E8;
  --line-2: #BAC7D1;

  --sea-950: #0F2B32;
  --sea-900: #17404A;
  --sea: #1F4B57;
  --sea-600: #2E6B78;
  --sea-300: #86AEB6;
  --sea-200: #BBD3D7;
  --sea-100: #E1ECEE;

  --coral: #F0946A;
  --coral-600: #D9764B;
  --coral-700: #A8532B;
  --coral-100: #FBE6DA;
  --coral-50: #FDF3EC;

  --sage: #8AA48F;
  --sage-100: #E4EDE8;

  --draft: #B7791F;
  --brand: #204E43; /* ロゴ正本の緑（面の上の社名文字にも使う） */
  /* 操作は落ち着いた葉の緑、広い面は淡い青白と青灰に。ロゴの色は不変。 */
  --action: #477359;
  --action-hover: #3A624B;
  --action-active: #31553F;
  --action-soft: #E1ECE6;
  --action-soft-hover: #CFE0D6;
  --action-border: #748775;
  --action-disabled: #E2E7EA;
  --action-disabled-ink: #526151;
  --focus: #356047;
  /* 主要CTA（2026-10-26）：明るい杏色の面に深緑の文字。輪郭は青白い地に対して3:1以上のテラコッタ */
  --cta: #F3C39C;
  --cta-hover: #EEB27E;
  --cta-active: #E6A46A;
  --cta-ink: #173E33;
  --cta-border: #BC7140;
  --cta-arrow-bg: #214E41;
  --cta-arrow-fg: #FFF4E6;
  --contact-surface: #E5EDF3;
  --contact-line: #C6D5DF;
  --footer-surface: #E7EDF2;

  --font-head: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  --font-body: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-latin: "Jost", "Noto Sans JP", sans-serif;

  --fs-body: clamp(1.0625rem, 1.02rem + .2vw, 1.125rem);
  --fs-display: clamp(1.9rem, 1.1rem + 2vw, 3rem);
  --fs-h1: clamp(1.9rem, 1.3rem + 2.4vw, 3.2rem);
  --fs-h2: clamp(1.65rem, 1.2rem + 1.8vw, 2.6rem);
  --fs-h3: clamp(1.18rem, 1.1rem + .4vw, 1.4rem);

  --r-s: 12px;
  --r: 20px;
  --r-l: 28px;
  --shadow-1: 0 1px 2px rgb(30 42 46 / .04), 0 14px 34px -18px rgb(30 42 46 / .16);
  --shadow-2: 0 2px 4px rgb(30 42 46 / .04), 0 30px 60px -26px rgb(30 42 46 / .3);

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(64px, 9vw, 144px);
  --header-h: 66px;
  --ease: cubic-bezier(.22, .8, .24, 1);

  --icon-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14m-5.5-6 6 6-6 6'/%3E%3C/svg%3E");
  --icon-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14m-6-5.5 6 6 6-6'/%3E%3C/svg%3E");
  --icon-ext: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.5 5H6a1.5 1.5 0 0 0-1.5 1.5v11.5A1.5 1.5 0 0 0 6 19.5h11.5A1.5 1.5 0 0 0 19 18v-3.5M13.5 4.5h6v6M19.5 4.5l-8 8'/%3E%3C/svg%3E");
  --icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
@media (min-width: 960px) { :root { --header-h: 84px; } }

/* ---------- 1. リセット ---------- */
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
  ul, ol { padding: 0; list-style: none; }
  img, svg, video { display: block; max-width: 100%; }
  input, button, textarea, select { font: inherit; color: inherit; letter-spacing: inherit; }
  button { cursor: pointer; }
  address { font-style: normal; }
  table { border-collapse: collapse; }
  fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
  legend { padding: 0; }
  [hidden] { display: none !important; }
}

/* ---------- 2. ベース ---------- */
@layer base {
  html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); interpolate-size: allow-keywords; background: var(--bg); }
  html, body { overflow-x: clip; }
  html:has(.menu[open]) { overflow: hidden; }
  body { min-height: 100dvh; font-family: var(--font-body); font-size: var(--fs-body); font-weight: 400; line-height: 1.95; letter-spacing: .04em; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; font-kerning: normal; line-break: strict; overflow-wrap: anywhere; }
  h1, h2, h3, h4 { font-family: var(--font-body); font-weight: 700; line-height: 1.5; letter-spacing: .04em; font-feature-settings: "palt"; text-wrap: balance; }
  .hero__title, .page-head__catch, .h2, .cta__title { font-family: var(--font-head); font-weight: 700; letter-spacing: .05em; }
  p, li, dd { text-wrap: pretty; }
  a { color: var(--sea); text-decoration-thickness: 1px; text-underline-offset: .3em; transition: color .2s; }
  a:hover { color: var(--coral-700); }
  strong { font-weight: 700; }
  ::selection { background: var(--coral-100); color: var(--ink); }
  :focus-visible { outline: 3px solid var(--coral-600); outline-offset: 3px; border-radius: 6px; }
  .cta :focus-visible, .ftr :focus-visible { outline-color: var(--focus); }
  .menu :focus-visible { outline-color: #FFC7A8; }

  h1, h2, h3, h4, dt, .btn, .faq__question, .voices li, .worry__voice, .toc-card a, .desk-link, .chip span, .menu__main a, .link-arrow, .notice-bar__text { word-break: auto-phrase; }
  .bx { word-break: keep-all; overflow-wrap: anywhere; }

  .sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
  .i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .i--ext { width: .9em; height: .9em; margin-left: .3em; opacity: .8; }
  .u-visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .skip-link { position: fixed; left: 12px; top: 12px; z-index: 200; padding: .7em 1.2em; border-radius: 999px; background: var(--sea-900); color: #fff; text-decoration: none; font-weight: 700; transform: translateY(-160%); transition: transform .2s; }
  .skip-link:focus { transform: none; color: #fff; }
}

/* ---------- 3. レイアウト ---------- */
@layer layout {
  .container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
  .container--mid { max-width: 940px; }
  .section { position: relative; padding-block: var(--section); }
  .section--tight { padding-block: clamp(40px, 5vw, 64px); }
  .section--sand { background: var(--bg-2); }
  .two-col { display: grid; gap: 8px 64px; }
  @media (min-width: 960px) { .two-col { grid-template-columns: 1fr 1fr; } }
  .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; margin-top: 2.2em; }
  .prose > * + * { margin-top: 1em; }
  .prose--narrow { max-width: 46em; }
  .link-list { display: grid; gap: 6px; margin-top: 1.4em; }
  .link-list--row { display: flex; flex-wrap: wrap; gap: 8px 36px; margin-top: 28px; }
}

/* ---------- 4. 部品 ---------- */
@layer components {

  /* ボタン */
  .btn { --bg: var(--cta); --fg: var(--cta-ink); --bd: var(--cta-border); --arrow-bg: var(--cta-arrow-bg); --arrow-fg: var(--cta-arrow-fg); display: inline-flex; align-items: center; justify-content: center; gap: .9em; min-height: 56px; padding: .75em 1em .75em 1.7em; border: 1px solid var(--bd); border-radius: 999px; background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: .06em; line-height: 1.45; text-decoration: none; text-align: center; word-break: keep-all; overflow-wrap: anywhere; transition: background-color .25s, color .25s, border-color .25s, translate .3s var(--ease), box-shadow .3s; }
  .btn:hover { color: var(--fg); translate: 0 -2px; box-shadow: 0 10px 22px -15px rgb(194 119 66 / .45); }
  .btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
  .btn__arrow { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--arrow-bg); color: var(--arrow-fg); transition: translate .35s var(--ease); }
  .btn__arrow .i { width: 17px; height: 17px; }
  .btn:hover .btn__arrow { translate: 4px 0; }
  .btn--primary:hover { --bg: var(--cta-hover); }
  .btn--primary:active { --bg: var(--cta-active); translate: 0 0; }
  .btn--line { --bg: transparent; --fg: var(--brand); --bd: var(--action-border); --arrow-bg: var(--action-soft); --arrow-fg: var(--brand); padding-inline: 1.7em; }
  .btn--line:hover { --bd: var(--action-hover); --bg: var(--action-soft); --fg: var(--brand); box-shadow: none; }
  .btn--line:active { --bg: var(--action-soft-hover); translate: 0 0; }
  .btn--sm { min-height: 44px; padding: .4em 1.2em; font-size: .9rem; white-space: nowrap; flex: none; }
  .btn--lg { min-height: 62px; font-size: 1.02rem; padding-left: 1.9em; }
  .btn--line.btn--lg { padding-inline: 2em; }
  .btn--block { width: 100%; }
  .btn[aria-busy="true"] .btn__arrow { animation: spin 1s linear infinite; }
  @keyframes spin { to { rotate: 1turn; } }

  .link-arrow { display: inline-flex; align-items: center; gap: .6em; padding-block: .2em; color: var(--sea); font-weight: 700; letter-spacing: .06em; text-decoration: none; transition: color .2s; }
  .link-arrow::after { content: ""; flex: none; width: 1.6em; height: 1.6em; border-radius: 50%; border: 1px solid var(--line-2); background: var(--icon-arrow) center / 55% no-repeat; transition: border-color .25s, background-color .25s, translate .35s var(--ease); }
  .link-arrow[target="_blank"]::after { background-image: var(--icon-ext); }
  .link-arrow[href^="#"]::after { background-image: var(--icon-down); }
  .link-arrow:hover { color: var(--coral-700); }
  .link-arrow:hover::after { border-color: var(--coral-600); background-color: var(--coral-50); translate: 3px 0; }

  /* 見出し */
  .eyebrow { display: flex; align-items: center; gap: 1em; line-height: 1.5; }
  .eyebrow__en { font-family: var(--font-latin); font-size: .74rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--coral-700); }
  .eyebrow__en::after { content: ""; display: inline-block; width: 28px; height: 1px; margin-left: 1em; background: var(--coral-600); vertical-align: middle; }
  .eyebrow__ja { font-size: .86rem; font-weight: 700; letter-spacing: .12em; color: var(--sea); }
  .eyebrow--light .eyebrow__en { color: #FFC7A8; }
  .eyebrow--light .eyebrow__en::after { background: #FFC7A8; }
  .eyebrow--light .eyebrow__ja { color: rgb(255 255 255 / .85); }
  .h2 { margin-top: .55em; font-size: var(--fs-h2); line-height: 1.42; }
  .h3 { font-size: var(--fs-h3); }
  .sec-head { max-width: 52em; margin-bottom: clamp(28px, 5vw, 60px); }
  .sec-lead { margin-top: 1em; color: var(--ink-2); }

  /* ロゴ（正本SVGを <img> で表示。パス・色・縦横比は変えず、表示サイズと余白だけをCSSで決める）
     .logo__h       … 社名付き横組み正本（440×96）。文字が小さくなりすぎない幅でだけ表示
     .logo__compact … 正本マーク（128×128）＋ HTMLの社名文字組み（小画面用）
     .logo--pc / .logo--tab … 横組みに切り替える幅（960px / 600px 以上）。指定なしは常にマーク＋文字
     .logo__reading … 社名の読み「YAMORI FUDOSAN」（2026-10-28）。小さな添え字で、aria-hidden のためリンク名には含まれない */
  .logo { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; }
  .logo:hover { color: var(--ink); text-decoration: none; }
  /* 横組み正本：高さ64px・幅は 440:96 から算出した実寸。max-width/flex-shrink による圧縮を禁止 */
  .logo__h { display: none; height: 64px; width: calc(64px * 440 / 96); max-width: none; flex: none; object-fit: contain; }
  .logo__compact { display: inline-flex; align-items: center; gap: .55em; }
  .logo__sym { width: 34px; height: 34px; max-width: none; flex: none; }
  .logo__type { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; letter-spacing: .1em; line-height: 1; white-space: nowrap; font-feature-settings: "palt"; }
  .logo__type small { font-size: .7em; font-weight: 600; letter-spacing: .06em; margin-left: .2em; }
  /* 読みの添え字：マーク＋HTML社名の組みでは社名の下に二段で置く（.logo__text）。横組み正本用（--h）はヘッダーのPC表示でだけ出す */
  .logo__reading { display: block; font-family: var(--font-latin); font-weight: 600; letter-spacing: .2em; line-height: 1; white-space: nowrap; text-transform: uppercase; }
  .logo__text { display: grid; gap: 4px; }
  .logo__compact .logo__reading { font-size: .56rem; color: var(--ink-2); }
  .logo__reading--h { display: none; }
  @media (max-width: 400px) { .logo__compact { gap: .45em; } .logo__sym { width: 30px; height: 30px; } .logo__type { font-size: 1.04rem; letter-spacing: .06em; } .logo__compact .logo__reading { letter-spacing: .14em; } }
  @media (min-width: 600px) { .logo--tab .logo__h { display: block; } .logo--tab .logo__compact { display: none; } }
  @media (min-width: 960px) { .logo--pc .logo__h { display: block; } .logo--pc .logo__compact { display: none; } }
  /* 正本は常に明るい面で扱う（ロゴ自体は白抜き・別色にしない）。 */
  .logo-plate { padding: 4px 0 4px 2px; border-radius: 14px; background: var(--bg); color: var(--brand); overflow: hidden; }
  /* 面の上の社名文字は常に正本の緑。共通リンクの hover/focus でも色と下線を変えない。 */
  .ftr .logo-plate, .ftr .logo-plate:hover, .ftr .logo-plate:focus-visible, .menu .logo-plate,
  .logo-plate .logo__type, .logo-plate .logo__type small { color: var(--brand); text-decoration: none; }
  /* 面の中の横組み正本：画像ボックスは 293.33×64 の実寸のまま（圧縮しない）。原本ファイル内の透明余白（右 約30%・上下 約26%）だけを
     負のマージン＋overflow:hidden で表示上隠す。図柄（x 23–307 / y 25–71 → 15–205px / 17–47px）は面の内側に 13〜17px の余白で収まる */
  .logo-plate .logo__h { margin: -8px -74px -8px 0; }
  .logo-plate .logo__compact { padding: 3px 12px 3px 9px; }
  .logo-plate .logo__sym { width: 32px; height: 32px; }
  .logo-plate .logo__type { font-size: 1rem; }

  /* ヘッダー */
  .hdr { position: sticky; top: 0; z-index: 60; background: rgb(244 247 250 / .86); -webkit-backdrop-filter: saturate(1.3) blur(16px); backdrop-filter: saturate(1.3) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s; view-transition-name: site-header; }
  .hdr.is-scrolled { border-bottom-color: var(--line); }
  .hdr__inner { display: flex; align-items: center; gap: 10px; height: var(--header-h); }
  .hdr .logo { margin-right: auto; }
  /* 2026-10-28 ヘッダーのロゴリンクの focus 輪郭：共通の珊瑚色＋外側3pxだと PC では画面上端（y=-2px）で切れ、空色の地に対し約2.9:1。
     ここだけ緑の focus トークン（#356047、地に対し 6.5:1 以上）・outline-offset 0 にして、ヘッダー内（y 1〜79px）に全周を収める */
  .hdr .logo:focus-visible { outline: 3px solid var(--focus); outline-offset: 0; }
  /* 2026-10-28 PCヘッダーの社名を少し大きく：横組み正本の表示高さを 64→76px（正本内の社名文字は約15→17.8px。画像ファイル・縦横比は無変更）。
     正本の社名（x 89.08–306.94 / y 35.6–58.09、枠 440×96）の下の透明余白に読み「YAMORI FUDOSAN」を重ね、左端を社名の左端に揃えた二段組にする。
     位置・大きさは --logo-h からの比率で算出（左 = 89.08/96、上 = 60.5/96、文字 = 14.5%）。マークの下端（y 70.75）とほぼ同じ高さに読みの基線が来る */
  .hdr .logo--pc { --logo-h: 76px; position: relative; }
  .hdr .logo--pc .logo__h { height: var(--logo-h); width: calc(var(--logo-h) * 440 / 96); }
  @media (min-width: 960px) {
    .hdr .logo--pc .logo__reading--h { display: block; position: absolute; left: calc(var(--logo-h) * 89.08 / 96); top: calc(var(--logo-h) * 60.5 / 96); font-size: calc(var(--logo-h) * .145); letter-spacing: .32em; color: var(--brand); }
  }
  .gnav { display: none; }
  .gnav ul { display: flex; gap: 4px; }
  .gnav a { position: relative; display: block; padding: .5em 1em; color: var(--ink); text-decoration: none; font-size: .94rem; font-weight: 500; letter-spacing: .1em; }
  .gnav a::after { content: ""; position: absolute; left: 1em; right: 1em; bottom: .25em; height: 1px; background: var(--coral-600); scale: 0 1; transform-origin: right; transition: scale .35s var(--ease); }
  .gnav a:hover { color: var(--ink); }
  .gnav a:hover::after, .gnav a[aria-current]::after { scale: 1 1; transform-origin: left; }
  .hdr__cta { margin-left: 8px; }
  @media (max-width: 480px) { .hdr__inner { gap: 6px; } .hdr__cta { margin-left: 2px; padding-inline: .95em; font-size: .86rem; letter-spacing: .04em; } .menu-btn { width: 44px; margin-right: -6px; } }
  /* 400px以下：社名の「株式会社」を省いて幅を確保し、メニューの文字が2行にならないようにする（360px幅で約9px不足していた）。読みの添え字は字間を詰めて社名の幅に収める */
  @media (max-width: 400px) { .hdr .logo__type small { display: none; } }
  @media (max-width: 359px) { .hdr__cta { padding-inline: .8em; } }
  .hdr__cta[aria-current] { --bg: var(--cta-hover); }
  .hdr__cta[aria-current]:where(:active) { --bg: var(--cta-active); }
  .menu-btn { display: inline-grid; justify-items: center; align-content: center; gap: 5px; flex: none; width: 50px; height: 48px; margin-right: -8px; padding: 0; border: 0; background: none; color: var(--ink); }
  .menu-btn__icon { display: grid; gap: 6px; width: 24px; }
  .menu-btn__icon i { display: block; height: 1.5px; border-radius: 2px; background: currentColor; }
  .menu-btn__icon i:last-child { width: 62%; }
  .menu-btn__label { font-family: var(--font-latin); font-size: .58rem; font-weight: 600; letter-spacing: .12em; line-height: 1; white-space: nowrap; }
  @media (min-width: 960px) { .gnav { display: block; } .menu-btn { display: none; } }

  /* 手紙の案内（控えめな一行） */
  .notice-bar { display: block; background: var(--bg-2); color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--line); transition: background-color .2s, color .2s; }
  .notice-bar:hover { background: #DFE8EF; color: var(--ink); }
  .notice-bar__inner { display: flex; align-items: center; gap: 10px; min-height: 42px; padding-block: 7px; font-size: .8rem; line-height: 1.5; letter-spacing: .04em; }
  .notice-bar .i { width: 17px; height: 17px; color: var(--sea); }
  .notice-bar__text { display: flex; flex-wrap: wrap; gap: 0 1em; }
  .notice-bar__main { font-weight: 700; color: var(--ink); }
  .notice-bar__sub { color: var(--ink-3); }
  .notice-bar__arrow { margin-left: auto; color: var(--sea); transition: translate .3s var(--ease); }
  .notice-bar:hover .notice-bar__arrow { translate: 3px 0; }
  @media (max-width: 640px) { .notice-bar__inner { font-size: .76rem; } }
  @media (min-width: 641px) { .notice-bar__sub::before { content: "—"; margin-right: 1em; color: var(--line-2); } }

  /* モバイルメニュー */
  .menu { position: fixed; inset: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0 0 max(28px, env(safe-area-inset-bottom)); border: 0; background: linear-gradient(180deg, var(--sea-900), var(--sea-950)); color: #fff; overflow-y: auto; overscroll-behavior: contain; opacity: 0; translate: 0 -14px; transition: opacity .3s, translate .4s var(--ease), overlay .4s allow-discrete, display .4s allow-discrete; }
  .menu[open] { opacity: 1; translate: 0 0; }
  @starting-style { .menu[open] { opacity: 0; translate: 0 -14px; } }
  .menu::backdrop { background: rgb(15 43 50 / .5); }
  .menu__top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); border-bottom: 1px solid rgb(255 255 255 / .14); }
  .menu__close { display: inline-grid; justify-items: center; align-content: center; gap: 3px; width: 50px; height: 48px; margin-right: -8px; border: 0; background: none; color: #fff; font-family: var(--font-latin); font-size: .58rem; font-weight: 600; letter-spacing: .12em; }
  .menu__close .i { width: 26px; height: 26px; }
  .menu__nav { display: grid; gap: 28px; margin-top: 16px; }
  .menu__main a { display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: 17px 2px; border-bottom: 1px solid rgb(255 255 255 / .12); color: #fff; text-decoration: none; font-size: 1.12rem; font-weight: 700; letter-spacing: .04em; }
  .menu__main a[aria-current] { color: #FFC7A8; }
  .menu__en { order: 2; font-family: var(--font-latin); font-size: .64rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: rgb(255 255 255 / .5); }
  .menu__sub { display: flex; flex-wrap: wrap; gap: 8px 22px; }
  .menu__sub a { display: inline-flex; align-items: center; padding-block: .35em; color: rgb(255 255 255 / .85); text-decoration: none; font-size: .9rem; }
  /* 暗いメニュー内の相談ボタンは明るい面で識別し、同じ緑系の操作状態を使う。 */
  .menu .btn--primary { --bg: var(--action-soft); --fg: var(--brand); --bd: var(--action-soft); --arrow-bg: var(--surface); --arrow-fg: var(--brand); }
  .menu .btn--primary:hover { --bg: var(--action-soft-hover); --bd: var(--action-soft-hover); }
  .menu .btn--primary:active { --bg: var(--contact-line); --bd: var(--contact-line); }
  .menu .btn:focus-visible { outline-color: #FFC7A8; }
  /* 状態指定は各バリエーションの後。hover 中も無効・処理中の色を保ち、透過で文字を薄めない。 */
  .btn:is(:disabled, [aria-disabled="true"], [aria-busy="true"]),
  .menu .btn:is(:disabled, [aria-disabled="true"], [aria-busy="true"]) { --bg: var(--action-disabled); --fg: var(--action-disabled-ink); --bd: var(--action-border); --arrow-bg: var(--surface); --arrow-fg: var(--action-disabled-ink); opacity: 1; translate: none; box-shadow: none; cursor: not-allowed; }
  .btn:is(:disabled, [aria-disabled="true"], [aria-busy="true"]) .btn__arrow { translate: none; }
  .btn[aria-busy="true"] { pointer-events: none; cursor: progress; }

  .crumbs ol { display: flex; flex-wrap: wrap; gap: .2em .6em; font-size: .78rem; letter-spacing: .08em; color: var(--ink-3); }
  .crumbs li + li::before { content: "/"; margin-right: .6em; color: var(--line-2); }
  .crumbs a { color: inherit; text-decoration: none; }
  .crumbs a:hover { color: var(--coral-700); text-decoration: underline; }

  /* 家のかたちの窓 */
  .house-window { width: 100%; height: auto; }

  /* チップ */
  .chip { display: inline-flex; align-items: center; gap: .6em; padding: .5em 1.05em .5em .9em; border-radius: 999px; background: rgb(255 255 255 / .92); border: 1px solid rgb(255 255 255 / .6); box-shadow: var(--shadow-2); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: .84rem; font-weight: 700; letter-spacing: .06em; color: var(--ink); }
  .chip .i { color: var(--coral-600); }
  .chip__k { font-family: var(--font-latin); padding: .1em .6em; border-radius: 999px; background: var(--sea); color: #fff; font-size: .68rem; letter-spacing: .14em; }

  /* 地域名のティッカー */
  .ticker { overflow: hidden; padding-block: 20px; border-block: 1px solid var(--line); -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
  .ticker__track { display: flex; gap: 3.6em; width: max-content; padding-left: 3.6em; }
  .ticker__track span { display: inline-flex; align-items: baseline; gap: .7em; white-space: nowrap; font-family: var(--font-head); font-weight: 500; font-size: clamp(1.3rem, 1rem + 1.3vw, 2rem); letter-spacing: .12em; color: var(--line-2); }
  .ticker__track em { font-family: var(--font-latin); font-style: normal; font-size: .46em; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--sea-300); }
  .ticker__track span::after { content: ""; width: 6px; height: 6px; margin-left: 2.8em; border-radius: 50%; background: var(--coral); align-self: center; }

  /* 代表紹介 */
  /* 写真は文章に添える小さな肖像。元の大きな写真列・装飾は使わない。 */
  .rep { display: grid; gap: 24px; align-items: start; }
  @media (min-width: 900px) { .rep { grid-template-columns: 160px minmax(0, 1fr); gap: 48px; } }
  .rep__visual { position: relative; width: min(100%, 120px); margin: 0; padding: 0; }
  @media (min-width: 900px) { .rep__visual { width: min(100%, 160px); } }
  .rep__visual::before, .rep__visual::after { content: none; }
  .portrait { width: min(100%, 160px); margin: 0; }
  .portrait__img { display: grid; place-content: center; justify-items: center; gap: 12px; aspect-ratio: 4 / 5; border-radius: var(--r-l); border: 1px solid var(--line); background: repeating-linear-gradient(135deg, var(--bg-2) 0 12px, var(--surface) 12px 24px); color: var(--ink-3); font-size: .8rem; font-weight: 700; letter-spacing: .2em; }
  .portrait__img--photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%; background: var(--bg-2); }
  .portrait__img svg { width: 42%; max-width: 120px; fill: none; stroke: var(--line-2); stroke-width: 2; stroke-linecap: round; }
  .message { margin-top: 1.4em; }
  .message__lead { font-size: 1.06em; line-height: 2; }
  .values { display: grid; margin-top: 1.6em; border-top: 1px solid var(--line); }
  .values li { display: flex; align-items: baseline; gap: 18px; padding: 16px 4px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 1.04rem; letter-spacing: .04em; }
  .values__no { flex: none; font-family: var(--font-latin); font-size: .82rem; font-weight: 600; letter-spacing: .12em; color: var(--coral-700); }
  .message__close { margin-top: 1.4em; }
  .message__sign { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 2em; }
  .message__name { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; letter-spacing: .14em; }
  .message__name span { margin-right: .9em; font-size: .55em; font-weight: 500; letter-spacing: .2em; color: var(--ink-3); }
  /* ふりがな：署名はルビ（控えめ・中央寄せ、親文字の字間は広げない）、表は親文字の下に小さな読みの行 */
  ruby { ruby-align: center; }
  .message__name ruby { line-height: 1.2; }
  .message__name span { line-height: 1.2; }
  rt { font-family: var(--font-body); font-size: max(.5em, 10px); font-weight: 500; letter-spacing: .02em; line-height: 1.1; color: var(--ink-3); }
  rp { display: none; }
  .reading { display: block; margin-top: .1em; font-size: .78rem; font-weight: 400; letter-spacing: .06em; line-height: 1.5; color: var(--ink-3); }
  .quals { display: grid; gap: 8px; }
  .quals li { display: flex; align-items: flex-start; gap: .6em; font-size: .92rem; line-height: 1.6; }
  .quals .i { color: var(--sage); margin-top: .2em; }
  .quals strong { display: block; letter-spacing: .04em; }
  .quals small { font-size: .8rem; color: var(--ink-3); }

  .info-card, .svc-card, .step, .methods__item, .notice, .faq__item, .worry, .option, .scope__card--expert, .service-link, .sender-card, .alt-card, .form-card, .desk-link, .toc-card, .pp-toc, .pp-body, .fees__block, .price-note, .apology, .how-flow li, .feature__visual, .dl--contact { background: var(--surface); border: 1px solid var(--line); }
  .info-card { margin-top: clamp(48px, 7vw, 88px); padding: clamp(24px, 4vw, 44px); border-radius: var(--r-l); }
  .info-card__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 8px; }
  .info-card__title { font-size: 1.4rem; }
  .dl > div { display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: .3em 1.2em; padding: 1em 0; border-bottom: 1px solid var(--line); }
  .dl dt { font-size: .84rem; font-weight: 700; letter-spacing: .12em; color: var(--sea); padding-top: .25em; }
  .dl dd { line-height: 1.8; }
  @media (min-width: 900px) { .dl--2col { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; } }
  @media (max-width: 480px) { .dl > div { grid-template-columns: 1fr; } }
  .dl--table > div { grid-template-columns: 9.5em minmax(0, 1fr); padding: 1.2em .2em; }
  @media (max-width: 560px) { .dl--table > div { grid-template-columns: 1fr; } }
  .dl--compact > div { grid-template-columns: 6.5em minmax(0, 1fr); padding: .7em 0; font-size: .94rem; }
  .dl--contact { margin-block: 26px; padding-inline: clamp(16px, 3vw, 28px); border-radius: var(--r); }
  .dl--contact > div:last-child { border-bottom: 0; }
  .dl--contact dt { display: flex; align-items: center; gap: .5em; }
  .dl--contact dt .i { color: var(--coral-600); }
  .dl__big { font-size: 1.5rem; font-weight: 700; letter-spacing: .04em; }

  /* サービスカード */
  .svc-grid { display: grid; gap: 22px; }
  @media (min-width: 720px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 1040px) { .svc-grid { grid-template-columns: repeat(3, 1fr); gap: 26px; } }
  .svc-card { position: relative; display: flex; flex-direction: column; border-radius: var(--r-l); overflow: hidden; transition: translate .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
  .svc-card:hover { translate: 0 -5px; box-shadow: var(--shadow-2); border-color: var(--line-2); }
  .svc-card__visual { --il-bg: var(--bg-2); padding: 24px 28px 0; background: var(--il-bg); }
  .svc-card--souzoku .svc-card__visual { --il-bg: #ECEFF5; }
  .svc-card--kanri .svc-card__visual { --il-bg: var(--sea-100); }
  .svc-card--sale .svc-card__visual { --il-bg: var(--coral-100); }
  .svc-card__visual .illust { transition: scale .6s var(--ease); transform-origin: 50% 100%; }
  .svc-card:hover .illust { scale: 1.04; }
  .svc-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px clamp(22px, 2.6vw, 30px) 28px; }
  .svc-card__no { font-family: var(--font-latin); font-size: .74rem; font-weight: 600; letter-spacing: .3em; color: var(--coral-700); }
  .svc-card__title { margin-top: .5em; font-size: var(--fs-h3); }
  .svc-card p { margin-top: .7em; color: var(--ink-2); font-size: .97rem; }
  .svc-card .link-arrow { margin-top: auto; padding-top: 1.4em; align-self: flex-start; }
  .card-link::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }

  .illust { width: 100%; height: auto; }
  .il-sea { fill: var(--sea); } .il-sea-l { fill: var(--sea-200); } .il-sun { fill: var(--coral); } .il-sun-l { fill: var(--coral-100); }
  .il-hill { fill: var(--sage); } .il-hill-l { fill: var(--sage-100); } .il-white { fill: #fff; } .il-ink { fill: var(--sea-900); }
  .il-ring { fill: none; stroke: var(--coral); stroke-width: 4; stroke-dasharray: 9 12; stroke-linecap: round; }
  .il-arc { fill: none; stroke: var(--coral); stroke-width: 5; stroke-linecap: round; }
  .il-spark { fill: none; stroke: var(--coral); stroke-width: 3.5; stroke-linecap: round; }

  .band { display: grid; gap: 18px; align-items: center; margin-top: clamp(36px, 5vw, 64px); padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 52px); border-radius: var(--r-l); background: linear-gradient(110deg, var(--coral-50), var(--surface) 60%); border: 1px solid var(--line); color: var(--ink); }
  @media (min-width: 720px) { .band { grid-template-columns: 64px 1fr; gap: 32px; } }
  .band__mark { width: 60px; height: 60px; color: var(--sea); }
  .band__text { font-weight: 500; font-size: clamp(1.04rem, 1rem + .3vw, 1.2rem); line-height: 1.9; letter-spacing: .04em; }

  /* 流れ */
  .steps { display: grid; gap: 14px; }
  @media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
  @media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
  .step { position: relative; padding: 28px 26px 30px; border-radius: var(--r); }
  .step__no { display: block; font-family: var(--font-head); font-size: 2.2rem; font-weight: 500; line-height: 1; letter-spacing: .06em; color: var(--coral-600); }
  .step__title { margin-top: 16px; font-size: 1.2rem; }
  .step p { margin-top: .5em; color: var(--ink-2); font-size: .95rem; }
  @media (min-width: 1040px) { .step:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 44px; width: 9px; height: 9px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); rotate: -45deg; } }
  .fee-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: clamp(32px, 5vw, 56px); padding: 20px 26px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
  .fee-bar__icon { color: var(--coral-600); width: 26px; height: 26px; }
  .fee-bar .link-arrow { margin-left: auto; }
  .fee-note { font-weight: 500; }

  /* 対応地域 */
  .area { display: grid; gap: 40px; align-items: center; }
  @media (min-width: 960px) { .area { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 6vw, 88px); } }
  .area__text .h2 { margin-bottom: .8em; }
  .area__text > p + p { margin-top: 1em; }
  .area__methods { margin-top: clamp(40px, 5vw, 64px); }
  .area-map { width: 100%; max-width: 520px; margin-inline: auto; overflow: visible; }
  .am-outer { fill: none; stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 3 7; stroke-linecap: round; }
  .am-pref { fill: var(--surface); stroke: var(--line); stroke-width: 1; }
  .am-label { font-family: var(--font-body); font-weight: 700; font-size: 14px; letter-spacing: .14em; fill: var(--sea); }
  .am-label--outer { fill: var(--ink-3); font-size: 12px; font-weight: 500; }
  .am-tile rect { fill: var(--surface); stroke: var(--sea-300); stroke-width: 1; }
  .am-tile text { font-family: var(--font-body); font-weight: 700; font-size: 18px; letter-spacing: .06em; fill: var(--ink); }
  .am-tile--base rect { fill: var(--sea); stroke: var(--sea); }
  .am-tile--base text { fill: #fff; }
  .am-base rect { fill: var(--surface); stroke: var(--coral-600); stroke-width: 1; }
  .am-base circle { fill: var(--coral); }
  .am-base text { font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: .1em; fill: var(--coral-700); }
  .am-caption { font-size: 11px; fill: var(--ink-3); letter-spacing: .06em; }

  .methods { display: grid; gap: 12px; margin-top: 1.4em; }
  @media (min-width: 900px) { .methods { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
  .methods__item { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 14px; padding: 22px 22px; border-radius: var(--r); }
  .methods__icon { grid-row: span 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--sea-100); color: var(--sea); }
  .methods__title { font-weight: 700; font-size: 1.05rem; letter-spacing: .04em; }
  .methods__text { font-size: .92rem; line-height: 1.8; color: var(--ink-2); }
  .methods__item > .link-arrow { grid-column: 1 / -1; justify-self: start; margin-top: .6em; }
  .methods__note { margin-top: 1.2em; font-size: .94rem; color: var(--ink-2); }

  /* 手紙の理由（控えめな案内） */
  .notice { display: grid; gap: 18px; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-l); }
  @media (min-width: 900px) { .notice { grid-template-columns: 17em minmax(0, 1fr); gap: 48px; } }
  .notice__head { display: flex; align-items: center; gap: 14px; }
  .notice__icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--bg-2); color: var(--sea); }
  .notice__title { font-size: 1.15rem; }
  .notice__body { font-size: .96rem; color: var(--ink-2); }
  .notice__body p + p { margin-top: .8em; }
  .notice__links { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-top: 14px; }

  /* FAQ */
  .faq-layout { display: grid; gap: 32px; align-items: start; }
  @media (min-width: 960px) { .faq-layout { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 72px; } .faq-layout__head { position: sticky; top: calc(var(--header-h) + 32px); } }
  .faq-layout__head .h2 { margin-bottom: .8em; }
  .faq { display: grid; gap: 12px; }
  .faq__item { border-radius: var(--r); transition: border-color .25s, box-shadow .3s; }
  .faq__item[open] { border-color: var(--line-2); box-shadow: var(--shadow-1); }
  .faq__item summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font-weight: 700; line-height: 1.7; letter-spacing: .04em; }
  .faq__item summary::-webkit-details-marker { display: none; }
  .faq__q { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--coral-50); color: var(--coral-700); font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; }
  .faq__toggle { position: relative; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); transition: rotate .35s var(--ease), background-color .25s, border-color .25s; }
  .faq__toggle::before, .faq__toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; border-radius: 2px; background: var(--ink); translate: -50% -50%; }
  .faq__toggle::after { rotate: 90deg; transition: rotate .35s var(--ease); }
  .faq__item[open] .faq__toggle { background: var(--sea); border-color: var(--sea); }
  .faq__item[open] .faq__toggle::before, .faq__item[open] .faq__toggle::after { background: #fff; }
  .faq__item[open] .faq__toggle::after { rotate: 0deg; }
  .faq__answer { padding: 0 22px 24px 72px; color: var(--ink-2); }
  .faq__answer p + p { margin-top: .8em; }
  @media (max-width: 560px) { .faq__answer { padding-left: 22px; } }
  .faq__item::details-content { block-size: 0; overflow: clip; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
  .faq__item[open]::details-content { block-size: auto; }

  /* 問い合わせ：淡い空色から青白い地へ。面を明るくし、相談の入口を日常の延長に。 */
  .cta { position: relative; padding-block: clamp(80px, 9vw, 136px); background: linear-gradient(180deg, var(--contact-surface) 0%, var(--bg) 100%); color: var(--ink); border-top: 1px solid var(--contact-line); overflow: hidden; isolation: isolate; }
  .cta::before { content: ""; position: absolute; z-index: -1; right: -8%; bottom: -46%; width: clamp(420px, 52vw, 780px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgb(240 148 106 / .08), transparent 70%); }
  .cta::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 22%; height: 1px; background: linear-gradient(90deg, transparent, var(--contact-line), transparent); }
  .cta__inner { display: grid; gap: 40px; align-items: center; }
  @media (min-width: 960px) { .cta__inner { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(48px, 7vw, 96px); } }
  .cta__title { margin: .5em 0 .7em; font-size: var(--fs-h2); color: var(--brand); }
  .cta__main > p + p, .cta__main > p + .fee-note { margin-top: .8em; }
  .cta__main .fee-note { color: var(--ink-2); }
  .cta__info { padding: clamp(22px, 3vw, 34px); border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--contact-line); }
  .cta__note { margin-top: 16px; font-size: .9rem; color: var(--ink-2); }
  .cta .eyebrow--light .eyebrow__en { color: var(--coral-700); }
  .cta .eyebrow--light .eyebrow__en::after { background: var(--coral-700); }
  .cta .eyebrow--light .eyebrow__ja { color: var(--brand); }
  .cta--simple .cta__inner { grid-template-columns: 1fr; }
  @media (min-width: 960px) { .cta--simple .cta__inner { grid-template-columns: minmax(0, 1fr) auto; } }
  .cta__action { justify-self: start; }
  .cta a:not(.btn) { color: var(--brand); }
  .cta a:not(.btn):hover { color: var(--coral-700); }
  .sublinks { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 20px; font-size: .9rem; }
  .sublinks a { text-underline-offset: .35em; }
  .contact-info > div { display: grid; gap: .15em; padding: .9em 0; border-bottom: 1px solid var(--contact-line); }
  .contact-info > div:first-child { padding-top: 0; }
  .contact-info dt { display: flex; align-items: center; gap: .5em; font-size: .8rem; font-weight: 700; letter-spacing: .14em; color: var(--ink-2); }
  .contact-info dt .i { color: var(--coral-700); width: 17px; height: 17px; }
  .contact-info dd { font-size: .98rem; line-height: 1.7; }
  .contact-info__tel { font-size: 1.5rem; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }

  /* フッター */
  .ftr { position: relative; padding-top: clamp(64px, 8vw, 96px); background: var(--footer-surface); color: var(--ink-2); border-top: 1px solid var(--line-2); }
  .ftr a { color: var(--brand); text-decoration: none; }
  .ftr a:hover { color: var(--coral-700); text-decoration: underline; }
  .ftr__top { display: grid; gap: 44px; }
  @media (min-width: 900px) { .ftr__top { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; } }
  .ftr__address { margin-top: 22px; font-size: .94rem; line-height: 1.9; }
  .ftr__meta { display: grid; gap: 6px; margin-top: 16px; font-size: .88rem; }
  .ftr__meta > div { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 1em; }
  .ftr__meta dt { color: var(--ink-2); letter-spacing: .1em; }
  .ftr__note { margin-top: 14px; font-size: .84rem; color: var(--ink-2); }
  .ftr__nav { display: grid; gap: 32px; }
  @media (min-width: 600px) { .ftr__nav { grid-template-columns: 1fr 1fr; } }
  .ftr__h { margin-bottom: .6em; font-family: var(--font-latin); font-size: .72rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--brand); }
  .ftr__h:not(:first-child) { margin-top: 1.8em; }
  .ftr__nav li a { display: inline-flex; align-items: center; padding-block: .32em; font-size: .92rem; }
  .ftr__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: clamp(44px, 6vw, 72px); padding-block: 22px; border-top: 1px solid var(--line-2); font-size: .82rem; color: var(--ink-2); }
  .ftr__totop { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; letter-spacing: .08em; }

  /* 下層ページの冒頭 */
  .page-head { position: relative; padding-top: clamp(16px, 3vw, 28px); padding-bottom: clamp(56px, 8vw, 104px); overflow: clip; }
  .page-head::before { content: ""; position: absolute; z-index: -1; right: -10%; top: -30%; width: min(60vw, 720px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgb(251 230 218 / .9), rgb(251 230 218 / 0) 68%); }
  .page-head--plain::before { opacity: .6; }
  .page-head__grid { display: grid; gap: 40px; align-items: center; margin-top: clamp(32px, 6vw, 72px); }
  @media (min-width: 960px) { .page-head__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 72px; } .page-head__grid--toc { align-items: start; } }
  .page-head__label { display: flex; flex-direction: column; gap: .4em; font-family: var(--font-body); font-size: .9rem; font-weight: 700; letter-spacing: .14em; color: var(--sea); }
  .page-head__label .eyebrow__en { font-size: .72rem; }
  .page-head__label .eyebrow__en::after { content: none; }
  .page-head__catch { margin-top: .5em; font-family: var(--font-head); font-weight: 700; font-size: var(--fs-h1); line-height: 1.45; letter-spacing: .05em; font-feature-settings: "palt"; text-wrap: balance; }
  .page-head__catch--xl { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.8rem); }
  .page-head__lead { margin-top: 1.5em; max-width: 38em; }
  .page-head__lead > * + * { margin-top: .9em; }
  .page-head__emph { padding: 1em 1.2em; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); font-weight: 500; }
  .page-head__visual { width: min(100%, 420px); justify-self: center; }
  .page-head__visual .house-window { filter: drop-shadow(0 26px 34px rgb(30 42 46 / .18)); }
  .page-head__visual--illust { --il-bg: var(--bg-2); width: min(100%, 460px); padding: 22px 24px 0; border-radius: var(--r-l); background: var(--il-bg); border: 1px solid var(--line); overflow: hidden; }
  .page-head__visual--warm { --il-bg: var(--coral-50); }
  .page-head__visual--sea { --il-bg: var(--sea-100); }
  .page-head--compact { padding-bottom: clamp(44px, 6vw, 64px); }
  .page-head--compact .page-head__copy { margin-top: clamp(28px, 5vw, 52px); max-width: 48em; }

  .toc-card { padding: 22px 24px; border-radius: var(--r-l); }
  .toc-card__title { font-family: var(--font-latin); font-size: .7rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .4em; }
  .toc-card ol { counter-reset: toc; }
  .toc-card li { counter-increment: toc; }
  .toc-card li a { display: flex; align-items: center; gap: .8em; padding: .6em 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem; letter-spacing: .04em; }
  .toc-card li:first-child a { border-top: 0; }
  .toc-card li a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-latin); font-size: .74rem; letter-spacing: .12em; color: var(--coral-700); }
  .toc-card li a::after { content: ""; margin-left: auto; width: 1.2em; height: 1.2em; background: var(--icon-down) center / contain no-repeat; opacity: .45; }
  .toc-card li a:hover { color: var(--sea); }
  .toc-card__stop a { color: var(--coral-700); }

  .voices { display: grid; gap: 8px; }
  .voices li { position: relative; padding: .55em 1.1em .55em 2.3em; border-radius: var(--r-s); background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: 1rem; letter-spacing: .04em; }
  .voices li::before { content: ""; position: absolute; left: 1em; top: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); translate: 0 -50%; }
  .reason .voices { margin-block: 1.2em; }

  /* 空き家・相続 */
  .worries { display: grid; gap: 18px; }
  @media (min-width: 800px) { .worries { grid-template-columns: 1fr 1fr; gap: 22px; } }
  .worry { padding: clamp(24px, 3.4vw, 36px); border-radius: var(--r-l); }
  .worry__voice { position: relative; padding-left: 1.2em; font-size: clamp(1.08rem, 1.02rem + .3vw, 1.22rem); line-height: 1.7; }
  .worry__voice::before { content: ""; position: absolute; left: 0; top: .35em; bottom: .35em; width: 3px; border-radius: 3px; background: var(--coral); }
  .worry p { margin-top: .9em; color: var(--ink-2); }
  .scope { display: grid; gap: 20px; }
  @media (min-width: 900px) { .scope { grid-template-columns: 1fr 1fr; gap: 24px; } }
  .scope__card { padding: clamp(26px, 4vw, 44px); border-radius: var(--r-l); }
  .scope__card--us { background: var(--contact-surface); border: 1px solid var(--contact-line); color: var(--ink); }
  .scope__label { display: flex; align-items: center; gap: .6em; margin-bottom: 1em; font-size: 1.14rem; font-weight: 700; letter-spacing: .04em; }
  .scope__card--us .scope__label { color: var(--brand); }
  .scope__card--us .scope__label .i { color: var(--brand); }
  .scope__card--expert .scope__label .i { color: var(--coral-600); }
  .options { display: grid; gap: 14px; }
  @media (min-width: 640px) { .options { grid-template-columns: 1fr 1fr; } }
  @media (min-width: 1040px) { .options { grid-template-columns: repeat(4, 1fr); } }
  .option { display: flex; flex-direction: column; padding: 26px 24px; border-radius: var(--r); }
  .option dt { font-weight: 700; font-size: 1.12rem; letter-spacing: .04em; line-height: 1.5; }
  .option__no { display: block; margin-bottom: .4em; font-family: var(--font-latin); font-size: .74rem; letter-spacing: .3em; color: var(--coral-700); }
  .option dd { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .95rem; }
  .option__k { display: block; margin-bottom: .2em; font-size: .72rem; font-weight: 700; letter-spacing: .16em; color: var(--sea); }
  .options__note { margin-top: 28px; max-width: 52em; }

  /* 会社紹介 */
  .profile { display: grid; gap: 28px; }
  @media (min-width: 960px) { .profile { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 72px; align-items: start; } }
  .profile__note { margin-top: 1.4em; font-size: .94rem; color: var(--ink-2); }
  .history { display: grid; gap: 48px; }
  @media (min-width: 960px) { .history { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 80px; align-items: end; } }
  .timeline { position: relative; display: grid; gap: 30px; padding-left: 36px; }
  .timeline::before { content: ""; position: absolute; left: 7px; top: 12px; bottom: 12px; border-left: 1px solid var(--line-2); }
  .timeline__item { position: relative; }
  .timeline__item::before { content: ""; position: absolute; left: -36px; top: .5em; width: 15px; height: 15px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px var(--bg); }
  .timeline__date { font-weight: 700; font-size: 1.2rem; letter-spacing: .04em; color: var(--sea); }
  .timeline__text { margin-top: .3em; }
  .history__side > p { margin-bottom: 18px; }
  .service-link { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: var(--r); color: var(--ink); text-decoration: none; transition: translate .35s var(--ease), box-shadow .35s, border-color .3s; }
  .service-link:hover { color: var(--ink); translate: 0 -2px; box-shadow: var(--shadow-1); border-color: var(--line-2); }
  .service-link__icon { display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: 50%; background: var(--sea-100); color: var(--sea); }
  .service-link__body { display: grid; }
  .service-link__name { font-weight: 700; font-size: 1.1rem; letter-spacing: .04em; }
  .service-link__sub { font-size: .84rem; color: var(--ink-3); }
  .service-link__ext { margin-left: auto; color: var(--sea); }

  /* 手紙ページ */
  .sender { display: grid; gap: 40px; align-items: start; }
  @media (min-width: 960px) { .sender { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(48px, 6vw, 88px); } }
  .sender-card { padding: clamp(24px, 3vw, 36px); border-radius: var(--r-l); box-shadow: var(--shadow-1); }
  .sender-card__head { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: center; }
  @media (min-width: 900px) { .sender-card__head { grid-template-columns: 72px minmax(0, 1fr); gap: 18px; } }
  .sender-card__head .portrait__img { border-radius: var(--r); font-size: .64rem; letter-spacing: .12em; gap: 4px; }
  .sender-card__company { font-weight: 700; font-size: clamp(1.05rem, .95rem + .5vw, 1.25rem); letter-spacing: .06em; line-height: 1.5; word-break: keep-all; overflow-wrap: anywhere; }
  .sender-card__rep { margin-top: .3em; font-weight: 700; font-size: 1.02rem; letter-spacing: .08em; }
  .sender-card__rep span { margin-right: .8em; font-size: .78em; color: var(--ink-3); }
  .sender-card__quals { display: grid; gap: 4px; margin-top: 20px; padding: 14px 0; border-block: 1px solid var(--line); font-weight: 700; font-size: .94rem; }
  .sender-card__quals span { font-weight: 400; font-size: .82rem; color: var(--ink-3); }
  .sample-grid { display: grid; gap: 20px; margin-top: 24px; }
  @media (min-width: 760px) { .sample-grid { grid-template-columns: 1fr 1fr; } }
  .sample-frame { margin: 0; }
  .sample-frame__ph { display: grid; place-items: center; aspect-ratio: 3 / 2; border: 1px dashed var(--line-2); border-radius: var(--r); color: var(--ink-3); font-weight: 700; letter-spacing: .12em; background: var(--surface); }
  .sample-note { margin-top: 20px; color: var(--ink-2); }
  .reason { display: grid; gap: 28px; }
  @media (min-width: 960px) { .reason { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: start; } }
  .apology { padding: clamp(22px, 3vw, 32px); border-radius: var(--r-l); }
  .apology p + p { margin-top: 1em; }
  .apology__strong { font-weight: 700; font-size: 1.08rem; color: var(--sea); letter-spacing: .04em; }
  .how-flow { display: grid; gap: 12px; margin-bottom: clamp(36px, 5vw, 56px); }
  @media (min-width: 860px) { .how-flow { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
  .how-flow li { position: relative; display: flex; align-items: center; gap: 14px; padding: 20px 20px 20px 18px; border-radius: var(--r); font-weight: 700; font-size: .95rem; line-height: 1.6; }
  .how-flow__no { position: absolute; left: 14px; top: -11px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--coral); color: #fff; font-family: var(--font-latin); font-size: .72rem; font-weight: 600; }
  .how-flow__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--sea-100); color: var(--sea); }
  .how-flow__icon .i { width: 23px; height: 23px; }
  .how-flow li:not(:last-child)::after { content: ""; position: absolute; left: 50%; bottom: -14px; width: 14px; height: 14px; z-index: 1; background: var(--icon-down) center / contain no-repeat; translate: -50% 0; opacity: .5; }
  @media (min-width: 860px) { .how-flow li:not(:last-child)::after { left: auto; right: -30px; bottom: auto; top: 50%; translate: 0 -50%; width: 20px; height: 20px; background-image: var(--icon-arrow); } }
  .stop-intro { max-width: 52em; }
  .stop-intro__lead { font-weight: 700; font-size: clamp(1.1rem, 1.02rem + .4vw, 1.3rem); letter-spacing: .04em; line-height: 1.75; }
  .stop-methods { display: grid; gap: 24px; margin-top: clamp(36px, 5vw, 56px); align-items: start; }
  @media (min-width: 1040px) { .stop-methods { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px; } }
  .stop-alt { display: grid; gap: 18px; }
  .alt-card { padding: 26px 24px; border-radius: var(--r-l); }
  .alt-card__label { display: flex; align-items: center; gap: .6em; margin-bottom: .8em; font-weight: 700; font-size: 1.08rem; letter-spacing: .04em; }
  .alt-card__label .i { color: var(--coral-600); width: 1.4em; height: 1.4em; }
  .alt-card > p + p { margin-top: .8em; }
  .alt-card__note { font-size: .9rem; color: var(--ink-2); }
  .alt-card__mail { font-weight: 700; }
  .postal { display: grid; gap: .1em; margin-top: 1em; padding: 16px 18px; border-radius: var(--r-s); background: var(--bg-2); font-size: .98rem; line-height: 1.8; }
  .postal strong { letter-spacing: .04em; }

  /* フォーム */
  .form-card { padding: clamp(24px, 5vw, 56px); border-radius: var(--r-l); box-shadow: var(--shadow-1); }
  .form-card__head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
  .form-card__icon { display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: 50%; background: var(--coral-100); color: var(--coral-700); }
  .form-card__icon .i { width: 25px; height: 25px; }
  .form-card__title { font-size: var(--fs-h3); }
  .form-card__sub { margin-top: .2em; font-size: .92rem; color: var(--ink-2); }
  .form { display: grid; gap: 30px; }
  .field { display: grid; gap: 8px; }
  .field-row { display: grid; gap: 20px; }
  @media (min-width: 720px) { .field-row { grid-template-columns: 1fr 1fr; } }
  .field > label:not(.check), .field-group > legend { display: flex; flex-wrap: wrap; align-items: center; gap: .3em .7em; font-weight: 700; letter-spacing: .06em; line-height: 1.6; }
  .field-group { display: grid; gap: 14px; }
  .field-group > legend { margin-bottom: 2px; float: left; width: 100%; }
  .field-group > legend + * { clear: both; }
  .field-group--box { padding: clamp(18px, 3vw, 26px); border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); }
  .badge { display: inline-flex; align-items: center; padding: .08em .65em; border-radius: 6px; background: var(--bg-2); color: var(--ink-2); font-size: .72rem; font-weight: 700; letter-spacing: .1em; line-height: 1.7; }
  .badge--req { background: var(--coral-600); color: #fff; }
  .field .when-on { display: none; }
  .form:has(input[name="contact_method"][value="email"]:checked) [data-field="email"] .when-on,
  .form:has(input[name="contact_method"][value="phone"]:checked) [data-field="phone"] .when-on { display: inline-flex; }
  .form:has(input[name="contact_method"][value="email"]:checked) [data-field="email"] .when-off,
  .form:has(input[name="contact_method"][value="phone"]:checked) [data-field="phone"] .when-off { display: none; }
  .input { width: 100%; min-height: 58px; padding: .8em 1em; border: 1px solid var(--line-2); border-radius: 14px; background: #fff; font-size: 1.06rem; line-height: 1.6; letter-spacing: .04em; transition: border-color .2s, box-shadow .2s, background-color .2s; }
  .input::placeholder { color: #9AA0A0; }
  .input:hover { border-color: var(--ink-3); }
  .input:focus-visible { outline: none; border-color: var(--sea); box-shadow: 0 0 0 4px rgb(31 75 87 / .14); }
  textarea.input { min-height: 8.5em; resize: vertical; field-sizing: content; }
  textarea.input[rows="2"] { min-height: 4.2em; }
  .input--code { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: .18em; text-transform: uppercase; max-width: 16em; }
  .input[aria-invalid="true"] { border-color: var(--coral-600); background: #FFF6F0; }
  .field-hint { font-size: .88rem; line-height: 1.75; color: var(--ink-3); }
  .field-note { display: flex; gap: .5em; align-items: flex-start; font-size: .9rem; color: var(--ink-2); }
  .field-note .i { color: var(--coral-600); margin-top: .25em; }
  .field-error { display: flex; align-items: flex-start; gap: .4em; color: var(--coral-700); font-size: .9rem; font-weight: 700; line-height: 1.7; }
  .field-error::before { content: "!"; display: grid; place-items: center; flex: none; width: 1.3em; height: 1.3em; margin-top: .2em; border-radius: 50%; background: var(--coral-600); color: #fff; font-size: .8em; }
  .chips { display: flex; flex-wrap: wrap; gap: 10px; }
  .chips .chip { position: relative; display: inline-flex; padding: 0; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .chips .chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
  .chips .chip span { display: inline-flex; align-items: center; gap: .45em; min-height: 50px; padding: .5em 1.15em; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; font-weight: 500; line-height: 1.5; transition: background-color .2s, border-color .2s, color .2s; }
  .chips .chip:hover span { border-color: var(--sea); }
  .chips .chip input:checked + span { background: var(--sea); border-color: var(--sea); color: #fff; }
  .chips .chip input:checked + span::before { content: ""; width: 1em; height: 1em; background: var(--icon-check) center / contain no-repeat; }
  .chips .chip input:focus-visible + span { outline: 3px solid var(--coral-600); outline-offset: 2px; }
  .chips--method .chip span { min-width: 8.5em; justify-content: center; font-weight: 700; }
  [data-group][data-invalid] .chip span { border-color: var(--coral-600); }
  .checks { display: grid; gap: 4px; }
  .check { display: flex; align-items: flex-start; gap: .8em; padding: .5em 0; cursor: pointer; font-weight: 500; line-height: 1.7; }
  .check input { appearance: none; -webkit-appearance: none; flex: none; width: 26px; height: 26px; margin: .12em 0 0; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; transition: background-color .2s, border-color .2s; cursor: pointer; }
  .check input:checked { background: var(--sea) var(--icon-check) center / 18px no-repeat; border-color: var(--sea); }
  .check input:focus-visible { outline: 3px solid var(--coral-600); outline-offset: 2px; }
  .check .badge { margin-left: .6em; vertical-align: .1em; }
  .or-divider { display: flex; align-items: center; gap: 1em; color: var(--ink-3); font-size: .86rem; font-weight: 700; letter-spacing: .14em; }
  .or-divider::before, .or-divider::after { content: ""; flex: 1; border-top: 1px dashed var(--line-2); }
  .form__purpose { display: flex; gap: .7em; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-s); background: var(--bg); font-size: .9rem; line-height: 1.8; color: var(--ink-2); }
  .form__purpose .i { color: var(--sea); margin-top: .2em; }
  .form__scope { font-size: .92rem; }
  .form__submit { display: grid; gap: 12px; justify-items: start; }
  .form__after { font-size: .88rem; color: var(--ink-3); }
  .hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
  .form__alert, .form-errors, .form-preview { padding: 18px 20px; border-radius: var(--r-s); font-size: .95rem; line-height: 1.8; }
  .form__alert { border: 1px solid var(--coral-600); background: #FFF6F0; color: var(--coral-700); font-weight: 500; }
  .form__alert strong { display: block; margin-bottom: .2em; font-size: 1.02rem; }
  .form-errors { border: 1px solid var(--coral-600); background: #FFF6F0; }
  .form-errors:focus { outline: 3px solid var(--coral-600); outline-offset: 3px; }
  .form-errors__title { font-weight: 700; color: var(--coral-700); }
  .form-errors ul { margin-top: .4em; display: grid; gap: .2em; }
  .form-errors a { color: var(--coral-700); font-weight: 500; }
  .form-preview { border: 2px dashed var(--draft); background: #FFF8E8; color: #5B4210; }
  .form-preview strong { display: block; }
  .form-preview__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
  .form-preview button { padding: .5em 1em; border: 1px solid var(--draft); border-radius: 999px; background: #fff; color: #5B4210; font-size: .88rem; font-weight: 700; }
  .form-result { display: grid; justify-items: center; gap: 12px; padding: clamp(28px, 6vw, 56px) 12px; text-align: center; }
  .form-result:focus { outline: none; }
  .form-result__icon { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--sea); color: #fff; box-shadow: 0 0 0 10px var(--sea-100); }
  .form-result__icon .i { width: 38px; height: 38px; stroke-width: 2.2; }
  .form-result__title { margin-top: 12px; font-size: var(--fs-h3); }
  .form-result p { color: var(--ink-2); }

  /* 表：仲介と直接買取 */
  .compare { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: var(--r-l); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
  .compare th, .compare td { padding: 20px 22px; text-align: left; vertical-align: top; line-height: 1.8; border-bottom: 1px solid var(--line); }
  .compare tbody tr:last-child > * { border-bottom: 0; }
  .compare thead th { font-weight: 700; font-size: 1.06rem; letter-spacing: .04em; background: var(--bg); }
  .compare thead th:first-child { font-family: var(--font-body); font-size: .82rem; font-weight: 700; letter-spacing: .12em; color: var(--ink-3); }
  .compare thead .compare__col--buy { background: var(--sea); color: #fff; }
  .compare tbody th { width: 22%; font-size: .93rem; font-weight: 700; letter-spacing: .04em; color: var(--sea); background: rgb(244 247 250 / .7); }
  .compare td { width: 39%; font-size: .97rem; }
  .compare td.is-buy { background: var(--sea-100); }
  .compare td + td { border-left: 1px solid var(--line); }
  @media (max-width: 767px) {
    .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
    .compare { background: none; border: 0; border-radius: 0; overflow: visible; }
    .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .compare tbody { display: grid; gap: 14px; }
    .compare tbody tr { padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
    .compare tbody th { width: auto; padding: 0 0 10px; background: none; border: 0; font-size: 1.06rem; color: var(--ink); }
    .compare td { margin-top: 8px; padding: 12px 14px; border: 0; border-radius: 12px; background: var(--bg); }
    .compare td + td { border-left: 0; }
    .compare td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: .74rem; font-weight: 700; letter-spacing: .14em; color: var(--sea); }
    .compare td.is-buy { background: var(--sea-100); }
    .compare tbody tr:last-child > * { border-bottom: 0; }
  }
  .compare-notes { display: grid; gap: .8em; margin-top: 28px; max-width: 56em; color: var(--ink-2); font-size: .96rem; }
  .compare-notes p { position: relative; padding-left: 1.2em; }
  .compare-notes p::before { content: "※"; position: absolute; left: 0; color: var(--coral-700); }
  .price-note { display: grid; gap: 16px; margin-top: clamp(40px, 6vw, 64px); padding: clamp(24px, 4vw, 44px); border-radius: var(--r-l); border-left: 5px solid var(--coral); }
  @media (min-width: 900px) { .price-note { grid-template-columns: 14em minmax(0, 1fr); gap: 40px; } }
  .price-note__title { font-size: 1.3rem; }
  .price-note__body p + p { margin-top: .8em; }
  .process-hold { margin-top: 36px; }
  .feature { display: grid; gap: 40px; align-items: center; }
  @media (min-width: 900px) { .feature { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 104px); } }
  .feature__visual { padding: 28px 28px 0; border-radius: var(--r-l); overflow: hidden; }
  .feature__visual--warm { background: var(--coral-100); border-color: var(--coral-100); }
  .feature__body > p:not(.eyebrow) { margin-top: 1em; }
  .feature__body .h2 { margin-bottom: .3em; }

  /* 問い合わせページ */
  .hours > p { margin-block: 1.2em; }
  .hours > p:first-child { margin-top: 0; }
  .fees { display: grid; gap: 18px; }
  @media (min-width: 800px) { .fees { grid-template-columns: 1fr 1fr; } }
  .fees__block { padding: clamp(22px, 3.5vw, 36px); border-radius: var(--r-l); }
  .fees__block--free { border-top: 4px solid var(--sea); }
  .fees__label { margin-bottom: .6em; font-weight: 700; font-size: 1.1rem; letter-spacing: .04em; color: var(--sea); }
  .desk-links { display: grid; gap: 12px; }
  @media (min-width: 760px) { .desk-links { grid-template-columns: repeat(3, 1fr); } }
  .desk-link { display: flex; align-items: center; gap: .8em; height: 100%; padding: 22px; border-radius: var(--r); color: var(--ink); text-decoration: none; font-weight: 700; transition: translate .35s var(--ease), box-shadow .35s, border-color .3s; }
  .desk-link .i { width: 1.5em; height: 1.5em; color: var(--coral-600); }
  .desk-link::after { content: ""; margin-left: auto; width: 1.5em; height: 1.5em; flex: none; border-radius: 50%; border: 1px solid var(--line-2); background: var(--icon-arrow) center / 55% no-repeat; }
  .desk-link:hover { color: var(--ink); translate: 0 -2px; box-shadow: var(--shadow-1); border-color: var(--line-2); }

  /* プライバシーポリシー */
  .pp { display: grid; gap: 40px; }
  @media (min-width: 1024px) { .pp { grid-template-columns: 260px minmax(0, 1fr); gap: 64px; align-items: start; } }
  .pp-toc { padding: 22px 22px 18px; border-radius: var(--r); font-size: .92rem; }
  @media (min-width: 1024px) { .pp-toc { position: sticky; top: calc(var(--header-h) + 24px); } }
  .pp-toc__title { margin-bottom: .5em; font-family: var(--font-latin); font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-3); font-size: .7rem; }
  .pp-toc ol { counter-reset: toc; display: grid; }
  .pp-toc li { counter-increment: toc; }
  .pp-toc li a { display: flex; gap: .7em; padding: .45em 0; color: var(--ink); text-decoration: none; line-height: 1.6; }
  .pp-toc li a::before { content: counter(toc); font-family: var(--font-head); color: var(--coral-700); font-weight: 700; min-width: 1em; }
  .pp-toc li a:hover { color: var(--sea); text-decoration: underline; }
  .pp-toc__stop { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line-2); }
  .pp-toc__stop a { display: flex; align-items: center; gap: .5em; font-weight: 700; text-decoration: none; color: var(--coral-700); }
  .pp-body { max-width: 52em; padding: clamp(24px, 5vw, 60px); border-radius: var(--r-l); }
  .pp-body > section + section { margin-top: 3em; padding-top: 2.4em; border-top: 1px solid var(--line); }
  .pp-body h2 { display: flex; align-items: baseline; gap: .7em; font-size: clamp(1.3rem, 1.2rem + .5vw, 1.6rem); }
  .pp-body section > * + *, .pp-body section > div > * + * { margin-top: 1em; }
  .pp-body section > h2 + * { margin-top: 1.2em; }
  .pp-no { display: inline-grid; place-items: center; flex: none; width: 1.8em; height: 1.8em; border-radius: 50%; border: 1px solid var(--coral-600); color: var(--coral-700); font-size: .78em; font-family: var(--font-latin); font-weight: 600; }
  .pp-body h3 { margin-top: 1.8em; font-family: var(--font-body); font-size: 1.06rem; font-weight: 700; letter-spacing: .04em; }
  .pp-body ul > li { position: relative; padding-left: 1.3em; }
  .pp-body ul > li + li { margin-top: .6em; }
  .pp-body ul > li::before { content: ""; position: absolute; left: .2em; top: .85em; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
  .num-list { counter-reset: num; display: grid; gap: .6em; }
  .num-list > li { counter-increment: num; position: relative; padding-left: 2em; }
  .num-list > li::before { content: counter(num) "."; position: absolute; left: 0; font-family: var(--font-head); font-weight: 700; color: var(--sea); }
  .pp-box { margin-top: 2em; padding: clamp(20px, 3vw, 30px); border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); }
  .pp-box h3 { margin-top: 0; }
  .pp-box > * + * { margin-top: .9em; }
  .pp-desk { padding: clamp(20px, 3vw, 28px); border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); }
  .pp-desk__name { font-weight: 700; }
  .pp-desk .dl { margin-block: .8em; }
  .pp-owner { line-height: 2; }
  .pp-date { margin-top: 3em; text-align: right; font-size: .92rem; color: var(--ink-2); }
  .read-progress { position: fixed; inset: 0 0 auto; z-index: 70; height: 3px; background: var(--coral); transform-origin: 0 50%; scale: 0 1; pointer-events: none; }
  @supports (animation-timeline: scroll()) { .read-progress { animation: progress linear both; animation-timeline: scroll(root); } }
  @keyframes progress { to { scale: 1 1; } }
}

/* ---------- 5. ページ別 ---------- */
@layer pages {
  .hero { position: relative; padding-block: clamp(24px, 4vw, 56px) clamp(40px, 5vw, 64px); overflow: clip; }
  .hero::before { content: ""; position: absolute; z-index: -1; right: -12%; top: -20%; width: min(70vw, 900px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgb(251 230 218 / .85), rgb(251 230 218 / 0) 66%); }
  .hero__grid { display: grid; gap: 28px; align-items: center; }
  @media (min-width: 960px) { .hero__grid { grid-template-columns: minmax(0, 8fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); } }
  /* 社名の行（2026-10-28）：短い線＋社名の右下に、読み「やもりふどうさん」を小さく二段で添える。線は社名の行の中央に揃え、読みは社名の左端に揃う */
  .hero__company { display: inline-grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1em; align-items: center; font-size: .84rem; font-weight: 700; letter-spacing: .22em; line-height: 1.5; color: var(--sea); }
  .hero__company::before { content: ""; grid-row: 1; width: 24px; height: 1px; background: var(--coral-600); }
  .hero__company-name { grid-column: 2; }
  .hero__company-kana { grid-column: 2; margin-top: .3em; font-size: .92em; font-weight: 500; letter-spacing: .2em; line-height: 1.4; color: var(--sea-600); }
  .hero__title { margin-top: .55em; font-size: var(--fs-display); font-weight: 700; line-height: 1.4; letter-spacing: .04em; }
  @media (max-width: 599px) { .hero__title { line-height: 1.35; } }
  .facts { display: grid; gap: 6px; margin-top: 1.2em; max-width: 34em; }
  .facts__item { display: flex; align-items: center; gap: .6em; font-size: .95rem; font-weight: 500; line-height: 1.7; }
  .facts__item .i { width: 1.35em; height: 1.35em; color: var(--coral-600); }
  .facts__item strong { color: var(--sea); }
  .hero__actions { margin-top: 1.5em; gap: 14px 26px; }
  .hero__note { margin-top: 1.1em; font-size: .86rem; line-height: 1.7; color: var(--ink-3); }
  .hero__visual { width: min(100%, 520px); margin-inline: auto; padding: 22px 24px 0; border-radius: var(--r-l); background: linear-gradient(180deg, #FFFFFF 0%, #EDF2F6 100%); border: 1px solid var(--line); overflow: hidden; }
  @media (max-width: 959px) { .hero__visual { max-width: 440px; margin-top: 6px; } }

  /* ファーストビュー下部の街並み（海辺の坂のまち） */
  .hero__town { position: relative; height: clamp(180px, 17.5vw, 290px); margin-top: clamp(8px, 2vw, 28px); }
  .hero__town--sub { margin-top: clamp(24px, 4vw, 56px); }
  .page-head:has(.hero__town) { padding-bottom: 0; }
  .hero:has(.hero__town) { padding-bottom: 0; }
  .townscape { width: 100%; height: 100%; }
  .townscape * { fill: none; stroke: var(--sea-600); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
  .townscape .ts-fill, .townscape .ts-ground { fill: var(--bg); }
  .townscape .ts-ground { stroke: none; }
  .townscape .ts-mid { stroke: #5F8F99; stroke-width: 1; }
  .townscape .ts-far { stroke: var(--sea-200); stroke-width: 1; }
  .townscape .ts-sea { stroke: var(--sea-300); stroke-width: 1; }
  .townscape .ts-thin { stroke-width: .8; }
  .townscape .ts-accent { fill: var(--coral); stroke: var(--coral); }
}

/* ---------- 6. 動き ---------- */
@layer motion {
  @media (prefers-reduced-motion: no-preference) {
    .hw-sun { animation: sunrise 2.2s var(--ease) .2s both; transform-box: fill-box; transform-origin: center; }
    .hw-far { animation: hills 1.6s var(--ease) .4s both; }
    .hw-near { animation: hills 1.6s var(--ease) .6s both; }
    .hw-shimmer path { animation: shimmer 4s ease-in-out infinite alternate; }
    .hw-shimmer path:nth-child(2n) { animation-delay: -1.3s; }
    .hw-shimmer path:nth-child(3n) { animation-delay: -2.6s; }
    .hw-sail { animation: sail 9s ease-in-out infinite alternate; }
    .hero__copy > * { animation: rise .9s var(--ease) both; }
    .hero__copy > :nth-child(2) { animation-delay: .08s; }
    .hero__copy > :nth-child(3) { animation-delay: .16s; }
    .hero__copy > :nth-child(4) { animation-delay: .24s; }
    .hero__copy > :nth-child(5) { animation-delay: .32s; }
    .hero__visual .chip { animation: pop .8s cubic-bezier(.3, 1.4, .5, 1) both; }
    .chip--area { animation-delay: 1.2s; }
    .chip--base { animation-delay: 1.45s; }
    .ticker__track { animation: ticker 52s linear infinite; }
    /* 線画は表示に入ったときに1回だけ描く（head の小さなスクリプトが html.ts-js と svg.ts-draw を付ける）。
       JS無効・IntersectionObserver非対応・動きの軽減では最初から完成状態。--ts-step は要素ごとの遅延（要素数が少ない線画は長め）。
       対象要素は属性セレクタ [pathLength] ではなくタグで選ぶ（Chrome は祖先の ts-draw 付与時に [pathLength] 子孫のスタイルを再計算しないため）。 */
    html.ts-js .townscape:not(.ts-draw) :is(path, rect, circle, ellipse) { stroke-dasharray: 1; stroke-dashoffset: 1; }
    html.ts-js .townscape:not(.ts-draw) .ts-accent { fill-opacity: 0; }
    .townscape.ts-draw :is(path, rect, circle, ellipse) { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.4s var(--ease) forwards; animation-delay: calc(var(--i) * var(--ts-step, 6ms) + .2s); }
    .townscape.ts-draw .ts-accent { fill-opacity: 0; animation: draw 1.4s var(--ease) forwards, light .9s ease-out forwards; animation-delay: calc(var(--i) * var(--ts-step, 6ms) + .2s), calc(var(--i) * var(--ts-step, 6ms) + 1.1s); }
    .townscape.ts-draw .ts-lamp, .hero__town .townscape.ts-draw .ts-accent { animation: draw 1.4s var(--ease) forwards, light .9s ease-out forwards, lamp 3.4s ease-in-out infinite alternate; animation-delay: calc(var(--i) * var(--ts-step, 6ms) + .2s), calc(var(--i) * var(--ts-step, 6ms) + 1.1s), calc(var(--i) * var(--ts-step, 6ms) + 2.6s); }
    @supports (animation-timeline: view()) {
      .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 5% entry 50%; }
    }
  }
  @keyframes sunrise { from { translate: 0 70px; opacity: 0; } }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes lamp { from { opacity: 1; } to { opacity: .5; } }
  @keyframes light { to { fill-opacity: 1; } }
  @keyframes hills { from { translate: 0 30px; opacity: 0; } }
  @keyframes shimmer { from { opacity: .25; } to { opacity: .6; } }
  @keyframes sail { from { translate: -14px 0; } to { translate: 14px 0; } }
  @keyframes rise { from { opacity: 0; translate: 0 16px; } }
  @keyframes pop { from { opacity: 0; scale: .8; } }
  @keyframes ticker { to { translate: -50% 0; } }
  @keyframes reveal { from { opacity: 0; translate: 0 28px; } }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  }
}

/* ---------- 7. 制作プレビュー ---------- */
@layer preview {
  html[data-env="preview"] [data-draft] { position: relative; outline: 2px dashed var(--draft); outline-offset: 5px; border-radius: 6px; }
  html[data-env="preview"] [data-draft]:not(span):not(a):not(section):not([data-draft="photo"]):not(.toc-card li) { margin-top: calc(1.3em + 8px); }
  html[data-env="preview"] [data-draft][data-draft-note]:not(span):not(a):not(.toc-card li):not(.or-divider)::before {
    content: attr(data-draft-note); position: absolute; z-index: 5; left: 0; top: -1.05em; translate: 0 -50%;
    max-width: 100%; padding: .15em .65em; border-radius: 4px; background: var(--draft); color: #fff;
    font: 700 11.5px/1.5 var(--font-body); letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none;
  }
  html[data-env="preview"] [data-draft="photo"]::before { top: .2em; left: .4em; translate: 0 0; max-width: calc(100% - .8em); white-space: normal; }
  html[data-env="preview"] span[data-draft], html[data-env="preview"] a[data-draft], html[data-env="preview"] .toc-card li[data-draft] { outline-offset: 2px; background-color: rgb(255 208 110 / .3); }
  html[data-env="preview"] section[data-draft] { outline-offset: -10px; }
  html[data-env="preview"] section[data-draft]::before { top: 24px; left: 16px; translate: 0 0; }
  html[data-env="preview"] .scope__card--us [data-draft] { outline-color: #F2B84B; }
  html.drafts-hidden [data-draft]:not([data-draft="photo"]),
  html[data-env="production"] [data-draft]:not([data-draft="photo"]) { display: none !important; }
  .preview-bar { position: fixed; left: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 90; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; max-width: calc(100% - 24px); padding: 7px 7px 7px 14px; border-radius: 999px; background: #1E1F1D; color: #fff; box-shadow: 0 14px 34px -12px rgb(0 0 0 / .55); font: 700 12px/1.4 var(--font-body); letter-spacing: .04em; }
  .preview-bar__tag { color: #F2B84B; }
  .preview-bar__count { color: #D8D4C8; font-weight: 500; }
  .preview-bar button { padding: .55em 1em; border: 0; border-radius: 999px; background: #F2B84B; color: #1E1F1D; font-weight: 700; font-size: 12px; }
  .preview-bar button[aria-pressed="true"] { background: #fff; }
}

/* ---------- 8. 進化版の追加部品（2026-10-21：悩み・担当者・3つの進め方） ---------- */
@layer components {
  .il-line { fill: none; stroke: var(--sea-300); stroke-width: 2; stroke-linecap: round; }

  /* 所有者の悩み（3つ・短く） */
  .concerns { display: grid; gap: 10px; }
  @media (min-width: 860px) { .concerns { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
  .concern__link { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; align-items: start; height: 100%; padding: 16px 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: translate .35s var(--ease), box-shadow .35s, border-color .3s; }
  .concern__link:hover { color: var(--ink); translate: 0 -3px; box-shadow: var(--shadow-1); border-color: var(--line-2); }
  .concern__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--coral-50); color: var(--coral-700); }
  .concern__icon .i { width: 20px; height: 20px; }
  .concern__title { font-size: 1.04rem; line-height: 1.5; }
  .concern__text { margin-top: .35em; font-size: .9rem; line-height: 1.7; color: var(--ink-2); }
  .concern__cta { display: inline-flex; align-items: center; gap: .5em; margin-top: .6em; font-size: .88rem; font-weight: 700; color: var(--sea); }
  .concern__cta::after { content: ""; flex: none; width: 1.4em; height: 1.4em; border-radius: 50%; border: 1px solid var(--line-2); background: var(--icon-arrow) center / 55% no-repeat; transition: translate .3s var(--ease), border-color .25s, background-color .25s; }
  .concern__link:hover .concern__cta { color: var(--coral-700); }
  .concern__link:hover .concern__cta::after { translate: 3px 0; border-color: var(--coral-600); background-color: var(--coral-50); }
  @media (min-width: 860px) { .concern__link { grid-template-columns: 1fr; padding: 24px 22px 22px; } .concern__title { margin-top: 14px; } }
  .concerns__more { display: flex; flex-wrap: wrap; align-items: center; gap: .3em 1.2em; margin-top: 18px; font-size: .92rem; color: var(--ink-2); }
  .concerns__more .link-arrow { font-size: .9rem; }

  /* お話を伺う担当者（短く） */
  .person { display: grid; gap: 24px; align-items: start; }
  @media (min-width: 800px) { .person { grid-template-columns: 128px minmax(0, 1fr); gap: 36px; } }
  .person__photo { width: min(100%, 96px); }
  @media (min-width: 800px) { .person__photo { width: min(100%, 128px); } }
  .person__photo .portrait__img { border-radius: var(--r); font-size: .72rem; letter-spacing: .16em; }
  .person__photo .portrait__img svg { width: 36%; }
  .person__photo-note { margin-top: 10px; font-size: .8rem; line-height: 1.6; color: var(--ink-3); }
  .message--brief { margin-top: 1.2em; }
  .message--brief .message__lead { font-size: 1.02em; }
  .values--compact { margin-top: 1.2em; }
  .values--compact li { padding: 12px 4px; font-size: 1rem; }
  .message--brief .message__sign { margin-top: 1.6em; }
  .person__body > .link-arrow { margin-top: 1.5em; }
  .trust { display: grid; margin-top: clamp(32px, 5vw, 56px); border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
  .trust > div { display: grid; gap: .15em; padding: 16px 20px; }
  .trust > div + div { border-top: 1px solid var(--line); }
  @media (min-width: 720px) and (max-width: 1039px) {
    .trust { grid-template-columns: 1fr 1fr; }
    .trust > div:nth-child(2) { border-top: 0; }
    .trust > div:nth-child(even) { border-left: 1px solid var(--line); }
  }
  @media (min-width: 1040px) {
    .trust { grid-template-columns: 1.2fr 1.6fr 1fr 1.6fr; }
    .trust > div + div { border-top: 0; border-left: 1px solid var(--line); }
  }
  .trust dt { font-size: .76rem; font-weight: 700; letter-spacing: .14em; color: var(--sea); }
  .trust dd { font-size: .95rem; line-height: 1.7; }

  /* 3つの進め方 */
  .ways { display: grid; gap: 20px; }
  @media (min-width: 1000px) { .ways { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
  .way { display: flex; flex-direction: column; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
  .way__visual { --il-bg: var(--bg-2); display: flex; justify-content: center; align-items: flex-end; padding: 14px 20px 0; background: var(--il-bg); }
  .way__visual .illust { width: auto; height: 150px; max-width: 100%; aspect-ratio: 3 / 2; }
  .way--buy .way__visual { --il-bg: var(--coral-100); }
  .way--sale .way__visual { --il-bg: var(--sea-100); }
  .way--keep .way__visual { --il-bg: var(--sage-100); }
  .way__body { display: flex; flex-direction: column; flex: 1; padding: 22px clamp(20px, 2.4vw, 28px) 28px; }
  .way__label { display: flex; align-items: center; gap: .7em; font-size: .86rem; font-weight: 700; letter-spacing: .14em; color: var(--sea); }
  .way__no { display: grid; place-items: center; width: 1.9em; height: 1.9em; border-radius: 50%; background: var(--sea); color: #fff; font-family: var(--font-latin); font-size: .92em; letter-spacing: 0; }
  .way__title { margin-top: .35em; font-size: 1.32rem; line-height: 1.4; }
  .way__desc { margin-top: .5em; font-size: .98rem; line-height: 1.75; }
  .way__role { margin-top: .7em; font-size: .9rem; line-height: 1.7; color: var(--ink-2); }
  .way__role strong { display: inline-block; margin-right: .6em; padding: .05em .55em; border-radius: 6px; background: var(--sea-100); color: var(--sea); font-size: .78rem; letter-spacing: .1em; }
  .way__points { display: grid; gap: 5px; margin-top: 12px; font-size: .9rem; line-height: 1.7; color: var(--ink-2); }
  .way__points li { position: relative; padding-left: 1.1em; }
  .way__points li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
  .way__details { margin-top: 14px; border-top: 1px solid var(--line); }
  .way__details summary { display: flex; align-items: center; gap: .6em; padding: 11px 0; cursor: pointer; list-style: none; font-size: .9rem; font-weight: 700; color: var(--sea); }
  .way__details summary::-webkit-details-marker { display: none; }
  .way__details summary::after { content: ""; flex: none; width: 1.3em; height: 1.3em; margin-left: auto; border-radius: 50%; border: 1px solid var(--line-2); background: var(--icon-down) center / 55% no-repeat; transition: rotate .3s var(--ease), background-color .25s; }
  .way__details[open] summary::after { rotate: 180deg; background-color: var(--sea-100); }
  .way__details summary:hover { color: var(--coral-700); }
  .way__dl { display: grid; gap: 10px; padding-bottom: 8px; }
  .way__dl > div { padding-top: 10px; }
  .way__dl > div + div { border-top: 1px solid var(--line); }
  .way__dl dt { font-size: .76rem; font-weight: 700; letter-spacing: .14em; color: var(--coral-700); }
  .way__dl dd { margin-top: .2em; font-size: .93rem; line-height: 1.8; color: var(--ink-2); }
  .way .link-arrow { margin-top: auto; padding-top: 1.2em; align-self: flex-start; }
  .way__ext { margin-top: .3em; font-size: .8rem; line-height: 1.6; color: var(--ink-3); }
  .ways__undecided { margin-top: clamp(28px, 4vw, 44px); padding: 18px 22px; border-radius: var(--r); background: var(--surface); border: 1px dashed var(--line-2); font-size: .96rem; line-height: 1.8; }
}

/* Form challenge occupies its own row; compact widget fits narrow screens. */
.form-security { flex-basis: 100%; width: 100%; margin-bottom: 16px; }

/* Home design proposal, 2026-10-26. Scoped to the home page; no form styles. */
@layer pages {
  .home-renewal { --home-green: #214e41; --home-dark: #173e33; --home-peach: #efb18a; --home-sky: #eef4f9; --container: 1240px; } /* --home-sky：ファーストビュー・ヘッダー・街並みの面（2026-10-27 生成り #faf6ed から青白へ） */
  .home-renewal .reveal { animation: none; opacity: 1; transform: none; }
  .home-renewal .hdr { background: var(--home-sky); border-bottom: 1px solid #d5dfe7; }
  .home-renewal .notice-bar { background: #e6edf3; border-bottom: none; }
  .home-renewal .hero { padding: clamp(40px, 5vw, 60px) 0 0; background: var(--home-sky); }
  .home-renewal .hero::before { display: none; }
  .home-renewal .hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px clamp(32px, 5vw, 80px); align-items: center; }
  .home-renewal .hero__company { letter-spacing: .16em; font-size: .82rem; }
  .home-renewal .hero__company::before { width: 30px; height: 3px; background: var(--home-peach); }
  .home-renewal .hero__title { margin-top: .45em; font-size: clamp(2.3rem, 3.9vw, 3.3rem); line-height: 1.45; letter-spacing: .035em; color: var(--home-dark); text-wrap: initial; }
  .home-renewal .hero__title > span { display: block; white-space: nowrap; }
  .home-renewal .hero__title-accent { margin-top: .15em; font-size: .76em; color: #507057; }
  .hero__lead { margin-top: 1.3em; max-width: 30em; font-size: .98rem; line-height: 1.9; color: var(--ink-2); }
  .home-renewal .facts { margin-top: 18px; padding-top: 18px; border-top: 1px solid #d4dee6; gap: 10px; max-width: none; }
  .home-renewal .facts__item { font-size: .9rem; }
  .home-renewal .facts__item .i { color: var(--home-green); }
  .home-renewal .hero__actions { gap: 14px 22px; margin-top: 20px; }
  .home-renewal .hero__actions .btn { min-height: 66px; box-shadow: 0 6px 0 var(--cta-border); }
  .home-renewal .hero__actions .link-arrow { font-size: .87rem; }
  .home-renewal .hero__note { margin-top: 14px; font-size: .8rem; }
  /* 街並みの線画（2026-10-26：partials/townscape.html を再利用）。青白い空気色の上に深緑の線、遠景と海は青灰、灯りは桃色。
     --town-* で線の色と面の色、--ts-w* で線の太さ（小さな画面ほど太く）を一括管理し、全バンドで同じリズムにする。 */
  .home-renewal { --town-ink: #2d5a4b; --town-mid: #6f9580; --town-far: #b6c8d2; --town-sea: #99b9c5; --town-fill: var(--home-sky); --town-accent: #e49a6a; --town-h: clamp(170px, 15vw, 230px); --ts-w: 1.2; --ts-w-mid: 1; --ts-w-thin: .8; }
  .home-renewal .townscape * { stroke: var(--town-ink); stroke-width: var(--ts-w); }
  .home-renewal .townscape .ts-fill, .home-renewal .townscape .ts-ground { fill: var(--town-fill); }
  .home-renewal .townscape .ts-ground { stroke: none; }
  .home-renewal .townscape .ts-mid { stroke: var(--town-mid); stroke-width: var(--ts-w-mid); }
  .home-renewal .townscape .ts-far { stroke: var(--town-far); stroke-width: var(--ts-w-mid); }
  .home-renewal .townscape .ts-sea { stroke: var(--town-sea); stroke-width: var(--ts-w-mid); }
  .home-renewal .townscape .ts-thin { stroke-width: var(--ts-w-thin); }
  .home-renewal .townscape .ts-accent { fill: var(--town-accent); stroke: var(--town-accent); }
  /* ファーストビュー：右下に一言、下辺いっぱいに街並み、丘の上に小さな夕陽（写真は置かない） */
  /* ファーストビュー右：相談の入口カード（一言・主CTA・受付方法・3つの要点）。線画はFVの主役にしない */
  .hero__card { justify-self: end; width: min(100%, 480px); padding: clamp(22px, 2.6vw, 32px) clamp(22px, 2.4vw, 32px) clamp(20px, 2.2vw, 28px); background: #ffffff; border: 1px solid #d8e2ea; border-top: 4px solid var(--home-peach); border-radius: 18px; box-shadow: 0 26px 48px -34px rgb(23 62 51 / .3); }
  .hero__message { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.8; letter-spacing: .06em; color: var(--home-green); white-space: nowrap; }
  .home-renewal .hero__town { position: relative; height: clamp(220px, 21vw, 300px); margin-top: clamp(20px, 3vw, 40px); overflow: hidden; }
  .home-renewal .hero__town::before { content: ""; position: absolute; z-index: 0; right: 12%; bottom: 56%; width: clamp(64px, 7vw, 104px); aspect-ratio: 1; border-radius: 50%; background: var(--home-peach); box-shadow: 0 0 0 12px rgb(239 177 138 / .22), 0 0 0 26px rgb(239 177 138 / .09); }
  .home-renewal .hero__town .townscape { position: relative; z-index: 1; }
  /* セクションの区切りの街並み：同じ高さ・同じ線の色で、ページ全体に一定の間隔で置く */
  .home-renewal .town-band { position: relative; height: var(--town-h); overflow: hidden; background: var(--town-fill); }
  .home-renewal .town-band .townscape { display: block; width: 100%; height: 100%; }
  /* 区切りの線画は3点とも独自構図（partials/lineart-*.html）。線幅・色・高さは街並みと同じトークンを共有 */
  .home-renewal .town-band--house { --town-fill: #fafcfd; }
  .home-renewal .town-band--lane { --town-fill: var(--bg); }
  .home-renewal .town-band--dusk { --town-fill: #e9edf3; }
  .home-renewal .section:has(+ .town-band) { padding-bottom: clamp(40px, 5vw, 64px); }
  .home-renewal .town-band--dusk + .cta { padding-top: clamp(56px, 6vw, 96px); }
  .home-renewal .section { padding-block: clamp(72px, 8vw, 116px); }
  .home-renewal .h2 { color: var(--home-dark); font-size: clamp(1.9rem, 3.1vw, 2.8rem); line-height: 1.5; }
  .home-renewal .eyebrow__en { color: #8a5533; font-size: .78rem; }
  .home-renewal .eyebrow__en::after { width: 38px; background: #c38c68; }
  .home-renewal #worries { background: #e6edf2; border-top: 1px solid #c9d6e0; }
  .home-renewal #worries > .container { display: grid; grid-template-columns: .9fr 1.2fr; gap: 0 80px; }
  .home-renewal #worries .sec-head { margin-bottom: 0; }
  .home-renewal #worries .h2 { max-width: 11em; }
  .home-renewal .concerns { grid-template-columns: 1fr; gap: 0; counter-reset: home-concern; border-top: 1px solid #b7c8d3; }
  .home-renewal .concern { border-bottom: 1px solid #b7c8d3; counter-increment: home-concern; }
  .home-renewal .concern__link { grid-template-columns: 48px 1fr; border: 0; border-radius: 0; padding: 25px 0; background: transparent; gap: 16px; }
  .home-renewal .concern__link:hover { translate: 5px 0; box-shadow: none; }
  .home-renewal .concern__icon { width: 48px; height: 48px; background: transparent; color: var(--home-green); font: 500 1.45rem var(--font-head); }
  .home-renewal .concern__icon::before { content: '0' counter(home-concern); }
  .home-renewal .concern__icon .i { display: none; }
  .home-renewal .concern__title { margin: 0; font-size: 1.22rem; }
  .home-renewal .concern__text { font-size: .94rem; }
  .home-renewal .concerns__more { grid-column: 1 / -1; margin-top: 35px; padding-top: 20px; border-top: 1px solid #b7c8d3; justify-content: space-between; }
  .home-renewal #representative { background: #fafcfd; }
  /* 担当者の写真は控えめに：PC 128px・スマホ 96px（枠込み）。人物写真を主役にしない */
  .home-renewal .person { grid-template-columns: 128px minmax(0, 1fr); gap: clamp(32px, 4vw, 56px); align-items: start; }
  .home-renewal .person__photo { width: 128px; max-width: 100%; }
  .home-renewal .person__photo .portrait { width: 100%; margin: 0; padding: 5px; background: #dde7ef; border-radius: 68px 68px 4px 4px; }
  .home-renewal .person__photo .portrait__img { width: 100%; max-width: none; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 64px 64px 2px 2px; }
  .home-person-caption { margin-top: 12px; text-align: center; color: var(--home-dark); font-size: .74rem; line-height: 1.6; }
  .home-person-caption strong { font-size: .95rem; }
  .home-renewal .message--brief .message__lead { font-size: 1.05rem; }
  .home-renewal .values--compact { border-top: 1px solid #c9d5de; }
  .home-renewal .values--compact li { padding: 13px 0; }
  .home-renewal .trust { border-radius: 0; border: 0; border-top: 1px solid #c9d5de; border-bottom: 1px solid #c9d5de; background: transparent; }
  .home-renewal .trust > div { padding: 20px 16px; }
  .home-renewal #services { background: #e8eef3; }
  .home-renewal #services .sec-head { display: grid; grid-template-columns: 1.1fr .9fr; column-gap: 80px; max-width: none; }
  .home-renewal #services .eyebrow { grid-column: 1 / -1; }
  .home-renewal #services .sec-lead { color: var(--ink-2); align-self: end; font-size: 1rem; }
  .home-renewal .ways { grid-template-columns: 1fr; gap: 24px; }
  .home-renewal .way { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.5fr); border: 1px solid #cfdae3; border-radius: 4px; color: var(--ink); }
  .home-renewal .way__visual { align-items: center; padding: 26px 20px; }
  .home-renewal .way__visual .illust { width: 100%; max-width: 300px; height: auto; }
  .home-renewal .way__body { padding: 28px 36px; }
  .home-renewal .way__title { font-family: var(--font-head); font-size: 1.9rem; }
  .home-renewal .way__desc { margin-top: 6px; }
  .home-renewal .way__points { font-size: .9rem; }
  .home-renewal .way .link-arrow { padding-top: 12px; }
  .home-renewal .ways__undecided { background: #ffffff; border: 1px solid #c3d1db; border-radius: 0; padding: 23px 28px; }
  .home-renewal #flow .sec-head { margin-bottom: 40px; }
  .home-renewal .steps { gap: 0; border-top: 1px solid #b7c8d3; }
  .home-renewal .step { padding: 30px 24px 10px 24px; border-radius: 0; }
  .home-renewal .step + .step { border-left: 1px solid #d4dee6; }
  .home-renewal .step__no { font-family: var(--font-latin); font-size: 2.8rem; color: #5f8a72; }
  .home-renewal .step:not(:last-child)::after { display: none; }
  .home-renewal .fee-bar { background: #e3ebf1; border: none; border-left: 5px solid var(--home-green); border-radius: 0; padding: 25px 28px 25px 24px; }
  .home-renewal .fee-bar .fee-note { flex: 1 1 500px; }
  .home-renewal .fee-bar__icon { color: var(--home-green); }
  .home-renewal #area { background: #e6eef0; }
  .home-renewal .area__map { padding: 20px; background: #f7fafc; border-radius: 50% 50% 8px 8px; }
  .home-renewal .methods__item { border-radius: 4px; }
  .home-renewal #letter { padding-block: 60px; background: #f6f9fb; }
  .home-renewal .notice { border: 1px solid #d5dee6; border-left: 5px solid #b37c56; border-radius: 0; background: #ffffff; }
  .home-renewal .notice__icon { background: var(--coral-50); color: #946044; }
  .home-renewal #faq { background: #ecf1f5; }
  .home-renewal .faq { gap: 0; border-top: 1px solid #b7c8d3; }
  .home-renewal .faq__item { border-radius: 0; border-bottom: 1px solid #b7c8d3; }
  .home-renewal .faq__item summary { padding: 23px 0; }
  .home-renewal .faq__item[open] { box-shadow: none; }
  .home-renewal .faq__q { background: transparent; color: #597a52; font-size: 1.5rem; }
  /* お問い合わせ：夕暮れの青灰から青白い地へ（夕暮れの線画と同じ面色で続ける）。文字は通常の濃色、CTAは杏色 */
  .home-renewal .cta { background: linear-gradient(180deg, #e9edf3 0%, #f4f7fa 100%); color: var(--ink); border: none; }
  .home-renewal .cta::before, .home-renewal .cta::after { display: none; }
  .home-renewal .cta__title { color: var(--home-dark); font-size: clamp(2rem, 3.2vw, 3rem); }
  .home-renewal .cta .eyebrow--light .eyebrow__en { color: #8a5533; }
  .home-renewal .cta .eyebrow--light .eyebrow__ja { color: var(--brand); }
  .home-renewal .cta__info { background: #ffffff; border: 1px solid #d5dee6; border-radius: 4px; }
  .home-renewal .ftr { background: #e7edf2; border-top: none; }
  .home-renewal .ftr__h { font-size: .85rem; letter-spacing: .12em; }
  @media (max-width: 1099px) {
    .home-renewal .hero__grid { gap: 30px; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
    .home-renewal .hero__title { font-size: 4vw; }
    .home-renewal { --ts-w: 1.6; --ts-w-mid: 1.35; --ts-w-thin: 1.1; }
    .home-renewal #worries > .container { gap: 0 45px; }
  }
  @media (max-width: 799px) {
    .home-renewal { --town-h: clamp(160px, 42vw, 200px); --ts-w: 1.9; --ts-w-mid: 1.6; --ts-w-thin: 1.3; }
    .home-renewal .hero { padding: 34px 0 0; }
    .home-renewal .hero__grid { grid-template-columns: 1fr; gap: 24px; }
    .hero__lead { font-size: .92rem; line-height: 1.8; }
    .home-renewal .hero__title { font-size: clamp(2rem, 7.9vw, 3.5rem); }
    .home-renewal .hero__title-accent { font-size: .78em; }
    .home-renewal .hero__actions { margin-top: 18px; }
    .home-renewal .hero__actions .btn { min-height: 62px; }
    .home-renewal .hero__note { font-size: .78rem; }
    .hero__card { justify-self: stretch; width: 100%; }
    .hero__message { font-size: 1.15rem; line-height: 1.8; }
    .home-renewal .hero__town { height: clamp(200px, 56vw, 240px); margin-top: 18px; --ts-w: 1.5; --ts-w-mid: 1.25; --ts-w-thin: 1; }
    .home-renewal .hero__town::before { right: 10%; }
    .home-renewal #worries > .container { grid-template-columns: 1fr; gap: 30px; }
    .home-renewal #worries .h2 { max-width: none; }
    .home-renewal .concerns__more { margin-top: 0; }
    .home-renewal .person { grid-template-columns: 1fr; gap: 28px; }
    .home-renewal .person__photo { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; width: 100%; max-width: none; }
    .home-renewal .person__photo .portrait { width: 96px; padding: 4px; border-radius: 52px 52px 3px 3px; }
    .home-renewal .person__photo .portrait__img { border-radius: 48px 48px 2px 2px; }
    .home-person-caption { margin-top: 0; text-align: left; }
    .home-renewal #services .sec-head { grid-template-columns: 1fr; gap: 0; }
    .home-renewal .way { grid-template-columns: 1fr; }
    .home-renewal .way__visual { padding: 10px 20px 0; }
    .home-renewal .way__visual .illust { max-width: 220px; height: 135px; }
    .home-renewal .way__body { padding: 24px; }
    .home-renewal .way__title { font-size: 1.7rem; }
    .home-renewal .ways__undecided { padding: 22px; }
    .home-renewal .steps { grid-template-columns: 1fr; }
    .home-renewal .step, .home-renewal .step + .step { display: grid; grid-template-columns: 52px 1fr; gap: 3px 18px; padding: 24px 0; border-left: none; border-bottom: 1px solid #d4dee6; }
    .home-renewal .step__no { grid-row: 1 / 3; font-size: 2rem; }
    .home-renewal .step__title { margin: 0; }
    .home-renewal .step p { margin: 0; }
    .home-renewal .fee-bar { padding: 22px; gap: 10px; }
    .home-renewal .fee-bar .link-arrow { margin: 0; }
    .home-renewal .area__map { max-width: 390px; margin-inline: auto; }
    .home-renewal .cta { padding-block: 72px; }
  }
  /* 380px未満：カード内の主CTA「フォームで相談する」を1行に保つ（内寸約244px、必要幅約220px） */
  @media (max-width: 379px) {
    .hero__card { padding-inline: 18px; }
    .home-renewal .hero__actions { gap: 12px 16px; }
    .home-renewal .hero__actions .btn { font-size: .94rem; letter-spacing: .03em; padding: .7em .7em .7em 1.2em; gap: .6em; }
    .home-renewal .hero__actions .btn .btn__arrow { width: 30px; height: 30px; }
  }
  @media (max-width: 359px) {
    .home-renewal .hero__title { font-size: 8vw; letter-spacing: .015em; }
    .hero__message { font-size: 1.02rem; }
    .home-renewal .concern__link { grid-template-columns: 34px 1fr; gap: 10px; }
    .home-renewal .concern__icon { width: 34px; }
    .home-renewal .concern__title { font-size: 1.1rem; }
  }
}

/* Keep the reading flow immediate and stable on this page. */
@layer motion {
  .home-renewal .reveal, .home-renewal .hero__copy > * { animation: none; opacity: 1; transform: none; translate: none; }
  /* 区切りの線画は要素数が少ないので、1要素あたりの遅延を長めにして描く時間をファーストビューと揃える */
  .home-renewal .town-band .townscape { --ts-step: 22ms; }
}
html:has(body.home-renewal) { scroll-behavior: auto; }

@layer pages { .home-renewal .h2.bx, .home-renewal .cta__title.bx { word-break: normal; overflow-wrap: normal; line-break: strict; } }

/* 公式LINE：既存の相談窓口に追加（2026-11-02） */
.contact-info .contact-line-link { display: flex; width: fit-content; margin-top: .5rem; }
.line-contact { display: grid; grid-template-columns: minmax(0, 1fr) 180px; align-items: center; gap: 1.5rem; margin-top: 2rem; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.line-contact__copy > p { margin: .75rem 0; }
.line-contact__copy .btn { margin-top: .5rem; }
.line-contact__id { font-size: .875rem; color: var(--ink-3); }
.line-contact__id span { white-space: nowrap; }
.line-contact__qr { margin: 0; text-align: center; }
.line-contact__qr img { display: block; width: 180px; max-width: 100%; height: auto; margin: 0 auto; background: #fff; }
.line-contact__qr figcaption { margin-top: .5rem; font-size: .8125rem; color: var(--ink-3); }
@media (max-width: 600px) {
  .line-contact { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .line-contact__qr { justify-self: center; }
}
