@charset "utf-8";

/* ==========================================================
   全国空き家アドバイザー協議会 広島県府中支部 ／ v5
   common.css — 共通パーツ（変数・リセット・ヘッダー・ナビ・フッター・ユーティリティ）
   mac_wordpress_common_rules.md 準拠
   ----------------------------------------------------------
   設計方針：
   - 本部 akiya-adviser.org のトーン＆マナーに準拠（緑基調・白背景・公的）
   - 全社共通変数命名（--brand-main / --text-main 等）を採用
   - 既存インライン<style>で使われたローカル名（--green, --ink 等）はエイリアスとして残置
   - 本体由工房（オレンジ基調）とは別建てWordPressのため、変数の実値が異なる
========================================================== */

/*------------------------------------
変数（CSSカスタムプロパティ）
------------------------------------*/
:root {

  /* ==========================================================
     [v5] 全社共通変数（mac_wordpress_common_rules.md §6-1 準拠）
  ========================================================== */
  --brand-main: #2D5F3F;

/* ========================================================== */
/*  本部準拠の緑（プライマリ）  */
/* ========================================================== */
  --brand-accent: #1F4730;

/* ========================================================== */
/*  ホバー時の濃い緑  */
/* ========================================================== */
  --bg-sub: #F6F8F5;

/* ========================================================== */
/*  薄いオフグリーン  */
/* ========================================================== */
  --bg-alt: #FBFBF8;

/* ========================================================== */
/*  もう一段明るい背景  */
/* ========================================================== */
  --border-light: #D9DEDA;

/* ========================================================== */
/*  罫線  */
/* ========================================================== */
  --text-main: #1F2A2A;

/* ========================================================== */
/*  本文（ややダークグリーン寄り）  */
/* ========================================================== */
  --text-sub: #4A5A55;

/* ========================================================== */
/*  サブテキスト  */
/* ========================================================== */
  --text-mute: #7A857F;

/* ========================================================== */
/*  キャプション  */
/* ========================================================== */
  --font-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --container: 1080px;

  /* ==========================================================
     協議会固有の追加変数
  ========================================================== */
  --brand-soft: #E8F0EA;

/* ========================================================== */
/*  緑のごく薄い背景  */
/* ========================================================== */
  --accent-orange: #E89A2E;

/* ========================================================== */
/*  由工房オレンジ差し色  */
/* ========================================================== */
  --accent-orange-deep: #C97D14;
  --line-soft: #ECEFEB;

/* ========================================================== */
/*  罫線薄い  */
/* ========================================================== */
  --gutter: 24px;

/* ========================================================== */
/*  セマンティック・バッジ色  */
/* ========================================================== */
  --badge-info: #3D7BBF;

/* ========================================================== */
/*  設立総会・連携 等  */
/* ========================================================== */
  --badge-new: #D9534F;

/* ========================================================== */
/*  New  */
/* ========================================================== */
  --badge-warn: #8A6A00;

/* ========================================================== */
/*  placeholder text  */
/* ========================================================== */
  --badge-rest-bg: #F4D9D9;
  --badge-rest-tx: #9A2A2A;
  --badge-open-bg: #D6E8D6;
  --badge-open-tx: #2F6B2F;

/* ========================================================== */
/*  フォント（協議会はゴシック中心）  */
/* ========================================================== */
  --font-serif: "Noto Serif JP", serif;

  /* ==========================================================
     [v5 LEGACY ALIAS] v4以前のインライン<style>で使用されたローカル名
     既存ページは順次 standard 名へ移行。新規ページでは使わない。
  ========================================================== */
  --bg: #FFFFFF;
  --bg-soft: var(--bg-sub);
  --bg-line: #E6EAE3;
  --ink: var(--text-main);
  --ink-2: var(--text-sub);
  --ink-3: var(--text-mute);
  --line: var(--border-light);
  --green: var(--brand-main);
  --green-deep: var(--brand-accent);
  --green-soft: var(--brand-soft);
  --orange: var(--accent-orange);
  --orange-deep: var(--accent-orange-deep);
  --red: var(--badge-new);
  --blue: var(--badge-info);
  --purple: #7B5BA1;
  --max: var(--container);
  --sans: var(--font-base);
  --radius: 14px;
  --radius-sm: 6px;
}

/*------------------------------------
リセット・基本
------------------------------------*/
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale
}
body {
  font-family: var(--font-base);
  font-weight: 400;
  color: var(--text-main);
  background: var(--bg);
  line-height: 1.8;
  font-size: 16.5px;
}
a {
  color: var(--brand-main);
  text-decoration: none;
  transition: color .2s ease
}
a:hover {
  color: var(--brand-accent);
  text-decoration: underline;
  text-underline-offset: 3px
}
img {
  max-width: 100%;
  display: block
}
ul,
ol {
  margin: 0;
  padding: 0
}
li {
  list-style: none
}
button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit
}
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter)
}

/*------------------------------------
[v5 共通ルール §6-3] 共通ユーティリティクラス
------------------------------------*/

/* ========================================================== */
/*  Top thin bar  */
/* ========================================================== */
.topbar {
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13.5px;
  color: var(--text-mute)
}
.topbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 6px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap
}
.topbar a {
  color: var(--text-mute)
}
.topbar a:hover {
  color: var(--brand-main)
}
.topbar .lnk-back::before {
  content: "‹ ";
  color: var(--text-mute)
}

/* 外部リンクの右斜め上矢印（旧テキスト「↗」の置換）。約13px・色はリンク文字色に追従 */
.topbar a[target="_blank"]::after,
.ftr a[target="_blank"]::after,
.ml-info a[target="_blank"]::after,
.org-table td a[target="_blank"]::after {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-left: .3em;
  vertical-align: -2px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2.5'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cline%20x1='7'%20y1='17'%20x2='17'%20y2='7'/%3E%3Cpolyline%20points='7%207%2017%207%2017%2017'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2.5'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cline%20x1='7'%20y1='17'%20x2='17'%20y2='7'/%3E%3Cpolyline%20points='7%207%2017%207%2017%2017'/%3E%3C/svg%3E") no-repeat center / contain
}

/* ===== Header（BEM新規 + 旧.ah-* エイリアス）===== */
.header {
  background: #fff;
  padding: 20px 0 6px;
  border-bottom: 1px solid var(--line-soft)
}
.header__row {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px
}
.header__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none !important;
  color: var(--text-main)
}
.header__mark {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center
}
.header__mark svg {
  width: 46px;
  height: 46px;
  display: block
}
.header__name {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.25
}
.header__name-pre {
  font-size: 13.5px;
  color: var(--text-sub);
  font-weight: 500;
  letter-spacing: .04em
}
.header__name-main {
  font-size: 20px;
  color: var(--text-main);
  font-weight: 700;
  letter-spacing: .04em
}
.header__name-main em {
  font-style: normal;
  color: var(--brand-main);
  margin-left: 4px
}
.header__nav {
  margin-top: 14px;
  border-top: 1px solid var(--line-soft);
  padding-top: 10px
}
.header__nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap
}
.header__nav-link {
  padding: 8px 16px;
  color: var(--text-main);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: .02em;
  display: inline-flex;
  align-items: center;
  gap: 4px
}
.header__nav-link:hover {
  color: var(--brand-main);
  text-decoration: none
}
.header__nav-link--active {
  color: var(--brand-main);
  position: relative
}
.header__nav-link--active::after {
  content: "";
  position: absolute;
  bottom: -11px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  border-bottom: 2px solid var(--brand-main)
}
@media(max-width:560px) {
  .header__name-main {
    font-size: 17px
  }
  .header__name-pre {
    font-size: 12.5px
  }
}
@media(max-width:680px) {
  .header__nav-inner {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch
  }
  .header__nav-link {
    white-space: nowrap;
    padding: 8px 12px
  }
}

/* ===== 旧クラス名（.ah-*）エイリアス（過渡期 v4→v5 移行用）===== */
.ah {
  background: #fff;
  padding: 20px 0 6px;
  border-bottom: 1px solid var(--line-soft)
}
.ah-row1 {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px
}
.ah-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none !important;
  color: var(--text-main)
}
.ah-brand:hover {
  color: var(--text-main)
}
.ah-mark {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center
}
.ah-mark svg {
  width: 46px;
  height: 46px;
  display: block
}
.ah-name {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.25
}
.ah-name .a {
  font-size: 13.5px;
  color: var(--text-sub);
  font-weight: 500;
  letter-spacing: .04em
}
.ah-name .b {
  font-size: 20px;
  color: var(--text-main);
  font-weight: 700;
  letter-spacing: .04em
}
.ah-name .b em {
  font-style: normal;
  color: var(--brand-main);
  margin-left: 4px
}
@media(max-width:560px) {
  .ah-name .b {
    font-size: 17px
  }
  .ah-name .a {
    font-size: 12.5px
  }
}

/* ===== 公式ロゴ画像（.ah-logo / .ah-branch）ヘッダー版 ===== */
.ah-brand {
  align-items: center;
  gap: 12px
}
.ah-logo {
  height: auto;
  width: auto;
  max-width: 312px;
  max-height: 62px;
  display: block;
  flex-shrink: 0;
  object-fit: contain
}
.ah-branch {
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  color: var(--text-main);
  font-weight: 600;
  letter-spacing: .08em;
  padding: 0;
  background: transparent;
  border: none;
  border-left: 1px solid var(--line);
  padding-left: 12px;
  line-height: 1.3
}
@media(max-width:680px) {
  .ah-logo {
    max-width: 240px;
    max-height: 50px
  }
  .ah-branch {
    font-size: 14.5px;
    padding-left: 10px;
    letter-spacing: .06em
  }
}
@media(max-width:480px) {
  .ah-row1 {
    flex-wrap: wrap;
    gap: 6px
  }
  .ah-brand {
    gap: 10px;
    flex-wrap: nowrap
  }
  .ah-logo {
    max-width: 216px;
    max-height: 46px
  }
  .ah-branch {
    font-size: 13.5px;
    padding-left: 8px;
    letter-spacing: .04em
  }
}
.ah-nav {
  margin-top: 14px;
  border-top: 1px solid var(--line-soft);
  padding-top: 10px
}
.ah-nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap
}
.ah-nav a {
  padding: 8px 16px;
  color: var(--text-main);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: .02em;
  display: inline-flex;
  align-items: center;
  gap: 4px
}
.ah-nav a:hover {
  color: var(--brand-main);
  text-decoration: none
}
.ah-nav a.cur,
.ah-nav a[aria-current="page"] {
  color: var(--brand-main);
  position: relative
}
.ah-nav a.cur::after,
.ah-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: -11px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  border-bottom: 2px solid var(--brand-main)
}
@media(max-width:680px) {
  .ah-nav-inner {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch
  }
  .ah-nav a {
    white-space: nowrap;
    padding: 8px 12px
  }
}

/* ========================================================== */
/*  Section base  */
/* ========================================================== */
section.sec {
  padding: 60px 0 30px
}
.sec-head {
  text-align: center;
  margin-bottom: 30px
}
.sec-title {
  display: inline-block;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
  letter-spacing: .06em;
  padding: 0 24px;
  position: relative
}
.sec-title::before,
.sec-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 80px;
  border-top: 1px dotted var(--text-mute)
}
.sec-title::before {
  right: 100%
}
.sec-title::after {
  left: 100%
}
/* SP：見出し左右の点線を短く（top.cssから移設 2026-08-28） */
@media (max-width:560px) {
  .sec-title::before,
  .sec-title::after {
    width: 30px
  }
}

/* ========================================================== */
/*  page-hero（共通ルール §3-1）  */
/* ========================================================== */
.page-hero {
  padding: 48px 0 30px;
  background: linear-gradient(180deg, var(--bg-sub) 0%, var(--bg-alt) 100%);
  border-bottom: 1px solid var(--line-soft)
}
.page-hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter)
}
.page-hero__eyebrow {
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--brand-main);
  margin: 0 0 12px;
  font-weight: 700;
  text-transform: uppercase
}
.page-hero__eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--brand-main);
  vertical-align: middle;
  margin-right: 12px
}
.page-hero__title {
  font-size: clamp(24px, 3.2vw, 32px);
  line-height: 1.5;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 16px
}
.page-hero__title em {
  font-style: normal;
  color: var(--brand-main)
}
.page-hero__meta {
  font-size: 15px;
  color: var(--text-mute)
}

/* ========================================================== */
/*  breadcrumb  */
/* ========================================================== */
.breadcrumb {
  font-size: 14.5px;
  color: var(--text-mute);
  margin: 0 0 18px
}
.breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center
}
.breadcrumb a {
  color: inherit;
  text-decoration: none
}
.breadcrumb a:hover {
  color: var(--brand-main)
}
.breadcrumb [aria-current="page"] {
  color: var(--text-sub)
}

/* ==========================================================
   Page Hero（下層ページ上部の見出し帯）— 共通
   ----------------------------------------------------------
   マークアップは各テンプレートで統一：
     <section class="ph">
       <div class="crumb">パンくず</div>
       <h1>タイトル</h1>
       <p class="lead">説明（任意・無い版も可）</p>
     </section>
   ※以前は members.css / news.css に .ph、contact.css は .page-hero、
     thanks.css は .thx-hero、privacy.css は .doc-hero と分散していたものを
     .ph に一本化（共通ルール §6-4）。
========================================================== */
.ph {
  padding: 48px 0 36px;
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
  text-align: center
}
.ph .crumb {
  font-size: 13.5px;
  color: var(--text-mute);
  margin-bottom: 14px
}
.ph .crumb a {
  color: var(--text-mute)
}
.ph h1 {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: .06em;
  margin: 0 0 10px;
  line-height: 1.5
}
.ph .lead {
  font-size: 15.5px;
  color: var(--text-sub);
  line-height: 2;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--gutter)
}
@media (max-width: 767px) {
  .ph .lead {
    text-align: justify;
  }
}

/* ========================================================== */
/*  section-title（共通）  */
/* ========================================================== */
.section-title {
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.5;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 24px;
  text-align: center;
  position: relative
}
.section-title::before {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  background: var(--brand-main);
  margin: 0 auto 16px
}
.section-title--left {
  text-align: left
}
.section-title--left::before {
  margin: 0 0 16px
}
.section-title--white {
  color: #fff
}
.section-title--white::before {
  background: #fff
}

/* ========================================================== */
/*  section-en-label  */
/* ========================================================== */
.section-en-label {
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--brand-main);
  margin: 0 0 10px;
  text-transform: uppercase;
  font-weight: 700;
  text-align: center
}
.section-en-label--left {
  text-align: left
}

/* ========================================================== */
/*  fade-up  */
/* ========================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease
}
.fade-up.is-visible {
  opacity: 1;
  transform: none
}
.fade-up.delay-100 {
  transition-delay: .1s
}
.fade-up.delay-200 {
  transition-delay: .2s
}
.fade-up.delay-300 {
  transition-delay: .3s
}
.fade-up.delay-400 {
  transition-delay: .4s
}
.slick-initialized .fade-up {
  opacity: 1;
  transform: none
}

/* ===== br-pc / br-sp ===== */
.br-pc {
  display: none
}
.br-sp {
  display: inline
}
@media (min-width:768px) {
  .br-pc {
    display: inline
  }
  .br-sp {
    display: none
  }
}

/* ========================================================== */
/*  Badges（協議会共通）  */
/* ========================================================== */
.badge {
  display: inline-block;
  font-size: 12.5px;
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: 700;
  letter-spacing: .02em
}
.badge--orange,
.b-orange {
  background: var(--accent-orange);
  color: #fff;
  display: inline-block;
  font-size: 12.5px;
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: 700;
  letter-spacing: .02em
}
.badge--green,
.b-green {
  background: var(--brand-main);
  color: #fff;
  display: inline-block;
  font-size: 12.5px;
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: 700;
  letter-spacing: .02em
}
.badge--blue,
.b-blue {
  background: var(--badge-info);
  color: #fff;
  display: inline-block;
  font-size: 12.5px;
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: 700;
  letter-spacing: .02em
}
.badge--red,
.b-red {
  background: var(--badge-new);
  color: #fff;
  display: inline-block;
  font-size: 12.5px;
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: 700;
  letter-spacing: .02em
}
.badge--rest {
  background: var(--badge-rest-bg);
  color: var(--badge-rest-tx)
}
.badge--open {
  background: var(--badge-open-bg);
  color: var(--badge-open-tx)
}
.badge--placeholder,
.placeholder {
  background: #FFF6E0;
  color: var(--badge-warn);
  border: 1px dashed #D9B85B;
  padding: 1px 8px;
  border-radius: 3px;
  font-size: 13.5px;
  font-weight: 500;
  display: inline-block
}

/* ========================================================== */
/*  news-*
    → top.css「News (2-column)」へ一本化（2026-08-28 重複整理）。
      .news-list / .news-item はトップ（index.php）のみで使用。
      一覧ページ（archive.php）は news.css の .agrid / .acard を使用
      しており、本ブロック（BEM版 .news-item__* 含む）は未使用のため
      削除。ulリセット・.news-item--empty は top.css へ移植済み。 */
/* ========================================================== */

/* ========================================================== */
/*  post-* （共通ルール §4）  */
/* ========================================================== */
.post-date {
  font-size: 15px;
  color: var(--text-mute);
  margin: 0 0 8px;
  letter-spacing: .04em
}
.post-cat {
  display: inline-block;
  font-size: 13.5px;
  padding: 3px 10px;
  background: var(--brand-main);
  color: #fff;
  border-radius: 20px;
  margin-bottom: 14px
}
.post-title {
  font-size: clamp(22px, 3.4vw, 30px);
  line-height: 1.5;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 24px
}
.post-content {
  font-size: 17px;
  line-height: 1.95;
  color: var(--text-main)
}
.post-content p {
  margin: 0 0 18px
}
.post-content img {
  max-width: 100%;
  height: auto
}
.post-block {
  margin: 0 0 36px
}
.post-block__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 14px;
  padding: 6px 0 6px 14px;
  border-left: 4px solid var(--brand-main)
}
.post-block__img {
  margin: 14px 0
}
.post-block__img img {
  border-radius: 4px
}
.post-block__text {
  font-size: 16.5px;
  line-height: 1.95;
  color: var(--text-sub)
}
.post-back {
  margin: 40px 0 0;
  text-align: center
}
.post-back a {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid var(--line-soft);
  border-radius: 30px;
  text-decoration: none;
  color: var(--text-main);
  font-size: 15.5px;
  transition: all .2s
}
.post-back a:hover {
  border-color: var(--brand-main);
  color: var(--brand-main)
}

/* ========================================================== */
/*  pagination  */
/* ========================================================== */
.pagination {
  margin: 32px 0 0;
  text-align: center
}
.pagination .nav-links {
  display: inline-flex;
  gap: 6px;
  align-items: center
}
.pagination .page-numbers {
  display: inline-block;
  min-width: 36px;
  height: 36px;
  line-height: 34px;
  text-align: center;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  color: var(--text-sub);
  text-decoration: none;
  font-size: 15px;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease
}
.pagination .page-numbers.current {
  background: var(--brand-main);
  color: #fff;
  border-color: var(--brand-main)
}
.pagination .page-numbers:hover:not(.current) {
  border-color: var(--brand-main);
  color: var(--brand-main)
}

/* ==========================================================
   フッター（共通・白背景）
   ----------------------------------------------------------
   ※以前は common=濃色、top/news/contact/members=白へ上書き、
     privacy=濃色 と分散していた。白フッターに一本化（共通ルール §6-4）。
     これにより privacy / thanks もトップと同じ白フッターになる。
   ※支部名（.ah-branch）は白背景で視認できるよう濃色文字にする。
========================================================== */
.ftr {
  background: #fff;
  padding: 50px 0 0;
  border-top: 1px solid var(--line-soft)
}
.ftr-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  /* 2026-08-28：文字サイズUPでCTAボタンが折り返すため列配分を調整。
     .ftr-col（メニュー2列）を詰め、CTA列は minmax で1行分の最低幅を保証 */
  grid-template-columns: 1.2fr .7fr 1fr minmax(270px, 1.2fr);
  gap: 32px
}
@media(max-width:780px) {
  .ftr-inner {
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px
  }
  /* CTAは全幅にして折り返しを防ぐ（2026-08-28） */
  .ftr-cta {
    grid-column: 1 / -1
  }
}
@media(max-width:480px) {
  .ftr-inner {
    grid-template-columns: 1fr
  }
}
.ftr-brand {
  display: flex;
  flex-direction: column;
  gap: 10px
}
.ftr-brand .ah-brand {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px
}
.ftr-brand .ah-logo {
  max-width: 264px;
  max-height: 53px
}
.ftr-brand .ah-branch {
  color: var(--text-main);
  border-left: 1px solid var(--line);
  padding-left: 10px;
  font-size: 14.5px;
  letter-spacing: .06em
}
.ftr-addr {
  font-size: 13.5px;
  color: var(--text-sub);
  line-height: 1.7
}
.ftr-addr b {
  display: block;
  font-size: 15.5px;
  color: var(--text-main);
  font-weight: 700;
  margin-bottom: 6px
}
.ftr-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 12px;
  letter-spacing: .04em
}
.ftr-col ul li {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.5;
  margin-bottom: 8px;
  padding-left: 10px;
  position: relative
}
.ftr-col ul li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--text-mute)
}
.ftr-col ul li a {
  color: var(--text-sub)
}
.ftr-col ul li a:hover {
  color: var(--brand-main);
  text-decoration: none
}
.ftr-cta {
  display: flex;
  align-items: flex-start
}
.ftr-cta a {
  display: block;
  width: 100%;
  padding: 14px 12px; /* 2026-08-28：16px→12px。文字サイズUP後も1行で収まる余裕を確保 */
  background: var(--accent-orange);
  color: #fff;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .04em;
  line-height: 1.4;
  transition: background-color .25s ease
}
.ftr-cta a:hover {
  background: var(--accent-orange-deep);
  text-decoration: none
}
.ftr-cta a small {
  display: block;
  font-size: 12.5px;
  font-weight: 400;
  margin-bottom: 4px;
  opacity: .95
}
.ftr-bar {
  margin-top: 40px;
  background: var(--brand-main);
  color: #fff;
  text-align: center;
  padding: 14px var(--gutter);
  font-size: 13.5px;
  letter-spacing: .04em
}

/* ==========================================================
   CTA セクション（共通）— 全ページ共通の相談導線
   ----------------------------------------------------------
   マークアップは template-parts/cta.php に集約。
   背景を白にしたいページは修飾クラス .cta--white を付ける
     （テンプレ呼び出し：get_template_part('template-parts/cta', null, array('class'=>'cta--white'))）。
   ※以前 top.css / news.css / members.css / news-single.css に
     個別定義が散在していたものを本ブロックへ一本化（共通ルール §6-4）。
   ※左右は var(--gutter) を持たせSPでも端に触れないようにする。
========================================================== */
.cta {
  padding: 50px var(--gutter);
  background: var(--bg-sub);
  text-align: center
}
.cta--white {
  background: #fff
}
.cta h3 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 12px
}
.cta p {
  font-size: 16px;
  color: var(--text-sub);
  margin: 0 0 26px
}
.cta-btns {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center
}
.cta-btns a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 16.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease
}
.cta-btns .pri {
  background: var(--brand-main);
  color: #fff
}
.cta-btns .pri:hover {
  background: var(--brand-accent);
  text-decoration: none
}
.cta-btns .sec {
  background: #fff;
  color: var(--brand-main);
  border: 1px solid var(--brand-main)
}
.cta-btns .sec:hover {
  background: var(--brand-soft);
  text-decoration: none
}
/* SP：ボタンを縦積みのフル幅にして横幅を揃える */
@media (max-width: 767px) {
  .cta-btns {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto
  }
  .cta-btns a {
    width: 100%;
    justify-content: center
  }
}

/* ==========================================================
   404（Not Found）— 共通
   ----------------------------------------------------------
   マークアップは 404.php。ページ上部は共通 .ph、本文はここ .nf。
   ボタンは共通 .cta-btns を再利用。
========================================================== */
.nf {
  background: #fff;
  padding: 56px 0 80px
}
.nf-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center
}
.nf-code {
  font-size: clamp(74px, 18vw, 134px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: .06em;
  color: var(--brand-main);
  margin: 0 0 6px
}
.nf-msg {
  font-size: 16px;
  line-height: 2;
  color: var(--text-sub);
  margin: 0 0 30px
}
.nf .cta-btns {
  margin: 0 auto
}
.nf-tel {
  margin: 34px 0 0;
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.9
}
.nf-tel a {
  display: inline-block;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: .04em;
  margin: 6px 0 2px
}
.nf-tel a:hover {
  color: var(--text-main);
  text-decoration: none
}
.nf-tel-sub {
  display: block;
  font-size: 13.5px;
  color: var(--text-mute)
}
