@charset "UTF-8";
/*
Theme Name: 横浜鶴声会 2026
Theme URI: https://www.y-kakuseikai.or.jp/
Author: 社会福祉法人 横浜鶴声会
Description: 社会福祉法人 横浜鶴声会のウェブサイト用テーマ。JIS X 8341-3:2016 レベルAA 相当のアクセシビリティ対応を目標に設計しています。
Version: 0.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: kakuseikai2026
*/

/* ============================================================
   1. デザイントークン
   ------------------------------------------------------------
   配色は白背景を前提とした単一テーマ。本文中に古い記事由来の
   インライン色指定(青文字など)が多数あるため、ダークテーマは
   設けず、常に明るい配色で表示する。
   ============================================================ */
:root {
  --bg:         #f6f7f3;
  --surface:    #ffffff;
  --surface-2:  #edf0e8;
  --ink:        #171d18;
  --ink-2:      #4a534a;
  --ink-3:      #626b5d;
  --line:       #e1e5da;   /* 飾りの区切り線 */
  --line-2:     #c9d0bf;   /* 少し濃い区切り線 */
  /* 入力欄など「操作する部品」の枠線。
     背景との明暗差 3:1 以上が必要なため、飾りの線とは別に用意する。 */
  --field-line: #6f7a68;
  --pine:       #1e4b32;
  --pine-dark:  #123322;
  --teal:       #0f5f66;
  --amber:      #a35c14;   /* 明るい背景の上で使う */
  --amber-dark: #8a4d0e;   /* 薄い橙の上に置く文字用 */
  --amber-soft: #f7e9d2;
  --danger:     #b3271c;

  --shadow-sm: 0 1px 2px rgba(23,29,24,.05), 0 4px 14px rgba(23,29,24,.045);
  --shadow-lg: 0 16px 40px rgba(18,51,34,.13);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --wrap: 1100px;
  --gutter: clamp(1.15rem, 4vw, 2.2rem);

  --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, "Segoe UI", system-ui, sans-serif;
  --mincho: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
}

/* ============================================================
   2. リセットと基本
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 17px;              /* 文字サイズ変更機能がこの値を上書きする */
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.9;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img, svg, iframe, video { max-width: 100%; }
img { height: auto; vertical-align: middle; }

a { color: var(--pine); text-underline-offset: .18em; }
a:hover { color: var(--teal); }

/* キーボード操作時に必ず見えるフォーカス表示 */
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 3px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--sans);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -.01em;
  text-wrap: balance;
  margin: 0 0 .6em;
}

p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.4em; }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2em 0;
}

/* ふりがな(法人名など読み方が難しい語に添える) */
ruby { ruby-position: over; }
rt { font-size: .5em; font-weight: 400; color: var(--ink-3); letter-spacing: .04em; }

/* 読み上げソフト専用テキスト(画面には表示しない) */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* 本文へスキップ */
.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 1000;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  padding: .7em 1.2em;
  border-radius: var(--r-pill);
  text-decoration: none;
  transition: top .16s;
}
.skip-link:focus { top: 1rem; color: #fff; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ============================================================
   3. ヘッダー
   ============================================================ */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header__rule { height: 3px; background: var(--pine); }

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 0;
}

.brand { display: flex; align-items: center; gap: .65em; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__name { display: block; font-weight: 700; font-size: 1.02rem; line-height: 1.4; }
.brand__sub   { display: block; font-size: .74rem; color: var(--ink-3); letter-spacing: .06em; line-height: 1.4; }

/* 文字サイズ変更 */
.textsize { display: flex; align-items: center; gap: .6em; font-size: .82rem; color: var(--ink-2); }
.textsize__group { display: inline-flex; background: var(--surface-2); border-radius: var(--r-pill); padding: 3px; gap: 2px; }
.textsize__btn {
  font-family: inherit; font-size: .95em; line-height: 1.4;
  border: 0; background: transparent; color: var(--ink-2);
  padding: .4em .95em; border-radius: var(--r-pill); cursor: pointer;
}
.textsize__btn:hover { color: var(--ink); }
.textsize__btn[aria-pressed="true"] {
  background: var(--surface); color: var(--ink); font-weight: 700; box-shadow: var(--shadow-sm);
}

/* 携帯電話向けのメニュー開閉ボタン */
.nav-toggle {
  display: none;
  align-items: center; gap: .5em;
  font-family: inherit; font-size: .95rem; font-weight: 700;
  background: var(--surface-2); color: var(--ink);
  border: 1px solid var(--line-2); border-radius: var(--r-pill);
  padding: .5em 1.1em; cursor: pointer;
}

/* 全体ナビ(法人・3施設) */
.nav-global { border-top: 1px solid var(--line); background: var(--surface); }
.nav-global__list { list-style: none; margin: 0; padding: .5rem 0; display: flex; flex-wrap: wrap; gap: .3em .4em; }
.nav-global a {
  display: inline-block; text-decoration: none;
  color: var(--ink-2); font-size: .94rem; font-weight: 600;
  padding: .5em 1em; border-radius: var(--r-pill);
}
.nav-global a:hover { background: var(--surface-2); color: var(--ink); }
.nav-global a[aria-current] { background: var(--pine); color: #fff; }

/* 施設内ナビ */
.nav-facility { background: var(--surface-2); border-top: 1px solid var(--line); }
.nav-facility__list { list-style: none; margin: 0; padding: .45rem 0; display: flex; flex-wrap: wrap; gap: .25em .3em; }
.nav-facility a {
  display: inline-block; text-decoration: none;
  color: var(--ink-2); font-size: .9rem; font-weight: 600;
  padding: .45em .9em; border-radius: var(--r-pill);
}
.nav-facility a:hover { background: var(--surface); color: var(--pine); }
.nav-facility a[aria-current] { background: var(--surface); color: var(--pine); box-shadow: var(--shadow-sm); }

@media (max-width: 780px) {
  .nav-toggle { display: inline-flex; }
  .nav-global__list, .nav-facility__list { flex-direction: column; align-items: stretch; }
  .nav-global a, .nav-facility a { border-radius: var(--r-sm); padding: .7em .9em; }
  .site-nav[hidden] { display: none; }
}

/* パンくずリスト */
.breadcrumb { padding: .9rem 0 0; font-size: .83rem; color: var(--ink-3); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3em; }
.breadcrumb a { color: var(--ink-3); }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: .45em; color: var(--line-2); }
.breadcrumb [aria-current] { color: var(--ink-2); font-weight: 700; }

/* ============================================================
   4. ページ見出し
   ============================================================ */
.page-hero { padding: clamp(2rem, 5vw, 3.4rem) 0 clamp(1rem, 2.5vw, 1.8rem); }
.page-hero__title { font-size: clamp(1.6rem, 4vw, 2.4rem); letter-spacing: -.02em; margin-bottom: .35em; }
.page-hero__lede { font-size: 1.06rem; color: var(--ink-2); max-width: 34em; margin: 0; }

.eyebrow {
  display: flex; align-items: center; gap: .7em;
  font-size: .74rem; font-weight: 700; letter-spacing: .18em;
  color: var(--ink-3); text-transform: uppercase; margin: 0 0 .7em;
}
.eyebrow::before { content: ""; width: 1.6em; height: 2px; background: var(--amber); border-radius: 2px; flex: none; }

/* ============================================================
   5. 本文エリア(データベースに保存された記事本文の体裁)
   ------------------------------------------------------------
   旧テーマ時代に作られたクラス名を引き継いで表示する。
   本文そのものは書き換えずに、見た目だけを新しくする。
   ============================================================ */
.site-main { padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }

.entry { max-width: 46rem; }
.entry.entry--wide { max-width: none; }

.entry p, .entry li { line-height: 1.95; }
.entry > *:last-child { margin-bottom: 0; }

.entry h2,
.entry .h1_tit01 {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  margin: 2.2em 0 .8em;
  padding-bottom: .4em;
  border-bottom: 2px solid var(--line);
}
.entry h2:first-child, .entry .h1_tit01:first-child { margin-top: 0; }
.entry .h1_tit01 > span { display: inline; }

.entry h3 { font-size: 1.12rem; margin: 1.8em 0 .6em; color: var(--pine-dark); }

/* 旧テーマのセクション・囲み */
.entry .secCont01 { margin: 0 0 2.6em; }
.entry .box_01 { margin: 0; }
.entry .clearfix::after { content: ""; display: table; clear: both; }

/* 見出し付きの囲み(施設基本情報など) */
.entry .boxItem01 {
  margin: 1.6em 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  overflow: hidden;
}
.entry .boxItem01 > dt {
  background: var(--surface-2);
  font-weight: 700;
  padding: .7em 1.1em;
  border-bottom: 1px solid var(--line);
}
.entry .boxItem01 > dt:not(:first-child) { background: transparent; border-bottom: 0; padding: 0; }
.entry .boxItem01 > dd { margin: 0; padding: 1.1em 1.2em; }
.entry .boxItem01 > dt > table { margin: 0; }

/* 表 */
.entry table {
  border-collapse: collapse;
  width: 100%;
  margin: 1.2em 0;
  font-size: .95rem;
  background: var(--surface);
}
.entry table th,
.entry table td {
  border: 1px solid var(--line-2);
  padding: .65em .8em;
  text-align: left;
  vertical-align: top;
}
.entry table th { background: var(--surface-2); font-weight: 700; }
.entry table th[scope="row"] { width: 12em; }
/* 数字が並ぶ料金表を読みやすく */
.entry table td { font-variant-numeric: tabular-nums; }
/* 幅の広い表は横スクロールさせ、本文全体が横に伸びないようにする */
.table-scroll { overflow-x: auto; margin: 1.2em 0; -webkit-overflow-scrolling: touch; }
.table-scroll > table { margin: 0; min-width: 34rem; }
.table-scroll:focus-visible { outline: 3px solid var(--ink); }

/* 表の中に表が入る古い記述への保険 */
.entry table table { margin: 0; border: 0; }
.entry table table th, .entry table table td { border: 0; padding: 0; }

/* リンク一覧(PDF資料など) */
.entry .linkList { list-style: none; padding: 0; margin: 1.2em 0; display: grid; gap: .5em; }
.entry .linkList > li { margin: 0; }
.entry .linkList > li > a {
  display: flex; align-items: flex-start; gap: .7em;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: .8em 1em;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}
.entry .linkList > li > a::before {
  content: "";
  flex: none;
  width: 1.15em; height: 1.4em;
  margin-top: .15em;
  background: var(--amber-soft);
  border: 1px solid var(--amber);
  border-radius: 2px;
}
.entry .linkList > li > a:hover { border-color: var(--pine); color: var(--pine); }
.entry .linkList > li > a span { color: inherit !important; }
/* 書類名の下に添える年度などの補足 */
.entry .linkList .doc-note {
  display: block;
  font-size: .82rem; font-weight: 400;
  color: var(--ink-3) !important;
  margin-top: .1em;
}

/* サイトマップ */
.sitemap ul { list-style: none; padding-left: 0; margin: 0; }
.sitemap > .secCont01 > article,
.sitemap > .secCont01 { margin-bottom: 2.4em; }
.sitemap > .secCont01 > ul > li { border-top: 1px solid var(--line); padding: .75em 0; }
.sitemap > .secCont01 > ul > li:last-child { border-bottom: 1px solid var(--line); }
.sitemap > .secCont01 > ul > li > a { font-weight: 700; }
/* 下の階層 */
.sitemap ul ul { margin: .6em 0 0; padding-left: 1.2em; border-left: 2px solid var(--line); }
.sitemap ul ul li { padding: .3em 0; font-size: .95em; }
.sitemap ul ul a { font-weight: 400; }
.sitemap a { text-decoration: none; }
.sitemap a:hover { text-decoration: underline; }

/* 本文の末尾に添える最終更新日 */
.entry-updated {
  margin-top: 3em;
  padding-top: 1em;
  border-top: 1px solid var(--line);
  font-size: .88rem;
  color: var(--ink-3);
}

/* ------------------------------------------------------------
   よくある質問
   質問の一覧(目次)と、答えのかたまりを見分けやすくする。
   目次は本文から自動で組み立てている(inc/faq.php)。
   ------------------------------------------------------------ */
.faq-index {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.4em 1.6em;
  margin: 0 0 2.4em;
}
.faq-index h2 {
  font-size: 1.05rem;
  margin: 0 0 .8em;
  padding: 0;
  border: 0;
}
.faq-index .faq-index__group {
  font-weight: 700;
  margin: 1.1em 0 .3em;
}
.faq-index .faq-index__group:first-of-type { margin-top: 0; }
.faq-index ul {
  list-style: none;
  margin: 0;
  padding-left: 1em;
  border-left: 2px solid var(--line-2);
}
.faq-index li { padding: .22em 0; font-size: .95rem; }

/* 質問の見出し。答えとひとかたまりに見えるようにする */
.entry h3[id^="q-"] {
  margin-top: 2em;
  padding-left: 1.7em;
  position: relative;
}
.entry h3[id^="q-"]::before {
  content: "Q";
  position: absolute;
  left: 0; top: .05em;
  width: 1.25em; height: 1.25em;
  display: flex; align-items: center; justify-content: center;
  background: var(--pine); color: #fff;
  border-radius: 50%;
  font-size: .78em; font-weight: 700;
}
/* 答えの続きを読むためのリンク */
.entry .faq-more { margin: .6em 0 0; font-size: .92rem; }
.entry .faq-more a { font-weight: 700; }

/* 画面の狭い端末では余白を詰める */
@media (max-width: 600px) {
  .faq-index { padding: 1.1em 1.2em; }
}

/* ページ冒頭に置く大きめの写真 */
.hero-photo { margin: 0 0 1em; }
.hero-photo img { width: 100%; height: auto; border-radius: var(--r-lg); border: 1px solid var(--line); }
.hero-photo figcaption { font-size: .88rem; color: var(--ink-3); margin-top: .4em; }

/* 写真についての注記(人物がAI合成であることの明示など) */
.photo-notice {
  font-size: .86rem;
  line-height: 1.8;
  color: var(--ink-2);
  background: var(--surface-2);
  border-left: 4px solid var(--line-2);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: .8em 1.1em;
  margin: 0 0 1.6em;
}
.entry .photo-notice { max-width: 46rem; }

/* 沿革の年表(法人の歩みと制度の動きを並べる) */
.entry .history th[scope="row"] { width: 13em; white-space: nowrap; font-weight: 700; }
.entry .history td:first-of-type { width: 4.5em; }
/* 制度の行は控えめにして、法人の歩みを目で追いやすくする */
.entry .history tr.is-law > * { background: var(--surface-2); color: var(--ink-2); }
.entry .history tr.is-law th[scope="row"] { font-weight: 400; }
.era-chip {
  display: inline-block;
  font-size: .72rem; font-weight: 700; line-height: 1.7;
  padding: 0 .7em; border-radius: var(--r-pill);
  background: var(--pine); color: #fff;
  white-space: nowrap;
}
.era-chip--law { background: transparent; color: var(--ink-2); border: 1px solid var(--line-2); }
@media (max-width: 620px) {
  .entry .history th[scope="row"] { width: auto; white-space: normal; }
}

/* 準備中の書類(リンクではないことが分かるようにする) */
.entry .doc-pending {
  display: inline-flex; align-items: center; gap: .6em; flex-wrap: wrap;
  color: var(--ink-3);
}
.entry .doc-pending__label {
  font-size: .72em; font-weight: 700; letter-spacing: .08em;
  color: var(--ink-2); background: var(--surface-2);
  border: 1px dashed var(--line-2); border-radius: var(--r-pill);
  padding: .15em .75em;
  white-space: nowrap;
}
/* 資料一覧の中にある準備中の項目 */
.entry .linkList > li > .doc-pending {
  display: flex; align-items: flex-start; gap: .7em;
  background: var(--surface);
  border: 1px dashed var(--line-2);
  border-radius: var(--r-sm);
  padding: .8em 1em;
  font-weight: 600;
}
.entry .linkList > li > .doc-pending::before {
  content: "";
  flex: none;
  width: 1.15em; height: 1.4em;
  margin-top: .15em;
  background: var(--surface-2);
  border: 1px dashed var(--line-2);
  border-radius: 2px;
}

/* 手順リスト */
.entry .flowList { list-style: none; padding: 0; margin: 0; counter-reset: flow; display: grid; gap: .6em; }
.entry .flowList > li {
  counter-increment: flow;
  display: flex; align-items: flex-start; gap: .8em;
  background: var(--surface-2);
  border-radius: var(--r-sm);
  padding: .7em 1em;
}
.entry .flowList > li::before {
  content: counter(flow);
  flex: none;
  width: 1.8em; height: 1.8em;
  display: grid; place-items: center;
  background: var(--pine); color: #fff;
  border-radius: 50%;
  font-size: .82em; font-weight: 700;
  margin-top: .2em;
}

/* 画像の並び */
.entry .imageList { list-style: none; padding: 0; margin: 1.5em 0; display: grid; gap: 1.1em; }
.entry .imageList.cols02 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.entry .imageList figure { margin: 0; }
.entry .imageList img { width: 100%; border-radius: var(--r-md); border: 1px solid var(--line); }
.entry .imageList figcaption { font-size: .88rem; color: var(--ink-3); margin-top: .4em; text-align: center; }

/* ボタン風リンク */
.entry .btnMain01,
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  background: var(--pine); color: #fff;
  font-weight: 700; text-decoration: none;
  padding: .75em 1.5em;
  border-radius: var(--r-pill);
  border: 0; cursor: pointer; font-size: 1rem; font-family: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .18s;
}
.entry .btnMain01:hover, .btn:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--ghost { background: transparent; color: var(--pine); border: 1.5px solid var(--line-2); box-shadow: none; }
.btn--ghost:hover { color: var(--pine); border-color: var(--pine); box-shadow: var(--shadow-sm); }

/* 連絡先ブロック */
.entry .message {
  background: var(--surface-2);
  border-radius: var(--r-lg);
  padding: 1.6em 1.8em;
  margin: 2.4em 0 0;
}
.entry .message dl { margin: 0; }
.entry .message dt { font-weight: 700; font-size: 1.05rem; margin-bottom: .3em; }
.entry .message dt:empty { display: none; }
.entry .message dd { margin: 0; color: var(--ink-2); }

/* 注意書き・補足 */
.entry .notice {
  background: var(--amber-soft);
  border-left: 4px solid var(--amber);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: .9em 1.1em;
  color: var(--ink);
}
.entry .cNumber { font-size: .88em; color: var(--ink-3); }

/* 地図 */
.entry .map { margin: 0 0 1.2em; }
.entry .map iframe { width: 100%; height: clamp(260px, 42vw, 420px); border: 1px solid var(--line); border-radius: var(--r-md); }
.entry .image img { border-radius: var(--r-md); border: 1px solid var(--line); }

/* 旧テーマの余白・寄せ指定 */
.entry .mb0  { margin-bottom: 0 !important; }
.entry .mb5  { margin-bottom: .3em !important; }
.entry .mb15 { margin-bottom: .9em !important; }
.entry .mb24 { margin-bottom: 1.4em !important; }
.entry .mb30 { margin-bottom: 1.8em !important; }
.entry .mb35 { margin-bottom: 2.1em !important; }
.entry .taL { text-align: left; }
.entry .taC { text-align: center; }
.entry .taR { text-align: right; }

/* 外部リンク・PDF の目印 */
.ext-badge, .pdf-badge {
  display: inline-block;
  font-size: .7em; font-weight: 700; letter-spacing: .06em;
  background: var(--surface-2); color: var(--ink-3);
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  padding: .1em .6em;
  margin-left: .4em;
  vertical-align: .1em;
  white-space: nowrap;
}

/* ============================================================
   6. 施設トップページ用の部品
   ============================================================ */
.band { padding: clamp(2.4rem, 5.5vw, 4rem) 0; }
.band--alt { background: var(--surface-2); }
.band__title { font-size: clamp(1.3rem, 2.6vw, 1.8rem); }

.lede-panel { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(1.6rem,4vw,3.2rem); align-items: start; }
@media (max-width: 820px) { .lede-panel { grid-template-columns: 1fr; } }

.pullquote {
  font-family: var(--mincho);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  line-height: 1.75;
  color: var(--pine-dark);
  margin: 0 0 1.2em;
}

/* お知らせ一覧 */
.newslist { list-style: none; padding: 0; margin: 1.6em 0 0; }
.newslist__item { border-bottom: 1px solid var(--line); }
.newslist__item:first-child { border-top: 1px solid var(--line); }
.newslist__link {
  display: flex; gap: 1.2em; align-items: baseline; flex-wrap: wrap;
  padding: 1.05em .4em;
  text-decoration: none; color: var(--ink);
  border-radius: var(--r-md);
  transition: background .18s, padding-left .18s;
}
.newslist__link:hover { background: var(--surface); color: var(--pine); padding-left: .9em; }
.newslist__date {
  flex: none; min-width: 6.2em;
  font-size: .8rem; font-weight: 700; letter-spacing: .04em;
  color: var(--ink-3); font-variant-numeric: tabular-nums;
}
.newslist__title { flex: 1 1 18em; font-weight: 600; }
/* 一覧に施設名(カテゴリ)を添える */
.newslist__cats { display: inline-flex; flex-wrap: wrap; gap: .35em; margin-left: .6em; vertical-align: .05em; }
.cat-chip {
  display: inline-block;
  font-size: .72rem; font-weight: 700; line-height: 1.6;
  color: var(--ink-3); background: var(--surface-2);
  border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: .05em .75em;
}

.tag-new {
  display: inline-block; margin-left: .6em;
  background: var(--amber); color: #fff;
  font-size: .66rem; font-weight: 700; letter-spacing: .08em;
  padding: .15em .6em; border-radius: var(--r-pill);
  vertical-align: .15em;
}

/* メニューカード */
.cardgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 1.6em 0 0; }
.cardgrid a {
  display: flex; align-items: center; justify-content: space-between; gap: .8em;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 1.1em 1.3em;
  text-decoration: none; color: var(--ink); font-weight: 600;
  transition: transform .18s, border-color .18s, box-shadow .18s;
}
.cardgrid a:hover { transform: translateY(-3px); border-color: var(--pine); color: var(--pine); box-shadow: var(--shadow-sm); }
.cardgrid a .arrow { color: var(--ink-3); }
.cardgrid a:hover .arrow { color: var(--pine); }

/* 準備中の案内 */
.wip {
  max-width: 40rem;
  background: var(--surface);
  border: 1px dashed var(--line-2);
  border-radius: var(--r-lg);
  padding: 1.6em 1.8em;
  margin-top: 1.6em;
}
.wip__label {
  display: inline-block;
  background: var(--surface-2); color: var(--ink-2);
  font-size: .76rem; font-weight: 700; letter-spacing: .1em;
  padding: .3em .95em; border-radius: var(--r-pill);
  margin: 0 0 .9em;
}
.wip p:last-child { margin-bottom: 0; }

/* SNS */
.snsgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: 1rem; list-style: none; padding: 0; margin: 1.6em 0 0; }
.snsgrid a {
  display: flex; align-items: center; gap: 1em;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.2em 1.4em;
  text-decoration: none; color: var(--ink);
  transition: transform .18s, box-shadow .18s;
}
.snsgrid a:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); }
.snsgrid svg { width: 28px; height: 28px; flex: none; color: var(--ink-2); }
.snsgrid a:hover svg { color: var(--pine); }
.snsgrid .t { display: block; font-weight: 700; line-height: 1.5; }
.snsgrid .s { display: block; font-size: .84rem; color: var(--ink-3); }

/* 電話の行動喚起 */
.cta {
  background: var(--pine); color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  display: flex; justify-content: space-between; align-items: center;
  gap: 1.4em; flex-wrap: wrap;
}
.cta h2 { color: #fff; margin: 0 0 .25em; font-size: clamp(1.1rem, 2.2vw, 1.45rem); }
.cta p { color: #fff; opacity: .85; margin: 0; font-size: .95rem; }
.cta__tel {
  display: inline-flex; align-items: center; gap: .5em;
  background: #fff; color: var(--pine-dark);
  font-weight: 700; font-size: 1.2rem;
  font-variant-numeric: tabular-nums;
  padding: .7em 1.5em; border-radius: var(--r-pill);
  text-decoration: none; box-shadow: var(--shadow-sm);
}
.cta__tel:hover { color: var(--pine-dark); transform: translateY(-2px); }

/* ページ送り */
.pager { display: flex; gap: .5em; flex-wrap: wrap; margin-top: 2.5em; }
.pager .page-numbers {
  display: inline-block; padding: .5em .95em;
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  background: var(--surface); text-decoration: none; color: var(--ink);
}
.pager .page-numbers.current { background: var(--pine); color: #fff; border-color: var(--pine); font-weight: 700; }
.pager .page-numbers:hover:not(.current) { border-color: var(--pine); color: var(--pine); }

/* ============================================================
   7. フォーム(Contact Form 7)
   ============================================================ */
.form-area { max-width: 38rem; }
.wpcf7 { margin-top: 1.5em; }
.wpcf7 p { margin: 0 0 1.3em; }
.wpcf7 label { display: block; font-weight: 600; margin-bottom: .35em; }
/* 読み上げ用のラベル(郵便番号の各欄など)は場所を取らないようにする */
.wpcf7 label.sr-only { display: inline; margin: 0; }

/* 入力欄のまとまり */
.wpcf7 .row { margin: 0 0 1.4em; }
.wpcf7 .row2 { display: flex; gap: .8em; flex-wrap: wrap; align-items: center; margin-top: 1.8em; }
.wpcf7 .form-t { margin-bottom: 1.4em; color: var(--ink-2); font-size: .95rem; }
/* 必須の印。色だけに頼らず「※」の文字と冒頭の説明で伝える */
.wpcf7 .red, .wpcf7 .form-t .red { color: var(--danger); font-weight: 700; }
/* 入力欄の下に出る補足説明 */
.wpcf7 .help { margin-top: .4em; font-size: .86rem; color: var(--ink-2); }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  font-family: inherit; font-size: 1rem; line-height: 1.7;
  padding: .7em .85em;
  color: var(--ink); background: var(--surface);
  /* 操作する部品なので、背景との明暗差 3:1 以上を確保した枠線を使う */
  border: 1.5px solid var(--field-line);
  border-radius: var(--r-sm);
}
.wpcf7 input:hover, .wpcf7 textarea:hover, .wpcf7 select:hover { border-color: var(--ink-2); }
.wpcf7 input:focus-visible, .wpcf7 textarea:focus-visible, .wpcf7 select:focus-visible {
  outline: 3px solid var(--ink); outline-offset: 2px;
}
.wpcf7 input[type="checkbox"], .wpcf7 input[type="radio"] { width: 1.25em; height: 1.25em; accent-color: var(--pine); }
.wpcf7 .wpcf7-list-item { margin: 0 1.2em .3em 0; }
.wpcf7 input[type="submit"] {
  background: var(--pine); color: #fff; font-weight: 700;
  border: 0; border-radius: var(--r-pill);
  padding: .8em 2em; font-size: 1rem; cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.wpcf7 input[type="submit"]:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.wpcf7-not-valid-tip { color: var(--danger); font-weight: 700; font-size: .88rem; margin-top: .35em; }
.wpcf7 .wpcf7-not-valid { border-color: var(--danger); }
.wpcf7-response-output {
  margin: 1.5em 0 0 !important;
  padding: 1em 1.2em !important;
  border-radius: var(--r-sm);
  border-width: 2px !important;
}

/* ============================================================
   8. フッター
   ============================================================ */
.site-footer { background: var(--ink); color: #fff; margin-top: clamp(2.5rem, 6vw, 4rem); }
.site-footer a { color: #fff; }
.site-footer__inner {
  display: flex; justify-content: space-between; gap: 2.2em; flex-wrap: wrap;
  padding: clamp(2.2rem, 5vw, 3.2rem) 0 1.5rem;
  font-size: .93rem;
}
.site-footer__brand { display: flex; align-items: center; gap: .6em; font-weight: 700; margin-bottom: .9em; }
.site-footer p { opacity: .88; }
.site-footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55em; }
.site-footer__bar {
  border-top: 1px solid rgba(255,255,255,.14);
  padding: 1.1rem 0 1.6rem;
  font-size: .8rem; opacity: .65;
}

/* ============================================================
   9. 印刷
   ============================================================ */
@media print {
  .skip-link, .site-nav, .nav-global, .nav-facility, .textsize, .nav-toggle, .cta { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .site-footer { background: #fff; color: #000; }
  .site-footer a { color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; word-break: break-all; }
}
