/* =========================================================
   磐田物語 共通グローバルヘッダー
   - 全ページ共通。トップページ(index.html)の見た目に統一。
   - 既存ページのインラインCSSと衝突しないよう gh- 接頭辞の独立クラスを使用。
   - 色はトップページの値をハードコードし、各ページの:root変数に依存しない。
   ========================================================= */
.gh-site{
  background:#6fb7d8;
  border-bottom:1px solid #d8e8ef;
  position:sticky; top:0; z-index:50;
  overflow:hidden;
  min-height:72px; height:auto;
  box-sizing:border-box;
  box-shadow:0 1px 6px rgba(31,58,72,.12);
  font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
}
.gh-bar{
  display:flex; align-items:center; justify-content:space-between;
  min-height:72px; height:auto; max-width:1180px; margin:0 auto; padding:8px 22px; gap:16px;
}
.gh-brand{ display:flex; flex-direction:column; justify-content:center; align-items:flex-start; gap:2px; text-decoration:none; min-width:0; line-height:1.15; }
.gh-logo{ font-family:"Shippori Mincho",serif; font-weight:800; font-size:25px; color:#1f3a48; white-space:nowrap; }
.gh-dot{ color:#2f7fa3; }
.gh-sub{ font-size:12px; color:#5b6b74; letter-spacing:.06em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:38vw; }
.gh-menu{ display:flex; align-items:center; gap:20px; flex-wrap:nowrap; }
.gh-menu a{ color:#1f3a48; font-size:14px; font-weight:500; text-decoration:none; white-space:nowrap; }
.gh-menu a:hover{ color:#1f4f6f; }

:target,
section[id],
h2[id],
h3[id]{
  scroll-margin-top:88px;
}

/* パンくず（ヘッダー直下に配置されるページ向け） */
.gh-breadcrumb{
  max-width:1180px; margin:0 auto; padding:8px 22px;
  font-size:12.5px; color:#5b6b74;
  font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
  border-bottom:1px solid #eef4f7;
}
.gh-breadcrumb a{ color:#2f7fa3; text-decoration:none; }
.gh-breadcrumb a:hover{ text-decoration:underline; }

@media(max-width:760px){
  .gh-site{ min-height:auto; }
  .gh-bar{ min-height:auto; height:auto; flex-wrap:wrap; padding:8px 14px; gap:6px 14px; }
  .gh-sub{ display:none; }
  .gh-menu{ width:100%; gap:0; flex-wrap:nowrap; overflow-x:auto; -webkit-overflow-scrolling:touch; }
  .gh-menu a{ flex:0 0 auto; padding:6px 12px; white-space:nowrap; }
  :target,
  section[id],
  h2[id],
  h3[id]{
    scroll-margin-top:96px;
  }
}

/* === 高齢者配慮：既定の本文サイズ（site-header.css を読み込む全ページ共通） === */
/* 各ページのインライン body{font-size:..} より優先させるため !important を付与 */
body{ font-size:20px !important; }
@media(max-width:680px){ body{ font-size:19px !important; } }

/* ============================================================================
   嫌がられにくい不動産相談導線（local-property-note）
   ============================================================================ */
.local-property-note {
  margin: 3rem auto 2rem;
  max-width: 760px;
  padding: 1.5rem 1.6rem;
  border: 1px solid rgba(120, 92, 60, 0.24);
  border-left: 5px solid var(--accent, #8a6a43);
  border-radius: 12px;
  background: #fbf8f1;
  color: var(--accent-ink, #2f2a24);
}

.local-property-note h2 {
  margin: 0 0 0.9rem;
  font-size: 1.18rem;
  line-height: 1.5;
  color: var(--accent-ink, #2f2a24);
}

.local-property-note p {
  margin: 0.65rem 0;
  line-height: 1.9;
}

.local-property-note__link-wrap {
  margin-top: 1.1rem;
  display: flex;
  justify-content: center;
}

.local-property-note__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  text-align: center;
  white-space: normal;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--accent, rgba(120, 92, 60, 0.35));
  background: #fff;
  color: var(--accent, #5c4326);
  font-weight: 600;
  text-decoration: none;
}

.local-property-note__link:hover,
.local-property-note__link:focus {
  text-decoration: underline;
  background: var(--accent-soft, #f7f2e9);
}

@media (max-width: 640px) {
  .local-property-note {
    margin: 2.2rem 0 1.6rem;
    padding: 1.2rem 1.1rem;
    border-radius: 10px;
  }

  .local-property-note h2 {
    font-size: 1.08rem;
  }

  .local-property-note__link {
    display: inline-flex;
    text-align: center;
  }
}
