/*
Theme Name: MIRAI News
Theme URI: https://test.miraiii.co.jp/news/
Author: 株式会社一広クロス
Description: MIRAI株式会社 お知らせ専用クラシックテーマ。本体サイト（白＋黄ミニマル・明朝見出し）と同一デザインの一覧／記事詳細を提供する。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: mirai-news
*/

/* ═══════════════════════════════════════════════
   1. 基礎（本体 common-chrome BASE_CSS 移植）
   ═══════════════════════════════════════════════ */
:root{
  color-scheme: light;  /* OSダークモードでもスクロールバーを白に固定（2026-07-27 全ページ統一） */
  --paper:   #ffffff;
  --paper-2: #fafaf8;
  --paper-3: #f2f2ef;
  --ink:     #1f1410;
  --ink-2:   #3a2a1f;
  --mute:    #8c7a68;
  --line:    rgba(31,20,16,.14);
  --line-2:  rgba(31,20,16,.08);
  --accent:  #facc15;
  --accent-2:#eab308;
  --accent-3:#fde68a;
}
*{ box-sizing: border-box }
html, body{ margin: 0; background: var(--paper); color: var(--ink) }
html{ overflow-x: hidden }
body{
  font-family: "BIZ UDPGothic","Noto Sans JP",sans-serif;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
  line-height: 1.9; letter-spacing: .02em;
}
::selection{ background: var(--accent); color: var(--ink) }
a{ color: inherit; text-decoration: none }
img{ display: block; max-width: 100% }

.wrap{ max-width: 1840px; margin: 0 auto; padding: 0 clamp(24px, 4vw, 56px) }

/* WP標準ユーティリティ */
.screen-reader-text{
  position: absolute !important; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; word-wrap: normal !important;
}

/* ═══════════════════════════════════════════════
   2. サイトヘッダー（sticky）
   ═══════════════════════════════════════════════ */
.ch-bar{
  position: sticky; top: 0; z-index: 40;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px clamp(24px, 4.4vw, 44px);
  background: rgba(255,255,255,.92); backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--line);
  transition: padding .28s cubic-bezier(.4,0,.2,1), background .28s ease, box-shadow .28s ease;
}
.ch-bar.compact{
  padding: 14px clamp(24px, 4.4vw, 44px);
  background: rgba(255,255,255,.96);
  box-shadow: 0 6px 20px rgba(31,20,16,.06);
}
/* ログイン中の管理バーと重ならないように */
.admin-bar .ch-bar{ top: 32px }
@media (max-width: 782px){ .admin-bar .ch-bar{ top: 46px } }

.ch-brand{ display: flex; align-items: center; gap: 16px; color: inherit }
.ch-brand svg{ display: block }
.ch-brand-sub{
  display: block; white-space: nowrap;
  font-family: "BIZ UDPGothic","Noto Sans JP",sans-serif; font-size: 11.5px; letter-spacing: .16em;
  color: var(--mute); line-height: 1.45;
  padding-left: 14px; border-left: 1px solid var(--line);
}
@media (max-width: 820px){ .ch-brand-sub{ display: none } }

.ch-nav{
  display: flex; gap: 32px;
  font-family: "BIZ UDPGothic","Noto Sans JP",sans-serif; font-weight: 600;
  font-size: 16px; letter-spacing: .06em;
}
.ch-nav a{ position: relative; padding: 5px 2px; color: inherit; display: flex; align-items: center; gap: 10px }
.ch-nav a::after{
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1.5px;
  background: var(--accent); transition: right .25s ease;
}
.ch-nav a:hover::after{ right: 0 }
.ch-nav a.active{ color: var(--accent) }
.ch-nav a.active::after{ right: 0 }

.ch-end{
  display: flex; align-items: center; gap: 10px;
  font-family: "BIZ UDPGothic","Noto Sans JP",sans-serif; font-weight: 600;
  font-size: 14px; letter-spacing: .04em;
}
.ch-end .login{
  padding: 11px 22px; border: 1px solid var(--ink); color: var(--ink);
  letter-spacing: .22em; transition: all .2s ease; border-radius: 999px;
}
.ch-end .login:hover{ background: var(--ink); color: var(--paper) }
.ch-end .pill{
  padding: 11px 24px; background: var(--accent); color: var(--ink);
  font-weight: 700; border-radius: 999px; letter-spacing: .22em; transition: all .2s ease;
}
.ch-end .pill:hover{ background: var(--paper); color: var(--ink); transform: translateY(-1px) }

/* skip link（キーボードフォーカスで出現） */
.ch-skip{
  position: fixed; left: 16px; top: 14px; z-index: 120;
  padding: 12px 22px; background: var(--paper); color: var(--ink);
  border: 2px solid var(--accent); border-radius: 999px;
  font-family: "BIZ UDPGothic","Noto Sans JP",sans-serif; font-weight: 700; font-size: 14px; letter-spacing: .08em;
  box-shadow: 0 10px 28px rgba(31,20,16,.14);
  transform: translateY(-200%); opacity: 0; pointer-events: none;
  transition: transform .2s ease, opacity .2s ease;
}
.ch-skip:focus, .ch-skip:focus-visible{ transform: translateY(0); opacity: 1; pointer-events: auto }
.ch-main-anchor{ display: block; height: 0; margin: 0; padding: 0; outline: none }

a:focus-visible, button:focus-visible{ outline: 3px solid var(--accent); outline-offset: 2px }

/* ═══════════════════════════════════════════════
   3. サイトフッター（4列＋コピーライト）
   ═══════════════════════════════════════════════ */
.ch-foot{ background: var(--paper); padding: 88px 0 32px; border-top: 1px solid var(--line) }
.ch-foot-top{
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: clamp(32px, 3.4vw, 64px);
  padding-bottom: 52px; border-bottom: 1px solid var(--line);
}
.ch-foot-brand .ch-brand-sub{ font-size: 12.5px }
.ch-foot-brand p{ margin-top: 24px; color: var(--ink-2); font-size: 14px; line-height: 2.0; max-width: 360px; margin-bottom: 0 }
.ch-foot-addr{
  margin-top: 8px !important; font-size: 13px !important; color: var(--mute) !important;
  font-family: "BIZ UDPGothic","Noto Sans JP",sans-serif; letter-spacing: .04em;
}
.ch-foot-col h2, .ch-foot-col h5{
  font-family: "Shippori Mincho","Noto Serif JP",serif; font-size: 15px; letter-spacing: .1em;
  color: var(--accent); margin: 0 0 22px; font-weight: 700;
}
.ch-foot-col ul{ list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px }
.ch-foot-col a{ color: var(--ink); font-size: 15.5px; transition: color .2s ease }
.ch-foot-col a:hover{ color: var(--accent) }
.ch-foot-cta h2, .ch-foot-cta h5{
  font-family: "Shippori Mincho","Noto Serif JP",serif; font-size: 15px; letter-spacing: .1em;
  color: var(--accent); margin: 0 0 16px; font-weight: 700;
}
.ch-foot-cta .tel{
  display: block; font-family: "Shippori Mincho","Noto Serif JP",serif; font-weight: 700;
  font-size: clamp(24px, 1.8vw, 30px); letter-spacing: .04em; color: var(--ink); text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.ch-foot-cta .tel:hover{ color: var(--accent-2) }
.ch-foot-cta .hours{ margin: 6px 0 0; font-size: 12.5px; color: var(--mute); letter-spacing: .06em }
.ch-foot-cta .btn{
  display: inline-block; margin-top: 20px; background: var(--accent); color: #1f1410;
  font-family: "Shippori Mincho","Noto Serif JP",serif; font-weight: 700; font-size: 15px;
  letter-spacing: .1em; padding: 13px 34px; border-radius: 999px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ch-foot-cta .btn:hover{ transform: translateY(-2px); box-shadow: 0 10px 24px rgba(250,204,21,.35) }
.ch-foot-bot{
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 28px;
  font-family: "BIZ UDPGothic","Noto Sans JP",sans-serif; font-size: 12px; letter-spacing: .04em; color: var(--mute);
}
.ch-foot-bot .ch-foot-end{ display: flex; align-items: center; gap: 18px }
.ch-foot-ig{ display: inline-flex; align-items: center; flex: none; margin-top: 18px;
             transition: opacity .2s ease, transform .2s ease }
.ch-foot-ig img{ height: 26px; width: auto; display: block }
.ch-foot-ig:hover{ opacity: .68; transform: translateY(-1px) }

/* ═══════════════════════════════════════════════
   4. モバイル固定CTAバー（768px以下）
   ═══════════════════════════════════════════════ */
.ch-cvbar{
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 28px rgba(31,20,16,.08);
}
.ch-cvbar a{
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; border-radius: 999px;
  font-family: "BIZ UDPGothic","Noto Sans JP",sans-serif; font-weight: 700; font-size: 15px; letter-spacing: .06em;
}
.ch-cvbar a svg{ flex: none }
.ch-cvbar .cv-tel{ background: var(--paper); color: var(--ink); border: 1.6px solid rgba(31,20,16,.5) }
.ch-cvbar .cv-tel:active{ background: var(--ink); color: var(--paper); border-color: var(--ink) }
.ch-cvbar .cv-form{ background: var(--accent); color: #1f1410; border: 0; box-shadow: 0 8px 20px rgba(250,204,21,.4) }
.ch-cvbar .cv-form:active{ background: var(--ink); color: var(--accent) }
@media (max-width: 768px){
  .ch-cvbar{ display: flex }
  .ch-foot{ padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)) }
}

/* ═══════════════════════════════════════════════
   5. スクロール reveal（JS有効時のみ・reduced-motion対応）
   ═══════════════════════════════════════════════ */
.js .rv{ opacity: 0; transform: translateY(24px);
         transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1) }
.js .rv.in{ opacity: 1; transform: none }
.js .rv-stagger > *{ opacity: 0; transform: translateY(14px);
                     transition: opacity .55s ease, transform .55s cubic-bezier(.2,.8,.2,1) }
.js .rv-stagger.in > *{ opacity: 1; transform: none }
.js .rv-stagger.in > *:nth-child(2){ transition-delay: .04s }
.js .rv-stagger.in > *:nth-child(3){ transition-delay: .08s }
.js .rv-stagger.in > *:nth-child(4){ transition-delay: .12s }
.js .rv-stagger.in > *:nth-child(5){ transition-delay: .16s }
.js .rv-stagger.in > *:nth-child(6){ transition-delay: .2s }
.js .rv-stagger.in > *:nth-child(7){ transition-delay: .24s }
.js .rv-stagger.in > *:nth-child(8){ transition-delay: .28s }
@media (prefers-reduced-motion: reduce){
  .js .rv, .js .rv-stagger > *{ opacity: 1 !important; transform: none !important; transition: none !important }
}

/* ═══════════════════════════════════════════════
   6. ヒーロー（統一様式）
   ═══════════════════════════════════════════════ */
.nw-hero{ padding: clamp(56px, 9vh, 104px) 0 clamp(36px, 6vh, 64px) }
.nw-hero .eyebrow{ font-size: 12px; letter-spacing: .3em; color: var(--mute); margin: 0 0 18px }
.nw-hero h1{
  font-family: "Shippori Mincho","Noto Serif JP",serif; font-weight: 600;
  font-size: clamp(38px, 6vw, 58px); line-height: 1.2; letter-spacing: .06em; margin: 0;
}
.nw-hero .lead{ margin: 20px 0 0; font-size: clamp(14px, 1.6vw, 16px); color: var(--ink-2); max-width: 42em }
.nw-hero .rule{ width: 64px; height: 3px; background: var(--accent); margin-top: 28px }

/* ═══════════════════════════════════════════════
   7. 一覧セクション
   ═══════════════════════════════════════════════ */
.nw-sec{ padding: clamp(40px, 7vh, 76px) 0 }
.nw-h2{ display: flex; align-items: center; gap: 14px; margin: 0 0 clamp(24px, 3.5vh, 38px) }
.nw-h2 .sq{ width: 10px; height: 10px; background: var(--accent); flex: none }
.nw-h2 h2{
  font-family: "Shippori Mincho","Noto Serif JP",serif; font-weight: 600;
  font-size: clamp(24px, 3.4vw, 32px); letter-spacing: .1em; margin: 0;
}
.nw-h2 .note{ margin-left: auto; font-size: 12px; letter-spacing: .14em; color: var(--mute) }

/* お知らせリスト（左サムネイル型） */
.nw-list{ border-top: 1px solid var(--line) }
.nw-row{
  display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center;
  padding: 22px 4px; border-bottom: 1px solid var(--line-2);
  text-decoration: none; color: inherit;
}
.nw-thumb{
  position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px;
  background: var(--paper-2);
}
.nw-thumb img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
a.nw-row:hover .nw-thumb img{ transform: scale(1.06) }
/* 写真の無い記事（水事業時代等）のブランドプレースホルダ */
.nw-thumb.ph{
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--paper-3), var(--paper-2));
}
.nw-thumb.ph svg{ width: 42%; height: 42% }
.nw-thumb.ph path{ opacity: .5 }
.nw-body{ display: block; min-width: 0 }
.nw-meta{ display: flex; align-items: center; gap: 14px; margin-bottom: 11px; flex-wrap: wrap }
.nw-meta .d{ font-size: 13px; color: var(--mute); letter-spacing: .04em; font-variant-numeric: tabular-nums }
.nw-meta .chip{
  font-size: 11px; letter-spacing: .16em; padding: 3px 12px;
  border: 1px solid var(--line); border-radius: 999px; color: var(--mute); white-space: nowrap;
}
.nw-row .t{
  display: block;
  font-family: "Shippori Mincho","Noto Serif JP",serif; font-weight: 600;
  font-size: clamp(16px, 1.7vw, 18.5px); color: var(--ink); line-height: 1.65; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
a.nw-row:hover .t{ color: var(--accent-2) }
.nw-row .ex{
  display: block; margin: 8px 0 0; font-size: 13px; color: var(--mute); line-height: 1.9;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ページ送り（WP the_posts_pagination を丸ボタン化） */
.navigation.pagination{ margin-top: clamp(28px, 4.5vh, 44px) }
.navigation.pagination .nav-links{
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
}
.navigation.pagination .page-numbers{
  font-family: "BIZ UDPGothic","Noto Sans JP",sans-serif; font-size: 14px;
  letter-spacing: .06em; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 999px;
  min-width: 42px; height: 42px; padding: 0 14px;
  display: inline-flex; align-items: center; justify-content: center;
  font-variant-numeric: tabular-nums;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.navigation.pagination a.page-numbers:hover{ border-color: var(--accent); transform: translateY(-1px) }
.navigation.pagination .page-numbers.current{
  background: var(--accent); border-color: var(--accent); color: #1f1410; font-weight: 700;
}
.navigation.pagination .page-numbers.dots{
  border: 0; background: transparent; color: var(--mute); min-width: auto; padding: 0 2px; user-select: none;
}

/* ═══════════════════════════════════════════════
   8. 記事詳細（single）
   ═══════════════════════════════════════════════ */
.nw-post-hero{ padding: clamp(56px, 9vh, 104px) 0 clamp(28px, 5vh, 48px) }
.nw-post-hero .eyebrow{
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  font-size: 12px; letter-spacing: .3em; color: var(--mute); margin: 0 0 18px;
  font-variant-numeric: tabular-nums;
}
.nw-post-hero .eyebrow .chip{
  font-size: 11px; letter-spacing: .16em; padding: 3px 12px;
  border: 1px solid var(--line); border-radius: 999px; color: var(--mute); white-space: nowrap;
}
.nw-post-hero h1{
  font-family: "Shippori Mincho","Noto Serif JP",serif; font-weight: 600;
  font-size: clamp(26px, 3.6vw, 42px); line-height: 1.5; letter-spacing: .06em; margin: 0;
  max-width: 30em;
}
.nw-post-hero .rule{ width: 64px; height: 3px; background: var(--accent); margin-top: 28px }

.nw-post-inner{ max-width: 860px }

.entry-content{
  font-size: 16px; line-height: 1.9; letter-spacing: .02em; color: var(--ink-2);
  padding: clamp(8px, 2vh, 16px) 0 clamp(40px, 7vh, 72px);
}
.entry-content p{ margin: 0 0 1.5em }
.entry-content h2, .entry-content h3, .entry-content h4{
  font-family: "Shippori Mincho","Noto Serif JP",serif; font-weight: 600; color: var(--ink);
  line-height: 1.6; letter-spacing: .06em; margin: 2em 0 .8em;
}
.entry-content h2{ font-size: 24px; padding-left: 14px; border-left: 4px solid var(--accent) }
.entry-content h3{ font-size: 20px }
.entry-content h4{ font-size: 17px }
.entry-content a{ color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px }
.entry-content a:hover{ color: var(--ink) }
.entry-content img{ max-width: 100%; height: auto; border-radius: 8px }
.entry-content figure{ margin: 32px 0; max-width: 100% }
.entry-content figcaption{ font-size: 12.5px; color: var(--mute); margin-top: 10px; text-align: center }
.entry-content .wp-block-image{ margin: 32px 0 }
.entry-content .wp-block-gallery{ margin: 32px 0 }
.entry-content .wp-block-gallery img{ border-radius: 8px }
.entry-content video{ max-width: 100%; height: auto; border-radius: 8px }
.entry-content .wp-block-video{ margin: 32px 0 }
.entry-content iframe{ max-width: 100% }
.entry-content .wp-block-embed{ margin: 32px 0 }
.entry-content ul, .entry-content ol{ margin: 0 0 1.5em; padding-left: 1.4em }
.entry-content blockquote{
  border-left: 3px solid var(--accent); margin: 32px 0; padding: 4px 0 4px 20px; color: var(--ink-2);
}
.entry-content table{ border-collapse: collapse; width: 100%; margin: 32px 0 }
.entry-content td, .entry-content th{ border: 1px solid var(--line); padding: 8px 12px }

/* 前後記事ナビ */
.nw-postnav{
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.nw-postnav a, .nw-postnav .pn-empty{ display: block; padding: 22px 18px; min-width: 0 }
.nw-postnav a{ transition: background .2s ease }
.nw-postnav a:hover{ background: var(--paper-2) }
.nw-postnav .pn-next{ text-align: right; border-left: 1px solid var(--line-2) }
.nw-postnav .pn-empty + .pn-next, .nw-postnav .pn-prev + .pn-next{ border-left: 1px solid var(--line-2) }
.nw-postnav .lbl{
  display: block; font-size: 11px; letter-spacing: .22em; color: var(--mute); margin-bottom: 8px;
}
.nw-postnav .ttl{
  font-family: "Shippori Mincho","Noto Serif JP",serif; font-weight: 600;
  font-size: 15.5px; line-height: 1.6; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.nw-postnav a:hover .ttl{ color: var(--accent-2) }

/* 一覧へ戻る */
.nw-back{ text-align: center; margin: clamp(36px, 6vh, 56px) 0 clamp(56px, 9vh, 88px) }
.nw-back a{
  display: inline-block; background: var(--accent); color: #1f1410;
  font-family: "Shippori Mincho","Noto Serif JP",serif; font-weight: 700; font-size: 15px;
  letter-spacing: .1em; padding: 14px 40px; border-radius: 999px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.nw-back a:hover{ transform: translateY(-2px); box-shadow: 0 10px 24px rgba(250,204,21,.35) }

/* ═══════════════════════════════════════════════
   9. 404
   ═══════════════════════════════════════════════ */
.nw-404{ padding: clamp(72px, 14vh, 140px) 0 clamp(56px, 10vh, 96px) }
.nw-404 .eyebrow{ font-size: 12px; letter-spacing: .3em; color: var(--mute); margin: 0 0 18px }
.nw-404 h1{
  font-family: "Shippori Mincho","Noto Serif JP",serif; font-weight: 600;
  font-size: clamp(30px, 5vw, 48px); line-height: 1.3; letter-spacing: .06em; margin: 0;
}
.nw-404 .lead{ margin: 20px 0 0; font-size: clamp(14px, 1.6vw, 16px); color: var(--ink-2); max-width: 42em }
.nw-404 .rule{ width: 64px; height: 3px; background: var(--accent); margin-top: 28px }

/* ═══════════════════════════════════════════════
   10. レスポンシブ
   ═══════════════════════════════════════════════ */
@media (max-width: 980px){
  .ch-nav{ display: none }
  /* ヘッダー右のCTAは非表示（画面下部の固定バーと重複するため。2026-07-28 クライアント指示）。
     ⚠️ .ch-end ごと none にするとその子である .ch-burger も一緒に消える（＝スマホの唯一の
        回遊導線が失われる）。必ず .pill だけを消すこと。 */
  .ch-end .pill{ display: none }
  .ch-burger{ display: flex }
  .ch-foot-top{ grid-template-columns: 1fr 1fr; gap: 28px 18px }
  .ch-foot-brand{ grid-column: 1 / -1; text-align: center; padding-bottom: 14px; border-bottom: 1px dashed var(--line) }
  .ch-foot-brand .ch-brand{ justify-content: center }
  .ch-foot-brand p{ margin-left: auto; margin-right: auto }
  .ch-foot-col h2, .ch-foot-col h5{ font-size: 13px; margin-bottom: 14px }
  .ch-foot-col ul{ gap: 11px }
  .ch-foot-col a{ font-size: 13.5px; line-height: 1.5 }
  .ch-foot-cta{ grid-column: 1 / -1; text-align: center; padding-top: 14px; border-top: 1px dashed var(--line) }
  .ch-foot-cta .hours{ display: inline-block; margin-left: 14px }
}
@media (max-width: 720px){
  .nw-row{ grid-template-columns: 116px 1fr; gap: 16px; padding: 16px 2px }
  .nw-meta{ gap: 10px; margin-bottom: 8px }
  .nw-row .ex{ display: none }
  .nw-h2 .note{ display: none }
  .navigation.pagination .nav-links{ gap: 8px }
  .navigation.pagination .page-numbers{ min-width: 38px; height: 38px; padding: 0 10px }
  .nw-postnav{ grid-template-columns: 1fr }
  .nw-postnav .pn-next{ text-align: left; border-left: 0; border-top: 1px solid var(--line-2) }
  .nw-postnav .pn-empty{ display: none }
}
/* ≤980px のヘッダーCTA非表示（上の「10. レスポンシブ」で指定）は本体サイトと同一。
   下部の固定CTAバーが「電話する/お問い合わせ」を担うため、ヘッダーはロゴ＋バーガーのみ。 */

/* ═══════════════════════════════════════════════
   11. モバイルドロワー（≤980px）
       本体サイト common-chrome.jsx の .ch-drawer と同一デザイン・同一項目。
       ナビが消える幅でも、ここから全ページへ移動できる。
   ═══════════════════════════════════════════════ */
.ch-burger{
  display: none;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 46px; height: 46px; flex: none; padding: 11px; margin: 0;
  background: transparent; border: 1px solid var(--line); border-radius: 12px;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background .2s ease, border-color .2s ease;
}
.ch-burger span{ display: block; width: 100%; height: 2.2px; background: var(--ink); border-radius: 2px }
.ch-burger:active{ background: var(--accent-3); border-color: var(--accent) }

.ch-scrim{
  position: fixed; inset: 0; z-index: 190;
  background: rgba(31,20,16,.44); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity .28s ease, visibility 0s linear .28s;
}
.ch-scrim.on{ opacity: 1; pointer-events: auto; visibility: visible; transition: opacity .28s ease, visibility 0s }

.ch-drawer{
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 200;
  width: min(86vw, 384px); max-width: 100%;
  display: flex; flex-direction: column;
  background: var(--paper); color: var(--ink);
  border-left: 1px solid var(--line);
  box-shadow: -22px 0 60px rgba(31,20,16,.20);
  transform: translateX(100%); visibility: hidden;
  transition: transform .32s cubic-bezier(.4,0,.2,1), visibility 0s linear .32s;
  overscroll-behavior: contain;
}
.ch-drawer.on{ transform: translateX(0); visibility: visible; transition: transform .32s cubic-bezier(.4,0,.2,1), visibility 0s }
.ch-drawer:focus{ outline: none }
.admin-bar .ch-drawer{ top: 32px }
@media (max-width: 782px){ .admin-bar .ch-drawer{ top: 46px } }
.ch-dw-head{
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: none;
  padding: 12px 12px 12px 22px; border-bottom: 1px solid var(--line);
}
.ch-dw-ttl{
  display: inline-flex; align-items: center; gap: 12px;
  font-family: "Shippori Mincho","Noto Serif JP",serif; font-weight: 700; font-size: 15px; letter-spacing: .22em; color: var(--ink);
}
.ch-dw-ttl::before{ content: ""; width: 9px; height: 9px; background: var(--accent); transform: rotate(24deg); flex: none }
.ch-dw-x{
  width: 46px; height: 46px; flex: none;
  display: flex; align-items: center; justify-content: center; padding: 0; margin: 0;
  background: transparent; color: var(--ink);
  border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
  -webkit-tap-highlight-color: transparent; transition: background .2s ease, border-color .2s ease;
}
.ch-dw-x:active{ background: var(--accent-3); border-color: var(--accent) }
.ch-dw-body{ flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain }
.ch-dw-nav{ display: flex; flex-direction: column }
.ch-dw-nav a{
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 58px; padding: 15px 22px;
  font-family: "Shippori Mincho","Noto Serif JP",serif; font-weight: 700; font-size: 17px; letter-spacing: .09em;
  color: var(--ink); border-bottom: 1px solid var(--line-2);
  transition: background .18s ease, color .18s ease;
}
.ch-dw-nav a .ar{ font-family: "BIZ UDPGothic","Noto Sans JP",sans-serif; font-size: 14px; color: var(--mute); flex: none }
.ch-dw-nav a:active{ background: #fefce8 }
.ch-dw-nav a.active{ color: var(--accent-2); background: #fffbeb; box-shadow: inset 4px 0 0 var(--accent) }
.ch-dw-nav a.active .ar{ color: var(--accent-2) }
.ch-dw-act{ display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 12px }
.ch-dw-act a{
  display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 12px 18px;
  border-radius: 999px; white-space: nowrap;
  font-family: "BIZ UDPGothic","Noto Sans JP",sans-serif; font-weight: 700; font-size: 15px; letter-spacing: .12em;
  color: var(--ink); transition: background .2s ease, color .2s ease;
}
.ch-dw-act .row{ display: flex; gap: 10px }
.ch-dw-act .row a{ flex: 1 1 0; min-width: 0 }
.ch-dw-act .out{ border: 1.6px solid rgba(31,20,16,.5) }
.ch-dw-act .out:active{ background: var(--ink); color: var(--paper) }
.ch-dw-act .pill{ background: var(--accent); color: #1f1410; box-shadow: 0 10px 24px rgba(250,204,21,.34) }
.ch-dw-act .pill:active{ background: var(--ink); color: var(--accent) }
.ch-dw-tel{
  display: block; padding: 4px 22px 26px; text-align: center;
  font-family: "BIZ UDPGothic","Noto Sans JP",sans-serif; font-size: 12.5px; letter-spacing: .06em; color: var(--mute);
}
.ch-dw-tel b{
  display: block; margin-top: 4px; font-family: "Shippori Mincho","Noto Serif JP",serif; font-weight: 700;
  font-size: 22px; letter-spacing: .04em; color: var(--ink); font-variant-numeric: tabular-nums;
}
/* ※このブロックは「10. レスポンシブ」より後ろにあるため、表示切替もここで指定する */
@media (max-width: 980px){ .ch-burger{ display: flex } }
@media (min-width: 981px){ .ch-scrim, .ch-drawer{ display: none } }
@media (prefers-reduced-motion: reduce){
  .ch-drawer, .ch-drawer.on{ transition: visibility 0s }
  .ch-scrim, .ch-scrim.on{ transition: visibility 0s }
}

/* ═══════════════════════════════════════════════
   12. パンくずリスト ／ 関連情報（SEO 内部リンク導線）
       2026-07-31 追加。白＋黄＋明朝の既存様式に合わせた控えめな作り。
   ═══════════════════════════════════════════════ */
.nw-crumb{ margin: 0 0 22px }
.nw-crumb ol{
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px;
  list-style: none; margin: 0; padding: 0;
  font-family: "BIZ UDPGothic","Noto Sans JP",sans-serif;
  font-size: 12px; letter-spacing: .08em; line-height: 1.7; color: var(--mute);
}
.nw-crumb li{ display: flex; align-items: center; gap: 10px; min-width: 0 }
.nw-crumb li + li::before{ content: "›"; color: var(--mute); opacity: .55; font-size: 13px }
.nw-crumb a{ color: var(--mute); border-bottom: 1px solid transparent; transition: color .2s ease, border-color .2s ease }
.nw-crumb a:hover{ color: var(--accent-2); border-bottom-color: var(--accent) }
.nw-crumb [aria-current="page"]{
  color: var(--ink-2); min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%;
}

.nw-related{
  margin: 0 0 clamp(36px, 6vh, 60px);
  padding: clamp(24px, 4vh, 34px) clamp(20px, 3vw, 32px);
  background: var(--paper-2);
  border: 1px solid var(--line-2); border-top: 3px solid var(--accent);
  border-radius: 4px;
}
.nw-related > h2{
  display: flex; align-items: center; gap: 12px; margin: 0 0 20px;
  font-family: "Shippori Mincho","Noto Serif JP",serif; font-weight: 600;
  font-size: 19px; letter-spacing: .14em; color: var(--ink); line-height: 1.5;
}
.nw-related > h2 .sq{ width: 8px; height: 8px; background: var(--accent); flex: none }
.nw-related ul{
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
}
.nw-related li{ min-width: 0 }
.nw-related a{
  display: block; height: 100%; padding: 16px 18px;
  background: var(--paper); border: 1px solid var(--line-2); border-radius: 3px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.nw-related a:hover{ border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(31,20,16,.06) }
.nw-related .t{
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-family: "Shippori Mincho","Noto Serif JP",serif; font-weight: 700;
  font-size: 15.5px; letter-spacing: .06em; color: var(--ink); line-height: 1.6;
}
.nw-related .t .ar{ color: var(--accent-2); font-size: 14px; flex: none; transition: transform .2s ease }
.nw-related a:hover .t .ar{ transform: translateX(3px) }
.nw-related .d{
  display: block; margin-top: 8px;
  font-family: "BIZ UDPGothic","Noto Sans JP",sans-serif;
  font-size: 12.5px; line-height: 1.85; letter-spacing: .02em; color: var(--mute);
}
@media (max-width: 900px){
  .nw-related ul{ grid-template-columns: 1fr; gap: 10px }
  .nw-related > h2{ font-size: 17px; margin-bottom: 16px }
  .nw-crumb{ margin-bottom: 16px }
  .nw-crumb ol{ font-size: 11.5px }
}
@media (prefers-reduced-motion: reduce){
  .nw-related a, .nw-related .t .ar{ transition: none }
  .nw-related a:hover{ transform: none }
  .nw-related a:hover .t .ar{ transform: none }
}
