@charset "UTF-8";
/* =========================
   Yamabiko CSS (single file)
   層: reset → tokens → base → utilities → layout → components → pages
========================= */
@layer reset, tokens, base, utilities, layout, components, pages;

/* ========== reset ========== */
@layer reset {

  /* ブラウザ差を均す（特異性ゼロ化に :where を活用） */
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  :where(html, body) {
    margin: 0;
    padding: 0;
  }

  :where(ul, ol) {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  :where(h1, h2, h3, h4, h5, h6, p) {
    margin: 0;
  }

  :where(img) {
    display: block;
    max-width: 100%;
    height: auto;
  }

  :where(a) {
    color: inherit;
    text-decoration: none;
  }

  a img {
    border: none;
  }

  p {
    font-size: 90%;
  }

  a {
    text-decoration: none;
  }


  a:link {
    text-decoration: none;
    color: #0066cc;
  }

  a:visited {
    text-decoration: none;
    color: #0066cc;
  }

  a:hover {
    text-decoration: underline;
    color: #DF3A01;
  }
}

/* ========== tokens（変数） ========== */
@layer tokens {

  :root {
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --radius: 14px;
    --bg-soft: #f9fafb;
    --ink: #222;
    --ink-soft: #444;
    --brand: #606060;
    --accent: #0a3172;
    --header-height: 60px;
    --crumb-height: 0px;
    --header-h: 64px;

    --container-max: auto;
    --gutter-sm: 16px;
    --gutter-md: 24px;
    --gutter-lg: 32px;

    --text-base: .875rem;
    /* ≒14px */
    --lh-base: 1.6;

    --c-text: #222;
    --c-link: #0000aa;
    /* 既存のパンくず配色とも整合 */
    --c-link-hover: #DF3A01;
  }
}

/* ========== base（要素） ========== */
@layer base {

  html {
    font-size: 16px;
  }

  body {
    margin: 0;
    padding: 0;
    text-align: center;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: var(--text-base);
    line-height: var(--lh-base);
    color: var(--c-text);

    /*    background: var(--bg-soft); */

  }

  .noto-sans-jp-uniquifier {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
  }

  p {
    font-size: 0.9rem;
    line-height: var(--lh-base);
  }

  /* 見出し（倍率140/125/115%をclampで） */
  h1 {
    font-size: clamp(1.4rem, 3.5vw, 1.8rem);
    line-height: 1.3;
    margin: var(--space-5) 0 var(--space-3);
  }

  h2 {
    font-size: clamp(1.2rem, 3.0vw, 1.6rem);
    line-height: 1.35;
    margin: var(--space-4) 0 var(--space-3);
  }

  h3 {
    font-size: clamp(1.1rem, 2.6vw, 1.4rem);
    line-height: 1.4;
    margin: var(--space-3) 0 var(--space-2);
  }

}

/* ========== layout（骨格） ========== */
@layer layout {

  /* コンテナの左右余白をデバイス別に統一 */
  #container {
    margin: 0 auto;
    width: 100%;
    overflow-x: hidden;
    max-width: var(--container-max);
    padding-left: var(--gutter-lg);
    padding-right: var(--gutter-lg);
  }

  @media (max-width:1024px) {
    #container {
      padding-left: var(--gutter-md);
      padding-right: var(--gutter-md);
    }
  }

  @media (max-width:600px) {
    #container {
      padding-left: var(--gutter-sm);
      padding-right: var(--gutter-sm);
    }
  }


  /* ヘッダがfixed/stickyで上に被るのを全体で回避 */
  main,
  #container,
  .page-wrapper {
    padding-top: var(--header-h) + 30px;
  }

  /* アンカーリンクや内部リンクで飛んだときに隠れないように */
  [id],
  #breadcrumb,
  #year-selector {
    scroll-margin-top: var(--header-h);
  }

  /* モバイルのメニューをヘッダ下から出したい場合の例 */
  nav.open,
  #menu.open {
    top: var(--header-h);
  }

  /* ===================== */
  /* ヘッダー */
  /* ===================== */
  #header {
    width: auto;
    height: auto;
    /* ← 固定解除 */
    min-height: var(--header-height);
    /* 最小高さだけ確保 */
    position: fixed;
    display: flex;
    align-items: center;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    z-index: 1000;
    margin: 0;
    padding: 0 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    justify-content: space-between;
    flex-wrap: nowrap;
    /* 折り返し防止 */
  }

  #header img {
    width: auto;
    height: 36px;
    max-width: none;
    position: relative;
    /* ← absolute をやめる */
    top: auto;
    transform: none;
    display: block;
  }

  /* ===================== */
  /* PC用メニュー */
  /* ===================== */
  #menu {
    width: auto;
    list-style: none;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    /*    padding-left: 260px;
    /* ロゴとの重なり回避（PC用） */
  }

  #menu li {
    position: relative;
    float: left;
    margin: 0 2px;
    line-height: 30px;
    font-size: 95%;
    font-weight: normal;
    white-space: nowrap;
  }

  /* 親が is-active のとき子メニューを常時表示（必要なら） */
  #menu>li.is-active>ul {
    display: block;
  }

  #menu li.is-active>a {
    font-weight: 700;
    text-decoration: underline;
  }

  #menu li a {
    display: block;
    color: #003333;
    text-decoration: none;
    padding: 10px 10px;
  }

  #menu li:hover {
    background: #EEE;
  }

  #menu li ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #ccc;
    padding: 0;
    margin: 0;
    min-width: auto;
    width: auto;
    z-index: 1000;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }

  #menu li:hover>ul {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  #menu li ul li {
    display: contents;
    padding: 5px 5px;
    background-color: #FFF;
    border-bottom: 1px solid #ddd;
  }

  #menu li ul li:hover {
    background-color: #eee;
  }

  #menu li ul li ul {
    top: -1px;
    left: 100%;
  }

  #menu li ul li a {
    padding: 5px 5px;
    width: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid #ddd;
  }

  #menu li ul li ul:before {
    position: absolute;
    top: 28px;
    content: "";
    border: 5px solid transparent;
    border-left-color: #666;
    left: -10px;
  }

  @media screen and (max-width: 994px) {
    #menu li {
      line-height: 18px;
      margin: 0 4px;
      padding: 1px 0;
    }
  }




  /* ===================== */
  /* スマホ用メニュー */
  /* ===================== */
  #menu-navibtn {
    display: none;
  }

  #navibtn {
    display: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1001;
  }

  #navibtn span,
  #navibtn span::before,
  #navibtn span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: 0.3s ease;
  }

  #navibtn span {
    top: 18px;
  }

  #navibtn span::before {
    top: -8px;
  }

  #navibtn span::after {
    top: 8px;
  }

  @media screen and (max-width: 768px) {
    #navibtn {
      display: block;
      right: 10px;
      top: 10px;
      position: absolute;
    }

    #menu {
      display: none;
      flex-direction: column;
      position: fixed;
      top: 60px;
      /* ← ヘッダー最小高に合わせる */
      left: 0;
      width: 100%;
      max-height: calc(100vh - var(--header-height));
      overflow-y: auto;
      overscroll-behavior: contain;
      background: #fff;
      z-index: 1001;
      padding-left: 0 !important;
      /* ← PC用paddingの強制解除 */
      transform: none;
    }

    #menu-navibtn:checked~nav #menu {
      display: flex;
    }

    #menu li {
      border-bottom: 1px solid #ccc;
      float: none;
      /* 縦並びへ */
    }

    #menu li.is-active>ul {
      display: block;
    }

    /* ← これで .is-active でも開く */

    #menu li a {
      display: block;
      position: static;
      background-color: #f9f9f9;
      padding: 12px 14px;
      font-size: 1.0rem;
      line-height: 1.2;

    }

    #menu li ul {
      position: static;
      border: none;
      background-color: #f9f9f9;
      display: none;
      /* ← 最初は閉じる */
      opacity: 1;
      /* ★ 追加：PC用の透明化を打ち消す */
      visibility: visible;
      /* ★ 追加：PC用の非表示を打ち消す */
      pointer-events: auto;
      /* ★ 追加：PC用の無効化を打ち消す */

    }

    /* --- PC用：サブメニューのホバー背景を枠いっぱいに --- */
    @media (min-width: 769px) {

      /* サブメニューULは内側余白ゼロに */
      #menu li ul {
        padding: 0 !important;
      }
    }

    #menu li ul li {
      border-bottom: 1px solid #DDD;
      padding-left: 30px;
    }

    #menu li ul li a {
      padding-left: 28px;
      font-size: 0.92rem;
    }

    /* まずは全部閉じる */
    #menu li>ul {
      display: none;
    }

    /* 展開フラグが付いたものだけ開く */
    #menu li.expanded>ul {
      display: block;
    }

    .submenu-toggle+label {
      display: block;
      padding: 15px;
      cursor: pointer;
      background-color: #ccc;
    }

    .submenu-toggle+label::after {
      content: '▼';
      float: right;
    }

    .submenu-toggle:checked+label::after {
      content: '▲';
    }

    .submenu-toggle+label+ul {
      display: none;
    }

    .submenu-toggle:checked+label+ul {
      display: block;
    }

    /* ▼ PC版：プルダウン子メニューのホバー色を幅いっぱいにする */
    @media (min-width: 769px) {

      /* 親だけグレーに、子では li の背景は使わない */
      #menu>li:hover {
        background: #EEE;
      }

      #menu li ul li:hover {
        background: transparent;
      }

      /* 子メニュー li の内側余白をリセット */
      #menu li ul li {
        padding: 0;
      }

      /* 子メニューの a を行全体に広げる */
      #menu li ul li a {
        display: block;
        padding: 8px 18px;
        /* お好みで調整可 */
        width: 100%;
        box-sizing: border-box;
      }

      /* ホバー時の背景色は a にだけ付ける（行全体が塗られる） */
      #menu li ul li a:hover {
        background: #EEE;
      }
    }

    /* ▼ PC版：プルダウン子メニューのホバー色を幅いっぱいにする */
    @media (min-width: 769px) {

      /* 親だけグレーに、子では li の背景は使わない */
      #menu>li:hover {
        background: #EEE;
      }

      #menu li ul li:hover {
        background: transparent;
      }

      /* 子メニュー li の内側余白をリセット */
      #menu li ul li {
        padding: 0;
      }

      /* 子メニューの a を行全体に広げる */
      #menu li ul li a {
        display: block;
        padding: 8px 18px;
        /* お好みで調整可 */
        width: 100%;
        box-sizing: border-box;
      }

      /* ホバー時の背景色は a にだけ付ける（行全体が塗られる） */
      #menu li ul li a:hover {
        background: #EEE;
      }
    }

  }

  /* ========== 見栄えアップ：スマホメニュー ========== */
  :root {
    --menu-panel-bg: rgba(255, 255, 255, 0.96);
    --menu-backdrop: rgba(0, 0, 0, 0.35);
    --menu-radius: 14px;
    --menu-shadow: 0 24px 48px rgba(0, 0, 0, .18);
  }

  @media (max-width: 768px) {

    /* 背景の半透明オーバーレイ（navの疑似要素を使用） */
    #header nav::before {
      content: "";
      position: fixed;
      inset: 0;
      background: var(--menu-backdrop);
      opacity: 0;
      pointer-events: none;
      transition: opacity .25s ease;
      z-index: 1000;
      /* メニューのすぐ下 */
    }

    /* チェック時にオーバーレイ ON ＋ パネル表示 */
    #menu-navibtn:checked~nav::before {
      opacity: 1;
      pointer-events: auto;
    }

    /* メニューパネル：中央寄せカード風 */
    #menu {
      display: none;
      position: fixed;
      left: 50%;
      transform: translateX(-50%);
      top: calc(var(--header-height) + 8px);
      /* ヘッダ直下に少し余白 */
      width: min(92vw, 560px);
      max-height: calc(100vh - var(--header-height) - 16px);
      overflow-y: auto;
      overscroll-behavior: contain;
      background: var(--menu-panel-bg);
      border-radius: var(--menu-radius);
      box-shadow: var(--menu-shadow);
      padding: 8px 0;
      z-index: 1001;
    }

    /* チェックで表示（既存の挙動を強化） */
    #menu-navibtn:checked~nav #menu {
      display: block;
    }

    /* 既存指定の互換強化 */

    /* 行の見た目とタップしやすさ */
    #menu li {
      float: none;
      border-bottom: 1px solid #eee;
    }

    #menu li:last-child {
      border-bottom: 0;
    }

    #menu li>a {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 14px 16px;
      color: #222;
      background: transparent;
      font-size: 1rem;
      line-height: 1.3;
    }

    #menu li>a:hover {
      background: #f5f5f7;
    }

    /* サブメニューは折りたたみ（デフォルト閉じる） */
    #menu li>ul {
      display: none;
      position: static;
      border: 0;
      background: transparent;
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
      /* PC用を打ち消し */
    }

    #menu li.expanded>ul {
      display: block;
    }

    #menu li>ul>li>a {
      padding: 12px 20px 12px 28px;
      font-size: .96rem;
      color: #333;
    }

    /* ▼印（CSS三角形）? サブメニューを持つ項目に付ける */
    #menu li.has-sub>a::after {
      content: "";
      margin-left: auto;
      width: 0;
      height: 0;
      border-style: solid;
      border-width: 6px 6px 0 6px;
      /* ▼ */
      border-color: #666 transparent transparent transparent;
      transition: transform .2s ease;
    }

    #menu li.has-sub.expanded>a::after {
      transform: rotate(180deg);
      /* ▲ */
    }

    /* ハンバーガー→? のアニメ */
    #navibtn {
      display: block;
    }

    /* 既存指定の補強 */
    #navibtn span,
    #navibtn span::before,
    #navibtn span::after {
      background-color: #333;
      transition: .25s ease;
    }

    #menu-navibtn:checked+#navibtn span {
      background-color: transparent;
    }

    #menu-navibtn:checked+#navibtn span::before {
      top: 0;
      transform: rotate(45deg);
    }

    #menu-navibtn:checked+#navibtn span::after {
      top: 0;
      transform: rotate(-45deg);
    }
  }

  /* 既存のモバイル調整はそのまま（768px以下で発動） */
  @media screen and (max-width: 768px) {
    /* フォント・カード・余白などのスマホ用既存ルール */
  }

  /* ===== 固定パンくず（ヘッダ直下固定） ===== */
  /* 下層ページだけ body に .has-crumb を付与して有効化 */
  .has-crumb {
    --crumb-height: 0px;
  }

  /* パンくずの高さぶんも本文余白に加算 */
  .has-crumb main,
  .has-crumb #container,
  .has-crumb .page-wrapper {
    padding-top: calc(var(--header-h) + var(--crumb-height));
  }

  /* 固定パンくず（デフォルト非表示。下層だけ表示） */
  #breadcrumb {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    z-index: 999;
    /* ヘッダ(1000)の一段下 */
    background: #fafafa;
    border-bottom: 1px solid #e5e5e5;
    margin-top: 0 !important;
  }

  .has-crumb #breadcrumb {
    display: block;
  }

  /* パンくずの内側幅を #container に合わせる */
  #breadcrumb .breadcrumb-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 16px;
    text-align: left;
    color: #333;
    font-size: 0.9rem;
  }

  /* パンくず内リンク色は見やすい青に上書き */
  #breadcrumb a:link,
  #breadcrumb a:visited {
    color: #0000aa;
    text-decoration: none;
  }

  #breadcrumb a:hover {
    color: #DF3A01;
    text-decoration: underline;
  }

  /* ===================== */
  /* 　	フッター表示        */
  /* ===================== */
  /* 変数を定義（トーン合わせ用） */
  :root {
    --footer-bg-height: clamp(100px, 30vw, 150px);
    /* 稜線の見せたい縦量 */
    --footer-ground: #bdbdbd;
    /* 稜線の色と一緒 */
    --footer-overlap: clamp(4px, 2vw, 20px);
    /* テキストのせり上げ量 */
    --footer-gap-y: 8px;
  }

  /* フッター本体：上は透明、指定高さから下だけ地色 */
  .footer {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    color: #333;
    overflow-x: clip;
    isolation: isolate;
    background:
      linear-gradient(to bottom,
        transparent 0,
        transparent var(--footer-bg-height),
        var(--footer-ground) var(--footer-bg-height),
        var(--footer-ground) 100%);
    padding-top: 0;
    margin-top: 40px;
  }

  /* 山画像は上側だけに重ねる（ぼかし無し） */
  .footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    /*    height: var(--footer-bg-height); */
    height: 30vw;
    background: url(gif/footer.png) center top / cover no-repeat;
    z-index: -1;
  }

  /* テキスト領域：白パネル/影/角丸/ぼかしを全て無効化し、3カラム化 */
  .footer-inner {
    /* パネル系をリセット */
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;

    /* レイアウト */
    width: min(1100px, calc(100% - 32px));
    margin: calc(var(--footer-overlap) * -1) auto 0;
    /* 山に重ねる */
    padding: 24px clamp(16px, 3vw, 32px) 24px;
    padding-top: calc(var(--footer-overlap) / 2);
    /* ← 上パディングで微調整 */
    margin-top: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    padding: calc(var(--footer-bg-height) + 12px) clamp(12px, 3vw, 28px) var(--footer-gap-y);
    /* ← ここを 24px から変更 */
    line-height: 1.2;
  }

  /* 白パネル化しがちな子コンポーネントも潰す（念のため） */
  .footer-inner :is(.card, .panel, .box) {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
  }

  /* 3カラム（幅が足りない時は自動で2→1段と折り返し） */
  .footer-column {
    flex: 1 1 320px;
    /* 下限幅を確保しつつ可変 */
    max-width: 360px;
    /* 伸びすぎ防止（任意） */
  }

  /* 体裁（既存そのまま） */
  .footer-column h4 {
    font-size: 16px;
    margin: 5px 0;
    color: #333;
  }

  .footer-column ul {
    list-style: none;
    padding: 0;
  }

  .footer-column li {
    margin: 5px 0;
  }

  .footer-column a {
    color: #333;
    text-decoration: none;
  }

  .footer-column a:link {
    color: #333;
    text-decoration: none;
  }

  .footer-column a:hover {
    text-decoration: underline;
  }

  .footer-column a:visited {
    color: #336;
  }

  .footer-copy {
    text-align: center;
    width: min(1100px, calc(100% - 32px));
    margin: 8px auto 0;
    font-size: 12px;
    opacity: .9;
    margin-top: calc(var(--footer-gap-y) / 2);
    /* 追加：上マージンを最小に */
    padding: 8px clamp(12px, 3vw, 28px) 14px;
    /* 12/20 → 少しだけ詰める */
  }


  /* スマホ微調整（必要に応じて） */
  @media (max-width: 640px) {
    :root {
      --footer-bg-height: clamp(50px, 6vw, 100px);
    }
  }

  .update {
    color: #444444;
  }


  /* ▼ PC版：プルダウン子メニューのホバー色を幅いっぱいにする */
  /* よくわからないけれど、この場所に置く必要がある　 　　　　*/
  @media (min-width: 769px) {

    /* 親だけグレーに、子では li の背景は使わない */
    #menu>li:hover {
      background: #EEE;
    }

    #menu li ul li:hover {
      background: transparent;
    }

    /* 子メニュー li の内側余白をリセット */
    #menu li ul li {
      padding: 0;
    }

    /* 子メニューの a を行全体に広げる */
    #menu li ul li a {
      display: block;
      padding: 8px 18px;
      /* お好みで調整可 */
      width: 100%;
      box-sizing: border-box;
    }

    /* ホバー時の背景色は a にだけ付ける（行全体が塗られる） */
    #menu li ul li a:hover {
      background: #EEE;
    }
  }


}

/* ========== comonents（コンポーネント） ========== */
/*  見た目、ふるまいを設定　*/
@layer components {}

/* ========== utilities（共通ユーティリティ） ========== */
@layer utilities {

  /*　トップページの山行記事見出し　*/
  .ind-wrapper {
    position: relative;
    display: inline-block;
    margin: 12px auto;
    max-width: 200px;
    width: 100%;
  }

  .ind-wrapper img {
    display: block;
    width: 80%;
    height: auto;
    margin: 0 auto;
  }

  .ind-text {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 0.4em 0em;
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    font-weight: 500;
    color: #222;
    white-space: nowrap;
    top: 60%;
    left: 50%;
    opacity: .9;
    /* 中央基準に変更 */
    transform: translate(-50%, -50%);

  }

  .section-title {
    font-size: 1.0625rem;
    font-weight: 800;
    text-align: center;
    letter-spacing: .06em;
    color: #fff;
    background: var(--brand);
    padding: var(--space-3) var(--space-4);
    margin: var(--space-4) auto var(--space-4);
    border-radius: var(--radius);
    max-width: min(960px, 100%);
  }

  /* CTA */
  .cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4) var(--space-5);
    margin-top: var(--space-4);
  }

  .cta a {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    color: #555;
    background: var(--brand);
    margin-top: var(--space-3);
  }

  .cta a.secondary {
    background-color: #eee;
    border: 1px solid #ccc;
  }

  .cta a:link {
    color: #333;
  }

  .cta a:visited {
    color: #222;
  }

  .cta a:hover {
    color: #666;
  }

  .cta a:focus {
    color: #666;
  }

  @media (hover: none) {
    .cta a:hover {
      color: inherit;
      /* ← hover 無効化 */
    }

    .cta a:active {
      color: #e40808;
      /* タップ中だけ色を変える */
    }
  }

  .cta-ls {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4) var(--space-5);
    margin-top: var(--space-4);
  }

  .cta-ls a {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 699px;
    text-decoration: none;
    font-size: 1.5rem;
    color: #fff;
    background: var(--brand);
    margin-top: var(--space-3);
  }

  .cta-ls a.secondary {
    background: #0a67d1;
  }

  .cta-ls a:link {
    color: #fff;
  }

  .cta-ls a:visited {
    color: #FFF;
  }

  .cta-ls a:hover {
    color: #fff;
  }

  .icon-text {
    display: inline-block;
    vertical-align: middle;
    margin: 15px 0;
  }

  .icon {
    display: inline-block;
    width: 60px;
    height: 30px;
    background-image: url("gif/mt_logo.png");
    background-size: cover;
    margin-right: 0px;
  }

  .icon-text span {
    font-size: 120%;
    font-weight: 600;
  }

  /* PDFアイコンの横並び（現状維持＋微調整） */
  .pdf-icon img {
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.3em;
  }

  /* セクション上下の“統一余白”。既存に影響し過ぎない汎用ユーティリティ */
  .section {
    margin: var(--space-6) 0;
  }

  .stack>*+* {
    margin-top: var(--space-4);
  }


  /* ギャラリー（2列→広い画面で3列） */
  .gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
  }

  .gallery figure {
    margin: 0;
    background: var(--bg-soft);
    /*  border-radius: var(--radius); */
    overflow: hidden;
  }

  .gallery img {
    width: 100%;
    height: 40vw;
    max-height: 240px;
    object-fit: cover;
    display: block;
  }

  .gallery figcaption {
    padding: var(--space-2) var(--space-3);
    /*      font-size: .9rem;　*/
    color: var(--ink-soft);
  }

  .card {
    background: #fff;
    border-radius: var(--radius);
    padding: var(--space-4);
    margin: 0 auto var(--space-4);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
    max-width: min(960px, 100%);
  }

  .lead {
    background: rgba(4, 106, 56, .06);
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
    padding: var(--space-4);
    line-height: 1.8;
  }

  /* 2カラム（歴史/特色）→モバイルは縦積み */
  .cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .list {
    padding-left: 1.2em;
    margin: 0;
    text-align: left;
  }

  .list li {
    margin: 0 0 var(--space-2);
    line-height: 1.8;
  }

  @media (min-width:720px) {
    .hero .lead {
      inset: auto 4% 4% 4%;
      max-width: 720px;
    }

    .cols {
      grid-template-columns: 1fr 1fr;
    }

    .gallery img {
      height: 220px;
    }
  }

  @media (min-width:1040px) {
    .hero img {
      max-height: 520px;
    }
  }

  .kpis {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3);
    margin-top: var(--space-3);
  }

  .kpi {
    background: var(--bg-soft);
    border-radius: var(--radius);
    padding: var(--space-3);
  }

  .kpi strong {
    display: block;
    font-size: 1.05rem;
  }

  @media (min-width:720px) {
    .cols {
      grid-template-columns: 1fr 1fr;
    }

    .kpis {
      grid-template-columns: 1fr 1fr;
    }

  }

  /* フローティングボタン */
  html body #floating-buttons[data-fab-scope] {
    position: fixed;
    right: 24px;
    top: 80px;
    display: flex;
    flex-direction: column-reverse;
    /* 下から積む（入会案内が下段） */
    gap: 12px;
    z-index: 900;
    /*    isolation: isolate; */
    opacity: 0.8;
    /* stacking文脈を切って安全に */
  }

  html body #floating-buttons[data-fab-scope]>a.fab,
  html body #floating-buttons[data-fab-scope]>a.fab:link,
  html body #floating-buttons[data-fab-scope]>a.fab:visited {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 9rem;
    padding: 12px 4px !important;
    border-radius: 9999px !important;
    background: #0a67d1 !important;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 1.2em;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .2);
    border: 1px solid rgba(255, 255, 255, .2);
    -webkit-tap-highlight-color: transparent;
    transition: transform .15s ease;
    opacity: 0.8;
  }

  html body #floating-buttons[data-fab-scope]>a.fab:hover {
    transform: translateY(-2px);
    opacity: 1.0;
  }

  html body #floating-buttons[data-fab-scope]>a.fab:active {
    transform: translateY(1px);
  }

  /* gap非対応ブラウザ用 */
  @supports not (row-gap: 12px) {
    html body #floating-buttons[data-fab-scope]>*+* {
      margin-top: 12px;
    }
  }

  /* フローティングボタン内のアイコン調整 */
  #floating-buttons .fab {
    gap: 8px;
    /* アイコンと文字の間隔 */
  }

  #floating-buttons .fab i {
    font-size: 1.3em;
    /* 文字より少し大きめ */
    line-height: 1;
  }
}

/* === utilities: sub-header (base.css / utilities layer) === */
:root {
  /* 共通テーマ色（必要に応じて tokens 層に移してOK） */
  --subhead-bg: #f5f7fa;
  /* 全体の下地 */
  --subhead-border: #d9dee3;
  --subhead-desc-bg: #e9edf2;
  /* 説明ブロックの背景 */
  --subhead-desc-color: #333;
  --subhead-title-color: #fff;
}

/* ラッパー */
.subhead {
  background: var(--subhead-bg);
  border-bottom: 1px solid var(--subhead-border);
  margin-bottom: 10px;
}

/* 上部：画像＋タイトル */
.subhead_hero {
  position: relative;
  overflow: hidden;
}

/* 画像を <img> で置く場合 */
.subhead_media {
  display: block;
  width: 100%;
  aspect-ratio: 16/4;
  /* バナー比率（必要なら調整） */
  object-fit: cover;
}

/* 画像を CSS 背景で置く場合（<div class="subhead_hero subhead--bg" style="--subhead-image:url('/path')">） */
.subhead-bg {
  background-image: var(--subhead-image);
  background-size: cover;
  background-position: center;
  aspect-ratio: 16/4;
}

/* タイトル（画像にオーバーレイ） */
.subhead_title {
  position: absolute;
  inset-inline: 0;
  inset-block-start: 50%;
  transform: translateY(-50%);
  margin: 0;
  text-align: center;
  font-weight: 700;
  line-height: 1.2;
  padding-inline: 1rem;
  color: var(--subhead-title-color);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
  font-size: clamp(1.4rem, 1.2vw + 1.2rem, 2.4rem);
}

/* うっすらグラデで文字の視認性UP */
.subhead_hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .18), rgba(0, 0, 0, 0) 65%);
  pointer-events: none;
}

/* 下部：説明ブロック */
.subhead_desc {
  background: var(--subhead-desc-bg);
  color: var(--subhead-desc-color);
  /*  padding: 1rem 1.25rem; */
  line-height: 1.7;
  padding: 16px 24px;
  text-align: left;
}

.subhead_desc img {
  margin: 20px auto;
}

.subhead_desc .author {
  text-align: right;
  /*  font-style: italic; */
}

/* モバイルはやや縦長に */
@media (max-width: 760px) {

  .subhead_media,
  .subhead-bg {
    aspect-ratio: 16/9;
  }

  .subhead_title {
    font-size: clamp(1.2rem, 3.5vw + 0.6rem, 1.8rem);
  }
}

.fa-solid.fa-house {
  color: #666;
}

/* 終わり */