/*
Theme Name: 社会福祉法人 三共会
Theme URI: https://www.kotonear.com/sankyokai/
Description: 社会福祉法人 三共会 コーポレートサイト用カスタムテーマ。白基調＋深緑＋明朝見出しの「固い・きっちり」デザイン（SITE_SPEC §5）。介護・保育・学童保育の3事業を俯瞰する法人コーポレートサイト。
Author: jinbee
Version: 0.1.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: sankyokai
*/

/* =============================================================
   社会福祉法人 三共会 — コーポレートサイト
   デザインシステム（固い・きっちり／中間案 §5）
   白基調 + 深緑 + 明朝見出し + 実線罫線 + 小角丸
   ============================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* Base (白基調 — クリーム廃止) */
  --base-0:   #FFFFFF;
  --base-50:  #F5F7F4;
  --base-100: #ECEFEA;
  --line-200: #DCE2D8;
  --line-300: #C3CCBD;

  /* Ink (ニュートラル寄り) */
  --ink-900: #1E241F;
  --ink-700: #41483F;
  --ink-600: #565E53;
  --ink-500: #6B7268;
  --ink-400: #9AA095;

  /* Forest (主役グリーン) */
  --forest-900: #123A18;
  --forest-800: #1C5226;
  --forest-700: #2A6E36;
  --forest-600: #3E8A4B;
  --forest-100: #E3EFE2;

  /* Clay (最重要CTA/注意のみ) */
  --clay-700: #B4322B;
  --clay-600: #C7463E;
  --clay-100: #F4DEDB;

  /* Gold (差し色 — あたたかさ) */
  --gold-700: #946F1F;
  --gold-600: #B0892C;
  --gold-100: #F1E7CC;

  /* Warm (柔らかさ — ごく控えめな暖色面) */
  --warm-50:  #F8F6F0;
  --warm-100: #F1E7CC;

  /* Fonts */
  --font-display: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-en: "Cormorant Garamond", "Shippori Mincho", serif;

  /* Geometry */
  --radius-btn: 6px;
  --radius-card: 8px;
  --radius-lg: 20px;
  --container: 1180px;
  --container-narrow: 880px;
  --container-wide: 1320px;

  /* Elevation (控えめ＋やわらかい) */
  --shadow-card: 0 1px 2px rgba(30, 36, 31, .04);
  --shadow-hover: 0 6px 18px rgba(30, 36, 31, .08);
  --shadow-soft: 0 24px 60px -28px rgba(28, 60, 34, .35);
  --shadow-header: 0 1px 0 var(--line-200);

  /* Spacing scale */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 96px; --s-10: 128px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--body-size, 16px);
  color: var(--ink-900);
  background: var(--base-0);
  line-height: 1.85;
  letter-spacing: .01em;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--forest-700); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--forest-600); }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.4; letter-spacing: .02em; color: var(--ink-900); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--forest-700); outline-offset: 2px; border-radius: 2px; }

/* ---------- 3. Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.container.narrow { max-width: var(--container-narrow); }
.section { padding: var(--s-9) 0; }
.section.tight { padding: var(--s-8) 0; }
.section--alt { background: var(--base-50); border-top: 1px solid var(--line-200); border-bottom: 1px solid var(--line-200); }
html[data-flat="1"] .section--alt { background: var(--base-0); }

/* ---------- 4. Eyebrow / 英字ラベル + 縦罫 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-sans); font-weight: 500;
  font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--forest-700);
  margin: 0 0 20px;
}
.eyebrow::before {
  content: ""; width: 2px; height: 18px; background: var(--forest-700);
  display: inline-block; flex: none;
}
.eyebrow.is-light { color: var(--forest-100); }
.eyebrow.is-light::before { background: var(--gold-600); }
.eyebrow.centered { justify-content: center; }

/* ---------- 5. Headings & text ---------- */
.h-display { font-size: clamp(30px, 4vw, 46px); line-height: 1.32; letter-spacing: .03em; }
.h-section { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.36; }
.h-sub { font-size: clamp(20px, 2.2vw, 26px); }
.lead { font-size: 17px; color: var(--ink-700); line-height: 2; }
.muted { color: var(--ink-600); }
.section-head { margin-bottom: var(--s-7); }
.section-head.centered { text-align: center; }
.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-sans); font-weight: 500; font-size: 15px; letter-spacing: .04em;
  padding: 14px 28px; border-radius: var(--radius-btn);
  border: 1px solid transparent; transition: background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn--primary { background: var(--forest-800); color: #fff; border-color: var(--forest-800); }
.btn--primary:hover { background: var(--forest-700); color: #fff; border-color: var(--forest-700); }
.btn--secondary { background: transparent; color: var(--forest-800); border-color: var(--line-300); }
.btn--secondary:hover { background: var(--forest-100); color: var(--forest-800); border-color: var(--forest-600); }
.btn--emphasis { background: var(--clay-700); color: #fff; border-color: var(--clay-700); }
.btn--emphasis:hover { background: var(--clay-600); color: #fff; border-color: var(--clay-600); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.btn--block { width: 100%; }

/* ---------- 7. Placeholder image (.ph) — soft duotone ---------- */
.ph {
  position: relative; overflow: hidden;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-card);
  color: var(--ink-500);
  min-height: 200px;
  background:
    radial-gradient(125% 120% at 0% 0%, var(--forest-100) 0%, rgba(227,239,226,0) 52%),
    radial-gradient(120% 120% at 100% 100%, var(--warm-100) 0%, rgba(241,231,204,0) 48%),
    linear-gradient(155deg, var(--base-100) 0%, var(--base-50) 100%);
}
.ph::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background: repeating-linear-gradient(135deg, rgba(28,82,38,.045) 0 1px, transparent 1px 16px);
}
.ph::after {
  content: attr(data-label);
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-500); white-space: nowrap;
  background: rgba(255,255,255,.82); border: 1px solid var(--line-200);
  padding: 7px 15px; border-radius: 999px;
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.ph.is-forest {
  border-color: var(--forest-900);
  background:
    radial-gradient(130% 130% at 100% 0%, rgba(62,138,75,.55) 0%, rgba(18,58,24,0) 55%),
    radial-gradient(110% 120% at 0% 100%, rgba(176,137,44,.28) 0%, rgba(18,58,24,0) 50%),
    linear-gradient(155deg, var(--forest-800) 0%, var(--forest-900) 100%);
}
.ph.is-forest::before { opacity: .6; background: repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 1px, transparent 1px 16px); }
.ph.is-forest::after { background: rgba(18,58,24,.5); border-color: rgba(255,255,255,.22); color: var(--forest-100); }
.ph.soft { border-radius: var(--radius-lg); }
.ph.round { border-radius: 999px; }
.ph.ratio-16-9 { aspect-ratio: 16 / 9; min-height: 0; }
.ph.ratio-4-3 { aspect-ratio: 4 / 3; min-height: 0; }
.ph.ratio-3-2 { aspect-ratio: 3 / 2; min-height: 0; }
.ph.ratio-1-1 { aspect-ratio: 1 / 1; min-height: 0; }

/* ---------- 8. Cards ---------- */
.card {
  background: var(--base-0);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.card:hover { box-shadow: var(--shadow-hover); border-color: var(--line-300); }
.card__body { padding: 28px; }

/* ---------- 9. Section divider (実線罫線) ---------- */
.rule { border: 0; border-top: 1px solid var(--line-200); margin: 0; }
.rule.strong { border-top-color: var(--line-300); }

/* ---------- 10. Reveal (控えめ) ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 11. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(6px);
  -webkit-backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--line-200);
}
.site-header__bar { display: flex; align-items: center; gap: 24px; height: 78px; }
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand__logo { height: 46px; width: auto; display: block; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__corp { display: block; font-family: "Klee One", var(--font-sans); font-weight: 600; font-size: 11px; color: var(--ink-600); letter-spacing: .08em; white-space: nowrap; }
.brand__name { display: block; font-family: "Klee One", var(--font-sans); font-weight: 600; font-size: 21px; color: var(--ink-900); letter-spacing: .04em; white-space: nowrap; }
@media (max-width: 560px) {
  .brand__logo { height: 38px; }
  .brand__corp { font-size: 10px; }
  .brand__name { font-size: 18px; }
}
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.primary-nav a {
  display: inline-block; padding: 10px 12px; font-size: 14px; font-weight: 500;
  color: var(--ink-700); border-radius: 5px; position: relative; white-space: nowrap;
}
.primary-nav a:hover { color: var(--forest-800); background: var(--base-50); }
.primary-nav a[aria-current="page"] { color: var(--forest-800); }
.primary-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--forest-700);
}
/* ドロップダウン（法人について ▾） */
.primary-nav .has-sub { position: relative; }
.nav-caret { font-size: 9px; margin-left: 2px; color: var(--ink-500); }
.primary-nav .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 230px; margin: 0; padding: 8px;
  display: block; flex-direction: column; gap: 0;
  background: #fff; border: 1px solid var(--line-200); border-radius: 10px;
  box-shadow: 0 12px 30px rgba(30,36,31,.12);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease; z-index: 60;
}
.primary-nav .has-sub:hover .sub-menu,
.primary-nav .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu li { width: 100%; }
.primary-nav .sub-menu a { display: block; width: 100%; padding: 11px 14px; font-size: 13.5px; border-radius: 6px; white-space: nowrap; }
.primary-nav .sub-menu a:hover { background: var(--forest-100); color: var(--forest-800); }
.header-cta { margin-left: 14px; display: flex; align-items: center; gap: 14px; flex: none; }
.header-tel { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.header-tel__num { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--forest-800); letter-spacing: .02em; white-space: nowrap; }
.header-tel__label { font-size: 10.5px; color: var(--ink-500); letter-spacing: .06em; }
.hamburger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-300); border-radius: 6px; background: #fff; margin-left: auto; position: relative; }
.hamburger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink-900); transition: transform .25s ease, opacity .2s ease; }
.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 27px; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile sheet */
.mobile-sheet {
  position: fixed; inset: 78px 0 0; z-index: 55;
  background: var(--base-0);
  transform: translateX(100%); transition: transform .3s ease;
  overflow-y: auto; visibility: hidden;
}
.mobile-sheet.open { transform: none; visibility: visible; }
.mobile-sheet__inner { padding: 16px 24px 48px; }
.mobile-sheet a { display: block; padding: 16px 4px; font-size: 17px; font-weight: 500; color: var(--ink-900); border-bottom: 1px solid var(--line-200); }
.mobile-sheet a .en { font-size: 11px; letter-spacing: .12em; color: var(--ink-500); margin-left: 10px; text-transform: uppercase; }
.mobile-sheet a.mobile-sub { padding-left: 20px; font-size: 14.5px; font-weight: 400; color: var(--ink-700); }
.mobile-sheet a.mobile-sub::before { content: "─ "; color: var(--line-300); }
.mobile-sheet__tel { margin-top: 28px; padding: 20px; background: var(--base-50); border: 1px solid var(--line-200); border-radius: 8px; text-align: center; }
.mobile-sheet__tel .num { font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--forest-800); }

/* ---------- 12. Page hero（白基調・清潔感） ---------- */
.page-hero { background: var(--base-0); color: var(--ink-900); position: relative; overflow: hidden; border-bottom: 1px solid var(--line-200); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(120% 140% at 0% 0%, var(--forest-100) 0%, rgba(227,239,226,0) 40%), radial-gradient(110% 130% at 100% 100%, var(--warm-50) 0%, rgba(248,246,240,0) 46%); }
.page-hero__bg { display: none; }
.page-hero__scrim { display: none; }
.page-hero__inner { padding: 88px 0 72px; position: relative; z-index: 2; }
.page-hero .eyebrow { color: var(--forest-700); }
.page-hero .eyebrow::before { background: var(--gold-600); }
.page-hero h1, .page-hero .page-hero__title { color: var(--ink-900); font-size: clamp(32px, 4.4vw, 50px); letter-spacing: .045em; line-height: 1.34; margin: 0; font-family: var(--font-display); font-weight: 600; }
.page-hero__lead { margin-top: 22px; color: var(--ink-700); font-size: 16px; max-width: 660px; line-height: 2.05; }
.page-hero__rule { border-top: 1px solid var(--line-200); }
.page-hero .crest-watermark { right: -1vw; bottom: -12%; font-size: min(34vh, 300px); color: var(--forest-100); opacity: .7; z-index: 1; }

/* ---------- 13. Breadcrumb ---------- */
.breadcrumb { padding: 14px 0; font-size: 13px; color: var(--ink-500); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: var(--line-300); }
.breadcrumb a { color: var(--ink-600); }
.breadcrumb [aria-current="page"] { color: var(--ink-700); }

/* ---------- 14. Number strip ---------- */
.numbers { background: var(--base-0); border-top: 1px solid var(--line-300); border-bottom: 1px solid var(--line-300); }
.numbers__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.num-item { padding: 44px 28px; text-align: center; border-left: 1px solid var(--line-200); }
.num-item:first-child { border-left: 0; }
.num-item__en { font-size: 11px; letter-spacing: .2em; color: var(--gold-600); text-transform: uppercase; font-weight: 500; }
.num-item__value { font-family: var(--font-display); font-weight: 600; font-size: clamp(36px, 4.4vw, 52px); color: var(--forest-800); line-height: 1.1; margin: 12px 0 10px; letter-spacing: .02em; }
.num-item__label { font-size: 13px; color: var(--ink-600); line-height: 1.7; }

/* ---------- 15. CTA banner ---------- */
.cta-banner { background: var(--forest-800); color: #fff; }
.cta-banner__inner { padding: 64px 0; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-banner h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); letter-spacing: .03em; }
.cta-banner p { color: rgba(255,255,255,.8); margin-top: 14px; font-size: 15px; }
.cta-banner__actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-tel { line-height: 1.3; }
.cta-tel__num { font-family: var(--font-display); font-weight: 600; font-size: 34px; color: #fff; letter-spacing: .02em; }
.cta-tel__label { font-size: 12px; color: rgba(255,255,255,.7); letter-spacing: .06em; }

/* ---------- 16. Footer ---------- */
.site-footer { background: var(--forest-900); color: rgba(255,255,255,.74); font-size: 14px; }
.site-footer__top { padding: 64px 0 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer-brand__logo { height: 66px; width: auto; display: block; }
.footer-brand__name { font-family: "Klee One", var(--font-sans); font-weight: 600; font-size: 20px; color: #fff; letter-spacing: .05em; margin-top: 16px; }
.footer-brand__addr { margin-top: 14px; line-height: 1.9; color: rgba(255,255,255,.66); font-size: 13.5px; }
.footer-col h3 { font-family: var(--font-sans); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--forest-100); margin-bottom: 18px; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: rgba(255,255,255,.78); }
.footer-col a:hover { color: #fff; }
.footer-group-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 7px; margin-bottom: 10px; transition: border-color .15s ease, background .15s ease; }
.footer-group-card:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.04); }
.footer-group-card .label { color: #fff; font-weight: 500; font-size: 13.5px; }
.footer-group-card .sub { color: rgba(255,255,255,.55); font-size: 11.5px; }
.site-footer__legal { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-legal-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-legal-links a { color: rgba(255,255,255,.66); font-size: 13px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.5); letter-spacing: .04em; }

/* ---------- 17. News list ---------- */
.news-list { border-top: 1px solid var(--line-200); }
.news-row { display: flex; gap: 24px; align-items: center; padding: 22px 4px; border-bottom: 1px solid var(--line-200); transition: background .15s ease; }
.news-row:hover { background: var(--base-50); }
.news-row__date { font-family: var(--font-display); font-size: 14px; color: var(--ink-600); flex: none; width: 110px; letter-spacing: .03em; }
.news-tag { flex: none; font-size: 11.5px; font-weight: 500; letter-spacing: .04em; padding: 4px 12px; border-radius: 4px; border: 1px solid var(--line-300); color: var(--ink-700); background: var(--base-50); }
.news-tag.is-care { color: var(--forest-700); border-color: var(--forest-600); background: var(--forest-100); }
.news-tag.is-nursery { color: var(--gold-600); border-color: var(--gold-600); background: var(--gold-100); }
.news-tag.is-info { color: var(--ink-600); }
.news-row__title { font-size: 15px; color: var(--ink-900); font-weight: 500; }
.news-row:hover .news-row__title { color: var(--forest-800); }

/* ---------- 18. Forms ---------- */
.form-field { margin-bottom: 28px; }
.form-label { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 14.5px; color: var(--ink-900); margin-bottom: 10px; }
.req { font-size: 11px; font-weight: 500; color: #fff; background: var(--clay-700); padding: 2px 8px; border-radius: 3px; letter-spacing: .04em; }
.opt { font-size: 11px; font-weight: 500; color: var(--ink-600); background: var(--base-100); padding: 2px 8px; border-radius: 3px; letter-spacing: .04em; }
.input, .textarea, select.input {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--ink-900);
  padding: 13px 15px; background: #fff; border: 1px solid var(--line-300); border-radius: var(--radius-btn);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input:focus, .textarea:focus, select.input:focus { outline: none; border-color: var(--forest-700); box-shadow: 0 0 0 3px var(--forest-100); }
.input.invalid, .textarea.invalid { border-color: var(--clay-700); box-shadow: 0 0 0 3px var(--clay-100); }
.textarea { min-height: 160px; resize: vertical; line-height: 1.8; }
.field-error { display: none; margin-top: 8px; font-size: 13px; color: var(--clay-700); }
.field-error.show { display: block; }
.radio-group { display: grid; gap: 12px; }
.radio-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line-300); border-radius: var(--radius-btn); cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.radio-card:hover { border-color: var(--forest-600); background: var(--base-50); }
.radio-card input { accent-color: var(--forest-700); width: 18px; height: 18px; flex: none; }
.radio-card.checked { border-color: var(--forest-700); background: var(--forest-100); }
.radio-card__text { font-size: 14.5px; color: var(--ink-900); }
.consent { display: flex; gap: 12px; align-items: flex-start; padding: 18px; background: var(--base-50); border: 1px solid var(--line-200); border-radius: var(--radius-btn); }
.consent input { accent-color: var(--forest-700); width: 18px; height: 18px; margin-top: 3px; flex: none; }

/* ---------- 19. Timeline (沿革) ---------- */
.timeline { position: relative; margin-left: 8px; }
.timeline::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px; background: var(--line-300); }
.tl-item { position: relative; padding: 0 0 30px 36px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -4px; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--base-0); border: 2px solid var(--line-300); }
.tl-item.major::before { background: var(--forest-700); border-color: var(--forest-700); width: 11px; height: 11px; left: -5px; }
.tl-year { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--forest-800); letter-spacing: .03em; }
.tl-item.major .tl-year { font-size: 17px; }
.tl-text { font-size: 14.5px; color: var(--ink-700); margin-top: 4px; }
.tl-item.major .tl-text { color: var(--ink-900); font-weight: 500; }

/* ---------- 20. Info table (組織概要 / 開示) ---------- */
.info-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line-300); }
.info-table th, .info-table td { text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--line-200); vertical-align: top; font-size: 14.5px; }
.info-table th { width: 220px; background: var(--base-50); font-weight: 500; color: var(--ink-900); font-family: var(--font-sans); }
.info-table td { color: var(--ink-700); }

/* ---------- 21. Status chips ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 500; letter-spacing: .04em; padding: 3px 9px; border-radius: 4px; }
.chip--todo { color: var(--clay-700); background: var(--clay-100); border: 1px solid rgba(180,50,43,.25); }
.chip--prep { color: var(--ink-600); background: var(--base-100); border: 1px solid var(--line-300); }
.chip--year { color: var(--gold-600); background: var(--gold-100); border: 1px solid rgba(176,137,44,.3); }

/* ---------- 22. Generic grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.media-right .media { order: 2; }

/* ---------- 22a. ご挨拶 / 理事長メッセージ（トップ＋専用ページ共通） ---------- */
.chairman { max-width: 760px; }
.chairman__role { font-size: 13px; letter-spacing: .1em; color: var(--gold-600); text-transform: uppercase; }
.chairman__name { font-family: var(--font-display); font-weight: 600; font-size: 26px; margin: 8px 0 6px; letter-spacing: .04em; }
.chairman__body p { margin-top: 18px; color: var(--ink-700); line-height: 2.05; font-size: 16px; }
@media (max-width: 1024px) {
  .chairman { max-width: 100%; }
}

/* ---------- 22b. Group site cards（横並びコンパクト：実サイトのメインビジュアルを16:9のまま小さく掲載） ---------- */
.group-grid { max-width: 700px; margin: 0 auto; display: grid; gap: 18px; }
.group-card { display: grid; grid-template-columns: 282px 1fr; align-items: stretch; overflow: hidden; }
/* 高さ固定（282×158 ≒ 16:9）で stretch による縦伸びを防止。16:9キャプチャをほぼノークロップで表示 */
.group-card__img { width: 100%; height: 158px; object-fit: cover; object-position: top center; display: block; border-right: 1px solid var(--line-200); }
.group-card .ph { width: 100%; height: 158px; min-height: 0; border: 0; border-right: 1px solid var(--line-200); border-radius: 0; }
.group-card__body { padding: 18px 26px; align-self: center; }
.group-card__en { font-size: 11px; letter-spacing: .18em; color: var(--ink-500); text-transform: uppercase; }
.group-card__title { font-size: 19px; margin: 6px 0 8px; letter-spacing: .02em; }
.group-card__desc { font-size: 13.5px; color: var(--ink-600); line-height: 1.8; }
.group-card__link { margin-top: 14px; font-size: 13.5px; font-weight: 500; color: var(--forest-700); display: inline-block; }
@media (max-width: 560px) {
  .group-card { grid-template-columns: 1fr; }
  .group-card__img, .group-card .ph { height: auto; aspect-ratio: 16 / 9; border-right: 0; border-bottom: 1px solid var(--line-200); }
}

/* ---------- 22c. Topics / ブログカード（トップ＋ブログ一覧 共通） ---------- */
.topic-card { display: flex; flex-direction: column; overflow: hidden; }
.topic-card .ph { border: 0; border-bottom: 1px solid var(--line-200); border-radius: 0; }
.topic-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.topic-card__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.topic-card__date { font-family: var(--font-display); font-size: 13px; color: var(--ink-600); letter-spacing: .03em; }
.topic-card__title { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.55; margin-bottom: 10px; letter-spacing: .02em; }
.topic-card:hover .topic-card__title { color: var(--forest-800); }
.topic-card__excerpt { font-size: 13.5px; color: var(--ink-600); line-height: 1.85; flex: 1; }
.topic-card__more { margin-top: 16px; font-size: 13.5px; font-weight: 500; color: var(--forest-700); display: inline-flex; align-items: center; gap: 6px; }
.topic-card__more .arrow { transition: transform .2s ease; }
.topic-card:hover .topic-card__more .arrow { transform: translateX(3px); }

/* ブログカード：画像なし時のブランドプレースホルダー（法人名ベース・出所色） */
.topic-ph { aspect-ratio: 3 / 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; text-align: center; padding: 0 20px; border-bottom: 1px solid var(--line-200); background: linear-gradient(155deg, var(--base-100) 0%, var(--base-50) 100%); }
.topic-ph__corp { font-family: var(--font-sans); font-size: 11.5px; font-weight: 500; letter-spacing: .1em; color: var(--ink-600); }
.topic-ph__site { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: .04em; color: var(--ink-900); line-height: 1.4; }
.topic-ph.t-care { background: linear-gradient(155deg, var(--forest-100) 0%, var(--base-50) 100%); }
.topic-ph.t-care .topic-ph__corp { color: var(--forest-700); }
.topic-ph.t-nursery { background: linear-gradient(155deg, var(--gold-100) 0%, var(--base-50) 100%); }
.topic-ph.t-nursery .topic-ph__corp { color: var(--gold-600); }
.topic-ph.t-info { background: linear-gradient(155deg, var(--base-100) 0%, var(--base-50) 100%); }
.topic-ph.t-info .topic-ph__corp { color: var(--ink-600); }

/* ページ送り（集約一覧：お知らせ／ブログ） */
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; height: 44px; padding: 0 15px; border: 1px solid var(--line-300); border-radius: var(--radius-card); background: var(--base-50); color: var(--ink-700); font-family: var(--font-display); font-size: 15px; letter-spacing: .03em; text-decoration: none; transition: background .18s ease, border-color .18s ease, color .18s ease; }
.pagination a.page-numbers:hover { border-color: var(--forest-600); color: var(--forest-800); background: var(--forest-100); }
.pagination .page-numbers.current { background: var(--forest-800); border-color: var(--forest-800); color: #fff; }
.pagination .page-numbers.prev, .pagination .page-numbers.next { font-size: 13.5px; color: var(--ink-600); }
.pagination .page-numbers .arrow { font-size: 13px; line-height: 1; }
.pagination a.page-numbers.prev:hover, .pagination a.page-numbers.next:hover { color: var(--forest-800); }

/* ---------- 23. Responsive ---------- */
@media (max-width: 1200px) and (min-width: 1025px) {
  .header-tel { display: none; }
  .primary-nav a { padding: 10px 10px; }
}
@media (max-width: 1024px) {
  .primary-nav, .header-cta { display: none; }
  .hamburger { display: block; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.media-right .media { order: 0; }
  .site-footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .container { padding: 0 22px; }
  .section { padding: var(--s-8) 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .numbers__grid { grid-template-columns: repeat(2, 1fr); }
  .num-item:nth-child(odd) { border-left: 0; }
  .num-item:nth-child(n+3) { border-top: 1px solid var(--line-200); }
  .cta-banner__inner { flex-direction: column; align-items: flex-start; }
  .info-table th { width: 130px; }
}
@media (max-width: 560px) {
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .numbers__grid { grid-template-columns: 1fr; }
  .num-item { border-left: 0 !important; border-top: 1px solid var(--line-200); }
  .num-item:first-child { border-top: 0; }
  .site-footer__top { grid-template-columns: 1fr; }
  .news-row { flex-wrap: wrap; gap: 10px 14px; }
  .news-row__date { width: auto; }
  .info-table th, .info-table td { display: block; width: 100%; }
  .info-table th { border-bottom: 0; }
}

/* ============================================================
   RICH 1-COLUMN COMPONENTS（堅実 × 柔らかさ）
   ============================================================ */
.container.wide { max-width: var(--container-wide); }
.section.section--soft { background: var(--warm-50); border-top: 1px solid var(--line-200); border-bottom: 1px solid var(--line-200); }
html[data-flat="1"] .section--soft { background: var(--base-0); }
.section--spacious { padding: var(--s-10) 0; }

/* 大見出し（英字キッカー + 明朝大見出し + リード） */
.sec-intro { max-width: 760px; }
.sec-intro.centered { margin: 0 auto; text-align: center; }
.sec-kicker { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-sans); font-weight: 500; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--forest-700); margin-bottom: 18px; }
.sec-kicker::before { content: ""; width: 26px; height: 1px; background: var(--gold-600); }
.sec-intro.centered .sec-kicker::after { content: ""; width: 26px; height: 1px; background: var(--gold-600); }
.sec-title { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.4; letter-spacing: .03em; }
.sec-title .accent { color: var(--forest-800); }
.sec-lead { margin-top: 22px; font-size: 17px; color: var(--ink-700); line-height: 2.05; }
.sec-intro.centered .sec-lead { margin-left: auto; margin-right: auto; }

/* スクロールキュー */
.scroll-cue { position: absolute; right: 32px; bottom: 26px; z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 10px; color: rgba(255,255,255,.8); }
@media (max-width: 560px) { .scroll-cue { right: 16px; } }
.scroll-cue .txt { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; writing-mode: vertical-rl; }
.scroll-cue .line { width: 1px; height: 46px; background: linear-gradient(rgba(255,255,255,.7), rgba(255,255,255,0)); position: relative; overflow: hidden; }
.scroll-cue .line::after { content: ""; position: absolute; top: -50%; left: 0; width: 1px; height: 50%; background: #fff; animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot { 0% { top: -50%; } 60%,100% { top: 100%; } }
@media (prefers-reduced-motion: reduce){ .scroll-cue .line::after { animation: none; } }

/* フィーチャーブロック（全幅・縦積み：見出し+本文 → 大画像） */
.feature { padding: var(--s-9) 0; }
.feature__head { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px 64px; align-items: end; }
.feature__index { display: flex; align-items: baseline; gap: 18px; }
.feature__no { font-family: var(--font-display); font-weight: 600; font-size: clamp(40px, 5vw, 64px); color: var(--forest-100); line-height: .9; letter-spacing: 0; }
.feature__en { font-size: 11px; letter-spacing: .22em; color: var(--gold-600); text-transform: uppercase; }
.feature__title { font-size: clamp(26px, 3.2vw, 38px); margin-top: 12px; letter-spacing: .03em; }
.feature__lead { font-size: 16px; color: var(--ink-700); line-height: 2.05; }
.feature__media { margin-top: 44px; position: relative; }
.feature__media .ph { width: 100%; }
.feature__img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-lg); display: block; box-shadow: var(--shadow-card); }
.feature__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.feature__tag { font-size: 13px; color: var(--forest-800); background: var(--forest-100); border: 1px solid var(--forest-600); border-radius: 999px; padding: 7px 16px; font-weight: 500; }
.feature__actions { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }
/* テキスト＋画像を横に重ねる派生（柔らかい大画像） */
.feature--overlap .feature__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature--overlap .feature__media { margin-top: 0; }
.feature--overlap.flip .feature__media { order: -1; }
@media (max-width: 980px) {
  .feature__head { grid-template-columns: 1fr; gap: 16px; }
  .feature--overlap .feature__inner { grid-template-columns: 1fr; gap: 32px; }
  .feature--overlap.flip .feature__media { order: 0; }
}

/* 数字バンド（深緑・全幅・大） */
.stat-band { background: linear-gradient(155deg, var(--forest-800) 0%, var(--forest-900) 100%); color: #fff; position: relative; overflow: hidden; }
.stat-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 120% at 100% 0%, rgba(176,137,44,.16) 0%, transparent 50%); pointer-events: none; }
.stat-band__inner { position: relative; z-index: 1; padding: var(--s-9) 0; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 44px; }
.stat { padding: 8px 32px; border-left: 1px solid rgba(255,255,255,.16); }
.stat:first-child { border-left: 0; }
.stat__en { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-100); }
.stat__value { font-family: var(--font-display); font-weight: 600; font-size: clamp(44px, 5.5vw, 68px); line-height: 1.05; margin: 14px 0 12px; letter-spacing: .02em; }
.stat__value .unit { font-size: .5em; margin-left: 4px; color: rgba(255,255,255,.78); }
.stat__label { font-size: 13.5px; color: rgba(255,255,255,.72); line-height: 1.75; }
.stat-band .sec-kicker { color: var(--gold-100); }
.stat-band .sec-kicker::before { background: var(--gold-600); }
.stat-band .sec-title { color: #fff; }
@media (max-width: 760px){ .stat-grid { grid-template-columns: 1fr 1fr; gap: 28px 0; } .stat:nth-child(odd){ border-left: 0; } }
@media (max-width: 460px){ .stat-grid { grid-template-columns: 1fr; } .stat { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); padding-top: 24px; } .stat:first-child { border-top: 0; padding-top: 8px; } }

/* 採用プロモバンド（あたたかい大画像 + コピー） */
.recruit-band { position: relative; overflow: hidden; min-height: 460px; display: grid; }
.recruit-band .ph { position: absolute; inset: 0; border: 0; border-radius: 0; height: 100%; min-height: 0; }
.recruit-band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; }
.recruit-band__scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(18,58,24,.9) 0%, rgba(18,58,24,.68) 45%, rgba(18,58,24,.2) 100%); }
.recruit-band__inner { position: relative; z-index: 2; align-self: center; padding: 72px 0; }
.recruit-band .sec-kicker { color: var(--gold-100); }
.recruit-band .sec-kicker::before { background: var(--gold-600); }
.recruit-band h2 { color: #fff; font-size: clamp(28px, 3.4vw, 42px); letter-spacing: .03em; line-height: 1.45; }
.recruit-band p { color: rgba(255,255,255,.84); margin-top: 18px; font-size: 16px; line-height: 2; max-width: 540px; }
.recruit-band .actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

/* 紋章ウォーターマーク（控えめな装飾背景） */
.crest-watermark { position: absolute; pointer-events: none; font-family: var(--font-display); font-weight: 700; line-height: 1; user-select: none; }

/* 和英併記見出し（日本語太字＋英語イタリック・セリフ） */
.en-sub { display: block; font-family: var(--font-en); font-style: italic; font-weight: 500; color: var(--forest-700); letter-spacing: .03em; line-height: 1; font-size: .5em; margin-top: 11px; }
.sec-title .en-sub { font-size: .5em; margin-top: 12px; }
.page-hero h1 .en-sub { font-size: .52em; margin-top: 14px; color: var(--forest-700); }
.hero-title .en-sub { font-size: .46em; margin-top: 14px; }
.feature__title .en-sub { font-size: .56em; margin-top: 8px; }
.stat-band .sec-title .en-sub { color: var(--gold-100); }
.recruit-band h2 .en-sub { color: var(--gold-100); }

/* ヒーロー紋章マーク（円形の「三」） */
.hero-crest { display: inline-grid; place-items: center; width: 56px; height: 56px; border: 1.5px solid var(--forest-600); color: var(--forest-700); font-family: var(--font-display); font-weight: 700; font-size: 27px; border-radius: 50%; margin-bottom: 24px; letter-spacing: 0; }

/* Utilities */
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; } .mt-5 { margin-top: 24px; } .mt-6 { margin-top: 32px; } .mt-7 { margin-top: 48px; }
.center { text-align: center; }
.flex { display: flex; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; }
.wrap { flex-wrap: wrap; } .items-center { align-items: center; } .justify-center { justify-content: center; }
.note { font-size: 13px; color: var(--ink-500); }
.external::after { content: "↗"; font-size: .85em; margin-left: 4px; color: var(--ink-500); }
