/* 訪問看護ナビ — 共通の見た目（全国トップ・都道府県・市・市区町村・コラム・運営者情報）
   白を土台に、色は青緑（案内・押せる物）と橙（いま見ている所・フォーカス）の2色だけ。
   本文は 17px、注意書きも 15px 以上。押せる物は高さ 44px 以上。
   書体の太さは 400 と 700 の2つだけ（読み込むフォントを軽くするため。500 は使わない）。 */
:root {
  --bg: #ffffff;
  --page: #f5f9f9;
  --tint: #e9f4f3;
  --ink: #15262d;
  --sub: #4a5d63;
  --line: #d6e3e2;
  --line-2: #b7cdcb;
  --acc: #0a6b70;
  --acc-d: #07494d;
  --acc-l: #d9edeb;
  --warm: #c4560a;
  --warm-l: #fdf1e6;
  --focus: #e08a1e;
  --r: 14px;
  --shadow: 0 1px 2px rgba(15, 50, 55, .05), 0 8px 22px -12px rgba(15, 50, 55, .18);
  --mk: 40px;      /* ロゴの印の大きさ */
  --mk-gap: 10px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--page) linear-gradient(180deg, #e8f3f2 0, var(--page) 300px) no-repeat;
  color: var(--ink);
  font: 400 17px/1.85 "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", system-ui, sans-serif;
  overflow-wrap: anywhere;
}
body.top { background: var(--bg); }
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--acc); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--acc-d); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.4; letter-spacing: .01em; word-break: auto-phrase; text-wrap: balance; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ---------- 見出しの帯（全ページ共通） ---------- */
.site-head { background: var(--bg); border-bottom: 1px solid var(--line); position: relative; z-index: 2; }
.site-head .wrap {
  display: flex; align-items: center; gap: 4px 16px; flex-wrap: wrap;
  min-height: 68px; padding-top: 10px; padding-bottom: 10px;
}
/* ロゴ: 印（地図のピンの中に家と十字）＋ 文字「訪問看護」は墨、「ナビ」は青緑。
   文字は6つとも全角で同じ幅なので、4文字目の後ろで色を切り替える */
.brand {
  --split: calc(var(--mk) + var(--mk-gap) + 4 * 1.06em);
  display: inline-flex; align-items: center; gap: var(--mk-gap); min-height: 44px;
  color: var(--ink); text-decoration: none; white-space: nowrap;
  font-weight: 700; font-size: 1.36rem; letter-spacing: .06em; line-height: 1;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .brand {
    background: linear-gradient(90deg, var(--ink) 0, var(--ink) var(--split), var(--acc) var(--split));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  }
}
.brand::before {
  content: ""; flex: none; width: var(--mk); height: var(--mk);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cdefs%3E%3ClinearGradient id='a' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%231a9197'/%3E%3Cstop offset='1' stop-color='%23075a5f'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M20 1.5c8.6 0 15.5 6.8 15.5 15.200 0 9.300-9.500 17.400-14 20.800a2.500 2.500 0 0 1-3 0C14 34.100 4.500 26 4.500 16.700 4.500 8.300 11.400 1.500 20 1.500z' fill='url(%23a)'/%3E%3Cpath d='M11.600 17 20 9.800l8.400 7.200v7.800a1.400 1.400 0 0 1-1.400 1.400H13a1.400 1.400 0 0 1-1.400-1.400z' fill='%23fff'/%3E%3Cpath d='M20 14.900v7.400M16.300 18.600h7.400' stroke='%23c4560a' stroke-width='2.500' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.brand-sub { color: var(--sub); font-size: .86rem; line-height: 1.5; padding-left: 16px; border-left: 1px solid var(--line-2); }
.head-nav { margin-left: auto; display: flex; gap: 2px; flex-wrap: wrap; }
.head-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 13px;
  border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 400; font-size: .94rem;
}
.head-nav a:hover { background: var(--tint); color: var(--acc-d); }
/* タブレット・スマホ: 目次を見出しの下の1行にする。項目は画面の幅に収まる数と長さにしてある
   （全国トップは長い言葉を .w で包み、スマホでは隠す）。万一あふれたら横に送れて、右端を薄くして続きを示す */
@media (max-width: 980px) {
  .site-head .wrap { padding-bottom: 0; }
  .head-nav {
    order: 9; width: 100%; margin: 6px 0 0; gap: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    border-top: 1px solid var(--line);
  }
  .head-nav::-webkit-scrollbar { display: none; }
  .head-nav a { flex: 1 0 auto; justify-content: center; padding: 0 6px; border-radius: 0; white-space: nowrap; font-size: .9rem; }
  .head-nav a + a { box-shadow: -1px 0 0 var(--line); }
}

/* ---------- 現在の位置 ---------- */
.crumbs { margin: 18px 0 4px; font-size: .92rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; margin: 0; padding: 0; }
.crumbs li { display: inline-flex; align-items: center; min-width: 0; }
.crumbs li + li::before {
  content: ""; flex: none; width: 6px; height: 6px; margin: 0 10px 0 4px;
  border-right: 1.5px solid var(--sub); border-top: 1.5px solid var(--sub); transform: rotate(45deg); opacity: .6;
}
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; font-weight: 400; }
.crumbs [aria-current] { color: var(--sub); padding: 10px 4px; line-height: 1.5; }

/* ---------- ページの見出し ---------- */
main.wrap > h1, .col > h1 {
  margin: 8px 0 10px; font-size: clamp(1.55rem, 1.1rem + 1.9vw, 2.2rem); font-weight: 700; line-height: 1.4;
}
main.wrap > h1::after {
  content: ""; display: block; width: 56px; height: 4px; margin-top: 12px; border-radius: 2px;
  background: linear-gradient(90deg, var(--acc) 0 70%, var(--warm) 70%);
}
.lead { margin: 0 0 18px; font-size: 1.04rem; color: var(--ink); }
.lead-n {
  font-size: 2.5rem; font-weight: 700; color: var(--acc-d); line-height: 1;
  font-variant-numeric: tabular-nums; margin-right: 4px; vertical-align: -0.1em;
}
/* 集計の説明文 */
main.wrap > p.summary {
  max-width: none; margin: 0 0 24px; padding: 14px 18px 14px 50px; position: relative;
  background: var(--tint); border-radius: 12px; font-size: .97rem; line-height: 1.85; color: var(--ink);
}
.summary::before { /* 棒グラフの印 */
  content: ""; position: absolute; left: 17px; top: 18px; width: 20px; height: 20px; background: var(--acc);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M2 11h4v7H2zM8 2h4v16H8zM14 7h4v11h-4z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M2 11h4v7H2zM8 2h4v16H8zM14 7h4v11h-4z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ---------- 白い箱（選ぶ・絞る・確かめる） ---------- */
.pick, .cities, .filters, .guide, .near, .col-teaser {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow);
}
.pick, .cities, .near { padding: 22px 24px 24px; margin: 0 0 24px; }
.pick h2, .cities h2, .near h2, .guide h2, .col-teaser h2 {
  margin: 0 0 14px; font-size: 1.28rem; display: flex; align-items: center; gap: 10px;
}
.pick h2::before, .cities h2::before, .near h2::before, .guide h2::before, .col-teaser h2::before {
  content: ""; width: 6px; height: 1.15em; border-radius: 3px; background: var(--acc); flex: none;
}
.q-label { display: block; font-weight: 700; font-size: .98rem; margin: 0 0 6px; }
input[type="search"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; min-height: 54px; padding: 12px 16px 12px 50px;
  font: inherit; font-size: 1.06rem; color: var(--ink);
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5' fill='none' stroke='%230a6b70' stroke-width='2.2'/%3E%3Cpath d='m15.5 15.5 5 5' stroke='%230a6b70' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") 16px 50%/22px no-repeat;
  border: 2px solid var(--line-2); border-radius: 12px;
}
input[type="search"]::placeholder { color: #6c7d82; }
input[type="search"]:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 4px rgba(10, 107, 112, .16); }

/* 市区町村・区・近くの市区町村のリンク（名前＋件数） */
.areas {
  list-style: none; margin: 16px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px;
}
.cities .areas, .near .areas, h2 + .areas { margin-top: 0; }
.areas a {
  display: flex; align-items: center; gap: 10px; height: 100%;
  min-height: 50px; padding: 8px 12px 8px 14px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  color: var(--ink); text-decoration: none; font-weight: 400;
  transition: border-color .15s, background-color .15s;
}
.areas a::after {
  content: ""; flex: none; width: 7px; height: 7px;
  border-right: 2px solid var(--acc); border-top: 2px solid var(--acc); transform: rotate(45deg);
}
.areas a:hover { border-color: var(--acc); background: var(--tint); }
.a-name { flex: 1; line-height: 1.45; }
.a-n { flex: none; font-size: .88rem; font-weight: 400; color: var(--sub); font-variant-numeric: tabular-nums; }
.cities .areas a { border-color: var(--line-2); background: var(--page); font-weight: 700; }

/* ---------- 事業所の一覧（市・市区町村ページ） ---------- */
.filters { padding: 18px 22px 14px; margin: 0 0 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 2px; }
.chips label {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  min-height: 46px; padding: 0 18px 0 12px; cursor: pointer;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg);
  font-weight: 400; user-select: none;
}
.chips input {
  -webkit-appearance: none; appearance: none; margin: 0; flex: none;
  width: 24px; height: 24px; border: 2px solid var(--line-2); border-radius: 6px; background: var(--bg);
  display: grid; place-content: center; cursor: pointer;
}
.chips input::before {
  content: ""; width: 12px; height: 7px; margin-top: -3px;
  border-left: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(-45deg) scale(0);
  transition: transform .12s;
}
.chips input:checked { background: var(--acc); border-color: var(--acc); }
.chips input:checked::before { transform: rotate(-45deg) scale(1); }
.chips label:has(input:checked) { border-color: var(--acc); background: var(--acc-l); color: var(--acc-d); }
.chips input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.hits { margin: 8px 0 0; color: var(--sub); font-size: .98rem; }
.hits #hit { font-size: 1.3rem; font-weight: 700; color: var(--acc-d); margin-right: 2px; font-variant-numeric: tabular-nums; }

/* 件数の表示（p.hits）。.filters の外＝ main の直下に置いてあれば、一覧を送っても上に付いてくる */
main.wrap > p.hits {
  position: sticky; top: 0; z-index: 4; max-width: none; margin: -6px -20px 12px; padding: 7px 20px 7px;
  background: rgba(245, 249, 249, .94); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
/* 条件に合う事業所が無いとき（p#none.none） */
.none {
  margin: 0 0 24px; padding: 18px 20px 18px 54px; position: relative; max-width: none;
  background: var(--warm-l); border-radius: 12px; font-weight: 700; line-height: 1.7;
}
main.wrap > p.none { max-width: none; margin-bottom: 24px; }
.none::before {
  content: "!"; position: absolute; left: 18px; top: 19px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--warm); color: #fff; font-weight: 700; display: grid; place-items: center; line-height: 1; font-size: .95rem;
}
/* 絞り込みへ戻る（a.to-filter。長い市のページの右下に固定） */
#q, #f-we { scroll-margin-top: 110px; }
.to-filter {
  position: fixed; right: 16px; bottom: 16px; z-index: 6; display: inline-flex; align-items: center; gap: 8px;
  min-height: 50px; padding: 0 20px 0 16px; border-radius: 999px; background: var(--acc-d); color: #fff;
  font-weight: 700; font-size: .95rem; text-decoration: none; line-height: 1.3;
  box-shadow: 0 10px 24px -8px rgba(7, 50, 54, .55);
}
.to-filter::before { /* 虫めがね */
  content: ""; flex: none; width: 20px; height: 20px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5' fill='none' stroke='%23000' stroke-width='2.4'/%3E%3Cpath d='m15.5 15.5 5 5' stroke='%23000' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5' fill='none' stroke='%23000' stroke-width='2.4'/%3E%3Cpath d='m15.5 15.5 5 5' stroke='%23000' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.to-filter:hover { background: var(--acc); color: #fff; }
/* ページの頭（絞り込みの箱がまだ見えている間）は出さない。送った量で出し入れできるブラウザだけ。
   できないブラウザでは、これまでどおり常に出る */
@supports (animation-timeline: scroll()) {
  .to-filter { animation: to-filter-in linear both; animation-timeline: scroll(root block); animation-range: 0 1500px; }
  @keyframes to-filter-in { 0%, 92% { opacity: 0; visibility: hidden; } 100% { opacity: 1; visibility: visible; } }
}

.list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin: 0 0 32px; }
@media (min-width: 900px) { .list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
/* 市のページ: 区ごとに区切る（.list > section.ward > h2 + p.ward-link + article.st …） */
.list:has(> .ward) { display: block; }
.ward { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin: 36px 0 0; }
.ward:first-child { margin-top: 8px; }
.ward > h2 {
  grid-column: 1 / -1; margin: 0; padding-bottom: 8px; border-bottom: 2px solid var(--acc);
  font-size: 1.3rem; scroll-margin-top: 64px;
}
.ward > .ward-link { grid-column: 1 / -1; margin: -4px 0 2px; }
.ward > .ward-link a.more { min-height: 44px; padding: 6px 18px; font-size: .92rem; }
@media (min-width: 900px) { .ward { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.ward > .st { content-visibility: auto; contain-intrinsic-size: auto 290px; }
.st {
  display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow); padding: 18px 20px 18px;
}
.st:hover { border-color: var(--line-2); }
/* 数百件並ぶ市のページでも軽く開けるよう、画面の外のカードは描くのを後回しにする */
.list > .st { content-visibility: auto; contain-intrinsic-size: auto 290px; }
.st h3 { margin: 0 0 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 1.14rem; line-height: 1.5; color: var(--ink); }
.st dl {
  display: grid; grid-template-columns: 7.6em 1fr; gap: 4px 12px;
  margin: 0 0 14px; font-size: .98rem; line-height: 1.65;
}
.st dt { color: var(--sub); font-weight: 400; font-size: .9rem; padding-top: 1px; }
.st dd { margin: 0; }
/* 訪問できる曜日のタグ（dd > span.tag） */
.tag {
  display: inline-block; margin: 1px 6px 3px 0; padding: 0 10px; border-radius: 6px;
  background: var(--tint); color: var(--acc-d); font-size: .9rem; font-weight: 700; line-height: 1.85; white-space: nowrap;
}
.st-actions {
  margin-top: auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 8px;
}
.st-actions a {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 6px 12px; border-radius: 10px;
  font-weight: 700; font-size: .98rem; text-decoration: none; text-align: center; line-height: 1.3;
  border: 1.5px solid var(--acc); color: var(--acc-d); background: var(--bg);
}
.st-actions a::before { content: ""; flex: none; width: 19px; height: 19px; background: currentColor; -webkit-mask: var(--ic) center/contain no-repeat; mask: var(--ic) center/contain no-repeat; }
.st-actions a:hover { background: var(--acc-l); }
.st-call { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E"); }
.st-actions .st-call { background: var(--acc); color: #fff; border-color: var(--acc); }
.st-actions .st-call:hover { background: var(--acc-d); border-color: var(--acc-d); color: #fff; }
.st-map { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E"); }
.st-web { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 3h7v7h-2V6.4l-8.3 8.3-1.4-1.4L17.6 5H14zM5 5h6v2H5v12h12v-6h2v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2z'/%3E%3C/svg%3E"); }

/* ---------- PR枠（運営者の関連事業所） ----------
   事業所カード（.st）と同じ白・同じ線・同じ書体で、幅だけ一段広い紹介カード。
   色の帯・影・飾りは付けない。広告であることは左上の「PR」の札で、本文と同じ濃さで示す。 */
.pr {
  position: relative; margin: 0 0 24px; padding: 18px 22px 18px;
  background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r);
}
.pr-tag { margin: 0 0 10px; line-height: 1.5; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; font-size: .92rem; color: var(--sub); }
.pr-tag span {
  display: inline-grid; place-items: center; min-width: 44px; height: 28px; padding: 0 9px;
  border: 1.5px solid var(--ink); border-radius: 5px; background: var(--bg); color: var(--ink);
  font-size: .95rem; font-weight: 700; letter-spacing: .1em; line-height: 1;
}
.pr-name { margin: 0 0 6px; font-size: 1.2rem; line-height: 1.5; color: var(--ink); display: flex; align-items: center; gap: 12px; }
.pr-logo { height: 52px; width: auto; flex: none; }
.pr-catch { margin: 0 0 10px; font-size: 1rem; font-weight: 700; }
.pr-points { margin: 0 0 12px; padding-left: 1.3em; font-size: .98rem; line-height: 1.75; }
.pr-points li + li { margin-top: 2px; }
.pr-points li::marker { color: var(--acc); }
.pr-info { display: grid; grid-template-columns: 6em 1fr; gap: 4px 12px; margin: 0 0 14px; font-size: .98rem; line-height: 1.65; }
.pr-info dt { color: var(--sub); font-weight: 400; font-size: .9rem; padding-top: 1px; }
.pr-info dd { margin: 0; }
.pr-cta { margin: 10px 0 0; font-size: .92rem; color: var(--sub); }
/* くわしい説明（details.pr-more > summary + ul.pr-points + dl.pr-info） */
.pr-more { margin: 0 0 14px; }
.pr-more > summary {
  list-style: none; cursor: pointer; position: relative; display: flex; align-items: center; min-height: 48px;
  padding: 0 44px 0 14px; border: 1px solid var(--line-2); border-radius: 10px; font-weight: 700; color: var(--acc-d);
}
.pr-more > summary::-webkit-details-marker { display: none; }
.pr-more > summary::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--acc); border-bottom: 2px solid var(--acc); transform: rotate(45deg);
}
.pr-more[open] > summary { margin-bottom: 12px; }
.pr-more[open] > summary::after { transform: rotate(-135deg); margin-top: -2px; }
.pr-more .pr-info { margin-bottom: 0; }
@media (min-width: 900px) {
  /* 上の段: 左に札・名前・ひとこと、右に電話と公式サイト。下の段: くわしい説明（左に特徴、右に訪問エリアなど） */
  .pr { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: 32px; align-items: start; }
  .pr > * { grid-column: 1; }
  .pr-tag { grid-row: 1; } .pr-name { grid-row: 2; } .pr-catch { grid-row: 3; margin-bottom: 0; }
  .pr .st-actions { grid-column: 2; grid-row: 1 / span 2; align-self: end; grid-template-columns: 1.4fr 1fr; }
  .pr .st-actions a { padding: 6px 8px; white-space: nowrap; font-size: .95rem; }
  .pr-cta { grid-column: 2; grid-row: 3; margin-top: 8px; }
  .pr-more { grid-column: 1 / -1; grid-row: 4; display: flow-root; margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
  .pr-more .pr-points { float: left; width: 54%; margin-bottom: 0; }
  .pr-more .pr-info { margin-left: 58%; padding-left: 28px; border-left: 1px solid var(--line); }
  /* details を使う前のマークアップ（ul と dl が .pr の直下）でも同じ並びにする */
  .pr > .pr-points { grid-column: 1; grid-row: 4; margin: 16px 0 0; }
  .pr > .pr-info { grid-column: 2; grid-row: 4; margin: 16px 0 0; }
  /* PC では畳まずに見せる。閉じた details の中身を CSS だけで出せるブラウザ（::details-content）に限って、
     「くわしく見る」を隠して中身を常に出す。対応していないブラウザでは、押して開く形のまま残る */
  @supports selector(::details-content) {
    .pr-more > summary { display: none; }
    .pr-more::details-content { content-visibility: visible; display: block; }
  }
}

/* ---------- 選ぶときに確かめたいこと ---------- */
.guide { padding: 22px 24px 22px; margin: 0 0 24px; }
.checklist { list-style: none; counter-reset: c; margin: 0; padding: 0; display: grid; gap: 0 28px; }
.checklist li {
  counter-increment: c; position: relative;
  padding: 12px 0 12px 44px; border-top: 1px solid var(--line);
  font-size: .98rem; line-height: 1.75;
}
.checklist li::before {
  content: counter(c); position: absolute; left: 0; top: 14px;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--acc-l); color: var(--acc-d); font-weight: 700; font-size: .95rem; line-height: 1;
}
.checklist strong { display: block; font-size: 1.04rem; color: var(--ink); }
@media (min-width: 900px) {
  main.wrap .checklist { grid-template-columns: 1fr 1fr; }
  main.wrap .checklist li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ---------- 訪問看護を知る（一覧ページの下） ---------- */
.col-teaser { padding: 22px 24px 20px; margin: 0 0 24px; }
.col-teaser ul, .col-related ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 28px; }
.col-teaser li, .col-related li { border-top: 1px solid var(--line); }
.col-teaser li a, .col-related li a {
  display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 2px;
  color: var(--ink); text-decoration: none; font-weight: 400; line-height: 1.6;
}
.col-teaser li a::after, .col-related li a::after {
  content: ""; flex: none; margin-left: auto; width: 7px; height: 7px;
  border-right: 2px solid var(--acc); border-top: 2px solid var(--acc); transform: rotate(45deg);
}
.col-teaser li a:hover, .col-related li a:hover { color: var(--acc-d); text-decoration: underline; }
.col-teaser p { margin: 12px 0 0; }
@media (min-width: 900px) { .col-teaser ul { grid-template-columns: 1fr 1fr; } }

/* 押せる物の基本形（コラムの「全国から探す」など） */
.btn, a.more, .back a {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 8px 24px;
  border-radius: 999px; font-weight: 700; text-decoration: none; line-height: 1.4;
}
.btn { background: var(--acc); color: #fff; border: 2px solid var(--acc); }
.btn:hover { background: var(--acc-d); border-color: var(--acc-d); color: #fff; }
a.more, .back a { border: 1.5px solid var(--acc); background: var(--bg); color: var(--acc-d); }
a.more:hover, .back a:hover { background: var(--acc-l); }
.btn::after, a.more::after {
  content: ""; flex: none; width: 7px; height: 7px;
  border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg);
}
.back { margin: 0 0 36px; }

/* ---------- コラムの一覧（column/） ---------- */
.col-list { list-style: none; margin: 8px 0 40px; padding: 0; display: grid; gap: 14px; }
@media (min-width: 900px) { .col-list { grid-template-columns: 1fr 1fr; } }
.col-list a {
  display: block; height: 100%; padding: 20px 52px 20px 22px; position: relative;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow);
  color: var(--ink); text-decoration: none;
}
.col-list a::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 9px; height: 9px; margin-top: -5px;
  border-right: 2px solid var(--acc); border-top: 2px solid var(--acc); transform: rotate(45deg);
}
.col-list a:hover { border-color: var(--acc); }
.col-t { display: block; font-size: 1.14rem; font-weight: 700; line-height: 1.55; }
.col-list a:hover .col-t { color: var(--acc-d); }
.col-d { display: block; margin-top: 6px; font-size: .95rem; line-height: 1.75; color: var(--sub); }

/* ---------- コラムの記事（column/<slug>/） ----------
   読み物なので、1行を全角40字ほど（40em）に抑え、行間を広めにとる */
.col {
  max-width: calc(40em + 2 * 44px); margin: 8px auto 28px; padding: 36px 44px 36px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow);
  line-height: 2; font-size: 1.02rem;
}
.col > h1 { margin: 0 0 8px; font-size: clamp(1.5rem, 1.1rem + 1.5vw, 1.95rem); line-height: 1.5; }
/* 自動の文節区切り（auto-phrase）は「しくみ」のような言葉を割ることがあるので、読み物の見出しでは使わない */
.col h1, .col h2, .col h3, .col-t, .col-cta h2 { word-break: normal; line-break: strict; text-wrap: balance; }
.col-date { margin: 0 0 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); color: var(--sub); font-size: .9rem; }
.col-toc { margin: 0 0 32px; padding: 18px 22px 16px; background: var(--page); border-radius: 12px; }
.col-toc p { margin: 0 0 4px; font-weight: 700; font-size: .95rem; color: var(--sub); }
.col .col-toc ol { list-style: none; counter-reset: toc; margin: 0; padding: 0; line-height: 1.6; }
.col .col-toc li { counter-increment: toc; margin: 0; padding: 0; }
.col-toc a { display: grid; grid-template-columns: 1.7em 1fr; padding: 8px 0; text-decoration: none; }
.col-toc a::before { content: counter(toc) "."; font-weight: 700; color: var(--acc-d); }
.col-toc a:hover { text-decoration: underline; }
.col h2 {
  margin: 48px 0 16px; padding-top: 20px; border-top: 3px solid var(--acc);
  font-size: 1.38rem; line-height: 1.5; scroll-margin-top: 12px;
}
.col h3 { margin: 32px 0 10px; padding-left: 12px; border-left: 4px solid var(--acc-l); font-size: 1.14rem; line-height: 1.55; }
.col p { margin: 0 0 20px; }
.col ul, .col ol { margin: 0 0 22px; padding-left: 1.5em; }
.col li { margin: 4px 0; }
.col li::marker { color: var(--acc); }
.col strong { font-weight: 700; background: linear-gradient(transparent 62%, #fbe3c8 62%); }
.col a { font-weight: 400; }
.col p.note {
  margin: 36px 0 0; padding: 14px 18px; background: var(--warm-l); border-radius: 12px;
  font-size: .94rem; line-height: 1.85; color: var(--ink);
}
.col-src { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .92rem; line-height: 1.75; }
.col .col-src h2 { margin: 0 0 8px; padding: 0; border: 0; font-size: 1rem; color: var(--sub); }
.col-src ul { margin: 0; }
.col .col-src li { margin: 0; padding: 8px 0; }
.col-cta, .col-related { max-width: calc(40em + 2 * 44px); margin: 0 auto 24px; }
.col-cta {
  padding: 28px 32px; border-radius: var(--r); background: var(--acc-d); color: #fff;
  background-image: radial-gradient(600px 200px at 100% 0, rgba(255, 255, 255, .12), transparent 70%);
}
.col-cta h2 { margin: 0 0 6px; font-size: 1.3rem; }
.col-cta p { margin: 0 0 16px; color: #e3f1f0; }
.col-cta p:last-child { margin: 0; }
.col-cta .btn { background: #fff; border-color: #fff; color: var(--acc-d); }
.col-cta .btn:hover { background: var(--acc-l); border-color: var(--acc-l); color: var(--acc-d); }
.col-related { margin-bottom: 40px; }
.col-related h2 { margin: 28px 0 10px; font-size: 1.2rem; }
.col-related ul { border-bottom: 1px solid var(--line); }

/* ---------- ページの下 ---------- */
.site-foot { background: #e9f1f1; border-top: 1px solid var(--line); margin-top: 28px; padding: 26px 0 34px; }
.note { margin: 0; font-size: .9rem; line-height: 1.85; color: var(--sub); }
.site-foot .note { max-width: 64em; }
.foot-links { margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.foot-links a {
  display: inline-flex; align-items: center; min-height: 46px; padding: 6px 18px; gap: 8px;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg);
  font-weight: 400; font-size: .95rem; text-decoration: none; line-height: 1.5;
}
.foot-links a::after {
  content: ""; flex: none; width: 7px; height: 7px;
  border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg);
}
.foot-links a:hover { border-color: var(--acc); background: var(--acc-l); }
/* 都道府県のリンク。下層ページは nav.foot-prefs の直下に a を並べる
   （全国トップは同じ nav の中を地方ごとの div.f-reg に分けていて、その見た目は style.css にある） */
.foot-prefs { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--line-2); }
.foot-prefs > a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 9px; color: var(--ink);
  text-decoration: none; font-size: .92rem; white-space: nowrap; border-radius: 8px;
}
.foot-prefs > a:hover { background: var(--bg); color: var(--acc-d); text-decoration: underline; }

/* ---------- 運営者情報（about/）・404 ---------- */
main.wrap > h2 { margin: 34px 0 10px; font-size: 1.25rem; }
main.wrap > p { margin: 0 0 14px; max-width: 46em; }
.about {
  display: grid; grid-template-columns: 11em 1fr; margin: 18px 0 8px; max-width: 54em;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
}
.about dt, .about dd { margin: 0; padding: 14px 18px; border-top: 1px solid var(--line); line-height: 1.75; }
.about dt { background: var(--page); color: var(--sub); font-weight: 700; font-size: .94rem; }
.about dt:first-of-type, .about dt:first-of-type + dd { border-top: 0; }
.contact {
  padding: 16px 18px; background: var(--bg); border: 1px solid var(--line); border-left: 5px solid var(--acc);
  border-radius: 12px; font-weight: 700;
}
main.wrap > p.contact { margin-bottom: 40px; }

/* ---------- 事業所カードのタグ・絞り込みのタグ（公表データと公式サイトの記載から） ---------- */
.st h3 a { color: inherit; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.st h3 a:hover { color: var(--acc-d); }
.st-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; padding: 0; }
.st-tags li { padding: 3px 10px; border-radius: 999px; background: var(--tint); color: var(--acc-d); font-size: .86rem; font-weight: 700; line-height: 1.6; }
.st-desc { margin: 0 0 12px; padding: 10px 12px; background: var(--page); border-left: 3px solid var(--line-2); border-radius: 6px; font-size: .92rem; line-height: 1.8; color: var(--ink); }
.st-desc .st-src { display: block; margin-top: 4px; font-size: .86rem; color: var(--sub); }
.tagchips { margin-top: 10px; align-items: center; }
.tagchips .chips-ttl { font-size: .875rem; font-weight: 700; color: var(--sub); margin-right: 4px; }
.tag-note { margin: 8px 0 0; font-size: .875rem; line-height: 1.7; color: var(--sub); }

/* 絞ったページへの入口（ul.variants > li > a.more） */
.variants { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; }

/* ---------- PR枠のくわしい内容（details.pr-extra: 写真・お悩み・流れ） ---------- */
.pr-extra { grid-column: 1 / -1; margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.pr-extra > summary {
  list-style: none; cursor: pointer; position: relative; display: flex; align-items: center; min-height: 48px;
  padding-right: 44px; font-weight: 700; color: var(--acc-d);
}
.pr-extra > summary::-webkit-details-marker { display: none; }
.pr-extra > summary::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--acc); border-bottom: 2px solid var(--acc); transform: rotate(45deg);
}
.pr-extra[open] > summary::after { transform: rotate(-135deg); margin-top: -2px; }
/* 2026-12-03 作り直し: 写真＋紹介文＋特徴 → お悩みのカード → 番号付きの流れ。どれも全幅で、左の余白を作らない */
.pr-extra-in { display: grid; grid-template-columns: 1fr; gap: 22px; margin-top: 8px; }
.pr-hero { display: grid; grid-template-columns: 1fr; gap: 14px; }
.pr-photo img { display: block; width: 100%; height: auto; border-radius: 12px; }
.pr-lead { margin: 0 0 12px; font-weight: 700; font-size: 1.04rem; line-height: 1.75; color: var(--acc-d); }
.pr-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pr-checks li { position: relative; padding: 7px 10px 7px 34px; background: var(--page); border-radius: 8px; font-size: .93rem; line-height: 1.6; }
.pr-checks li::before {
  content: ""; position: absolute; left: 11px; top: .78em; width: 12px; height: 7px;
  border-left: 2.5px solid var(--acc); border-bottom: 2.5px solid var(--acc); transform: rotate(-45deg);
}
.pr-extra h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 1.04rem; }
.pr-extra h3::before { content: ""; width: 4px; height: 1.1em; border-radius: 2px; background: var(--warm); }
.pr-worries ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 8px; }
.pr-worries li { padding: 12px 14px; border: 1px solid var(--line); border-left: 4px solid var(--acc); border-radius: 10px; background: var(--bg); }
.pr-worries strong { display: block; margin-bottom: 2px; line-height: 1.5; color: var(--ink); }
.pr-worries span { display: block; font-size: .9rem; line-height: 1.65; color: var(--sub); }
.pr-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 8px; counter-reset: none; }
.pr-steps li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 10px; background: var(--tint); font-weight: 700; line-height: 1.5; }
.pr-step-n {
  flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--acc); color: #fff; font-size: .95rem; font-variant-numeric: tabular-nums;
}
@media (min-width: 700px) {
  .pr-worries ul { grid-template-columns: 1fr 1fr; }
  .pr-steps { grid-auto-flow: column; grid-auto-columns: 1fr; gap: 26px; }
  .pr-steps li { position: relative; flex-direction: column; text-align: center; padding: 14px 10px; }
  .pr-steps li + li::before {
    content: ""; position: absolute; left: -19px; top: 50%; width: 10px; height: 10px; margin-top: -5px;
    border-top: 2.5px solid var(--acc); border-right: 2.5px solid var(--acc); transform: rotate(45deg);
  }
}
@media (min-width: 900px) {
  .pr-extra > summary { display: none; }
  .pr-hero { grid-template-columns: 340px 1fr; gap: 22px; align-items: start; }
  .pr-worries ul { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- 事業所ごとのページ（article.st-detail > h1 + p.lead + ul.st-tags + dl.about + div.st-actions + p.note） ---------- */
.st-detail { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 24px 24px 20px; margin: 0 0 24px; }
/* 事業所名は長い固有名詞。行の長さをそろえる指定（balance）は、短い行と折れた語を作るので使わない */
.st-detail h1 { margin: 0 0 8px; font-size: clamp(1.45rem, 1.1rem + 1.6vw, 2rem); line-height: 1.4; text-wrap: wrap; word-break: normal; line-break: strict; }
.st h3 { text-wrap: wrap; }
.st-detail .lead { margin: 0 0 12px; color: var(--sub); font-size: 1rem; text-wrap: pretty; }
.st-detail .about { margin: 14px 0 16px; }
.st-detail .about dd a[href^="tel:"] { font-weight: 700; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.st-detail .st-actions { margin-bottom: 14px; }
.st-near { margin: 0 0 24px; }
.st-near h2, .faq > h2 { margin: 0 0 12px; font-size: 1.28rem; }
.st-near .areas { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.st-near .areas a { align-items: flex-start; }

/* ---------- よくある質問（section.faq > h2 + details > summary + p。全国トップも同じ形） ---------- */
.faq { margin: 8px 0 28px; }
.faq details { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; margin: 8px 0; }
.faq summary {
  list-style: none; cursor: pointer; position: relative; display: flex; align-items: center; gap: 12px;
  min-height: 58px; padding: 12px 44px 12px 14px; font-weight: 700; line-height: 1.55;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--acc); color: #fff; font-size: .92rem; line-height: 1;
}
.faq summary::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--acc); border-bottom: 2px solid var(--acc); transform: rotate(45deg);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { color: var(--acc-d); }
.faq details p { margin: 0; padding: 0 16px 16px 56px; line-height: 1.9; }

/* ---------- スマホ ---------- */
@media (max-width: 640px) {
  :root { --mk: 34px; --mk-gap: 8px; }
  .wrap { padding: 0 16px; }
  .site-head .wrap { min-height: 58px; padding-top: 7px; padding-bottom: 7px; }
  .brand { font-size: 1.2rem; }
  .brand-sub { display: none; }
  .crumbs { margin-top: 8px; font-size: .88rem; }
  .crumbs li + li::before { margin: 0 7px 0 3px; }
  .pick, .cities, .near, .filters { padding: 18px 16px 18px; }
  .guide, .col-teaser { padding: 18px 16px 16px; }
  .areas { grid-template-columns: 1fr 1fr; gap: 8px; }
  .areas a { padding: 8px 8px 8px 12px; gap: 6px; font-size: .97rem; }
  .areas a::after { display: none; }
  .a-n { font-size: .84rem; }
  main.wrap > p.summary { padding: 12px 14px 12px 42px; font-size: .94rem; }
  .summary::before { left: 13px; top: 16px; width: 18px; height: 18px; }
  .st { padding: 16px 16px 16px; }
  .st dl { grid-template-columns: 1fr; gap: 0; }
  .st dt { margin-top: 6px; font-size: .86rem; }
  .st dt:first-child { margin-top: 0; }
  main.wrap > p.hits { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
  .to-filter { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); min-height: 46px; padding: 0 16px 0 13px; font-size: .9rem; }
  .ward > h2 { font-size: 1.18rem; }
  /* ボタンは1行に等分（360px 幅でも3つがカードからはみ出さない） */
  .st-actions { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .st-actions a { flex-direction: column; gap: 2px; min-height: 58px; font-size: .92rem; padding: 6px 4px; }
  .about { grid-template-columns: 1fr; }
  .about dt { padding: 10px 14px 4px; }
  .about dd { padding: 4px 14px 12px; border-top: 0; }
  .pr { padding: 16px 16px 16px; }
  .pr .st-actions { grid-template-columns: 1fr; grid-auto-flow: row; }
  .pr .st-actions a { flex-direction: row; gap: 8px; min-height: 54px; }
  .pr-info { grid-template-columns: 1fr; gap: 0; }
  .pr-info dt { margin-top: 6px; font-size: .86rem; }
  .pr-info dt:first-child { margin-top: 0; }
  .pr-catch { font-size: .98rem; }
  .pr-logo { height: 46px; }
  .col { padding: 22px 18px 24px; margin-top: 4px; font-size: 1rem; line-height: 1.95; border-radius: 12px; }
  .col h2 { margin-top: 40px; font-size: 1.24rem; }
  .col h3 { font-size: 1.08rem; }
  .col-toc { padding: 14px 16px 12px; }
  .col-toc a { padding: 10px 0; }
  .col-cta { padding: 22px 18px; }
  .col-cta .btn { width: 100%; }
  .col-list a { padding: 16px 44px 16px 16px; }
  .col-list a::after { right: 18px; }
  .foot-links a { width: 100%; justify-content: space-between; border-radius: 12px; }
  /* --- 2026-12-03 スマホの見やすさ --- */
  /* 現在の位置: 指で押せる幅にする */
  .crumbs a { min-width: 44px; justify-content: center; padding: 0 8px; }
  .crumbs li + li::before { margin: 0 4px 0 0; }
  .crumbs [aria-current] { padding-left: 8px; }
  /* 市区町村のリンク: 名前が長いときは件数を下の段へ送り、名前を途中で折らない */
  .areas a { flex-wrap: wrap; row-gap: 0; }
  .areas .a-name { flex: 1 1 auto; }
  .areas .a-n { margin-left: auto; }
  .st-near .areas { grid-template-columns: 1fr; }
  .st-near .areas a::after { display: block; margin-top: .5em; margin-left: auto; }
  .st-near .areas a { flex-wrap: nowrap; }
  .st-near .areas .a-name { flex: 1 1 0; }
  /* 絞ったページへの入口: 幅いっぱいの行にする */
  .variants { display: grid; grid-template-columns: 1fr; }
  .variants a.more { width: 100%; justify-content: space-between; text-align: left; border-radius: 12px; min-height: 50px; padding: 8px 14px; font-size: .95rem; }
  /* 絞り込みの箱: チェックは横に送れる1行にして、場所を取らない */
  .filters { padding-bottom: 14px; }
  .chips { flex-wrap: nowrap; gap: 6px; margin: 10px -16px 0; padding: 2px 16px; overflow-x: auto; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chips label { flex: none; min-height: 44px; padding: 0 13px 0 9px; gap: 7px; font-size: .94rem; white-space: nowrap; }
  .chips input { width: 22px; height: 22px; }
  .tagchips { margin-top: 8px; padding-right: 40px;
    -webkit-mask: linear-gradient(90deg, #000 calc(100% - 44px), transparent); mask: linear-gradient(90deg, #000 calc(100% - 44px), transparent); }
  .tagchips .chips-ttl { flex: none; }
  .tag-note { line-height: 1.6; }
  /* 事業所カード: 項目名を左、中身を右に並べて丈を詰める */
  .st h3 a { display: block; margin: -9px 0; padding: 9px 0; }
  .st h3 { margin-bottom: 12px; }
  .st dl { grid-template-columns: 4.9em minmax(0, 1fr); gap: 7px 10px; margin-bottom: 14px; }
  .list > .st, .ward > .st { contain-intrinsic-size: auto 330px; }
  .st dt { margin-top: 0; padding-top: 3px; font-size: .875rem; line-height: 1.4; word-break: auto-phrase; }
  .st dd { line-height: 1.6; }
  .st-actions { gap: 8px; }
  /* 事業所ごとのページ */
  .st-detail { padding: 18px 16px 16px; }
  .st-detail h1 { font-size: 1.45rem; }
  .about dt { background: none; padding: 12px 14px 0; font-size: .875rem; }
  .about dd { padding: 2px 14px 12px; }
  /* 電話・地図・公式サイト: 項目を読んでいる間は画面の下に付いてきて、元の位置まで送るとそこに収まる */
  .st-detail .st-actions {
    position: sticky; bottom: 0; z-index: 5; grid-auto-flow: row; grid-template-columns: 1.35fr 1fr 1fr; gap: 8px;
    margin: 0 -16px 12px; padding: 8px 16px calc(8px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line);
    box-shadow: 0 -8px 18px -14px rgba(15, 50, 55, .45);
  }
  .st-detail .st-actions:has(a:first-child:nth-last-child(2)) { grid-template-columns: 1.35fr 1fr; }
  .st-detail .st-actions:has(a:only-child) { grid-template-columns: 1fr; }
  .st-detail .st-actions a { white-space: nowrap; }
  /* PR枠: 連絡のボタンを先に、開いて読む2つは下にまとめる */
  .pr { display: flex; flex-direction: column; }
  .pr .st-actions { order: 1; }
  .pr-cta { order: 2; margin: 8px 0 12px; }
  .pr-more { order: 3; margin: 0; border-top: 1px solid var(--line); }
  .pr-extra { order: 4; margin-top: 0; padding-top: 0; }
  .pr-more > summary { border: 0; border-radius: 0; padding-left: 0; min-height: 50px; }
  .pr-extra > summary { min-height: 50px; }
  .pr-more > summary::after, .pr-extra > summary::after { right: 8px; }
  .pr-more[open] > summary { margin-bottom: 4px; }
  .pr-more[open] { padding-bottom: 14px; }
  .pr-extra[open] { padding-bottom: 4px; }
  .pr-photo img { aspect-ratio: 16 / 9; object-fit: cover; }
  /* よくある質問 */
  .faq summary { padding: 10px 40px 10px 12px; gap: 10px; }
  .faq summary::after { right: 14px; }
  .faq details p { padding: 0 14px 16px; }
}

@media (max-width: 380px) {
  .variants a.more { padding: 8px 12px; font-size: .9rem; }
  .st-actions a { font-size: .88rem; }
  .st-detail .st-actions { grid-template-columns: none; grid-auto-flow: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
  .st-actions, .filters, .back, .head-nav, .col-cta, .to-filter, .foot-prefs { display: none; }
  .st, .col { box-shadow: none; break-inside: avoid; }
  body { background: #fff; }
}

/* icons:start （_shots/_dev/make_icons.py が書き出す。手で直さない） */
:root {
  --il-consult: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%230a6b70' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 8h21a4 4 0 0 1 4 4v10a4 4 0 0 1-4 4H19l-7 6v-6H8a4 4 0 0 1-4-4V12a4 4 0 0 1 4-4z' fill='%23d9edeb'/%3E%3Cpath d='M37 19h3a4 4 0 0 1 4 4v9a4 4 0 0 1-4 4h-1v5l-6-5h-9a4 4 0 0 1-3.800-2.800' fill='%23fff'/%3E%3C/g%3E%3Cg fill='%23c4560a'%3E%3Ccircle cx='12.500' cy='17' r='1.700'/%3E%3Ccircle cx='18.500' cy='17' r='1.700'/%3E%3Ccircle cx='24.500' cy='17' r='1.700'/%3E%3C/g%3E%3C/svg%3E");
  --il-doc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%230a6b70' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5h17l8 8v28a2 2 0 0 1-2 2H12a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2z' fill='%23fff'/%3E%3Cpath d='M29 5v8h8z' fill='%23d9edeb'/%3E%3Cpath d='M16 26h16M16 32h16M16 38h9'/%3E%3C/g%3E%3Cpath d='M16 17h7M19.500 13.500v7' fill='none' stroke='%23c4560a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --il-visit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%230a6b70' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21v19h26V21L22 9.500z' fill='%23d9edeb' stroke='none'/%3E%3Cpath d='M4.500 23 22 7.500 39.500 23'/%3E%3Cpath d='M9 21v19h26V21'/%3E%3Cpath d='M17 40V28h9v12' fill='%23fff'/%3E%3Crect x='28.500' y='30' width='16' height='12.500' rx='2.500' fill='%23fff'/%3E%3Cpath d='M33.500 30v-2a1.500 1.500 0 0 1 1.500-1.500h3a1.500 1.500 0 0 1 1.500 1.500v2'/%3E%3C/g%3E%3Cpath d='M36.500 33.500v5.500M33.700 36.200h5.600' fill='none' stroke='%23c4560a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --il-range: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%230a6b70' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='27' r='17' stroke-dasharray='2.500 5' stroke='%23c4560a'/%3E%3Cpath d='M24 9c-5.200 0-9.500 4.100-9.500 9.300 0 6.500 9.500 15.200 9.500 15.200s9.500-8.700 9.500-15.200C33.500 13.100 29.200 9 24 9z' fill='%23d9edeb'/%3E%3Ccircle cx='24' cy='18.500' r='3.200' fill='%23fff'/%3E%3C/g%3E%3C/svg%3E");
  --il-night: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%230a6b70' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13.500 8h5l2.500 7-3.500 2.500c1.800 4 4.800 7 8.800 8.800l2.500-3.500 7 2.500v5c0 1.700-1.300 3-3 3C19 33.300 10.500 24.800 10.500 11c0-1.700 1.300-3 3-3z' fill='%23d9edeb' transform='translate(-4 8)'/%3E%3C/g%3E%3Cpath d='M36 5a8.500 8.500 0 1 0 8 11.500A7.500 7.500 0 0 1 36 5z' fill='%23c4560a'/%3E%3C/svg%3E");
  --il-field: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%230a6b70' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 41S6.500 31 6.500 18.800A9.300 9.300 0 0 1 24 14.300a9.300 9.300 0 0 1 17.500 4.500C41.500 31 24 41 24 41z' fill='%23d9edeb'/%3E%3C/g%3E%3Cpath d='M24 19v10M19 24h10' fill='none' stroke='%23c4560a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --il-days: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%230a6b70' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='10' width='34' height='31' rx='4' fill='%23fff'/%3E%3Cpath d='M7 19h34M16 6v7M32 6v7'/%3E%3Cpath d='M14 26h4M22 26h4M14 33h4M22 33h4'/%3E%3C/g%3E%3Cpath d='M30 26h4M30 33h4' fill='none' stroke='%23c4560a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --il-house: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%230a6b70' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21v19h26V21L22 9.500z' fill='%23d9edeb' stroke='none'/%3E%3Cpath d='M4.500 23 22 7.500 39.500 23'/%3E%3Cpath d='M9 21v19h26V21'/%3E%3Cpath d='M18 40V29h8v11' fill='%23fff'/%3E%3C/g%3E%3Cpath d='M22 15.500v7M18.500 19h7' fill='none' stroke='%23c4560a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --il-japan: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%230a6b70' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l12-4 14 4 12-4v28l-12 4-14-4-12 4z' fill='%23fff'/%3E%3Cpath d='M17 8l14 4v28l-14-4z' fill='%23d9edeb'/%3E%3C/g%3E%3Cpath d='M31 13.500c-3.600 0-6.500 2.800-6.500 6.300 0 4.500 6.500 10 6.500 10s6.500-5.500 6.500-10c0-3.500-2.900-6.300-6.500-6.300z' fill='%23c4560a'/%3E%3Ccircle cx='31' cy='19.800' r='2.300' fill='%23fff'/%3E%3C/svg%3E");
  --il-city: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%230a6b70' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 41V17l12-6v30' fill='%23d9edeb'/%3E%3Cpath d='M18 41V23h14v18' fill='%23fff'/%3E%3Cpath d='M32 41V29h10v12' fill='%23d9edeb'/%3E%3Cpath d='M3 41h42M10.500 22v0M10.500 28v0M10.500 34v0M23 29h4M23 35h4'/%3E%3C/g%3E%3C/svg%3E");
  --il-calcheck: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%230a6b70' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='10' width='34' height='31' rx='4' fill='%23fff'/%3E%3Cpath d='M7 19h34M16 6v7M32 6v7'/%3E%3C/g%3E%3Cpath d='M17 30l5 5 9-10' fill='none' stroke='%23c4560a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --il-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%230a6b70' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 9c-5.200 0-9.500 4.100-9.500 9.300 0 6.500 9.500 15.200 9.500 15.200s9.500-8.700 9.500-15.200C33.500 13.100 29.200 9 24 9z' fill='%23d9edeb'/%3E%3Ccircle cx='24' cy='18.500' r='3.200' fill='%23fff'/%3E%3Cpath d='M13 41h22'/%3E%3C/g%3E%3C/svg%3E");
  --il-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%230a6b70' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='21' cy='21' r='12' fill='%23d9edeb'/%3E%3Cpath d='M30 30l11 11'/%3E%3C/g%3E%3C/svg%3E");
  --il-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%230a6b70' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='8' width='30' height='35' rx='4' fill='%23fff'/%3E%3Crect x='17' y='4.500' width='14' height='7' rx='2' fill='%23d9edeb'/%3E%3Cpath d='M28 21h5M28 30h5M28 37h5'/%3E%3C/g%3E%3Cpath d='M15 21l3 3 5-6M15 31l3 3 5-6' fill='none' stroke='%23c4560a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --il-book: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%230a6b70' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 12c-4-3-10-4-17-3v28c7-1 13 0 17 3 4-3 10-4 17-3V9c-7-1-13 0-17 3z' fill='%23fff'/%3E%3Cpath d='M24 12v28'/%3E%3Cpath d='M12 17c3-.2 5 .2 7 1M12 24c3-.2 5 .2 7 1M29 18c2-.8 4-1.200 7-1M29 25c2-.8 4-1.200 7-1'/%3E%3C/g%3E%3C/svg%3E");
  --il-qa: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%230a6b70' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7h30a4 4 0 0 1 4 4v19a4 4 0 0 1-4 4H23l-9 8v-8H9a4 4 0 0 1-4-4V11a4 4 0 0 1 4-4z' fill='%23d9edeb'/%3E%3C/g%3E%3Cpath d='M19.500 16.500a4.500 4.500 0 1 1 6.500 4c-1.500.8-2 1.700-2 3.300' fill='none' stroke='%23c4560a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='24' cy='28.500' r='1.600' fill='%23c4560a'/%3E%3C/svg%3E");
  --il-data: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%230a6b70' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='24' cy='11' rx='15' ry='5.500' fill='%23d9edeb'/%3E%3Cpath d='M9 11v13c0 3 6.700 5.500 15 5.500S39 27 39 24V11M9 24v13c0 3 6.700 5.500 15 5.500S39 40 39 37V24' fill='%23fff'/%3E%3Cpath d='M9 11c0 3 6.700 5.500 15 5.500S39 14 39 11'/%3E%3C/g%3E%3C/svg%3E");
  --il-yen: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%230a6b70' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='24' r='18' fill='%23d9edeb'/%3E%3C/g%3E%3Cpath d='M17 14l7 10 7-10M24 24v11M18 25h12M18 30.500h12' fill='none' stroke='%23c4560a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --il-people: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%230a6b70' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='17' cy='15' r='6' fill='%23fff'/%3E%3Cpath d='M5 40c0-7.500 5-13 12-13s12 5.500 12 13z' fill='%23d9edeb'/%3E%3Ccircle cx='33.500' cy='18' r='4.700' fill='%23fff'/%3E%3Cpath d='M33 27c6 0 10.500 5 10.500 13H34'/%3E%3C/g%3E%3C/svg%3E");
  --il-rehab: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%230a6b70' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='29' cy='9' r='4.500' fill='%23fff'/%3E%3Cpath d='M22 20l7-2 6 6 6 1M29 18l-3 12 8 5 1 9M26 30l-6 5-8 2' /%3E%3Cpath d='M6 44h36' stroke='%23c4560a'/%3E%3C/g%3E%3C/svg%3E");
  --il-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%230a6b70' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='24' r='18' fill='%23d9edeb'/%3E%3C/g%3E%3Cpath d='M24 13v11l7 5' fill='none' stroke='%23c4560a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --il-leaf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%230a6b70' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 39C9 21 20 9 40 8c0 18-9 30-25 31' fill='%23d9edeb'/%3E%3Cpath d='M8 42c6-12 13-19 22-24'/%3E%3C/g%3E%3C/svg%3E");
  --il-pen: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%230a6b70' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 40l3-10L32 9a3.500 3.500 0 0 1 5 0l2 2a3.500 3.500 0 0 1 0 5L18 37z' fill='%23d9edeb'/%3E%3Cpath d='M11 30l7 7M28 13l7 7'/%3E%3C/g%3E%3Cpath d='M24 41h17' fill='none' stroke='%23c4560a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --il-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%230a6b70' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='10' width='38' height='28' rx='4' fill='%23fff'/%3E%3Cpath d='M6 13l18 14 18-14' /%3E%3C/g%3E%3C/svg%3E");
  --il-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%230a6b70' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='24' r='18' fill='%23d9edeb'/%3E%3Cpath d='M24 22v12'/%3E%3C/g%3E%3Ccircle cx='24' cy='15' r='2' fill='%23c4560a'/%3E%3C/svg%3E");
  --il-scene: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 150'%3E%3Cellipse cx='120' cy='138' rx='112' ry='10' fill='%23d9edeb' opacity='.6'/%3E%3Ccircle cx='198' cy='34' r='15' fill='%23fbe3c8'/%3E%3Cpath d='M22 46h30a9 9 0 0 0-17-4 7 7 0 0 0-13 4z' fill='%23d9edeb'/%3E%3Cg fill='none' stroke='%230a6b70' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M58 72v64h92V72l-46-38z' fill='%23fff'/%3E%3Cpath d='M48 80l56-47 56 47'/%3E%3Cpath d='M118 136v-36h20v36' fill='%23d9edeb'/%3E%3Ccircle cx='133' cy='119' r='1.200'/%3E%3Crect x='70' y='86' width='30' height='24' rx='2' fill='%23d9edeb'/%3E%3Cpath d='M85 86v24M70 98h30'/%3E%3Cpath d='M12 138h216'/%3E%3Cpath d='M34 138v-18' /%3E%3Cpath d='M34 122c-9 0-12-7-9-13 2-6 16-6 18 0 3 6 0 13-9 13z' fill='%23d9edeb'/%3E%3Ccircle cx='184' cy='76' r='8.500' fill='%23fff'/%3E%3Cpath d='M175.700 74.500c1-7 15-8 16.700 0-5 1-9-.5-11.500-3.500-1 2-3 3.500-5.200 3.500z' fill='%230a6b70'/%3E%3Cpath d='M171 138v-36c0-8 5-13 13-13s13 5 13 13v36z' fill='%23d9edeb'/%3E%3Cpath d='M184 89v14'/%3E%3Cpath d='M171 108l-9 14' /%3E%3Crect x='150' y='122' width='19' height='14' rx='3' fill='%23fff'/%3E%3Cpath d='M155.500 122v-2.500a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2.500'/%3E%3C/g%3E%3Cpath d='M159.500 126v6M156.500 129h6' fill='none' stroke='%23c4560a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M104 52v10M99 57h10' fill='none' stroke='%23c4560a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M206 104c-3-4-9-1.500-9 3 0 4.500 9 10 9 10s9-5.500 9-10c0-4.500-6-7-9-3z' fill='%23fbe3c8' stroke='%23c4560a' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
  --il-scene-read: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 150'%3E%3Cellipse cx='120' cy='138' rx='112' ry='10' fill='%23d9edeb' opacity='.6'/%3E%3Ccircle cx='206' cy='30' r='13' fill='%23fbe3c8'/%3E%3Cpath d='M20 40h28a8 8 0 0 0-15-4 6.500 6.500 0 0 0-13 4z' fill='%23d9edeb'/%3E%3Cg fill='none' stroke='%230a6b70' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 138h216'/%3E%3Cpath d='M58 134c22-6 42-6 62 0 20-6 40-6 62 0' /%3E%3Cpath d='M60 128V80c20-8 40-8 60 2v48c-20-9-40-9-60-2z' fill='%23fff'/%3E%3Cpath d='M120 82c20-10 40-10 60-2v48c-20-7-40-7-60 2z' fill='%23fff'/%3E%3Cpath d='M71 95c12-4 24-4 37 1M71 106c12-4 24-4 37 1M71 117c8-3 16-3 24 0M132 96c12-5 24-5 37-1M132 107c12-5 24-5 37-1'/%3E%3Cpath d='M22 110h24v15a9 9 0 0 1-9 9h-6a9 9 0 0 1-9-9z' fill='%23d9edeb'/%3E%3Cpath d='M46 114h3a5 5 0 0 1 0 10h-3'/%3E%3Cpath d='M29 100c-3-4 0-7 0-10M38 100c-3-4 0-7 0-10' stroke-width='1.600'/%3E%3Cpath d='M203 84c-1 16 4 26 11 32' /%3E%3Cpath d='M197 62c-4 10-2 18 6 22 7-4 10-12 6-22'/%3E%3Ccircle cx='197' cy='61' r='2' fill='%230a6b70'/%3E%3Ccircle cx='209' cy='61' r='2' fill='%230a6b70'/%3E%3Ccircle cx='216' cy='124' r='8' fill='%23d9edeb'/%3E%3Ccircle cx='216' cy='124' r='3'/%3E%3C/g%3E%3Cpath d='M156 115v9M151.500 119.500h9' fill='none' stroke='%23c4560a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --il-scene-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 150'%3E%3Cellipse cx='120' cy='138' rx='112' ry='10' fill='%23d9edeb' opacity='.6'/%3E%3Ccircle cx='208' cy='28' r='13' fill='%23fbe3c8'/%3E%3Cg fill='none' stroke='%230a6b70' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 52l52-12 52 12 52-12v80l-52 12-52-12-52 12z' fill='%23fff'/%3E%3Cpath d='M76 40l52 12v80l-52-12z' fill='%23d9edeb'/%3E%3Cpath d='M12 138h216'/%3E%3C/g%3E%3Cpath d='M44 112c18-8 22-26 44-26s28 18 44 8 14-22 22-28' fill='none' stroke='%23c4560a' stroke-width='2.400' stroke-linecap='round' stroke-dasharray='1 7'/%3E%3Ccircle cx='44' cy='112' r='4.500' fill='%230a6b70'/%3E%3Cpath d='M154 38c-8.300 0-15 6.500-15 14.600 0 10.400 15 23.400 15 23.400s15-13 15-23.400c0-8.100-6.700-14.600-15-14.600z' fill='%23fbe3c8' stroke='%23c4560a' stroke-width='2.200' stroke-linejoin='round'/%3E%3Ccircle cx='154' cy='52.500' r='4.500' fill='%23fff' stroke='%23c4560a' stroke-width='2'/%3E%3Cg fill='none' stroke='%230a6b70' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='190' cy='98' r='20' fill='%23fff' fill-opacity='.55' stroke-width='3'/%3E%3Cpath d='M204.500 112.500l16 16' stroke-width='6'/%3E%3C/g%3E%3C/svg%3E");
}
/* icons:end */

/* ================= 2026-12-03 仕上げ: 文字組み・間隔・状態・絵 =================
   依頼者の指摘「『を、』1文字で改行」「見やすく、医療系の紹介サイトとして作り込み」「絵を増やす」への対応。
   ここより上の指定と食い違う所は、ここが勝つ。 */
:root {
  /* 間隔の段（これ以外の数字を新しく作らない） */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  --visited: #4d5a80;   /* 開いたことのあるページの名前 */
}

/* ---------- 1. 文字組み ----------
   折り返しは文節の切れ目で（auto-phrase）。小さい「ョ」「ー」や句読点を行頭に置かない（strict）。
   短い文は行の長さをそろえ（balance）、長い文は最後の行に1〜2文字だけ残さない（pretty）。 */
body { line-break: strict; word-break: auto-phrase; }
p, li, dd, dt, summary, figcaption, label { text-wrap: pretty; }
.lead, .sec-lead, .col-t, .faq summary, .variants a, .back a, .foot-links a,
.ward-link a, .pr-catch, .pr-cta, .col-teaser li a, .col-related li a, .col-toc a, .q-label, .none, .col li { text-wrap: balance; }
.col h1, .col h2, .col h3, .col-t, .col-cta h2 { word-break: auto-phrase; line-break: strict; text-wrap: balance; }
/* 読み物の本文も文節で折る（12/03 計測: 字単位だと「訪／問看護」「事／業所」が 3記事×6幅で55か所。文節なら0）。
   最後の行に2〜3字だけ残さないよう pretty。出典・箇条書きの短い行は balance */
.col > p, .col p.note, .col li { word-break: auto-phrase; text-wrap: pretty; }
.col-src li, .col > ul li { text-wrap: balance; }
/* 事業所名・住所・法人名（公表データの固有名詞）。12/03 計測（市のページ＋事業所ページ3つ×7幅）:
   文節で折る → 「福／岡東」「三／萩野」のような1字だけの行が30か所。字単位＋balance → 1字の行は0、語の途中の折れが120か所。
   1字の行のほうが目立つので字単位＋balance にする。語の折れは CSS では消せない。
   build.py が「訪問看護」「リハビリ」「ステーション」・法人名の前後に <wbr> を入れれば、その位置でだけ折る（試算で両方0か所。下の :has(wbr)） */
.st h3, .st h3 a, .st-detail h1, .a-name, .st dd, .pr-name, .c-name { word-break: normal; line-break: strict; text-wrap: balance; }
.st-detail .about dd, .pr-info dd { word-break: auto-phrase; line-break: strict; text-wrap: pretty; }   /* 幅が広いので文節で（住所は「区／町名」で折れる） */
.st h3 a:has(wbr), .st-detail h1:has(wbr), .a-name:has(wbr) { word-break: keep-all; }
/* 押す物の文字は折らない */
.btn, .st-actions a, .chips label, .tag, .st-tags li, .head-nav a, .to-filter, .pr-tag span, .lead-n, .a-n, .hits { white-space: nowrap; }
.lead { text-wrap: balance; }
/* 現在の位置: 最後の項目（いま見ているページの名前）は1行に収め、入りきらない分は「…」にする。すぐ下に見出しで全文が出る */
.crumbs ol { flex-wrap: nowrap; }
.crumbs li { flex: none; }
.crumbs li:last-child { flex: 0 1 auto; min-width: 0; }
.crumbs [aria-current] { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; word-break: normal; }
.crumbs a { white-space: nowrap; }
.crumbs li[aria-current]::before { display: inline-block; vertical-align: .12em; }
@media (max-width: 640px) {
  /* 階層が深いページでは、途中の項目も横に送れるようにする（折り返して2行にしない） */
  .crumbs ol { overflow-x: auto; scrollbar-width: none; }
  .crumbs ol::-webkit-scrollbar { display: none; }
  .crumbs li:last-child { flex: 0 1 auto; min-width: 7em; }
  /* 4階層より深いページでは、いま見ているページの名前を省く（すぐ下の見出しと同じ言葉なので） */
  .crumbs li:last-child:nth-child(n+4) { display: none; }
}

/* ---------- 2. 押せる物の状態 ----------
   押せる物 = 青緑の字か青緑の線。押せない札（タグ）= うすい地色で線なし。
   重ねる: hover で地色が一段濃く、押した瞬間に1px 沈む。フォーカスは橙の輪。 */
.btn, .st-actions a, a.more, .back a, .foot-links a, .areas a, .col-list a, .go, .examples button, .chips label, .to-filter, .city-list a {
  transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .05s;
}
.btn:active, .st-actions a:active, a.more:active, .back a:active, .foot-links a:active, .areas a:active, .col-list a:active,
.go:active, .examples button:active, .to-filter:active, .city-list a:active { transform: translateY(1px); }
.st h3 a:visited, .areas a:visited .a-name, .col-list a:visited .col-t, .col-teaser li a:visited, .col-related li a:visited { color: var(--visited); }
.chips label:hover { border-color: var(--acc); }
.areas a:hover .a-name { color: var(--acc-d); }
.col-list a:hover { box-shadow: 0 2px 4px rgba(15, 50, 55, .06), 0 14px 28px -14px rgba(15, 50, 55, .3); }
input[type="search"]:hover { border-color: var(--acc); }
/* 押せる範囲を 44px 以上に（PC でも。見た目の大きさは変えず、上下左右の余白で広げる） */
.crumbs a { min-width: 44px; justify-content: center; }
.st h3 a { display: inline-block; margin: -10px 0; padding: 10px 0; }
.f-reg a { min-width: 44px; }
.head-nav a { min-width: 44px; }
/* 外へ出るリンク（公式サイト・参考資料）は、新しいタブで開くことを印で示す */
.col-src a[target="_blank"]::after, main.wrap > p a[target="_blank"]:not(.btn)::after {
  content: ""; display: inline-block; width: .85em; height: .85em; margin-left: .3em; vertical-align: -.08em; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 3h7v7h-2V6.4l-8.3 8.3-1.4-1.4L17.6 5H14zM5 5h6v2H5v12h12v-6h2v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 3h7v7h-2V6.4l-8.3 8.3-1.4-1.4L17.6 5H14zM5 5h6v2H5v12h12v-6h2v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ---------- 3. 間隔と階層 ----------
   箱と箱の間 24px、箱の中 24px（スマホ 16px）、見出しと中身の間 16px、カード同士 16px */
.pick, .cities, .near, .guide, .col-teaser, .filters, .pr, .st-detail, .faq, .st-near { margin-bottom: var(--sp-5); }
.pick, .cities, .near, .guide, .col-teaser { padding: var(--sp-5); }
.pick h2, .cities h2, .near h2, .guide h2, .col-teaser h2, .st-near h2, .faq > h2 {
  margin: 0 0 var(--sp-4); font-size: 1.28rem; line-height: 1.4; display: flex; align-items: center; gap: 10px;
}
.list, .ward { gap: var(--sp-4); }
.list { margin-bottom: var(--sp-7); }
.lead { margin-bottom: var(--sp-4); }
main.wrap > p.summary { margin-bottom: var(--sp-5); }
.variants { margin-bottom: var(--sp-4); }
.back { margin: var(--sp-6) 0 var(--sp-7); }
.site-foot { margin-top: 0; padding: var(--sp-6) 0 var(--sp-7); }
main.wrap { padding-bottom: var(--sp-4); }

/* 箱の見出しの印を、中身を表す絵にする */
.pick h2::before, .cities h2::before, .near h2::before, .guide h2::before, .col-teaser h2::before, .st-near h2::before, .faq > h2::before {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 0; background: var(--ic) center/contain no-repeat;
}
.pick { --ic: var(--il-search); } .cities { --ic: var(--il-city); } .near { --ic: var(--il-pin); }
.guide { --ic: var(--il-check); } .col-teaser { --ic: var(--il-book); } .st-near { --ic: var(--il-house); } .faq { --ic: var(--il-qa); }
.pick:has(.areas a[href^="#w"]) { --ic: var(--il-pin); }

/* 選ぶときに確かめたいこと: 番号の丸を、項目の絵にする（順番に意味は無い5つ） */
.checklist li { padding: 14px 0 14px 60px; min-height: 74px; }
.checklist li::before {
  content: ""; left: 0; top: 14px; width: 46px; height: 46px; border-radius: 12px;
  background: var(--tint) var(--ic) center/30px no-repeat;
}
.checklist li:nth-child(1) { --ic: var(--il-range); } .checklist li:nth-child(2) { --ic: var(--il-night); }
.checklist li:nth-child(3) { --ic: var(--il-doc); } .checklist li:nth-child(4) { --ic: var(--il-field); }
.checklist li:nth-child(5) { --ic: var(--il-days); }
.checklist strong { margin-bottom: 2px; }

/* ---------- 4. 事業所カード ----------
   読む順: 名前 → タグ → 電話・曜日 → 住所 → 運営（マークアップの順は 住所→電話→曜日→運営。並べ替えは見た目だけ） */
.st { padding: 20px 22px 20px; transition: border-color .15s, box-shadow .15s; }
.st:hover { border-color: var(--acc); box-shadow: 0 2px 4px rgba(15, 50, 55, .06), 0 14px 28px -14px rgba(15, 50, 55, .3); }
.st h3 { margin: 0 0 12px; padding-bottom: 12px; font-size: 1.16rem; line-height: 1.5; }
.st h3 a { color: var(--acc-d); text-decoration-color: var(--line-2); }
.st h3 a:hover { color: var(--acc); text-decoration-color: var(--acc); }
.st-tags { margin-bottom: 12px; }
.st-tags li { padding: 2px 10px; border-radius: 6px; background: var(--warm-l); color: #8a3d07; font-size: .86rem; }
.st dl { grid-template-columns: 7.2em minmax(0, 1fr); gap: 6px 14px; margin-bottom: 16px; }
.st dt { white-space: nowrap; }
.st dl > * { order: 1; }
.st dl > :nth-child(-n+2) { order: 2; }
.st dl > :nth-last-child(-n+2) { order: 3; }
.st dl > dd:nth-last-child(1) { color: var(--sub); font-size: .94rem; }
/* 電話番号（2組目が曜日でも運営でもないとき）は一段大きく */
.st dl > dd:nth-child(4):not(.days):not(:last-child) { font-weight: 700; font-size: 1.08rem; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.tag { margin: 0 6px 0 0; padding: 0 10px; line-height: 1.8; }
.days { display: flex; flex-wrap: wrap; gap: 4px 0; }
.st-actions a { min-height: 48px; }
.hits { margin-top: var(--sp-3); }
.ward > h2 { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; }
.ward > h2::before { content: ""; flex: none; width: 28px; height: 28px; background: var(--il-pin) center/contain no-repeat; }
.filters { padding: 20px var(--sp-5) 18px; }
.tag-note { font-size: .9rem; }
.pr-tag { font-size: .94rem; }
.pr-cta { font-size: .94rem; }

/* ---------- 5. 事業所ごとのページ ---------- */
.st-detail { padding: 28px 28px 24px; }
.st-detail h1 { margin-bottom: 6px; }
.st-detail .lead { margin-bottom: var(--sp-4); }
.st-detail .st-tags { margin-bottom: 6px; }
.st-detail .tag-note { margin: 0 0 var(--sp-3); }
.st-detail .about { margin: 0 0 var(--sp-4); max-width: none; }
.st-detail .about dt { display: flex; align-items: center; gap: 8px; }
/* 住所（いつも1つ目）と、電話（リンクになっている行）に印を付ける */
.st-detail .about dd:first-of-type, .st-detail .about dd:has(> a[href^="tel:"]) { padding-left: 50px; background: var(--ic) 16px 13px/24px no-repeat; }
.st-detail .about dd:first-of-type { --ic: var(--il-pin); }
.st-detail .about dd:has(> a[href^="tel:"]) {
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z' fill='%230a6b70'/%3E%3C/svg%3E");
  background-size: 20px; background-position: 18px 17px;
}
.st-detail .about dd a[href^="tel:"] { font-size: 1.24rem; letter-spacing: .02em; }
.st-detail > .note { font-size: .92rem; padding: 12px 16px; background: var(--page); border-radius: 10px; }
.st-near .areas a { align-items: center; }
@media (min-width: 900px) {
  /* 左に項目の表、右に連絡の箱（電話・地図・公式サイト）。表を読みながら、いつでも押せる */
  .st-detail { display: grid; grid-template-columns: minmax(0, 1fr) 300px; column-gap: 28px; align-items: start; }
  .st-detail > * { grid-column: 1 / -1; }
  .st-detail > .about { grid-column: 1; }
  .st-detail > .st-actions {
    grid-column: 2; grid-template-columns: 1fr; gap: 10px; margin: 0; padding: 18px; position: sticky; top: 16px;
    background: var(--page); border: 1px solid var(--line); border-radius: var(--r);
  }
  .st-detail > .st-actions a { min-height: 54px; font-size: 1.02rem; }
  .st-detail > .note { margin-top: var(--sp-2); }
}

/* ---------- 6. コラム ---------- */
/* 一覧の頭に場面の絵 */
main.wrap > h1:has(+ .lead + .col-list), main.wrap > h1:has(+ p + p > .btn) { padding-right: 0; }
@media (min-width: 760px) {
  main.wrap:has(> .col-list) { background: var(--il-scene-read) right 20px top 18px/250px auto no-repeat; }
  main.wrap:has(> .col-list) > .lead { max-width: calc(100% - 290px); min-height: 3.6em; margin-bottom: var(--sp-6); }
  main.wrap:has(> .col-list) > h1 { max-width: calc(100% - 290px); margin-top: var(--sp-4); }
}
.col-list { gap: var(--sp-4); margin: 0 0 var(--sp-7); }
.col-list a { padding: 20px 48px 20px 84px; min-height: 100%; }
.col-list a::before {
  content: ""; position: absolute; left: 20px; top: 20px; width: 48px; height: 48px; border-radius: 12px;
  background: var(--tint) var(--ic, var(--il-book)) center/32px no-repeat;
}
.col-list a[href^="hiyou"], .col-list a[href^="hoken"] { --ic: var(--il-yen); }
.col-list a[href^="hajimekata"], .col-list a[href^="care-manager"], .col-list a[href^="henkou"] { --ic: var(--il-consult); }
.col-list a[href^="shijisho"], .col-list a[href^="iryou-shochi"] { --ic: var(--il-doc); }
.col-list a[href^="kaisuu"], .col-list a[href^="24jikan"] { --ic: var(--il-clock); }
.col-list a[href^="erabikata"] { --ic: var(--il-check); }
.col-list a[href^="taishousha"], .col-list a[href^="kazoku"], .col-list a[href^="shouni"] { --ic: var(--il-people); }
.col-list a[href^="houmon-kango-toha"], .col-list a[href^="taiin"], .col-list a[href^="hitorigurashi"] { --ic: var(--il-visit); }
.col-list a[href^="houmon-kaigo"], .col-list a[href^="houmon-shinryou"] { --ic: var(--il-house); }
.col-list a[href^="seishinka"], .col-list a[href^="ninchishou"], .col-list a[href^="gan"], .col-list a[href^="nanbyou"] { --ic: var(--il-field); }
.col-list a[href^="mitori"] { --ic: var(--il-leaf); }
.col-list a[href^="rehabili"] { --ic: var(--il-rehab); }
.col-t { font-size: 1.1rem; }
.col-d { font-size: .94rem; }
/* 記事: 見出しの階層をはっきり分け、目次・注意書き・出典に印を付ける */
.col > h1 { font-size: clamp(1.45rem, 1.05rem + 1.4vw, 1.85rem); }
.col-date { display: flex; flex-wrap: wrap; gap: 2px 16px; font-size: .92rem; }
.col-by { text-wrap: balance; }
.col-toc { padding: 18px 22px 12px; border: 1px solid var(--line); }
.col-toc p { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.col-toc p::before { content: ""; width: 22px; height: 22px; background: var(--il-book) center/contain no-repeat; }
.col-toc li + li { border-top: 1px dashed var(--line-2); }
.col-toc a { padding: 10px 0; min-height: 44px; align-items: center; }
.col h2 { margin: 56px 0 18px; padding: 14px 0 0; font-size: 1.4rem; }
.col h3 { margin: 36px 0 12px; padding: 2px 0 2px 14px; border-left: 4px solid var(--acc); font-size: 1.14rem; }
.col > ul, .col > ol { padding: 14px 18px 14px 2.4em; background: var(--page); border-radius: 12px; }
.col > ul li, .col > ol li { margin: 6px 0; line-height: 1.8; }
.col p.note { padding: 16px 18px 16px 54px; position: relative; font-size: .96rem; }
.col p.note::before {
  content: "!"; position: absolute; left: 18px; top: 19px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--warm); color: #fff; font-weight: 700; display: grid; place-items: center; line-height: 1; font-size: .95rem;
}
.col-src { margin-top: var(--sp-6); padding: 18px 20px 10px; border: 1px solid var(--line); border-radius: 12px; font-size: .94rem; }
.col .col-src h2 { display: flex; align-items: center; gap: 8px; color: var(--ink); margin-bottom: 4px; }
.col .col-src h2::before { content: ""; width: 24px; height: 24px; background: var(--il-data) center/contain no-repeat; }
.col-src ul { list-style: none; padding: 0; background: none; }
.col .col-src li { padding: 10px 0; border-top: 1px dashed var(--line-2); line-height: 1.7; }
.col-cta { padding: 28px 32px 28px 148px; background-image: var(--il-visit), radial-gradient(600px 200px at 100% 0, rgba(255, 255, 255, .12), transparent 70%); background-repeat: no-repeat; background-position: 36px 50%, 0 0; background-size: 84px auto, auto; }
.col-cta { position: relative; }
.col-related h2 { display: flex; align-items: center; gap: 10px; }
.col-related h2::before { content: ""; width: 28px; height: 28px; background: var(--il-book) center/contain no-repeat; }

/* ---------- 7. 運営者情報・404・ページの下 ---------- */
main.wrap > h2 { margin: var(--sp-7) 0 var(--sp-3); padding-left: 14px; border-left: 5px solid var(--acc); font-size: 1.25rem; }
.about dt { font-size: .94rem; }
.contact { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; padding: 18px 20px 18px 64px; background: var(--bg) var(--il-mail) 18px 50%/32px no-repeat; border-left-width: 1px; }
/* 404: 絵を添えて、行き先を1つに絞る */
main.wrap:has(> p > a.btn[href="/"]) { padding-top: var(--sp-7); padding-bottom: var(--sp-7); text-align: center; }
main.wrap:has(> p > a.btn[href="/"])::before { content: ""; display: block; width: min(300px, 80%); aspect-ratio: 240 / 150; margin: 0 auto var(--sp-4); background: var(--il-scene-search) center/contain no-repeat; }
main.wrap:has(> p > a.btn[href="/"]) > h1::after { margin-left: auto; margin-right: auto; }
main.wrap:has(> p > a.btn[href="/"]) > p { margin-left: auto; margin-right: auto; }
/* ページの下: 都道府県のリンクに見出しを付け、出典を箱にして読みやすくする */
.site-foot:not(.foot-top) .foot-prefs { margin: 0; padding: 0 0 var(--sp-4); border-top: 0; border-bottom: 1px solid var(--line-2); }
.site-foot:not(.foot-top) .foot-prefs::before { content: "都道府県から探す"; display: block; margin: 0 0 4px 9px; font-weight: 700; font-size: .95rem; color: var(--ink); }
.site-foot .note { margin-top: var(--sp-4); font-size: .92rem; }
.site-foot:not(.foot-top) .note { padding-left: 34px; background: var(--il-data) 0 3px/24px no-repeat; }

@media (max-width: 640px) {
  .pick, .cities, .near, .guide, .col-teaser { padding: 18px var(--sp-4); }
  .filters { padding: 18px var(--sp-4) 14px; }
  .pick h2, .cities h2, .near h2, .guide h2, .col-teaser h2, .st-near h2, .faq > h2 { font-size: 1.16rem; }
  .pick h2::before, .cities h2::before, .near h2::before, .guide h2::before, .col-teaser h2::before, .st-near h2::before, .faq > h2::before { width: 28px; height: 28px; }
  .checklist li { padding-left: 54px; }
  .checklist li::before { width: 42px; height: 42px; background-size: 28px; }
  .st { padding: 16px; }
  .st h3 { font-size: 1.06rem; }
  .back a { border-radius: 12px; }
  /* 文節の自動判定が「お問い／合わせ」で割るので、ここは「・」など記号の後ろでだけ折る */
  .pr-cta { word-break: keep-all; }
  /* 項目名は折らない（「訪問できる／曜日」を防ぐ）。列の幅は項目名に合わせる */
  .st dl { grid-template-columns: max-content minmax(0, 1fr); gap: 6px 12px; }
  .st-detail { padding: 20px var(--sp-4) 16px; }
  .st-detail .about dd:first-of-type, .st-detail .about dd:has(> a[href^="tel:"]) { padding-left: 44px; background-position: 12px 4px; }
  .st-detail .about dd:has(> a[href^="tel:"]) { background-position: 14px 9px; }
  .col-list a { padding: 16px 40px 16px 70px; }
  .col-list a::before { left: 14px; top: 16px; width: 44px; height: 44px; background-size: 28px; }
  .col h2 { margin-top: 44px; font-size: 1.26rem; }
  .col > ul, .col > ol { padding: 12px 14px 12px 2.2em; }
  .col-cta { padding: 96px 18px 22px; background-position: 18px 18px, 0 0; background-size: 64px auto, auto; }
  .col-src { padding: 16px 16px 8px; }
  .contact { padding-left: 58px; background-position: 14px 50%; }
  main.wrap > h2 { margin-top: var(--sp-6); }
  .back a { width: 100%; }
  .site-foot { padding: var(--sp-5) 0 var(--sp-6); }
}
@media print {
  .checklist li::before, .col-list a::before { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------- 8. 県ページ: 条件から探す（section.cond#cond > h2 + div.chips.tagchips + p.cond-n + p.tag-note） ----------
   選んだ条件に合う件数が、すぐ下の「市区町村から探す」と上の「市の全域」の件数に入る（build.py の COND_JS）。
   件数が変わったことが分かるよう、絞り込み中は件数を橙の太字にし、0件の項目は薄くする（押せなくはしない） */
.cond {
  margin: 0 0 var(--sp-5); padding: var(--sp-5); background: var(--bg);
  border: 1px solid var(--line); border-left: 4px solid var(--acc); border-radius: var(--r); box-shadow: var(--shadow);
}
.cond h2 { margin: 0 0 var(--sp-2); font-size: 1.28rem; line-height: 1.4; display: flex; align-items: center; gap: 10px; }
.cond h2::before { content: ""; flex: none; width: 32px; height: 32px; background: var(--il-check) center/contain no-repeat; }
.cond .chips { margin-top: var(--sp-2); }
.cond-n:empty { display: none; }
.cond-n {
  margin: var(--sp-3) 0 0; padding: 10px 14px 10px 40px; border-radius: 10px; position: relative;
  background: var(--warm-l); color: var(--ink); font-size: .98rem; line-height: 1.7; font-weight: 700;
}
.cond-n::before {   /* 下向きの矢印: 件数は下の一覧に入る */
  content: ""; position: absolute; left: 16px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2.4px solid var(--warm); border-bottom: 2.4px solid var(--warm); transform: rotate(45deg);
}
.cond .tag-note { margin-top: var(--sp-3); }
main:has(#cond input:checked) .areas .a-n { color: var(--warm); font-weight: 700; font-size: .95rem; }
main:has(#cond input:checked) .areas li:not(.zero) a { border-color: #f1cfa9; }
.areas li.zero a { background: var(--page); border-style: dashed; color: var(--sub); }
.areas li.zero .a-name { color: var(--sub); }
main:has(#cond input:checked) .areas li.zero .a-n { color: var(--sub); font-weight: 400; }
.areas li.zero a::after { border-color: var(--line-2); }
@media (prefers-reduced-motion: no-preference) {
  .areas .a-n { transition: color .2s; }
}
@media (max-width: 640px) {
  .cond { padding: 18px var(--sp-4) var(--sp-4); }
  .cond h2 { font-size: 1.16rem; }
  .cond h2::before { width: 28px; height: 28px; }
  /* 10個の条件を2段に並べ、横に送る（箱を縦に伸ばさない） */
  .cond .chips {
    display: grid; grid-auto-flow: column; grid-template-rows: auto auto; grid-auto-columns: max-content;
    gap: 6px; margin: 10px -16px 0; padding: 2px 44px 4px 16px; overflow-x: auto;
  }
  .cond-n { font-size: .94rem; }
}

/* ---------- 表（県の「データで見る」・詳細の届出・曜日） 2026-12-03 ---------- */
.stats, .todokede, .days-box { margin: 28px 0; }
.stats > h2, .todokede > h2, .days-box > h2 { margin: 0 0 10px; font-size: 1.28rem; }
.stats h3 { margin: 22px 0 8px; font-size: 1.06rem; }
.tbl { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.tbl table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: .95rem; }
.tbl th, .tbl td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.6; }
.tbl tr:last-child th, .tbl tr:last-child td { border-bottom: 0; }
.tbl thead th { background: var(--tint); color: var(--acc-d); font-size: .88rem; white-space: nowrap; }
.tbl tbody th { font-weight: 700; white-space: nowrap; }
.stats .tbl td:nth-child(2), .stats .tbl td:nth-child(3) { white-space: nowrap; font-variant-numeric: tabular-nums; text-align: right; }
.tbl td:last-child { color: var(--sub); font-size: .9rem; }
.todokede td.yes { color: var(--acc-d); font-weight: 700; white-space: nowrap; }
.todokede td.no { color: var(--sub); white-space: nowrap; }
.rank { margin: 0; padding-left: 1.6em; line-height: 2; }
.rank a { font-weight: 700; }
.rank .of { color: var(--sub); font-size: .88rem; }
table.week { border-collapse: separate; border-spacing: 4px; width: 100%; max-width: 460px; table-layout: fixed; }
table.week th { font-size: .86rem; color: var(--sub); font-weight: 700; padding: 0; }
table.week td { text-align: center; padding: 8px 0; border-radius: 8px; font-weight: 700; }
table.week td.on { background: var(--acc-l); color: var(--acc-d); }
table.week td.off { background: var(--page); color: #9aa9ad; }
.st-dist .km { font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .tbl table { font-size: .9rem; }
  .tbl th, .tbl td { padding: 9px 10px; }
  /* 届出の表はスマホでは1行ずつのカードに（届出名と状況を上に、意味を下に） */
  .todokede .tbl table { min-width: 0; }
  .todokede thead { display: none; }
  .todokede tbody tr { display: grid; grid-template-columns: 1fr auto; column-gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
  .todokede tbody tr:last-child { border-bottom: 0; }
  .todokede tbody th, .todokede tbody td { display: block; padding: 0; border: 0; white-space: normal; }
  .todokede tbody td.yes, .todokede tbody td.no { font-size: .82rem; padding: 2px 8px; border-radius: 999px; align-self: start; }
  .todokede tbody td.yes { background: var(--acc-l); }
  .todokede tbody td.no { background: var(--page); }
  .todokede tbody td:last-child { grid-column: 1 / -1; margin-top: 4px; font-size: .86rem; }
}
