/* =========================================================
   社会福祉法人そうそうの杜  — site stylesheet
   基調：杜の緑 × 生成り。装飾は罫線と余白で。
   ========================================================= */

:root {
  /* 杜の緑 */
  --forest-950: #102419;
  --forest-900: #16301f;
  --forest-800: #1e3f2a;
  --forest-700: #2a5537;   /* 主色：リンク・見出しアクセント・主ボタン */
  --forest-600: #386a47;
  --forest-500: #4f8460;
  --leaf-300:   #a9c4a5;
  --leaf-200:   #cfdec9;
  --leaf-100:   #e6eee2;
  /* 紙と墨 */
  --paper:      #f7f5ef;
  --paper-2:    #eeeae0;
  --white:      #fffefb;
  --ink:        #1f2420;
  --ink-2:      #545c55;
  --line:       #d6d3c8;
  --line-dark:  rgba(255,255,255,.18);
  /* 差し色（電話ボタン・強調のみ） */
  --kaki:       #b5602a;
  --kaki-dark:  #96491a;

  --font-sans: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --font-serif: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-latin: "Instrument Sans", "Zen Kaku Gothic New", sans-serif;

  --wrap: 1160px;
  --measure: 40em;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(64px, 10vw, 128px);
  --radius: 2px;
  --header-h: 76px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.9;
  letter-spacing: .03em;
  font-feature-settings: "palt" 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (max-width: 640px) { body { font-size: 17px; } }
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--forest-700); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; }
a:hover { color: var(--forest-900); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--kaki); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.45; letter-spacing: .06em; margin: 0 0 .6em; color: var(--forest-900); }
h1 { font-size: clamp(30px, 4.2vw, 46px); }
h2 { font-size: clamp(25px, 3vw, 34px); }
h3 { font-size: clamp(20px, 2vw, 23px); }
p { margin: 0 0 1.2em; }
ul, ol { padding-left: 1.4em; margin: 0 0 1.2em; }
table { border-collapse: collapse; width: 100%; }
.num, time, .tel-num { font-family: var(--font-latin); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--forest-800); color: #fff; padding: 8px 16px; z-index: 100; }
.skip:focus { top: 12px; }

/* ---------- layout ---------- */
.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - var(--gutter) * 2, 760px); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--tint { background: var(--paper-2); }
.section--forest { background: var(--forest-900); color: #e9efe6; }
.section--forest h2, .section--forest h3 { color: #fff; }
.section--forest a { color: #fff; }
.prose { max-width: var(--measure); }
.prose > :last-child { margin-bottom: 0; }

/* セクション見出し：小さな和文ラベル＋明朝見出し */
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 5vw, 56px); flex-wrap: wrap; }
.sec-head h2 { margin: 0; }
.label {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 14px; letter-spacing: .2em; color: var(--forest-600); margin-bottom: 14px; font-weight: 500;
}
.label::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section--forest .label { color: var(--leaf-300); }
.more {
  display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500;
  color: var(--forest-700); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.more::after { content: "→"; font-family: var(--font-latin); transition: transform .3s var(--ease); }
.more:hover { text-decoration: none; }
.more:hover::after { transform: translateX(4px); }
.section--forest .more { color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 28px; border-radius: var(--radius);
  font-family: var(--font-sans); font-size: 17px; font-weight: 500; letter-spacing: .08em;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--forest-700); color: #fff; }
.btn--primary:hover { background: var(--forest-900); color: #fff; }
.btn--tel { background: var(--kaki); color: #fff; }
.btn--tel:hover { background: var(--kaki-dark); color: #fff; }
.btn--ghost { border-color: currentColor; color: var(--forest-700); background: transparent; }
.btn--ghost:hover { background: var(--forest-700); color: #fff; border-color: var(--forest-700); }
.btn--light { border-color: rgba(255,255,255,.7); color: #fff; background: rgba(16,36,25,.25); backdrop-filter: blur(6px); }
.btn--light:hover { background: #fff; color: var(--forest-900); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(247,245,239,.92); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background-color .4s, border-color .4s, color .4s;
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: flex-end; gap: 10px; text-decoration: none; color: var(--forest-900); margin-right: auto; }
.brand:hover { color: var(--forest-900); text-decoration: none; }
.brand__circles { height: 58px; width: auto; flex: none; margin-bottom: -2px; }
.brand__text { white-space: nowrap; display: flex; flex-direction: column; gap: 3px; line-height: 1.2; }
.brand__sub { font-size: 12px; letter-spacing: .18em; color: var(--ink-2); }
.brand__name { display: block; height: 42px; aspect-ratio: 551 / 160; background-color: currentColor; -webkit-mask: url(/images/logo/logo-text.png) no-repeat center / contain; mask: url(/images/logo/logo-text.png) no-repeat center / contain; }
.gnav ul { display: flex; gap: clamp(16px, 2.2vw, 32px); list-style: none; margin: 0; padding: 0; }
.gnav a { white-space: nowrap; color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 500; letter-spacing: .08em; padding: 6px 0; border-bottom: 1px solid transparent; }
.gnav a:hover, .gnav a[aria-current="page"] { color: var(--forest-700); border-bottom-color: currentColor; }
.header-tel { white-space: nowrap; min-height: 44px; padding: 8px 18px; font-size: 16px; }
.menu-btn { display: none; }

/* トップ：動画の上では透明ヘッダー */
.is-home .site-header { position: fixed; inset: 0 0 auto; background: transparent; border-bottom-color: transparent; backdrop-filter: none; }
.is-home .site-header .brand, .is-home .site-header .gnav a, .is-home .site-header .brand__sub { color: #fff; }
.is-home .site-header .menu-btn { color: #fff; }
.is-home.scrolled .site-header { background: rgba(247,245,239,.94); border-bottom-color: var(--line); backdrop-filter: saturate(1.4) blur(12px); }
.is-home.scrolled .site-header .brand, .is-home.scrolled .site-header .gnav a { color: var(--forest-900); }
.is-home.scrolled .site-header .brand__sub { color: var(--ink-2); }
.is-home.scrolled .site-header .menu-btn { color: var(--forest-900); }

@media (max-width: 1180px) {
  :root { --header-h: 64px; }
  .gnav, .header-tel { display: none; }
  .brand__circles { height: 46px; }
  .brand__name { height: 33px; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; color: var(--forest-900);
    font: 500 15px/1 var(--font-sans); letter-spacing: .1em; padding: 12px 4px; cursor: pointer; min-height: 44px;
  }
  .menu-btn__bars { width: 22px; height: 12px; position: relative; }
  .menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .3s var(--ease), top .3s; }
  .menu-btn__bars::before { top: 0; } .menu-btn__bars::after { top: 10px; }
  .menu-open .menu-btn__bars::before { top: 5px; transform: rotate(45deg); }
  .menu-open .menu-btn__bars::after { top: 5px; transform: rotate(-45deg); }
}

/* モバイル用の全画面メニュー */
.drawer {
  position: fixed; inset: 0; z-index: 45; background: var(--forest-900); color: #fff;
  padding: calc(var(--header-h) + 24px) var(--gutter) 120px; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.menu-open .drawer { opacity: 1; visibility: visible; }
.menu-open .site-header { background: var(--forest-900) !important; border-bottom-color: var(--line-dark) !important; }
.menu-open .site-header .brand, .menu-open .site-header .menu-btn, .menu-open .site-header .brand__sub { color: #fff !important; }
.drawer ul { list-style: none; padding: 0; margin: 0 0 32px; }
.drawer li { border-bottom: 1px solid var(--line-dark); }
.drawer a { display: block; color: #fff; text-decoration: none; padding: 16px 0; font-family: var(--font-serif); font-size: 21px; letter-spacing: .1em; }
.drawer .sub a { font-family: var(--font-sans); font-size: 16px; padding: 10px 0 10px 1em; color: var(--leaf-200); }
.drawer .btn { width: 100%; }

/* モバイル下部固定バー */
.bottom-bar { display: none; }
@media (max-width: 760px) {
  .bottom-bar {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; inset: auto 0 0; z-index: 40;
    background: var(--forest-900); border-top: 1px solid var(--line-dark);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .bottom-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px 8px; color: #fff; text-decoration: none; font-size: 13px; letter-spacing: .06em; }
  .bottom-bar a:first-child { background: var(--kaki); }
  .bottom-bar svg { width: 22px; height: 22px; }
  body { padding-bottom: 64px; }
}

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; max-height: 1080px; overflow: hidden; color: #fff; background: var(--forest-950); }
.hero__media, .hero__media video, .hero__slides, .hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media video, .hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__slide { opacity: 0; transition: opacity 2.4s ease-in-out; }
.hero__slide.is-active { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(16,36,25,.55) 0%, rgba(16,36,25,0) 22%),
    linear-gradient(0deg, rgba(16,36,25,.82) 0%, rgba(16,36,25,.35) 42%, rgba(16,36,25,0) 70%);
}
.hero__inner { position: absolute; inset: auto 0 0; z-index: 2; padding-bottom: clamp(48px, 9vh, 104px); }
.hero__copy {
  font-family: var(--font-serif); font-weight: 600; color: #fff;
  font-size: clamp(34px, 6vw, 76px); line-height: 1.38; letter-spacing: .12em; margin: 0 0 20px;
  text-shadow: 0 2px 24px rgba(0,0,0,.25);
}
.hero__lead { font-size: clamp(15px, 1.5vw, 18px); letter-spacing: .14em; margin: 0 0 32px; color: rgba(255,255,255,.88); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__ctrl {
  position: absolute; z-index: 3; right: var(--gutter); bottom: clamp(48px, 9vh, 104px);
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px;
  background: rgba(16,36,25,.35); color: #fff; border: 1px solid rgba(255,255,255,.5); border-radius: 999px;
  font: 500 14px/1 var(--font-sans); letter-spacing: .08em; cursor: pointer; backdrop-filter: blur(6px);
}
.hero__ctrl:hover { background: rgba(16,36,25,.6); }
.hero__ctrl svg { width: 14px; height: 14px; }
.hero__scroll { position: absolute; z-index: 2; left: 50%; bottom: 18px; width: 1px; height: 48px; background: rgba(255,255,255,.35); overflow: hidden; }
.hero__scroll::after { content: ""; position: absolute; left: 0; top: -48px; width: 1px; height: 48px; background: #fff; animation: scrollcue 2.4s var(--ease) infinite; }
@keyframes scrollcue { to { top: 48px; } }
@media (max-width: 760px) {
  .hero__ctrl { top: calc(var(--header-h) + 12px); bottom: auto; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__scroll { display: none; }
  .hero { min-height: 600px; }
}

/* ---------- intro (理念) ---------- */
.intro { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 7vw, 120px); align-items: start; }
.intro__statement { font-family: var(--font-serif); font-size: clamp(24px, 2.8vw, 34px); line-height: 1.8; letter-spacing: .1em; color: var(--forest-900); margin: 0; font-weight: 600; }
.policies { list-style: none; padding: 0; margin: 0 0 32px; counter-reset: p; }
.policies li { counter-increment: p; display: grid; grid-template-columns: 48px 1fr; gap: 8px; padding: 20px 0; border-top: 1px solid var(--line); }
.policies li:last-child { border-bottom: 1px solid var(--line); }
.policies li::before { content: counter(p, decimal-leading-zero); font-family: var(--font-latin); color: var(--forest-500); font-size: 15px; padding-top: 3px; }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } }

/* ---------- 4つの入口 ---------- */
.entries { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--forest-700); }
.entry {
  position: relative; display: flex; flex-direction: column; padding: 28px 24px 32px; text-decoration: none; color: var(--ink);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; transition: background-color .3s;
}
.entry:first-child { border-left: 1px solid var(--line); }
.entry:hover { background: var(--white); color: var(--ink); text-decoration: none; }
.entry__no { font-family: var(--font-latin); font-size: 14px; color: var(--forest-500); letter-spacing: .1em; margin-bottom: 18px; }
.entry__title { font-family: var(--font-serif); font-size: 26px; font-weight: 600; color: var(--forest-900); letter-spacing: .12em; margin-bottom: 10px; }
.entry__desc { font-size: 16px; line-height: 1.8; color: var(--ink-2); margin-bottom: 20px; }
.entry__list { list-style: none; padding: 0; margin: auto 0 0; font-size: 15px; color: var(--forest-700); line-height: 1.9; }
.entry__list li::before { content: "— "; color: var(--leaf-300); }
.entry__arrow { position: absolute; right: 22px; top: 28px; font-family: var(--font-latin); color: var(--forest-600); transition: transform .3s var(--ease); }
.entry:hover .entry__arrow { transform: translateX(4px); }
@media (max-width: 1100px) { .entries { grid-template-columns: repeat(2, 1fr); } .entry:nth-child(3) { border-left: 1px solid var(--line); } }
@media (max-width: 560px) { .entries { grid-template-columns: 1fr; } .entry { border-left: 1px solid var(--line); } }

/* ---------- news ---------- */
.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.news-item { display: grid; grid-template-columns: 110px auto 1fr; gap: 6px 24px; align-items: baseline; padding: 22px 4px; border-bottom: 1px solid var(--line); }
.news-date { color: var(--ink-2); font-size: 15px; }
.news-office { font-size: 13px; letter-spacing: .06em; color: var(--forest-700); background: var(--leaf-100); padding: 2px 10px; white-space: nowrap; justify-self: start; }
.news-title { font-weight: 500; }
a.news-title { color: var(--ink); text-decoration: none; }
a.news-title:hover { color: var(--forest-700); text-decoration: underline; }
.news-body { grid-column: 3; margin: 0; font-size: 16px; color: var(--ink-2); line-height: 1.8; }
.news-empty { padding: 22px 4px; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.news-list:not([data-office="all"]) .news-item { grid-template-columns: 110px 1fr; }
.news-list:not([data-office="all"]) .news-body { grid-column: 2; }
@media (max-width: 640px) {
  .news-item, .news-list:not([data-office="all"]) .news-item { grid-template-columns: auto 1fr; }
  .news-title, .news-body, .news-list:not([data-office="all"]) .news-body { grid-column: 1 / -1; }
}

/* ---------- 地図（鴫野の杜） ---------- */
.map-wrap { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.map { position: relative; background: var(--forest-950); aspect-ratio: 1 / 1; overflow: hidden; }
.map svg { width: 100%; height: 100%; }
.map .pin { cursor: pointer; }
.map .pin circle.dot { transition: r .25s var(--ease), fill .25s; }
.map .pin:hover circle.dot, .map .pin:focus circle.dot, .map .pin.is-on circle.dot { r: 10; fill: #fff; }
.map .pin:focus { outline: none; }
.map .pin:focus-visible circle.ring { stroke: var(--kaki); stroke-width: 3; }
.map-legend { list-style: none; padding: 0; margin: 0; font-size: 16px; }
.map-legend li { padding: 10px 0; border-bottom: 1px solid var(--line-dark); display: flex; gap: 10px; align-items: baseline; }
.map-legend .n { font-family: var(--font-latin); font-size: 13px; color: var(--leaf-300); width: 1.6em; flex: none; }
.map-legend a { text-decoration: none; }
.map-legend a:hover, .map-legend li.is-on a { text-decoration: underline; }
.map-legend small { display: block; font-size: 13px; color: var(--leaf-300); letter-spacing: .06em; }
.map-legend a { color: #fff; }
.map-tip { position: absolute; pointer-events: none; background: #fff; color: var(--ink); font-size: 14px; line-height: 1.5; padding: 8px 12px; box-shadow: 0 6px 24px rgba(0,0,0,.25); transform: translate(-50%, calc(-100% - 16px)); white-space: nowrap; opacity: 0; transition: opacity .2s; }
.map-tip.is-on { opacity: 1; }
.map-tip small { display: block; color: var(--ink-2); font-size: 12px; }
@media (max-width: 860px) { .map-wrap { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .map-legend { columns: 1; } }

/* ---------- shops ---------- */
.shops { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.shop { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; }
.shop:hover { color: var(--ink); text-decoration: none; }
.shop__img { aspect-ratio: 4/5; overflow: hidden; background: var(--paper-2); margin-bottom: 16px; }
.shop__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.shop:hover .shop__img img { transform: scale(1.04); }
.shop__img--blank { display: grid; place-items: center; background: var(--forest-800); color: var(--leaf-200); font-family: var(--font-serif); font-size: 22px; letter-spacing: .2em; writing-mode: vertical-rl; }
.shop__type { font-size: 13px; color: var(--forest-600); letter-spacing: .1em; }
.shop__name { font-family: var(--font-serif); font-size: 21px; font-weight: 600; color: var(--forest-900); letter-spacing: .08em; margin: 2px 0 6px; }
.shop__hours { font-size: 14px; color: var(--ink-2); line-height: 1.7; }
@media (max-width: 1020px) {
  .shops { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(220px, 42%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .shop { scroll-snap-align: start; }
}
@media (max-width: 560px) { .shops { grid-auto-columns: 72%; } }

/* ---------- 活動の記録（記事カード） ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.post-card { text-decoration: none; color: var(--ink); display: block; }
.post-card:hover { color: var(--ink); text-decoration: none; }
.post-card__img { aspect-ratio: 3/2; overflow: hidden; background: var(--paper-2); margin-bottom: 16px; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.04); }
.post-card__meta { display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--ink-2); margin-bottom: 6px; }
.post-card__title { font-family: var(--font-serif); font-size: 20px; font-weight: 600; line-height: 1.6; color: var(--forest-900); margin: 0; }
.post-card:hover .post-card__title { text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; }
.tag { font-size: 13px; letter-spacing: .06em; color: var(--forest-700); background: var(--leaf-100); padding: 1px 10px; white-space: nowrap; }
@media (max-width: 900px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .posts { grid-template-columns: 1fr; } }

/* ---------- 採用・寄付の2列 ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; }
.duo__item { position: relative; min-height: 420px; display: flex; align-items: end; padding: clamp(32px, 5vw, 64px); color: #fff; text-decoration: none; overflow: hidden; }
.duo__item:hover { color: #fff; text-decoration: none; }
.duo__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.duo__item::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(16,36,25,.9) 0%, rgba(16,36,25,.35) 60%, rgba(16,36,25,.15)); }
.duo__item:hover img { transform: scale(1.04); }
.duo__body { position: relative; z-index: 2; max-width: 30em; }
.duo__body h2 { color: #fff; margin-bottom: 12px; }
.duo__body p { color: rgba(255,255,255,.88); font-size: 16px; }
.duo__body .more { color: #fff; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } .duo__item { min-height: 340px; } }

/* ---------- footer ---------- */
.site-footer { background: var(--forest-950); color: #cfdac9; font-size: 15px; line-height: 1.9; }
.site-footer a { color: #e9efe6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.1fr 2fr; gap: clamp(32px, 6vw, 96px); padding-block: clamp(56px, 8vw, 96px); }
.footer-brand .brand { color: #fff; margin-bottom: 20px; }
.footer-brand .brand__sub { color: var(--leaf-300); }
.footer-brand address { font-style: normal; margin-bottom: 20px; }
.footer-brand .tel-big { font-family: var(--font-latin); font-size: 28px; color: #fff; letter-spacing: .06em; display: block; line-height: 1.3; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-cols h3 { font-family: var(--font-sans); font-size: 13px; font-weight: 500; letter-spacing: .2em; color: var(--leaf-300); margin-bottom: 12px; }
.footer-cols ul { list-style: none; padding: 0; margin: 0 0 24px; }
.footer-cols li { padding: 3px 0; }
.sns { display: flex; gap: 12px; list-style: none; padding: 0; margin: 0; }
.sns a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-dark); border-radius: 50%; }
.sns a:hover { background: rgba(255,255,255,.08); }
.sns svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-block: 22px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13px; color: var(--leaf-300); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 4px 20px; list-style: none; padding: 0; margin: 0; }
.footer-kanji { font-family: var(--font-serif); font-size: clamp(160px, 22vw, 320px); line-height: .8; color: rgba(255,255,255,.04); position: absolute; right: -0.05em; bottom: -0.08em; pointer-events: none; user-select: none; }
.site-footer { position: relative; overflow: hidden; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .footer-cols { grid-template-columns: 1fr 1fr; } }

/* =========================================================
   下層ページ
   ========================================================= */
.page-head { background: var(--forest-900); color: #fff; padding: clamp(56px, 9vw, 112px) 0 clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.page-head h1 { color: #fff; margin: 0; }
.page-head .kana { display: block; font-family: var(--font-sans); font-size: 15px; letter-spacing: .24em; color: var(--leaf-300); margin-bottom: 8px; font-weight: 400; }
.page-head p { color: rgba(255,255,255,.85); margin: 16px 0 0; max-width: 40em; }
.page-head .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.page-head .tag { background: rgba(255,255,255,.1); color: #fff; border: 1px solid var(--line-dark); }
.page-head__kanji { position: absolute; right: -.04em; top: 50%; transform: translateY(-50%); font-family: var(--font-serif); font-size: clamp(180px, 26vw, 360px); line-height: 1; color: rgba(255,255,255,.045); pointer-events: none; user-select: none; }
.crumbs { font-size: 14px; color: var(--ink-2); padding-block: 16px; border-bottom: 1px solid var(--line); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0; padding: 0; }
.crumbs li:not(:last-child)::after { content: "/"; margin: 0 .8em; color: var(--line); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--forest-700); text-decoration: underline; }

.layout-2col { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(40px, 6vw, 88px); align-items: start; }
.aside-box { position: sticky; top: calc(var(--header-h) + 24px); border-top: 2px solid var(--forest-700); background: var(--white); padding: 28px; }
.aside-box h2 { font-size: 19px; margin-bottom: 12px; }
.aside-box .btn { width: 100%; margin-top: 10px; }
.aside-box .tel-num { font-size: 26px; color: var(--forest-900); display: block; line-height: 1.4; }
.aside-box small { display: block; color: var(--ink-2); font-size: 14px; line-height: 1.7; }
@media (max-width: 960px) { .layout-2col { grid-template-columns: 1fr; } .aside-box { position: static; } }

.feature-img { margin: 0 0 clamp(32px, 5vw, 56px); aspect-ratio: 3/2; overflow: hidden; background: var(--paper-2); }
.feature-img img { width: 100%; height: 100%; object-fit: cover; }
.lead { font-family: var(--font-serif); font-size: clamp(20px, 2vw, 24px); line-height: 1.9; color: var(--forest-900); letter-spacing: .06em; margin-bottom: 1.2em; font-weight: 600; }
.block { margin-bottom: clamp(48px, 7vw, 80px); }
.block > h2 { font-size: clamp(22px, 2.4vw, 28px); padding-bottom: 14px; border-bottom: 1px solid var(--forest-700); margin-bottom: 24px; }

.info-table th, .info-table td { text-align: left; vertical-align: top; padding: 16px 12px; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.8; }
.info-table th { width: 9.5em; font-weight: 500; color: var(--forest-800); background: var(--leaf-100); white-space: nowrap; }
.info-table tr:first-child th, .info-table tr:first-child td { border-top: 1px solid var(--line); }
@media (max-width: 560px) {
  .info-table th, .info-table td { display: block; width: auto; }
  .info-table th { padding: 10px 12px 4px; background: transparent; border-bottom: 0; font-size: 14px; color: var(--forest-600); }
  .info-table td { padding: 0 12px 14px; }
}
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding: 10px 0 10px 1.8em; border-bottom: 1px dashed var(--line); }
.check-list li::before { content: ""; position: absolute; left: 4px; top: 1.15em; width: 10px; height: 10px; background: var(--forest-500); transform: rotate(45deg) scale(.7); }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: grid; grid-template-columns: 6em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.timeline .t { font-family: var(--font-latin); color: var(--forest-700); font-weight: 600; }
.doc-list { list-style: none; padding: 0; margin: 0; }
.doc-list li { border-bottom: 1px solid var(--line); }
.doc-list a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 4px; text-decoration: none; color: var(--ink); }
.doc-list a:hover { color: var(--forest-700); background: var(--white); }
.doc-list .ext { font-family: var(--font-latin); font-size: 12px; letter-spacing: .1em; color: var(--forest-600); border: 1px solid currentColor; padding: 0 6px; align-self: center; flex: none; }
details.acc { border-bottom: 1px solid var(--line); }
details.acc summary { cursor: pointer; padding: 16px 4px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: "+"; font-family: var(--font-latin); color: var(--forest-600); font-size: 20px; line-height: 1; }
details.acc[open] summary::after { content: "−"; }
details.acc .doc-list { padding-left: 1em; padding-bottom: 12px; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--paper-2); }
.gallery figcaption { font-size: 14px; color: var(--ink-2); margin-top: 6px; }

/* 事業所一覧 */
.fac-group { margin-bottom: clamp(48px, 7vw, 88px); }
.fac-group__head { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; align-items: end; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--forest-700); }
.fac-group__head h2 { margin: 0; }
.fac-group__head p { margin: 0; color: var(--ink-2); font-size: 16px; }
.fac-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.fac-card { display: flex; flex-direction: column; background: var(--paper); padding: 24px; text-decoration: none; color: var(--ink); min-height: 180px; transition: background-color .25s; }
.fac-card:hover { background: var(--white); color: var(--ink); text-decoration: none; }
.fac-card__type { font-size: 13px; color: var(--forest-600); letter-spacing: .08em; }
.fac-card__name { font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: var(--forest-900); letter-spacing: .08em; margin: 4px 0 8px; }
.fac-card__catch { font-size: 15px; line-height: 1.75; color: var(--ink-2); margin: 0 0 12px; }
.fac-card__go { margin-top: auto; font-size: 14px; color: var(--forest-700); }
@media (max-width: 760px) { .fac-group__head { grid-template-columns: 1fr; } }

/* 記事本文 */
.article { max-width: 760px; margin-inline: auto; }
.article__meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; color: var(--ink-2); font-size: 15px; margin-bottom: 24px; }
.article__body p { margin-bottom: 1.5em; }
.article__photos { display: grid; gap: 16px; margin: 32px 0; }
.article__photos figure { margin: 0; }
.article__photos img { width: 100%; height: auto; background: var(--paper-2); }
.article__photos figcaption { font-size: 14px; color: var(--ink-2); margin-top: 6px; }
@media (min-width: 761px) { .article__photos--grid { grid-template-columns: 1fr 1fr; } .article__photos--grid figure:first-child { grid-column: 1 / -1; } }
.pager { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 48px; }

.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter button { font: 500 15px/1 var(--font-sans); letter-spacing: .06em; padding: 10px 16px; min-height: 40px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.filter button[aria-pressed="true"] { background: var(--forest-700); border-color: var(--forest-700); color: #fff; }

.note-box { background: var(--white); border-left: 3px solid var(--forest-500); padding: 20px 24px; margin-bottom: 24px; font-size: 16px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact-grid > div { background: var(--paper); padding: 28px; }
.contact-grid h3 { font-size: 19px; }
.contact-grid .tel-num { font-size: 24px; color: var(--forest-900); }

/* 出現アニメーション（控えめ） */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .bottom-bar, .drawer, .hero__ctrl, .site-footer { display: none !important; }
  body { background: #fff; font-size: 11pt; }
}
