/* =============================================================================
   株式会社アースパワー — グローバルCSS
   2026-10-01 デザイン刷新: 「訪れた人が安心して任せられる」を最優先に、暖色のライトトーン（生成りの面・角丸14px・柔らかい影）、
   人の顔（代表写真）を先頭と末尾に、信頼情報（免許・創業年・自社所有）を trust-strip とフッターに。
   ブルーは構造のアクセント、オレンジはフォーム行動だけ（2026-09-26 の導線ルールは維持）
   ========================================================================== */

:root {
  --accent: #1565c0;
  --accent-dark: #0d3c78;
  --navy: #15212e;
  --ink: #222;
  --muted: #667085;
  --line: #e6e1d8;
  --bg-soft: #f7f4ee;
  --radius: 14px;
  --shadow: 0 6px 20px rgba(21, 33, 46, .06);
  --warm-soft: #fff1e8;
  --trust: #1f3b63;        /* ヘッダーメニューの帯: 信頼感のある濃紺（2026-10-01 ユーザー指示「白だとボケる」） */
  --trust-dark: #172d4d;
  /* 問い合わせ導線の共通色（2026-09-26 統一）: フォーム行動＝オレンジ、遷移＝青。CTA の箱はクリーム地＋オレンジ枠 */
  --warm: #e8734a; --warm-dark: #c9552f; --cream: #fbf7f0;
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", Meiryo, sans-serif;
  line-height: 1.85;
  font-size: 16px;
  background: #fff;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; }

/* 日本語の改行制御: text-wrap: pretty で末尾に1文字だけ残る折り返しを避け、word-break: auto-phrase（Chrome 119+）で
   見出し・ボタン・ラベルを文節単位で折り返す。balance は auto-phrase を無視して単語の途中で割るため使わない（2026-09-10 検証） */
/* 2026-10-01: iOS Safari の text-wrap: pretty は段落全体の行長を揃えるため、行が右端まで届かず右側が空く（買取ページのスマホで発覚）。
   auto-phrase を解釈するブラウザ（Chrome/Edge）だけに pretty を当て、Safari は通常の折り返し（幅いっぱい）にする */
@supports (word-break: auto-phrase) {
  p, li, dd, td, small, figcaption { text-wrap: pretty; }
  h1, h2, h3, h4, th, .faq-q, .btn-primary, .btn-ghost, .btn-white, .br-tags li, .area-chips li, .lead-cta__title, .lead-cta__points li,
  .strength-card__label, .result-card h3, .hero-entry__card, .cta-band h2, .contact-band__title, .alt-btn__label, .intent-card h2, .bukken-card__title, .trust-strip strong, .top-hero__eyebrow, .contact-band__eyebrow { text-wrap: pretty; word-break: auto-phrase; }
}
.lead-cta__title strong, .alt-btn__num, .strength-card__num, .header-tel, .contact-band__tel-number, .sticky-cta__sub { white-space: nowrap; }
.faq-a a, .glossary-links a, .bukken-note a, .station-block__links a { display: inline-block; }
.info-table th small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 2px; }
@media (max-width: 480px) {
  .alt-btn__num { font-size: 15px; }
  .info-table th, .info-table td { padding: 10px 8px; font-size: 14px; }
  .info-table th { white-space: nowrap; }
  .center .btn-primary, .center .btn-ghost { display: block; text-align: center; margin: 8px 0; padding-left: 16px; padding-right: 16px; }
}
a { color: var(--accent); }

/* アンカー（#kanban / #faq 等）が固定ヘッダーの裏に隠れないようオフセット */
html { scroll-padding-top: 120px; }

/* ---------------------------------------------------------------- header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 100; }
/* 移転お知らせバー（ヘッダー最上部・sticky 固定） */
.moved-bar {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  flex-wrap: wrap; text-decoration: none; color: #fff;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  padding: 11px 18px; font-weight: 700; line-height: 1.4;
  border-bottom: 2px solid #fff;
}
.moved-bar:hover { filter: brightness(1.06); }
.moved-bar__tag {
  background: #fff; color: var(--accent-dark); font-size: 12px;
  letter-spacing: .08em; padding: 3px 12px; border-radius: 20px; flex-shrink: 0;
}
.moved-bar__text { font-size: 16px; }
.moved-bar__btn {
  background: var(--navy); color: #fff; font-size: 14px;
  padding: 7px 20px; border-radius: 24px; flex-shrink: 0;
}
.moved-bar__btn::after { content: " →"; }
@media (max-width: 820px) {
  .moved-bar { gap: 8px; padding: 9px 12px; }
  .moved-bar__text { font-size: 13px; }
  .moved-bar__tag { font-size: 11px; padding: 2px 9px; }
  .moved-bar__btn { font-size: 12px; padding: 6px 14px; }
}
.site-header__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 14px 16px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.site-logo { margin: 0; line-height: 0; }
.site-logo img { width: 220px; height: auto; }
.site-header__contact { margin-left: auto; text-align: right; }
.header-tel { margin: 0; font-size: 22px; font-weight: 700; }
.header-tel a { color: var(--navy); text-decoration: none; }
.header-tel a::before { content: "📞 "; font-size: 16px; }
.header-hours { margin: 0; font-size: 12px; color: var(--muted); }
.header-cta {
  background: var(--warm); color: #fff; text-decoration: none;
  padding: 12px 22px; border-radius: 8px; font-weight: 700; white-space: nowrap;
}
.header-cta:hover { background: var(--warm-dark); }

/* ------------------------------------------------------------------ nav */
.global-nav { background: var(--trust); position: relative; }
.global-nav__list {
  max-width: var(--maxw); margin: 0 auto; padding: 0;
  list-style: none; display: flex; flex-wrap: wrap;
}
.global-nav__list > li { position: relative; }
.global-nav__list > li > a {
  display: block; padding: 13px 16px; color: #fff; text-decoration: none;
  font-size: 14px; font-weight: 700;
}
.global-nav__list > li > a:hover { background: rgba(255,255,255,.14); }
.global-nav .sub-menu {
  display: none; position: absolute; top: 100%; left: 0; z-index: 30;
  margin: 0; padding: 6px 0; list-style: none; min-width: 220px;
  background: var(--trust); box-shadow: 0 10px 24px rgba(21,33,46,.25); border-radius: 0 0 12px 12px;
}
.global-nav .has-sub:hover .sub-menu,
.global-nav .has-sub:focus-within .sub-menu { display: block; }
.global-nav .sub-menu a {
  display: block; padding: 11px 16px; color: #fff; text-decoration: none;
  font-size: 13px; font-weight: 600; border-top: 1px solid rgba(255,255,255,.08);
}
.global-nav .sub-menu a:hover { background: rgba(255,255,255,.14); }
.nav-toggle, .nav-toggle-label { display: none; }

/* ----------------------------------------------------------- breadcrumb */
.breadcrumb { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.breadcrumb ol {
  max-width: var(--maxw); margin: 0 auto; padding: 8px 16px;
  list-style: none; display: flex; flex-wrap: wrap; gap: 4px;
  font-size: 12px; color: var(--muted);
}
.breadcrumb li + li::before { content: "›"; margin: 0 6px; color: #aab; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

/* ----------------------------------------------------------------- main */
.site-main { max-width: var(--maxw); margin: 0 auto; padding: 32px 16px 64px; }
.site-main.is-top { max-width: none; padding: 0 0 64px; }
.page-updated { margin: 40px 0 0; font-size: 12px; color: var(--muted); text-align: right; }
.site-main.is-top .page-updated { max-width: var(--maxw); margin-left: auto; margin-right: auto; padding: 0 16px; }

.page-section { margin: 48px 0; }
.page-section > h2 {
  font-size: 26px; line-height: 1.4; color: var(--navy); position: relative;
  border: 0; border-bottom: 1px solid var(--line); padding: 0 0 12px; margin: 0 0 22px;
}
.page-section > h2::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 48px; height: 3px; border-radius: 2px; background: var(--accent); }
.page-section > h2.br-h2 { border: 0; }
.page-section > h2.br-h2::after { display: none; }
.page-hero { margin: 8px 0 40px; }
.page-hero__en { color: var(--accent); font-weight: 700; letter-spacing: .2em; margin: 0; font-size: 14px; }
.page-hero h1 { font-size: 32px; color: var(--navy); margin: 4px 0 12px; line-height: 1.4; }
.page-hero__lead { color: var(--muted); margin: 0; }

.lead { font-size: 17px; }
.sub-heading { font-size: 20px; color: var(--navy); margin: 28px 0 12px; padding-bottom: 6px; border-bottom: 2px solid var(--accent); }

/* 汎用ボックス・表 */
.info-table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.info-table th, .info-table td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
.info-table th { background: var(--bg-soft); color: var(--navy); width: 28%; font-weight: 600; }

.point-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin: 20px 0; padding: 0; list-style: none; }
.point-grid li { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; }
/* 既定: 文中の強調（「空室がなかなか埋まらない」等）— 色だけ付けて改行しない */
.point-grid li strong { color: var(--accent-dark); }
/* カード型（見出し＋説明文）: 見出しをブロック表示にする */
.point-grid--cards li strong { display: block; margin-bottom: 4px; }

.step-list { counter-reset: step; list-style: none; margin: 20px 0; padding: 0; }
.step-list > li {
  counter-increment: step; position: relative; margin: 0 0 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px 16px 64px;
}
.step-list > li::before {
  content: counter(step); position: absolute; left: 16px; top: 16px;
  width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.step-list > li strong { color: var(--navy); display: block; margin-bottom: 2px; }

.faq-item { border: 1px solid var(--line); border-radius: 8px; margin: 0 0 12px; padding: 14px 18px; }
.faq-q { font-weight: 700; color: var(--navy); margin: 0 0 6px; }
.faq-q::before { content: "Q. "; color: var(--accent); }
.faq-a { margin: 0; }
.faq-a::before { content: "A. "; color: #c62828; font-weight: 700; }

.btn-primary {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  font-weight: 700; padding: 14px 32px; border-radius: 8px; margin: 8px 0;
}
.btn-primary:hover { background: var(--accent-dark); }
/* フォームへの行動ボタンはサイト全体でオレンジ（href が /contact/ の .btn-primary、フォームの送信、.btn-cta） */
.btn-cta, a.btn-primary[href^="/contact/"], button.btn-primary { background: var(--warm); }
.btn-cta:hover, a.btn-primary[href^="/contact/"]:hover, button.btn-primary:hover { background: var(--warm-dark); }
.btn-ghost {
  display: inline-block; border: 2px solid var(--accent); color: var(--accent);
  text-decoration: none; font-weight: 700; padding: 12px 30px; border-radius: 8px; margin: 8px 0;
}
.btn-ghost:hover { background: var(--accent); color: #fff; }
.center { text-align: center; }
.btn-line { display: inline-block; background: #06c755; color: #fff; font-weight: 700; padding: 13px 32px; border-radius: 28px; text-decoration: none; }
.btn-line:hover { background: #05a648; }

/* ---------------------------------------------------------------- 無料相談・査定の導線（エリアページ先頭 / 中間 / スマホ固定バー） */
.lead-cta {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center;
  margin: -12px 0 36px; padding: 24px 28px; border-radius: 14px;
  background: linear-gradient(135deg, #f5e9dc, var(--cream)); border: 2px solid var(--warm);
}
.lead-cta__title { margin: 0 0 10px; font-size: 20px; line-height: 1.5; color: var(--navy); font-weight: 700; }
.lead-cta__title strong { color: var(--warm-dark); }
.lead-cta__points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.lead-cta__points li { font-size: 14px; color: var(--navy); font-weight: 700; }
.lead-cta__points li::before { content: "✔ "; color: var(--warm); }
.lead-cta__actions { display: flex; flex-direction: column; gap: 10px; }
.lead-cta__main { text-align: center; font-size: 17px; padding: 16px 20px; margin: 0; background: var(--warm); box-shadow: 0 4px 12px rgba(232,115,74,.28); }
.lead-cta__main:hover { background: var(--warm-dark); }
.lead-cta__note { margin: 0; font-size: 12px; color: var(--muted); text-align: center; }
.lead-cta__sub { margin: 8px 0 0; font-size: 12px; color: var(--muted); text-align: center; line-height: 1.6; }
.lead-cta__alt, .contact-band__alt { display: flex; gap: 8px; }
.alt-btn { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 8px 10px; border-radius: 8px; border: 2px solid var(--line); background: #fff; text-decoration: none; color: var(--navy); line-height: 1.3; }
.alt-btn__label { font-size: 13px; font-weight: 700; }
.alt-btn__num { font-size: 17px; font-weight: 800; letter-spacing: .02em; }
.alt-btn__hours { font-size: 10px; color: var(--muted); }
.alt-btn--tel { border-color: #bcd3ee; }
.alt-btn--tel .alt-btn__label, .alt-btn--tel .alt-btn__num { color: var(--accent-dark); }
.alt-btn--tel:hover { background: #eef4fc; }
.alt-btn--line { border-color: #9fe0b8; }
.alt-btn--line .alt-btn__label { color: #06752f; }
.alt-btn--line .alt-btn__label::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 5px; vertical-align: -2px; border-radius: 4px; background: #06c755; }
.alt-btn--line:hover { background: #e8f8ee; }
.alt-btn--dark { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: #fff; }
.alt-btn--dark .alt-btn__label, .alt-btn--dark .alt-btn__num { color: #fff; }
.alt-btn--dark .alt-btn__hours { color: #aebccb; }
.alt-btn--dark.alt-btn--line { border-color: rgba(6,199,85,.6); }
.alt-btn--dark:hover { background: rgba(255,255,255,.16); }
.contact-band__alt { max-width: 520px; margin: 12px 0 0; }
@media (max-width: 820px) { .contact-band__alt { margin: 12px auto 0; } }
@media (max-width: 820px) {
  .lead-cta { grid-template-columns: 1fr; gap: 16px; padding: 18px 16px; margin-top: 0; }
  .lead-cta__title { font-size: 18px; }
}
/* 中間CTA: 末尾の .cta-band と同じ「クリーム地＋オレンジ枠＋中央揃え」（左寄せは違和感があるとのユーザー指摘 2026-10-01） */
.mid-cta { margin: 20px 0 0; padding: 24px 22px; border-radius: var(--radius, 14px); background: var(--cream); border: 2px solid var(--warm); text-align: center; }
.mid-cta__text { margin: 0 0 14px; font-weight: 700; color: var(--navy); }
.mid-cta__actions { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; }
.mid-cta__actions a { margin: 0; }
@media (max-width: 480px) { .mid-cta__actions a { width: 100%; text-align: center; } }

.sticky-cta { display: none; }
@media (max-width: 820px) {
  body:has(.sticky-cta) { padding-bottom: 68px; }
  .sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: grid; grid-template-columns: 1fr auto auto; gap: 6px;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96);
    border-top: 1px solid var(--line); box-shadow: 0 -4px 14px rgba(0,0,0,.08);
  }
  .sticky-cta a { display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 8px; font-weight: 700; font-size: 14px; text-decoration: none; }
  .sticky-cta__main { background: var(--warm); color: #fff; font-size: 14px; padding: 0 10px; box-shadow: 0 2px 8px rgba(232,115,74,.35); flex-direction: column; gap: 1px; line-height: 1.25; white-space: nowrap; }
  .sticky-cta__sub { font-size: 10px; font-weight: 600; opacity: .9; letter-spacing: .02em; }
  @media (max-width: 360px) { .sticky-cta__main { font-size: 13px; } }
  .sticky-cta__tel, .sticky-cta__line { background: #fff; font-size: 11px; font-weight: 700; min-width: 56px; padding: 0 8px; flex-direction: column; gap: 0; line-height: 1.2; }
  .sticky-cta__tel { border: 2px solid #bcd3ee; color: var(--accent-dark); }
  .sticky-cta__line { border: 2px solid #9fe0b8; color: #06752f; }
  .sticky-cta__tel span { font-size: 10px; }
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-white {
  display: inline-block; background: #fff; color: var(--accent-dark); text-decoration: none;
  font-weight: 700; padding: 14px 30px; border-radius: 8px; margin: 8px 0;
}
.btn-white:hover { background: var(--bg-soft); }

/* ------------------------------------------------------------ 強み（オーナー向け訴求バンド） */
.strength-band {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin: 24px 0;
}
.strength-card {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--accent);
  border-radius: 10px; padding: 26px 20px 24px; text-align: center;
}
.strength-card__label { margin: 0; font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.strength-card__num { margin: 8px 0; font-size: 38px; font-weight: 800; color: var(--accent-dark); line-height: 1.05; }
.strength-card__num small { font-size: 17px; font-weight: 700; }
.strength-card__desc { margin: 0; font-size: 13.5px; color: var(--navy); line-height: 1.7; }

/* ------------------------------------------------------------ 下部CTAバンド */
/* ページ末尾の問い合わせ帯（全ページ共通の1デザイン。2026-09-26 に紺の版を廃止しクリーム地に統一） */
.cta-band {
  background: linear-gradient(135deg, #f5e9dc, var(--cream)); color: var(--navy); border: 2px solid var(--warm);
  border-radius: 12px; padding: 36px 28px; text-align: center; margin: 8px 0;
}
.cta-band h2 { color: var(--navy); margin: 0 0 10px; font-size: 24px; border: 0; padding: 0; }
.cta-band p { margin: 0 0 18px; color: #4a5563; font-size: 15px; }
.cta-band .btn-row, .cta-band .center { justify-content: center; }
.cta-band .btn-white, .cta-band .btn-primary { background: var(--warm); color: #fff; border-color: var(--warm); }
.cta-band .btn-white:hover, .cta-band .btn-primary:hover { background: var(--warm-dark); }
.cta-band__tel { display: inline-block; white-space: nowrap; margin-top: 12px; padding: 8px 18px; border-radius: 8px; border: 2px solid var(--warm); color: var(--navy); font-size: 16px; font-weight: 800; text-decoration: none; letter-spacing: .02em; }
.cta-band__tel::before { content: "📞 お電話でも歓迎 "; font-size: 13px; font-weight: 700; margin-right: 6px; }
.cta-band__tel:hover { background: rgba(232,115,74,.08); }
.cta-band__tel small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); }
.cta-band p.cta-band__note { margin: 10px 0 0; font-size: 12px; opacity: .9; }

/* ------------------------------------------------------------ 物件カード */
.bukken-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px;
}
.bukken-card {
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff;
  transition: box-shadow .2s, transform .2s;
}
.bukken-card:hover { box-shadow: 0 8px 22px rgba(13,60,120,.16); transform: translateY(-2px); }
.bukken-card__img { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--bg-soft); }
.bukken-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bukken-card__noimg {
  display: flex; align-items: center; justify-content: center; height: 100%;
  color: #aab; font-weight: 700; letter-spacing: .15em;
}
.bukken-badge {
  position: absolute; top: 8px; left: 8px; background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 3px;
}
.bukken-badge--closed { background: #9aa0a6; }
.bukken-card.is-closed .bukken-card__img img { filter: grayscale(.7); opacity: .75; }
.bukken-card__body { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 16px; }
.bukken-card__cat { font-size: 12px; color: var(--accent-dark); font-weight: 700; }
.bukken-card__title { font-size: 16px; font-weight: 700; color: var(--navy); line-height: 1.45; }
.bukken-card__price { color: #c62828; font-weight: 700; font-size: 18px; }
.bukken-card__price small { color: var(--muted); font-weight: 400; }
.bukken-card__addr, .bukken-card__access { font-size: 13px; color: var(--muted); line-height: 1.5; }
.bukken-empty { background: var(--bg-soft); border: 1px dashed var(--line); border-radius: 8px; padding: 22px; color: var(--muted); }

/* 成約実績カード（トップ / /sales-record-list/ 共通。build.mjs salesRecordCards()） */
.result-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.result-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 20px 22px; }
.result-card__head { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; }
.result-card__icon { width: 36px; height: 36px; flex-shrink: 0; }
.result-card__cat { margin: 0; font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .08em; }
.result-card h3 { margin: 0; color: var(--navy); font-size: 17px; line-height: 1.4; border: none; padding: 0; }
.result-card__size { color: var(--accent-dark); font-weight: 700; font-size: 14px; margin: 0 0 8px; }
.result-card__note { margin: 0; font-size: 14px; }

/* 対応エリア（/area/ と /area/<slug>/。build.mjs areaPage()） */
.area-intro p { font-size: 16px; line-height: 1.9; }
.area-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.area-facts h3 { margin: 0 0 8px; font-size: 15px; color: var(--accent-dark); }
.area-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.area-chips li { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 20px; padding: 5px 12px; font-size: 14px; }
.area-chips--links li { padding: 0; }
.area-chips--links a { display: block; padding: 6px 14px; color: var(--accent-dark); font-weight: 700; text-decoration: none; }
.area-chips--links a:hover { color: var(--accent); }
.area-services li { display: flex; flex-direction: column; gap: 8px; line-height: 1.7; }
.area-services li strong { margin: 0; font-size: 16px; }
.area-services li .btn-ghost { display: inline-block; align-self: flex-start; margin: auto 0 0; font-size: 14px; padding: 8px 16px; }
.area-grid { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.area-grid a { display: block; height: 100%; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; text-decoration: none; color: inherit; }
.area-grid a:hover { border-color: var(--accent); }
.area-grid strong { display: block; color: var(--navy); font-size: 17px; margin-bottom: 4px; }
.area-grid span { display: block; font-size: 13px; color: var(--muted); }
.area-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px 24px; margin: 0 0 24px; }
.area-links h3 { margin: 0 0 8px; font-size: 15px; color: var(--accent-dark); border-bottom: 2px solid var(--accent); padding-bottom: 4px; }
.area-links h3 a { color: inherit; text-decoration: none; }
.area-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.area-links a { color: var(--navy); font-size: 14px; }

.tenant-points li strong { font-size: 16px; }

/* 種別ハブ（/type/<slug>/）: 3意図の入口カード */
.intent-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.intent-card { background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 22px 22px 18px; display: flex; flex-direction: column; }
.intent-card:hover { border-color: var(--accent); }
.intent-card__label { margin: 0 0 6px; font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .08em; }
.intent-card h2 { margin: 0 0 8px; padding: 0; border: 0; font-size: 20px; color: var(--navy); }
.intent-card p { margin: 0 0 10px; font-size: 14px; line-height: 1.7; }
.intent-card__actions { margin-top: auto !important; }
.intent-card__actions a { margin: 4px 6px 0 0; padding: 10px 16px; font-size: 14px; }
.type-grid span { -webkit-line-clamp: unset; }

/* エリアページ内の駅ごとの解説（data/stations.json） */
.station-block { border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; margin: 0 0 16px; background: #fff; }
.station-block h3 { margin: 0 0 10px; font-size: 19px; color: var(--navy); display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.station-block h3 small { font-size: 12px; font-weight: 700; color: var(--accent); }
.station-block h3::before { content: "🚉"; font-size: 18px; }
.station-block p { margin: 0 0 10px; line-height: 1.85; }
.station-block__label { margin: 12px 0 6px !important; font-size: 13px; font-weight: 700; color: var(--accent-dark); }
.station-block__demand { margin: 0 0 10px; padding: 0 0 0 1.2em; }
.station-block__demand li { margin: 0 0 3px; font-size: 14px; }
.station-block__links { font-size: 13px; color: var(--muted); margin: 0 !important; }
.station-block__links a { color: var(--accent-dark); font-weight: 700; }

/* 用語集 */
.glossary-toc { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px 24px; }
.glossary-toc__label { margin: 0 0 8px; font-size: 14px; font-weight: 700; border-bottom: 2px solid var(--accent); padding-bottom: 4px; }
.glossary-toc__label a { color: var(--accent-dark); text-decoration: none; }
.glossary-toc ul { list-style: none; margin: 0; padding: 0; }
.glossary-toc li { margin: 0 0 4px; font-size: 14px; }
.glossary-toc li a { color: var(--navy); }
.glossary-term { border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; margin: 0 0 16px; background: #fff; scroll-margin-top: 90px; }
.glossary-term h3 { margin: 0 0 10px; font-size: 19px; color: var(--navy); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.glossary-term h3 small { font-size: 12px; font-weight: 400; color: var(--muted); }
.glossary-def { margin: 0 0 10px; font-size: 15px; line-height: 1.9; }
.glossary-practice { margin: 0 0 10px; padding: 10px 14px; background: var(--bg-soft); border-left: 4px solid var(--accent); font-size: 14px; line-height: 1.8; }
.glossary-practice strong { display: block; color: var(--accent-dark); font-size: 13px; margin-bottom: 2px; }
.glossary-links { margin: 0; font-size: 13px; color: var(--muted); }
.glossary-links a { color: var(--accent-dark); font-weight: 700; }
.glossary-top { float: right; font-weight: 400 !important; color: var(--muted) !important; }
.glossary-top::before { content: "▲ "; }
@media (max-width: 600px) { .glossary-term { padding: 16px 14px; } .glossary-top { float: none; display: block; margin-top: 6px; } }
@media (max-width: 600px) { .cta-band { padding: 24px 16px; } .cta-band h2 { font-size: 20px; } }

/* ------------------------------------------------------------ 物件詳細 */
.bukken-detail__header h1 { font-size: 30px; color: var(--navy); margin: 4px 0 18px; line-height: 1.4; }
.bukken-detail__cat { color: var(--accent-dark); font-weight: 700; margin: 0; font-size: 14px; }
.bukken-detail__cat .bukken-badge { position: static; margin-left: 10px; }
.bukken-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin: 0 0 12px; }
.bukken-gallery a:first-child { grid-column: 1 / -1; }
.bukken-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; aspect-ratio: 4 / 3; display: block; }
.bukken-gallery a:first-child img { aspect-ratio: 4 / 3; max-height: 560px; }
.bukken-table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.bukken-table th, .bukken-table td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; font-size: 15px; }
.bukken-table th { background: var(--bg-soft); color: var(--navy); width: 24%; font-weight: 600; white-space: nowrap; }
.bukken-price { color: #c62828; font-weight: 700; font-size: 20px; }
.bukken-note { font-size: 13px; color: var(--muted); }
.bukken-catch { margin: 10px 0 0; padding: 10px 14px; background: var(--bg-soft); border-left: 4px solid var(--accent); font-weight: 700; color: var(--navy); }
.bukken-files { margin: 12px 0 4px; font-size: 14px; }
.bukken-files a { color: var(--accent-dark); font-weight: 700; text-decoration: underline; }
.bukken-note-link { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.bukken-note-link a { color: var(--accent-dark); font-weight: 700; text-decoration: underline; }
.bukken-map { width: 100%; height: 360px; border: 1px solid var(--line); border-radius: 8px; }
.bukken-contact { background: var(--bg-soft); border-radius: 10px; padding: 24px 26px; }
.bukken-contact > h2 { border: none; padding-left: 0; font-size: 22px; }
.bukken-contact__tel a { font-size: 28px; font-weight: 700; color: var(--navy); text-decoration: none; }
.bukken-contact__tel small { display: block; color: var(--muted); }

/* ------------------------------------------------------- contact band */
/* 2026-10-01: 紺の帯をやめ、クリーム地＋代表写真の「顔が見える」帯に（全ページ共通） */
.contact-band { background: linear-gradient(135deg, #f5e9dc, var(--cream)); color: var(--navy); padding: 44px 16px; border-top: 3px solid var(--warm); }
.contact-band__inner { max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: 180px 1fr; gap: 32px; align-items: center; text-align: left; }
.contact-band__photo { width: 180px; height: 230px; object-fit: cover; object-position: top; border-radius: var(--radius); border: 5px solid #fff; box-shadow: var(--shadow); }
.contact-band__eyebrow { margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--warm-dark); }
.contact-band__title { margin: 0 0 8px; font-size: 26px; color: var(--navy); }
.contact-band__lead { margin: 0 0 18px; color: #4a5563; }
.contact-band__actions { display: flex; gap: 16px; justify-content: flex-start; flex-wrap: wrap; align-items: stretch; }
.contact-band__sub { margin: 12px 0 0; font-size: 13px; color: var(--muted); line-height: 1.7; }
.contact-band__note { margin: 10px 0 0; font-size: 12px; color: var(--muted); line-height: 1.7; }
/* 担当者ブロック（.rep-card）があるページでは写真と「代表が直接…」を出さず、中央揃えの帯にする（写真の重複を避ける。2026-10-01 ユーザー指示） */
.contact-band--plain .contact-band__inner { grid-template-columns: 1fr; max-width: 760px; text-align: center; }
.contact-band--plain .contact-band__actions { justify-content: center; }
.contact-band--plain .contact-band__alt { margin: 12px auto 0; }
@media (max-width: 820px) {
  .contact-band { padding: 32px 16px; }
  .contact-band__inner { grid-template-columns: 1fr; gap: 14px; text-align: center; }
  .contact-band__photo { width: 120px; height: 150px; margin: 0 auto; border-width: 4px; }
  .contact-band__title { font-size: 22px; }
  .contact-band__actions { justify-content: center; }
}
.contact-band__tel {
  background: #fff; color: var(--navy); border-radius: 8px; padding: 12px 28px;
  text-decoration: none; display: flex; flex-direction: column; line-height: 1.5;
}
.contact-band__tel-label { font-size: 12px; color: var(--muted); }
.contact-band__tel-number { font-size: 26px; font-weight: 700; }
.contact-band__tel-number::before { content: "📞 "; font-size: 18px; }
.contact-band__tel-hours { font-size: 11px; color: var(--muted); }
.contact-band__mail, .contact-band__line {
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px; padding: 12px 30px; font-weight: 700; text-decoration: none;
}
.contact-band__mail { background: var(--warm); color: #fff; }
.contact-band__mail:hover { background: var(--warm-dark); }
@media (max-width: 480px) { .contact-band__mail { width: 100%; padding: 14px 16px; font-size: 15px; box-sizing: border-box; } }
.contact-band__line { background: #06c755; color: #fff; }
.contact-band__line:hover { background: #05a648; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--navy); color: #c4cdd8; font-size: 14px; }
.footer-trust { margin: 10px 0 0; font-size: 12px; color: #aebccb; line-height: 1.8; }
.site-footer__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 44px 16px 24px;
  display: flex; gap: 40px; flex-wrap: wrap;
}
.footer-company { max-width: 320px; }
.footer-logo { margin: 0 0 12px; }
.footer-logo img { filter: brightness(0) invert(1); opacity: .92; }
.footer-sns a { color: #fff; margin-right: 14px; }
.footer-nav { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-nav__title { color: #fff; font-weight: 700; margin: 0 0 10px; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin: 0 0 8px; }
.footer-nav a { color: #c4cdd8; text-decoration: none; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-copy { text-align: center; margin: 0; padding: 16px; border-top: 1px solid rgba(255,255,255,.08); font-size: 12px; color: #8a96a3; }

/* ------------------------------------------------------------- mobile */
@media (max-width: 820px) {
  /* モバイルは固定バーが低いぶんオフセットも小さく（ヘッダー1行分） */
  html { scroll-padding-top: 72px; }
  .site-header__inner {
    flex-wrap: nowrap; justify-content: flex-start; gap: 8px; padding: 10px 12px;
  }
  .site-logo { flex: 1 1 auto; min-width: 0; }   /* ロゴが余白を取り、お問い合わせボタンとハンバーガーを右端に寄せる（2026-09-25） */
  .site-logo img { width: 150px; }
  .site-header__contact { display: none; }
  .header-cta { padding: 9px 12px; font-size: 12px; flex-shrink: 0; }

  /* ハンバーガーはヘッダー行の右端（問い合わせボタンの右）。ナビバーの行はスマホでは無くす
     （2026-09-21 ユーザー指示）。<label> は build.mjs で .site-header__inner の末尾に置き、
     チェックボックスは .global-nav 内に残す（label[for] で連動）。開いたメニューは紺のオーバーレイ */
  .global-nav { position: static; background: transparent; border: 0; height: 0; }
  .nav-toggle-label {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 40px; height: 38px; padding: 9px 9px; cursor: pointer; flex-shrink: 0; margin-left: -2px;
    appearance: none; background: none; border: 0; border-radius: 6px;   /* <button>（アクセシビリティ監査対応: label に aria-label は不可。2026-09-27） */
  }
  .nav-toggle-label:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .nav-toggle-label span { display: block; height: 2px; background: var(--navy); border-radius: 2px; }
  .global-nav__list { display: none; flex-direction: column; flex-wrap: nowrap; }
  /* 開いたメニューは sticky なヘッダーの直下に絶対配置し、スクロール可能にする */
  .nav-toggle:checked ~ .global-nav__list {
    display: flex; position: absolute; top: 100%; left: 0; right: 0; z-index: 90;
    background: var(--trust); box-shadow: 0 14px 28px rgba(21,33,46,.3);
    max-height: calc(100vh - 70px); overflow-y: auto;
  }
  .global-nav__list > li > a { border-top: 1px solid rgba(255,255,255,.1); }
  .global-nav .sub-menu { display: block; position: static; box-shadow: none; background: var(--trust-dark); border-radius: 0; padding: 0; }
  .global-nav .sub-menu a { padding-left: 28px; }

  .page-hero h1 { font-size: 24px; }
  .page-section > h2 { font-size: 21px; }
  .bukken-detail__header h1 { font-size: 23px; }
  .site-main { padding: 22px 14px 48px; }
}

/* ---------------------------------------------------------------- 温かみのあるトーン（.br スコープ）: 貸したいオーナー様へ／店舗売却 など */
.br { --warm: #e8734a; --warm-dark: #c9552f; --cream: #fbf7f0; }
.br-tags { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.br-tags li { background: #fff; border: 2px solid var(--warm); color: var(--warm-dark); font-weight: 700; font-size: 14px; padding: 5px 14px; border-radius: 20px; }
.page-section h2.br-h2 { text-align: center; border: 0; padding: 0; margin: 0 0 6px; font-size: 28px; color: var(--navy); }
.br-h2 .em { color: var(--warm); }
.br-en { text-align: center; color: var(--warm); font-weight: 700; letter-spacing: .2em; font-size: 13px; margin: 0 0 26px; }
.br-badge { display: table; margin: 0 auto 10px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 700; padding: 6px 18px; border-radius: 20px; }

/* ごあいさつ */
.br-greeting { display: grid; grid-template-columns: 1fr 1.15fr; gap: 32px; align-items: center; }
.br-greeting img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.br-greeting h2 { border: 0; padding: 0; margin: 0 0 12px; font-size: 24px; line-height: 1.5; color: var(--navy); }
.br-greeting h2 .em { color: var(--warm); }
.br-greeting p { line-height: 1.9; }
.br-greeting .sign { margin-top: 14px; font-weight: 700; color: var(--navy); }
.br-greeting .sign small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }

/* お悩み */
.br-worry { background: var(--bg-soft); border-radius: 16px; padding: 32px 24px; }
.br-worry ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.br-worry li { background: #fff; border-radius: 12px; padding: 14px 18px; display: flex; align-items: center; gap: 16px; font-size: 17px; font-weight: 700; color: var(--navy); box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.br-worry img { width: 56px; height: 64px; flex-shrink: 0; }
.br-worry .em { color: var(--warm); font-size: 21px; }

/* ワンストップ */
/* 2026-10-01: 縞の背景は本文の行に重なって崩れて見えたため、無地のクリーム＋薄い枠に */
.br-onestop { text-align: center; padding: 36px 24px; border-radius: 16px; background: var(--cream); border: 1px solid var(--line); }
.br-onestop h2 { border: 0; padding: 0; margin: 0 0 14px; color: var(--warm-dark); font-size: 24px; }
.br-onestop p { max-width: 760px; margin: 0 auto; line-height: 2; text-align: left; }
.br-onestop .br-en { text-align: center; margin-bottom: 14px; }
.br-onestop mark { background: linear-gradient(transparent 55%, #fff3b0 55%); }

/* 選ばれる理由 */
.br-reasons { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.br-reasons li { flex: 0 1 calc(33.333% - 15px); min-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; position: relative; }
.br-reasons img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.br-reasons .num { position: absolute; top: 8px; left: 14px; font-size: 40px; font-style: italic; font-weight: 800; color: var(--warm); text-shadow: 0 1px 8px rgba(255,255,255,.9); line-height: 1; }
.br-reasons h3 { margin: 14px 18px 6px; font-size: 17px; color: var(--warm-dark); text-align: center; }
.br-reasons p { margin: 0 18px 18px; font-size: 14px; line-height: 1.8; }

/* 流れ */
.br-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: f; }
.br-flow li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 0 4px; }
.br-flow li::before { counter-increment: f; content: counter(f); position: absolute; top: 8px; left: 8px; z-index: 1; width: 32px; height: 32px; border-radius: 50%; background: var(--warm); color: #fff; text-align: center; line-height: 32px; font-size: 15px; font-weight: 800; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.br-flow img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; border-radius: 12px 12px 0 0; }
.br-flow span { display: block; padding: 12px 10px 10px; font-size: 15px; font-weight: 700; color: var(--navy); line-height: 1.5; text-align: center; }

/* CTA の色は site 共通の .cta-band に統一済み（2026-09-26） */

@media (max-width: 820px) {
  .br-greeting { grid-template-columns: 1fr; }
  .br-reasons li { flex-basis: 100%; }
  .br-h2 { font-size: 23px; }
  /* スマホでは見出し・英字ラベルを左揃え（本文とのずれを防ぐ。帯状の .br-onestop と CTA は中央のまま。2026-09-25） */
  .page-section h2.br-h2, .br-en { text-align: left; }
  .br-onestop .br-en, .br-onestop h2.br-h2 { text-align: center; }
  .br-worry { padding: 22px 14px; }
  .br-worry li { font-size: 15px; }
  .br-worry .em { font-size: 18px; }
}
@media (max-width: 900px) { .br-flow { grid-template-columns: repeat(2, 1fr); gap: 12px; } .br-flow span { font-size: 14px; } }
/* 種別ハブを温かみのあるトーンで */
.br .intent-card { border-color: #f1dccd; }
.br .intent-card:hover { border-color: var(--warm); }
.br .intent-card__label { color: var(--warm-dark); }
.br .intent-card h2 { color: var(--navy); }
/* .br 追加部品: 5〜6ステップの流れ、アイコン型の理由カード、横長バナー、2カラム、反転グリーティング、メリット番号 */
.br-flow--6 { grid-template-columns: repeat(6, 1fr); }
.br-flow--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1000px) { .br-flow--6, .br-flow--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .br-flow--6, .br-flow--5 { grid-template-columns: repeat(2, 1fr); } }
.br-reasons--icon img { object-fit: contain; padding: 22px 36px; box-sizing: border-box; background: var(--cream); }
.br-reasons--icon li { flex-basis: calc(33.333% - 15px); }
.br-banner { display: block; position: relative; border-radius: 14px; overflow: hidden; text-decoration: none; color: #fff; }
.br-banner img { width: 100%; height: 220px; object-fit: cover; display: block; filter: brightness(.7); }
.br-banner__text { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 24px 32px; font-size: 15px; line-height: 1.7; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.br-banner__text strong { font-size: 26px; margin-bottom: 6px; }
.br-banner__text::after { content: "→ 空き家対策の詳細を見る"; margin-top: 10px; font-weight: 700; }
.br-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.br-col { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; }
.br-col h3 { margin: 0 0 10px; color: var(--warm-dark); font-size: 18px; }
.br-col ul { margin: 0 0 12px; padding-left: 1.2em; }
.br-col li { margin: 0 0 4px; font-size: 14px; }
.br-col p { margin: 0; font-size: 14px; color: var(--muted); }
.br-greeting--reverse img { order: 2; }
.br-greeting .area-chips { margin: 8px 0 0; }
.br-merits li strong { color: var(--warm-dark); }
@media (max-width: 820px) {
  .br-cols { grid-template-columns: 1fr; }
  .br-greeting--reverse img { order: 0; }
  .br-banner img { height: 260px; }
  .br-banner__text { padding: 18px 16px; font-size: 14px; }
  .br-banner__text strong { font-size: 21px; }
  .br-reasons--icon li { flex-basis: 100%; }
}

/* エリア写真（一覧カード・エリアページのアイキャッチ） */
.area-grid--photo a { padding: 0; overflow: hidden; }
.area-grid--photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.area-grid--photo strong { margin: 12px 18px 4px; font-size: 17px; }
.area-grid--photo span { margin: 0 18px 16px; }
.area-eyecatch { margin: 0 0 28px; }
.area-eyecatch img { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; border-radius: 14px; display: block; }
.area-eyecatch figcaption { margin: 6px 0 0; font-size: 11px; color: var(--muted); text-align: right; }
.area-eyecatch figcaption a { color: var(--muted); }
.area-credits { font-size: 11px; color: var(--muted); text-align: right; margin: 0 0 8px; }
.area-credits ul { columns: 2; column-gap: 32px; padding-left: 1.2em; margin: 8px 0 0; }
.area-credits li { margin: 0 0 4px; break-inside: avoid; }
.area-credits a { color: var(--muted); }
@media (max-width: 820px) { .area-eyecatch img { aspect-ratio: 16 / 9; } .area-credits ul { columns: 1; } }
.page-hero h1 small { display: block; font-size: 15px; font-weight: 700; color: var(--accent); margin-top: 6px; letter-spacing: .02em; }
/* エリアページのヒーロー: H1 は「{地域}の事業用不動産｜売却・買取…」を span なしの1テキストで出す（要素を分けると Google が H1 からタイトルを作る際に「 - ｜ - 」でつなぐため。2026-09-18）。tagline は catch として H1 直下に出す */
.page-hero__catch { margin: 0 0 12px; font-size: 16px; font-weight: 700; color: var(--accent-dark); }
.intent-section h2 { scroll-margin-top: 90px; }

/* 送信完了のポップアップ（お問い合わせ・物件リクエスト） */
.done-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(21,33,46,.6); }
.done-modal[hidden] { display: none; }
.done-modal__card { background: #fff; border-radius: 16px; padding: 36px 32px 28px; max-width: 480px; width: 100%; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.3); animation: done-pop .25s ease-out; }
@keyframes done-pop { from { transform: translateY(12px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.done-modal__icon { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: #e8f8ee; color: #06752f; display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 800; }
.done-modal__title { margin: 0 0 10px; font-size: 22px; color: var(--navy); }
.done-modal__text { margin: 0 0 6px; font-size: 15px; line-height: 1.8; }
.done-modal__note { margin: 0 0 20px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.done-modal__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.done-modal__actions a, .done-modal__actions button { margin: 0; font-family: inherit; cursor: pointer; }
@media (max-width: 600px) { .done-modal__card { padding: 28px 20px 22px; } .done-modal__title { font-size: 19px; } }

/* サイトの役割表示（ヘッダー）と位置づけ注記（フッター） */
.site-logo { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.site-role { font-size: 12px; font-weight: 700; color: var(--accent-dark); background: #eef4fc; border-radius: 20px; padding: 4px 12px; white-space: nowrap; }
.footer-note { max-width: var(--maxw); margin: 24px auto 0; padding: 14px 16px 0; border-top: 1px solid rgba(255,255,255,.15); font-size: 12px; color: #aebccb; line-height: 1.8; }
.footer-note a { color: #fff; }
@media (max-width: 820px) { .site-role { display: none; } }

/* 管理物件・自社所有物件（/managed-properties/ とエリアページの管理物件節）。photo が無い間は文字だけのカード */
.mp-group { margin: 26px 0 0; font-size: 17px; color: var(--navy); border-left: 4px solid var(--warm); padding-left: 10px; }
.mp-grid { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.mp-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.mp-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.mp-card__body { padding: 12px 14px 14px; }
.mp-card__kind { margin: 0 0 4px; font-size: 11px; font-weight: 700; color: var(--warm-dark, #b5532c); letter-spacing: .06em; }
.mp-card__kind span { margin-left: 8px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.mp-card h3 { margin: 0 0 4px; font-size: 16px; color: var(--navy); border: 0; padding: 0; line-height: 1.4; }
.mp-card__addr { margin: 0; font-size: 13px; color: var(--muted); }

/* 実績3ページ（自社所有／管理物件／仲介実績）の切り替えタブ */
.record-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.record-tabs__item { display: inline-block; padding: 8px 16px; border-radius: 20px; border: 2px solid var(--line); font-size: 14px; font-weight: 700; color: var(--navy); text-decoration: none; background: #fff; }
.record-tabs__item:hover { border-color: var(--accent); }
.record-tabs__item.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* 実績ページのリード文はスマホでは非表示（2026-09-21 ユーザー指示）。注記は小さく */
.mp-note { margin: -4px 0 12px; font-size: 13px; color: var(--muted); }
@media (max-width: 820px) { .page-hero__lead--pc { display: none; } }
/* 写真付きと写真なしが混在するグリッド（自社所有）では、写真なしカードに文字なしの薄い枠（建物アイコン）を置いて高さを揃える。「写真準備中」の文言は出さない（2026-09-21 ユーザー指示） */
.mp-grid--mixed .mp-card:not(.mp-card--photo)::before { content: ""; display: block; aspect-ratio: 3 / 2; background: var(--bg-soft) url("/img/icon-business.svg") center / 44px no-repeat; opacity: .55; border-bottom: 1px solid var(--line); }

/* 担当者ブロック（営業用ページ共通。build.mjs repCardHtml）。PC は写真を左に縦通し、スマホは写真＋氏名を1段目、本文を全幅の2段目に */
.rep-card { display: grid; grid-template-columns: 132px 1fr; grid-template-areas: "photo head" "photo text" "photo links"; column-gap: 22px; row-gap: 8px; align-items: start; background: #fffaf5; border: 1px solid var(--line); border-left: 6px solid var(--warm); border-radius: 12px; padding: 22px 24px; }
.rep-card__photo { grid-area: photo; width: 132px; height: 176px; object-fit: cover; object-position: top; border-radius: 10px; }
.rep-card__head { grid-area: head; min-width: 0; }
.rep-card__label { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--warm-dark); }
.rep-card__name { margin: 0; font-size: 22px; font-weight: 800; color: var(--navy); line-height: 1.3; }
.rep-card__name span { display: inline-block; margin-left: 10px; font-size: 13px; font-weight: 700; color: var(--muted); }
.rep-card__quals { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.rep-card__text { grid-area: text; margin: 0; font-size: 14px; line-height: 1.85; }
.rep-card__links { grid-area: links; margin: 4px 0 0; display: flex; gap: 14px; font-size: 13px; }
.rep-card__links a { font-weight: 700; }
@media (max-width: 700px) {
  .rep-card { grid-template-columns: 96px 1fr; grid-template-areas: "photo head" "text text" "links links"; column-gap: 14px; padding: 16px; }
  .rep-card__photo { width: 96px; height: 128px; }
  .rep-card__name { font-size: 19px; }
  .rep-card__name span { display: block; margin: 2px 0 0; }
  .rep-card__text { font-size: 13.5px; }
}

/* お知らせ（/news/、トップの <!--NEWS-->、build.mjs newsListHtml） */
.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.news-item { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.news-item time { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.news-item__cat { font-size: 11px; font-weight: 700; color: var(--accent-dark); background: #eef4fc; border-radius: 20px; padding: 2px 10px; white-space: nowrap; }
.news-item a { flex: 1 1 320px; font-weight: 700; color: var(--navy); text-decoration: none; text-wrap: pretty; word-break: auto-phrase; }
.news-item a:hover { text-decoration: underline; }
.top-news .news-list { max-width: 900px; margin: 0 auto 18px; }
.news-article__meta { margin: 0 0 8px; display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); }
.news-article__body .info-table th { width: 9em; white-space: nowrap; }
.news-note { font-size: 13px; color: var(--muted); }
@media (max-width: 700px) { .news-article__body .info-table th { width: 7em; } }

/* 横に広い表はスマホで横スクロール（本文は横スクロールさせない） */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll .info-table { min-width: 640px; }
/* 写真なしカードのプレースホルダはスマホ（1列）では不要 */
@media (max-width: 700px) { .mp-grid--mixed .mp-card:not(.mp-card--photo)::before { display: none; } }

/* =============================================================================
   2026-10-01 デザイン刷新（安心して任せられる雰囲気）: 角丸14px・柔らかい影・FAQ の Q/A バッジ・信頼情報の帯
   ========================================================================== */
.point-grid li, .step-list > li, .faq-item, .service-card, .strength-card, .intent-card, .mp-card, .result-card,
.staff-card, .contact-card, .lead-cta, .cta-band, .rep-card, .mid-cta, .news-list, .area-card, .type-card, .sf-form-wrap, .br-greeting img { border-radius: var(--radius); }
.service-card, .strength-card, .intent-card, .step-list > li, .faq-item, .mp-card { box-shadow: var(--shadow); border-color: var(--line); }
.service-card:hover, .intent-card:hover { box-shadow: 0 10px 28px rgba(21,33,46,.10); }
.step-list > li { border-left: 4px solid var(--accent); padding-left: 68px; }
.step-list > li::before { left: 18px; }
.strength-card { border-top-width: 5px; }
/* スマホでは数字カードを2列に（1列だと4枚で画面2つ分になり間延びする） */
@media (max-width: 820px) {
  .strength-band { grid-template-columns: 1fr 1fr; gap: 10px; }
  .strength-card { padding: 18px 10px 16px; }
  .strength-card__num { font-size: 30px; }
  .strength-card__desc { font-size: 12.5px; }
}
/* 先頭導線の下の1行の信頼情報（帯の代わり。2026-10-01: 導線の✔と帯が重複していたため） */
.lead-cta__trust { grid-column: 1 / -1; margin: 4px 0 0; padding-top: 12px; border-top: 1px dashed rgba(232,115,74,.45); font-size: 12px; color: var(--muted); text-align: center; line-height: 1.7; }
.faq-item { padding: 18px 20px; }
.faq-q, .faq-a { padding-left: 38px; position: relative; }
.faq-q::before, .faq-a::before {
  position: absolute; left: 0; top: 1px; display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%; font-size: 13px; font-weight: 800; line-height: 1;
}
.faq-q::before { content: "Q"; background: var(--accent); color: #fff; }
.faq-a::before { content: "A"; background: var(--warm); color: #fff; }
.header-cta, .lead-cta__main, .contact-band__mail, a.btn-primary[href^="/contact/"], .btn-cta, button.btn-primary, .cta-band .btn-white { box-shadow: 0 4px 14px rgba(232,115,74,.28); }
.breadcrumb { background: transparent; border-bottom: 0; }
.breadcrumb ol { padding-bottom: 0; }

/* 信頼情報の帯（トップのヒーロー直下と、先頭導線 .lead-cta の直後に build.mjs が出す） */
.trust-strip { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.trust-strip li { display: grid; grid-template-columns: 34px 1fr; gap: 0 10px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.trust-strip svg { grid-row: 1 / 3; width: 30px; height: 30px; margin-top: 2px; color: var(--accent); }
.trust-strip strong { font-size: 14px; color: var(--navy); line-height: 1.45; }
.trust-strip span { font-size: 12px; color: var(--muted); line-height: 1.6; }
.trust-strip--hero { max-width: var(--maxw); margin: 0 auto; padding: 0 24px 32px; }
.lead-cta + .trust-strip { margin: 14px 0 32px; }
@media (max-width: 900px) { .trust-strip { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
@media (max-width: 820px) { .trust-strip--hero { padding: 0 16px 22px; } }
/* 幅 480px 以下は1列（2列だと「しつこい営業はし／ません」のような折り返しになるため） */
@media (max-width: 480px) {
  .trust-strip { grid-template-columns: 1fr; gap: 8px; }
  .trust-strip li { padding: 10px 12px; grid-template-columns: 30px 1fr; }
  .trust-strip svg { width: 26px; height: 26px; }
  .trust-strip strong { font-size: 13.5px; }
  .trust-strip span { font-size: 12px; }
}

/* お知らせ: 完全非公開物件の注記（本文冒頭。2026-10-01 ユーザー指示） */
.news-private { background: var(--warm-soft); border: 2px solid var(--warm); border-radius: 12px; padding: 14px 18px; margin: 0 0 20px; font-size: 15px; }
.news-private strong { color: var(--warm-dark); display: block; margin-bottom: 4px; font-size: 16px; }
