/* 古民家デイサービス えんがわ（デモ）— 全ページ共通
   見る人：ご本人・ご家族・ケアマネジャー。文字は大きめ、コントラストは高め。
   1つの見た目に決めている（ダークモードなし） */
:root {
  color-scheme: light;
  --bg: #FBF8F2;
  --bg-2: #F2ECE0;
  --card: #FFFFFF;
  --ink: #24282C;
  --sub: #50555B;
  --line: #E1D8C8;
  --ai: #2B4968;
  --ai-dark: #1F3650;
  --ai-soft: #E6ECF2;
  --kaki: #B0502A;
  --kaki-soft: #F6E6DC;
  --midori: #4F7445;
  --midori-soft: #E5EEDF;
  --maru: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", system-ui, sans-serif;
  --sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 56px);
  --hd: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hd) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.95; letter-spacing: .04em; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ai); text-underline-offset: 4px; }
a:hover { color: var(--ai-dark); }
:focus-visible { outline: 3px solid var(--kaki); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding-inline: var(--gutter); }
.cover { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* デモの案内の帯 */
.demo-bar { background: var(--ink); color: #ECE7DE; font-size: 13px; line-height: 1.6; }
.demo-bar .wrap { display: flex; flex-wrap: wrap; gap: 2px 16px; align-items: center; justify-content: space-between; padding-block: 9px; max-width: none; }
.demo-bar b { color: #fff; }
.demo-bar a { color: #fff; white-space: nowrap; }

/* ヘッダー */
.hd { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: rgba(251, 248, 242, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hd__in { display: flex; align-items: center; gap: 24px; height: var(--hd); max-width: none; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; margin-right: auto; }
.logo:hover { color: var(--ink); }
.logo svg { width: 42px; height: 42px; flex: none; }
.logo__name { display: grid; line-height: 1.3; white-space: nowrap; }
.logo__name small { font-size: 12px; color: var(--sub); letter-spacing: .1em; }
.logo__name b { font-family: var(--maru); font-weight: 700; font-size: 22px; letter-spacing: .14em; }
.gnav { display: flex; gap: 2px; }
.gnav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; white-space: nowrap; color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; border-radius: 8px; }
.gnav a:hover { background: var(--bg-2); color: var(--ink); }
.gnav a[aria-current="page"] { color: var(--ai); box-shadow: inset 0 -3px 0 var(--ai); border-radius: 0; }
.hd__tel { display: grid; line-height: 1.3; text-align: right; white-space: nowrap; color: var(--ink); text-decoration: none; }
.hd__tel b { font-size: 21px; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.hd__tel small { font-size: 11.5px; color: var(--sub); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid var(--ai); background: var(--ai); color: #fff; font-weight: 700; font-size: 16px; letter-spacing: .06em; text-decoration: none; line-height: 1.4; text-align: center; }
.btn:hover { background: var(--ai-dark); border-color: var(--ai-dark); color: #fff; }
.btn--line { background: transparent; color: var(--ai); }
.btn--line:hover { background: var(--ai-soft); color: var(--ai-dark); }
.btn--kaki { background: var(--kaki); border-color: var(--kaki); }
.btn--kaki:hover { background: #923F1F; border-color: #923F1F; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--sm { min-height: 46px; padding: 0 20px; font-size: 15px; white-space: nowrap; }
.menu-btn { display: none; align-items: center; justify-content: center; gap: 6px; flex-direction: column; width: 56px; height: 52px; border: 0; border-radius: 12px; flex: none; background: var(--bg-2); color: var(--ink); font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; }
.menu-btn i { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; margin-top: 6px; }
.menu-btn span { line-height: 1; margin-top: 4px; white-space: nowrap; font-size: 10px; letter-spacing: 0; }
@media (max-width: 1439px) { .hd__tel { display: none; } }
@media (max-width: 599px) {
  :root { --hd: 64px; }
  .logo svg { width: 36px; height: 36px; }
  .logo__name b { font-size: 19px; }
  .hd .btn { display: none; }
}
/* 画面が狭くなったら、メニューはボタンで開く（項目が折り返さないように） */
@media (max-width: 1239px) {
  .menu-btn { display: inline-flex; }
  .gnav { position: fixed; inset: calc(var(--hd) + env(safe-area-inset-top, 0px)) 0 auto 0; flex-direction: column; gap: 0; padding: 8px var(--gutter) 24px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(0, 0, 0, .08); }
  .gnav a { min-height: 56px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .gnav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--ai); padding-left: 16px; }
  .hd:not(.is-open) .gnav { display: none; }
}

/* スマホの下に固定する「電話・見学」 */
.sp-bar { display: none; }
@media (max-width: 919px) {
  .sp-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)); background: rgba(251, 248, 242, .97); border-top: 1px solid var(--line); }
  .sp-bar .btn { min-height: 50px; font-size: 15px; padding: 0 12px; }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
}

/* 見出し・共通 */
.sec { padding-block: clamp(72px, 9vw, 120px); }
.sec--tint { background: var(--bg-2); }
.label { display: inline-flex; align-items: center; gap: 10px; font-family: var(--maru); font-weight: 700; font-size: 14px; letter-spacing: .18em; color: var(--kaki); }
.label::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.h2 { margin-top: 10px; font-family: var(--maru); font-weight: 700; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.55; letter-spacing: .08em; text-wrap: balance; }
.lead { margin-top: 20px; max-width: 38em; color: var(--sub); }
.head-row { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: end; justify-content: space-between; }
.more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; text-decoration: none; }
.more::after { content: ""; width: 26px; height: 26px; border-radius: 50%; background: var(--ai) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 4l4 4-4 4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.more:hover::after { background-color: var(--ai-dark); }
.note { margin-top: 16px; font-size: 14.5px; color: var(--sub); }
.tag { display: inline-block; padding: 2px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; line-height: 1.7; letter-spacing: .06em; }
.tag--info { background: var(--ai-soft); color: var(--ai-dark); }
.tag--days { background: var(--midori-soft); color: #36532F; }
.tag--job { background: var(--kaki-soft); color: #8A3D1F; }

/* 下層ページの見出し */
.page-hd { position: relative; color: #fff; isolation: isolate; background: #3A3128; }
.page-hd img { position: absolute; inset: 0; z-index: -2; }
.page-hd::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(25, 22, 18, .78), rgba(25, 22, 18, .3)); }
.page-hd .wrap { padding-block: clamp(56px, 8vw, 104px); }
.page-hd .label { color: #F2C9AE; }
.page-hd h1 { margin-top: 8px; font-family: var(--maru); font-weight: 700; font-size: clamp(30px, 4vw, 44px); letter-spacing: .1em; line-height: 1.4; }
.page-hd p { margin-top: 12px; max-width: 34em; color: #EFEAE2; }
.crumb { background: var(--bg-2); font-size: 13.5px; }
.crumb ol { display: flex; flex-wrap: wrap; gap: 4px 10px; padding-block: 10px; }
.crumb li + li::before { content: "›"; margin-right: 10px; color: var(--sub); }
.crumb [aria-current] { color: var(--sub); }

/* トップ：ファーストビュー */
.hero { padding-block: clamp(32px, 5vw, 64px) clamp(56px, 7vw, 96px); }
.hero__in { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__area { display: inline-block; padding: 4px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.hero h1 { margin-top: 20px; font-family: var(--maru); font-weight: 700; font-size: clamp(26px, 3.4vw, 42px); line-height: 1.6; letter-spacing: .06em; }
.hero h1 span { display: inline-block; }
.hero h1 em { font-style: normal; color: var(--kaki); }
.hero__lead { margin-top: 20px; color: var(--sub); max-width: 26em; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.hero__badges li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); font-size: 14.5px; font-weight: 500; }
.hero__badges li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--midori) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.3 2.3 2.2 4.7-4.8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat; }
.hero__photos { position: relative; padding-bottom: 12%; }
.hero__photos figure:first-child { aspect-ratio: 4 / 3; border-radius: 28px 28px 28px 120px; overflow: hidden; }
.hero__photos figure:last-child { position: absolute; left: -8%; bottom: 0; width: 46%; aspect-ratio: 1 / 1; border-radius: 24px; overflow: hidden; border: 6px solid var(--bg); }
@media (max-width: 899px) { .hero__in { grid-template-columns: minmax(0, 1fr); } .hero__photos figure:last-child { left: auto; right: 0; } }

/* トップ：お知らせ（3件） */
.news-strip { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px 40px; align-items: start; padding: 28px clamp(20px, 3vw, 40px); background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.news-strip h2 { font-family: var(--maru); font-size: 20px; letter-spacing: .1em; line-height: 1.6; }
.news-strip h2 small { display: block; font-size: 12.5px; color: var(--kaki); letter-spacing: .18em; }
@media (max-width: 799px) { .news-strip { grid-template-columns: minmax(0, 1fr); } }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list li:last-child { border-bottom: 0; }
.news-list a { display: grid; grid-template-columns: 7.5em 7.5em minmax(0, 1fr); gap: 4px 16px; align-items: center; padding: 12px 0; color: var(--ink); text-decoration: none; }
.news-list a:hover .news-list__t { text-decoration: underline; }
.news-list time { font-size: 14.5px; color: var(--sub); font-variant-numeric: tabular-nums; }
.news-list .tag { justify-self: start; }
.news-list__t { font-weight: 500; }
@media (max-width: 599px) { .news-list a { grid-template-columns: auto auto; } .news-list__t { grid-column: 1 / -1; } }

/* 特長（写真つき3つ） */
.features { display: grid; gap: clamp(56px, 7vw, 96px); margin-top: 56px; }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.feature:nth-child(even) figure { order: 2; }
.feature figure { aspect-ratio: 3 / 2; border-radius: 24px; overflow: hidden; }
.feature__no { font-family: var(--maru); font-weight: 700; font-size: 15px; color: var(--kaki); letter-spacing: .14em; }
.feature h3 { margin-top: 6px; font-family: var(--maru); font-weight: 700; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.6; letter-spacing: .08em; }
.feature p { margin-top: 14px; color: var(--sub); }
.feature ul { margin-top: 16px; display: grid; gap: 6px; }
.feature ul li { position: relative; padding-left: 26px; font-size: 16px; }
.feature ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 10px; height: 10px; border-radius: 50%; background: var(--midori); }
@media (max-width: 799px) { .feature { grid-template-columns: minmax(0, 1fr); } .feature:nth-child(even) figure { order: 0; } }

/* 1日の流れ */
.day { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; margin-top: 48px; position: relative; }
.day::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: var(--line); }
.day li { position: relative; padding-right: 16px; }
.day time { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 70px; height: 48px; padding: 0 12px; border-radius: 999px; background: var(--ai); color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; font-size: 16px; }
.day h3 { margin-top: 14px; font-family: var(--maru); font-size: 18px; letter-spacing: .06em; line-height: 1.5; }
.day p { margin-top: 6px; font-size: 15px; color: var(--sub); line-height: 1.85; }
@media (max-width: 899px) {
  .day { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-left: 0; }
  .day::before { left: 34px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .day li { display: grid; grid-template-columns: 70px minmax(0, 1fr); column-gap: 20px; }
  .day h3 { margin-top: 8px; } .day p { grid-column: 2; }
}

/* ケアマネジャーの方へ：空き状況 */
.cm { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 64px); align-items: start; padding: clamp(28px, 4vw, 56px); background: var(--card); border: 1px solid var(--line); border-radius: 24px; }
.cm__contact { display: grid; gap: 4px; margin-top: 20px; font-size: 15.5px; }
.cm__contact b { font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.vac { width: 100%; border-collapse: collapse; text-align: center; font-variant-numeric: tabular-nums; }
.vac caption { caption-side: top; text-align: left; font-weight: 700; padding-bottom: 12px; }
.vac caption small { font-weight: 400; color: var(--sub); margin-left: 8px; font-size: 14px; }
.vac th, .vac td { padding: 12px 4px; border-bottom: 1px solid var(--line); }
.vac thead th { font-size: 15px; background: var(--bg-2); }
.vac thead th:first-child { border-radius: 10px 0 0 0; } .vac thead th:last-child { border-radius: 0 10px 0 0; }
.vac tbody th { font-size: 15px; font-weight: 500; text-align: left; padding-left: 8px; white-space: nowrap; }
.vac td span { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-weight: 700; font-size: 18px; }
.vac .ok { background: var(--midori-soft); color: #36532F; }
.vac .few { background: #FBEFCF; color: #7A5A0B; }
.vac .full { background: #EEE9E2; color: #6B655D; }
.vac-legend { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 12px; font-size: 14px; color: var(--sub); }
.table-scroll { overflow-x: auto; }
@media (max-width: 899px) { .cm { grid-template-columns: minmax(0, 1fr); } }

/* 料金のめやす（トップ）と採用の案内 */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.panel { position: relative; display: grid; align-content: end; min-height: 340px; padding: clamp(24px, 3vw, 40px); border-radius: 24px; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.panel:hover { color: #fff; }
.panel img { position: absolute; inset: 0; z-index: -2; transition: transform .8s ease; }
.panel:hover img { transform: scale(1.04); }
.panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 18, 15, 0) 20%, rgba(20, 18, 15, .78)); }
.panel small { font-family: var(--maru); font-weight: 700; letter-spacing: .18em; font-size: 13.5px; color: #F2C9AE; }
.panel b { display: block; margin-top: 4px; font-family: var(--maru); font-size: clamp(22px, 2.4vw, 28px); letter-spacing: .08em; line-height: 1.5; }
.panel span { display: block; margin-top: 8px; color: #EFEAE2; font-size: 15.5px; }
@media (max-width: 799px) { .duo { grid-template-columns: minmax(0, 1fr); } .panel { min-height: 280px; } }

/* お問い合わせの帯（各ページの最後） */
.cta { background: var(--ai); color: #fff; }
.cta .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: center; padding-block: clamp(56px, 7vw, 88px); }
.cta h2 { font-family: var(--maru); font-weight: 700; font-size: clamp(24px, 2.8vw, 32px); letter-spacing: .08em; line-height: 1.55; text-wrap: balance; }
.cta p { margin-top: 10px; color: #DCE5EE; }
.cta__ways { display: grid; gap: 12px; justify-items: stretch; }
.cta__tel { display: grid; gap: 0; padding: 14px 28px; border-radius: 16px; background: rgba(255, 255, 255, .1); color: #fff; text-decoration: none; text-align: center; }
.cta__tel:hover { color: #fff; background: rgba(255, 255, 255, .16); }
.cta__tel small { font-size: 13px; color: #DCE5EE; }
.cta__tel b { font-size: 30px; letter-spacing: .06em; font-variant-numeric: tabular-nums; line-height: 1.4; }
.cta .btn { background: #fff; border-color: #fff; color: var(--ai-dark); }
.cta .btn:hover { background: var(--ai-soft); border-color: var(--ai-soft); }
@media (max-width: 799px) { .cta .wrap { grid-template-columns: minmax(0, 1fr); } }

/* フッター */
.ft { background: #1F2327; color: #D9D4CB; font-size: 15px; }
.ft a { color: #fff; }
.ft__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; padding-block: 64px 32px; }
.ft .logo { color: #fff; }
.ft .logo__name small { color: #B9B3A9; }
.ft__info { margin-top: 20px; display: grid; gap: 2px; }
.ft__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; align-content: start; }
.ft__nav a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; }
.ft__nav a:hover { text-decoration: underline; }
.ft__bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-block: 20px 32px; border-top: 1px solid #3A3F44; font-size: 13px; color: #A9A397; }
@media (max-width: 799px) { .ft__in { grid-template-columns: minmax(0, 1fr); } }

/* カード（サービス内容など） */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.card figure { aspect-ratio: 3 / 2; }
.card__body { padding: 24px; }
.card h3 { font-family: var(--maru); font-size: 20px; letter-spacing: .06em; line-height: 1.5; }
.card p { margin-top: 10px; font-size: 15.5px; color: var(--sub); line-height: 1.9; }
@media (max-width: 899px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .cards { grid-template-columns: minmax(0, 1fr); } }

/* 表（料金・概要・募集要項） */
.dl { border-top: 2px solid var(--ink); }
.dl > div { display: grid; grid-template-columns: 11em minmax(0, 1fr); gap: 8px 24px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.dl dt { font-weight: 700; }
.dl dd small { display: block; font-size: 14.5px; color: var(--sub); }
@media (max-width: 599px) { .dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.price { width: 100%; min-width: 520px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price th, .price td { padding: 16px 14px; border-bottom: 1px solid var(--line); text-align: right; }
.price th:first-child, .price td:first-child { text-align: left; }
.price thead th { background: var(--ai); color: #fff; font-size: 15px; font-weight: 700; }
.price thead th:first-child { border-radius: 12px 0 0 0; } .price thead th:last-child { border-radius: 0 12px 0 0; }
.price tbody th { font-weight: 700; }
.price tbody tr:nth-child(even) { background: var(--card); }
.price td b { font-size: 19px; }

/* 手順 */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 48px; counter-reset: s; }
.steps li { position: relative; padding: 24px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; counter-increment: s; }
.steps li::before { content: "STEP " counter(s); display: block; font-family: var(--maru); font-weight: 700; font-size: 13px; letter-spacing: .14em; color: var(--kaki); }
.steps h3 { margin-top: 4px; font-family: var(--maru); font-size: 18px; line-height: 1.5; }
.steps p { margin-top: 8px; font-size: 15px; color: var(--sub); line-height: 1.85; }
@media (max-width: 999px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* 2カラム（見出し＋本文） */
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 899px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* 施設の写真 */
.photos { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(110px, 13vw, 170px); gap: 12px; margin-top: 48px; }
.photos figure { position: relative; border-radius: 16px; overflow: hidden; }
.photos figcaption { position: absolute; left: 12px; bottom: 12px; padding: 2px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 13.5px; font-weight: 500; }
.p1 { grid-column: 1 / 8; grid-row: span 3; } .p2 { grid-column: 8 / 13; grid-row: span 2; } .p3 { grid-column: 8 / 13; grid-row: span 2; } .p4 { grid-column: 1 / 5; grid-row: span 2; } .p5 { grid-column: 5 / 8; grid-row: span 1; }
@media (max-width: 699px) { .photos { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 140px; } .p1 { grid-column: 1 / 3; grid-row: span 2; } .p2, .p3, .p4, .p5 { grid-column: auto; grid-row: span 1; } }

/* スタッフ */
.staff { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.member { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; }
.avatar { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; font-family: var(--maru); font-weight: 700; font-size: 32px; color: #fff; }
.member__role { font-size: 14px; font-weight: 700; color: var(--kaki); letter-spacing: .08em; }
.member h3 { font-family: var(--maru); font-size: 21px; letter-spacing: .1em; line-height: 1.5; }
.member h3 small { margin-left: 8px; font-size: 13.5px; font-weight: 500; color: var(--sub); letter-spacing: .04em; }
.member p { margin-top: 10px; font-size: 15.5px; color: var(--sub); line-height: 1.9; }
@media (max-width: 799px) { .staff { grid-template-columns: minmax(0, 1fr); } .member { grid-template-columns: minmax(0, 1fr); } .avatar { width: 72px; height: 72px; font-size: 26px; } }

/* 採用 */
.jobs { display: grid; gap: 24px; margin-top: 48px; }
.job { padding: clamp(24px, 3vw, 40px); background: var(--card); border: 1px solid var(--line); border-radius: 24px; }
.job__hd { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-bottom: 20px; }
.job__hd h3 { font-family: var(--maru); font-size: 23px; letter-spacing: .08em; }
.voices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.voice { padding: 32px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); }
.voice blockquote { margin: 0; font-size: 16.5px; line-height: 2; }
.voice blockquote::before { content: "“"; display: block; font-family: Georgia, serif; font-size: 56px; line-height: .6; color: var(--kaki); margin-bottom: 12px; }
.voice figcaption { margin-top: 16px; font-size: 14.5px; color: var(--sub); }
.perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.perks li { padding: 22px 20px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.perks b { display: block; font-family: var(--maru); font-size: 26px; color: var(--ai); line-height: 1.3; font-variant-numeric: tabular-nums; }
.perks b small { font-size: 15px; margin-left: 2px; }
.perks span { display: block; margin-top: 6px; font-size: 15px; color: var(--sub); line-height: 1.7; }
@media (max-width: 899px) { .voices { grid-template-columns: minmax(0, 1fr); } .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* お知らせ一覧・記事 */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.filters button { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; margin-top: 32px; }
.post a { display: grid; gap: 12px; color: var(--ink); text-decoration: none; }
.post figure { aspect-ratio: 3 / 2; border-radius: 16px; overflow: hidden; }
.post figure img { transition: transform .6s ease; }
.post a:hover figure img { transform: scale(1.04); }
.post a:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.post__meta { display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--sub); font-variant-numeric: tabular-nums; }
.post h3 { font-size: 17.5px; font-weight: 700; line-height: 1.7; }
@media (max-width: 899px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .posts { grid-template-columns: minmax(0, 1fr); } }
.article { max-width: 760px; margin: 0 auto; }
.article__meta { display: flex; gap: 12px; align-items: center; font-size: 14.5px; color: var(--sub); }
.article h1 { margin-top: 12px; font-family: var(--maru); font-size: clamp(26px, 3.4vw, 34px); line-height: 1.6; letter-spacing: .06em; text-wrap: balance; }
.article__eye { margin-top: 28px; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; }
.article__body { margin-top: 32px; }
.article__body p + p { margin-top: 1.4em; }
.article__body h2 { margin: 2em 0 .8em; padding-left: 16px; border-left: 5px solid var(--kaki); font-family: var(--maru); font-size: 22px; line-height: 1.6; }
.article__body figure { margin: 2em 0; }
.article__body figure img { border-radius: 16px; }
.article__body figcaption { margin-top: 8px; font-size: 14px; color: var(--sub); }
.pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.pager a { display: grid; gap: 4px; padding: 16px 20px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; }
.pager a small { color: var(--sub); font-size: 13.5px; }
.pager a:last-child { text-align: right; }

/* フォーム */
.form { display: grid; gap: 24px; padding: clamp(24px, 4vw, 48px); background: var(--card); border: 1px solid var(--line); border-radius: 24px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 700; }
.req, .opt { display: inline-block; margin-left: 10px; padding: 0 10px; border-radius: 6px; font-size: 13px; font-weight: 700; line-height: 1.8; vertical-align: 1px; }
.req { background: var(--kaki); color: #fff; }
.opt { background: var(--bg-2); color: var(--sub); }
.hint { font-size: 14.5px; color: var(--sub); }
.field input, .field textarea { width: 100%; min-height: 56px; padding: 12px 16px; font: inherit; font-size: 17px; color: var(--ink); background: #fff; border: 2px solid #C9BEAC; border-radius: 10px; }
.field textarea { min-height: 170px; resize: vertical; line-height: 1.8; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ai); box-shadow: 0 0 0 4px rgba(43, 73, 104, .2); }
.field [aria-invalid="true"] { border-color: #B3261E; }
.err { color: #B3261E; font-size: 15px; font-weight: 700; }
.agree { display: flex; gap: 12px; align-items: flex-start; }
.agree input { width: 24px; height: 24px; margin-top: 5px; accent-color: var(--ai); flex: none; }
.submit { min-height: 60px; border: 0; border-radius: 999px; background: var(--ai); color: #fff; font: inherit; font-weight: 700; font-size: 18px; letter-spacing: .12em; cursor: pointer; }
.submit:hover { background: var(--ai-dark); }
.done { padding: 20px; border-radius: 12px; background: var(--midori-soft); border: 1px solid #A8BF9F; }
.contact-ways { display: grid; gap: 16px; }
.way { padding: 24px 28px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.way small { display: block; font-size: 14px; color: var(--sub); }
.way b { display: block; font-size: 30px; letter-spacing: .06em; font-variant-numeric: tabular-nums; line-height: 1.5; user-select: all; }
.way p { font-size: 15px; color: var(--sub); }

/* このデモについて（トップの最後） */
.about-demo { padding-block: clamp(56px, 7vw, 88px); background: var(--bg); border-top: 6px solid var(--ink); }
.about-demo h2 { margin-top: 8px; font-size: clamp(21px, 2.4vw, 26px); line-height: 1.5; letter-spacing: .06em; text-wrap: balance; }
.spec { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 28px; border-top: 2px solid var(--ink); }
.spec div { padding: 18px 20px 18px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-size: 13.5px; color: var(--sub); }
.spec dd { margin-top: 4px; font-weight: 700; font-size: 17px; }
.spec dd small { display: block; font-weight: 400; font-size: 13.5px; color: var(--sub); line-height: 1.7; }
.about-demo .fine { margin-top: 20px; font-size: 14px; color: var(--sub); max-width: 52em; }
.about-demo .btn { margin-top: 24px; }
@media (max-width: 899px) { .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 459px) { .spec { grid-template-columns: minmax(0, 1fr); } }

/* ふわっと表示 */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
