/* 奏の杜耳鼻咽喉科 デモ
   色と書体は現行サイトのCSSの実値（こげ茶 #42210b・緑 #006837・ベージュ #c7b299・M PLUS Rounded 1c）から。
   骨格（グリッド・余白6段・タイプスケール6段・ウェイト400/500・面で区切る）は wireframe design-system v3.0。
   根拠は docs/design-notes.md */

:root {
  --ink: #3b2412;        /* 現行 #42210b を見出し用に少し落とす */
  --text: #5a4636;       /* 本文 */
  --sub: #6e5a48;        /* 補足・メタ（本文には使わない）。生成り・若葉の上でも4.5以上 */
  --line: #e7dfd3;
  --line-strong: #3b2412;
  --green: #006837;      /* 現行のボタン・見出しの緑 */
  --green-d: #00532c;
  --leaf: #e8f1e6;       /* 面: 若葉 */
  --beige: #f7f2ea;      /* 面: 生成り（現行 #c7b299 を薄めた） */
  --beige-2: #efe7da;
  --night: #021a66;      /* いびき・無呼吸の面。夜の森のイラストの空の色を実測（#001765付近） */
  --night-2: #0a2477;
  --moon: #f3e3a4;
  --gutter: 20px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  color-scheme: only light; /* Android の自動ダーク化で☰やロゴが背景に溶けないように（F48） */
}
@media (min-width: 768px) { :root { --gutter: 40px; } }
/* 1024〜1350px は左右を広げる（Windows の拡大表示＝実幅1260〜1366で詰まって見えるため）。1440 以上は従来どおり */
@media (min-width: 1024px) { :root { --gutter: clamp(64px, 8vw, 100px); } }
@media (min-width: 1280px) { :root { --gutter: max(64px, calc(100px - (100vw - 1280px) / 2)); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.08em;
  color: var(--text);
  background: #fff;
  line-break: strict; /* 行頭に「ー」・小さい仮名・句読点を置かない（Chrome も Safari も・F54） */
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
/* 12-05 谷さん（iPhone のごあいさつ）「なーんかまだ左に寄ってない？」: 前は p・li・dd に text-wrap: pretty を付けていた。Chrome は最後の数行だけを整えるが、
   iPhone の Safari は段落の全部の行を短くしてそろえるため、右に空きが出て文が左に寄って見えた。今のサイトと同じふつうの折り返しに戻す */
p, li, dd { text-wrap: wrap; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
html { scroll-padding-top: 72px; }
@media (max-width: 767px) { html { scroll-padding-bottom: 76px; } }
[id] { scroll-margin-top: 24px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
:is(.bg-night, .night-hero, .door-night) :focus-visible, .door-night:focus-visible { outline-color: var(--moon); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--green); color: #fff; font-size: 14px; font-weight: 500; text-decoration: none; }
.skip:focus { top: 8px; }

/* ---------- 骨格 ---------- */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 20px; }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(12, 1fr); column-gap: 24px; } }
.col-all { grid-column: 1 / -1; }
@media (min-width: 768px) {
  .c1-3 { grid-column: 1 / span 3; } .c1-4 { grid-column: 1 / span 4; } .c1-5 { grid-column: 1 / span 5; }
  .c1-6 { grid-column: 1 / span 6; } .c1-7 { grid-column: 1 / span 7; } .c1-8 { grid-column: 1 / span 8; }
  .c5-8 { grid-column: 5 / span 8; } .c6-7 { grid-column: 6 / span 7; } .c7-6 { grid-column: 7 / span 6; }
  .c8-5 { grid-column: 8 / span 5; } .c9-4 { grid-column: 9 / span 4; } .c2-10 { grid-column: 2 / span 10; } .c1-10 { grid-column: 1 / span 10; }
}
/* 768〜1023px で全幅にする列（F32） */
@media (min-width: 768px) and (max-width: 1023px) { .t-full { grid-column: 1 / -1; } }
.gap-y { row-gap: 40px; }
@media (min-width: 768px) { .gap-y { row-gap: 64px; } }

.sec { padding: 80px 0; }
.sec-l { padding: 112px 0; }
.sec-t { padding: 56px 0; }
@media (min-width: 768px) { .sec { padding: 112px 0; } .sec-l { padding: 160px 0; } .sec-t { padding: 80px 0; } }
@media (min-width: 1024px) { .sec { padding: 144px 0; } .sec-l { padding: 192px 0; } }
.bg-white { background: #fff; } .bg-beige { background: var(--beige); } .bg-beige2 { background: var(--beige-2); }
.bg-leaf { background: var(--leaf); } .bg-night { background: var(--night); color: #fff; }

/* ---------- 文字（6段） ---------- */
.jp-tight { font-feature-settings: "palt" 1; letter-spacing: 0.05em; word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; }
/* 文節で折り返す（F06・F07・F09）。Safari は word-break:auto-phrase に対応していないので、build.py が見出し・リード・ラベル・
   表のセル・短い文に .kp を付けて文節の切れ目に <wbr> を入れ、Chrome も Safari も keep-all＋<wbr> で同じ所で折る。
   文節が行より長いときだけ字の間で折る（overflow-wrap:anywhere）。.nb は電話番号・時刻・数字＋単位・カタカナ語・最後の文節（折らない） */
.kp { word-break: keep-all; overflow-wrap: anywhere; }
.kp:not(.jp-tight) { text-wrap-style: auto; } /* 12-05: pretty は iPhone の Safari で行が短く詰まり左寄りに見えたので auto（ふつうの折り返し）。text-wrap（一括指定）は親の nowrap を打ち消すので使わない */
.nb, a[href^="tel:"] { white-space: nowrap; }
.display { font-size: 32px; font-weight: 500; line-height: 1.4; color: var(--ink); }
@media (min-width: 768px) { .display { font-size: 48px; } }
@media (min-width: 1024px) { .display { font-size: 56px; } }
.heading { font-size: 26px; font-weight: 500; line-height: 1.5; color: var(--ink); }
@media (min-width: 768px) { .heading { font-size: 34px; } }
@media (min-width: 1024px) { .heading { font-size: 40px; } }
.sub { font-size: 18px; font-weight: 500; line-height: 1.6; color: var(--ink); }
@media (min-width: 768px) { .sub { font-size: 20px; } }
.lead { font-size: 16px; line-height: 2; max-width: 620px; }
@media (min-width: 768px) { .lead { font-size: 17px; } }
.body { font-size: 14px; line-height: 2; max-width: 620px; }
@media (min-width: 768px) { .body { font-size: 15px; } }
.meta { font-size: 12px; line-height: 1.6; letter-spacing: 0.06em; color: var(--sub); font-variant-numeric: tabular-nums; }
.label { font-weight: 500; letter-spacing: 0.08em; color: var(--green); margin-bottom: 16px; font-family: "Dancing Script", cursive; font-size: 22px; line-height: 1; }
.bg-night .heading, .bg-night .sub, .bg-night .display { color: #fff; }
.bg-night .body, .bg-night .lead { color: rgba(255,255,255,.78); }
.bg-night .meta { color: rgba(255,255,255,.55); }
.bg-night .label { color: var(--moon); }
.stack > * + * { margin-top: 24px; }
.mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; } .mt-64 { margin-top: 64px; }
.mb-24 { margin-bottom: 24px; } .mb-40 { margin-bottom: 40px; } .mb-64 { margin-bottom: 48px; }
@media (min-width: 768px) { .mb-64 { margin-bottom: 64px; } }
strong { font-weight: 500; color: var(--ink); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- ボタン（ボタンだけピル） ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-width: 200px; height: 54px; padding: 0 28px;
  border-radius: 999px; font-size: 15px; font-weight: 500; letter-spacing: 0.06em; text-decoration: none; white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.btn-green { background: var(--green); color: #fff; }
@media (hover: hover) { .btn-green:hover { background: var(--green-d); } }
.btn-line { border: 1px solid var(--ink); color: var(--ink); }
@media (hover: hover) { .btn-line:hover { background: var(--ink); color: #fff; } }
.btn-moon { background: #fff; color: var(--night); }
@media (hover: hover) { .btn-moon:hover { background: var(--moon); } }
.btn-s { height: 44px; min-width: 160px; font-size: 14px; padding: 0 22px; }
.icon-arrow { display: inline-flex; transition: transform .3s var(--ease); }
@media (hover: hover) { a:hover .icon-arrow { transform: translateX(3px); } }
.icon-ext { display: inline-flex; }
/* ボタンを並べるときの隙間（V11） */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
/* 長い文言のボタン（.btn-wrap）は、359px 以下では決めた所（<wbr>）で2行にし、左右の内側の余白を残す（V03・V09） */
.btn .nw { white-space: nowrap; }
@media (max-width: 359px) {
  .btn-wrap { white-space: normal; height: auto; min-height: 44px; padding-top: 8px; padding-bottom: 8px; }
  .btn-wrap:not(.btn-s) { min-height: 54px; }
  .btn-wrap .btn-t { text-align: center; line-height: 1.5; }
}

/* 角ばった塗りラベル（ピル型にしない） */
.tag { display: inline-block; padding: 4px 10px; font-size: 13px; font-weight: 500; line-height: 1.6; letter-spacing: 0.06em;
  background: var(--green); color: #fff; white-space: nowrap; }
.tag-pale { background: var(--leaf); color: var(--green-d); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- 2027年4月の移行の案内の帯（FB1004-10。data/clinic.json の notice で出し入れ） ---------- */
.move-notice { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px var(--gutter); background: var(--night); color: #fff;
  font-size: 13px; line-height: 1.6; letter-spacing: 0.04em; text-decoration: none; border-bottom: 1px solid rgba(243, 227, 164, .45); }
.move-notice .mn-moon { flex: none; }
.move-notice .mn-go { flex: none; color: var(--moon); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.move-notice .icon-arrow { flex: none; color: var(--moon); }
@media (hover: hover) { .move-notice:hover .mn-t { text-decoration: underline; text-underline-offset: 3px; } }
.move-notice:focus-visible { outline-color: var(--moon); outline-offset: -4px; }
.move-notice-sas { background: var(--moon); color: var(--ink); border-bottom: 0; }
.move-notice-sas .mn-go, .move-notice-sas .icon-arrow { color: var(--night); }
.move-notice-sas .mn-moon circle { fill: var(--night); }
.move-notice-sas:focus-visible { outline-color: var(--night); }
@media (max-width: 767px) {
  .move-notice { justify-content: flex-start; padding: 6px 16px; font-size: 12px; letter-spacing: 0; }
  .move-notice .mn-moon { display: none; }
  .move-notice .mn-go { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .move-notice .icon-arrow { margin-left: auto; }
}
/* 帯を出しても、トップの最初の画面に2つの入口と本日の担当医が収まるように、写真と上の余白を帯の分だけ詰める */
@media (min-width: 768px) { .move-notice ~ .kv .kv-in { padding-top: clamp(20px, 2vw, 32px); } }
@media (max-width: 767px) {
  .move-notice ~ .kv .kv-photo { aspect-ratio: auto; height: min(calc(100vw * 270 / 398 - var(--mn-h, 40px)), calc(290px - var(--mn-h, 40px))); }
}
@media (max-width: 767px) and (max-height: 640px) { .move-notice ~ .kv .kv-photo { height: min(calc(100vw * 270 / 398 - var(--mn-h, 40px)), calc(34vh - var(--mn-h, 40px))); } }
.sw:not([hidden]) { display: contents; }
/* JS が無い・日付の処理に失敗したときだけ見える、予約先の切り替えの案内（院名と日付を書く・hanmoku-r6 中） */
.sw-note { flex-basis: 100%; margin: 0; font-size: 14px; line-height: 1.8; }
/* ?edit=1 のとき、帯の中に点線と札を出す（帯の外はヘッダーと KV に隠れるため） */
.edit-view .move-notice[data-cms] { z-index: 6; outline-offset: -4px; }
.edit-view .move-notice[data-cms]::before { top: calc(100% + 6px); left: 8px; }

/* ---------- ヘッダー ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--line); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
@media (min-width: 1024px) { .site-header .bar { height: 88px; } }
.logo { flex: none; display: block; }
.logo img { height: 38px; width: auto; max-width: none; }
@media (min-width: 1024px) { .logo img { height: 44px; } }
@media (min-width: 1280px) { .logo img { height: 60px; } }
/* 北口院のロゴ（今の北口院サイトのロゴ。縦横 453.52×133 で本院のロゴより縦長なので、同じ高さでは字が小さい。少し高くする） */
.logo-kita img { height: 46px; }
@media (min-width: 1024px) { .logo-kita img { height: 56px; } }
@media (min-width: 1280px) { .logo-kita img { height: 64px; } }
.gnav { display: none; }
@media (min-width: 1024px) {
  .gnav { display: block; background: #fff; }
  .gnav .wrap { display: flex; gap: 18px; height: 48px; align-items: center; }
  .gnav a { font-size: 14px; font-weight: 500; letter-spacing: 0.04em; color: var(--ink); text-decoration: none; white-space: nowrap; padding: 6px 0;
    background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size .3s var(--ease), color .3s var(--ease); }
  .gnav a[aria-current="page"] { background-size: 100% 1px; color: var(--green); }
  @media (hover: hover) { .gnav a:hover { background-size: 100% 1px; color: var(--green); } }
  /* 北口院の入口: 現行の「分院サイトTOP」と同じオレンジの面 */
  .gnav a.gnav-kita { margin-left: auto; padding: 6px 12px; background: #f6b26b; color: var(--ink); transition: background-color .3s var(--ease); }
  .gnav a.gnav-kita[aria-current="page"] { background: #f3a04c; color: var(--ink); }
  @media (hover: hover) { .gnav a.gnav-kita:hover { background: #f3a04c; color: var(--ink); } }
  /* 北口院のページの右端「本院サイト」は、院名の橙の札と見分けがつくよう若葉の面（V15） */
  .gnav a.gnav-kita.gnav-main { background: var(--leaf); color: var(--green-d); }
  @media (hover: hover) { .gnav a.gnav-kita.gnav-main:hover { background: #d6e8d2; color: var(--green-d); } }
  .site-header .bar { height: 80px; }
}
@media (min-width: 1024px) { html { scroll-padding-top: 128px; } }
@media (min-width: 1280px) { .gnav .wrap { gap: 32px; } }
.head-cta { display: flex; align-items: center; gap: 16px; }
.head-tel { display: none; text-decoration: none; color: var(--ink); line-height: 1.3; text-align: right; white-space: nowrap; }
.head-tel b { display: block; font-size: 20px; font-weight: 500; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.head-tel span { font-size: 12px; color: var(--sub); }
.head-tel b { transition: color .3s var(--ease); }
@media (hover: hover) { .head-tel:hover b { color: var(--green); } }
@media (min-width: 768px) { .head-tel { display: block; } }
.head-tel-q { display: none; }
@media (min-width: 1024px) { .head-tel-q { display: block; } }
/* スマホのいびきボタン（現行のスマホのヘッダーと同じ、夜の紺に月） */
.head-sas { display: none; }
@media (max-width: 767px) {
  .head-sas { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 46px; height: 44px; background: var(--night); color: #fff;
    font-size: 12px; font-weight: 500; letter-spacing: 0.02em; line-height: 1; text-decoration: none; flex: none; }
  .head-cta { gap: 8px; }
  .logo img { height: clamp(28px, 8.4vw, 38px); }
  .logo-kita img { height: clamp(38px, 11.5vw, 48px); }
  .hamburger { width: 44px; }
  .hamburger span { width: 32px; }
}
.head-cta .btn { display: none; }
@media (min-width: 768px) { .head-cta .btn { display: inline-flex; } }
.hamburger { width: 48px; height: 48px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px;
  background: none; border: 0; cursor: pointer; padding: 0; }
.hamburger span { display: block; width: 40px; height: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.hamburger[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }
@media (hover: hover) {
  .hamburger:not([aria-expanded="true"]):hover span:first-child { transform: translateY(2px); }
  .hamburger:not([aria-expanded="true"]):hover span:last-child { transform: translateY(-2px); }
}
@media (min-width: 1024px) { .hamburger { display: none; } }
.drawer { position: fixed; inset: 72px 0 0 0; background: #fff; z-index: 49; padding: 24px var(--gutter) 120px; overflow-y: auto;
  overscroll-behavior: contain; scroll-padding-bottom: 24px;
  clip-path: inset(0 0 100% 0); visibility: hidden; pointer-events: none; transition: clip-path .3s var(--ease), visibility 0s .3s; }
.drawer.is-open { clip-path: inset(0); visibility: visible; pointer-events: auto; transition: clip-path .3s var(--ease), visibility 0s; }
/* スマホでは最後の項目が下の固定バーに隠れないよう、フォーカスで送るときに固定バーの分を空ける（F45） */
@media (max-width: 767px) { .drawer { scroll-padding-bottom: calc(76px + env(safe-area-inset-bottom)); } }
/* 開いている間は裏のページを止める。body ではなく html を止める（html の overflow-x:clip で body の指定が画面に伝わらないため）。
   スクロールバーの幅だけ右を空けて、ヘッダーが横に跳ねないようにする（F21） */
html.menu-open { overflow: hidden; padding-right: var(--sbw, 0px); }
.drawer a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line);
  font-size: 17px; font-weight: 500; color: var(--ink); text-decoration: none; }

/* ---------- トップ KV ----------
   写真は現行サイトの待合の実写（hero01.png の右側＝人物・文字・緑の丸の無い所）を原寸で切り出したもの。
   元が小さいので拡大しない大きさで見せる（PC 398x475・スマホ 398x270）。画面の高さ（vh）で位置を決めない */
.kv { position: relative; background: var(--beige); overflow: hidden; }
.kv-in { position: relative; z-index: 2; display: flex; flex-direction: column; }
.kv-visual { position: relative; order: -1; margin: 0 calc(var(--gutter) * -1); }
.kv-photo { position: relative; overflow: hidden; }
.kv-photo picture img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) {
  .kv-photo { aspect-ratio: 398 / 270; max-height: 290px; width: 100%; }
  .kv-ground-sp { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 30px; }
  .kv-trees { position: absolute; left: 10px; bottom: 6px; height: 74px; width: auto; max-width: none; pointer-events: none; }
  .kv-animals-sp { position: absolute; right: 14px; bottom: 12px; width: 78px; height: auto; }
  .kv-board, .kv-ground, .kv-lead, .kv-tags { display: none; }
  .kv-text { padding: 20px 0 26px; }
}
@media (max-width: 767px) and (max-height: 640px) { .kv-photo { max-height: 34vh; } }
.kv-station { font-size: 14px; font-weight: 500; color: var(--green); letter-spacing: 0.06em; margin-bottom: 10px; }
.kv-h { font-feature-settings: "palt" 1; letter-spacing: 0.05em; word-break: keep-all; font-size: clamp(26px, 7.6vw, 30px); line-height: 1.42; }
.kv-hours-sp { margin-top: 14px; font-size: 13px; line-height: 1.7; color: var(--ink); font-variant-numeric: tabular-nums; }
.kv-hours-sp > div { display: flex; gap: 10px; }
.kv-hours-sp dt { flex: none; color: var(--green); font-weight: 500; }
.kv-hours-sp dd { margin: 0; }
.kv-hours-sp .nw, .kv-lead .nw { white-space: nowrap; }
@media (min-width: 768px) {
  .kv-hours-sp { display: none; }
  .kv-ground-sp { display: none; }
  .kv-in { flex-direction: row; align-items: center; justify-content: space-between; gap: clamp(24px, 4vw, 64px); padding-top: clamp(36px, 3.4vw, 52px); padding-bottom: 40px; }
  .kv-text { flex: 1 1 auto; min-width: 0; max-width: 560px; }
  /* 3行目「私たちの手で守ります」が1024幅でも1行に入る大きさ（F57） */
  .kv-h { font-size: clamp(30px, 2.9vw + 4px, 48px); margin-bottom: 20px; }
  .kv-station { font-size: 15px; margin-bottom: 16px; }
  .kv-lead { max-width: 560px; }
  .kv-tags { margin-top: 20px; }
  /* 写真の右下に、現行と同じ型の「診療時間」の看板。その上にリスとうさぎ */
  .kv-visual { order: 0; margin: 0; flex: none; --ph: 270px; --bw: 244px; --ov: 96px; width: calc(var(--ph) * 398 / 475 + var(--bw) - var(--ov)); padding-bottom: 28px; }
  .kv-board .nw { white-space: nowrap; }
  .kv-photo { height: var(--ph); aspect-ratio: 398 / 475; border-radius: 10px; }
  .kv-board { position: absolute; right: 0; bottom: 0; width: var(--bw); z-index: 2; background: #fff; padding: 14px 16px 12px;
    border: 7px solid #dcc29b; box-shadow: inset 0 0 0 1px #c9a77a, 0 6px 0 rgba(90, 60, 30, .08); }
  .kv-board-n { margin-top: 6px; font-size: 11px; line-height: 1.7; color: var(--text); letter-spacing: 0.04em; }
  .kv-animals-sp { display: none; }
  .kv-animals { position: absolute; right: 10px; bottom: calc(100% + 6px); width: clamp(76px, 7vw, 100px); height: auto; }
  .kv-trees { position: absolute; left: -34px; bottom: 18px; height: clamp(110px, 11vw, 160px); width: auto; max-width: none; z-index: 1; pointer-events: none; }
  .kv-ground { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 72px; z-index: 1; }
}
@media (min-width: 1024px) { .kv-visual { --ph: clamp(300px, min(29vw, 52vh), 420px); --bw: clamp(260px, 22vw, 300px); --ov: 72px; } }
@media (min-width: 768px) and (max-width: 1023px) {
  .kv-h { font-size: 27px; } .kv-board { padding: 10px 10px 8px; }
  .kv-visual { --ph: 260px; --ov: 104px; }
  .kv-trees { left: -22px; height: 92px; }
}
.hours-s { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours-s th, .hours-s td { padding: 5px 2px; text-align: center; border-bottom: 1px solid var(--line); font-weight: 400; font-size: 12px; line-height: 1.5; }
.hours-s thead th { color: var(--sub); border-bottom: 1px solid var(--line-strong); font-size: 11px; }
.hours-s tbody th { text-align: left; white-space: nowrap; color: var(--ink); font-weight: 500; }
.hours-s td { color: var(--green); font-size: 13px; }
.hours-s td.off { color: var(--sub); }
.hours-s td.star { color: var(--ink); font-size: 11px; }

/* ---------- 予約・診療時間 ---------- */
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 14px 4px; text-align: center; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours thead th { font-size: 13px; color: var(--sub); border-bottom: 1px solid var(--line-strong); }
.hours tbody th { text-align: left; white-space: nowrap; color: var(--ink); font-weight: 500; font-size: 14px; }
.hours td { color: var(--green); font-size: 18px; }
.hours td.off { color: var(--sub); }
.hours td.star { color: var(--ink); font-size: 14px; }
.bg-beige .hours th, .bg-beige .hours td { border-bottom-color: #e2d8c9; }
.bg-beige .hours thead th { border-bottom-color: var(--line-strong); }

.book { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.book > * { border-bottom: 1px solid #e2d8c9; }
.book a.row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 20px 0; text-decoration: none; color: var(--ink); }
.book .k { font-size: 13px; color: var(--sub); display: block; line-height: 1.6; }
.book .v { font-size: 24px; font-weight: 500; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; line-height: 1.4; }
.book .v small { font-size: 14px; }
@media (min-width: 768px) { .book .v { font-size: 28px; } }
@media (max-width: 359px) { .book .v { font-size: 21px; } } /* 320幅で「インターネット予約」が1行に入るように */
/* 768px 以上で欄が狭いとき（トップの768・時間アクセスの1024〜1279）も「インターネット｜予約」と折れないよう、欄の幅に合わせて文字を小さくする */
@media (min-width: 768px) { .book { container-type: inline-size; } .book .v { font-size: clamp(20px, calc(10.6cqw - 6.4px), 28px); white-space: nowrap; } }
.book .go { width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; transition: background-color .3s var(--ease); }
@media (hover: hover) { .book a.row:hover .go { background: var(--green-d); } }
ruby rt { font-size: 10px; letter-spacing: 0.1em; color: var(--green); }

/* ---------- 一覧行 ---------- */
.rows { border-top: 1px solid var(--line-strong); }
.rows > li, .rows > a { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 20px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .rows > li, .rows > a { grid-template-columns: 140px 1fr; gap: 24px; align-items: baseline; } }
.rows time { font-size: 13px; color: var(--sub); font-variant-numeric: tabular-nums; letter-spacing: 0.06em; }
.rows .t { font-size: 15px; color: var(--ink); line-height: 1.8; }
.bg-beige .rows > li { border-bottom-color: #e2d8c9; }

/* ---------- 診療案内（大きな文字の分割メニュー） ---------- */
.parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); border-left: 1px solid #cfdccb; }
@media (min-width: 768px) { .parts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.parts a { display: block; padding: 24px 20px 28px; border-right: 1px solid #cfdccb; border-bottom: 1px solid #cfdccb; text-decoration: none; color: var(--ink);
  transition: background-color .3s var(--ease); }
@media (hover: hover) { .parts a:hover { background: #fff; } }
.parts .p { font-size: clamp(22px, 7vw, 28px); font-weight: 500; line-height: 1.2; color: var(--green); letter-spacing: 0.02em; white-space: nowrap; }
.parts .p small { font-size: 13px; color: var(--ink); margin-left: 2px; }
@media (min-width: 768px) { .parts .p small { font-size: 15px; } }
@media (min-width: 768px) { .parts .p { font-size: 44px; } .parts a { padding: 32px 28px 36px; } }
.parts .d { margin-top: 12px; font-size: 13px; line-height: 1.8; color: var(--text); }
.parts .more { margin-top: 12px; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--green); font-weight: 500; }
/* 359px 以下（iPhone SE 第1世代・画面表示の拡大）は1列にする。2列だと病名の列が約100pxで右へはみ出す（F08） */
@media (max-width: 359px) { .parts { grid-template-columns: minmax(0, 1fr); } }

.special { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.special a { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 22px 0; border-bottom: 1px solid #cfdccb; text-decoration: none; color: var(--ink); }
.special .n { font-size: 18px; font-weight: 500; }
.special .s { display: block; font-size: 13px; color: var(--text); margin-top: 4px; line-height: 1.8; }
@media (hover: hover) { .special a:hover .n { color: var(--green); } }

/* ---------- 夜の面（いびき・無呼吸） ---------- */
.night { position: relative; overflow: hidden; }
/* 夜の森の絵は同じページの上（入口・見出し）でも使うので、2回目は月を出さず、下の丘と木だけを帯にして敷く（F124）。
   スマホでは本文の下に木が来ないよう、帯を低くする（F28） */
.night-bg { position: absolute; left: 0; right: 0; bottom: 0; height: min(52%, 420px); overflow: hidden; }
.night-bg img { position: absolute; right: 0; bottom: 0; width: max(100%, 760px); height: auto; max-width: none; }
.night-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--night) 0%, rgba(2,26,102,0) 55%), linear-gradient(90deg, var(--night) 0%, rgba(2,26,102,.6) 40%, rgba(2,26,102,0) 70%); }
@media (max-width: 767px) { .night-bg { height: 210px; } .night-bg::after { background: linear-gradient(180deg, var(--night) 0%, rgba(2,26,102,.35) 60%, rgba(2,26,102,.2) 100%); } }
.night .wrap { position: relative; }
.moon-num { font-size: 56px; font-weight: 500; line-height: 1; color: var(--moon); letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.moon-num small { font-size: 18px; color: #fff; margin-left: 6px; }
@media (min-width: 768px) { .moon-num { font-size: 80px; } }
.five { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 40px; max-width: 620px; }
.five a, .five div { text-align: center; text-decoration: none; color: #fff; font-size: 13px; font-weight: 500; line-height: 1.5; }
.five img { width: 100%; max-width: 76px; margin: 0 auto 8px; transition: transform .3s var(--ease); }
@media (hover: hover) { .five a:hover img { transform: translateY(-3px); } }
@media (hover: hover) { .five a:hover span { color: var(--moon); } }
.bg-white .five a, .bg-beige .five a { color: var(--ink); }
@media (hover: hover) { .bg-white .five a:hover span, .bg-beige .five a:hover span { color: var(--green); } }

/* ---------- 舌下免疫療法の通院の流れ ---------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line-strong); }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.steps .no { font-size: 13px; color: var(--sub); font-variant-numeric: tabular-nums; }
.steps .w { font-size: 18px; font-weight: 500; color: var(--ink); }
.steps .x { font-size: 14px; color: var(--text); }
/* 花粉の時期（/kafun）は時期の文字が長いので列を広げる（F41）。900px 以上は3項目なので3列にし、線は最後の点で止める（F106） */
.steps-season li { grid-template-columns: 8.5em 1fr; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); border-top: 0; position: relative; }
  .steps.steps-season { grid-template-columns: repeat(3, 1fr); }
  .steps.steps-season::before { right: calc(100% / 3 - 11.5px); }
  /* 行の少ない列でラベルが下に押されないよう、列の中は上に詰める（F26） */
  .steps li { align-content: start; }
  .steps::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 1px; background: var(--green); transform-origin: left; }
  .steps li { grid-template-columns: 1fr; border-bottom: 0; padding: 0 24px 0 0; gap: 8px; }
  .steps li::before { content: ""; width: 23px; height: 23px; border-radius: 50%; background: #fff; border: 1px solid var(--green); position: relative; margin-bottom: 16px; }
  .steps li:first-child::before { background: var(--green); }
}

/* ---------- 選ばれる理由 ---------- */
.reasons > li { padding: 28px 0; border-bottom: 1px solid #e2d8c9; }
.reasons > li:first-child { border-top: 1px solid var(--line-strong); }
.reasons h3 { margin-bottom: 12px; }

/* ---------- 人・写真 ---------- */
.photo { border-radius: 12px; overflow: hidden; background: var(--beige-2); }
.photo-s { border-radius: 8px; overflow: hidden; background: var(--beige-2); }
.photo img, .photo-s img { width: 100%; height: 100%; object-fit: cover; }
figcaption { font-size: 12px; color: var(--sub); margin-top: 8px; letter-spacing: 0.06em; line-height: 1.6; }
.sticky { position: sticky; top: 96px; }
@media (min-width: 1024px) { .sticky { top: 152px; } }
/* 提案書はヘッダーが1段（88px）なので、止まる位置をヘッダーの下 24px にする（L-9） */
@media (min-width: 1024px) { .site-header-plain ~ main .sticky { top: 112px; } }
.inside { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 768px) { .inside { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: start; } .inside .b { margin-top: 56px; } .inside .d { margin-top: 32px; } }
.photo-s.cap { max-width: 318px; }
.inside figure .photo-s { aspect-ratio: 3 / 2; }

.docs > li { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.docs > li:first-child { border-top: 1px solid var(--line-strong); }
@media (min-width: 768px) { .docs > li { grid-template-columns: 220px 1fr; gap: 32px; } }
.docs .name { font-size: 20px; font-weight: 500; color: var(--ink); line-height: 1.5; }
.docs .en { font-size: 13px; color: var(--sub); letter-spacing: 0.04em; display: block; }
.docs .role { font-size: 13px; color: var(--green); font-weight: 500; }
.dl { border-top: 1px solid var(--line-strong); }
.dl > div { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
/* 見出しの列は 1100px 以上だけ横に置く。180px 固定だと 768〜1024 で本文の列が128〜232px になり、資格・職歴・住所が6〜8字ごとに折れる（F10・F30・F55） */
@media (min-width: 1100px) { .dl > div { grid-template-columns: 10em 1fr; gap: 24px; } }
.career li { display: grid; grid-template-columns: 6.5em 1fr; column-gap: .5em; }
.dl dt { font-size: 13px; color: var(--sub); }
.dl dd { font-size: 15px; color: var(--ink); line-height: 1.9; }
.bg-beige .dl > div { border-bottom-color: #e2d8c9; }

/* 担当医表（FB1002-1）。現行トップの型: 月の見出しの帯（左右にリスと鳥）・凡例・1週ずつ日付の帯と午前・午後の行・
   休診のマスは灰色の面・医師名は赤字（女性医師）と青字（男性医師）。色は現行の値（緑の帯 #bbda95・#d3e7bb、灰色 #bfbfbf、青 #0071bc）。
   赤は現行の #ed1e79 だと白地で 4.2:1 なので、文字の読みやすさの基準 4.5:1 に届くよう少しだけ濃くした */
:root { --tt-f: #d4186c; --tt-m: #0071bc; }
.tt-months { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 1024px) { .tt-months { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4%; } }
.tt-box { background: #fff; border: 1px solid var(--line-strong); padding: 16px 14px 18px; color: var(--ink); }
@media (min-width: 768px) { .tt-box { padding: 20px; } }
@media (max-width: 767px) { .tt-box { margin: 0 calc(8px - var(--gutter)); padding: 14px 8px 16px; } }
.tt-ttl { background: #ffebff; text-align: center; font-size: 15px; line-height: 1.4; padding: 10px 4px; }
.tt-ttl-next { background: #e2efda; }
.tt-ttl-in { position: relative; display: inline-block; }
.tt-ttl .m { font-size: 26px; font-weight: 500; font-variant-numeric: tabular-nums; }
@media (min-width: 400px) {
  .tt-ttl-in::before, .tt-ttl-in::after { content: ""; position: absolute; top: 50%; width: 47px; height: 27px; transform: translateY(-50%); background: no-repeat left top / 47px 27px; }
  .tt-ttl-in::before { left: -56px; background-image: url(/img/duty-squirrel.png); }
  .tt-ttl-in::after { right: -56px; background-image: url(/img/duty-bird.png); }
}
.tt-note { margin-top: 10px; text-align: right; font-size: 13px; line-height: 1.6; }
.tt-f { color: var(--tt-f); } .tt-m { color: var(--tt-m); }
.tt-tbl { width: 100%; margin-top: 8px; border-collapse: collapse; table-layout: fixed; font-variant-numeric: tabular-nums; }
.tt-tbl th, .tt-tbl td { border: 1px solid #eee; padding: 5px 2px; text-align: center; vertical-align: middle; font-weight: 400; }
.tt-tbl thead th { background: #bbda95; font-size: 14px; }
.tt-tbl thead td, .tt-tbl tbody tr > :first-child { width: 2.9em; }
.tt-tbl .tt-d > * { background: #d3e7bb; font-size: 13px; padding: 3px 1px; white-space: nowrap; letter-spacing: 0; }
.tt-tbl .tt-d td:empty { background: #d3e7bb; }
.tt-tbl tbody th[scope="row"] { font-size: 13px; }
.tt-tbl td { font-size: 15px; line-height: 1.5; height: 3.4em; }
.tt-tbl td > a, .tt-tbl td > span { display: block; white-space: nowrap; }
.tt-tbl td a { text-decoration: underline; text-underline-offset: 2px; }
@media (hover: hover) { .tt-tbl td a:hover { opacity: .65; } }
.tt-tbl .tt-off { background: #bfbfbf; color: var(--ink); }
@media (max-width: 767px) {
  .tt-tbl td { font-size: 13px; letter-spacing: 0; height: 3.2em; }
  .tt-tbl thead th { font-size: 13px; }
  .tt-tbl .tt-d > * { font-size: 12px; }
  .tt-tbl thead td, .tt-tbl tbody tr > :first-child { width: 2.6em; }
  .tt-tbl tbody th[scope="row"] { font-size: 12px; }
}
@media (max-width: 359px) { .tt-tbl td { font-size: 12px; } .tt-tbl .tt-d > * { font-size: 11px; } .tt-tbl th, .tt-tbl td { padding-left: 1px; padding-right: 1px; } }
/* 来月: 1023px 以下は「来月の担当医表」のボタンで開く（現行と同じ）。JS が無いときは開いたまま */
.tt-more { display: none; }
@media (max-width: 1023px) {
  .tt-js .tt-more { display: flex; justify-content: center; align-items: center; gap: 10px; width: 100%; margin-top: 16px; padding: 14px 16px; background: var(--ink); color: #fff;
    border: 0; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
  .tt-js .tt-more::after { content: "＋"; font-size: 15px; }
  .tt-js .tt-more[aria-expanded="true"]::after { content: "−"; }
  .tt-js .tt-box[id="duty-next"]:not(.is-open) { display: none; }
  .tt-js .tt-months { gap: 0; }
  .tt-js .tt-box[id="duty-next"].is-open { margin-top: 16px; }
}

/* 本日の担当医（トップの最初の画面。FB1002-1x）。PC・タブレットは診療時間の看板の下、スマホは写真の上端の帯 */
.today { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; color: var(--ink); text-decoration: none; font-size: 13px; line-height: 1.6; }
.today-k { color: var(--green); font-weight: 500; white-space: nowrap; }
.today-v { display: contents; }
.today-d, .today-s { white-space: nowrap; font-variant-numeric: tabular-nums; }
.today-d { font-weight: 500; }
.today-s b { font-weight: 500; color: var(--sub); margin-right: 4px; }
.today-s span + span { margin-left: .4em; }
.today-off { color: var(--sub); }
.today .icon-arrow { color: var(--green); align-self: center; margin-left: auto; }
@media (hover: hover) { .today:hover .today-k { text-decoration: underline; } }
.today-pc { display: none; }
@media (min-width: 768px) {
  .today-sp { display: none; }
  .today-pc { display: block; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line-strong); }
  .today-pc .today { font-size: 12px; gap: 0 8px; }
}
@media (max-width: 767px) {
  .today-sp { position: absolute; left: 0; right: 0; top: 0; z-index: 2; background: rgba(255, 255, 255, .94); border-bottom: 1px solid var(--line); }
  .today-sp .today { padding: 7px 14px; font-size: 12px; gap: 2px 8px; letter-spacing: 0.02em; }
  .today-sp .today-s span + span { margin-left: .3em; }
}
/* 高さの低い PC・タブレット（1093x614 など）は、看板が本日の担当医のぶん高くなり上のリスとうさぎが切れるので、看板を詰める */
@media (min-width: 768px) and (max-height: 680px) {
  .kv-board { padding-top: 8px; padding-bottom: 8px; }
  .kv-board .hours-s th, .kv-board .hours-s td { padding-top: 3px; padding-bottom: 3px; }
  .kv-board-n { margin-top: 4px; }
  .today-pc { margin-top: 6px; padding-top: 6px; }
  .kv-animals { width: 70px; }
}

/* YouTube（現行トップと同じ茶色の面に白い額縁。FB1002-3）。埋め込みは youtube-nocookie・loading=lazy */
.movie { background: #c7b299; }
.movie-in { position: relative; z-index: 0; max-width: calc(820px + 2 * var(--gutter)); text-align: center; }
.movie-h { font-family: "Dancing Script", cursive; font-size: 40px; font-weight: 500; line-height: 1; color: var(--ink); margin-bottom: 24px; }
.movie-frame { position: relative; aspect-ratio: 16 / 9; background: #fff; border: 8px solid #fff; outline: 2px solid var(--ink); }
.movie-frame::after { content: ""; position: absolute; z-index: -1; left: 14px; top: 14px; right: -16px; bottom: -16px;
  background: repeating-linear-gradient(135deg, #fff 0 5px, transparent 5px 10px); }
.movie-frame iframe { width: 100%; height: 100%; border: 0; display: block; background: #2b2b2b; }
.movie-t { margin-top: 40px; max-width: none; color: var(--ink); }
.movie .btn-line { border-color: var(--ink); }
@media (hover: hover) { .movie .btn-line:hover { background: var(--ink); color: #fff; } }
/* 768〜1023 は1文目が「行ってい｜ます。」と割れるので、案内文だけ 14px にして1行に収める */
@media (min-width: 768px) and (max-width: 1023px) { .movie-t { font-size: 14px; letter-spacing: 0.02em; } }
@media (max-width: 767px) { .movie-frame { border-width: 5px; } .movie-frame::after { left: 8px; top: 8px; right: -10px; bottom: -10px; } .movie-t { text-align: left; margin-top: 32px; } }

/* フッターの SNS（現行の「Follow us!」と同じ5つ。名前を添える） */
.sns-box { margin-top: 28px; }
.sns-h { font-family: "Dancing Script", cursive; font-size: 22px; line-height: 1; color: var(--green); }

/* 予約ナビ */
.chooser fieldset { border: 0; padding: 0; margin: 0; }
.chooser legend { font-size: 18px; font-weight: 500; color: var(--ink); margin-bottom: 16px; }
.choices { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 768px) { .choices { grid-template-columns: repeat(2, 1fr); } }
.choices label { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: #fff; border: 1px solid #d9cfbf; cursor: pointer;
  font-size: 15px; font-weight: 500; color: var(--ink); transition: border-color .3s var(--ease), background-color .3s var(--ease); }
@media (hover: hover) { .choices label:hover { border-color: var(--green); } }
.choices input { accent-color: var(--green); width: 18px; height: 18px; margin: 0; }
.choices label:has(input:checked) { border-color: var(--green); background: var(--leaf); }
.answer { margin-top: 32px; background: #fff; padding: 28px 24px; border: 1px solid #cfdccb; }
@media (min-width: 768px) { .answer { padding: 36px 40px; } }
.answer[hidden] { display: none; }
.answer .sub { margin-bottom: 16px; }
.answer ol { counter-reset: a; }
.answer ol li { counter-increment: a; position: relative; padding-left: 36px; margin-top: 16px; }
.answer ol li::before { content: counter(a); position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; font-size: 13px; line-height: 24px; text-align: center; }
.answer .btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

details.more { border-top: 1px solid var(--line-strong); }
details.more summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font-size: 17px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line); }
details.more summary::-webkit-details-marker { display: none; }
details.more summary { transition: color .3s var(--ease); }
@media (hover: hover) { details.more summary:hover { color: var(--green); } }
details.more summary svg { transition: transform .3s var(--ease); }
details.more[open] summary svg { transform: rotate(90deg); }
details.more .in { padding: 24px 0 8px; }
.notes li { position: relative; padding-left: 1.2em; margin-top: 12px; font-size: 14px; line-height: 1.9; }
.notes li::before { content: ""; position: absolute; left: 0; top: .8em; width: 6px; height: 6px; background: var(--green); }

.forms { border-top: 1px solid var(--line-strong); }
.forms > div { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.forms .f { font-size: 15px; color: var(--ink); }
.forms .f small { display: block; font-size: 12px; color: var(--sub); }
.forms .dlinks { display: flex; gap: 8px; }
.forms .dlinks a { font-size: 13px; color: var(--green); text-decoration: none; border: 1px solid #cfdccb; padding: 4px 12px; border-radius: 999px; white-space: nowrap; transition: background-color .3s var(--ease), color .3s var(--ease); }
@media (hover: hover) { .forms .dlinks a:hover { background: var(--green); color: #fff; } }

/* 道順 */
.route li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.9; }
.route li:first-child { border-top: 1px solid var(--line-strong); }
.route .no { font-size: 13px; color: var(--green); font-weight: 500; font-variant-numeric: tabular-nums; }
.map { aspect-ratio: 4 / 3; border: 0; width: 100%; border-radius: 12px; background: var(--beige-2); }

/* ページ見出し */
.page-hero { background: var(--beige); padding: 56px 0 56px; }
@media (min-width: 768px) { .page-hero { padding: 96px 0 88px; } }
.page-hero.night-hero { background: var(--night); color: #fff; position: relative; overflow: hidden; }
.page-hero.night-hero .display, .page-hero.night-hero .lead { color: #fff; }
.page-hero.night-hero .lead { color: rgba(255,255,255,.8); }
.crumb { font-size: 12px; color: var(--sub); display: flex; gap: 8px; margin-bottom: 32px; letter-spacing: 0.04em; }
.crumb a { text-decoration: none; }
.crumb span[aria-hidden] { color: #cdbfae; }
.night-hero .crumb { color: rgba(255,255,255,.6); }

/* 提案書 */
.sev { display: inline-block; font-size: 12px; font-weight: 500; padding: 2px 8px; margin-right: 8px; color: #fff; background: #9a4a2f; letter-spacing: 0.06em; }
.sev.m { background: #8a5d1e; } .sev.l { background: #5f6452; }
.issue > li { padding: 24px 0; border-bottom: 1px solid var(--line); }
.issue > li:first-child { border-top: 1px solid var(--line-strong); }
.issue h3 { font-size: 17px; font-weight: 500; color: var(--ink); line-height: 1.7; }
.issue p { margin-top: 8px; font-size: 14px; }
/* 現在とデモは同じ窓の幅で撮った同じ大きさの画面を、上下に同じ幅で並べる（F47。5:5 の2列にしない）。スマホはスマホの画面どうし */
.compare { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; max-width: 1080px; }
.compare figure .photo-s { border: 1px solid var(--line); }
.compare img { width: 100%; height: auto; }
@media (max-width: 767px) { .compare { gap: 32px; } .compare figure .photo-s { max-width: 300px; } }
.sp-cap { display: none; }
@media (max-width: 767px) { .pc-cap { display: none; } .sp-cap { display: inline; } }
.quote { border-left: 3px solid var(--green); padding: 4px 0 4px 20px; font-size: 15px; color: var(--ink); line-height: 2; }

/* ---------- フッター ---------- */
.site-footer { background: var(--beige-2); padding: 64px 0 120px; font-size: 13px; }
@media (min-width: 768px) { .site-footer { padding: 80px 0 40px; } }
.site-footer .logo img { height: 46px; }
.site-footer .logo-kita img { height: 64px; }
.site-footer address { font-style: normal; line-height: 2; margin-top: 24px; color: var(--text); }
.site-footer nav a { display: block; text-decoration: none; color: var(--text); padding: 4px 0; width: fit-content;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size .3s var(--ease); }
@media (hover: hover) { .site-footer nav a:hover { background-size: 100% 1px; } }
.site-footer .copy { margin-top: 48px; font-size: 12px; color: var(--sub); }
.sns { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 10px; }
.sns a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); text-decoration: none; font-size: 13px; transition: color .3s var(--ease); }
.sns svg { flex: none; }
@media (hover: hover) { .sns a:hover { color: var(--green); } }
.squirrel { width: 150px; margin-top: 24px; }
.foot-end { display: flex; flex-direction: column; }
.foot-end .squirrel { order: -1; }
@media (min-width: 768px) { .foot-end { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 24px; } .foot-end .squirrel { order: 0; margin-top: 0; flex: none; } .foot-end .copy { margin-top: 0; } }

/* スマホ下部の固定バー */
.fixbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr 1.3fr; background: #fff; box-shadow: 0 -8px 32px rgba(59,36,18,.08); }
.fixbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 60px; text-decoration: none; font-size: 12px; font-weight: 500; color: var(--ink); line-height: 1.3; }
.fixbar a + a { border-left: 1px solid var(--line); }
.fixbar a.web { background: var(--green); color: #fff; }
.fixbar a { transition: background-color .3s var(--ease); }
@media (hover: hover) { .fixbar a:hover { background: var(--leaf); } }
@media (hover: hover) { .fixbar a.web:hover { background: var(--green-d); } }
.fixbar-kita { grid-template-rows: auto 60px; }
.fixbar-clinic { grid-column: 1 / -1; margin: 0; padding: 3px 0; text-align: center; font-size: 11px; font-weight: 500; letter-spacing: 0.06em; background: #f6b26b; color: var(--ink); }
/* 院を選ぶシート（現行の小窓と同じ中身） */
.pick { border: 0; padding: 20px 20px 24px; width: min(420px, calc(100vw - 32px)); background: #fff; color: var(--ink); box-shadow: 0 12px 40px rgba(59,36,18,.18); }
.pick::backdrop { background: rgba(59,36,18,.42); }
@media (max-width: 767px) { .pick { margin: auto auto 0; width: 100%; max-width: 100%; padding-bottom: calc(24px + env(safe-area-inset-bottom)); } }
.pick-close-f { display: flex; justify-content: flex-end; margin: -8px -8px 0 0; }
.pick-close { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; color: var(--ink); cursor: pointer; }
.pick-h { font-size: 16px; font-weight: 500; margin: -28px 0 12px; padding-right: 48px; line-height: 1.5; }
.pick-row { display: grid; grid-template-columns: 7.5em 1fr auto; align-items: center; gap: 12px; padding: 16px 4px; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.pick-row:last-child { border-bottom: 1px solid var(--line); }
.pick-row .c { font-size: 14px; font-weight: 500; color: var(--green); }
.pick-row .v { font-size: 22px; font-weight: 500; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.pick-row .v-s { font-size: 15px; }
@media (hover: hover) { .pick-row:hover .v { color: var(--green); } }
@media (min-width: 768px) { .fixbar { display: none; } }

/* ---------- 動き（CSSのみ） ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }
.kv-photo picture img { animation: settle 2.4s var(--ease) both; }
/* 文字は上から順に出る（F50: 駅→見出し→本文→科目→時間） */
.kv-text > * { animation: rise .6s var(--ease) both; }
.kv-text > :nth-child(2) { animation-delay: .08s; } .kv-text > :nth-child(3) { animation-delay: .16s; }
.kv-text > :nth-child(4) { animation-delay: .24s; } .kv-text > :nth-child(5) { animation-delay: .24s; }
/* スクロールに合わせて動くのは通院の流れの線だけ（F52）。線（高さ1px）でなく .steps の位置で引く（名前つきの view-timeline）。
   夜の写真と1,812名は、overflow:hidden の .night が基準になり動かなかったので、動きをやめて静止（写真は不透明度 .9）にした */
.night-bg img { opacity: .9; }
@supports (animation-timeline: view()) {
  @keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  .steps { view-timeline: --steps block; }
  .steps::before { animation: draw linear both; animation-timeline: --steps; animation-range: entry 60% cover 50%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- 2つの入口（昼と夜） ---------- */
/* 昼と夜の2つの入口は、768px 以上でも横に2つ並べる（谷さんの決定「トップ最初に2つの入口」。768〜1099 を1列にしていたため、
   1024x768 などで夜の入口が最初の画面から外れていた・H-1）。768〜1099 は似顔絵を小さくして本文の幅を取る */
.doors { display: grid; grid-template-columns: 1fr; }
@media (min-width: 768px) { .doors { grid-template-columns: 1fr 1fr; } }
.door { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: start; padding: 40px var(--gutter); text-decoration: none; transition: background-color .3s var(--ease); }
@media (min-width: 768px) { .door { grid-template-columns: 88px 1fr; gap: 20px; padding: 56px 28px 56px var(--gutter); } .door-night { padding-left: 28px; padding-right: var(--gutter); } }
@media (min-width: 1100px) { .door { grid-template-columns: 128px 1fr; gap: 28px; padding: 64px 48px 64px var(--gutter); } .door-night { padding-left: 48px; padding-right: var(--gutter); } }
.door-day { background: var(--leaf); color: var(--text); }
@media (hover: hover) { .door-day:hover { background: #dfeedd; } }
.door-night { background: var(--night); color: rgba(255,255,255,.78); }
@media (hover: hover) { .door-night:hover { background: var(--night-2); } }
.door-face { width: 100%; aspect-ratio: 1; border-radius: 50%; background: #fff; object-fit: cover; }
.door-body { display: block; }
.door .label { display: block; }
.door-night .label { color: var(--moon); }
.door-h { display: block; font-size: 24px; font-weight: 500; line-height: 1.5; color: var(--ink); font-feature-settings: "palt" 1; letter-spacing: 0.05em; }
@media (min-width: 768px) { .door-h { font-size: 30px; } }
.door-night .door-h { color: #fff; }
.door-t { display: block; margin-top: 16px; font-size: 14px; line-height: 2; max-width: 520px; text-wrap: wrap; } /* 12-05: pretty → wrap */
.door-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.door-night .tag { background: var(--moon); color: var(--night); }
.door-go { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; font-size: 15px; font-weight: 500; color: var(--green); }
.door-night .door-go { color: #fff; }
@media (hover: hover) { .door:hover .icon-arrow { transform: translateX(3px); } }

/* 似顔絵 */
.face { width: 120px; aspect-ratio: 1; border-radius: 50%; background: #fff; border: 1px solid #d6e6d3; object-fit: cover; }
.dir-name { display: flex; align-items: center; gap: 24px; }
.dir-name .face { width: 96px; flex: none; }

/* お知らせ */
.news-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline; text-decoration: none; color: inherit; }
@media (min-width: 768px) { .news-row { grid-template-columns: 140px 1fr auto; gap: 24px; } }
.news-row .icon-arrow { color: var(--green); align-self: center; }
@media (hover: hover) { .news-row:hover .t { color: var(--green); } }
.rows > li:has(.news-row) { display: block; }
/* いびき外来のトップのお知らせ・トピックス（半分の幅に2列）: 日付を題の上に置く（題が細かく折り返さないように） */
.sas-news .news-row { grid-template-columns: 1fr auto; }
.sas-news .news-row time { grid-column: 1 / -1; }
.article { font-size: 15px; line-height: 2.1; color: var(--text); max-width: 720px; }
.article p + p { margin-top: 8px; }
@media (max-width: 767px) { .news-row time { grid-column: 1 / -1; } }
.door-h { word-break: keep-all; text-wrap: balance; }
.door-day .tag-pale { background: #fff; }
.crumb { flex-wrap: wrap; row-gap: 4px; }
.crumb a, .crumb span[aria-hidden] { white-space: nowrap; }

/* 舌下免疫療法の流れの補足は、900px 未満では2列目にそろえる */
@media (max-width: 899px) { .steps li .x { grid-column: 2; } }
/* 768〜1099px は、見出しだけの狭い列（12列中3〜5列＝213〜283px）と本文の列を縦に積む。見出しが語の途中で折れ、1字だけの行ができるため（F53・F07） */
@media (min-width: 768px) and (max-width: 1099px) {
  .grid > :is(.c1-3, .c1-4, .c1-5):has(> .heading, > .sticky > .heading, > .label + .heading),
  .grid > :is(.c1-3, .c1-4, .c1-5):has(> .heading, > .sticky > .heading, > .label + .heading) + * { grid-column: 1 / -1; }
}
.five span { display: block; }
/* 治療方法の名前は1行（「マウス｜ピース」と2行に割れて別の2語に見えたため・V06 L-2）。狭い列では両隣の短い名前の余白にはみ出して収める */
.five .nw { white-space: nowrap; }
@media (max-width: 767px) { .five a, .five div { font-size: 12px; } .five .nw { letter-spacing: 0; } }
/* 359px 以下は5つを横に並べると名前どうしが接するので、3つと2つの2段にする。768〜1099 のトップの夜の節は列が狭いので文字を詰める */
@media (max-width: 359px) { .five { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 16px; } }
@media (min-width: 768px) and (max-width: 1099px) { .bg-night .five .nw { font-size: 12px; letter-spacing: 0; } }
@media (min-width: 1024px) { .drawer { inset: 88px 0 0 0; } }
.sp-only { display: none; }
/* スマホだけ意味の切れ目で改行する（Webフォントが届く前後で h1 の行数が変わり、下が45px跳ねるため・F49） */
.sp-br { display: none; }
@media (max-width: 767px) { .sp-br { display: inline; } }
@media (max-width: 767px) { .sp-only { display: block; } }

/* 森の世界観（現行サイトの型を継承） */
.page-hero { position: relative; overflow: hidden; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero { container-type: inline-size; }
.hero-trees { position: absolute; right: max(12px, calc((100cqw - 1280px) / 2 + 24px)); bottom: 0; height: 58%; width: auto; max-width: none; opacity: .95; pointer-events: none; }
@media (min-width: 768px) and (max-width: 899px) { .page-hero .lead { max-width: calc(100% - 140px); } }
@media (max-width: 767px) { .page-hero:has(> .hero-trees) { padding-bottom: 76px; } .hero-trees { height: 84px; } }
.hero-night-bg { position: absolute; inset: 0; }
.hero-night-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 80% 60%; }
/* 1000〜1359px は月がヘッダーの下で半分切れる位置に来るので、絵を下へずらして月を丸ごと出す（V10。1360 以上は月が出ない・999 以下は丸ごと出る） */
@media (min-width: 1000px) and (max-width: 1359px) { .hero-night-bg img { object-position: 80% 20%; } }
.hero-night-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--night) 0%, rgba(2,26,102,.6) 45%, rgba(2,26,102,0) 75%); }
@media (max-width: 767px) { .hero-night-bg::after { background: rgba(2,26,102,.7); } }
.door-day { background: var(--leaf) url(/img/trees-right.png) no-repeat right 16px bottom 0 / auto 34%; }
.door-night { background: var(--night) url(/img/night-forest.jpg) no-repeat right center / cover; position: relative; }
.door-night::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--night) 45%, rgba(2,26,102,.6)); transition: opacity .3s var(--ease); }
.door-night > * { position: relative; }
@media (hover: hover) { .door-night:hover::before { opacity: .85; } }
/* 768〜1099 は入口が2列で狭く、木の絵が「お子さまの受診について」に重なるので出さない（1100 以上とスマホは従来どおり） */
@media (min-width: 768px) and (max-width: 1099px) { .door-day { background-image: none; } }
/* スマホ: 入口を最初の画面に入るよう、似顔絵と見出しだけにする。本文は /sas に任せる（F03） */
@media (max-width: 767px) {
  .doors { grid-template-columns: 1fr 1fr; }
  .door { display: flex; flex-direction: column; gap: 6px; padding: 16px 14px 18px; }
  .door-day { background-image: none; }
  .door-night::before { background: rgba(2,26,102,.72); }
  .door-face { width: 52px; }
  .door .label { font-size: 18px; margin: 4px 0 2px; }
  .door-h { font-size: 16px; line-height: 1.5; word-break: keep-all; }
  .door-t, .door-tags, .door-go-t { display: none; }
  .door-go { margin-top: 6px; }
}
/* 入口が1つのとき（11/27 院の依頼で「お子さまの鼻・耳・のど」の入口を外した）: どの幅でも1列。
   左の余白を画面の端の余白にそろえ、スマホは似顔絵と見出しを横に並べる */
.doors-one { grid-template-columns: 1fr; }
@media (min-width: 768px) { .doors-one .door-night { padding-left: var(--gutter); } }
@media (max-width: 767px) { .doors-one { grid-template-columns: 1fr; } .doors-one .door { display: grid; grid-template-columns: 52px 1fr; align-items: center; column-gap: 14px; } }
/* 高さ600px 以下のスマホ（320x568 など）は、写真を帯にして見出しを少し小さくし、2つの入口の似顔絵と見出しの1行目を
   下の固定バーの上に出す（L-8） */
@media (max-width: 767px) and (max-height: 600px) {
  .kv-photo { max-height: 112px; }
  .kv-text { padding: 12px 0 14px; }
  .kv-station { margin-bottom: 6px; }
  .kv-h { font-size: 21px; }
  .kv-animals-sp { width: 54px; bottom: 8px; }
  .kv-trees { height: 54px; }
  .door { padding-top: 10px; }
  .door-face { width: 44px; }
}
/* 案内の帯を出すとき（FB1004-10）: 帯の高さの分を、写真（12px 残して）と文の上下の余白で吸収する */
@media (max-width: 767px) and (max-height: 600px) {
  .move-notice ~ .kv .kv-photo { height: auto; max-height: calc(124px - var(--mn-h, 40px)); }
  .move-notice ~ .kv .kv-text { padding: 6px 0 8px; }
}
/* 高さの低い PC・タブレット（Windows の 1366x768・1280x720、125%表示の 1093x614 など）でも、2つの入口の似顔絵と見出しが
   最初の画面に入るよう、KV を詰める（H-1）。820px 以下: 写真を低く・見出しを少し小さく・入口の上の余白を詰める。
   680px 以下: さらに写真を低くし、科目のラベルを隠す（科目は下の診療案内にもある）。画面の高さの数値（vh）は使わない */
@media (min-width: 768px) and (max-height: 820px) {
  .kv-in { padding-top: 28px; padding-bottom: 32px; }
  .kv-visual { --ph: 300px; }
  .kv-h { font-size: clamp(27px, 2.4vw + 4px, 40px); margin-bottom: 14px; }
  .kv-station { margin-bottom: 10px; }
  .kv-tags { margin-top: 14px; }
  .door { padding-top: 36px; }
}
@media (min-width: 1100px) and (max-height: 820px) { .door { grid-template-columns: 104px 1fr; } }
@media (min-width: 768px) and (max-height: 680px) {
  .kv-in { padding-top: 22px; padding-bottom: 24px; }
  .kv-visual { --ph: 210px; }
  .kv-tags { display: none; }
  .door { padding-top: 28px; }
}
.night-hero .label { color: var(--moon); }
.crumb a { transition: color .3s var(--ease); }
@media (hover: hover) { .crumb a:hover { color: var(--green); } }
@media (hover: hover) { .night-hero .crumb a:hover { color: var(--moon); } }

/* 型の反復を崩す */
.reasons-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 768px) { .reasons-grid { grid-template-columns: 1fr 1fr; gap: 64px 48px; } }
.reasons-grid img { width: 64px; height: auto; }
.docgrid { display: grid; grid-template-columns: 1fr; gap: 56px; }
@media (min-width: 768px) { .docgrid { grid-template-columns: repeat(2, 1fr); gap: 72px 64px; } }
@media (min-width: 1100px) { .docgrid { grid-template-columns: repeat(2, 1fr); gap: 72px 64px; } }
@media (min-width: 1280px) {
  .docgrid > li { display: grid; grid-template-columns: 140px 1fr; column-gap: 32px; align-content: start; }
  .docgrid > li > .face { grid-row: 1 / span 5; width: 140px; }
  .docgrid > li > :not(.face) { grid-column: 2; }
  .docgrid > li > .role { margin-top: 0; }
}
.face-l { width: 160px; }
.docgrid .name { font-size: 20px; font-weight: 500; color: var(--ink); line-height: 1.5; margin-top: 4px; }
.docgrid .en { display: block; font-size: 13px; color: var(--sub); }
.docgrid .role { font-size: 13px; color: var(--green); font-weight: 500; }
.foot-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.foot-cur { grid-column: 1 / -1; margin-top: 24px; display: flex; flex-wrap: wrap; gap: 0 24px; }
/* 現行サイトのページで、ナビに無いもの（スタッフ募集・医師募集・ブログ・オンライン診療・個人情報保護方針・書面掲示事項）。全ページを同じURLで移すので、サイトの中へつなぐ */
.foot-more { grid-column: 1 / -1; margin-top: 16px; display: flex; flex-wrap: wrap; gap: 0 24px; }
.foot-cur-h { width: 100%; font-size: 12px; color: var(--sub); margin-bottom: 4px; }
.site-footer .foot-cur a { display: inline-flex; align-items: center; gap: 6px; }
.foot-clinic { margin-top: 24px; font-size: 14px; font-weight: 500; color: var(--ink); }
.foot-clinic + address { margin-top: 8px; }
.article h3 + p, .article p + h3 { margin-top: 16px; }
.site-footer address a { transition: color .3s var(--ease); }
.site-footer address a[href^="tel:"], .dl dd a[href^="tel:"], .article a[href^="tel:"] { display: inline-block; padding: 12px 4px; margin: -12px -4px; }
.site-footer nav a { padding: 9px 0; }
@media (hover: hover) { .site-footer address a:hover { color: var(--green); } }

/* スタッフ（現行の32名の似顔絵）。枠のカードにせず、似顔絵は医師と同じ丸。列はずらして並べる */
.staff { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 20px; }
.staff > li:nth-child(2n) { margin-top: 32px; }
/* 359px 以下は1列（2列だと資格・趣味の欄が約100pxになり、長いカタカナ語が列からはみ出す） */
@media (max-width: 359px) { .staff { grid-template-columns: minmax(0, 1fr); } .staff > li:nth-child(2n) { margin-top: 0; } }
@media (min-width: 900px) {
  .staff { grid-template-columns: repeat(4, 1fr); gap: 56px 40px; }
  .staff > li:nth-child(2n) { margin-top: 0; }
  .staff > li:nth-child(4n+2), .staff > li:nth-child(4n+4) { margin-top: 48px; }
}
.staff .face { width: 96px; }
@media (min-width: 768px) { .staff .face { width: 112px; } }
.staff-name { margin-top: 12px; font-size: 17px; font-weight: 500; color: var(--ink); letter-spacing: 0.06em; }
.staff-msg { margin-top: 6px; font-size: 13px; line-height: 1.9; color: var(--text); }
.staff-meta { margin-top: 10px; font-size: 12px; line-height: 1.7; color: var(--sub); }
.staff-meta > div { display: flex; gap: 6px; }
.staff-meta dt { flex: none; color: var(--green); }
.staff-meta dd { margin: 0; word-break: keep-all; overflow-wrap: anywhere; }
.staff-animals { width: 120px; margin: 56px 0 0 auto; }

/* 診療カレンダー（現行の /access/ と同じ2か月分・「●休診日」。データは data/holidays.json・F04） */
.cal-months { display: flex; flex-wrap: wrap; gap: 24px 40px; margin-top: 12px; }
.cal { width: 252px; table-layout: fixed; border-collapse: collapse; font-size: 13px; line-height: 1; font-variant-numeric: tabular-nums; }
.cal caption { text-align: left; font-size: 15px; font-weight: 500; color: var(--ink); padding-bottom: 8px; }
.cal th { padding: 6px 0; font-size: 11px; font-weight: 400; color: var(--sub); border-bottom: 1px solid var(--line-strong); }
.cal td { padding: 3px 0; text-align: center; color: var(--ink); }
.cal td > span:first-child { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.cal td.cal-off > span:first-child, .cal-dot { background: #f2c4c4; }
/* 半日の休診（M-3）: 午前は上半分・午後は下半分を塗り、丸の縁は細い線で残す */
.cal td.cal-am > span:first-child, .cal-dot.cal-dot-am { background: linear-gradient(#f2c4c4 50%, #fff 50%); box-shadow: inset 0 0 0 1px #f2c4c4; }
.cal td.cal-pm > span:first-child, .cal-dot.cal-dot-pm { background: linear-gradient(#fff 50%, #f2c4c4 50%); box-shadow: inset 0 0 0 1px #f2c4c4; }
.cal-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; font-size: 12px; color: var(--sub); }
.cal-li { display: inline-flex; align-items: center; gap: 6px; }
.cal-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; }
/* 768px 以上: 2か月は横に並ぶ幅があれば縮めて並べる（1024〜1259 の /access で縦に積まれ、右の列の下が空いていた・V07） */
@media (min-width: 768px) { .cal-months > .cal { width: auto; flex: 1 1 214px; max-width: 252px; } }
/* スマホは2か月を横に並べる（縦に積むと1画面半の長さになるため） */
@media (max-width: 767px) {
  .cal-months { flex-wrap: nowrap; gap: 12px; }
  .cal { width: calc(50% - 6px); font-size: 11px; }
  .cal th { font-size: 10px; }
  .cal td { padding: 2px 0; }
  .cal td > span:first-child { width: 20px; height: 20px; }
}
/* 359px 以下は横に2つ並べると2桁の日付どうしが詰まって続けて読めるので、1か月ずつ縦に積む（V01） */
@media (max-width: 359px) {
  .cal-months { flex-wrap: wrap; gap: 24px; }
  .cal { width: 100%; font-size: 13px; }
  .cal th { font-size: 11px; }
  .cal td > span:first-child { width: 26px; height: 26px; }
}

/* 駅からの道順（現行の写真6枚。元が 440x240 なので 440px より大きく出さない・F36） */
.route-steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; counter-reset: r; }
@media (min-width: 768px) { .route-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; } }
@media (min-width: 1100px) { .route-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 40px; } }
.route-ph { max-width: 440px; border-radius: 8px; overflow: hidden; background: var(--beige-2); }
.route-ph img { width: 100%; height: auto; }
.route-steps p { margin-top: 16px; font-size: 14px; line-height: 1.9; max-width: 440px; }
.route-steps .no { display: block; font-size: 22px; font-weight: 500; line-height: 1.2; color: var(--green); margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.access-map img { width: auto; max-width: 100%; height: auto; border: 1px solid var(--line); }

/* 混雑の目安（太字は現行の画像の中の文字） */
.crowd .crowd-k { color: var(--ink); }
.crowd .crowd-k strong { font-size: 22px; color: var(--green); margin-right: 4px; }
.crowd dd p + p { margin-top: 4px; font-size: 14px; color: var(--text); }

/* 院長の手術症例数（F100） */
.ops { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.7; }
.ops th, .ops td { padding: 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.ops th { text-align: left; font-weight: 400; color: var(--ink); padding-right: 16px; }
.ops td { text-align: right; white-space: nowrap; color: var(--ink); font-variant-numeric: tabular-nums; }

/* 蛍光ペン（働く患者様にいちばん効く事実の1か所だけ・F107）。スクロールで見えたときに左から引く。非対応のブラウザは引いた状態 */
.marker { background-image: linear-gradient(transparent 58%, rgba(255, 233, 84, .9) 58% 94%, transparent 94%); background-repeat: no-repeat; background-size: 100% 100%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; color: var(--ink); }
@supports (animation-timeline: view()) {
  @keyframes marker { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
  .marker { animation: marker linear both; animation-timeline: view(); animation-range: cover 20% cover 40%; }
}
.dd-note { display: block; margin-top: 8px; font-size: 12px; line-height: 1.7; color: var(--sub); }

/* 提案書（F46・F79） */
.site-header-plain .bar { height: 72px; }
@media (min-width: 1024px) { .site-header-plain .bar { height: 88px; } }
.site-header-plain .head-demo { display: inline-flex; min-width: 0; }
@media (max-width: 767px) { .site-header-plain .head-demo { height: 40px; padding: 0 14px; font-size: 13px; } }
@media (max-width: 359px) { .site-header-plain .bar { gap: 12px; } .site-header-plain .head-demo { padding: 0 10px; gap: 6px; font-size: 12px; } }
.toc { border-top: 1px solid var(--line-strong); }
.toc a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: 15px; }
@media (hover: hover) { .toc a:hover { color: var(--green); } }
.src { display: inline-block; margin-left: 8px; padding: 0 6px; font-size: 11px; line-height: 1.7; color: var(--green-d); background: var(--leaf); letter-spacing: 0.04em; }
.urls { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.7; }
.urls th, .urls td { padding: 10px 8px 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-weight: 400; }
.urls thead th { color: var(--sub); border-bottom: 1px solid var(--line-strong); font-size: 12px; }
.urls td.n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.urls td.u { overflow-wrap: anywhere; color: var(--ink); }
.urls td.u.kp { word-break: normal; } /* 長いURLは字の間で折る（行頭に「？」が来ないよう line-break:strict のまま） */
.urls th, .urls td:not(.u) { white-space: nowrap; }

/* ?edit=1: スタッフの皆様が管理画面で直せる所を点線で示す（F92） */
.edit-view [data-cms] { position: relative; outline: 2px dashed #d9792b; outline-offset: 8px; }
.edit-view [data-cms]::before { content: "スタッフの皆様が直せる所：" attr(data-cms); position: absolute; left: -8px; top: -38px; z-index: 5; padding: 2px 8px;
  background: #d9792b; color: #fff; font-size: 12px; font-weight: 500; line-height: 1.7; white-space: nowrap; }

/* ---------- 印刷（F22） ---------- */
@media print {
  html { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .fixbar, .hamburger, .drawer, .gnav, .head-cta, .skip, .pick { display: none !important; }
  .tt-more, .today-sp { display: none !important; } .tt-box { display: block !important; }
  .site-header, .sticky { position: static; }
  .site-header { box-shadow: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  li, figure, table, .dl > div, .compare, .book, .quote, .answer { break-inside: avoid; }
  h1, h2, h3, .label { break-after: avoid; }
}

/* ============================================================================================
   温かみを現行に戻す（谷さんFB 10/2 決定2・4・踏み込み4x）。絵・紙・写真はすべて現行サイトの素材（public/img/warm・doc-body・staff-body）。
   線引き（谷さん了承）: 現行固有の吹き出し・手描きの絵・水彩の紙は戻す。汎用の角丸カードは使わない（カード・枠の角は四角のまま）。
   素材は元の大きさより大きく引き伸ばさない（背景の紙は元の大きさで並べる）
   ============================================================================================ */
.bg-grid { background: #fffef7 url(/img/warm/grid.png) repeat; }            /* 方眼（現行 bg_grid01.png・30px） */
.bg-canvas { background: #fffef7 url(/img/warm/canvas.png) repeat; }         /* 生成りの紙（現行 bg_canvas.png） */
/* 紙は現行と同じく面いっぱいに敷く（cover。継ぎ目の線が出ないように。中身は水彩のにじみと葉の線画で、写真・文字ではない） */
.bg-paper { background: #c9e1c7 url(/img/warm/paper-doctor.webp) no-repeat center top / cover; }  /* 医師の欄の緑の水彩の紙（現行 bg_doctor.png） */
.bg-clinic { background: #cee7cc url(/img/warm/paper-clinic.webp) no-repeat center top / cover; } /* 院長の節の緑の水彩の紙と葉の線画（現行 bg_clinic.png） */
.sec-en { font-family: "Dancing Script", cursive; font-size: 20px; font-weight: 500; line-height: 1; color: var(--green); margin-top: 10px; letter-spacing: 0.04em; }
.txt-red { color: #c40000; }  /* 現行の赤字（#f00）。白と若葉の水彩の上で文字の読みやすさ 4.5:1 を超えるよう少し濃く */
.txt-red strong, .steps .txt-red { color: #c40000; }

/* 見出しの面: 中央に題・英字の帯、左右の木・中央の芽・地面の弧と破線（現行 single-overlay.png） */
.warm-hero { --ovh: calc(min(100vw, 1680px) * 500 / 1680); background: #edf4e3 url(/img/warm/grid.png) repeat; text-align: center;
  padding: 32px 0 calc(var(--ovh) * 0.3); min-height: calc(var(--ovh) + 16px); }
@media (max-width: 767px) { .warm-hero { --ovh: calc(min(100vw, 1170px) * 708 / 1170); padding: 24px 0 calc(var(--ovh) * 0.5); } }
.hero-ov { position: absolute; left: 50%; bottom: 0; width: 100%; max-width: 1680px; transform: translateX(-50%); pointer-events: none; z-index: 0; }
.hero-ov img { width: 100%; height: auto; }
@media (max-width: 767px) { .hero-ov { max-width: 1170px; } }
.warm-hero .crumb { text-align: left; }
.hero-c { max-width: 860px; margin: 0 auto; }
/* 768〜1279px は左右の木（絵の幅の両端およそ18%）に本文が重ならないよう、題の下の文の幅を絞る（題は木より上にあるので絞らない） */
.warm-hero .lead { margin-left: auto; margin-right: auto; max-width: 46em; }
@media (min-width: 768px) and (max-width: 1279px) { .warm-hero .lead { max-width: 62vw; } }
.hero-en { display: inline-block; margin-top: 14px; padding: 6px 28px 7px; background: url(/img/warm/wc-green.png) repeat center; font-family: "Dancing Script", cursive;
  font-size: 20px; font-weight: 500; line-height: 1.2; color: var(--ink); letter-spacing: 0.04em; }
@media (min-width: 768px) { .hero-en { font-size: 24px; } }
/* 津田沼北口院のページの見出しの面（11/27 吉成さん「ヘッダーはオレンジのイラストに」）: 今の北口院サイトと同じ紅葉の木の絵（single-overlay.png 1600×501／
   -sp 714×432）・紙の地（bg_canvas.png）・珊瑚色の英字の帯（bg_coral.png）。絵の縦横の比は本院の絵とほぼ同じなので、余白の計算はそのまま */
.warm-hero-kita { --ovh: calc(min(100vw, 1600px) * 501 / 1600); background: #fff url(/kitaguchi/wp-content/themes/stagegroup/asset/images/bg_canvas.png) repeat; }
.warm-hero-kita .hero-ov { max-width: 1600px; }
@media (max-width: 767px) { .warm-hero-kita { --ovh: calc(100vw * 432 / 714); } .warm-hero-kita .hero-ov { max-width: none; } }
.warm-hero-kita .hero-en { background-image: url(/kitaguchi/wp-content/themes/stagegroup/asset/images/bg_coral.png); }

/* 担当医表のまわり（トップ）: 紙の地に黄色い水玉・風船・雲の絵（現行 bg_schedule-pc.png）、中央の見出しと英字、木とリスとうさぎ */
.duty-warm { position: relative; overflow: hidden; background: #fffef7 url(/img/warm/canvas.png) repeat; }
@media (min-width: 768px) { .duty-warm { background-image: url(/img/warm/duty-bg.webp), url(/img/warm/canvas.png); background-repeat: no-repeat, repeat;
  background-position: center top, 0 0; background-size: 1399px auto, auto; } }
.duty-warm .wrap { position: relative; z-index: 1; }
.duty-head { text-align: center; }
.duty-head .body { max-width: 34em; margin-left: auto; margin-right: auto; }
.duty-tree { position: absolute; left: 0; bottom: 24px; width: 120px; z-index: 0; pointer-events: none; }
.duty-cloud { position: absolute; right: 4%; top: 48px; width: 96px; z-index: 0; pointer-events: none; }
@media (min-width: 768px) { .duty-tree { width: 198px; } .duty-cloud { width: 144px; top: 72px; } }
@media (max-width: 767px) { .duty-cloud { top: 20px; } .duty-tree { display: none; } }

/* 角のツタ（現行 pickup-l.png・pickup-r.png）。白い面の左上と右下に。枠の角は四角のまま */
.ivy-box { position: relative; background: #fff; border: 2px solid #eee0cc; padding: 28px 24px 36px; }
@media (min-width: 768px) { .ivy-box { padding: 40px 48px 52px; } }
.ivy-box::before, .ivy-box::after { content: ""; position: absolute; width: 80px; height: 80px; background: no-repeat center / contain; pointer-events: none; }
.ivy-box::before { left: -18px; top: -18px; background-image: url(/img/warm/ivy-l.png); }
.ivy-box::after { right: -18px; bottom: -18px; background-image: url(/img/warm/ivy-r.png); }
@media (min-width: 768px) { .ivy-box::before, .ivy-box::after { width: 117px; height: 116px; } .ivy-box::before { left: -24px; top: -24px; } .ivy-box::after { right: -24px; bottom: -24px; } }
.ivy-box .rows { border-top: 0; }
.ivy-box .notes li:first-child { margin-top: 0; }

/* 診療案内（トップ）: 黄緑・黄色の水彩の丸（現行 btn_medical01／02）→ 実のなる木の帯（現行 bg_medical.png）→ 下の夜の森へ続く */
.med-warm { padding-bottom: 0; }
.med-head { text-align: center; max-width: 52em; margin-left: auto; margin-right: auto; }
.mcircles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 8px; justify-items: center; max-width: 900px; margin: 0 auto; }
@media (min-width: 900px) { .mcircles { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.mc { display: flex; flex-direction: column; align-items: center; justify-content: center; width: min(104px, 27vw); aspect-ratio: 138 / 131;
  background: no-repeat center / contain; color: var(--ink); text-decoration: none; transition: transform .3s var(--ease); }
@media (min-width: 768px) { .mc { width: 130px; } }
.mc-a { background-image: url(/img/warm/circle-a.png); } .mc-b { background-image: url(/img/warm/circle-b.png); }
.mc-p { font-size: 19px; font-weight: 500; line-height: 1.2; white-space: nowrap; letter-spacing: 0.02em; }
.mc-s { font-size: 12px; line-height: 1.4; }
@media (min-width: 768px) { .mc-p { font-size: 22px; } .mc-s { font-size: 13px; } }
@media (hover: hover) { .mc:hover { transform: translateY(-3px); } }
.med-trees { height: 66px; margin-top: 64px; background: url(/img/warm/medical-trees.webp) repeat-x center bottom / 700px 66px; }
@media (min-width: 768px) { .med-trees { height: 132px; margin-top: 96px; background-size: 1400px 132px; } }

/* 舌下免疫療法（トップと /slit）: くしゃみの女の子と鼻をかむ女性のイラスト（現行 illust01・illust02）。トップの節は黄緑の水彩の紙 */
.slit-warm { background: #d3e7bb url(/img/warm/wc-green.png) repeat; }
.slit-warm .steps li::before { background: #fff; }
.slit-warm .steps li:first-child::before { background: var(--green); }
.slit-ill { display: flex; align-items: flex-end; gap: 20px; margin-top: 24px; }
.slit-ill img { width: auto; max-width: 40%; height: auto; }
.slit-ill img:first-child { width: 86px; } .slit-ill img:last-child { width: 120px; }
@media (min-width: 768px) { .slit-ill img:first-child { width: 108px; } .slit-ill img:last-child { width: 150px; } }

/* 選ばれる4つの理由: 方眼の地・ピンクのリボンの見出し（現行 ttl_reason.png）・院内の実写の写真（現行 img_reason01〜04） */
.ribbon-h { max-width: 760px; margin: 0 auto; padding: 16px 56px 18px; background: url(/img/warm/ribbon.png) no-repeat center / 100% 100%; text-align: center;
  font-size: 18px; font-weight: 500; line-height: 1.5; color: var(--ink); }
@media (min-width: 768px) { .ribbon-h { font-size: 24px; padding: 18px 72px 20px; } }
.reasons-ph > li { background: #fff; border: 1px solid #eee0cc; padding: 20px 18px 24px; }
@media (min-width: 768px) { .reasons-ph > li { padding: 24px 28px 28px; } }
.rs-h { display: flex; align-items: center; gap: 12px; }
.reasons-grid .rs-h img { width: 48px; flex: none; }
.rs-ph { margin-top: 16px; max-width: 493px; aspect-ratio: 493 / 258; overflow: hidden; background: var(--beige-2); }
.reasons-grid .rs-ph img { width: 100%; height: 100%; object-fit: cover; }

/* 当クリニックについて（トップ）: 傾いた吹き出しの見出し（現行 cap_clinic.png）・院長の似顔絵（img_yamamoto.png）・副院長（img_nakamura.png） */
.about-head { text-align: center; }
.about-catch { max-width: 734px; margin: 28px auto 0; padding: 26px 40px 38px; background: url(/img/warm/bubble-clinic.png) no-repeat center / 100% 100%;
  text-align: center; font-size: 15px; font-weight: 500; line-height: 1.8; color: var(--ink); }
@media (min-width: 768px) { .about-catch { font-size: 18px; padding: 28px 56px 42px; } }
.dir-fig { position: relative; padding-bottom: 32px; }
.dir-cari { position: absolute; right: -8px; bottom: 0; width: 132px; filter: drop-shadow(0 2px 4px rgba(66, 33, 11, .18)); }
@media (min-width: 768px) { .dir-cari { width: 179px; right: -32px; bottom: -8px; } }
.vice { padding-top: 48px; border-top: 2px dotted rgba(59, 36, 18, .35); }
.vice-h { font-size: 20px; font-weight: 500; color: var(--green); }
.vice-in { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: start; margin-top: 16px; max-width: 880px; }
@media (min-width: 768px) { .vice-in { grid-template-columns: 160px 1fr; gap: 32px; } }
.vice-face { width: 100%; }
.vice-en { display: block; font-size: 13px; color: var(--sub); letter-spacing: 0.04em; }

/* 医師（/doctors）: 全身の似顔絵と吹き出しの本人のことば（現行の doctor__bubble の型）。li の id は担当医表のリンク先 */
.docgrid.doc-talks { grid-template-columns: minmax(0, 1fr); gap: 56px; }
@media (min-width: 1100px) { .docgrid.doc-talks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px 56px; } }
.docgrid.doc-talks > li { display: block; }
.doc .name { font-size: 22px; }
.doc-talk { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 16px; }
@media (min-width: 768px) { .doc-talk { grid-template-columns: 126px minmax(0, 1fr); gap: 28px; } }
@media (max-width: 359px) { .doc-talk { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; } .bubble { padding: 14px; } }
.doc-body { width: 100%; max-width: 126px; }
.bubble { position: relative; background: #fff; border: 1px solid var(--ink); border-radius: 18px; padding: 16px 18px; }
@media (min-width: 768px) { .bubble { padding: 22px 26px; } }
.bubble::before { content: ""; position: absolute; left: -9px; top: 48px; width: 16px; height: 16px; background: #fff; border-left: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transform: rotate(45deg); }
.bubble .body { font-size: 14px; line-height: 1.9; color: var(--ink); }
@media (min-width: 768px) { .bubble .body { font-size: 15px; } }
.doc-meta { margin-top: 16px; }

/* スタッフ（/doctors）: 水色と黄緑の水彩の紙を交互に塗ったカード（現行 bg_blue.png・bg_green.png）・白い二重線の縁・名前・吹き出しのことば・全身の似顔絵・資格と趣味の札 */
.staff-intro { position: relative; max-width: 900px; margin-left: auto; margin-right: auto; padding: 0 52px; }
@media (min-width: 768px) { .staff-intro { padding: 0 140px; } }
.wreath { position: absolute; top: 0; width: 44px; pointer-events: none; }
.wreath-l { left: 0; } .wreath-r { right: 0; }
@media (min-width: 768px) { .wreath { width: 110px; top: 50%; transform: translateY(-50%); } }
.staff-catch { text-align: center; font-size: 17px; font-weight: 500; line-height: 1.9; color: var(--ink); }
@media (min-width: 768px) { .staff-catch { font-size: 22px; } }
.staff-catch span { background: linear-gradient(transparent 62%, #cfe5b6 62%, #cfe5b6 88%, transparent 88%); }
/* 列: 1280px 以上は現行と同じ4列、900〜1279px は3列、600〜899px は2列、599px 以下は1列（狭い列でことばが細かく折れないように） */
.staff.staff-cards { grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: stretch; }
.staff.staff-cards > li:nth-child(n) { margin-top: 0; }
@media (min-width: 600px) { .staff.staff-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; } }
@media (min-width: 900px) { .staff.staff-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 16px; } }
@media (min-width: 1280px) { .staff.staff-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 12px; } }
.sc { position: relative; display: flex; flex-direction: column; padding: 12px 10px 14px; border: 6px double #fff; background: #acdede url(/img/warm/wc-blue.png) repeat center; }
.sc-green { background: #d3e7bb url(/img/warm/wc-green.png) repeat center; }
@media (min-width: 1280px) { .sc { padding: 14px 10px 16px; } }
.sc .staff-name { margin: 0 0 8px; padding: 0 26px; text-align: center; font-size: 16px; line-height: 1.4; }
@media (min-width: 768px) { .sc .staff-name { font-size: 18px; } }
.sc .staff-msg { position: relative; margin: 0; padding: 10px 12px; background: #fff; border-radius: 10px; font-size: 13px; line-height: 1.8; color: var(--ink); }
@media (min-width: 1280px) { .sc .staff-msg { padding: 10px; } }
.sc .staff-msg::after { content: ""; position: absolute; left: 50%; bottom: -9px; margin-left: -8px; border: 8px solid transparent; border-bottom: 0; border-top: 10px solid #fff; }
.sc-body { width: 52%; max-width: 110px; margin: 18px auto 12px; }
.sc .staff-meta { margin-top: auto; padding: 8px 10px; background: #fff; border: 3px double #473d34; font-size: 12px; color: var(--text); }
.sc .staff-meta dt { color: var(--ink); font-weight: 500; }
.sc .staff-meta > div { gap: 0; }
.sc-d { position: absolute; pointer-events: none; height: auto; }
.sc-d1 { top: 10px; right: 6px; width: 26px; } .sc-d2 { bottom: -1px; right: -7px; width: 64px; }
.sc-d3 { top: 8px; left: 2px; width: 36px; } .sc-d4 { bottom: 1px; right: -5px; width: 50px; }
@media (min-width: 768px) { .sc-d1 { width: 30px; } .sc-d2 { width: 77px; } .sc-d3 { width: 43px; } .sc-d4 { width: 60px; } }

/* フッター: 全幅の森の絵（現行 bg_footer.png・木・リス・鳥・蝶・クリニックの建物。文字の焼き込み無し）。1400px より広い画面は両端を同じ緑で埋める */
.site-footer { padding-bottom: 0; }
@media (min-width: 768px) { .site-footer { padding-bottom: 0; } }
/* 絵の下の部分（建物・リス・地面）を出す。上の空と梢は高さで切る（縮小のみ・拡大しない） */
.foot-forest { margin-top: 24px; background: linear-gradient(transparent 75%, #006837 75%); }
.foot-forest img { width: 100%; max-width: 1400px; height: min(30vw, 420px); min-height: 150px; object-fit: cover; object-position: center bottom; margin: 0 auto; }
@media (max-width: 767px) { .foot-forest { padding-bottom: 76px; background: linear-gradient(transparent 50%, #006837 50%); } }
/* 360〜599px: 1列のカードの中を、左に全身の似顔絵・右に吹き出し（似顔絵の方を指す）・下に資格と趣味の札にする（縦長になりすぎないように） */
@media (min-width: 360px) and (max-width: 599px) {
  .sc { display: grid; grid-template-columns: 88px minmax(0, 1fr); grid-template-areas: "n n" "b m" "b p"; column-gap: 14px; align-items: start; }
  .sc .staff-name { grid-area: n; }
  .sc .staff-msg { grid-area: m; }
  .sc .staff-msg::after { left: -9px; top: 22px; bottom: auto; margin-left: 0; border: 8px solid transparent; border-left: 0; border-right: 10px solid #fff; }
  .sc-body { grid-area: b; width: 88px; margin: 0; align-self: start; }
  .sc .staff-meta { grid-area: p; margin-top: 12px; }
}
/* 359px 以下: 1列で縦に（名前・吹き出し・似顔絵・札） */
@media (max-width: 359px) { .sc-body { width: 96px; } }

/* ===== 提案書（/proposal）だけで使う部品。pp- は他のページで使わない（10-03 提案書の組み直し） ===== */
/* まとめ・3段階の進め方：横に並ぶ番号つきの区画（枠でなく線で区切る） */
.pp-cols { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line-strong); }
.pp-cols > li { padding: 24px 0; border-bottom: 1px solid var(--line); }
.pp-cols .no { display: block; font-size: 13px; font-weight: 500; color: var(--green); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.pp-cols h3 { margin-top: 6px; }
.pp-cols p { margin-top: 10px; font-size: 14px; line-height: 1.9; }
@media (min-width: 1024px) {
  .pp-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; border-top: 0; }
  .pp-cols > li { border-top: 1px solid var(--line-strong); border-bottom: 0; padding-top: 20px; }
}
.bg-beige .pp-cols > li { border-bottom-color: #e2d8c9; }
/* タグ（第○段階・患者様の情報） */
.pp-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pp-tag { display: inline-block; font-size: 12px; line-height: 1.6; padding: 2px 8px; border: 1px solid var(--line-strong); color: var(--ink); letter-spacing: .04em; }
.pp-tag.s1 { background: var(--green); border-color: var(--green); color: #fff; }
.pp-tag.s2 { background: #5f6452; border-color: #5f6452; color: #fff; }
.pp-tag.s3 { background: #fff; }
.pp-tag.pi { border-color: #9a4a2f; color: #9a4a2f; background: #fff; }
/* アンケートの棒グラフ */
.pp-bars { border-top: 1px solid var(--line-strong); }
.pp-bars li { display: grid; grid-template-columns: minmax(0, 8.5em) minmax(0, 1fr) 3.2em; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.6; color: var(--ink); }
.pp-bars .b { display: block; height: 10px; background: var(--green); min-width: 4px; }
.pp-bars .b.s2 { background: #5f6452; }
.pp-bars .n { text-align: right; font-variant-numeric: tabular-nums; color: var(--sub); font-size: 13px; }
/* テーマごとのご提案：同じ型の見出しラベル */
.pp-theme > li { padding: 32px 0; border-bottom: 1px solid #e2d8c9; }
.pp-theme > li:first-child { border-top: 1px solid var(--line-strong); }
.pp-theme .lbl { display: block; margin-top: 18px; font-size: 12px; letter-spacing: .06em; color: var(--sub); }
.pp-theme .lbl + p, .pp-theme .lbl + ul { margin-top: 4px; }
.pp-theme ul.notes li:first-child { margin-top: 4px; }
.pp-ways { margin-top: 6px; border-top: 1px solid var(--line); }
.pp-ways > li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.9; }
.pp-ways b { display: block; font-weight: 500; color: var(--ink); margin-bottom: 2px; }
.pp-ways .src { margin-left: 0; margin-top: 6px; }
.route .t b { display: block; font-weight: 500; color: var(--ink); }
/* 部の扉（濃い帯）の要点 */
.pp-part .notes li { color: rgba(255,255,255,.86); }
.pp-part .notes li::before { background: var(--moon); }
.pp-part .label-part { display: block; font-size: 13px; letter-spacing: .12em; color: var(--moon); margin-bottom: 8px; }

/* ---------------------------------------------------------------- 現行サイトから移したページ（ブログ・コラム・固定ページ）
   本文は WordPress の原文のまま（.wp-body の中）。このサイトの初期化（余白0・箇条書きの印なし・画像はブロック）を本文の中だけ戻す。
   レイアウト用の旧テーマの class（w45 など）には合わせない＝縦に並べて読める形にする */
.wp-body { font-size: 15px; line-height: 2; color: var(--text); max-width: 760px; overflow-wrap: anywhere; }
.wp-body > * + *, .wp-body section + section { margin-top: 16px; }
.wp-body p { margin: 0 0 12px; }
.wp-body h2, .wp-body h3, .wp-body h4, .wp-body h5 { color: var(--ink); font-weight: 500; line-height: 1.6; margin: 40px 0 12px; }
.wp-body h2 { font-size: 20px; }
.wp-body h3 { font-size: 18px; }
.wp-body h4, .wp-body h5 { font-size: 16px; }
.wp-body ul, .wp-body ol { padding-left: 1.5em; margin: 0 0 12px; }
.wp-body ul { list-style: disc; }
.wp-body ol { list-style: decimal; }
.wp-body li + li { margin-top: 4px; }
.wp-body img { display: inline-block; max-width: 100%; height: auto; vertical-align: middle; }
.wp-body figure { margin: 16px 0; }
.wp-body table { border-collapse: collapse; width: 100%; margin: 16px 0; font-size: 14px; }
.wp-body th, .wp-body td { border: 1px solid var(--line); padding: 8px 10px; vertical-align: top; text-align: left; }
.wp-body th { background: var(--beige); color: var(--ink); font-weight: 500; }
.wp-body dl { margin: 0 0 12px; }
.wp-body dt { font-weight: 500; color: var(--ink); margin-top: 12px; }
.wp-body dd { margin: 4px 0 0; }
.wp-body a { color: var(--green); text-underline-offset: 3px; }
.wp-body blockquote { margin: 16px 0; padding: 8px 16px; border-left: 3px solid var(--line); }
.wp-body iframe { max-width: 100%; border: 0; }
.wp-body iframe[src*="youtube"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.wp-body .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-body .alignright { float: right; margin: 0 0 12px 16px; }
.wp-body .alignleft { float: left; margin: 0 16px 12px 0; }
.wp-body::after { content: ""; display: block; clear: both; }
.rows .wp-body { max-width: none; }

/* 一覧のページ送り（現行と同じ /page/N/ の形。前・次は矢印） */
.pager { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pager a, .pager .pg-cur { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 8px;
  border: 1px solid var(--line); border-radius: 22px; text-decoration: none; color: var(--text); font-variant-numeric: tabular-nums; }
.pager .pg-cur { background: var(--green); border-color: var(--green); color: #fff; }
@media (hover: hover) { .pager a:hover { border-color: var(--green); color: var(--green); } }

/* 自由ページ（個人情報保護方針など）の本文の箇条書き */
.article ul { list-style: disc; padding-left: 1.5em; margin-top: 8px; }
.article ol { list-style: decimal; padding-left: 1.5em; margin-top: 8px; }
.article li + li { margin-top: 4px; }
.article ul + p, .article ol + p { margin-top: 8px; }

/* ---------------------------------------------------------------- 移したページの型（第2段）
   一覧の行（種類の札・本文の頭）・前後の記事・カテゴリーとタグ・同じ並びのページ */
.post-row .t > .tag { margin-right: 8px; padding: 1px 8px; font-size: 12px; vertical-align: 2px; }
.post-row .ex { display: block; margin-top: 4px; font-size: 13px; line-height: 1.8; color: var(--sub); }
.tag[aria-current] { background: var(--green); color: #fff; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-nav a { display: block; padding: 14px 16px; background: var(--beige); text-decoration: none; color: var(--ink); }
.post-nav .pn-next { text-align: right; }
.post-nav .pn-k { display: block; font-size: 12px; font-weight: 500; letter-spacing: 0.06em; color: var(--green); }
.post-nav .pn-t { display: block; margin-top: 4px; font-size: 14px; line-height: 1.7; }
@media (hover: hover) { .post-nav a:hover .pn-t { color: var(--green); } }
@media (max-width: 479px) { .post-nav { grid-template-columns: minmax(0, 1fr); } .post-nav span:empty { display: none; } .post-nav .pn-next { text-align: left; } }
.post-aside { display: grid; gap: 32px; }
@media (min-width: 768px) { .post-aside { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; } }
.post-aside .tags a, .post-aside .tags span { text-decoration: none; }
.local-nav ul { display: flex; flex-wrap: wrap; gap: 8px; }
.local-nav a, .local-nav span[aria-current] { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid #cfdccb;
  background: #fff; color: var(--ink); text-decoration: none; font-size: 14px; line-height: 1.6; }
.local-nav span[aria-current] { background: var(--green); border-color: var(--green); color: #fff; }
@media (hover: hover) { .local-nav a:hover { border-color: var(--green); color: var(--green); } }

/* 移した本文の、旧テーマの部品（第2段）。原文の class に合わせて、このサイトの色と字で読める形にする（文と並び順は変えない）。
   段組みは 768px 以上だけ。端末ごとの出し分け（sp_none・rwd_disp_〇〇 など）は旧テーマと同じ意味で効かせる（同じ文が2回出ないように） */
.wp-body h2:is(.sec_ttl, .jp_ttl, .title, .inwrap, .appoint_ttl, .recruit_ttl) { font-size: 22px; margin-top: 56px; }
.wp-body :is(.ttl_sub, .en_ttl, .sec_ttl_en) { display: block; margin: 4px 0 0; font-family: "Dancing Script", cursive; font-size: 17px; font-weight: 500;
  line-height: 1.2; letter-spacing: 0.04em; color: var(--green); }
.wp-body .ttl_wrap { margin-top: 56px; }
.wp-body .ttl_wrap h2 { margin-top: 4px; }
.wp-body :is(.midashi, .locl_box__ttl, .feature_box__ttl, .box-ttl) { padding-left: 12px; border-left: 3px solid var(--green); color: var(--ink); font-weight: 500; }
.wp-body :is(.box, .box1, .inbox, .intro_box, .feature_box, .merit, .requirements) { margin: 16px 0; padding: 16px 20px; background: var(--beige); }
.wp-body :is(.box, .box1, .inbox, .intro_box, .feature_box) > :last-child { margin-bottom: 0; }
.wp-body .feature_box__ttl { margin-top: 0; }
.wp-body :is(.txt_em, .txtbold, .txt1) { font-weight: 500; color: var(--ink); }
.wp-body .txtorange { color: #a8501a; font-weight: 500; }
.wp-body .txtGreen { color: var(--green); font-weight: 500; }
.wp-body .blue2 { color: var(--night); }
.wp-body :is(.mark1, .txtmarker1) { background: linear-gradient(transparent 60%, #f6e7a8 60%); }
.wp-body .indent { padding-left: 1em; }
.wp-body :is(.mt20, .mt30) { margin-top: 20px; } .wp-body :is(.mt50, .mt80) { margin-top: 40px; } .wp-body .mb20 { margin-bottom: 20px; }
@media (min-width: 768px) { .wp-body .tac { text-align: center; } }
/* 定義の表（院長の経歴・病気の説明など）: 768px 以上は「名前｜説明」の2列 */
@media (min-width: 768px) {
  .wp-body .def_list { display: grid; grid-template-columns: minmax(8em, 30%) 1fr; border-top: 1px solid var(--line); }
  .wp-body .def_list > dt, .wp-body .def_list > dd { margin: 0; padding: 12px 8px; border-bottom: 1px solid var(--line); }
}
@media (max-width: 767px) { .wp-body .def_list > dt { margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--line); } }
/* よくあるご質問（旧テーマでは開け閉めの JS。ここでは全部開いた形） */
.wp-body :is(.ac_btn, .qalist > dt) { margin-top: 24px; font-weight: 500; color: var(--ink); }
.wp-body .ac_btn_icon { display: none; }
.wp-body :is(.ac_body, .qalist > dd) { margin-top: 8px; }
/* ページの中の位置へのリンクと、部位の切り替え（耳・鼻・のど…） */
.wp-body :is(a.scroll, a.anchor_wrap-inner, a.med_box__label) { display: inline-flex; align-items: center; min-height: 40px; margin: 0 8px 8px 0; padding: 6px 14px;
  border: 1px solid #cfdccb; background: #fff; color: var(--ink); text-decoration: none; font-size: 14px; }
.wp-body a.med_box__label.current { background: var(--green); border-color: var(--green); color: #fff; }
.wp-body a.btn { min-width: 0; height: auto; min-height: 44px; margin: 8px 8px 8px 0; padding: 8px 20px; border: 1px solid var(--green); color: var(--green);
  white-space: normal; line-height: 1.6; text-align: center; }
@media (hover: hover) { .wp-body a.btn:hover { background: var(--green); color: #fff; } }
/* 写真と文の並び（768px 以上は横に並べる） */
.wp-body :is(.about_fl, .program, .flow_col3) { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.wp-body :is(.about_fl, .program, .flow_col3) > * + * { margin-top: 0; }
.wp-body .about_fl__num span { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 8px; border-radius: 50%;
  background: var(--green); color: #fff; font-size: 13px; }
.wp-body :is(.program_box__head, .flow_col3__head, .about_fl__num) { margin-top: 8px; font-weight: 500; color: var(--ink); }
@media (min-width: 768px) {
  .wp-body .page_wrap-fl { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
  .wp-body .page_wrap-fl > * { margin-top: 0; }
  .wp-body .page_wrap-fl > .w55 { flex: 0 1 calc(55% - 12px); }
  .wp-body .page_wrap-fl > :is(.w40, .w45) { flex: 0 1 calc(45% - 12px); }
  .wp-body .page_wrap-fl > :is(.w50, .half) { flex: 1 1 calc(50% - 12px); }
}
/* 端末ごとの出し分け（旧テーマの class の意味: sp=スマホ・tb=タブレット・pc。rwd_disp_〔pc〕〔tb〕〔sp〕の o=出す・x=出さない） */
@media (max-width: 767px) { .wp-body :is(.sp_none, .tbsp_none, .rwd_disp_oox, .rwd_disp_oxx, .rwd_disp_xox) { display: none; } }
@media (min-width: 768px) and (max-width: 1023px) { .wp-body :is(.tbsp_none, .pctb_none, .rwd_disp_oxx, .rwd_disp_xxo) { display: none; } }
@media (min-width: 1024px) { .wp-body :is(.pc_none, .pctb_none, .rwd_disp_xoo, .rwd_disp_xox, .rwd_disp_xxo) { display: none; } }

/* ---------------------------------------------------------------- 移した本文の画像の出し分けと大きさ（11/27 吉成さん「アイコンの大きさ・写真の重複」）
   旧テーマは reset.css の img { width: 100%; } で画像を入れ物いっぱいにし、入れ物の幅で大きさを決めていた。
   入れ物は真似ず、画像そのものに旧サイトと同じ幅を付ける（.wp-body img の max-width: 100% はそのまま）。値は旧テーマの CSS の原文と、旧サイトを 1280px・375px で測った値 */

/* 1. 医師募集の PC 用・スマホ用の2枚（旧 doctor_recruit/css/style.css の .sp_767／.pc_767。767px で切り替え） */
@media (min-width: 768px) { .wp-body .sp_767 { display: none; } }
@media (max-width: 767px) { .wp-body .pc_767 { display: none; } }

/* 2. 見出しの頭のアイコン（旧 content.css の .appoint_ttl span／.recruit_page .recruit_ttl i は幅 1em） */
.wp-body h2:is(.appoint_ttl, .recruit_ttl) img { width: 1em; margin-right: 5px; }

/* 3. 理念などのアイコン */
/* 医師募集（旧 .anchor_icon は 110px の円に余白 30・20・10px＝中の絵 50・70・90px。1023px 以下は 75px の円に余白 20px＝35px） */
.wp-body .philosophy_mission .anchor_icon img { width: 50px; }
.wp-body .philosophy_vision .anchor_icon img { width: 70px; }
.wp-body .philosophy_value .anchor_icon img { width: 90px; }
@media (max-width: 1023px) { .wp-body :is(.philosophy_mission, .philosophy_vision, .philosophy_value) .anchor_icon img { width: 35px; } }
/* スタッフ募集（旧 content.css の .philosophy_mission／_vision／_value h2 img は 32・56・73px） */
.wp-body .philosophy_mission .icon_philosophy img { width: 32px; }
.wp-body .philosophy_vision .icon_philosophy img { width: 56px; }
.wp-body .philosophy_value .icon_philosophy img { width: 73px; }
/* スタッフ募集のリスと動物（旧 .ttl_reason_icon 70px・.ttl_reason_undericon 90px。640px 以下は 50・60px） */
.wp-body .ttl_reason_icon img { width: 70px; }
.wp-body .ttl_reason_undericon img { width: 90px; }
@media (max-width: 640px) { .wp-body .ttl_reason_icon img { width: 50px; } .wp-body .ttl_reason_undericon img { width: 60px; } }

/* 4. 医師募集の写真 */
/* 写真の帯（旧はスライダー slick で4枚並び・767px 以下は2枚並び。ここでは動かさず横スクロール） */
.wp-body .slider.autoplay { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; }
.wp-body .slider.autoplay > div { flex: 0 0 calc((100% - 24px) / 4); scroll-snap-align: start; }
@media (max-width: 767px) { .wp-body .slider.autoplay > div { flex-basis: calc((100% - 8px) / 2); } }
/* 募集の4つの丸い絵（旧 .system_article .box .box_img は 160px・1023px 以下 120px・767px 以下 80px） */
.wp-body .system_article .box_img img { width: 160px; }
@media (max-width: 1023px) { .wp-body .system_article .box_img img { width: 120px; } }
@media (max-width: 767px) { .wp-body .system_article .box_img img { width: 80px; } }
/* 魅力の3枚（旧 .appeal_box .img は 320px・1023px 以下 220px・767px 以下 180px） */
.wp-body .appeal_box > .img img { width: 320px; }
@media (max-width: 1023px) { .wp-body .appeal_box > .img img { width: 220px; } }
@media (max-width: 767px) { .wp-body .appeal_box > .img img { width: 180px; } }
/* 理事長の写真（旧 .message_img は 767px 以下で max-width 170px） */
@media (max-width: 767px) { .wp-body .message_img img { width: 170px; } }
/* 医師インタビューの顔（旧 .thumb img は高さ 220px・767px 以下 160px、幅は成り行き） */
.wp-body .interview_box .thumb img { width: auto; height: 220px; }
@media (max-width: 767px) { .wp-body .interview_box .thumb img { height: 160px; } }

/* 5. ダニ・スギの舌下免疫療法（/miticure/・/sidacure/ と下のページ）
   旧テーマは入れ物の幅で、画像を原寸のほぼ半分に縮めていた（旧 miticure・sidacure/css/pageparts.css）。
   幅は旧サイトを 1280px で開いて測った値。"cure/img/" は miticure と sidacure の両方に当たる。imgChange の画像は JS で src が変わるので data-src で選ぶ */
/* 症状の4つの絵（旧 #index #sec_2 .cont1 .list1 > li { width: 126px }・767px 以下 88px） */
.wp-body .list1 > li > img.imgChange { width: 126px; }
@media (max-width: 767px) { .wp-body .list1 > li > img.imgChange { width: 88px; } }
/* トップの図（旧 .cont2 .cnt_left .img1 { width: 268px }・639px 以下 max-width 206px／.cont2 .cnt_right { width: 480px }／639px 以下 .cont3 .cnt_right .img1 { max-width: 258px }） */
.wp-body img[data-src$="cure/img/index/s2_img5.png"] { width: 268px; }
.wp-body img[src$="cure/img/index/s2_img6.png"] { width: 480px; }
@media (max-width: 639px) {
  .wp-body img[data-src$="cure/img/index/s2_img5.png"] { width: 206px; }
  .wp-body img[data-src$="cure/img/index/s2_img7.png"] { width: 258px; }
}
/* 注意点（旧 #remarks #sec_2 .box1 .imgbox { width: 270px }・#sec_3 .list1 > li { width: 25% }＝197px。767px 以下は旧も大きく出していた） */
.wp-body img[src$="cure/img/remarks/s2_img1.png"] { width: 270px; }
@media (min-width: 768px) { .wp-body img[src*="miticure/img/remarks/s3_img"] { width: 197px; } }
/* 治療（旧 #treatment #sec_1 .img1 img { width: 232px }・.img2 { max-width: 366px }・#sec_3 の .img1_1／.img1_2 img） */
.wp-body img[src$="cure/img/treatment/s1_img1.png"] { width: 232px; }
.wp-body img[src$="cure/img/treatment/s1_img2.png"] { width: 366px; }
.wp-body img[src$="miticure/img/treatment/s3_img1.png"] { width: 178px; }
.wp-body img[src$="miticure/img/treatment/s3_img2.png"] { width: 162px; }
.wp-body img[src$="sidacure/img/treatment/s3_img1.png"] { width: 174px; }
.wp-body img[src$="sidacure/img/treatment/s3_img2.png"] { width: 215px; }
/* 有効性（旧 #effective の .img1 max-width 368px・.img2 max-width 434px・.spscrollimg max-width 512px など。1280px での実測値） */
.wp-body img[src$="miticure/img/effective/s1_img1.png"] { width: 362px; }
.wp-body img[src$="miticure/img/effective/s1_img2.png"] { width: 421px; }
.wp-body img[src$="miticure/img/effective/s4_img1.png"] { width: 512px; }
.wp-body img[src$="sidacure/img/effective/s1_img1.png"] { width: 386px; }
.wp-body img[src$="sidacure/img/effective/s2_img1.png"] { width: 516px; }
/* よくある質問（旧 #qa #sec_1 .img1 img { width: 280px }（スギは 257px）・639px 以下 max-width 220px／.box2 .img2 img は max-width 370・350px（スギは 380px）／.img3 img は 767px 以下 max-width 194px） */
.wp-body img[src$="miticure/img/qa/s1_img1.png"] { width: 280px; }
.wp-body img[src$="sidacure/img/qa/s1_img1.png"] { width: 257px; }
.wp-body img[src$="miticure/img/qa/s1_img2.png"] { width: 370px; }
.wp-body img[src$="miticure/img/qa/s1_img3.png"] { width: 350px; }
.wp-body img:is([src$="sidacure/img/qa/s1_img2.png"], [src$="sidacure/img/qa/s1_img3.png"]) { width: 380px; }
@media (max-width: 639px) { .wp-body img[src$="cure/img/qa/s1_img1.png"] { width: 220px; } }
@media (max-width: 767px) { .wp-body img[data-src$="cure/img/qa/s1_img4_.png"] { width: 194px; } }

/* 6. 文中の改行（旧 base.css の .disp_pc は 1023px 以下で、旧 initset.css の .tablethide は 1040px 以下で消す） */
@media (max-width: 1023px) { .wp-body br.disp_pc { display: none; } }
@media (max-width: 1040px) { .wp-body br.tablethide { display: none; } }
/* ページの中の位置へ来たとき（病気の旧URLからの転送 #nose_〇 など）、上の固定のヘッダーに隠れないように */
.wp-body [id], details.more[id] { scroll-margin-top: 140px; }

/* ---------------------------------------------------------------- 医師募集の応募フォーム（/doctor_recruit/・confirm・completion。build.py の recruit_page） */
.rc { max-width: 760px; }
.rc-dl { border-top: 1px solid var(--line-strong); }
.rc-row { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 20px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .rc-row { grid-template-columns: 200px 1fr; gap: 24px; align-items: start; } }
.rc-row dt { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--ink); padding-top: 10px; }
.rc-confirm .rc-row dt { padding-top: 0; }
.rc-row dd { margin: 0; font-size: 15px; line-height: 1.8; color: var(--text); white-space: pre-wrap; overflow-wrap: anywhere; }
.rc-row dd.rc-none { color: var(--sub); }
.rc-req, .rc-opt { font-size: 11px; line-height: 1; padding: 4px 8px; border-radius: 999px; letter-spacing: 0.06em; font-weight: 500; white-space: nowrap; }
.rc-req { background: var(--green); color: #fff; }
.rc-opt { background: var(--beige-2); color: var(--sub); }
.rc input, .rc textarea { width: 100%; font: inherit; font-size: 16px; line-height: 1.6; color: var(--ink); background: #fff;
  border: 1px solid #cbbfae; border-radius: 6px; padding: 10px 14px; }
.rc textarea { resize: vertical; min-height: 120px; }
.rc input.rc-short { width: 6em; }
.rc-unit { margin-left: 8px; font-size: 15px; color: var(--text); }
.rc input:focus-visible, .rc textarea:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.rc [aria-invalid="true"] { border-color: #b3261e; }
.rc-err { margin-top: 6px; font-size: 13px; color: #b3261e; }
.rc-msg { margin-top: 24px; padding: 14px 18px; border: 1px solid #e3b4ae; background: #fdf1ef; color: #8c1d16; border-radius: 6px; font-size: 14px; line-height: 1.8; }
.rc-btns { margin-top: 40px; }
.rc .btn[disabled] { opacity: .5; cursor: progress; }
.rc-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.rc fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.rc fieldset[disabled] { opacity: .55; }
.rc button.btn { border: 0; font-family: inherit; cursor: pointer; }
@media (hover: hover) { .rc button.btn-green:not([disabled]):hover { background: var(--green-d); } }

/* ==== 12-01 打ち合わせ B: 下のページ ==== */
/* B3 医師紹介: 「医師」「スタッフ」の見出しを真ん中に（吉成さん「左寄りではなく真ん中へ」） */
.b-center { text-align: center; }

/* B2 診療案内（/medical/）: 部位ごとの病気を同じ大きさのカード・同じ形のボタンに */
.med-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 640px) { .med-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1024px) { .med-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.med-card { display: flex; flex-direction: column; padding: 28px 24px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.med-card .sub { font-size: 20px; color: var(--green); }
.med-card .body { flex: 1 0 auto; }
.med-card-btns { display: grid; gap: 10px; }
.med-card-btns .btn { width: 100%; min-width: 0; }

/* B2 病気の解説（/medical-treatment/〔部位〕/）の部位のタブ（今のサイトと同じく6つを本文の上に。今いる部位は緑） */
.med-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 32px; }
@media (min-width: 768px) { .med-tabs { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.med-tabs a, .wp-body .med-tabs a { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 6px 8px; border: 1px solid #cfdccb;
  border-radius: 6px 6px 0 0; background: #fff; color: var(--ink); font-size: 14px; line-height: 1.4; text-align: center; text-decoration: none; }
.med-tabs a[aria-current="page"], .wp-body .med-tabs a[aria-current="page"] { background: var(--green); border-color: var(--green); color: #fff; }
@media (hover: hover) { .med-tabs a:not([aria-current]):hover { border-color: var(--green); color: var(--green); } }
.wp-body .med_box > .med-tabs { margin-top: 16px; }
@media (max-width: 479px) { .med-tabs a, .wp-body .med-tabs a { padding: 6px 4px; font-size: 13px; letter-spacing: 0.02em; } }

/* B10 ダニ・スギの舌下免疫療法のトップの上の絵と文（今のサイトの #mainv_index と同じ並び。PC は文が左・絵が右、スマホは文→絵→文）。
   右下の橙の帯は、スタッフが毎月変える人数（色は今のサイトの #f15a24 を、白い字が読める濃さに落とした） */
.slit-mv { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 56px; }
@media (min-width: 768px) {
  .slit-mv { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); grid-template-areas: "txt fig" "t4 fig"; column-gap: 24px; row-gap: 16px; }
  .slit-mv-txt { grid-area: txt; align-self: end; }
  .slit-mv-fig { grid-area: fig; }
  .slit-mv4 { grid-area: t4; }
}
.slit-mv1 { font-size: 16px; font-weight: 500; line-height: 1.7; color: var(--green); }
.slit-mv2 { font-size: 16px; font-weight: 500; line-height: 1.7; letter-spacing: 0.04em; color: var(--ink); }
@media (min-width: 768px) { .slit-mv2 { font-size: 18px; } }
@media (min-width: 1024px) { .slit-mv2 { font-size: 21px; } }
.slit-mv3 { margin-top: 8px; }
.slit-mv3 span { display: inline-block; margin-top: 8px; padding: 2px 10px; background: #fff000; color: var(--green); font-size: 18px; font-weight: 500; line-height: 1.6;
  letter-spacing: 0.02em; }
@media (min-width: 768px) { .slit-mv3 span { font-size: 21px; } }
@media (min-width: 1024px) { .slit-mv3 span { padding: 2px 12px; font-size: 26px; } }
.slit-mv4 { font-weight: 500; line-height: 1.9; color: var(--text); }
.slit-mv-fig { position: relative; margin: 0; }
.slit-mv-fig img { width: 100%; }
.slit-count { position: absolute; left: 0; right: 0; bottom: 8%; padding: 6px 15px; background: #c2410c; color: #fff; font-size: 14px; line-height: 1.7; }
@media (min-width: 768px) { .slit-count { left: 12%; } }
.slit-count .slit-n { font-weight: 500; font-variant-numeric: tabular-nums; }
/* 鼻のムズムズ・鼻水・鼻づまり・目のかゆみの4つの絵を横並びに（今のサイトと同じく PC は4つ並び 126px・767px 以下は 2×2 で 88px） */
.wp-body ul.list1:has(> li > img[data-src*="cure/img/index/s2_img"]) { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; padding: 0; list-style: none; }
.wp-body ul.list1:has(> li > img[data-src*="cure/img/index/s2_img"]) > li { margin: 0; }
@media (max-width: 767px) {
  .wp-body ul.list1:has(> li > img[data-src*="cure/img/index/s2_img"]) { display: grid; grid-template-columns: repeat(2, 88px); justify-content: center; gap: 10px 15px; }
}

/* B10 「南口本院希望の方はこちら」「北口分院希望の方はこちら」と、押したときの確かめる箱（原文の .modal_box は隠し、文だけ箱に写す） */
.wp-body .modal_box { display: none; }
.wp-body ul.btn_reserve { display: flex; flex-wrap: wrap; gap: 12px; margin: 12px 0 4px; padding: 0; list-style: none; }
.wp-body ul.btn_reserve > li { margin: 0; }
.wp-body a.modal_open { display: inline-flex; align-items: center; min-height: 48px; padding: 8px 24px; border-radius: 999px; background: var(--green); color: #fff;
  font-weight: 500; line-height: 1.5; text-decoration: none; }
.wp-body a.modal_open.kitaguchi { background: #f6b26b; color: var(--ink); }
@media (hover: hover) { .wp-body a.modal_open:hover { background: var(--green-d); } .wp-body a.modal_open.kitaguchi:hover { background: #f3a04c; } }
.rsv-confirm { width: min(calc(100vw - 32px), 440px); padding: 44px 24px 28px; border: 0; border-radius: 12px; background: #fff; color: var(--text);
  box-shadow: 0 12px 40px rgba(40, 25, 10, .25); }
.rsv-confirm::backdrop { background: rgba(40, 25, 10, .55); }
.rsv-confirm-msg { font-size: 17px; font-weight: 500; line-height: 1.8; color: var(--ink); text-align: center; }
.rsv-confirm-msg span { color: var(--green); }
.rsv-confirm.is-kita .rsv-confirm-msg span { color: #a14a06; }
.rsv-confirm-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.rsv-confirm-btns .btn { min-width: 120px; height: 48px; }
.rsv-confirm-btns button.btn { background: #fff; font-family: inherit; cursor: pointer; }
@media (hover: hover) { .rsv-confirm-btns button.btn-line:hover { background: var(--ink); color: #fff; } }
.rsv-confirm-x { position: absolute; top: 6px; right: 6px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: var(--sub);
  font-size: 16px; cursor: pointer; }
@media (hover: hover) { .rsv-confirm-x:hover { background: var(--beige); } }

/* B10 舌下免疫療法（/sublingual_immunotherapy/）の下のバナー（アレルゲン免疫療法ナビ） */
.slit-bnrs ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.slit-bnrs a { display: block; border: 1px solid var(--line); }
.slit-bnrs img { width: 325px; }

/* B12 一覧のページ送り:「1 2 3 … 28」と「前へ」「次へ」 */
.pager .pg-gap { display: inline-flex; align-items: center; justify-content: center; min-width: 16px; height: 44px; color: var(--sub); }
.pager a.pg-arrow { gap: 6px; padding: 0 16px; }
@media (max-width: 479px) {
  .pager { justify-content: center; gap: 8px 4px; }
  .pager a, .pager .pg-cur { min-width: 40px; height: 40px; }
  .pager a.pg-arrow { order: 1; flex: 0 0 calc(50% - 2px); }
}

/* B7 患者様の声（/voice/）: 上の説明文と、1件ずつの絵（今のサイトと同じく横幅いっぱい）と日付・担当 */
.list-intro { max-width: 760px; margin-bottom: 40px; }
.list-intro p + p { margin-top: 8px; }
.voice-list { border-top: 1px solid var(--line); }
.voice-list > li { padding: 32px 0; border-bottom: 1px solid var(--line); }
.voice-list .wp-body { max-width: 1000px; }
.voice-list .wp-body img { display: block; width: 100%; max-width: 1000px; }
.voice-list .voice__date { margin: 12px 0 0; font-size: 13px; line-height: 1.8; color: var(--sub); }

/* B6 ドロップスクリーン（/dropscreen/）: 写真は真ん中に並べる */
.article .drop-figs { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; margin: 24px 0; }
.article .drop-figs img { display: block; }

/* B4 ごあいさつ（/greeting/）: 移した本文の絵を今のサイトと同じ大きさに（12/1 に今のサイトを 1280px・375px で測った値。ロゴ 203px・767px 以下 165px／院長の写真 387px） */
.wp-body .concept_box__logo img { width: 203px; }
@media (max-width: 767px) { .wp-body .concept_box__logo img { width: 165px; } }
.wp-body .doc_box__img img { width: 387px; }


/* ==== 12-01 打ち合わせ C: いびき外来 ==== */
/* いびき外来（/sas/ の下）だけに効く。sas_site.py の header() が開く .sas-site の中（と、sas- で始まる部品）だけ。
   12/1 院長「今のいびきのホームページは…そのまま移植してほしい」。今のいびき外来のサイト（sas_theme）の見た目を、テーマの CSS を写さずに作り直した。
   色: 紺 #234872・水色 #71afd1・薄い水色 #f0f5f9・予約の緑 #108d3c・フッターの夜の紺 #02146e。字: 游ゴシック（英字は Montserrat）。
   幅の切り替えは今のテーマと同じ 1024px（PC／タブレット・スマホ）と 640px（スマホ）。画像は今のサイトと同じパス（static/sas/…/sas_theme/） */
.sas-site { --sas-navy: #234872; --sas-blue: #71afd1; --sas-pale: #f0f5f9; --sas-green: #108d3c; --sas-green-h: #15bb4f; --sas-night: #02146e;
  /* このサイトの共通の部品（同じ並びの帯・カテゴリーとタグ・ページ送り・移した本文の印）も、いびき外来の中では紺と水色に */
  --ink: #234872; --text: #234872; --sub: #4d6584; --green: #234872; --green-d: #1a3758; --leaf: #f0f5f9; --beige: #f0f5f9; --beige-2: #e3edf5; --line: #dcdcdc;
  font-family: "游ゴシック", YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif; font-weight: 500; color: var(--sas-navy); letter-spacing: 0; }
.sas-site::after { content: ""; display: block; height: 0; background: var(--sas-night); }
.sas-site :focus-visible { outline-color: var(--sas-navy); }
:is(.sas-gnav, .sas-footer, .sas-fixed, .sas-treat, .sas-about) :focus-visible { outline-color: #fff; }
/* 端末ごとの出し分け（今のテーマの pc_none・tbsp_none・rwd_disp_xxo と同じ意味） */
@media (max-width: 1023px) { .sas-pc-only, br.sas-pc { display: none; } }
@media (min-width: 1024px) { .sas-sp-only, br.sas-sp { display: none; } }
@media (min-width: 640px) { br.sas-xs { display: none; } }

/* ---- ヘッダー（スマホ・タブレット: 白い帯にロゴと紺の MENU。PC: ロゴ・電話・インターネット予約の段と、紺のメニューの帯） */
.sas-header { position: sticky; top: 0; z-index: 50; background: #fff; }
.sas-hd { display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 0 6px 0 2%; }
.sas-logo { display: block; width: min(75%, 360px); }
.sas-logo img { width: 100%; height: auto; }
.sas-hd-contact { display: none; }
.sas-burger { position: relative; flex: none; width: 50px; height: 50px; padding: 0; border: 0; background: var(--sas-navy); cursor: pointer; }
.sas-burger > span { position: absolute; left: 10px; width: 30px; height: 2px; background: #fff; transition: transform .3s, top .3s; }
.sas-burger > span:nth-child(1) { top: 8px; }
.sas-burger > span:nth-child(2) { top: 18px; }
.sas-burger > span:nth-child(3) { top: 28px; }
.sas-burger::after { content: "MENU"; position: absolute; left: 0; right: 0; bottom: 6px; font: 300 10px/1 Montserrat, sans-serif; letter-spacing: .02em; color: #fff; text-align: center; }
.sas-burger[aria-expanded="true"]::after { content: "CLOSE"; }
.sas-burger[aria-expanded="true"] > span:nth-child(1) { top: 18px; transform: rotate(-45deg); }
.sas-burger[aria-expanded="true"] > span:nth-child(2), .sas-burger[aria-expanded="true"] > span:nth-child(3) { top: 18px; transform: rotate(45deg); }
/* スマホのメニュー: 水色の段を縦に並べ、段を押すと下の項目が開く。一番下は本院のサイトへの緑の段 */
.sas-gnav { display: none; position: fixed; top: 60px; left: 0; right: 0; bottom: 0; z-index: 49; overflow-y: auto; overscroll-behavior: contain;
  padding-bottom: 100px; background: rgba(2, 20, 60, .25); }
.sas-gnav.is-open { display: block; }
.sas-mi { background: var(--sas-blue); border-bottom: 1px solid #fff; }
.sas-top { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 20px 44px; border: 0; background: none;
  color: #fff; font: inherit; font-size: 16px; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; }
.sas-en { font-family: Montserrat, sans-serif; font-weight: 300; font-size: 12px; color: #e5f0f6; }
.sas-chev { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); transition: transform .3s; }
.sas-drop[aria-expanded="true"] .sas-chev { transform: translateY(-50%) rotate(180deg); }
.sas-mi.is-current > .sas-top { background: var(--sas-navy); }
.sas-sub { display: none; }
.sas-drop[aria-expanded="true"] + .sas-sub { display: block; }
.sas-sub a { display: block; padding: 20px; border-top: 1px dashed #ccc; color: #fff; font-size: 16px; font-weight: 700; line-height: 1.4; text-align: center; text-decoration: none; }
.sas-sub a[aria-current] { text-decoration: underline; text-underline-offset: 4px; }
.sas-tohome { background: var(--sas-green); }
.sas-tohome .sas-top { padding: 12px 20px 10px; line-height: 1.4; }
html.menu-open .sas-header { padding-right: var(--sbw, 0px); }
@media (min-width: 1024px) {
  /* PC: 上の段（ロゴと電話）は流れ、紺のメニューの帯だけが上に残る（今のサイトは送ると上に固定の帯が出る） */
  .sas-header { top: -116px; }
  .sas-hd { width: 99%; max-width: 1200px; height: 116px; margin: 0 auto; padding: 10px 0 20px; align-items: flex-end; }
  .sas-logo { width: 48%; max-width: 500px; }
  .sas-hd-contact { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: flex-end; width: 52%; }
  .sas-burger { display: none; }
  .sas-gnav { display: block; position: static; overflow: visible; padding: 0; background: var(--sas-navy); }
  .sas-menu { display: flex; width: 90%; max-width: 1200px; margin: 0 auto; }
  .sas-mi { position: relative; flex: 1; background: none; border: 0; }
  .sas-top { flex-direction: column; gap: 5px; padding: 18px 0; }
  .sas-en { color: #bedaea; }
  .sas-chev { display: none; }
  .sas-mi.is-current > .sas-top { background: var(--sas-blue); }
  @media (hover: hover) { .sas-top:hover { background: var(--sas-blue); } }
  /* 下の段: 紺の帯の項目に乗せるか押すと、白い札で下に出る（今のサイトと同じ） */
  .sas-sub { position: absolute; top: 100%; left: 0; z-index: 60; width: 150%; }
  .sas-mi:nth-child(5) .sas-sub { left: auto; right: 0; }
  .sas-mi:hover > .sas-sub { display: block; }
  .sas-sub li { margin-bottom: 2px; background: rgba(255, 255, 255, .95); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
  .sas-sub a { position: relative; padding: 10px 12px 10px 24px; border: 0; color: var(--sas-navy); font-size: 14px; }
  .sas-sub a::before { content: ""; position: absolute; left: 10px; top: 50%; border: 5px solid transparent; border-left: 6px solid var(--sas-blue); border-right: 0; transform: translateY(-50%); }
  @media (hover: hover) { .sas-sub a:hover { opacity: .7; } }
  .sas-tohome { display: none; }
}
/* 電話2つとインターネット予約（ヘッダーとフッターの「ご予約・お問い合わせ」で同じ形） */
:is(.sas-hd-tel, .sas-fc-tel, .sas-hd-resv, .sas-fc-resv) { display: inline-flex; align-items: center; margin-right: 10px; color: var(--sas-navy);
  font-size: 24px; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
:is(.sas-hd-resv, .sas-fc-resv) { align-items: flex-end; }
.sas-ic { flex: none; margin-right: 5px; color: var(--sas-blue); }
:is(.sas-hd-tel, .sas-fc-tel) .sas-ic { width: 24px; height: 24px; }
:is(.sas-hd-resv, .sas-fc-resv) .sas-ic { width: 30px; height: 30px; }
.sas-site ruby rt { font-size: 10px; font-weight: 700; letter-spacing: .1em; }
:is(.sas-hd-web, .sas-fc-web) { display: flex; align-items: center; justify-content: center; gap: 0; width: 100%; max-width: 420px; margin-top: 6px; padding: 10px 0;
  border-radius: 50px; background: var(--sas-green); color: #fff; font-size: 16px; font-weight: 700; line-height: 1.4; text-decoration: none; transition: background-color .2s; }
:is(.sas-hd-web, .sas-fc-web) .sas-ic { margin-right: 20px; color: #fff; }
@media (hover: hover) { :is(.sas-hd-web, .sas-fc-web):hover { background: var(--sas-green-h); } }
@media (hover: hover) { :is(.sas-hd-tel, .sas-fc-tel, .sas-hd-resv, .sas-fc-resv):hover { opacity: .75; } }

/* ---- スマホ・タブレットの下の固定バー（お問い合わせ・予約専用・インターネット予約） */
.sas-fixed { position: fixed; left: 0; right: 0; bottom: 0; z-index: 48; display: flex; background: var(--sas-navy); padding-bottom: env(safe-area-inset-bottom); }
.sas-fixed a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 52px; padding: 10px 5px; color: #fff;
  font-size: 11px; font-weight: 700; line-height: 1.3; text-align: center; text-decoration: none; }
.sas-fixed .sas-ic { width: 20px; height: 20px; margin: 0; }
.sas-fixed .sas-ic-resv { width: 24px; height: 24px; }
.sas-fx-tel { width: 32%; border-right: 1px solid #fff; }
.sas-fx-resv { width: 26%; }
.sas-fx-web { width: 42%; background: var(--sas-green); }
.sas-fx-web .sas-ic { color: #fff; }
@media (min-width: 640px) and (max-width: 1023px) { .sas-fixed a { font-size: 14px; } .sas-fixed .sas-ic { width: 28px; height: 28px; } }
@media (max-width: 1023px) { .sas-site::after { height: calc(52px + env(safe-area-inset-bottom)); } }
@media (min-width: 1024px) { .sas-fixed { display: none; } }

/* ---- フッター（SNS・ご予約・お問い合わせ・院の情報・夜の森の絵の上のメニューとバナー） */
.sas-sns { padding: 50px 0; }
.sas-sns ul { display: flex; justify-content: center; gap: 20px; }
.sas-sns a { display: grid; place-items: center; width: 60px; height: 60px; border: 2px solid var(--sas-navy); border-radius: 50%; color: var(--sas-navy);
  transition: background-color .3s, color .3s; }
.sas-sns svg { width: 28px; height: auto; }
@media (hover: hover) { .sas-sns a:hover { background: var(--sas-navy); color: #fff; } }
.sas-fcontact { display: flex; justify-content: center; align-items: center; padding: 50px 0; background: var(--sas-pale); }
.sas-fc-h { margin-right: 50px; font-size: 30px; font-weight: 700; line-height: 1.4; color: var(--sas-navy); }
.sas-fc-r { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; max-width: 440px; }
.sas-fc-web { margin-top: 20px; }
.sas-finfo { width: 95%; max-width: 1200px; margin: 0 auto; padding: 50px 0; }
.sas-fi-logo { width: 500px; max-width: 100%; margin: 0 auto; }
.sas-fi-logo img { width: 100%; height: auto; }
.sas-fi-fl { display: flex; margin-top: 30px; }
.sas-fi-time { flex: none; width: 350px; align-self: flex-start; padding: 20px; background: var(--sas-navy); color: #fff; font-size: 14px; }
.sas-hours { width: 100%; border-collapse: collapse; }
.sas-hours :is(th, td) { padding: 5px 0; border-bottom: 1px solid rgba(255, 255, 255, .3); font-weight: 400; line-height: 1.5; text-align: center; }
.sas-hours :is(thead th:first-child, tbody th) { width: 100px; padding-right: 10px; text-align: right; white-space: nowrap; }
.sas-hours td:is(.sas-hr-r, .sas-hr-n) { border: 0; font-size: 12px; }
.sas-hours td.sas-hr-r { text-align: right; }
.sas-hours td.sas-hr-n { text-align: left; }
.sas-fi-addr { margin-left: 30px; }
.sas-fi-name { margin-bottom: 10px; font-weight: 700; line-height: 1.5; }
.sas-fi-li { padding-left: 1em; text-indent: -1em; font-size: 14px; line-height: 1.6; }
.sas-fi-li a { color: inherit; text-decoration: none; }
.sas-fi-map { flex: 0 1 300px; margin-left: 30px; }
.sas-fi-map img { width: 100%; height: auto; }
.sas-footer { position: relative; padding: 50px 0 45vw; background: var(--sas-night) url(/sas/wp-content/themes/sas_theme/asset/images/bg_footer.png) center bottom / contain no-repeat;
  color: #fff; }
.sas-ft-in { width: 95%; max-width: 1200px; margin: 0 auto; }
.sas-fnav { display: flex; justify-content: space-evenly; font-size: 14px; line-height: 2; }
.sas-fn-h { margin-bottom: 5px; font-size: 16px; font-weight: 700; }
.sas-fnav a { display: block; padding: 3px 0; color: #fff; text-decoration: none; }
@media (hover: hover) { .sas-fnav a:hover { opacity: .6; text-decoration: underline; } }
.sas-fnav ul { margin-bottom: 20px; }
.sas-bnr { display: flex; flex-wrap: wrap; margin-top: 20px; }
.sas-bnr-main { width: 25%; padding: 0 15px; }
.sas-bnr-row { display: flex; flex-wrap: wrap; align-content: space-between; width: 75%; }
.sas-bn { width: 33.3%; padding: 0 15px; }
.sas-bnr a { display: block; transition: opacity .3s; }
@media (hover: hover) { .sas-bnr a:hover { opacity: .6; } }
.sas-bnr img { width: 100%; height: auto; border-radius: 3px; }
.sas-copy { position: absolute; left: 0; right: 0; bottom: 20px; padding: 0 16px; font-size: 12px; line-height: 1.6; text-align: center; }
.sas-pagetop { position: fixed; right: 10px; bottom: -100%; z-index: 20; width: 60px; opacity: .8; transition: bottom .5s; }
.sas-pagetop.is-on { bottom: 10px; }
.sas-pagetop img { width: 100%; height: auto; }
@media (max-width: 1023px) {
  .sas-fcontact { display: block; }
  .sas-fc-h { margin-right: 0; text-align: center; }
  .sas-fc-r { margin: 20px auto 0; }
  .sas-finfo { width: 90%; max-width: 500px; }
  .sas-fi-logo { width: 80%; }
  .sas-fi-fl { display: block; }
  .sas-fi-time { width: 100%; }
  .sas-hours :is(thead th:first-child, tbody th) { width: 120px; }
  .sas-fi-addr { margin: 20px 0 0; }
  .sas-fi-map { margin: 20px 0 0; }
  .sas-fnav { display: none; }
  .sas-bnr-main { width: 100%; margin-bottom: 20px; }
  .sas-bnr-row { width: 100%; }
  .sas-bn { width: 50%; margin-bottom: 20px; }
  .sas-pagetop { display: none; }
}
@media (max-width: 639px) {
  .sas-sns { padding: 30px 0; }
  .sas-sns ul { gap: 10px; }
  .sas-sns a { width: 40px; height: 40px; }
  .sas-sns svg { width: 20px; }
  .sas-fcontact { padding: 30px 16px; }
  .sas-fc-h { font-size: 20px; }
  :is(.sas-fc-tel, .sas-fc-resv) { font-size: 16px; }
  .sas-fc-resv { margin-right: 0; }
  :is(.sas-fc-tel, .sas-fc-resv) .sas-ic { width: 20px; height: 20px; }
  .sas-fc-web { width: 90%; max-width: 290px; margin: 20px auto 0; font-size: 14px; }
  .sas-finfo { padding: 30px 0; }
  .sas-fi-fl { margin-top: 20px; }
  .sas-fi-time { padding: 10px; }
  .sas-fi-addr .sas-btn-s { margin: 20px auto 0; }
  .sas-bnr { width: 90%; margin: 0 auto; }
  .sas-bnr-main, .sas-bn { width: 100%; padding: 0; }
}

/* ---- ボタン（紺の線の角丸・矢印。今のテーマの .btn） */
.sas-btn { width: 280px; max-width: 100%; margin: 50px auto 0; }
.sas-btn a { display: flex; align-items: center; justify-content: center; gap: 20px; /* 文は span に入れてある（<wbr> で別の塊にならないよう） */ padding: 20px 12px; border: 2px solid var(--sas-navy); border-radius: 50px;
  color: var(--sas-navy); font-size: 16px; font-weight: 700; line-height: 1.4; text-align: center; text-decoration: none; transition: background-color .2s, color .2s; }
.sas-arr { flex: none; }
@media (hover: hover) { .sas-btn a:hover { background: var(--sas-navy); color: #fff; } }
.sas-btn-s { width: 250px; margin: 20px 0 0; }
.sas-btn-s a { gap: 12px; padding: 15px 8px; font-size: 14px; }
@media (max-width: 639px) { .sas-btn { width: 230px; margin-top: 30px; } .sas-btn a { font-size: 14px; } }

/* ---- トップ: 写真の面（「そのいびき、そのままで大丈夫？」） */
.sas-mv { position: relative; height: 600px; background: url(/sas/wp-content/themes/sas_theme/asset/images/img_mv01.png) center / cover no-repeat; }
.sas-mv-txt { position: absolute; left: 100px; bottom: 100px; color: #fff; font-size: 50px; font-weight: 700; line-height: 1.2; letter-spacing: 0; }
.sas-mv-sub { position: absolute; right: 50px; bottom: 50px; padding: .666em .666em .5em; background: var(--sas-navy); color: #fff; font-size: 24px; font-weight: 700; line-height: 1; }
@media (max-width: 1023px) { .sas-mv { height: 400px; } .sas-mv-txt { left: 60px; bottom: 60px; font-size: 40px; } .sas-mv-sub { right: 20px; bottom: 20px; font-size: 16px; } }
@media (max-width: 639px) { .sas-mv { height: 300px; } .sas-mv-txt { left: 10px; bottom: 50px; font-size: 30px; } .sas-mv-sub { right: 10px; bottom: 10px; font-size: 12px; } }
/* 見出し（水色の英字＋紺の大きな題） */
.sas-ttl { text-align: center; }
.sas-ttl-l { text-align: left; }
.sas-en-ttl { font-family: Montserrat, sans-serif; font-size: 16px; font-weight: 700; line-height: 1.5; color: var(--sas-blue); }
.sas-jp-ttl { font-size: 40px; font-weight: 700; line-height: 1.5; letter-spacing: 3px; color: var(--sas-navy); }
.sas-ttl-w :is(.sas-en-ttl, .sas-jp-ttl) { color: #fff; }
@media (max-width: 1023px) { .sas-jp-ttl { font-size: 30px; } .sas-cpap .sas-ttl-l { text-align: center; } }
@media (max-width: 639px) { .sas-jp-ttl { font-size: 20px; letter-spacing: 0; } .sas-en-ttl { font-size: 14px; } }
/* 本文（太字に下線の強調は今のテーマと同じ） */
.sas-desc { margin-top: 50px; font-size: 16px; line-height: 1.6; }
.sas-desc p + p { margin-top: 20px; }
.sas-desc .sas-em { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1023px) { .sas-desc { margin-top: 20px; } }
@media (max-width: 639px) { .sas-desc { font-size: 14px; line-height: 1.8; } .sas-desc p + p { margin-top: 10px; } }

/* お知らせ・トピックス（左は白・右は薄い水色の2列。日付の札は お知らせ=水色・トピックス=紺） */
.sas-news { padding: 50px 0; background: linear-gradient(90deg, #fff 50%, var(--sas-pale) 50%); }
.sas-news-in { display: flex; }
.sas-news-news, .sas-news-topics { width: 50%; padding: 0 50px; }
.sas-posts { margin-top: 10px; }
.sas-post { display: flex; align-items: baseline; gap: 10px; padding: 20px 0; border-bottom: 1px solid #dcdcdc; color: var(--sas-navy); line-height: 1.5; text-decoration: none; }
@media (hover: hover) { .sas-post:hover { opacity: .7; } }
.sas-post-d { flex: none; padding: 5px; background: var(--sas-navy); color: #fff; font-size: 14px; line-height: 1.2; text-align: center; font-variant-numeric: tabular-nums; }
.sas-news-news .sas-post-d { background: var(--sas-blue); }
.sas-news > .sas-btn { margin-top: 50px; }
@media (max-width: 1023px) {
  .sas-news { padding: 0; background: none; }
  .sas-news-in { display: block; }
  .sas-news-news, .sas-news-topics { width: 100%; padding: 50px 30px; }
  .sas-news-topics { background: var(--sas-pale); }
  .sas-news > .sas-btn { width: 100%; margin: 0; padding: 0 0 50px; background: var(--sas-pale); }
  .sas-news > .sas-btn a { width: 280px; margin: 0 auto; }
}
@media (max-width: 639px) {
  .sas-news-news, .sas-news-topics { padding: 30px 20px; }
  .sas-post { gap: 5px; padding: 15px 0; }
  .sas-post-d { padding: 3px; font-size: 12px; }
  .sas-news > .sas-btn a { width: 230px; }
}
/* 院長挨拶（夜の森の絵の上に白い箱） */
.sas-greeting { padding: 50px 0; background: url(/sas/wp-content/themes/sas_theme/asset/images/bg_top01.png) center / cover no-repeat; }
.sas-gr-box { width: 90%; max-width: 1200px; margin: 50px auto 0; padding: 50px; background: #fff; }
.sas-gr-in { display: flex; align-items: center; justify-content: space-between; }
.sas-gr-img { flex: none; width: 370px; }
.sas-gr-fig { background: #eaeff3; }
.sas-gr-fig img { width: 100%; height: auto; }
.sas-gr-name p { display: table; padding: 10px 20px; background: var(--sas-navy); color: #fff; font-weight: 700; line-height: 1; }
.sas-gr-n1 { position: relative; margin-top: -30px; font-size: 30px; }
.sas-gr-n2 { margin-top: 10px; font-size: 12px; }
.sas-gr-txt { width: calc(100% - 420px); }
.sas-gr-ttl { font-size: 30px; font-weight: 700; line-height: 1.5; }
.sas-greeting .sas-btn { margin-top: 30px; }
@media (max-width: 1023px) {
  .sas-gr-in { display: block; }
  .sas-gr-img { display: flex; align-items: center; gap: 5%; width: 100%; padding-inline-start: 5%; background: #eaeff3; }
  .sas-gr-fig { flex: none; width: 40%; }
  .sas-gr-name { flex-grow: 1; }
  .sas-gr-name p { padding: 5px 10px; }
  .sas-gr-n1 { margin-top: 0; font-size: min(30px, calc(21 / 375 * 100vw)); }
  .sas-gr-n2 { margin-top: 5px; font-size: 10px; }
  .sas-gr-txt { width: 100%; margin-top: 30px; }
}
@media (max-width: 639px) {
  .sas-greeting { padding: 30px 0; }
  .sas-gr-box { margin-top: 30px; padding: 10px; }
  .sas-gr-txt { margin-top: 20px; }
  .sas-gr-ttl { font-size: 20px; }
  .sas-greeting .sas-btn { margin: 30px auto; }
}
/* 適切ないびき・無呼吸治療を、適切な患者様へ（白い帯の文） */
.sas-patients { padding: 80px 50px; background: var(--sas-pale); text-align: center; }
.sas-obi { margin-top: 50px; }
.sas-obi p { display: table; margin: 10px auto 0; padding: 10px; background: #fff; font-weight: 700; line-height: 1.5; }
.sas-obi p:first-child { margin-top: 0; }
.sas-pt-btn { display: flex; justify-content: center; gap: 25px; margin-top: 50px; }
.sas-pt-btn .sas-btn { width: 350px; margin: 0; }
@media (max-width: 1023px) { .sas-patients { padding: 50px 30px; } .sas-obi { margin-top: 30px; } .sas-obi p { padding: 5px; } }
@media (max-width: 639px) {
  .sas-patients { padding: 30px 20px; }
  .sas-obi { margin: 20px -17px 0; }
  .sas-pt-btn { display: block; margin-top: 30px; }
  .sas-pt-btn .sas-btn { width: 100%; }
  .sas-pt-btn .sas-btn + .sas-btn { margin-top: 20px; }
}
/* 5つの治療方針（水色の面に白い丸の絵と紺の札） */
.sas-treat { padding: 80px 50px; background: var(--sas-blue); color: #fff; text-align: center; }
.sas-treat :is(.sas-en-ttl, .sas-jp-ttl) { color: #fff; }
.sas-treat-txt { margin-top: 30px; line-height: 1.6; }
.sas-treat-ic { display: flex; justify-content: center; gap: 20px; max-width: 1200px; margin: 50px auto 0; }
.sas-treat-ic li { flex: 1 1 0; }
.sas-treat-ic a { display: block; color: #fff; text-decoration: none; transition: opacity .3s; }
@media (hover: hover) { .sas-treat-ic a:hover { opacity: .7; } }
.sas-treat-ic a > span { position: relative; z-index: 2; display: block; width: 140px; max-width: 100%; margin: 0 auto -10px; padding: 10px 0; background: var(--sas-navy);
  font-weight: 700; line-height: 1.5; }
.sas-treat-ic img { position: relative; z-index: 1; width: 100%; height: auto; }
.sas-treat-btn { display: flex; justify-content: center; gap: 30px; margin-top: 50px; }
.sas-treat-btn .sas-btn { margin: 0; }
.sas-treat-btn a { border-color: #fff; color: #fff; }
@media (hover: hover) { .sas-treat-btn a:hover { background: #fff; color: var(--sas-navy); } }
@media (max-width: 1023px) { .sas-treat { padding: 50px 30px; } .sas-treat-ic { flex-wrap: wrap; } .sas-treat-ic li { flex: 0 0 30%; } }
@media (max-width: 639px) {
  .sas-treat { padding: 30px 20px; }
  .sas-treat-txt { margin-top: 20px; }
  .sas-treat-ic { gap: 10px 3%; margin-top: 30px; }
  .sas-treat-ic li { flex-basis: 31%; }
  .sas-treat-ic a > span { width: 100%; padding: 5px 0; font-size: 14px; }
  .sas-treat-btn { display: block; margin-top: 30px; }
  .sas-treat-btn .sas-btn { margin: 0 auto; }
  .sas-treat-btn .sas-btn + .sas-btn { margin-top: 20px; }
}
/* CPAP治療（文と、紺の面を後ろに敷いた写真） */
.sas-cpap { display: grid; grid-template-columns: 48% 40%; grid-template-areas: "txt img" "btn img"; column-gap: 5%; align-items: center;
  width: 90%; max-width: 1200px; margin: 120px auto 0; }
.sas-cpap-txt { grid-area: txt; align-self: end; }
.sas-cpap-img { grid-area: img; position: relative; }
.sas-cpap-btn { grid-area: btn; align-self: start; }
.sas-cpap-img img { position: relative; z-index: 2; width: 100%; height: 450px; object-fit: cover; }
.sas-cpap-img::after { content: ""; position: absolute; z-index: 1; top: -80px; right: -80px; width: 80%; height: 450px; background: var(--sas-navy); }
.sas-cpap .sas-btn { margin: 50px 0 0; }
/* ご予約（build.py の sas_booking。2027年4月から初診は津田沼北口院のご予約に切り替わる） */
.sas-booking { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.sas-booking .btn { min-width: 0; height: auto; padding: 12px 32px; border: 2px solid var(--sas-navy); background: #fff; color: var(--sas-navy); font-size: 16px; font-weight: 700;
  letter-spacing: 0; white-space: normal; }
@media (hover: hover) { .sas-booking .btn:hover { background: var(--sas-navy); color: #fff; } }
.sas-booking .sw-note { font-size: 14px; }
@media (max-width: 1023px) {
  .sas-cpap { display: block; margin: 50px auto 0; }
  .sas-cpap-img { width: 95%; margin-top: 30px; }
  .sas-cpap-img img { height: 250px; }
  .sas-cpap-img::after { top: auto; bottom: -7%; right: -5%; height: 250px; }
  .sas-cpap .sas-btn { margin: 50px auto 0; }
  .sas-booking { justify-content: center; }
}
@media (max-width: 639px) { .sas-cpap { margin-top: 30px; } .sas-cpap .sas-btn { margin-top: 30px; } }
/* CPAP療法 患者様インタビュー（12/1 打ち合わせ C5「CPAP療法とは」の代わり） */
.sas-movie { max-width: 1200px; margin: 80px auto 0; padding: 50px; background: var(--sas-pale); }
.sas-movie-ttl { display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; line-height: 1.5; text-align: center; color: var(--sas-navy); }
.sas-movie-ttl::before, .sas-movie-ttl::after { content: ""; flex: none; width: 100px; height: 1px; background: var(--sas-navy); }
.sas-movie-ttl > span { padding: 0 40px; }
.sas-yt { width: 90%; max-width: 800px; margin: 50px auto 0; aspect-ratio: 16 / 9; }
.sas-yt iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 1023px) { .sas-movie { margin-top: 50px; } }
@media (max-width: 639px) {
  .sas-movie { margin-top: 30px; padding: 30px 20px; }
  .sas-movie-ttl { font-size: 16px; }
  .sas-movie-ttl > span { padding: 0 10px; }
  .sas-movie-ttl::before, .sas-movie-ttl::after { width: 50px; }
  .sas-yt { width: 100%; margin-top: 20px; }
}
/* 睡眠について（水色の面に写真4枚） */
.sas-about { margin-top: 80px; padding: 50px 0; background: var(--sas-blue); }
.sas-ab-in { display: flex; flex-wrap: wrap; justify-content: space-between; width: 90%; max-width: 1200px; margin: 50px auto 0; }
.sas-ab-box { width: 47.5%; }
.sas-ab-box:nth-child(n+3) { margin-top: 5%; }
.sas-ab-box a { display: block; color: #fff; text-decoration: none; transition: opacity .3s; }
@media (hover: hover) { .sas-ab-box a:hover { opacity: .7; } }
.sas-ab-img { display: block; height: 200px; background: center / cover no-repeat; }
.sas-ab-box:nth-child(2) .sas-ab-img { background-position: center top; }
.sas-ab-t { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 0; border-bottom: 1px solid #fff; font-weight: 700; line-height: 1.5; }
@media (max-width: 1023px) {
  .sas-about { margin-top: 50px; }
  .sas-ab-in { display: block; max-width: 600px; }
  .sas-ab-box { width: 100%; }
  .sas-ab-box:nth-child(n+2) { margin-top: 5%; }
}
@media (max-width: 639px) { .sas-about { margin-top: 30px; padding: 30px 0; } .sas-ab-in { margin-top: 30px; } }

/* ---- 下のページ: 見出しの面を、今のいびき外来の下のページと同じ写真（--sas-mv）と紺の札（題・英字 --sas-en）に。
   build.py の warm_hero（森の絵の面）の作りはそのまま、いびき外来の中だけ見た目を替える */
.sas-site .warm-hero { min-height: 0; padding: 24px 0 100px; background: var(--sas-pale) var(--sas-mv, none) center / cover no-repeat; }
.sas-site .warm-hero .hero-ov { display: none; }
.sas-site .warm-hero .crumb { display: flex; width: fit-content; max-width: 100%; margin: 0 auto 64px 0; padding: 4px 12px; background: rgba(255, 255, 255, .9); color: var(--sas-navy); }
.sas-site .warm-hero .crumb span[aria-hidden] { color: var(--sas-blue); }
.sas-site .warm-hero .hero-c > :is(h1, .meta) { display: table; margin: 0 auto; padding: 10px 20px; background: var(--sas-navy); color: #fff; }
.sas-site .warm-hero h1 { font-size: 30px; font-weight: 700; line-height: 1.4; letter-spacing: 0; }
.sas-site .warm-hero .hero-c > .meta { margin-bottom: 10px; font-size: 13px; }
.sas-site .warm-hero .hero-c::after { content: var(--sas-en, none); display: table; margin: 10px auto 0; padding: 10px 20px; background: var(--sas-navy); color: #fff;
  font-family: Montserrat, sans-serif; font-size: 16px; font-weight: 300; line-height: 1.5; letter-spacing: .04em; }
@media (max-width: 639px) {
  .sas-site .warm-hero { padding: 16px 0 50px; }
  .sas-site .warm-hero .crumb { margin-bottom: 34px; }
  .sas-site .warm-hero h1 { font-size: 20px; }
  .sas-site .warm-hero .hero-c::after { font-size: 13px; }
}
/* 本文の入れ物（今のいびき外来の下のページと同じく中央にそろえ、幅を広げる） */
.sas-site .sec { padding: 64px 0 80px; }
@media (max-width: 639px) { .sas-site .sec { padding: 40px 0 56px; } }
.sas-site .sec > .wrap > .c1-10 { grid-column: 1 / -1; }
.sas-site .wp-body { max-width: 1000px; margin-inline: auto; }
/* 移した本文の、今のいびき外来のテーマの部品（英字＋題・紺の見出し・紺の枠と札・水色の面） */
.sas-site .wp-body .ttl_wrap { text-align: center; }
.sas-site .wp-body :is(.ttl_sub, .en_ttl, .sec_ttl_en) { font-family: Montserrat, sans-serif; font-size: 16px; font-weight: 700; letter-spacing: 0; color: var(--sas-blue); }
.sas-site .wp-body h2.jp_ttl { font-size: 26px; font-weight: 700; }
@media (max-width: 1023px) { .sas-site .wp-body h2.jp_ttl { font-size: 22px; } }
@media (max-width: 639px) { .sas-site .wp-body h2.jp_ttl { font-size: 18px; } }
.sas-site .wp-body .midashi { display: flex; align-items: center; gap: 16px; padding: 12px 16px; border: 0; background: var(--sas-navy); color: #fff; font-size: 18px; font-weight: 700; }
.sas-site .wp-body .midashi::before { content: ""; flex: none; width: 20px; height: 5px; background: var(--sas-blue); }
.sas-site .wp-body .box { margin: 56px 0 16px; padding: 24px; border: 2px solid var(--sas-navy); background: #fff; }
.sas-site .wp-body .box-ttl { display: table; margin: -50px 0 16px -26px; padding: 12px 16px; border: 0; background: var(--sas-navy); color: #fff; font-weight: 700; line-height: 1.4; }
.sas-site .wp-body .bg_lightblue { padding: 40px 0; background: var(--sas-pale); }
.sas-site .wp-body .blue2 { padding-bottom: 10px; border-bottom: 1px solid; color: var(--sas-navy); font-weight: 700; }
.sas-site .wp-body a.scroll:empty { display: block; min-height: 0; margin: 0; padding: 0; border: 0; }
@media (max-width: 639px) {
  .sas-site .wp-body .midashi { gap: 10px; padding: 10px; font-size: 15px; }
  .sas-site .wp-body .midashi::before { width: 15px; height: 3px; }
  .sas-site .wp-body .box { padding: 20px 12px; }
  .sas-site .wp-body .box-ttl { margin: -42px 0 12px -14px; padding: 10px; }
}
/* 院長紹介（/sas/director/）の写真と名前の札・強調の下線（今のテーマの director01・desc と同じ形） */
.sas-site .wp-body :is(.desc, .desc_mt50) span { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.sas-site .wp-body .director01-txt-ttl { font-size: 26px; font-weight: 700; line-height: 1.5; }
.sas-site .wp-body .director01-img p { display: inline-block; margin: 0; padding: 10px 20px; background: var(--sas-navy); color: #fff; font-weight: 700; line-height: 1; }
.sas-site .wp-body .director01-img-txt01 { position: relative; margin-top: -30px !important; font-size: 30px; }
.sas-site .wp-body .director01-img-txt02 { margin-top: 10px !important; font-size: 12px; }
@media (min-width: 1024px) {
  .sas-site .wp-body .director01-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
  .sas-site .wp-body .director01-img { flex: 0 0 370px; margin-top: 0; }
  .sas-site .wp-body .director01-img img { width: 100%; }
  .sas-site .wp-body .director01-txt { flex: 1 1 auto; margin-top: 0; }
}
@media (max-width: 639px) { .sas-site .wp-body .director01-txt-ttl { font-size: 20px; } }
/* 同じ並びのページの帯・カテゴリーとタグの線の色 */
.sas-site .local-nav :is(a, span[aria-current]) { border-color: #c5d6e6; }
.sas-site .local-nav span[aria-current] { border-color: var(--sas-navy); }
.sas-site :is(.bg-beige, .bg-leaf) .tag-pale { background: #fff; }  /* 薄い水色の面の上のタグ（面と同じ色で見えなくならないように） */

/* ==== 12-01 打ち合わせ A: トップ・ヘッダー ==== */
/* A1 ロゴ（院の元データ。今のサイトのヘッダーと同じ横長の形）: 今のサイトに合わせて大きく。右の電話・予約のボタンの幅を引いた残りいっぱいまで */
.logo-main img { height: auto; max-width: none; width: min(calc(100vw - 2 * var(--gutter) - 112px), 300px); }
@media (max-width: 767px) { .site-header .bar { gap: 12px; } }
@media (min-width: 768px) { .logo-main img { width: min(calc(100vw - 2 * var(--gutter) - 470px), 340px); } }
@media (min-width: 1024px) { .logo-main img { width: min(calc(100vw - 2 * var(--gutter) - 470px), 420px); } .site-header .bar { height: 88px; } }
/* 1024〜1199px は三本線を出すので、お問い合わせの番号は 768〜1023px と同じく出さず、ロゴの幅に回す（番号は院を選ぶシート・フッターにある） */
@media (min-width: 1024px) and (max-width: 1199px) { .site-header:not(.site-header-kita) .head-tel-q { display: none; } }
@media (min-width: 1200px) { .logo-main img { width: min(calc(100vw - 2 * var(--gutter) - 580px), 520px); } }
@media (min-width: 1280px) { .site-header:not(.site-header-kita) .bar { height: 92px; } }
.site-footer .logo-main img { width: min(100%, 400px); height: auto; }

/* A2〜A4 本院のメニュー: 項目が増えたので、上のメニューは 1200px 以上（1024〜1199px は右上の三本線の中）。
   インフォメーションは押す・マウスを載せる・中にフォーカスがあると開く小窓。右端に紺の「いびき・無呼吸」と橙の「津田沼北口院」（今のサイトと同じ色） */
@media (min-width: 1024px) and (max-width: 1199px) {
  .site-header:not(.site-header-kita) .gnav { display: none; }
  .site-header:not(.site-header-kita) .hamburger { display: flex; }
  html:has(.site-header:not(.site-header-kita)) { scroll-padding-top: 96px; }
}
@media (min-width: 1200px) {
  .site-header:not(.site-header-kita) .gnav .wrap { justify-content: space-between; gap: 10px; }
  .site-header:not(.site-header-kita) .gnav a, .gnav-dd-b { font-size: 13px; letter-spacing: 0.02em; }
}
@media (min-width: 1280px) {
  .site-header:not(.site-header-kita) .gnav a, .gnav-dd-b { font-size: 14px; letter-spacing: 0.04em; }
  html:has(.site-header:not(.site-header-kita)) { scroll-padding-top: 152px; }
}
.gnav-dd { position: relative; }
.gnav-dd-b { display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; background: none; border: 0; font: inherit; font-weight: 500; color: var(--ink); cursor: pointer; white-space: nowrap; }
.gnav-dd-b svg { transition: transform .3s var(--ease); }
.gnav-dd.is-here .gnav-dd-b { color: var(--green); }
.gnav-dd-m { display: none; position: absolute; top: 100%; left: -16px; z-index: 60; min-width: 230px; padding: 8px 0; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 28px rgba(59, 36, 18, .12); }
.gnav-dd:hover .gnav-dd-m, .gnav-dd:focus-within .gnav-dd-m, .gnav-dd.is-open .gnav-dd-m { display: block; }
.gnav-dd:hover .gnav-dd-b svg, .gnav-dd.is-open .gnav-dd-b svg { transform: rotate(180deg); }
.gnav .gnav-dd-m a { display: block; padding: 10px 18px; background: none; white-space: nowrap; }
@media (hover: hover) { .gnav .gnav-dd-m a:hover { background: var(--leaf); color: var(--green-d); } .gnav-dd-b:hover { color: var(--green); } }
.gnav-ex { display: flex; align-items: center; gap: 0; }
.gnav a.gnav-sas { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: var(--night); color: #fff; transition: background-color .3s var(--ease); }
@media (hover: hover) { .gnav a.gnav-sas:hover { background: var(--night-2); color: #fff; } }
.gnav-ex a.gnav-kita { margin-left: 0; }
/* スマホ（と 1024〜1199px）のメニュー: インフォメーションは見出しの下に並べる。津田沼北口院は北口院の橙の面 */
.drawer-g { border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.drawer-h { padding: 18px 0 4px; font-size: 13px; font-weight: 500; color: var(--sub); letter-spacing: 0.06em; }
.drawer .drawer-g a { padding: 12px 0 12px 16px; border-bottom: 0; font-size: 16px; }
.drawer a.drawer-kita { margin-top: 20px; padding: 18px 16px; border-bottom: 0; background: #f6b26b; color: var(--ink); }
@media (hover: hover) { .drawer a.drawer-kita:hover { background: #f3a04c; } }

/* A6〜A7 最初の画面: 院内の写真（写真の中に院名と駅からの道のり）と、大きな診療時間の看板（今のサイトの看板と同じ木の枠）。
   スマホは写真のすぐ下に看板。写真は高画質のものが届くまでの仮 */
.kv2 { position: relative; background: var(--beige); overflow: hidden; padding-bottom: 44px; }
.kv2-in { position: relative; z-index: 2; }
.kv2-visual { position: relative; margin: 0 calc(var(--gutter) * -1); }
.kv2-photo { position: relative; overflow: hidden; aspect-ratio: 375 / 230; background: var(--beige-2); }
.kv2-photo > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 88%; animation: settle 2.4s var(--ease) both; }
.kv2-name { position: absolute; left: 12px; top: 12px; display: flex; flex-direction: column; gap: 2px; padding: 8px 14px 9px; background: rgba(255, 255, 255, .9);
  border-left: 4px solid var(--green); font-weight: 500; line-height: 1.4; letter-spacing: 0.04em; }
.kv2-clinic { font-size: 18px; color: var(--green-d); }
.kv2-station { font-size: 13px; color: var(--ink); }
.kv2-trees { display: none; }
.kv2-board { position: relative; z-index: 2; margin-top: -18px; background: #fff; padding: 14px 14px 12px; border: 6px solid #dcc29b;
  box-shadow: inset 0 0 0 1px #c9a77a, 0 6px 0 rgba(90, 60, 30, .08); }
.kv2-animals { position: absolute; right: 8px; bottom: calc(100% + 4px); width: 72px; height: auto; pointer-events: none; }
.hours-b { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours-b th, .hours-b td { padding: 7px 2px; text-align: center; border-bottom: 1px solid var(--line); font-weight: 400; line-height: 1.3; }
.hours-b thead th { font-size: 14px; color: var(--ink); border-bottom: 2px solid var(--line-strong); font-weight: 500; }
.hours-b tbody th { text-align: left; white-space: nowrap; color: var(--ink); font-weight: 500; font-size: 15px; }
.hours-b td { color: var(--green); font-size: 19px; }
.hours-b td.off { color: var(--sub); }
.hours-b td.star { color: var(--ink); font-size: 17px; }
.kv2-board-n { margin-top: 8px; font-size: 13px; line-height: 1.8; color: var(--ink); letter-spacing: 0.02em; }
.kv2-today { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line-strong); }
.kv2-today .today { font-size: 13px; }
.kv2 .kv-ground { display: block; position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 44px; z-index: 1; }
@media (min-width: 768px) {
  .kv2 { padding-bottom: 72px; }
  .kv2-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: center; padding-top: clamp(28px, 3vw, 48px); }
  .kv2-visual { margin: 0; }
  .kv2-photo { aspect-ratio: 16 / 11; border-radius: 10px; }
  .kv2-name { left: 16px; top: 16px; padding: 10px 18px 11px; }
  .kv2-clinic { font-size: clamp(18px, 1.6vw + 4px, 26px); }
  .kv2-station { font-size: clamp(13px, 0.6vw + 7px, 16px); }
  .kv2-trees { display: block; position: absolute; left: -40px; bottom: -36px; width: auto; height: clamp(90px, 10vw, 150px); max-width: none; z-index: 2; pointer-events: none; }
  .kv2-board { margin-top: 28px; padding: 18px 20px 16px; border-width: 8px; }
  .kv2-animals { width: clamp(76px, 7vw, 104px); }
  .kv2 .kv-ground { height: 72px; }
}
@media (min-width: 1024px) {
  .kv2-in { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .kv2-board { padding: 22px 26px 18px; }
  .hours-b th, .hours-b td { padding: 10px 2px; }
  .hours-b thead th { font-size: 16px; }
  .hours-b tbody th { font-size: 17px; }
  .hours-b td { font-size: 22px; }
  .hours-b td.star { font-size: 19px; }
  .kv2-board-n { font-size: 15px; margin-top: 12px; }
  .kv2-today .today { font-size: 14px; }
}
@media (max-width: 359px) { .hours-b tbody th { font-size: 13px; } .hours-b td { font-size: 16px; } .kv2-board { padding: 12px 8px 10px; } }

/* A9 発熱外来: 今のサイトと同じ型の枠（黄緑の水彩の面・こげ茶の線・リスの線画）。一文目を大きく、右に問診表のボタン（メルプのペンギン） */
.top-pick { padding: 40px 0; }
@media (min-width: 768px) { .top-pick { padding: 56px 0; } }
.fever-box { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 24px 18px 22px; border: 2px solid var(--ink);
  background: #d3e7bb url(/img/warm/wc-green.png) repeat; color: var(--ink); }
.fever-sq { position: absolute; left: 10px; bottom: 8px; width: 64px; height: auto; pointer-events: none; opacity: .9; }
.fever-main, .fever-go { position: relative; }
.fever-tag { display: inline-block; padding: 4px 14px; background: var(--ink); color: #fff; font-size: 16px; font-weight: 500; letter-spacing: 0.1em; line-height: 1.5; }
.fever-lead { display: block; margin-top: 12px; font-size: 19px; font-weight: 500; line-height: 1.6; color: var(--ink); font-feature-settings: "palt" 1; }
.fever-body { margin-top: 12px; font-size: 14px; line-height: 1.9; }
.fever-body p { max-width: none; }
.fever-go { display: flex; justify-content: center; padding-bottom: 32px; }
.fever-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: 100%; max-width: 360px; min-height: 64px; padding: 10px 22px;
  border-radius: 999px; background: #fff; border: 2px solid var(--green); color: var(--green-d); font-size: 17px; font-weight: 500; line-height: 1.4; text-decoration: none;
  transition: background-color .3s var(--ease), color .3s var(--ease); }
.fever-melp { width: 40px; height: 40px; flex: none; }
@media (hover: hover) { .fever-btn:hover { background: var(--green); color: #fff; } }
@media (min-width: 900px) {
  .fever-box { grid-template-columns: minmax(0, 1fr) 300px; align-items: center; gap: 40px; padding: 36px 44px 36px 48px; }
  .fever-sq { width: 93px; left: 14px; bottom: 10px; }
  .fever-lead { font-size: 26px; }
  .fever-body { font-size: 15px; }
  .fever-go { padding-bottom: 0; }
}
/* A3 トップのバナー（院が期間を入れて出す・消す）。画像が無いものは今のサイトの案内の枠と同じ形（水色の水彩の面に題とボタン） */
.top-bnrs { display: grid; gap: 16px; margin-top: 24px; }
.tb-text { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 22px 18px; border: 1px solid var(--ink);
  background: #acdede url(/img/warm/wc-blue.png) repeat; }
.tb-h { font-size: 19px; font-weight: 500; line-height: 1.5; color: var(--ink); }
.tb-text .btn { background: #fff; }
@media (hover: hover) { .tb-text .btn:hover { background: var(--ink); } }
.tb-img img { width: 100%; height: auto; }
@media (min-width: 900px) { .tb-text { padding: 28px 44px 28px 48px; } .tb-h { font-size: 24px; } }

/* A10 お知らせ（担当医表の上）。スマホは行の間を狭く。
   12-02: 12-01 深夜にお知らせを今のサイトの作り（.lg-top の .news_box .news_detail）に替えたので、前の .rows・.news-row の決まりが効かなくなっていた
   （打ち合わせの直しの照合で発見）。今の作りに当て直す。テーマの CSS（lg-top.css）が style.css の後に読まれるので、.top-news を頭に足して勝たせる */
@media (max-width: 767px) {
  .top-news .lg-top .news .news_box .news_box__inner .news_detail { padding-bottom: 6px; margin-top: 6px; }
  .top-news .lg-top.lgt .news_detail__head time { line-height: 1.4; }
  .top-news .lg-top.lgt .news_detail__head h3 { line-height: 1.45; }
  /* 今のサイトの箱は高さが固定（639px 以下は画面の 30%・それより広いと 260px）で、行を詰めても下が空くだけで節は短くならない。
     お知らせ（5件まで）の箱だけ中身の高さにする（トピックスは今のサイトのまま） */
  .top-news .lg-top .news .news_box:not(.topics_box) .news_box__inner { height: auto; }
}

/* A13 当クリニックについて: 似顔絵と吹き出しを外したので、写真の下の余白を詰める */
.bg-clinic .dir-fig { padding-bottom: 0; }

/* A15 スタッフ募集・医師募集、A22 インフォメーションのバナー（今のサイトの絵） */
.top-recruit { padding: 40px 0; }
.top-bnr-l { display: grid; gap: 16px; }
.top-bnr-l li { text-align: center; }
.top-bnr-l a { display: inline-block; max-width: 100%; transition: opacity .3s var(--ease); }
.top-bnr-l img { width: auto; max-width: 100%; height: auto; margin: 0 auto; }
@media (hover: hover) { .top-bnr-l a:hover { opacity: .85; } }
.top-bnr-l .icon-ext { display: none; }  /* 画像のリンクには外部の印を重ねない（読み上げの断り書きは残す） */
@media (min-width: 768px) { .top-recruit .top-bnr-l { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 24px; } .top-recruit .top-bnr-l img { width: 100%; } }
.top-info .top-bnr-l { max-width: 900px; margin-left: auto; margin-right: auto; gap: 20px; }
.info-head { text-align: center; }
.info-pay { display: flex; justify-content: center; align-items: flex-end; gap: 32px; }
.info-pay picture { max-width: 741px; }
.info-pay picture img { width: 100%; height: auto; }
.info-pay .info-town { display: none; }
@media (min-width: 1024px) { .info-pay .info-town { display: block; width: 168px; height: auto; flex: none; } }

/* A16 いびき（トップ）: 右の余白をなくし、2列に（左に見出しと本文、右に CPAP の人数と5つの治療方法） */
@media (min-width: 768px) {
  .top-sas .wrap { align-items: center; }
  .top-sas .night-bg::after { background: linear-gradient(180deg, var(--night) 0%, rgba(2, 26, 102, .55) 55%, rgba(2, 26, 102, .35) 100%); }
}

/* A17 患者様の声（今のサイトの題の絵と英字） */
.top-voice-in { text-align: center; }
.voice-h img { margin: 0 auto; width: 242px; }
.top-voice .sec-en { margin-top: 4px; }
.top-voice .body { margin-left: auto; margin-right: auto; }

/* A23 フッターの絵の札（今のサイトのフッターの下の横並び。左に睡眠時無呼吸症候群、右に舌下免疫療法〜中耳炎） */
.foot-bnr { display: grid; gap: 16px; }
.foot-bnr a { display: block; transition: opacity .3s var(--ease); }
.foot-bnr img { width: 100%; height: auto; border-radius: 3px; }
@media (hover: hover) { .foot-bnr a:hover { opacity: .85; } }
.foot-bnr-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 768px) { .foot-bnr-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1024px) { .foot-bnr { grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); align-items: start; gap: 24px; } .foot-bnr-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) {
  .kv2-in { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .hours-b tbody th { font-size: 19px; }
  .hours-b td { font-size: 26px; }
  .hours-b td.star { font-size: 22px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .kv2-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .kv2-board { padding: 14px 12px 12px; border-width: 6px; }
  .hours-b tbody th { font-size: 14px; } .hours-b td { font-size: 18px; } .hours-b td.star { font-size: 16px; } .hours-b thead th { font-size: 13px; }
}

/* ==== 12-01 追加 E: メニュー・発熱・帯 ==== */
/* F1 本院の上のメニューの一番左に「ホーム」（build.py の header）。足しても 1200〜1366px で1行・ヘッダーの右端（.wrap の内側）に収まるように、
   インフォメーションの字の大きさをほかの項目とそろえ（.gnav-dd-b の font: inherit で 15px に戻っていた）、字の間を詰め、右の2つの札の左右の余白を 10px に */
@media (min-width: 1200px) {
  .site-header:not(.site-header-kita) .gnav .gnav-dd-b { font-size: 13px; }
  .site-header:not(.site-header-kita) .gnav a, .site-header:not(.site-header-kita) .gnav .gnav-dd-b { letter-spacing: 0; }
  .site-header:not(.site-header-kita) .gnav-ex a { padding-left: 10px; padding-right: 10px; }
}
@media (min-width: 1280px) { .site-header:not(.site-header-kita) .gnav .gnav-dd-b { font-size: 14px; } }
/* F1 右下の「ページの先頭へ」（本院・北口院のページ。build.py の PAGETOP）。下へ送ると出る。
   スマホの幅（下の固定バーがある 767px 以下）では出さない＝固定バーと重ならない（今の本院・北口院のサイトもスマホでは出さない） */
.pagetop { display: none; }
@media (min-width: 768px) {
  .pagetop { position: fixed; right: 16px; bottom: 16px; z-index: 45; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: #fff; text-decoration: none;
    font-size: 12px; font-weight: 700; letter-spacing: 0.08em; line-height: 1; box-shadow: 0 6px 18px rgba(59, 36, 18, .18);
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background-color .3s var(--ease); }
  .pagetop.is-on { opacity: 1; visibility: visible; transform: none; }
  .pagetop:focus-visible { outline-offset: 3px; }
}
@media (min-width: 768px) and (hover: hover) { .pagetop:hover { background: var(--green-d); } }
@media print { .pagetop { display: none !important; } }

/* F2 発熱外来（トップ）: 文の中のお電話番号はリンク（押すと電話）。問診表のボタンの下に「電話する」（番号つき） */
.fever-body a.tel-link { color: var(--green-d); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.fever-go { flex-direction: column; align-items: center; gap: 12px; }
.fever-call { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; max-width: 360px; min-height: 56px; padding: 8px 22px;
  border-radius: 999px; background: #fff; border: 2px solid var(--ink); color: var(--ink); font-size: 17px; font-weight: 500; line-height: 1.4; text-decoration: none;
  transition: background-color .3s var(--ease), color .3s var(--ease); }
.fever-call svg { flex: none; }
.fever-call-n { font-size: 15px; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (hover: hover) { .fever-call:hover { background: var(--ink); color: #fff; } }

/* F5 いびき・無呼吸のトップの案内の帯（2027年3月以降〜。data/cms/banners.json の「文字の帯」で 2027-02-01 0時から出る）。
   写真の上の一番上で目立つよう、字を大きく太く・上下に余白・北口院のご案内を紺の札に */
.sas-site .move-notice-sas { gap: 12px; padding: 14px var(--gutter); font-size: 17px; font-weight: 700; letter-spacing: 0.06em; line-height: 1.5;
  box-shadow: inset 0 -3px 0 var(--night); }
.sas-site .move-notice-sas .mn-moon { width: 18px; height: 18px; }
.sas-site .move-notice-sas .mn-go { padding: 4px 14px; border-radius: 999px; background: var(--night); color: #fff; font-size: 14px; text-decoration: none; }
@media (max-width: 767px) {
  .sas-site .move-notice-sas { padding: 12px 16px; font-size: 15px; letter-spacing: 0.02em; }
}

/* ==== 12-01 追加 F: スタッフ募集の応募フォーム ==== */
/* 選ぶ欄（希望職種）。入力欄（.rc input）と同じ見た目に、右に下向きの印 */
.rc select { width: 100%; font: inherit; font-size: 16px; line-height: 1.6; color: var(--ink); border: 1px solid #cbbfae; border-radius: 6px;
  padding: 10px 40px 10px 14px; -webkit-appearance: none; appearance: none; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%233b2412' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center; }
.rc select:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
/* /recruit/ の「応募方法」の中の、応募フォームへのボタン（移した本文の .wp-body a.btn の形を上書きして、ほかのページの緑のボタンと同じに） */
.wp-body .rc-cta { margin-top: 24px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.wp-body .rc-cta p + p { margin-top: 12px; }
.wp-body .rc-cta a.btn { min-width: 200px; min-height: 54px; margin: 0; padding: 0 28px; border: 0; background: var(--green); color: #fff; text-decoration: none; white-space: nowrap; }
@media (hover: hover) { .wp-body .rc-cta a.btn:hover { background: var(--green-d); color: #fff; } }
@media (max-width: 767px) { .wp-body .rc-cta { padding: 16px; } .wp-body .rc-cta a.btn { width: 100%; } }

/* ==== 12-01 反目の直し ==== */
/* 高1 /about/ のベビーカー置き場: 今のテーマは同じ組を2つ持つ（.about_fl__balloon.rwd_disp_xxo＝スマホ用・今のテーマでは 639px 以下だけ出る／
   .about_balloon＝PC・タブレット用）。このサイトの出し分けの境目は 767px なので、767px 以下では .about_balloon を出さない（同じ組が2回出ないように） */
@media (max-width: 767px) { .wp-body .about_balloon { display: none; } }

/* 高2 /voice/ の声の画像は、元の大きさの画像へのリンク（押すと大きく開く。build.py の voice_zoom） */
.voice-list .voice-zoom { display: block; max-width: 1000px; cursor: zoom-in; }
.voice-list .voice-zoom:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
@media (hover: hover) { .voice-list .voice-zoom:hover img { opacity: .85; } }

/* 高3 下層の見出しの面（本院の絵 hero-overlay-sp.webp）: 767px 以下は、絵の上の方に浮いている葉4枚が見出し・リード・パンくずに重なるので、
   絵の上の3割（葉だけの所。木・動物・地面は下の半分）を切り、左右の端の葉2枚だけを面の上端（パンくずより上）に置く。
   葉は同じ絵を背景に使って切り出す（新しい画像は作らない）。文字（.wrap）は今も上の層（z-index 1）。768px 以上は今のまま */
@media (max-width: 767px) {
  .warm-hero:not(.warm-hero-kita) .hero-ov { clip-path: inset(30% 0 0 0); }
  .warm-hero:not(.warm-hero-kita)::before, .warm-hero:not(.warm-hero-kita)::after { content: ""; position: absolute; top: 2px; z-index: 0; pointer-events: none;
    background: url(/img/warm/hero-overlay-sp.webp) no-repeat; background-size: 375px auto; }
  .warm-hero:not(.warm-hero-kita)::before { left: 4px; width: 26px; height: 19px; background-position: -3.5px -2px; }
  .warm-hero:not(.warm-hero-kita)::after { right: 6px; width: 23px; height: 14px; background-position: -341px -9.3px; }
  .sas-site .warm-hero::before, .sas-site .warm-hero::after { content: none; }
}

/* 高4 担当医表: 1か月分だけのとき（来月のデータがまだ無い）は、PC でも左の列に寄せず中央に（2か月分の横並びは今のまま） */
@media (min-width: 1024px) { .tt-months > .tt-box:only-child { grid-column: 1 / -1; justify-self: center; width: 48%; } }

/* 中2 トップの看板の「本日の担当医」（.kv2-today）: 右端の ▸ だけが次の行に落ちたので、PC・タブレットでは ▸ を右端の中央に置き、その分だけ右を空ける
   （スマホは2行に折れて ▸ が2行目の右端に来る形のまま） */
@media (min-width: 768px) {
  .kv2-today .today { position: relative; padding-right: 16px; gap: 0 6px; }
  .kv2-today .today .icon-arrow { position: absolute; right: 0; top: 50%; margin: 0; transform: translateY(-50%); }
  @media (hover: hover) { .kv2-today .today:hover .icon-arrow { transform: translate(3px, -50%); } }
}

/* 中5 トップの「選ばれる理由」: 4の文だけ（p の text-wrap: pretty で）行が短く詰められ右端が狭かったので、札の文はふつうの折り返しに */
.reasons-ph .body { text-wrap-style: auto; }

/* 中9 フッターの SNS: 1024px 以上は字送りとすき間を詰めて5つを1行に（4つ＋1つの2行になっていた） */
@media (min-width: 1024px) {
  .site-footer .sns { gap: 4px 10px; }
  .site-footer .sns a { gap: 6px; letter-spacing: 0.02em; }
}

/* 中10 スマホのヘッダーのロゴ: 767px 以下は元データの「ロゴ1」（build.py の MAIN_LOGO の picture）。幅 200px まで（右の「いびき」と三本線の幅はそのまま） */
.logo-main picture { display: block; }
@media (max-width: 767px) {
  .site-header .logo-main img { width: min(calc(100vw - 2 * var(--gutter) - 112px), 200px); }
  .site-footer .logo-main img { width: min(100%, 240px); }
}

/* 中12 移した本文: 語の途中で折れないよう、文節で折る（word-break: auto-phrase は今は Chrome だけ。効かないブラウザでは今のまま） */
/* overflow-wrap: anywhere（行より長い塊は字の間で折る）は既存のまま。text-wrap は一括指定だと nowrap を打ち消すので -style だけ */
.wp-body { word-break: auto-phrase; text-wrap-style: auto; } /* 12-05: pretty → auto（iPhone の Safari で左寄りに見えた。p・li・dd と同じ） */
/* 中13 /about/ の外観の写真の下の中央寄せの文: 「さん、」だけの行が出ないよう行の長さをそろえる */
.wp-body .tac { text-wrap-style: balance; }

/* 中17・中19 /miticure/（と同じ作りの /sidacure/）: 文中に「●」がある箇条書きと、画像の箇条書きは、行頭の点を出さない。
   1041px 以上で段落（p）の間に入る改行（br.tablethide）は空行になるので出さない（今のテーマでは段落が横並びの文の塊だったため） */
.wp-body ul:is(:has(> li > .mark1), :has(> li > p.img1)) { list-style: none; padding-left: 0; }
.wp-body p + br.tablethide { display: none; }

/* 中27 /appointment/ の緑のボタン「インターネット予約・診療状況確認」（.btn-wrap はこの1つだけ）: 360〜767px は内側の余白と字送りを詰めて1行に。
   それでも折れたときは中央寄せで高さを伸ばす */
@media (max-width: 767px) {
  .btn-wrap { height: auto; min-height: 54px; padding: 8px 18px; gap: 8px; letter-spacing: 0.02em; }
  .btn-wrap .btn-t { text-align: center; line-height: 1.5; }
}

/* 中29 /sas/ のスマホのフッターの予約専用の番号: ルビ（ヨクミル）が数字より幅広く、ルビの箱の分だけ数字の左右が空いて
   「047- 493 - 3387」とハイフンの前後がそろわなかったので、ルビを数字の上の中央に重ねて置き、箱の幅は数字だけにする */
@media (max-width: 639px) {
  .sas-fc-resv { padding-top: 12px; }
  /* 2つのルビ（ヨクミル・ミミハナ）がくっつかないよう、ルビは 9px・字送り0、数字の左右に同じ 2px の空き */
  .sas-fc-resv ruby { position: relative; display: inline-block; margin: 0 2px; }
  .sas-fc-resv ruby rt { position: absolute; left: 50%; bottom: 100%; transform: translateX(-50%); font-size: 9px; letter-spacing: 0; line-height: 1.2; white-space: nowrap; }
}
/* ==== 12-01 反目の直し ここまで ==== */

/* ==== 12-01 打ち合わせ D: 北口院 ==== */
/* D1 北口院のトップ（今の北口院サイトのトップと同じ並び・同じ絵に戻した。.kk-top の中だけに効く）。
   色は今の北口院サイトの実値（こげ茶 #42210b・珊瑚 #eea282・赤 #ff3b30・英字の橙 #e19d50）。画像は /kitaguchi/wp-content/themes/stagegroup/asset/images/ と /img/kita/ */
.kk-top { --kk-ink: #42210b; --kk-coral: #eea282; --kk-coral-d: #d9774f; --kk-red: #ff3b30; --kk-orange: #e19d50;
  background: #fffef7 url(/kitaguchi/wp-content/themes/stagegroup/asset/images/bg_canvas.png) repeat; color: var(--kk-ink); }
.kk-top .sec-en { color: var(--kk-orange); }
@media (min-width: 768px) { .kk-sp { display: none; } }  /* スマホだけの改行 */
.kk-sec { padding: 48px 0; }
@media (min-width: 768px) { .kk-sec { padding: 64px 0; } }
.kk-head { text-align: center; }
.kk-en { margin-left: 10px; font-family: "Dancing Script", cursive; font-size: 16px; font-weight: 500; color: var(--kk-orange); letter-spacing: 0.04em; }
.kk-en-s { display: block; font-size: 12px; font-weight: 400; letter-spacing: 0.04em; line-height: 1.6; }
.kk-c { margin-top: 40px; text-align: center; }
/* 丸いボタン（お知らせ一覧・クリニック紹介。今のサイトのベージュ・桃色の水彩の丸いボタン） */
.kk-pill { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-width: 240px; min-height: 52px; padding: 8px 32px; border-radius: 999px;
  background: #efe6c4 url(/kitaguchi/wp-content/themes/stagegroup/asset/images/bg_beige.png); color: var(--kk-ink); font-size: 16px; font-weight: 500; text-decoration: none;
  transition: opacity .3s var(--ease); }
.kk-pill-pink { background: #f6d0d6; }
@media (hover: hover) { .kk-pill:hover { opacity: .75; } }

/* 写真の見出しと診療時間の看板（PC は写真の右下に重ね、スマホは写真の下に。今のサイトと同じ） */
.kk-hero { position: relative; }
.kk-hero-ph img { width: 100%; height: auto; }
.kk-board { position: relative; z-index: 2; width: calc(100% - 2 * var(--gutter)); margin: 12px auto 0; padding: 12px 14px 10px; background: #fff;
  border: 8px solid #e6d4b3; box-shadow: inset 0 0 0 1px #c9a77a, 0 6px 0 rgba(90, 60, 30, .08); }
.kk-board .hours-b td { color: var(--kk-ink); }
.kk-board-n { margin-top: 8px; font-size: 13px; line-height: 1.8; letter-spacing: 0.02em; }
@media (min-width: 768px) {
  .kk-board { position: absolute; right: 8%; bottom: 3%; width: clamp(340px, 36vw, 560px); margin: 0; padding: 16px 20px 12px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .kk-board { right: 3%; width: 300px; padding: 10px 12px 8px; border-width: 6px; }  /* 写真の中の「アレルギー科」の丸に重ならないように */
  .kk-board .hours-b th, .kk-board .hours-b td { padding: 5px 1px; }
  .kk-board .hours-b tbody th { font-size: 13px; } .kk-board .hours-b td { font-size: 16px; } .kk-board .hours-b thead th { font-size: 12px; }
  .kk-board-n { font-size: 12px; margin-top: 4px; }
}

/* お知らせ（ノートの枠の中に全件・題を押すと本文が開く）とドロップスクリーンの絵 */
.kk-news-wrap { display: grid; gap: 32px; }
@media (min-width: 1024px) { .kk-news-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; } }
.kk-news-box { padding: 30px 40px 30px 22px; background: url(/kitaguchi/wp-content/themes/stagegroup/asset/images/bg_news.png) no-repeat center / 100% 100%; }
@media (min-width: 768px) { .kk-news-box { padding: 40px 56px 40px 34px; } }
.kk-news-h { width: min(326px, 100%); padding: 0 0 8px 6px; background: url(/kitaguchi/wp-content/themes/stagegroup/asset/images/ttl_news.png) no-repeat left bottom / 100% auto;
  font-size: 18px; font-weight: 500; line-height: 1.5; color: var(--kk-ink); }
/* 12-01 反目2巡目: 高さは画面の高さ（vh）に連動させない（全体を撮る高い画面で枠が数千px に伸び、枠の絵が縦に引き伸ばされた）。スマホは 30vh の
   よくある値（高さ 812〜844px の画面で 244〜253px）に合わせた固定の高さ、PC は今の 260px のまま */
.kk-news-in { height: 250px; margin-top: 8px; padding-right: 8px; overflow-y: auto; overscroll-behavior: contain; }
@media (min-width: 768px) { .kk-news-in { height: 260px; } }
.kk-news-l > li { border-bottom: 1px dashed var(--kk-ink); }
.kk-nd summary, .kk-nd-only { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 12px; padding: 12px 0 10px; }
.kk-nd summary { cursor: pointer; list-style: none; }
.kk-nd summary::-webkit-details-marker { display: none; }
.kk-nd time, .kk-nd-only time { font-size: 13px; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.kk-nd .t, .kk-nd-only .t { font-size: 15px; font-weight: 500; line-height: 1.6; color: var(--kk-ink); letter-spacing: 0.04em; }
.kk-nd[open] .t { text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) { .kk-nd summary:hover { opacity: .7; } }
.kk-nd-b { padding: 0 8px 14px 0; font-size: 14px; line-height: 1.8; }
.kk-news .kk-pill { display: flex; width: fit-content; margin: 20px auto 0; }
.kk-drop a { display: block; transition: opacity .3s var(--ease); }
.kk-drop img { width: 100%; height: auto; }
@media (hover: hover) { .kk-drop a:hover { opacity: .85; } }

/* 発熱外来・インフルエンザ予防接種・舌下免疫療法の案内の枠（ベージュ／珊瑚の水彩の面・こげ茶の線の角の丸い枠・リスの線画） */
.kk-intro { padding-top: 0; }
.kk-intro .wrap { display: grid; gap: 28px; }
.kk-box { display: grid; gap: 18px; padding: 28px 18px 24px; border: 1px solid var(--kk-ink); border-radius: 15px; color: var(--kk-ink);
  background-repeat: no-repeat, repeat; background-size: 64px auto, auto; }
.kk-box-beige { background-image: url(/wp-content/themes/stagegroup/asset/images/icon_pickup01.png), url(/kitaguchi/wp-content/themes/stagegroup/asset/images/bg_beige.png);
  background-position: 8px 8px, 0 0; }
.kk-box-coral { background-image: url(/kitaguchi/wp-content/themes/stagegroup/asset/images/icon_pickup02.png), url(/kitaguchi/wp-content/themes/stagegroup/asset/images/bg_coral.png);
  background-position: right 8px bottom 8px, 0 0; }
.kk-box-in { text-align: center; }
.kk-box-h { display: inline; font-size: 20px; font-weight: 700; line-height: 1.6; background: linear-gradient(transparent 60%, rgba(255, 255, 255, .6) 60%); }
.kk-box-t { margin-top: 12px; font-size: 14px; line-height: 1.8; text-align: left; }
.kk-box-go { display: flex; justify-content: center; }
.kk-box-btn { display: inline-flex; align-items: center; justify-content: center; gap: 16px; width: 100%; max-width: 320px; min-height: 52px; padding: 8px 24px;
  border-radius: 999px; background: #fff; color: var(--kk-ink); font-size: 16px; font-weight: 500; text-decoration: none; transition: background-color .3s var(--ease), color .3s var(--ease); }
@media (hover: hover) { .kk-box-btn:hover { background: var(--kk-ink); color: #fff; } }
.kk-fever .kk-box-in { text-align: left; }
.kk-fever-h { font-size: 17px; font-weight: 700; line-height: 1.6; color: var(--kk-red); }
.kk-fever-body { margin-top: 14px; font-size: 14px; line-height: 1.8; }
.kk-fever-body p + p { margin-top: 1em; }
/* 問診表のボタン: 今のサイトと同じ珊瑚色の面に白い点線と白い字。白い字が読めるよう面は少し濃く（#eea282 → #d9774f・3:1 以上） */
.kk-fever-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: calc(100% - 10px); max-width: 330px; min-height: 64px; margin: 5px;
  padding: 10px 18px; border: 2px dashed #fff; border-radius: 10px; background: var(--kk-coral-d); box-shadow: 0 0 0 5px var(--kk-coral-d); color: #fff;
  font-size: 18px; font-weight: 700; line-height: 1.4; text-decoration: none; transition: background-color .3s var(--ease), color .3s var(--ease); }
.kk-fever-btn img { width: 40px; height: 40px; flex: none; }
@media (hover: hover) { .kk-fever-btn:hover { background: #fff; color: #a14a06; border-color: var(--kk-orange); box-shadow: 0 0 0 5px #fff; } }
@media (min-width: 900px) {
  .kk-box { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: center; gap: 32px; padding: 28px 4% 28px 8%; background-size: 93px auto, auto; }
  .kk-box-beige, .kk-box-coral { background-image: url(/wp-content/themes/stagegroup/asset/images/icon_pickup01.png), var(--kk-paper); background-position: 1% bottom, 0 0; }
  .kk-box-beige { --kk-paper: url(/kitaguchi/wp-content/themes/stagegroup/asset/images/bg_beige.png); }
  .kk-box-coral { --kk-paper: url(/kitaguchi/wp-content/themes/stagegroup/asset/images/bg_coral.png); }
  .kk-box-in { text-align: left; }
  .kk-box-h { font-size: 26px; }
  .kk-fever-h { font-size: 20px; }
  .kk-fever-body { font-size: 15px; }
}

/* 診療カレンダー（PC は左に札の形の見出しと凡例、右に2か月） */
.kk-cal { padding-top: 0; }
.kk-cal .cal-block { display: grid; gap: 12px; }
.kk-cal-h { display: flex; align-items: center; width: 280px; max-width: 100%; aspect-ratio: 313 / 86; padding: 0 0 4px 90px;
  background: url(/kitaguchi/wp-content/themes/stagegroup/asset/images/ttl_calender.png) no-repeat center / contain; font-size: 19px; font-weight: 500; line-height: 1.3; color: var(--kk-ink); }
.kk-cal .cal-legend { margin-top: 0; color: var(--kk-ink); }
.kk-cal .cal { width: min(100%, 340px); background: #fff; border: 1px solid #c9b79f; }
.kk-cal .cal caption { padding: 6px 0; border: 1px solid #c9b79f; border-bottom: 0; text-align: center;
  background: url(/kitaguchi/wp-content/themes/stagegroup/asset/images/bg_coral.png); color: var(--kk-ink); }
.kk-cal .cal td { padding: 5px 0; }
@media (min-width: 900px) {
  .kk-cal .cal-block { grid-template-columns: 300px minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: start; column-gap: 40px; }
  .kk-cal .cal-legend { grid-column: 1; }
  .kk-cal .cal-months { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
}

/* 当クリニックについて（院長の似顔絵と文・ギザギザの線・理事長と医師の丸い似顔絵） */
.kk-about { background: #f1ecd2 url(/img/kita/bg-clinic.webp) no-repeat center top / cover; }
.kk-dir { display: grid; gap: 24px; margin-top: 40px; }
@media (min-width: 768px) { .kk-dir { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 48px; align-items: start; max-width: 1000px; margin: 56px auto 0; } }
.kk-dir-fig { max-width: 300px; margin: 0 auto; text-align: center; }
.kk-dir-fig img { width: 100%; height: auto; }
.kk-dir-fig figcaption { margin-top: 12px; font-size: 18px; font-weight: 500; line-height: 1.5; color: var(--kk-ink); }
.kk-dir-org { display: block; font-size: 13px; }
@media (max-width: 767px) { .kk-dir-org { display: none; } }  /* 今のサイトと同じく PC だけ */
.kk-dir-t p { font-size: 15px; line-height: 1.9; color: var(--kk-ink); }
.kk-dir-t p + p { margin-top: 1em; }
.kk-num { display: inline-block; padding: 0 5px; background: var(--kk-ink); color: #fff; font-size: 1.3em; line-height: 1.4; }
.kk-line { width: 100%; height: auto; margin: 48px 0; }
.kk-docs { display: grid; gap: 40px; max-width: 760px; margin: 0 auto; }
@media (min-width: 768px) { .kk-docs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; } }
.kk-docs li { text-align: center; }
.kk-doc-face { width: 194px; max-width: 70%; margin: 0 auto; }
.kk-doc-name { margin-top: 12px; font-size: 17px; font-weight: 500; line-height: 1.5; color: var(--kk-ink); }
.kk-doc-t { margin-top: 12px; text-align: left; font-size: 14px; line-height: 1.9; color: var(--kk-ink); }

/* 選ばれる4つの理由（桃色の帯の見出し・白い箱・番号の札）とスタッフの写真 */
.kk-reason { padding-bottom: 0; }
.kk-reasons { display: grid; gap: 16px; max-width: 1000px; margin: 40px auto 0; }
@media (min-width: 768px) { .kk-reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; } }
.kk-reasons li { border: 1px solid #ccc; background: #fff; color: var(--kk-ink); }
.kk-rs-h { display: flex; align-items: center; gap: 6px; padding-right: 12px; font-size: 17px; font-weight: 500; line-height: 1.5; color: var(--kk-ink); }
.kk-rs-h img { position: relative; top: -6px; left: 5px; width: 52px; flex: none; }
.kk-reasons p { padding: 8px 16px 16px; font-size: 14px; line-height: 1.9; }
@media (min-width: 768px) { .kk-rs-h { font-size: 19px; } .kk-rs-h img { width: 72px; } }
.kk-reason-ph { display: block; margin-top: 16px; }
.kk-reason-ph img { width: 100%; height: auto; }

/* YouTube（今のサイトの北口院のトップは動画を埋め込まず、文とボタンだけ） */
.kk-movie { padding: 32px 0 56px; }
.kk-movie .kk-movie-t { max-width: none; font-size: 16px; line-height: 2; text-align: center; color: var(--kk-ink); }
@media (max-width: 767px) { .kk-movie .kk-movie-t { font-size: 14px; text-align: left; } }

/* 診療案内（5つの丸）と紅葉の木の並び */
.kk-medical { padding-bottom: 0; }
.kk-catch { max-width: none; margin-top: 24px; text-align: center; }
@media (max-width: 767px) { .kk-catch { text-align: left; } }
.kk-mcircles { margin-top: 32px; }
@media (min-width: 900px) { .kk-mcircles { grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 760px; } }
.kk-trees { height: 60px; margin-top: 48px; background: url(/kitaguchi/wp-content/themes/stagegroup/asset/images/bg_medical.png) repeat-x center bottom / 700px 60px; }
@media (min-width: 768px) { .kk-trees { height: 120px; margin-top: 64px; background-size: 1400px 120px; } }

/* 病気や治療法について（方眼の地・斜めの線の見出し・ベージュの水彩のボタン） */
.kk-method { background: #fffdf5 url(/kitaguchi/wp-content/themes/stagegroup/asset/images/bg_grid02.png) repeat; }
.kk-method-h { display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 17px; font-weight: 500; line-height: 1.6; text-align: center; color: var(--kk-ink); }
.kk-method-h::before, .kk-method-h::after { content: ""; flex: none; width: 34px; height: 34px; background: no-repeat center / contain; }
.kk-method-h::before { background-image: url(/kitaguchi/wp-content/themes/stagegroup/asset/images/ttl_methodmethod-l.png); }
.kk-method-h::after { background-image: url(/kitaguchi/wp-content/themes/stagegroup/asset/images/ttl_methodmethod-r.png); }
.kk-method-l { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.kk-method-l a { position: relative; display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 8px 28px 8px 12px;
  background: #efe6c4 url(/kitaguchi/wp-content/themes/stagegroup/asset/images/bg_beige.png); color: var(--kk-ink); font-size: 14px; font-weight: 500; line-height: 1.5;
  text-align: center; text-decoration: none; transition: opacity .3s var(--ease); }
.kk-method-l .icon-arrow { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); }
@media (hover: hover) { .kk-method-l a:hover { opacity: .7; } }
@media (min-width: 768px) {
  .kk-method-h { font-size: 24px; gap: 24px; } .kk-method-h::before, .kk-method-h::after { width: 51px; height: 51px; }
  .kk-method-l { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 24px; } .kk-method-l a { font-size: 16px; min-height: 58px; }
}

/* インフォメーション（支払い方法・アレルゲン免疫療法ナビ・奏の杜）、患者様の声（旗飾りとスタッフの絵）、募集とブログとインスタのバナー */
.kk-info { background: #fff; padding-bottom: 0; }
.kk-pay { display: grid; gap: 24px; justify-items: center; margin-top: 40px; }
.kk-pay picture { max-width: 741px; }
.kk-pay picture img { width: 100%; height: auto; }
.kk-pay-side { display: grid; gap: 16px; justify-items: center; }
.kk-pay-side a { display: block; max-width: 325px; transition: opacity .3s var(--ease); }
.kk-pay-side .icon-ext { display: none; }  /* 画像のリンクには外部の印を重ねない（読み上げの断り書きは残す） */
.kk-town { display: none; }
@media (min-width: 1024px) { .kk-pay { grid-template-columns: minmax(0, 741px) 325px; justify-content: center; align-items: center; gap: 40px; } .kk-town { display: block; } }
.kk-voice { margin-top: 56px; background: #fbe9ec url(/kitaguchi/wp-content/themes/stagegroup/asset/images/bg_stripe02.png) repeat; }
.kk-voice-in { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 360px; padding: 32px var(--gutter);
  background: url(/img/kita/voice-bg-sp.webp) no-repeat center bottom / auto 260px; text-align: center; }
.kk-voice-in .voice-h img { width: 180px; margin: 0 auto -8px; }
.kk-voice-in .sec-en { margin-top: 0; color: #f5845a; }
.kk-voice-t { max-width: 15em; margin-top: 8px; font-size: 14px; line-height: 1.8; color: var(--kk-ink); }
.kk-voice-in .btn { margin-top: 16px; min-width: 220px; height: 48px; background: #fff; }
@media (min-width: 768px) {
  .kk-voice-in { min-height: 379px; background-image: url(/img/kita/voice-bg.webp); background-size: auto 100%; }
  .kk-voice-in .voice-h img { width: 220px; }
  .kk-voice-t { max-width: 22em; font-size: 15px; }
}
.kk-bnrs { padding-top: 40px; padding-bottom: 80px; }
.kk-bnr-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 24px; }
.kk-bnr-row + .kk-bnr-row { margin-top: 16px; }
.kk-bnr-row li { width: 100%; }
.kk-bnr-row a { display: block; transition: opacity .3s var(--ease); }
.kk-bnr-row img { width: 100%; height: auto; }
.kk-bnr-row .icon-ext { display: none; }
@media (hover: hover) { .kk-bnr-row a:hover, .kk-pay-side a:hover { opacity: .85; } }
@media (min-width: 768px) {
  .kk-bnr-row:nth-child(1) li { max-width: 460px; }
  .kk-bnr-row:nth-child(2) li:first-child { flex: 0 1 calc(60% - 12px); max-width: 630px; }
  .kk-bnr-row:nth-child(2) li:last-child { flex: 0 1 calc(40% - 12px); max-width: 422px; }
  .kk-bnr-row:nth-child(3) li { max-width: 600px; }
}
.kk-access { border-top: 1px solid var(--line); }

/* 北口院のフッターの絵の札（今の北口院サイトのフッターの横並び5つ。本院のフッターの左の睡眠時無呼吸症候群の札は無い） */
.foot-bnr-kita { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .foot-bnr-kita { grid-template-columns: minmax(0, 1fr); } .foot-bnr-kita .foot-bnr-row { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* D1 北口院の下のページ: 頭（ご予約方法は末尾にも）の目次のボタンを横に並べる。お知らせの一覧（/kitaguchi/news/） */
.wp-body .kk-pnav { display: flex; flex-wrap: wrap; gap: 0 4px; margin-bottom: 16px; }
.kk-nlist { display: grid; gap: 40px; max-width: 960px; margin: 0 auto; }
.kk-nl-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; padding: 12px 16px; background: #e5f0d3; color: var(--ink);
  font-size: 16px; font-weight: 500; line-height: 1.6; }
.kk-nl-h time { font-size: 13px; font-weight: 400; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.kk-nl-b { padding: 16px 16px 0; }

/* ==== 12-01 谷さん確認 γ: 北口院・いびき ==== */
/* 北口院のページ全体（body の直下のヘッダーが北口院のもの＝北口院のトップ・下のページ・お知らせ）。
   T26: 本院の緑の色の変数を、今の北口院サイトの色（こげ茶 #42210b）に置き換える。ボタン・リンク・固定バー・下のメニュー・診療時間の印・
   フォーカスの線に効く。若葉の面は北口院の薄い橙に */
body:has(> .site-header-kita) { --green: #42210b; --green-d: #2a1405; --leaf: #fbeee0; }
body:has(> .site-header-kita) .local-nav :is(a, span[aria-current]) { border-color: #e3cdb4; }
body:has(> .site-header-kita) .kk-nl-h { background: #fae0cf; }
/* 大きな方針「本文の左寄り」: 北口院の下のページ・お知らせの本文は、今の北口院サイトと同じく枠の幅いっぱい（中央）に置く */
body:has(> .site-header-kita) main .sec > .wrap.grid > .c1-10 { grid-column: 1 / -1; }
body:has(> .site-header-kita) .wp-body { max-width: 1200px; margin-inline: auto; }

/* T25・T26 ヘッダー: メニューの今いる所は今の北口院サイトと同じ下の淡い橙の線。WEB予約は今のサイトと同じこげ茶の線の白いボタン */
@media (min-width: 1024px) {
  .site-header-kita .gnav a[aria-current="page"] { color: #42210b; background-image: linear-gradient(#ffd8a0, #ffd8a0); background-size: 100% 4px; }
  @media (hover: hover) { .site-header-kita .gnav a:hover { color: #42210b; background-image: linear-gradient(#ffd8a0, #ffd8a0); background-size: 100% 4px; } }
  /* 「本院サイト」: 今の北口院サイトのメニューの右端と同じ緑の森の絵の面（bg_navmainsite.png）に白い字。絵が読めないときも緑のグラデーション */
  .site-header-kita .gnav a.gnav-honin { align-self: stretch; display: flex; align-items: center; margin-left: auto; padding: 0 24px; color: #fff;
    background: url(/kitaguchi/wp-content/themes/stagegroup/asset/images/bg_navmainsite.png) no-repeat center bottom / cover, linear-gradient(160deg, #6aa84f, #2f6d2b);
    text-shadow: 0 1px 2px rgba(0, 0, 0, .35); transition: opacity .3s var(--ease); }
  @media (hover: hover) { .site-header-kita .gnav a.gnav-honin:hover { color: #fff; opacity: .75;
    background: url(/kitaguchi/wp-content/themes/stagegroup/asset/images/bg_navmainsite.png) no-repeat center bottom / cover, linear-gradient(160deg, #6aa84f, #2f6d2b); } }
}
.site-header-kita .head-cta .btn { border: 2px solid #42210b; background: #fff; color: #42210b; }
@media (hover: hover) { .site-header-kita .head-cta .btn:hover { background: #42210b; color: #fff; } }
/* スマホ・タブレット: メニューの左に「本院サイト」の四角（今の北口院サイトの mainsite.png）、メニューのボタンは今のサイトと同じこげ茶の四角 */
.head-honin { display: none; }
@media (max-width: 1023px) {
  .head-honin { display: block; flex: none; width: 46px; height: 46px; border-radius: 5px; overflow: hidden; background: linear-gradient(160deg, #6aa84f, #2f6d2b); }
  .head-honin img { width: 100%; height: 100%; }
  .site-header-kita .hamburger { width: 46px; height: 46px; border-radius: 5px; background: #42210b; }
  .site-header-kita .hamburger span { width: 28px; background: #fff; }
  .site-header-kita .drawer a.drawer-honin { margin-top: 20px; padding: 18px 16px; border-bottom: 0; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
    background: url(/kitaguchi/wp-content/themes/stagegroup/asset/images/bg_navmainsite_sp.png) no-repeat center / cover, linear-gradient(160deg, #6aa84f, #2f6d2b); }
}

/* T26 フッター: 今の北口院サイトと同じ並びと色。橙の帯「ご予約・お問い合わせ」→ 白の地の院の情報（ロゴ・診療時間・所在地・地図）→
   橙のフッター（メニュー1行・絵の札・紅葉の森の絵）。帯 #e3ae6a・フッター #e19d50 は今のサイトの CSS の値 */
.site-footer-kita { padding-top: 0; background: #e19d50; color: #fff; }
.site-footer-kita > .wrap.grid { display: flex; flex-direction: column; align-items: center; gap: 32px; padding-top: 56px; }
.site-footer-kita .foot-nav { order: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; }
.site-footer-kita .foot-nav > div:first-child { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 48px; }
.site-footer-kita .foot-nav > div:empty { display: none; }
.site-footer-kita .foot-nav > div:first-child a { font-size: 18px; font-weight: 500; }
.site-footer-kita .foot-more { justify-content: center; margin-top: 0; }
.site-footer-kita nav a, .site-footer-kita .sns a, .site-footer-kita .sns-h { color: #fff; }
.site-footer-kita .foot-bnr-kita { order: 2; width: min(100%, 900px); }
.site-footer-kita .c1-5 { order: 3; }
.site-footer-kita .sns-box { margin-top: 0; text-align: center; }
.site-footer-kita .sns { justify-content: center; }
.site-footer-kita .foot-end { order: 4; align-items: center; }
.site-footer-kita .copy { color: #fff; text-align: center; }
@media (hover: hover) { .site-footer-kita nav a:hover, .site-footer-kita .sns a:hover { color: #fff; opacity: .7; } }
@media (max-width: 1023px) { .site-footer-kita .foot-nav > div:first-child { gap: 0 24px; } .site-footer-kita .foot-nav > div:first-child a { font-size: 15px; } }
/* 絵の札: 今の北口院サイトと同じく PC は3つずつ（2段目は左から2つ）、タブレットは2つずつ、スマホは1つずつ */
@media (min-width: 640px) { .site-footer-kita .foot-bnr-kita .foot-bnr-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; } }
@media (min-width: 1024px) { .site-footer-kita .foot-bnr-kita .foot-bnr-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 30px; } }
.site-footer-kita .foot-forest { margin-top: 24px; background: none; }
.site-footer-kita .foot-forest img { width: 100%; max-width: none; height: min(45vw, 720px); min-height: 160px; object-fit: cover; object-position: center bottom; }
@media (max-width: 767px) { .site-footer-kita .foot-forest { background: none; } }

.kf-contact { background: #e3ae6a; color: #fff; }
.kf-contact-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding-top: 22px; padding-bottom: 22px; }
.kf-contact-h { font-size: 26px; font-weight: 700; line-height: 1.4; letter-spacing: 0.04em; color: #fff; }
.kf-tel { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 24px; font-weight: 500; letter-spacing: 0.04em; line-height: 1.2;
  text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kf-ic { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: #e3ae6a; }
.kf-ic-rsv { font-size: 11px; font-weight: 700; line-height: 1.15; letter-spacing: 0; text-align: center; }
.kf-web { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 8px 28px; border: 2px solid #42210b; border-radius: 50px;
  background: #fff; color: #42210b; font-size: 16px; font-weight: 500; line-height: 1.4; text-decoration: none; transition: background-color .3s var(--ease), color .3s var(--ease); }
@media (hover: hover) { .kf-web:hover { background: #42210b; color: #fff; } .kf-tel:hover { opacity: .8; } }
@media (min-width: 1024px) { .kf-tel { pointer-events: none; } }  /* 今のサイトと同じく PC では電話のリンクにしない（押しても何も起きないため） */
@media (max-width: 1023px) {
  .kf-contact-in { flex-direction: column; text-align: center; }
  .kf-contact-h { font-size: 22px; }
  .kf-web { width: 100%; max-width: 420px; padding: 8px 14px; font-size: 15px; letter-spacing: 0; white-space: nowrap; }
}
.kf-info { background: #fff; color: #42210b; padding: 36px 0 44px; }
.kf-logo a { display: block; width: fit-content; margin: 0 auto; }
.kf-logo img { height: 64px; width: auto; max-width: 100%; }
.kf-info-in { display: grid; gap: 28px; margin-top: 32px; }
@media (min-width: 1024px) { .kf-info-in { grid-template-columns: minmax(0, 35fr) minmax(0, 28fr) minmax(0, 35fr); gap: 24px; align-items: start; } }
.kf-board { padding: 12px 14px 10px; background: #fff; border: 8px solid #e6d4b3; box-shadow: inset 0 0 0 1px #c9a77a; }
.kf-board .hours-b td { color: #42210b; }
.kf-board-n { margin-top: 8px; font-size: 12px; line-height: 1.8; letter-spacing: 0.02em; }
.kf-txt p { padding-left: 1em; text-indent: -1em; font-size: 15px; font-weight: 500; line-height: 2; letter-spacing: 0.04em; }
.kf-txt a { color: inherit; text-decoration: none; }
.kf-map .map { display: block; aspect-ratio: auto; height: 250px; border-radius: 0; }
@media (max-width: 1023px) { .kf-map .map { height: 320px; } }

/* T27 トップの募集・ブログ・インスタのバナー: 今の北口院サイトと同じ大きさと間（医師募集は画面の幅の36%・看護師募集とブログは元の大きさで横に・
   インスタは元の大きさ。横の間 20px・縦の間 18〜20px） */
.kk-bnrs { padding-bottom: 50px; }
@media (min-width: 768px) {
  .kk-bnr-row { gap: 18px 20px; }
  .kk-bnr-row + .kk-bnr-row { margin-top: 18px; }
  .kk-bnr-row:nth-child(1) li { width: 36vw; max-width: 36vw; }
  .kk-bnr-row:nth-child(2) li:first-child { flex: 0 1 630px; max-width: 630px; }
  .kk-bnr-row:nth-child(2) li:last-child { flex: 0 1 422px; max-width: 422px; }
  .kk-bnr-row:nth-child(3) li { max-width: 595px; }
}

/* T28 トップの SNS: 今の北口院サイトの埋め込みの所と同じ地（水色の縦の縞）と見出し（水色のリボンに筆記体）。埋め込みの代わりにリンクのボタン */
.kk-social { padding: 48px 0 64px; background: #fff url(/kitaguchi/wp-content/themes/stagegroup/asset/images/bg_stripe.png) repeat; }
.kk-soc-row { display: grid; gap: 48px; }
@media (min-width: 768px) { .kk-soc-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kk-soc { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.kk-soc-h { width: min(100%, 370px); padding: 18px 0 34px; font-family: "Dancing Script", cursive; font-size: 24px; font-weight: 500; line-height: 1.2;
  letter-spacing: 0.02em; text-align: center; color: #fff; background: url(/kitaguchi/wp-content/themes/stagegroup/asset/images/ttl_social.png) no-repeat center / contain; }
.kk-soc-btn { display: inline-flex; align-items: center; gap: 14px; min-width: min(100%, 300px); min-height: 64px; padding: 8px 28px 8px 10px; border: 2px solid #42210b;
  border-radius: 50px; background: #fff; color: #42210b; font-size: 16px; font-weight: 500; line-height: 1.4; text-decoration: none;
  transition: background-color .3s var(--ease), color .3s var(--ease); }
.kk-soc-btn img { flex: none; width: 46px; height: 46px; }
.kk-soc-btn .icon-ext { margin-left: auto; }
@media (hover: hover) { .kk-soc-btn:hover { background: #42210b; color: #fff; } }
.kk-soc-insta { margin-top: 56px; }

/* T29 北口院の下のページの目次のボタン: 今の北口院サイトと同じく1行に同じ幅で並べ、文を折り返さない（こげ茶の線の白い丸いボタン・右に下向きの矢印）。
   スマホは2つずつ。ご予約方法の末尾の2つ（外のページ・LINE へ）は今のサイトと同じこげ茶の面 */
body:has(> .site-header-kita) .wp-body .kk-pnav { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 32px; }
body:has(> .site-header-kita) .wp-body .kk-pnav a.btn { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; min-width: 0; min-height: 40px;
  margin: 0; padding: 6px 26px 6px 12px; border: 1px solid #42210b; border-radius: 50px; background: #fff; color: #42210b; font-size: 14px; line-height: 1.4;
  letter-spacing: 0.02em; white-space: nowrap; text-decoration: none; }
body:has(> .site-header-kita) .wp-body .kk-pnav a.btn::after { content: ""; position: absolute; right: 12px; top: 50%; width: 9px; height: 12px; transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 12'%3E%3Cpath d='M4.5 0v10.5M1 7.5l3.5 3.5L8 7.5' fill='none' stroke='%2342210b' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat center / contain; }
@media (hover: hover) { body:has(> .site-header-kita) .wp-body .kk-pnav a.btn:hover { background: #42210b; color: #fff; } body:has(> .site-header-kita) .wp-body .kk-pnav a.btn:hover::after { filter: brightness(0) invert(1); } }
body:has(> .site-header-kita) .wp-body .qalist .kk-pnav { grid-template-columns: repeat(auto-fit, minmax(240px, 300px)); justify-content: center; gap: 12px 24px; margin: 32px 0 0; }
body:has(> .site-header-kita) .wp-body .qalist .kk-pnav a.btn { padding-right: 12px; background: #42210b; color: #fff; }
body:has(> .site-header-kita) .wp-body .qalist .kk-pnav a.btn::after { display: none; }
@media (max-width: 767px) { body:has(> .site-header-kita) .wp-body .kk-pnav a.btn { font-size: 13px; letter-spacing: 0; padding-right: 24px; } }
/* ご予約方法の LINE の QR コードを今の北口院サイトと同じ大きさに（元の絵 540px のまま大きく出ていた） */
body:has(> .site-header-kita) .wp-body .line_wrap__img.qr img { width: 150px; }

/* T24 いびき・無呼吸のトップの CPAP 治療: PC は「CPAP専門外来」と「ご予約」を横に並べ、同じ高さの丸いボタンにする。
   スマホ・タブレットは今のまま（縦に並べて中央）。2027年の予約先の切り替え（sas_booking・?switch=1）のボタンもこの並びに入る */
@media (min-width: 1024px) {
  .sas-cpap-btn { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 50px; }
  .sas-cpap-btn > .sas-btn { margin: 0; }
  .sas-cpap-btn > .sas-booking { margin-top: 0; }
  .sas-cpap-btn .sas-booking .btn { min-height: 66px; padding: 12px 40px; border-radius: 50px; }
}
/* T26 北口院のトップの担当医表: 今の北口院サイトと同じ色（月の帯 #fae0cf・来月 #f5c7a5・曜日の行 #ebe1ae・日付の行 #faf4d2・こげ茶の線の角の丸い枠）と、
   まわりの絵（今の北口院サイトの bg_schedule-pc.png。本院の風船と緑の木の絵の代わり） */
@media (min-width: 768px) { .kk-duty { background: #fffef7 url(/kitaguchi/wp-content/themes/stagegroup/asset/images/bg_schedule-pc.png) no-repeat center top / 100% auto; } }
.kk-duty .tt-box { border-color: #42210b; border-radius: 10px; }
.kk-duty .tt-ttl { background: #fae0cf; }
.kk-duty .tt-ttl-next { background: #f5c7a5; }
.kk-duty .tt-tbl thead th, .kk-duty .tt-tbl thead td { background: #ebe1ae; }
.kk-duty .tt-tbl .tt-d > *, .kk-duty .tt-tbl .tt-d td:empty { background: #faf4d2; }
/* 大きな方針「大きさの不揃い」: 北口院のトップの診療カレンダーを今の北口院サイトと同じ大きさに（PC は右の幅を2か月で分ける。休診日は濃い桃色に白い数字） */
@media (min-width: 900px) {
  .kk-cal .cal-months { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 30px; }
  .kk-cal .cal-months > .cal { width: 100%; max-width: none; font-size: 14px; }
}
.kk-cal .cal td.cal-off > span:first-child, .kk-cal .cal-dot { background: #ff7bac; color: #fff; }
.kk-cal .cal td.cal-am > span:first-child, .kk-cal .cal-dot.cal-dot-am { background: linear-gradient(#ff7bac 50%, #fff 50%); box-shadow: inset 0 0 0 1px #ff7bac; color: var(--ink); }
.kk-cal .cal td.cal-pm > span:first-child, .kk-cal .cal-dot.cal-dot-pm { background: linear-gradient(#fff 50%, #ff7bac 50%); box-shadow: inset 0 0 0 1px #ff7bac; color: var(--ink); }
/* PC のフッターの上の帯: 1200px 以上は今のサイトと同じく1行（見出し・電話2つ・インターネット予約）。それより狭いと2行にして中央にそろえる */
@media (min-width: 1024px) and (max-width: 1199px) { .kf-contact-in { justify-content: center; } }
@media (min-width: 1200px) { .kf-contact-in { flex-wrap: nowrap; } .kf-contact-h { font-size: 24px; } .kf-tel { font-size: 22px; } .kf-web { padding: 8px 22px; font-size: 15px; } }
/* 北口院のご予約方法の Q&A（今の北口院サイトと同じく、白い箱の問いを押すと答えが開く。KITA_QA_JS が問いをボタンにする。JS が無いときは答えを出したまま） */
body:has(> .site-header-kita) .wp-body .qalist > dt.ac_btn { margin-top: 12px; }
body:has(> .site-header-kita) .wp-body .qalist > dt.ac_btn > p { margin: 0; }
.kk-qa-b { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 12px 48px 12px 16px; border: 1px solid #c9b79f;
  border-radius: 6px; background: #fff; color: #42210b; font: inherit; font-weight: 500; line-height: 1.6; text-align: left; cursor: pointer; }
.kk-qa-b::before { content: "Q" / ""; flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #e19d50; color: #fff; font-size: 14px; }
.kk-qa-b::after { content: "+" / ""; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; line-height: 1; }
.kk-qa-b[aria-expanded="true"] { border-radius: 6px 6px 0 0; }
.kk-qa-b[aria-expanded="true"]::after { content: "−" / ""; }
@media (hover: hover) { .kk-qa-b:hover { background: #fbeee0; } }
body:has(> .site-header-kita) .wp-body .qalist > dd.ac_body { display: flex; gap: 12px; margin: 0; padding: 14px 16px 16px; border: 1px solid #c9b79f; border-top: 0;
  border-radius: 0 0 6px 6px; background: #fff; }
body:has(> .site-header-kita) .wp-body .qalist > dd.ac_body[hidden] { display: none; }
body:has(> .site-header-kita) .wp-body .ac_body__ttl { flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #eea282;
  color: #fff; font-size: 14px; font-weight: 500; line-height: 1; }
/* ==== 12-01 谷さん確認 γ ここまで ==== */

/* ==== 12-01 谷さん確認 α: トップ ==== */
/* T2 上の案内の帯: 「文字の帯」を並び順のとおり縦に重ねる（build.py の move_notice）。行き先の無い帯は文だけ */
.move-notices { position: relative; z-index: 3; }
.move-notice.mn-plain { margin: 0; }
.move-notice .icon-ext { flex: none; color: var(--moon); }  /* 行き先が外のサイトの帯（新しいタブの印） */
.move-notice-sas .icon-ext { color: var(--night); }
@media (max-width: 767px) { .move-notice .icon-ext { margin-left: auto; } }

/* T1・T23 右上の「いびき・無呼吸」「津田沼北口院」（1200px 以上の上のメニュー）: 2つを同じ幅にし、メニューの段の高さいっぱいの面に。
   いびき・無呼吸は今のサイトと同じ夜空の面（紺 #02146e に今のサイトの星の絵 bg_nav7.png を重ねる・今のサイトの base.css の .nav_menu .snore と同じ）に月の印。
   北口院は今のサイトの橙 #f4a460 に家の印。今のサイトの本院の「分院サイトTOP」は #f4a460 のベタ（画素で確認）だが、
   谷さんの「ベタでなくグラデーション」に合わせ、同じ橙で上を明るくした（仮） */
@media (min-width: 1200px) {
  .site-header:not(.site-header-kita) .gnav-ex { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2px; align-self: stretch; }
  .site-header:not(.site-header-kita) .gnav-ex a { display: flex; align-items: center; justify-content: center; gap: 6px; height: 100%; padding: 0 12px;
    transition: opacity .3s var(--ease); }
  .site-header:not(.site-header-kita) .gnav-ex a.gnav-sas, .site-header:not(.site-header-kita) .gnav-ex a.gnav-sas:hover {
    color: #fff; background: #02146e url(/wp-content/themes/stagegroup/asset/images/bg_nav7.png) no-repeat center / cover; }
  .site-header:not(.site-header-kita) .gnav-ex a.gnav-kita, .site-header:not(.site-header-kita) .gnav-ex a.gnav-kita:hover {
    color: #42210b; background-color: #f4a460; background-size: auto; background-image: linear-gradient(180deg, #fac792 0%, #f4a460 62%, #ef9a4f 100%); }
  @media (hover: hover) { .site-header:not(.site-header-kita) .gnav-ex a:hover { opacity: .75; } }
  .site-header:not(.site-header-kita) .gnav-ex svg { flex: none; }
}
/* スマホの右上の「いびき」も同じ星の絵を重ねる（今のサイトのスマホの sas.png も夜空に月） */
@media (max-width: 767px) { .head-sas { background: var(--night) url(/wp-content/themes/stagegroup/asset/images/bg_nav7.png) no-repeat center / cover; } }

/* T3・T4 トップの写真: 何枚かが重なって入れ替わる（build.py の kv_slides・KV_SLIDES_JS）。JS が無いときは1枚目だけ。
   写真の中の院名と駅からの道のりは、今のサイトの写真の中の文字と同じく大きく（写真の幅に合わせた cqi）、白い縁取りで写真の上に直接 */
.kv2-photo { container-type: inline-size; }
.kv2-slides, .kv2-slides > li { position: absolute; inset: 0; margin: 0; padding: 0; }
.kv2-slides > li { opacity: 0; transition: opacity 1.2s var(--ease); }
.kv2-slides > li.is-on { opacity: 1; }
.kv2-slides img { width: 100%; height: 100%; object-fit: cover; }
.kv2-slides > li:not(:first-child) img { transform: scale(1.06); }  /* 今のサイトの写真の角の丸み（透明）が箱の角に出ないように */
.kv2-photo::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 55%; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, .2) 60%, rgba(255, 255, 255, 0) 100%); }
.kv2-photo .kv2-name { z-index: 2; left: 4cqi; top: 3.5cqi; gap: 0.1em; padding: 0; background: none; border-left: 0; line-height: 1.3; letter-spacing: 0.04em;
  text-shadow: 0 0 2px #fff, 0 0 4px #fff, 0 0 8px #fff, 0 0 12px rgba(255, 255, 255, .9); }
.kv2-photo .kv2-clinic { font-size: 22px; font-size: 6.2cqi; color: var(--green-d); font-weight: 700; }
.kv2-photo .kv2-station { font-size: 14px; font-size: 4cqi; color: var(--ink); font-weight: 700; }
.kv2-big { font-size: 1.9em; letter-spacing: 0.02em; }  /* 1366px で「津田沼駅」1字およそ 48px（今のサイトの写真の中はおよそ 57px。写真の幅が半分なので1行に収まる大きさまで） */
.kv2-dots { position: absolute; left: 0; right: 0; bottom: 6px; z-index: 3; display: flex; justify-content: center; gap: 2px; }
.kv2-dots[hidden] { display: none; }
@media (max-width: 767px) { .kv2-dots { bottom: 20px; } }  /* スマホは看板が写真の下の端に重なるので、その上に */
.kv2-dot { display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; background: none; cursor: pointer; }
.kv2-dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .6); box-shadow: 0 0 0 1.5px rgba(59, 36, 18, .45); }
.kv2-dot[aria-current]::before { background: var(--green); box-shadow: 0 0 0 2px #fff; }
@media (prefers-reduced-motion: reduce) { .kv2-slides > li { transition: none; } }

/* T6 お知らせ一覧のボタン: スマホは中央（PC は今の位置） */
@media (max-width: 767px) { .top-news .btn { display: flex; width: fit-content; margin-left: auto; margin-right: auto; } }

/* 大きな方針「本文の左寄り」・T8・T9: 各節のボタン・本文を中央に（今のサイトのトップと同じ） */
.top-c { text-align: center; }
.med-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 32px; }
.med-special { max-width: 760px; margin-left: auto; margin-right: auto; }
.med-special > h3 { text-align: center; }
.bg-clinic .vice-h { text-align: center; }
.bg-clinic .vice-in { max-width: 760px; margin-left: auto; margin-right: auto; }
.top-inside .inside-head { text-align: center; }
.top-inside .inside-head .body { margin-left: auto; margin-right: auto; }

/* T10 スタッフ募集・医師募集のバナー: 2枚の高さと上下の位置をそろえる（横幅を絵の縦横比で分ける＝同じ高さ。630×106・1200×224） */
@media (min-width: 768px) {
  .top-recruit .top-bnr-l { display: flex; justify-content: center; align-items: flex-start; gap: 24px; }
  .top-recruit .top-bnr-l li:first-child { flex: 5.943 1 0; }
  .top-recruit .top-bnr-l li:last-child { flex: 5.357 1 0; }
  .top-recruit .top-bnr-l a { display: block; }
}
/* ほかのバナー: インフォメーションの3枚（ドロップスクリーン・ブログ・インスタ）を今のサイトと同じく中央に、幅を詰めて（ブログは元の大きさ） */
.top-info .top-bnr-l { max-width: 620px; }

/* T11 アクセス: PC・タブレットは2×2（左上＝文、右上＝略図、左下＝Google マップ、右下＝正面玄関）。スマホは1列 */
.acc4 { display: grid; gap: 40px; }
.acc4-walk { color: var(--green-d); }
.acc4-rough img { width: 100%; max-width: 530px; height: auto; margin: 0 auto; }
.acc4-door .photo-s { aspect-ratio: 4 / 3; }
.acc4-door .photo-s img { transform: scale(1.04); }
.acc4-door figcaption { margin-top: 8px; font-size: 13px; color: var(--sub); }
@media (min-width: 768px) {
  .acc4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 48px; align-items: start; }
  .acc4-rough { align-self: center; }
}

/* T12 インフォメーション: 支払い方法のロゴの一覧の絵は消し、絵の中の文だけを吹き出しの形の文字で */
.info-pay { align-items: center; flex-wrap: wrap; }
.info-pay-t { padding: 14px 24px; border: 2px solid #c9c9c9; border-radius: 16px; background: #fff; color: var(--ink); font-size: 16px; font-weight: 500;
  line-height: 1.6; text-align: center; }
.info-pay-em { color: var(--green); }
@media (min-width: 768px) { .info-pay-t { padding: 16px 32px; font-size: 20px; } }

/* T13 フッターの病気のバナー（本院）: 今のサイトと同じく4つの同じ幅の列。左の列に大きいバナー（睡眠時無呼吸症候群）、右の3列に小さいバナー2段。
   上の段は上の辺、下の段は下の辺を大きいバナーとそろえる（右の3列の高さを大きいバナーに合わせ、2段を上下の端へ） */
@media (min-width: 768px) {
  .foot-bnr:not(.foot-bnr-kita) { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; gap: 16px; }
  .foot-bnr:not(.foot-bnr-kita) .foot-bnr-col { grid-column: 1; }
  .foot-bnr:not(.foot-bnr-kita) .foot-bnr-row { grid-column: 2 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; align-content: space-between; }
}
@media (min-width: 1024px) {
  .foot-bnr:not(.foot-bnr-kita) { gap: 24px; }
  .foot-bnr:not(.foot-bnr-kita) .foot-bnr-row { column-gap: 24px; }
}
/* ==== 12-01 谷さん確認 α ここまで ==== */

/* ==== 12-01 谷さん確認 β: 下のページ ==== */
/* 移した固定ページ（build.py の page_free が書く section.wp-page）・舌下免疫療法・医師紹介・一覧のページ送り。
   値は今のサイトのテーマの CSS（content.css・sub02・miticure/sidacure の pageparts.css）を読んで写した。テーマの CSS は読み込まない */

/* ---- 大きな方針「本文の左寄り」: 本文の箱を今のサイトと同じく中央に・今のサイトの幅（.site_wrap の中身 1200px）で。
   それまでは 12 段のうち 10 段（c1-10）＋ .wp-body の max-width 760px で、ロゴの左端にそろい、PC で右に大きな余白と変な折り返しが出ていた */
.wp-page { padding-top: 24px; }
@media (min-width: 768px) { .wp-page { padding-top: 40px; } }
.wp-page > .wrap > .c1-10 { grid-column: 1 / -1; min-width: 0; }
.wp-page .wp-body { max-width: none; }
.wp-page .wp-body .site_wrap { max-width: 1200px; margin-inline: auto; }
/* 今のサイトの .single_page section（上下 5rem）。1つ目は見出しの面のすぐ下なので上を詰める */
.wp-main .wp-body section { padding: 50px 0; }
.wp-main .wp-body > article:first-child > section:first-child, .wp-main .wp-body > section:first-child { padding-top: 0; }
/* 中が空の section（今のサイトの目次などが移すときに外れた跡）は場所を取らない */
.wp-main .wp-body section:has(> .site_wrap:only-child:empty), .wp-main .wp-body section:has(> .site_wrap:only-child):not(:has(.site_wrap *)) { display: none; }
.wp-main .wp-body section + section, .wp-main .wp-body > * + * { margin-top: 0; }
@media (max-width: 639px) { .wp-main .wp-body section { padding: 28px 0; } }
.wp-main .wp-body { font-size: 16px; line-height: 1.85; }
@media (max-width: 639px) { .wp-main .wp-body { font-size: 15px; } }
/* 「変な折り返し」: 文節で折る指定（反目 中12 の auto-phrase）は、PC では行の右に大きな空きを残して早く折れていた。PC・タブレットは今のサイトと同じく行いっぱいまで */
@media (min-width: 768px) { .wp-main .wp-body { word-break: normal; } }
/* 面の色（今の bg_grid・bg_blue・bg_beige）は画面の端まで */
.wp-main .wp-body section:is(.bg_grid, .bg_blue, .bg_beige) { position: relative; isolation: isolate; }
.wp-main .wp-body section:is(.bg_grid, .bg_blue, .bg_beige)::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; }
.wp-main .wp-body section.bg_grid::before { background: #fffef7 url(/img/warm/grid.png) repeat; }
.wp-main .wp-body section.bg_blue::before { background: #e6f3f7; }
.wp-main .wp-body section.bg_beige::before { background: #e9e0d2; }
.pg-recruit .wp-body section.bg_beige::before { background: #f4eedb; }

/* 頭の目次のボタン（今の nav.single_nav: 同じ幅の白い丸いボタン4つ・矢印は下向き） */
.wp-main .wp-body nav.single_nav:not(#recruit_nav_warp) { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 10px; margin: 0; }
.wp-main .wp-body nav.single_nav:not(#recruit_nav_warp) a.btn { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; margin: 0;
  padding: 8px 28px 8px 14px; border: 1px solid #42210b; border-radius: 50px; background: #fff; color: #42210b; font-size: 15px; line-height: 1.4; }
.wp-main .wp-body nav.single_nav:not(#recruit_nav_warp) a.btn[href^="#"]::after { content: "↓"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); }
@media (hover: hover) { .wp-main .wp-body nav.single_nav:not(#recruit_nav_warp) a.btn:hover { background: #fff; color: rgba(66, 33, 11, .6); border-color: rgba(66, 33, 11, .6); } }
@media (max-width: 639px) { .wp-main .wp-body nav.single_nav:not(#recruit_nav_warp) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .wp-main .wp-body nav.single_nav:not(#recruit_nav_warp) a.btn { font-size: 13px; } }
/* 予約・予診票の面（今の .appoint: 薄い黄緑）と題（.appoint_ttl: 頭に丸い絵・下に線） */
.wp-main .wp-body section.appoint { position: relative; isolation: isolate; }
.wp-main .wp-body section.appoint::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; background: #f2ffd0; }
.wp-main .wp-body h2.appoint_ttl { display: flex; align-items: center; margin: 0 0 8px; padding: 0 0 6px; border-bottom: 1px solid #42210b; font-size: 26px; line-height: 1.5; }
.wp-main .wp-body h2.appoint_ttl span { display: inline-flex; flex: none; width: 1em; margin-right: 8px; }
@media (max-width: 639px) { .wp-main .wp-body h2.appoint_ttl { font-size: 20px; } }

/* 見出し（今の #main_content .sec_ttl: 中央・28px、下に英字） */
.wp-main .wp-body h2.sec_ttl { margin: 0 0 30px; font-size: 28px; line-height: 1.5; text-align: center; }
.wp-main .wp-body h2.sec_ttl .ttl_sub { margin-top: 2px; font-size: 22px; }
@media (max-width: 1023px) { .wp-main .wp-body h2.sec_ttl { margin-bottom: 16px; } }
@media (max-width: 639px) { .wp-main .wp-body h2.sec_ttl { font-size: 22px; } .wp-main .wp-body h2.sec_ttl .ttl_sub { font-size: 17px; } }
/* 枠の箱（今の .single_box: こげ茶の線・角丸 15px） */
.wp-main .wp-body .single_box { margin: 0 0 30px; padding: 3% 5%; border: 1px solid #42210b; border-radius: 15px; background: #fff; }
.wp-main .wp-body .single_box:last-child { margin-bottom: 0; }
@media (max-width: 639px) { .wp-main .wp-body .single_box { padding: 20px 14px; } }
/* 段組み（今の .flx_cont は縦に並べて中央。中の幅は 2/3・1/3・半分） */
.wp-main .wp-body .flx_cont { display: flex; flex-direction: column; align-items: center; margin: 0 auto; }
.wp-main .wp-body .flx_cont > div { padding: 0 25px; }
.wp-main .wp-body .col_middle { width: 66.66%; }
.wp-main .wp-body .col_small { width: 33.33%; }
.wp-main .wp-body .col_half { width: 48%; }
@media (max-width: 639px) { .wp-main .wp-body :is(.col_middle, .col_small, .col_half) { width: 100%; } .wp-main .wp-body .flx_cont > div { padding: 0; } }
/* 見出しの札（今の .doc_box__ttl: ベージュの吹き出し）と、帯の見出し（.feature_box__ttl）。文字が読めるよう色は少し濃く */
.wp-main .wp-body .doc_box__ttl { position: relative; display: inline-block; margin: 0 0 22px 10px; padding: 4px 16px; border-radius: 10px; background: #9e8566; color: #fff;
  font-size: 18px; line-height: 1.6; }
.wp-main .wp-body .doc_box__ttl::before { content: ""; position: absolute; left: 1em; bottom: -12px; border: solid transparent; border-width: 12px 10px 0; border-top-color: #9e8566; }
.wp-main .wp-body .doc_box__txt { padding: 0 10px; }
.wp-main .wp-body .feature_box { margin: 0; padding: 0; background: none; }
.wp-main .wp-body .feature_box__ttl { margin: 1.5em 0 .5em; padding: 2px 12px; border: 0; border-radius: 5px; background: #f4eedb; color: var(--green); font-size: 22px; line-height: 1.6; }
.wp-main .wp-body .feature_box__txt p { padding: 0 10px; }
@media (max-width: 639px) { .wp-main .wp-body .feature_box__ttl { font-size: 18px; } }
.wp-main .wp-body .txt_red { color: #c40000; }
/* 病気の説明・経歴の一覧（今の .def_list: 緑の題の下に説明。2列にしない） */
.wp-main .wp-body .def_list { display: block; border: 0; }
.wp-main .wp-body .def_list > dt.def_list__ttl { margin: 1em 0 .4em; padding: 0; border: 0; color: var(--green); font-size: 20px; line-height: 1.5; }
.wp-main .wp-body .def_list > dd.def_list__body { margin: 0; padding: 0 1em 1em; border: 0; }
@media (max-width: 639px) { .wp-main .wp-body .def_list > dt.def_list__ttl { font-size: 17px; } .wp-main .wp-body .def_list > dd.def_list__body { padding: 0 0 .8em; } }
/* 線つきの見出し（今の .locl_box__ttl: 題の右にこげ茶の線） */
.wp-main .wp-body .locl_box__ttl { display: flex; align-items: center; gap: 1em; margin: 1.2em 0 .5em; padding: 0; border: 0; font-size: 24px; white-space: nowrap; }
.wp-main .wp-body .locl_box__ttl::after { content: ""; flex: 1 1 auto; height: 2px; background: #42210b; }
@media (max-width: 639px) { .wp-main .wp-body .locl_box__ttl { font-size: 19px; } }
/* 切り替え（今の .tab_box。このサイトでは全部開いた形）の題 */
.wp-main .wp-body .tab_box { margin: 20px 0; }
.wp-main .wp-body .tab_box__label { display: block; margin: 24px 0 0; padding: 8px 14px; border-radius: 6px 6px 0 0; background: linear-gradient(100deg, #fff4c2, #fde9a6); border-bottom: 3px solid #8cc63f;
  color: #42210b; font-weight: 500; text-align: center; }
.wp-main .wp-body .tab_box__content { padding: 12px 4% 20px; }
/* JS が題をボタンにしたとき（今のサイトと同じく、黄色の題が並び、選んだ題は黄緑。中身は1つずつ） */
.wp-main .wp-body .tab_box [hidden] { display: none !important; }
.wp-main .wp-body .tab-list { display: flex; flex-wrap: wrap; gap: 5px; padding-bottom: 0; border-bottom: 3px solid #8cc63f; }
.wp-main .wp-body .tab-btn { flex: 1 1 0; min-height: 44px; padding: 8px .5em; border: 0; border-radius: 5px 5px 0 0; background: linear-gradient(160deg, #fff7c9, #fde49a 55%, #f8d27c);
  color: #42210b; font: inherit; font-size: 15px; font-weight: 500; line-height: 1.4; cursor: pointer; }
.wp-main .wp-body .tab-btn[aria-selected="true"] { background: linear-gradient(160deg, #d6ec9b, #a9d46a 55%, #8cc152); }
@media (hover: hover) { .wp-main .wp-body .tab-btn:not([aria-selected="true"]):hover { opacity: .75; } }
.wp-main .wp-body .tab-list + * { margin-top: 0; }
.wp-main .wp-body .tab_box > .tab_box__content { background: #fff; }
@media (max-width: 639px) { .wp-main .wp-body .tab-btn { flex-basis: calc(50% - 5px); font-size: 13px; } }

/* ---- T14 診療案内（/medical-treatment/〔部位〕/）: 部位のタブを今のサイトと同じ温かみのある色（黄色い水彩→今いる部位は黄緑）に。本文は白い枠の箱 */
.wp-main .med-tabs { gap: 6px; margin-bottom: 0; }
.wp-main .med-tabs a, .wp-main .wp-body .med-tabs a { border: 0; border-radius: 6px 6px 0 0; background: linear-gradient(160deg, #fff7c9 0%, #fde49a 55%, #f8d27c 100%); color: #42210b; font-weight: 500; }
.wp-main .med-tabs a[aria-current="page"], .wp-main .wp-body .med-tabs a[aria-current="page"] { background: linear-gradient(160deg, #d6ec9b 0%, #a9d46a 55%, #8cc152 100%); color: #2a1608; }
@media (hover: hover) { .wp-main .med-tabs a:not([aria-current]):hover { color: #42210b; opacity: .75; } }
.wp-main .wp-body .med_box { margin: 20px 0 0; }
.wp-main .wp-body .med_box > .med-tabs { margin-top: 0; padding-bottom: 3px; background: linear-gradient(90deg, #8cc152, #b9d871) bottom / 100% 3px no-repeat; }
.wp-main .wp-body .med_box__content { margin-top: 0; padding: 2% 5% 4%; border: 1px solid #42210b; border-radius: 0 0 15px 15px; background: #fff; }
@media (max-width: 639px) { .wp-main .wp-body .med_box__content { padding: 8px 14px 20px; } }

/* ---- T14 診療案内（/medical/）の下の3つの節（小児耳鼻咽喉科・ドロップスクリーン・検査・専門外来）: 題を左・文を右に離して置いていたのをやめ、中央の1列に */
.med-sec-in { max-width: calc(860px + 2 * var(--gutter)); text-align: center; }
.med-sec-in > .heading { margin: 0 0 32px; }
.med-sec-body { text-align: left; }
.med-sec-body > p { margin-inline: auto; }
.med-sec-body > .lead { text-align: center; }
.med-sec-body > .btn { display: flex; width: fit-content; margin-inline: auto; }
.med-sec-in .special { margin-inline: auto; }
@media (max-width: 767px) { .med-sec-in > .heading { margin-bottom: 20px; } }

/* ---- T18 ごあいさつ（/greeting/）: 題の四角（角に線の飾り）・院長の名前・ロゴの箱・4つの誓いの箱 */
.pg-greeting .wp-body #greeting h3 { position: relative; margin: 0 0 20px; padding: 15px 10px; border: 1px solid #42210b; font-size: 20px; line-height: 1.6; text-align: center; }
.pg-greeting .wp-body #greeting h3::before, .pg-greeting .wp-body #greeting h3::after { content: ""; position: absolute; width: 10px; height: 10px; }
.pg-greeting .wp-body #greeting h3::before { top: -11px; right: -11px; border-left: 1px solid #42210b; border-bottom: 1px solid #42210b; }
.pg-greeting .wp-body #greeting h3::after { bottom: -11px; left: -11px; border-right: 1px solid #42210b; border-top: 1px solid #42210b; }
.pg-greeting .wp-body .doctor_box__name { margin-top: 1em; font-size: 14px; text-align: center; }
.pg-greeting .wp-body .doc_box__img { text-align: center; }
.pg-greeting .wp-body #concept { padding: 40px 0; }
.pg-greeting .wp-body #concept::before { background: var(--beige); }
.pg-greeting .wp-body .concept_box { display: grid; grid-template-columns: 20% minmax(0, 60%); justify-content: center; column-gap: 24px; max-width: 1000px; margin: 0 auto; padding: 24px 16px;
  border-radius: 15px; background: #fff; }
.pg-greeting .wp-body .concept_box__logo { grid-row: 1 / 3; align-self: center; }
.pg-greeting .wp-body .concept_box__ttl { margin: 0 0 12px; padding: 0 0 10px; border-bottom: 2px dashed currentColor; font-size: 24px; text-align: center; }
@media (max-width: 639px) { .pg-greeting .wp-body .concept_box { grid-template-columns: minmax(0, 1fr); } .pg-greeting .wp-body .concept_box__logo { grid-row: auto; order: 1; text-align: center; }
  .pg-greeting .wp-body .concept_box__logo img { margin: 0 auto; } }
.pg-greeting .wp-body .primay_box { max-width: 1000px; margin: 0 auto; padding: 40px 60px; border: 1px solid #42210b; border-radius: 15px; background: rgba(255, 255, 255, .7); }
.pg-greeting .wp-body .primay_box__ttl { width: 90%; margin: 0 auto 24px; padding-bottom: 8px; border-bottom: 2px dashed #42210b; font-size: 22px; text-align: center; }
.pg-greeting .wp-body .primay_box__txt { width: 90%; margin: 0 auto; }
@media (max-width: 639px) { .pg-greeting .wp-body .primay_box { padding: 20px 12px; } .pg-greeting .wp-body :is(.primay_box__ttl, .primay_box__txt) { width: 100%; } }
.pg-greeting .wp-body .policy_box { max-width: 980px; margin: 0 auto; padding: 24px 0 40px; }
.wp-main .wp-body .policy_box__ttl { position: relative; width: min(65%, 560px); margin: 0 auto 28px; padding: 0 1em 12px; border: 0; font-size: 26px; text-align: center; }
.wp-main .wp-body .policy_box__ttl::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 7px; background: repeating-linear-gradient(-45deg, #39b54a, #39b54a 2px, #fff 2px, #fff 4px); }
.wp-main .wp-body .policy_box ul { width: 80%; margin: 0 auto; padding-left: 0; list-style: none; }
.wp-main .wp-body .policy_box ul li { margin: 0 0 1em; padding: 0 0 1em 1.6em; border-bottom: 1px dashed #42210b; text-indent: -1.6em; font-size: 18px; }
.wp-main .wp-body .policy_box ul li:last-child { border: 0; }
.wp-main .wp-body .policy_box ul li::before { content: ""; display: inline-block; width: 1em; height: 1em; margin-right: .6em; border-radius: 50%; background: #ffcc00; vertical-align: -.1em; }
@media (max-width: 639px) { .wp-main .wp-body .policy_box__ttl { width: 100%; font-size: 21px; } .wp-main .wp-body .policy_box ul { width: 100%; } .wp-main .wp-body .policy_box ul li { font-size: 16px; } }

/* ---- T17 クリニック紹介（/about/）: 今のサイトと同じく枠の箱に写真を3列、番号の色、吹き出し。うさぎと風船の絵（kazari）は箱の角に重ねる（本文の流れに置かない＝空白を出さない） */
.pg-about .wp-body .about_wrap { position: relative; z-index: 1; }
.pg-about .wp-body .about_wrap.single_box { padding: 4% 5%; }
.pg-about .wp-body :is(.about_wrap__kazari1, .about_wrap__kazari2) { position: absolute; z-index: 1; pointer-events: none; }
.pg-about .wp-body .about_wrap__kazari1 { top: -170px; left: -130px; width: 230px; }
.pg-about .wp-body .about_wrap__kazari2 { bottom: -40px; right: -100px; width: 230px; }
.pg-about .wp-body :is(.about_wrap__kazari1, .about_wrap__kazari2) img { width: 100%; }
@media (max-width: 1279px) { .pg-about .wp-body .about_wrap__kazari1 { left: -60px; } .pg-about .wp-body .about_wrap__kazari2 { right: -50px; } }
@media (max-width: 639px) {
  .pg-about .wp-body .about_wrap__kazari1 { top: -70px; right: -10px; left: auto; width: 110px; }
  .pg-about .wp-body .about_wrap__kazari2 { bottom: -30px; right: -14px; width: 150px; }
}
.pg-about .wp-body .about_img img { width: 100%; border-radius: 15px; }
.pg-about .wp-body .about_fl { display: flex; flex-wrap: wrap; justify-content: space-evenly; gap: 0; }
.pg-about .wp-body .about_fl > .about_fl__box { width: 31%; margin: 0; }
.pg-about .wp-body .about_fl > .about_fl__box:nth-child(n+4) { margin-top: 5%; }
.pg-about .wp-body .about_flmachine::after { content: ""; display: block; width: 31%; }
.pg-about .wp-body .about_fl__box img { width: 100%; border-radius: 12px; }
.pg-about .wp-body .about_fl__num { display: flex; align-items: center; margin: 16px 0 8px; color: var(--green); font-size: 19px; font-weight: 500; }
.pg-about .wp-body .about_fl__num span { flex: none; display: grid; place-items: center; width: 34px; height: 34px; margin-right: 10px; border-radius: 50%; background: var(--green); color: #fff; font-size: 16px; }
.pg-about .wp-body .about_fl__num1 { color: #c4505f; } .pg-about .wp-body .about_fl__num1 span { background: #ff98a3; }
.pg-about .wp-body .about_fl__num2 { color: #7a6c0b; } .pg-about .wp-body .about_fl__num2 span { background: #bba914; }
.pg-about .wp-body .about_fl__num3 { color: #00787a; } .pg-about .wp-body .about_fl__num3 span { background: #00aeb1; }
.pg-about .wp-body .about_fl__num4 { color: #b14a39; } .pg-about .wp-body .about_fl__num4 span { background: #d06957; }
.pg-about .wp-body .about_fl__num5 { color: #a95a23; } .pg-about .wp-body .about_fl__num5 span { background: #d88045; }
.pg-about .wp-body .about_fl__num6 { color: #6a55b8; } .pg-about .wp-body .about_fl__num6 span { background: #9a85e3; }
.pg-about .wp-body .about_fl__num7 { color: #3f68a8; } .pg-about .wp-body .about_fl__num7 span { background: #527ec3; }
.pg-about .wp-body .about_fl__num8 { color: #4d7d31; } .pg-about .wp-body .about_fl__num8 span { background: #649b43; }
.pg-about .wp-body :is(.about_fl__balloon, .about_balloon) { position: relative; margin: 1.5em 0; padding: 30px; border-radius: 15px; background: #f4eedb; }
.pg-about .wp-body :is(.about_fl__balloon, .about_balloon)::before { content: ""; position: absolute; top: -37px; right: 25%; border: 20px solid transparent; border-bottom: 30px solid #f4eedb; }
.pg-about .wp-body .about_fl > .about_fl__balloon { align-self: flex-start; }
.pg-about .wp-body .about_balloon { display: flex; align-items: center; justify-content: center; gap: 30px; }
.pg-about .wp-body .about_balloon__img { flex: 0 0 220px; }
.pg-about .wp-body .about_balloon__ttl { margin-bottom: 8px; font-size: 20px; font-weight: 500; color: var(--ink); }
.pg-about .wp-body .about_fl__room { width: 22.7%; margin: 0 3% 0 0; }
.pg-about .wp-body .about_fl__room:last-child { margin-right: 0; }
.pg-about .wp-body .about_fl__room:nth-child(2n) { margin-top: 50px; }
.pg-about .wp-body .about_fl__room img { width: 100%; border-radius: 12px; }
.pg-about .wp-body .about_fl__roomttl { margin: 10px 0; padding-bottom: 10px; border-bottom: 1px dotted; font-size: 19px; }
.pg-about .wp-body .about_fl__machine { margin: 16px 0 8px; color: var(--green); font-weight: 500; }
@media (max-width: 639px) {
  .pg-about .wp-body .about_fl > .about_fl__box { width: 48.5%; }
  .pg-about .wp-body .about_fl > .about_fl__box:nth-child(n+3) { margin-top: 5%; }
  .pg-about .wp-body .about_fl__num { margin: 8px 0 4px; font-size: 15px; }
  .pg-about .wp-body .about_fl__num span { width: 22px; height: 22px; margin-right: 5px; font-size: 12px; }
  .pg-about .wp-body .about_fl__balloon { margin: 0; padding: 10px; }
  .pg-about .wp-body .about_fl__balloon::before { top: 50%; right: auto; left: -28px; margin-top: -14px; border: 14px solid transparent; border-right-color: #f4eedb; }
  .pg-about .wp-body .about_balloon { display: none; }
  .pg-about .wp-body .about_fl__room { width: 48.5%; margin-right: 3%; }
  .pg-about .wp-body .about_fl__room:nth-child(2n) { margin: 0; }
  .pg-about .wp-body .about_fl__room:nth-child(n+3) { margin-top: 5%; }
  .pg-about .wp-body .about_fl__roomttl { margin: 5px 0; padding-bottom: 5px; font-size: 15px; }
}
.pg-about .wp-body .med_box__wrap { position: relative; }
.pg-about .wp-body :is(.med_box__wrap__kazari1, .med_box__wrap__kazari2, .med_box__wrap__kazari3) { position: absolute; z-index: -1; pointer-events: none; }
.pg-about .wp-body .med_box__wrap__kazari1 { top: -110px; right: -100px; width: 220px; }
.pg-about .wp-body .med_box__wrap__kazari2 { bottom: -50px; left: -90px; width: 120px; }
.pg-about .wp-body .med_box__wrap__kazari3 { bottom: -30px; right: -80px; width: 140px; }
@media (max-width: 639px) {
  .pg-about .wp-body .med_box__wrap__kazari1 { top: -40px; right: -10px; width: 110px; }
  .pg-about .wp-body .med_box__wrap__kazari2 { bottom: -20px; left: -14px; width: 90px; }
  .pg-about .wp-body .med_box__wrap__kazari3 { bottom: -40px; right: 0; width: 100px; }
}

/* ---- T5 インフルエンザ（/influenza/）・フルミスト: 灰色（生成り）の箱をやめ、今のサイトと同じく中央の枠の箱に。「予診票ダウンロード」の上の空白を詰める */
.wp-main .wp-body .btn-flumist { display: flex; justify-content: center; margin: 40px 0; }
.wp-main .wp-body .btn-flumist__lnk { display: inline-block; padding: 6px; border-radius: 14px; background: linear-gradient(#f6a500, #e08a00); color: #fff; font-weight: 700; line-height: 1.6;
  text-align: center; text-decoration: none; }
.wp-main .wp-body .btn-flumist__text { display: block; padding: 10px 28px; border: 2px dashed #fff; border-radius: 10px; color: #fff; font-size: 18px; }
@media (hover: hover) { .wp-main .wp-body .btn-flumist__lnk:hover { opacity: .8; } }
.wp-main .wp-body .btn-document { width: min(100%, 380px); margin: 16px auto; }
.wp-main .wp-body .btn-document a.btn { display: flex; justify-content: center; width: 100%; margin: 0; padding: 10px 20px 10px 44px; border: 1px solid #42210b; border-radius: 50px; background: #fff;
  color: #42210b; position: relative; }
.wp-main .wp-body .btn-document a.btn[href$=".pdf"]::before { content: "PDF"; position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font-size: 11px; font-weight: 700; color: #c40000; }
@media (hover: hover) { .wp-main .wp-body .btn-document a.btn:hover { background: #42210b; color: #fff; } }

/* ---- T21 スタッフ募集（/recruit/）: 目次のボタン・見出し・文と写真の2列・一日の流れ（左に時計と時刻、中に文、右に写真）を今のサイトと同じ並びに */
.pg-recruit .wp-body #recruit_nav_warp { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 1.5%; margin: 0; }
@media (max-width: 1023px) { .pg-recruit .wp-body #recruit_nav_warp { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pg-recruit .wp-body #recruit_nav_warp .single_nav-btn { display: flex; }
.pg-recruit .wp-body #recruit_nav_warp a.btn { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 60px; margin: 0; padding: 8px 44px 8px 16px;
  border: 1px solid #fff; border-radius: 30px; background: linear-gradient(90deg, #2ca559 0%, #b7f344 100%); color: #fff; font-weight: 700; line-height: 1.4; text-shadow: 0 0 4px rgba(0, 70, 20, .45); }
.pg-recruit .wp-body #recruit_nav_warp a.btn::after { content: ""; position: absolute; right: 14px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 3.5L5 6.5L8 3.5' fill='none' stroke='%2340b056' stroke-width='1.6'/%3E%3C/svg%3E") center / 14px no-repeat; }
@media (hover: hover) { .pg-recruit .wp-body #recruit_nav_warp a.btn:hover { opacity: .8; } }
.pg-recruit .wp-body h2.recruit_ttl { display: flex; align-items: center; margin: 0 0 40px; padding-bottom: 6px; border-bottom: 1px solid #42210b; font-size: 28px; line-height: 1.5; }
.pg-recruit .wp-body h2.recruit_ttl i { display: inline-flex; flex: none; width: 1em; margin-right: 8px; }
.pg-recruit .wp-body h2.recruit_ttl img { width: 1em; margin: 0; }
@media (max-width: 639px) { .pg-recruit .wp-body h2.recruit_ttl { margin-bottom: 24px; font-size: 20px; } }
.pg-recruit .wp-body .recruit_ttl-sub { margin: 0 0 28px; font-size: 24px; text-align: center; }
.pg-recruit .wp-body .recruit_ttl-sub span { display: inline-block; background: linear-gradient(transparent 60%, #fef6c7 60%); }
.pg-recruit .wp-body .outline > article + article, .pg-recruit .wp-body #flow, .pg-recruit .wp-body #program { margin-top: 56px; }
.pg-recruit .wp-body .outline_box { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; margin: 0; padding: 0; background: none; }
.pg-recruit .wp-body .outline_box__txt { flex: 1 1 auto; min-width: 0; }
.pg-recruit .wp-body .outline_box__txt .biger { margin-bottom: 1em; font-size: 20px; }
.pg-recruit .wp-body .outline_box__thumb { flex: 0 1 530px; }
.pg-recruit .wp-body .outline_box__thumb img { width: 100%; }
.pg-recruit .wp-body .outline_caption { max-width: 1000px; margin: 32px auto 0; padding: 15px 20px; border: 1px solid #42210b; border-radius: 15px; background: #fff; line-height: 1.7; text-align: center; }
@media (max-width: 1023px) {
  .pg-recruit .wp-body .outline_box { flex-wrap: wrap; gap: 16px; }
  .pg-recruit .wp-body .outline_box__thumb { flex-basis: 100%; }
  .pg-recruit .wp-body .outline_caption { text-align: left; }
}
/* 理念（今の .philosophy: 幅 1000px・文と写真の2列・題は中央で下に線・緑の小見出し）と、バリューの4つ（.value_box: 文と写真の2列） */
.pg-recruit .wp-body .philosophy .site_wrap { max-width: 1000px; }
.pg-recruit .wp-body .philosophy_intro { display: flex; gap: 24px; align-items: flex-start; margin-bottom: 40px; }
.pg-recruit .wp-body .philosophy_intro__txt { flex: 1 1 auto; min-width: 0; }
.pg-recruit .wp-body .philosophy_intro__txt h2 { margin: 0 0 1em; font-size: 26px; }
.pg-recruit .wp-body .philosophy_intro__txt .desc { margin-bottom: 1.2em; font-size: 19px; font-weight: 500; }
.pg-recruit .wp-body .philosophy_intro__txt .greeting { margin-left: 1em; }
.pg-recruit .wp-body .philosophy_intro__img { flex: 0 0 446px; }
.pg-recruit .wp-body :is(.philosophy_mission, .philosophy_vision) { margin-bottom: 40px; }
.pg-recruit .wp-body :is(.philosophy_mission, .philosophy_vision, .philosophy_value) > h2 { margin: 0 0 1em; padding-bottom: 4px; border-bottom: 1px solid #42210b; font-size: 26px; text-align: center; }
.pg-recruit .wp-body :is(.philosophy_mission, .philosophy_vision, .philosophy_value) > h2 img { display: block; margin: 0 auto 4px; }
.pg-recruit .wp-body .sub_ttl { margin: 0 0 1em; padding: 0; border: 0; color: var(--green); font-size: 19px; font-weight: 500; text-align: left; }
.pg-recruit .wp-body :is(.philosophy_mission__txt, .philosophy_vision__txt) { display: flex; align-items: flex-start; gap: 26px; }
.pg-recruit .wp-body :is(.philosophy_mission__txt, .philosophy_vision__txt) > :not(.thumb) { flex: 1 1 auto; min-width: 0; }
.pg-recruit .wp-body :is(.philosophy_mission__txt, .philosophy_vision__txt) .thumb { flex: 0 0 440px; }
.pg-recruit .wp-body .value_box { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 0 16px; max-width: 1000px; margin: 0 auto 40px; }
.pg-recruit .wp-body .value_box__ttl { flex: 0 0 100%; margin: 0 0 12px; padding: 0 0 6px; border: 0; border-bottom: 1px dashed #42210b; font-size: 19px; }
.pg-recruit .wp-body .value_box__txt { flex: 1 1 0; min-width: 0; }
.pg-recruit .wp-body .value_box__img { flex: 0 0 320px; }
.pg-recruit .wp-body :is(.philosophy_intro__img, .thumb, .value_box__img) img { width: 100%; }
@media (max-width: 1023px) {
  .pg-recruit .wp-body :is(.philosophy_intro, .philosophy_mission__txt, .philosophy_vision__txt, .value_box) { flex-wrap: wrap; }
  .pg-recruit .wp-body :is(.philosophy_intro__img, .philosophy_mission__txt .thumb, .philosophy_vision__txt .thumb, .value_box__img) { flex: 0 0 100%; }
  .pg-recruit .wp-body .philosophy_intro__img { flex-basis: 80%; margin: 0 auto; }
}
/* 開け閉めの題（今の .recruit_ac_btn: 右に＋／−） */
.pg-recruit .wp-body .recruit_ac_btn[aria-expanded] { position: relative; padding-right: 48px; cursor: pointer; }
.pg-recruit .wp-body .recruit_ac_btn[aria-expanded]::after { content: "＋"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 32px; height: 32px;
  border-radius: 50%; background: var(--green); color: #fff; font-size: 18px; line-height: 1; }
.pg-recruit .wp-body .recruit_ac_btn[aria-expanded="true"]::after { content: "−"; }
.pg-recruit .wp-body .recruit_ac_body[hidden] { display: none; }
.pg-recruit .wp-body h3.recruit_ac_btn[aria-expanded] { margin: 16px 0 0; padding: 12px 48px 12px 16px; border: 1px solid #42210b; border-radius: 10px; background: #fff; }
@media (hover: hover) { .pg-recruit .wp-body .recruit_ac_btn[aria-expanded]:hover { opacity: .75; } }

/* 一日の流れ（今の .flow: 左 190px に時計と時刻・右に文と 300px の写真。区切りの線） */
.pg-recruit .wp-body dl.flow { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; margin: 0 0 40px; padding: 0 0 40px; border-bottom: 1px solid #42210b; }
.pg-recruit .wp-body dl.flow:last-child { margin-bottom: 0; padding-bottom: 0; border: 0; }
.pg-recruit .wp-body .flow_time { display: flex; align-items: center; width: 190px; margin: 0; color: var(--green); font-size: 18px; font-weight: 500; line-height: 1.5; }
.pg-recruit .wp-body .flow_time .clock { flex: none; width: 53px; margin-right: 6px; }
.pg-recruit .wp-body .flow_time .clock img { width: 100%; }
.pg-recruit .wp-body .flow_body { display: flex; flex-wrap: wrap; align-items: flex-start; width: calc(100% - 190px); margin: 0; }
.pg-recruit .wp-body .flow_txt { width: calc(100% - 300px - 1em); margin-right: 1em; padding-left: 13px; }
.pg-recruit .wp-body .flow_txt.full { width: 100%; margin-right: 0; }
.pg-recruit .wp-body .flow_thumb { width: 300px; }
.pg-recruit .wp-body .flow_thumb img { width: 100%; }
.pg-recruit .wp-body .flow_col3 { display: flex; flex-wrap: wrap; justify-content: space-between; width: 100%; margin-top: 20px; padding: 20px 0 0 13px; border-top: 1px dotted #42210b; }
.pg-recruit .wp-body .flow_col3__box { display: flex; flex-direction: column; width: calc((100% / 3) - 1em); }
.pg-recruit .wp-body .flow_col3__head { margin: 0 0 10px; color: var(--green); font-size: 18px; font-weight: 500; }
.pg-recruit .wp-body .flow_col3__txt { flex-grow: 1; margin-bottom: 10px; }
.pg-recruit .wp-body .flow_col3__thumb img { width: 100%; }
@media (max-width: 1023px) {
  .pg-recruit .wp-body dl.flow { flex-wrap: nowrap; gap: 12px; margin-bottom: 20px; padding-bottom: 20px; }
  .pg-recruit .wp-body .flow_time { display: block; flex: 0 0 15%; width: 15%; min-width: 64px; font-size: 15px; }
  .pg-recruit .wp-body .flow_time .clock { width: 44px; margin: 0 0 4px; }
  .pg-recruit .wp-body .flow_body { width: auto; flex: 1 1 auto; min-width: 0; }
  .pg-recruit .wp-body .flow_txt { width: 100%; margin: 0 0 10px; padding-left: 0; }
  .pg-recruit .wp-body .flow_thumb { width: 100%; max-width: 420px; margin: 0 auto; }
  .pg-recruit .wp-body .flow_col3 { margin-top: 16px; padding: 4px 16px; border: 0; border-radius: 15px; background: #fffef7; }
  .pg-recruit .wp-body .flow_col3__box { width: 100%; margin: 16px 0; }
  .pg-recruit .wp-body .flow_col3__box:empty { display: none; }
}
/* 魅力・制度（今の .program: 3つ並び・題の吹き出し）と、スタッフのことば（.comment_box） */
.pg-recruit .wp-body .program { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0; }
.pg-recruit .wp-body .program::after { content: ""; display: block; width: 31%; }
.pg-recruit .wp-body .program_box { width: 31%; margin: 0 0 40px; }
.pg-recruit .wp-body .program_box__head { position: relative; margin: 0 0 20px; padding: 10px; border-radius: 10px; background: #f4eedb; font-size: 19px; line-height: 1.6; text-align: center; }
.pg-recruit .wp-body .program_box__head::after { content: ""; position: absolute; bottom: -8px; left: calc(50% - 8px); border: 8px solid #f4eedb; transform: rotate(45deg); }
.pg-recruit .wp-body .program_box__thumb { margin-bottom: 16px; }
.pg-recruit .wp-body .program_box__thumb img { width: 100%; }
@media (max-width: 1023px) { .pg-recruit .wp-body .program_box { width: 100%; } .pg-recruit .wp-body .program::after { display: none; } }

/* ---- T16 医師紹介のスタッフ: 似顔絵の四角を全員同じ大きさに（元の絵は幅 220px で同じ縮尺。幅を合わせ、足元をそろえて置く＝顔と体の大きさが人によって変わらない）。
   同じ段の名前・吹き出し・似顔絵・札の高さをそろえる（吹き出しの大きさが段の中でそろう） */
.sc-body { width: 110px; max-width: 100%; height: 306px; object-fit: contain; object-position: center bottom; }
@media (min-width: 600px) {
  .staff.staff-cards { row-gap: 0; }
  .staff.staff-cards > .sc { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; margin-bottom: 32px; }
  .staff.staff-cards > .sc > .staff-msg { align-self: stretch; }
  .staff.staff-cards > .sc > .sc-body { margin: 18px auto 12px; }
  .staff.staff-cards > .sc > .staff-meta { align-self: stretch; margin-top: 0; }
}
@media (min-width: 360px) and (max-width: 599px) { .sc-body { width: 88px; height: 245px; } }
@media (max-width: 359px) { .sc-body { width: 96px; height: 267px; } }

/* ---- T19・T20 一覧のページ送り（患者様の声・ブログ・お知らせなど共通）: 中央に */
.pager { justify-content: center; }
/* 患者様の声の1件ずつ（今のサイトの .voice__item: 幅 1000px で中央）と、上の説明文も中央の幅に */
.voice-list > li > .wp-body { margin-inline: auto; }
.voice-list .wp-body img { margin-inline: auto; }
.list-intro { margin-inline: auto; }

/* ---- T15 舌下免疫療法（/sublingual_immunotherapy/）: 今のサイトと同じ並び。同じ大きさの紺の丸いボタン2つ → ボタンと説明の3行 → 舌下導入確認事項の箱 */
.slit-hub { padding: 56px 0 72px; }
.slit-hub .hub-kinds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 4%; margin: 0 0 64px; }
.hub-btn { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; padding: 10px 52px; border: 2px solid #002e69; border-radius: 50px;
  background: #002e69; color: #fff; font-size: 19px; font-weight: 700; line-height: 1.4; text-align: center; text-decoration: none; }
.hub-btn > :is(.icon-arrow, .icon-ext) { position: absolute; right: 22px; top: 50%; display: flex; transform: translateY(-50%); }
.hub-btn.hub-down > .icon-arrow { transform: translateY(-50%) rotate(90deg); }
@media (hover: hover) { .hub-btn:hover { background: #fff; color: #002e69; } }
.slit-hub .hub-row { display: grid; grid-template-columns: 30% minmax(0, 1fr); align-items: center; gap: 3%; margin: 12px 0; }
.slit-hub .hub-row dt { margin: 0; }
.slit-hub .hub-row dd { margin: 0; font-size: 15px; line-height: 1.75; color: var(--ink); }
.slit-hub .hub-check { margin-top: 64px; border-radius: 20px; }
@media (min-width: 768px) { .slit-hub .hub-check { padding: 30px 8% 50px; } }
.hub-check-t { margin: 0 0 32px; color: #d40000; font-size: 30px; font-weight: 700; line-height: 1.5; text-align: center; }
.hub-check-t span { display: inline-block; padding-bottom: 10px; border-bottom: 1px solid currentColor; }
.hub-check-list > li { margin: 18px 0; font-size: 18px; line-height: 1.75; color: var(--ink); }
.hub-check-em { margin-top: 18px; font-size: 18px; line-height: 1.75; }
@media (max-width: 767px) {
  .slit-hub { padding: 40px 0 56px; }
  .slit-hub .hub-kinds { grid-template-columns: minmax(0, 1fr); margin-bottom: 32px; }
  .hub-btn { font-size: 17px; }
  .slit-hub .hub-row { grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 16px 0; }
  .slit-hub .hub-row dd { padding: 0 16px; }
  .slit-hub .hub-check { margin-top: 40px; }
  .hub-check-t { font-size: 23px; margin-bottom: 20px; }
  .hub-check-list > li, .hub-check-em { font-size: 15px; }
}

/* ---- T15 ダニ・スギの舌下免疫療法の LP（/miticure/・/sidacure/ と下の4ページ）。今のサイトの色: 茶 #735853・緑 #169442・橙 #f15a24・灰色の地 #eeebea。
   文字の読みやすさのため、橙と、帯の今いるページの色は少し濃くした */
.slit-lp, .lp-foot { --lp-brown: #735853; --lp-green: #169442; --lp-orange: #d9481a; --lp-gray: #eeebea; --lp-text: #595757; --lp-accent: #3f7f1e; }
:is(.slit-lp, .lp-foot).lp-cedar { --lp-accent: #a85d00; }
.slit-lp:not(.lp-index) { background: var(--lp-gray); }
.slit-lp .wp-body { color: var(--lp-text); font-size: 15px; line-height: 1.8; }
.slit-lp .wp-body p { margin: 0 0 1em; }
.slit-lp .wp-body .inbtxt { display: inline-block; margin: 0; }
.slit-lp .wp-body ul { margin: 0; padding: 0; list-style: none; }  /* 今のテーマは箇条書きの印を出さない（文の頭の「・」「●」が印） */
.slit-lp .wp-body .box1 { margin: 0; padding: 0; background: none; }
.slit-lp .wp-body .txtorange { color: var(--lp-orange); }
.slit-lp .wp-body :is(.txtbold, strong) { font-weight: 700; }
.slit-lp .wp-body .txtmarker1 { color: var(--lp-orange); font-weight: 700; background: linear-gradient(transparent 60%, #fff000 0); }
.slit-lp .wp-body :is(.text_red, .txt_red) { color: #d40000; }
.slit-lp .wp-body .text_underline { text-decoration: underline; }
.slit-lp .wp-body .mark1 { color: var(--lp-orange); background: none; }
.slit-lp { padding-bottom: 72px; }
@media (min-width: 768px) { .slit-lp { padding-bottom: 88px; } }
.slit-lp .wp-body .indent { padding-left: 1em; text-indent: -1em; font-size: 13px; }
/* ページの間を行き来する帯（今の #gnav・#fnav: 灰色の帯・同じ大きさの項目・太字の茶色。今いるページは色と下の線） */
.lp-nav ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0 0 40px; padding: 0; list-style: none; background: #f4f2f1; }
.lp-nav li { display: flex; margin: 0; }
.lp-nav li + li { border-left: 1px dashed #c9bcb6; }
.lp-nav li > :is(a, span) { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 58px; padding: 8px 6px; color: var(--lp-brown, #735853);
  font-size: 15px; font-weight: 700; line-height: 1.4; text-align: center; text-decoration: none; }
.lp-nav li > :is(a, span)::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--lp-accent); }
.lp-nav li > span[aria-current] { background: #fff; color: var(--lp-accent); box-shadow: inset 0 -3px var(--lp-accent); }
@media (hover: hover) { .lp-nav a:hover { color: var(--lp-accent); } }
@media (max-width: 767px) {
  .lp-nav ul { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 24px; }
  .lp-nav li:first-child { grid-column: 1 / -1; }
  .lp-nav li + li { border-left: 0; border-top: 1px dashed #c9bcb6; }
  .lp-nav li:nth-child(odd):not(:first-child) { border-left: 1px dashed #c9bcb6; }
  .lp-nav li > :is(a, span) { min-height: 48px; font-size: 14px; }
}
.lp-nav-foot ul { margin: 0; }
/* 下の帯（今の #footer .f_cont1: 「よくある質問」へ） */
.lp-foot { padding: 48px 0 56px; background: #fff; }
.lp-fcont { margin: 0 0 40px; text-align: center; }
.lp-ftxt { margin: 0 0 12px; color: var(--lp-brown); font-size: 20px; font-weight: 700; line-height: 1.6; }
.lp-ftxt .inbtxt { display: inline-block; }
@media (max-width: 639px) { .lp-foot { padding: 32px 0 40px; } .lp-ftxt { font-size: 16px; } }
/* 丸いボタン（今の .linkbtn1 緑・.linkbtn2 茶。白地に太い線・押すと色が反転） */
:is(.slit-lp .wp-body, .lp-foot) :is(.linkbtn1, .linkbtn2) { margin: 24px 0 0; }
:is(.slit-lp .wp-body, .lp-foot) :is(.linkbtn1, .linkbtn2) a { position: relative; display: block; width: 80%; max-width: 380px; margin: 0 auto; padding: 10px 40px;
  border: 3px solid var(--lp-green); border-radius: 40px; background: #fff; color: var(--lp-green); font-size: 19px; font-weight: 700; line-height: 1.5; text-align: center; text-decoration: none; }
:is(.slit-lp .wp-body, .lp-foot) .linkbtn2 a { border-color: var(--lp-brown); color: var(--lp-brown); }
:is(.slit-lp .wp-body, .lp-foot) :is(.linkbtn1, .linkbtn2) a::after { content: ""; position: absolute; right: 7%; top: 50%; width: 9px; height: 9px; margin-top: -5px;
  border-top: 3px solid currentColor; border-right: 3px solid currentColor; transform: rotate(45deg); }
@media (hover: hover) {
  :is(.slit-lp .wp-body, .lp-foot) .linkbtn1 a:hover { background: var(--lp-green); color: #fff; }
  :is(.slit-lp .wp-body, .lp-foot) .linkbtn2 a:hover { background: var(--lp-brown); color: #fff; }
}
.lp-foot .linkbtn2 a { max-width: 310px; }
@media (max-width: 639px) { :is(.slit-lp .wp-body, .lp-foot) :is(.linkbtn1, .linkbtn2) a { padding: 6px 32px; border-width: 2px; font-size: 15px; } }
/* 下の4ページ: 灰色の地に白い箱（今の .section: 幅 1000px・中は左右 7%）・茶色の下線の題・緑の小見出し・薄緑の箱 */
.slit-lp:not(.lp-index) .wp-body .section { max-width: 1000px; margin: 20px auto 0; padding: 50px 7% 35px; background: #fff; }
.slit-lp:not(.lp-index) .wp-body .section:first-child { margin-top: 0; }
@media (max-width: 1040px) { .slit-lp:not(.lp-index) .wp-body .section { padding: 40px 5% 25px; } }
@media (max-width: 639px) { .slit-lp:not(.lp-index) .wp-body .section { margin-top: 15px; padding: 25px 5% 15px; } }
.slit-lp .wp-body .sectitle { margin: 0 0 25px; text-align: center; }
.slit-lp .wp-body .sectitle .inwrap { display: inline-block; margin: 0; border-bottom: 3px solid var(--lp-brown); color: var(--lp-brown); font-size: 26px; font-weight: 700; line-height: 1.5; }
@media (max-width: 1040px) { .slit-lp .wp-body .sectitle .inwrap { font-size: 23px; } }
@media (max-width: 767px) { .slit-lp .wp-body .sectitle .inwrap { font-size: 20px; } }
@media (max-width: 639px) { .slit-lp .wp-body .sectitle { margin-bottom: 15px; } .slit-lp .wp-body .sectitle .inwrap { font-size: 17px; border-bottom-width: 1px; } }
.slit-lp .wp-body .insectitle { margin: 0 0 10px; padding: 0; border: 0; color: var(--lp-green); font-size: 20px; font-weight: 700; line-height: 1.4; }
@media (max-width: 639px) { .slit-lp .wp-body .insectitle { font-size: 17px; } }
.slit-lp .wp-body .para1 { margin-bottom: 10px; }
.slit-lp .wp-body :is(.para2, .para3) { margin-bottom: 25px; }
.slit-lp .wp-body .greencolorbox { padding: 30px 4%; background: #e8f4ec; }
.slit-lp .wp-body .greencolorbox::after { content: ""; display: block; clear: both; }
.slit-lp .wp-body .greentitle { margin: 0 0 6px; color: var(--lp-green); font-size: 17px; font-weight: 700; }
@media (max-width: 767px) { .slit-lp .wp-body .greencolorbox { padding: 18px 4%; } }
/* 茶色の枠と帯の題（今の #sec_4・#sec_5 .box1、トップの #sec_3） */
.slit-lp .wp-body :is(#sec_4, #sec_5) .box1, .lp-index .wp-body #sec_3 .cont1 .inwrap { position: relative; margin: 0 0 20px; border: 3px solid var(--lp-brown); background: #fff; }
.slit-lp .wp-body :is(#sec_4, #sec_5) .box1 .title1, .lp-index .wp-body #sec_3 .title1 { margin: 0 0 36px; padding: 7px 10px; background: var(--lp-brown); color: #fff; font-size: 26px; font-weight: 700;
  line-height: 1.5; text-align: center; }
.slit-lp .wp-body :is(#sec_4, #sec_5) .box1 .list1 { padding: 0 5%; margin: 0 0 25px; }
.slit-lp .wp-body :is(#sec_4, #sec_5) .box1 .list1 > li, .lp-index .wp-body #sec_3 .list1 > li { padding-left: 1em; text-indent: -1em; font-size: 19px; font-weight: 700; line-height: 1.8; }
.slit-lp .wp-body :is(#sec_4, #sec_5) .box1 .list1 > li :is(.text_red, ul, div) { text-indent: 0; }
@media (max-width: 1040px) { .slit-lp .wp-body :is(#sec_4, #sec_5) .box1 .title1, .lp-index .wp-body #sec_3 .title1 { font-size: 22px; margin-bottom: 28px; }
  .slit-lp .wp-body :is(#sec_4, #sec_5) .box1 .list1 > li, .lp-index .wp-body #sec_3 .list1 > li { font-size: 17px; } }
@media (max-width: 639px) { .slit-lp .wp-body :is(#sec_4, #sec_5) .box1 .title1, .lp-index .wp-body #sec_3 .title1 { font-size: 16px; margin-bottom: 12px; padding: 4px 8px; }
  .slit-lp .wp-body :is(#sec_4, #sec_5) .box1 .list1 > li, .lp-index .wp-body #sec_3 .list1 > li { font-size: 14px; } }
/* 南口本院・北口分院の予約のボタン（今のサイトと同じく横に2つ・緑と橙。スマホは縦） */
.slit-lp .wp-body ul.btn_reserve { display: flex; gap: 20px; margin: 10px 0; text-indent: 0; }
.slit-lp .wp-body ul.btn_reserve > li { flex: 1 1 0; padding: 0; text-indent: 0; }
.slit-lp .wp-body a.modal_open { justify-content: center; width: 100%; min-height: 52px; padding: 8px 16px; border-radius: 30px; background: var(--lp-green); color: #fff; font-size: 15px; }
.slit-lp .wp-body a.modal_open.kitaguchi { background: #c75a0c; color: #fff; }
.slit-lp .wp-body a.modal_open span { padding-right: 10px; font-size: 19px; font-weight: 700; }
@media (hover: hover) { .slit-lp .wp-body a.modal_open:hover { background: #0f7535; } .slit-lp .wp-body a.modal_open.kitaguchi:hover { background: #a84a08; } }
@media (max-width: 639px) { .slit-lp .wp-body ul.btn_reserve { flex-direction: column; gap: 8px; } .slit-lp .wp-body a.modal_open span { font-size: 17px; } }
/* 治療方法・流れ（/〜/treatment/） */
.lp-treatment .wp-body #sec_1 .inbox { position: relative; }
.lp-treatment .wp-body #sec_1 .txtbox { margin-right: 270px; }
.lp-treatment .wp-body #sec_1 .img1 img { position: absolute; top: 30px; right: 0; }
.lp-treatment .wp-body #sec_1 .img2 { margin: 15px 0 10px 30px; }
.lp-treatment .wp-body #sec_3 .greencolorbox { width: 90%; max-width: 550px; margin: 0 auto 25px; }
.lp-treatment .wp-body #sec_3 .greencolorbox .list1, .lp-qa .wp-body #sec_1 .greencolorbox .list1 { display: flex; justify-content: space-between; }
.lp-treatment .wp-body #sec_3 .greencolorbox .list1 > li, .lp-qa .wp-body #sec_1 .greencolorbox .list1 > li { width: 46%; margin: 0; text-align: center; }
.lp-treatment .wp-body #sec_3 .greencolorbox .list1 > li .img1, .lp-qa .wp-body #sec_1 .greencolorbox .list1 > li .img1 { margin-bottom: 17px; }
.lp-treatment .wp-body #sec_3 .greencolorbox .list1 > li img, .lp-qa .wp-body #sec_1 .greencolorbox .list1 > li img { margin: 0 auto; }
.lp-treatment .wp-body #sec_4 .img1 { text-align: center; }
.lp-treatment .wp-body #sec_4 .img1 img { width: 100%; max-width: 882px; margin: 0 auto; }
.lp-treatment .wp-body #sec_5 dt { margin: 0 0 5px; }
.lp-treatment .wp-body #sec_5 dd { margin: 0 0 20px; }
.lp-treatment .wp-body #sec_5 dt .title1 { display: inline-block; margin: 0; padding: 2px 15px; color: #fff; font-size: 17px; font-weight: 700; line-height: 1.4; }
.lp-treatment .wp-body #sec_5 .title1_1 { background: #6f7d07; }
.lp-treatment .wp-body #sec_5 .title1_2 { background: var(--lp-brown); }
.lp-treatment .wp-body #sec_5 .title1_3 { background: var(--lp-orange); }
.lp-treatment .wp-body #sec_5 .caution_txt { width: 60%; margin: 0 auto 20px; font-size: .9em; text-align: center; }
@media (max-width: 767px) {
  .lp-treatment .wp-body #sec_1 .txtbox { margin-right: 0; }
  .lp-treatment .wp-body #sec_1 .img1 { margin-top: 10px; }
  .lp-treatment .wp-body #sec_1 .img1 img { position: static; margin-left: auto; }
}
@media (max-width: 639px) {
  .lp-treatment .wp-body #sec_1 .img1 img { width: 60%; max-width: 232px; }
  .lp-treatment .wp-body #sec_1 .img2 { margin: 15px 0 10px; }
  .lp-treatment .wp-body #sec_3 .greencolorbox .list1, .lp-qa .wp-body #sec_1 .greencolorbox .list1 { flex-direction: column; }
  .lp-treatment .wp-body #sec_3 .greencolorbox .list1 > li, .lp-qa .wp-body #sec_1 .greencolorbox .list1 > li { width: 100%; margin-bottom: 15px; }
  .lp-treatment .wp-body #sec_5 .caution_txt { width: 100%; text-align: left; }
}
/* 有効性（/〜/effective/） */
.lp-effective .wp-body #sec_1 .list1 { display: flex; justify-content: space-between; }
.lp-effective .wp-body #sec_1 .list1 > li { width: 48%; margin: 0; }
.lp-effective .wp-body #sec_1 .list1 > li .title1 { margin-bottom: 15px; font-size: 20px; font-weight: 700; line-height: 1.4; }
.lp-effective .wp-body #sec_3 .box1 { position: relative; }
.lp-effective .wp-body #sec_3 .txt1 { margin-right: 300px; min-height: 180px; }
.lp-effective .wp-body #sec_3 .img1 { position: absolute; top: 0; right: 0; width: 396px; max-width: 40%; }
.lp-effective .wp-body .spscrollimg { width: 90%; max-width: 512px; margin: 0 auto; }
.lp-effective .wp-body :is(#sec_3 .txt2, #sec_4 .txt1) { text-align: right; }
@media (max-width: 767px) {
  .lp-effective .wp-body #sec_1 .list1 { flex-direction: column; }
  .lp-effective .wp-body #sec_1 .list1 > li { width: 100%; margin-bottom: 40px; text-align: center; }
  .lp-effective .wp-body #sec_1 .list1 > li img { margin: 0 auto; }
  .lp-effective .wp-body #sec_3 .txt1 { margin-right: 0; min-height: 0; }
  .lp-effective .wp-body #sec_3 .img1 { position: static; width: 100%; max-width: 396px; margin: 0 auto; }
  .lp-effective .wp-body .spscrollimg { width: 100%; overflow-x: auto; }
}
/* 副作用・注意点（/〜/remarks/） */
.lp-remarks .wp-body #sec_1 .title1 { display: grid; place-items: center; min-height: 90px; margin: 0 0 8px; }
.lp-remarks .wp-body #sec_1 .title1 .inwrap, .lp-remarks .wp-body #sec_2 .title1 .inwrap { color: var(--lp-green); font-size: 18px; font-weight: 700; line-height: 1.5; text-align: center; }
.lp-remarks .wp-body #sec_1 .txt1 { text-align: center; }
.lp-remarks .wp-body #sec_1 .box1 { display: flex; justify-content: space-between; }
.lp-remarks .wp-body #sec_1 .list1 { width: 47%; }
.lp-remarks .wp-body #sec_1 .list1 > li { font-weight: 700; }
.lp-remarks .wp-body #sec_2 .box1 { position: relative; }
.lp-remarks .wp-body #sec_2 .box1 .txtbox { min-height: 188px; margin-right: 300px; }
.lp-remarks .wp-body #sec_2 .box1 .imgbox { position: absolute; top: 0; right: 0; width: 270px; }
.lp-remarks .wp-body #sec_2 .list1 { display: flex; flex-wrap: wrap; justify-content: space-between; }
.lp-remarks .wp-body #sec_2 .list1 > li { width: 46%; margin: 0; }
.lp-remarks .wp-body #sec_2 .title1 { margin: 0 0 6px; }
.lp-remarks .wp-body #sec_2 .title1 .inwrap { text-align: left; }
.lp-remarks .wp-body #sec_2 .greencolorbox.type1 { padding: 30px 8%; }
.lp-remarks .wp-body #sec_3 .title1 { color: var(--lp-green); font-size: 17px; font-weight: 700; }
.lp-remarks .wp-body #sec_3 .list1 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--lp-brown); border-right: 1px solid var(--lp-brown); }
.lp-remarks .wp-body #sec_3 .list1 > li { display: flex; flex-direction: column; margin: 0; }
.lp-remarks .wp-body #sec_3 .list1 > li .cellbox { flex: 1 1 auto; border-left: 1px solid var(--lp-brown); border-bottom: 1px solid var(--lp-brown); }
.lp-remarks .wp-body #sec_3 .list1 > li .inwrap { padding: 10px 8%; line-height: 1.5; }
@media (max-width: 767px) {
  .lp-remarks .wp-body #sec_1 .box1 { flex-direction: column; }
  .lp-remarks .wp-body #sec_1 .list1 { width: 100%; }
  .lp-remarks .wp-body #sec_1 .txt1 { text-align: left; }
  .lp-remarks .wp-body #sec_2 .box1 .txtbox { min-height: 0; margin: 0 0 10px; }
  .lp-remarks .wp-body #sec_2 .box1 .imgbox { position: static; width: 100%; text-align: right; }
  .lp-remarks .wp-body #sec_2 .box1 .imgbox img { width: 100%; max-width: 270px; margin-left: auto; }
  .lp-remarks .wp-body #sec_2 .list1 > li { width: 100%; margin-bottom: 10px; }
  .lp-remarks .wp-body #sec_2 .greencolorbox.type1 { padding: 20px 4%; }
  .lp-remarks .wp-body #sec_3 .list1 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 400px) { .lp-remarks .wp-body #sec_3 .list1 { grid-template-columns: minmax(0, 1fr); } }
/* Q&A（/〜/qa/）: 今のサイトは押すと開く形。このサイトは全部開いた形のまま、問いを薄緑の帯に */
.lp-qa .wp-body .qalist1 > dt { margin: 0 0 15px; padding: 15px 3%; background: #ecf6f0; color: var(--lp-green); font-size: 20px; font-weight: 700; line-height: 1.6; }
.lp-qa .wp-body .qalist1 > dd { margin: 0 0 35px; padding: 0 3%; }
.lp-qa .wp-body #sec_1 .img1 { display: block; margin: 0 0 25px; text-align: center; }
.lp-qa .wp-body #sec_1 .img1 img { margin: 0 auto; }
.lp-qa .wp-body #sec_1 .greencolorbox { width: 90%; max-width: 550px; margin: 20px auto; }
.lp-qa .wp-body #sec_1 .box1 { margin-top: 10px; padding: 25px 2%; border: 2px solid #f08933; }
.lp-qa .wp-body #sec_1 .box1 .box2 { display: inline-block; vertical-align: bottom; }
.lp-qa .wp-body #sec_1 .box1 .box2._1 { width: 46%; margin-right: 3%; padding-right: 3%; border-right: 1px dashed #7a7979; }
.lp-qa .wp-body #sec_1 .box1 .box2._2 { width: 46%; }
.lp-qa .wp-body #sec_1 .box1._2 .txt1 { font-weight: 700; }
.lp-qa .wp-body #sec_1 .box1._2 .img3 { text-align: center; }
.lp-qa .wp-body #sec_1 .box1._2 .img3 img { margin: 0 auto; }
@media (max-width: 767px) {
  .lp-qa .wp-body #sec_1 .box1 { padding: 15px 4%; }
  .lp-qa .wp-body #sec_1 .box1 .box2 { display: block; width: 100%; }
  .lp-qa .wp-body #sec_1 .box1 .box2._1 { width: 100%; margin: 0 0 15px; padding: 0 0 15px; border-right: 0; border-bottom: 1px dashed #7a7979; }
  .lp-qa .wp-body #sec_1 .box1 .box2._2 { width: 100%; }
}
@media (max-width: 639px) { .lp-qa .wp-body .qalist1 > dt { padding: 8px 4%; margin-bottom: 10px; font-size: 16px; } .lp-qa .wp-body .qalist1 > dd { padding: 0 2%; margin-bottom: 20px; } }
/* LP の頭（/miticure/・/sidacure/）: 上の絵と文 → 黄色の帯「舌下免疫療法って何？」→ 灰色の地に白い箱 → 茶色の枠「このような患者様におすすめします」 */
.lp-index .wp-body .section { margin: 0; padding: 0; background: none; }
.lp-index .wp-body #sec_1 { position: relative; z-index: 1; padding-bottom: 0; }
.lp-index .wp-body #sec_1 .colorbox { padding: 40px 0 70px; background: #fffdd9; box-shadow: 0 0 0 100vmax #fffdd9; clip-path: inset(0 -100vmax); }
.lp-index .wp-body #sec_1 .incnt { max-width: 975px; margin: 0 auto; }
.lp-index .wp-body #sec_1 .title1 { margin: 0 0 16px 330px; text-align: left; }
.lp-index .wp-body #sec_1 .title1 .inwrap { display: inline-block; margin: 0; border-bottom: 3px solid var(--lp-brown); color: var(--lp-brown); font-size: 32px; font-weight: 700; line-height: 1.5; }
.lp-index .wp-body #sec_1 .clearfix { display: flex; align-items: flex-start; gap: 74px; }
.lp-index .wp-body #sec_1 .img1 { flex: 0 0 256px; margin: -70px 0 0; }
.lp-index.lp-cedar .wp-body #sec_1 .img1 { flex-basis: 280px; margin-top: -40px; }
.lp-index .wp-body #sec_1 .txt1 { flex: 1 1 auto; margin: 0; color: var(--lp-brown); font-size: 17px; font-weight: 700; }
.lp-index .wp-body #sec_1 .linkbtn1 { position: relative; z-index: 2; margin: -28px 0 0; }
.lp-index .wp-body #sec_2 { margin-top: -28px; padding: 76px 0 50px; background: var(--lp-gray); box-shadow: 0 0 0 100vmax var(--lp-gray); clip-path: inset(0 -100vmax); }
.lp-index .wp-body #sec_2 .incnt { max-width: 1000px; margin: 0 auto; }
.lp-index .wp-body #sec_2 .inwrapbox { position: relative; margin: 0 0 25px; padding: 35px 5% 20px; background: #fff; }
.lp-index .wp-body #sec_2 .cont1 { text-align: center; }
.lp-index .wp-body #sec_2 .cont1 .txt1 { margin: 10px 0 0; font-weight: 700; }
.lp-index .wp-body #sec_2 .cont1 .txt2 { margin: 0; color: var(--lp-brown); font-size: 30px; font-weight: 700; line-height: 1.5; }
.lp-index .wp-body #sec_2 .cont1 .txt2 p { display: inline-block; margin: 0; }
.lp-index .wp-body #sec_2 :is(.cont2, .cont3) .clearfix { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.lp-index .wp-body #sec_2 :is(.cont2, .cont3) .cnt_left { flex: 0 0 42%; }
.lp-index .wp-body #sec_2 :is(.cont2, .cont3) .cnt_left .txt1 { font-size: 17px; font-weight: 700; }
.lp-index .wp-body #sec_2 :is(.cont2, .cont3) .cnt_left .txt1 p { margin: 0; }
.lp-index .wp-body #sec_2 .cont2 .cnt_left .img1 { margin: 15px 0; padding-left: 20px; }
.lp-index .wp-body #sec_2 .cont2 .cnt_right { flex: 0 1 480px; }
.lp-index .wp-body #sec_2 .cont2 .cnt_right .txt1 { font-size: 11px; text-align: right; }
.lp-index .wp-body #sec_2 .cont3 { padding-bottom: 56px; }
.lp-index .wp-body #sec_2 .cont3 .cnt_left { padding-top: 10px; }
.lp-index .wp-body #sec_2 .cont3 .cnt_right { flex: 0 1 540px; }
.lp-index .wp-body #sec_2 .cont3 .cnt_right img { width: 100%; }
.lp-index .wp-body #sec_2 .cont3 .linkbtn1 { position: absolute; left: 0; right: 0; bottom: -28px; margin: 0; }
.lp-index .wp-body #sec_3 { margin-top: 50px; padding-bottom: 40px; }
.lp-index .wp-body #sec_3 .cont1 .inwrap { max-width: 1000px; margin: 0 auto; }
.lp-index .wp-body #sec_3 .list1 { margin: 0 0 65px; padding: 0 10%; }
.lp-index .wp-body #sec_3 .linkbtn2 { position: absolute; left: 0; right: 0; bottom: -30px; margin: 0; }
@media (max-width: 1040px) {
  .lp-index .wp-body #sec_1 .title1 { margin-left: 0; text-align: center; }
  .lp-index .wp-body #sec_1 .title1 .inwrap { font-size: 28px; }
  .lp-index .wp-body #sec_1 .clearfix { gap: 40px; }
  .lp-index .wp-body #sec_1 .img1 { margin-top: -10px; }
  .lp-index .wp-body #sec_2 :is(.cont2, .cont3) .clearfix { flex-direction: column; align-items: stretch; }
  .lp-index .wp-body #sec_2 :is(.cont2, .cont3) :is(.cnt_left, .cnt_right) { flex: none; width: 100%; text-align: center; }
  .lp-index .wp-body #sec_2 :is(.cont2, .cont3) .cnt_right img, .lp-index .wp-body #sec_2 .cont2 .cnt_left .img1 img { margin: 0 auto; }
  .lp-index .wp-body #sec_2 .cont2 .cnt_right .txt1 { text-align: center; }
  .lp-index .wp-body #sec_3 .list1 { padding: 0 6%; margin-bottom: 50px; }
}
@media (max-width: 639px) {
  .lp-index .wp-body #sec_1 .colorbox { padding: 20px 0 48px; }
  .lp-index .wp-body #sec_1 .title1 .inwrap { font-size: 18px; border-bottom-width: 1px; }
  .lp-index .wp-body #sec_1 .clearfix { flex-direction: column; gap: 8px; }
  .lp-index .wp-body #sec_1 .img1, .lp-index.lp-cedar .wp-body #sec_1 .img1 { flex: none; width: 100%; margin: 0; }
  .lp-index .wp-body #sec_1 .img1 img { display: block; width: 60%; max-width: 220px; margin: 0 auto; }
  .lp-index .wp-body #sec_1 .txt1 { font-size: 15px; }
  .lp-index .wp-body #sec_1 .linkbtn1 { margin-top: -20px; }
  .lp-index .wp-body #sec_2 { margin-top: -20px; padding: 48px 0 24px; }
  .lp-index .wp-body #sec_2 .inwrapbox { margin-bottom: 15px; padding: 14px 4%; }
  .lp-index .wp-body #sec_2 .cont1 .txt2 { font-size: 20px; }
  .lp-index .wp-body #sec_2 :is(.cont2, .cont3) .cnt_left .txt1 { font-size: 15px; text-align: left; }
  .lp-index .wp-body #sec_2 .cont3 { padding-bottom: 14px; }
  .lp-index .wp-body #sec_2 .cont3 .linkbtn1 { position: static; margin-top: 8px; }
  .lp-index .wp-body #sec_3 { margin-top: 20px; }
  .lp-index .wp-body #sec_3 .list1 { padding: 0 3%; margin-bottom: 40px; }
}
/* 上の絵と文（今の #mainv_index）: 人数の帯は今のサイトと同じ橙で、絵の右下から右端まで */
.slit-lp .slit-mv { margin-bottom: 40px; }
@media (min-width: 768px) { .slit-lp .slit-count { left: 8%; right: 0; bottom: 12%; } }
/* ==== 12-01 谷さん確認 β ここまで ==== */

/* ==== 12-01 谷さん確認: トップの診療案内の2つのボタンを同じ幅に ==== */
.med-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 680px; margin-inline: auto; }
.med-btns .btn { width: 100%; justify-content: center; }
@media (max-width: 599px) { .med-btns { grid-template-columns: minmax(0, 1fr); max-width: 360px; } }

/* ==== 12-01 谷さん確認: いびき外来のお知らせ・トピックスの左右の外側の余白を広げる（PC） ==== */
/* 2列の中身を最大 1120px の中央にそろえ、外側の余白は最小 80px。背景の白と水色の半分ずつは今のまま */
@media (min-width: 1024px) {
  .sas-news-news { padding: 0 56px 0 max(80px, calc(50vw - 560px)); }
  .sas-news-topics { padding: 0 max(80px, calc(50vw - 560px)) 0 56px; }
}

/* ==== 12-01 谷さん確認: いびき外来の「CPAP専門外来」と「ご予約」のボタンを同じ幅に（PC） ==== */
@media (min-width: 1024px) {
  .sas-cpap-btn { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sas-cpap-btn > .sas-btn a, .sas-cpap-btn .sas-booking .btn { width: 100%; max-width: none; box-sizing: border-box; justify-content: center; }
}
/* スマホ・タブレット: 縦に並ぶ2つのボタンを、上の「CPAP専門外来」と同じ幅（280px・639px 以下は 230px）に */
@media (max-width: 1023px) {
  .sas-cpap-btn .sas-booking .btn { width: 280px; max-width: 100%; box-sizing: border-box; justify-content: center; margin-inline: auto; }
}
@media (max-width: 639px) { .sas-cpap-btn .sas-booking .btn { width: 230px; } }

/* ==== 12-01 反目2巡目の直し ==== */
/* 谷さんの大方針「本文やボタンが左に寄って右が空くのは直す」「同じ並びのボタン・バナーの大きさと位置をそろえる」 */

/* 高1 /recruit/: 吹き出し・リスの影絵・「受付・看護助手スタッフ募集中！」を中央にまとめ、募集中の文は見出しの大きさに。集合写真の下の影絵も中央 */
.pg-recruit .wp-body .ttl_reason_container { display: flex; flex-direction: column; align-items: center; margin-bottom: 20px; text-align: center; }
.pg-recruit .wp-body .ttl_reason_icon { margin-top: 4px; }
.pg-recruit .wp-body .ttl_reason_icon_p { margin: 8px 0 0; color: var(--ink); font-size: 26px; font-weight: 500; line-height: 1.5; word-break: auto-phrase; text-wrap: balance; }
@media (max-width: 639px) { .pg-recruit .wp-body .ttl_reason_icon_p { font-size: clamp(18px, 5.6vw, 22px); } }  /* 375px で1行に収まる大きさ */
.pg-recruit .wp-body .ttl_reason_undericon { margin-top: 8px; text-align: center; }
/* 高2 /recruit/ 院長からのメッセージ: 茶色の帯の中の動画の絵を中央に。ホワイト企業認定の絵は 640px までで中央（スマホは今の幅いっぱいのまま） */
.pg-recruit .wp-body .movie-wrap .movie { text-align: center; }
.pg-recruit .wp-body img.goldrank_Banner { display: block; width: 100%; max-width: 640px; margin: 32px auto 0; }

/* 高3 /kitaguchi/ 患者様の声の下のバナー4枚: PC は同じ幅の2列の格子（1段目＝医師募集・看護師募集、2段目＝ブログ・魂洗浄）。スマホは縦に積む */
.kk-bnr-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.kk-bnr-grid a { display: block; transition: opacity .3s var(--ease); }
.kk-bnr-grid img { width: 100%; height: auto; }
.kk-bnr-grid .icon-ext { display: none; }
@media (hover: hover) { .kk-bnr-grid a:hover { opacity: .85; } }
@media (min-width: 768px) { .kk-bnr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; align-items: start; } }

/* 高4 /kitaguchi/appointment/ 予約操作方法: 見出しの下を中央の列（860px）に、図とボタンも中央 */
body:has(> .site-header-kita) .wp-body .ope_wrap > :not(.appoint_ttl) { max-width: 860px; margin-inline: auto; }
body:has(> .site-header-kita) .wp-body .ope_wrap__box__img { text-align: center; }
body:has(> .site-header-kita) .wp-body .ope_wrap .apo_fl__box__btn { display: flex; justify-content: center; }

/* 高5・高6 /recruit/entry/（確認・完了のページも）と /dropscreen/: 案内文とフォームを中央の列（760px）に。ボタンも中央（スマホも） */
.pg-recruit > .wrap > .col-all > :is(.article, .rc, #rc-fallback), .pg-dropscreen > .wrap > .col-all > :is(.article, h2.sub) { max-width: 760px; margin-inline: auto; }
.pg-recruit #rc-fallback > .article { max-width: none; }
.pg-recruit .rc-btns { justify-content: center; }
.pg-recruit :is(#rc-fallback, .rc) > p:has(> a.btn) { text-align: center; }

/* 高7 /kitaguchi/ 診療カレンダー: 1か月分だけのときは、札と1か月の表をひとまとまりにして中央に（本院の担当医表の1か月のときと同じ考え） */
@media (min-width: 900px) {
  .kk-cal .cal-block:has(.cal-months > .cal:only-child) { grid-template-columns: 300px minmax(0, 390px); justify-content: center; }
  .kk-cal .cal-months:has(> .cal:only-child) { grid-template-columns: minmax(0, 1fr); }
}

/* 高8 /voice/ スマホ: 声の画像は字が読めるよう幅 720px で出し、横に送れる箱に入れる（右の端に送れる印の影。最後まで送ると消える＝対応するブラウザだけ）。
   箱の幅は 0＋min-width 100% にして、ページの幅を押し広げない（横にはみ出さない）。PC は今のまま */
@media (max-width: 767px) {
  .voice-list .voice-zoom { display: flex; width: 0; min-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; }
  .voice-list .voice-zoom img { flex: none; width: 100%; min-width: 720px; max-width: none; }
  .voice-list .voice-zoom::after { content: ""; flex: none; position: sticky; right: 0; width: 28px; margin-left: -28px;
    background: linear-gradient(to right, rgba(66, 33, 11, 0), rgba(66, 33, 11, .28)); pointer-events: none; }
}
@supports (animation-timeline: scroll()) {
  @media (max-width: 767px) { .voice-list .voice-zoom::after { animation: voice-more linear both; animation-timeline: scroll(nearest inline); } }
}
@keyframes voice-more { 0%, 92% { opacity: 1; } 100% { opacity: 0; } }

/* 中 トップ: 募集のバナー2枚を同じ幅に（医師募集の絵は下に透明な余白があるので、同じ幅で上をそろえると見える下の辺もそろう） */
@media (min-width: 768px) { .top-recruit .top-bnr-l li:is(:first-child, :last-child) { flex: 1 1 0; } }
/* 中 トップ: インフォメーションの3枚（ドロップスクリーン・ブログ・インスタ）を同じ幅に */
.top-info .top-bnr-l a { display: block; }
.top-info .top-bnr-l img { width: 100%; }
/* 中 トップ スマホ: 「駅からの道順・混雑状況」のボタンを、ほかのボタンと同じく中央に */
@media (max-width: 767px) { .acc4-t > .btn { display: flex; width: fit-content; margin-inline: auto; } }

/* 中 北口院 スマホ: 診療案内の丸（5つ）の2段目を中央に */
@media (max-width: 899px) {
  .kk-mcircles { display: flex; flex-wrap: wrap; justify-content: center; }
  .kk-mcircles > li { display: flex; justify-content: center; flex: 0 0 calc((100% - 16px) / 3); }
}
/* 中 北口院のフッター: 病気のバナーの2段目を中央に（640px 以上。スマホは1列のまま） */
@media (min-width: 640px) {
  .site-footer-kita .foot-bnr-kita .foot-bnr-row { display: flex; flex-wrap: wrap; justify-content: center; }
  .site-footer-kita .foot-bnr-kita .foot-bnr-row > a { flex: 0 0 calc((100% - 24px) / 2); }
}
@media (min-width: 1024px) { .site-footer-kita .foot-bnr-kita .foot-bnr-row > a { flex-basis: calc((100% - 60px) / 3); } }

/* 中 /about/ 767px 以下: 2列の組みを1列に（1列が狭く1行7〜9字になっていた）。ベビーカー置き場の吹き出しは上の写真を指す */
@media (max-width: 767px) {
  .pg-about .wp-body .about_fl > :is(.about_fl__box, .about_fl__room) { width: 100%; margin: 0; }
  .pg-about .wp-body .about_fl > :is(.about_fl__box, .about_fl__room) + :is(.about_fl__box, .about_fl__room) { margin-top: 32px; }
  .pg-about .wp-body .about_fl > .about_fl__box:not(:has(*)) { display: none; }
  .pg-about .wp-body .about_fl > :is(.about_fl__box, .about_fl__room) + .about_fl__balloon { margin-top: 40px; padding: 20px; }
  .pg-about .wp-body .about_fl__balloon::before { top: -28px; right: auto; left: 50%; margin: 0 0 0 -14px; border: 14px solid transparent; border-bottom-color: #f4eedb; }
}

/* 中 /appointment/ スマホ: 「インターネット予約・診療状況確認」と「予約システムとLINEの連携」を同じ幅で中央に */
@media (max-width: 767px) {
  .appt-two-btns { flex-direction: column; align-items: center; }
  .appt-two-btns > .btn { width: min(100%, 320px); }
}

/* 中 /influenza/ PC: 実施概要の札と短い文が枠の左だけにあり右が空く → 枠の中を中央そろえに（帯の見出しも中央）。
   移した本文では #overview の閉じが抜けて「予約方法」「注意事項」が中に入るので、実施概要の枠の直下だけに効かせる */
@media (min-width: 768px) {
  .pg-influenza #overview > .site_wrap > .single_box > .feature_box { text-align: center; }
  .pg-influenza #overview > .site_wrap > .single_box > .feature_box .doc_box__ttl { margin-left: 0; }
  .pg-influenza #overview > .site_wrap > .single_box > .feature_box .doc_box__ttl::before { left: 50%; margin-left: -10px; }
}

/* 中 いびき外来のフッター PC: 診療時間・院情報・略図の行を、上のロゴと同じく中央に */
.sas-fi-fl { justify-content: center; }

/* 中 移した本文の語の途中の折れ（スマホの「の／ど」「い／びき」など）: 文節で折る指定（auto-phrase）は、行より長い文節を字の間で折るため、
   短い行と語の途中の折れが続いていた。長い本文（段落・箇条・表）は PC と同じく行いっぱいまでの通常の折り返しに。見出し・ボタン・札は文節で折るまま */
@media (max-width: 767px) {
  .wp-main .wp-body :is(p, li, dd, td, th) { word-break: normal; }
  .wp-main .wp-body :is(h1, h2, h3, h4, h5, h6, dt, label, .btn) { word-break: auto-phrase; }
}
/* 目次のボタンは <wbr> の所だけで折る（「インフルエンザ予防接種」→「インフルエンザ／予防接種」） */
.wp-main .wp-body nav.single_nav:not(#recruit_nav_warp) a.btn { word-break: keep-all; overflow-wrap: anywhere; }
/* 同じ段のボタンの高さをそろえる（1つが2行になったとき、隣の1行のボタンも同じ高さに） */
.wp-main .wp-body nav.single_nav:not(#recruit_nav_warp) .single_nav-btn { display: flex; }
/* ==== 12-01 反目2巡目の直し ここまで ==== */

/* ==== 12-01 全部なおす ==== */
/* 谷さん「一旦全部なおして出して」（2巡目の直しの後に残ったもの）。方針は同じく「本文やボタンが左に寄って右が空くのは直す」「今のサイトの作りを踏襲」 */

/* 1 本文が左に寄っていたページ: ごあいさつ・応募フォームと同じく中央の列に。
   文だけのページ（/privacy/・/keiji/・/kitaguchi/keiji/）は 760px。見出し（h2.sub）と文の箱（.article）を同じ列にそろえる */
.wp-page:is(.pg-privacy, .pg-keiji) > .wrap > .col-all > :is(.article, h2.sub), .pg-kitaguchi > .wrap > .col-all > .article { max-width: 760px; margin-inline: auto; }
/* /doctor_recruit/: 移した本文（写真・動画のある LP）と応募フォームは 860px の列にそろえる（左の端を1本に） */
.pg-doctor_recruit > .wrap > .col-all > * { max-width: 860px; margin-inline: auto; }
/* /doctor_recruit/confirm/・completion/: スタッフ募集の確認・完了のページと同じ 760px の列。案内の文とボタンも中央 */
.pg-doctor_recruit > .wrap > .col-all:not(:has(> .wp-body)) > * { max-width: 760px; }
.pg-doctor_recruit #rc-fallback > .article { max-width: none; }
.pg-doctor_recruit .rc-btns { justify-content: center; }
.pg-doctor_recruit :is(#rc-fallback, .rc) > p:has(> a.btn) { text-align: center; }
/* /doctor_recruit/ の本文の中の写真だけの段（理念の三角の絵・5つのメリットの写真・理事長の写真）も列の中央に。
   今のサイトの LP の2列の組み（写真と文の左右の並び）は写していないので、写真が列の左に寄り右が空いていた */
.pg-doctor_recruit .wp-body :is(.philosophy_intro__img, .merit_box__img, .merit_box__img_sp, .message_img) { text-align: center; }

/* 2 /kitaguchi/appointment/ 予約操作方法: 番号（「1」「2」）が文と別の行・ただの字になっていた。今の北口院サイトと同じく、番号の四角と文を1行に並べ、
   手順は角の丸い枠の中で線で区切る。色は今のサイトの橙（ネット予約 #e19d50）・茶（予約専用ダイヤル #b77f41）の系統で、白い番号と文字が読める濃さに
   （番号の面 #c47a2c・#b77f41 は白い字と 3:1 以上、手順の文 #a8601c・#8a5a2b は白地と 4.5:1 以上） */
body:has(> .site-header-kita) .wp-body .ope_wrap__ttl { margin: 40px auto 16px; color: #c47a2c; font-size: 24px; font-weight: 700; line-height: 1.5; text-align: center; }
body:has(> .site-header-kita) .wp-body .ope_wrap__ttl.cl_lg { color: #b77f41; }
body:has(> .site-header-kita) .wp-body .ope_wrap .single_box { padding: 24px 16px; border: 1px solid #42210b; border-radius: 15px; background: #fff; }
body:has(> .site-header-kita) .wp-body .ope_wrap__box + .ope_wrap__box { margin-top: 28px; padding-top: 28px; border-top: 1px solid rgba(75, 30, 8, .3); }
body:has(> .site-header-kita) .wp-body .ope_wrap__box__num { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; color: #a8601c; font-size: 17px; font-weight: 700; line-height: 1.5; }
body:has(> .site-header-kita) .wp-body .ope_wrap__box__num.cl_lg { color: #8a5a2b; }
body:has(> .site-header-kita) .wp-body .ope_wrap__box__num > span { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 6px;
  background: #c47a2c; color: #fff; font-size: 16px; line-height: 1; }
body:has(> .site-header-kita) .wp-body .ope_wrap__box__num > span.bg_lg { background: #b77f41; }
body:has(> .site-header-kita) .wp-body .ope_wrap__box__num__txt { flex: 1 1 auto; min-width: 0; margin: 0; }
body:has(> .site-header-kita) .wp-body .ope_wrap__box__txt { margin: 0 0 12px; color: var(--ink); font-weight: 700; }
body:has(> .site-header-kita) .wp-body .ope_wrap__box__txt span { font-weight: 400; }
body:has(> .site-header-kita) .wp-body .ope_wrap__box__img { margin: 0 0 28px; }
body:has(> .site-header-kita) .wp-body .ope_wrap__box__img:last-child { margin-bottom: 0; }
/* 予約専用ダイヤルの番号のボタン: ネット予約のボタン（移した本文の a.btn）と同じ丸い枠に（今のサイトも同じ形の2つのボタン） */
body:has(> .site-header-kita) .wp-body .ope_wrap .btn02 > a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin: 8px 0; padding: 8px 24px;
  border: 1px solid var(--green); border-radius: 999px; color: var(--green); font-weight: 500; letter-spacing: .06em; line-height: 1.6; text-decoration: none;
  transition: background-color .3s var(--ease), color .3s var(--ease); }
@media (hover: hover) { body:has(> .site-header-kita) .wp-body .ope_wrap .btn02 > a:hover { background: var(--green); color: #fff; } }
@media (min-width: 768px) {
  body:has(> .site-header-kita) .wp-body .ope_wrap__ttl { font-size: 26px; }
  body:has(> .site-header-kita) .wp-body .ope_wrap .single_box { padding: 40px 48px; }
  body:has(> .site-header-kita) .wp-body .ope_wrap__box__num { gap: 12px; font-size: 20px; }
  body:has(> .site-header-kita) .wp-body .ope_wrap__box__num > span { width: 44px; height: 44px; border-radius: 10px; font-size: 19px; }
}

/* 4 北口院のお知らせ枠: 枠の絵（bg_news.png を枠いっぱいに伸ばす）の左下の木の実・葉は、枠の幅の 8.5% まで入り込む。文字の左の余白をそれより広く */
.kk-news-box { padding-left: calc(8.5% + 12px); }

/* 5 北口院の診療カレンダー 900px 未満: 1か月分だけのときも、札・凡例・1か月の表を中央に（900px 以上は前の直しで中央） */
@media (max-width: 899px) {
  .kk-cal .cal-block:has(.cal-months > .cal:only-child) { justify-items: center; }
  .kk-cal .cal-block:has(.cal-months > .cal:only-child) > .cal-months { justify-self: stretch; justify-content: center; }
}

/* 6 発熱外来の枠の左下のリスの線画が、箇条書きの行の頭に接していた（900px 以上）。
   北口院: 今の北口院サイトと同じく、文の左の余白をリスの右の端より広く（リスは左から 1%・幅 93px。インフルエンザ・舌下の枠も同じ形なので同じ余白に）。
   トップ: 下のインフルエンザの帯と文の左の端をそろえたままにするため、文の下に余白を足してリスを文の下に（リスは下から 10px・高さ 70px） */
@media (min-width: 900px) {
  .kk-box { padding-left: max(8%, calc(1% + 110px)); }
  .fever-main { padding-bottom: 56px; }
}

/* 7 ごあいさつの院長の写真の説明「…無呼吸クリ／ニック」: 移した本文の中なので <wbr> は入らない。語の中では折らず、空白（と中点）の所で折る */
.pg-greeting .wp-body .doctor_box__name { word-break: keep-all; overflow-wrap: anywhere; }
/* ==== 12-01 全部なおす ここまで ==== */

/* ==== 12-01 全部なおす（追加）: ブログ・コラム・お知らせの個別の記事の本文の列を中央に（PC・タブレット） ==== */
@media (min-width: 768px) {
  .wrap.grid > article.col-all.c1-10 { grid-column: 1 / -1; width: 100%; max-width: 860px; margin-inline: auto; min-width: 0; }
  .wrap.grid > article.col-all.c1-10 > .wp-body { margin-inline: auto; }
}

/* ==== 12-01 フッターの森を今のサイトの見せ方に ==== */
/* 谷さん（12-01）「森感がもっと有る気がする」。本院のフッターを今の本院サイトと同じ組みにする（今のサイトの .footer は、下に 45vw の余白をとり、
   森の絵を幅いっぱい・下にそろえて敷く。kanade-jibika-demo/research/current/css/base.css）:
   - 森の絵は幅いっぱい・縦横比のまま（1400:795＝高さは幅の 56.79%）。切り取らず、梢・蝶まで絵の全体を出す
   - 絵の上の 11.79%（幅に対して。56.79% − 45%）を病気のページのバナーの後ろへ重ねる（森がバナーの後ろまで続く）。絵は文とバナーの下の層
   - ©の文は一番下の濃い緑（絵の地面と同じ #016837）の上に白で中央（build.py の footer() で、本院だけ森の絵の後ろの .foot-copy に出す）
   北口院（.site-footer-kita）・いびき外来（.sas-footer）は触らない */
.site-footer:not(.site-footer-kita) { position: relative; isolation: isolate; }
.site-footer:not(.site-footer-kita) .foot-forest { position: relative; z-index: -1; margin-top: -11.79%; padding-bottom: 0; background: none; }
.site-footer:not(.site-footer-kita) .foot-forest img { width: 100%; max-width: none; height: auto; min-height: 0; object-fit: fill; margin: 0; }
/* 提案書（バナーの無いフッター）は、文の上に絵を重ねない */
.site-footer:not(.site-footer-kita):not(:has(.foot-bnr)) .foot-forest { margin-top: 24px; }
.foot-copy .copy { margin: 0; color: #fff; text-align: center; }
/* PC・タブレット: 今のサイトと同じく、絵の地面の上・下から 2rem に重ねる */
@media (min-width: 768px) { .foot-copy { position: absolute; left: 0; right: 0; bottom: 32px; padding: 0 var(--gutter); } }
/* スマホ: 絵の地面は低い（375px で約 40px）ので、絵の下に同じ緑の帯を続けて文を置く。下の固定バー（高さ 60px）の分も帯で空ける */
@media (max-width: 767px) { .foot-copy { padding: 4px var(--gutter) 76px; background: #016837; } }

/* 右下の「ページの先頭へ」（本院のページ。build.py の PAGETOP_RISU）: 今の本院サイトと同じ、リスの影絵の入った丸いボタン。大きさと位置も今のサイトと同じ
   （幅 100px・右と下から 10px）。黄緑の丸と TOP の字は CSS、リスは影絵 /img/warm/sil-squirrel.svg を茶色で塗る。スマホの幅で出さないのは前のまま */
@media (min-width: 768px) {
  .pagetop.pagetop-risu { right: 10px; bottom: 10px; width: 100px; height: 100px; gap: 4px; padding-bottom: 2px;
    background: radial-gradient(circle at 62% 66%, #e3eeb0 0%, #d6e8a2 48%, #c9de93 100%); color: #42210b; box-shadow: none;
    font-size: 18px; font-weight: 500; letter-spacing: 0.02em; }
  .pagetop-risu-i { display: block; width: 66px; height: 42px; background: currentColor;
    -webkit-mask: url(/img/warm/sil-squirrel.svg) center / contain no-repeat; mask: url(/img/warm/sil-squirrel.svg) center / contain no-repeat; }
}
@media (min-width: 768px) and (hover: hover) { .pagetop.pagetop-risu:hover { background: radial-gradient(circle at 62% 66%, #e3eeb0 0%, #d6e8a2 48%, #c9de93 100%); opacity: .8; } }
/* ==== 12-01 フッターの森を今のサイトの見せ方に ここまで ==== */

/* ==== 12-01 谷さん「タイトルの背景に専門の画像がふんだんに使われている・無くてスッキリしすぎ」:
   今のサイトの見出し（content.css の .single .hero）と同じ重ね方。ページごとの絵を面いっぱいに敷き、白の 60% の膜、
   その上に木と地面の絵（.hero-ov）、題は白の縁取り。warm_hero(bg=...) のときだけ ==== */
.warm-hero.has-bg { position: relative; background: #fff var(--hero-bg) no-repeat center / cover; }
.warm-hero.has-bg::before { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, 0.6); pointer-events: none; z-index: 0; }
.warm-hero.has-bg .hero-ov { z-index: 1; }
.warm-hero.has-bg > .wrap { position: relative; z-index: 2; }
.warm-hero.has-bg h1 { text-shadow: 3px 3px 1px #fff, -3px 3px 1px #fff, 3px -3px 1px #fff, -3px -3px 1px #fff, 3px 0 1px #fff, 0 3px 1px #fff, -3px 0 1px #fff, 0 -3px 1px #fff; }

/* ==== 12-01 夜 募集のページ（担当: 募集） ==== */
/* スタッフ募集（/recruit/）・医師募集（/doctor_recruit/）と応募フォーム（build.py の page_boshu）。見た目は今のサイトのテーマの CSS
   （src/legacy の lg-main・lg-dr）で出す。ここには、今のサイトでは #wrapper・JS（slick のスライド・ふわっと出る動き）が担っていた所と、
   新しいサイトの CSS（body の字間・行間、.btn など）が混ざる所の直しだけを置く */
/* 今のサイトの #wrapper（文字の大きさ・色・字体・紙の地）。医師募集は #wrapper の要素があり、スタッフ募集は枠に同じ値を置く。
   #wrapper の上の空き（今のサイトの固定ヘッダーの分）は新しいサイトでは要らない */
.lg-main.boshu { letter-spacing: normal; line-height: 1.231; text-align: left; }
.lg-main.boshu-rc { position: relative; color: #333; font-size: calc(1.6 * var(--lg-rem, 10px));
  font-family: -apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Helvetica Neue", HelveticaNeue, YuGothic, "Yu Gothic Medium", "Yu Gothic", Verdana, Meiryo, sans-serif;
  background: url(/wp-content/themes/stagegroup/asset/images/bg_canvas.png); }
.lg-main.boshu #wrapper { padding-top: 0; min-width: 0; }
/* ふわっと出る動き（今のサイトは JS で .is-animated を付ける）は使わず、はじめから見せる */
.lg-main.boshu .js-fadeAnimation { opacity: 1; transform: none; }
.boshu-crumb { padding-top: 8px; padding-bottom: 8px; }
/* 医師募集の写真の帯（今のサイトは slick で4枚ほどを並べて流す）: 流さずに横に並べ、両端は少し切れて見える形 */
.lg-dr.boshu .slider.autoplay { display: flex; justify-content: center; align-items: center; overflow: hidden; }
.lg-dr.boshu .slider.autoplay > div { flex: 0 0 23%; padding: 0 12px; }
@media (max-width: 767px) { .lg-dr.boshu .slider.autoplay > div { flex-basis: 34%; padding: 0 5px; } }
/* 医師インタビュー: スマホは今のサイトと同じく1人ずつ（slick の代わりに横に送る形） */
@media (max-width: 767px) {
  .lg-dr.boshu .sec_interview .interview_inner .slide_interview { display: flex; justify-content: flex-start; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 0 16px; }
  .lg-dr.boshu .sec_interview .interview_inner .slide_interview > article { flex: 0 0 88%; width: auto; scroll-snap-align: start; }
}
/* 応募フォーム（入力・確認・完了。医師募集とスタッフ募集で同じ）: 今のサイトの医師募集の応募フォーム（lg-dr の .sec_form .form_inner）と同じ
   並べ方（左に項目の名前 250px と右上の丸い札・右に灰色の入力欄）と、薄茶の丸いボタン。項目と仕組みは recruit_page のまま */
.boshu-form .boshu-form-in { max-width: 760px; margin: 0 auto; color: #42210B; font-size: 16px; line-height: 1.8; }
.boshu-form .boshu-form-in .article { font-size: 15px; line-height: 1.9; }
.boshu-form .boshu-form-in .article a { text-decoration: underline; }
.boshu-form .rc { max-width: 760px; margin: 40px auto 0; }
.boshu-form .rc-dl { border-top: 0; }
.boshu-form .rc-row { display: flex; justify-content: center; gap: 0; padding: 0; border-bottom: 0; }
.boshu-form .rc-row > dt { position: relative; display: block; flex: none; width: 250px; padding: 10px 0 30px; color: inherit; font-size: 18px; font-weight: 600; line-height: 1.5; }
.boshu-form .rc-row > dd { position: relative; width: calc(100% - 250px); padding-bottom: 30px; color: inherit; font-size: 16px; }
.boshu-form .rc-req, .boshu-form .rc-opt { position: absolute; right: 20px; top: 13px; padding: 5px 10px; color: #fff; font-size: 11px; font-weight: normal; line-height: 1; letter-spacing: normal; border-radius: 20px; background: #f5aab5; }
.boshu-form .rc-opt { background: #c9c2b8; }
.boshu-form .rc :is(input, textarea, select) { margin: 0; padding: 12px 15px; color: #42210B; font-size: 16px; line-height: 1.6; background-color: #f5f5f5; border: 0; border-radius: 0; }
.lg-dr .boshu-form .rc input.rc-short { width: 100px; }
.boshu-form .rc-unit { margin-left: 8px; color: inherit; }
.boshu-form .rc-btns .btn .icon-arrow { display: none; }
/* 確認の画面の「入力に戻る」「送信する」は横に並べる（今のサイトの確認の画面の作りは控えに無い） */
.boshu-form #rc-view .rc-btns { gap: 16px; }
.boshu-form #rc-view .rc-btns .btn { width: 300px; font-size: 20px; text-decoration: none; }
.boshu-form a.btn { text-decoration: none; }
/* スタッフ募集の応募フォームの題は、医師募集の応募フォームの題と同じ大きさ（スタッフ募集の本文の .sec_ttl の規則が先に当たるため） */
.lg-main.boshu-rc #main_content .boshu-form .sec_ttl { margin-bottom: 0; font-size: 42px; }
@media (max-width: 1023px) { .lg-main.boshu-rc #main_content .boshu-form .sec_ttl { font-size: 35px; } }
@media (max-width: 767px) { .lg-main.boshu-rc #main_content .boshu-form .sec_ttl { font-size: 28px; } .boshu-form #rc-view .rc-btns .btn { width: 100%; font-size: 18px; } }
.boshu-form .rc :is(input, textarea)::placeholder { color: #a8a8a8; }
.boshu-form .rc [aria-invalid="true"] { outline: 2px solid #b3261e; outline-offset: -2px; }
.boshu-form .rc-btns { justify-content: center; margin-top: 10px; }
.boshu-form .rc-btns .btn { width: 640px; max-width: 100%; height: auto; min-height: 0; padding: 10px 0; border: 1px solid #c7b299; border-radius: 50px;
  background: #c7b299; color: #fff; font-size: 24px; font-weight: normal; letter-spacing: normal; }
.boshu-form .rc-btns .btn svg { display: none; }
.boshu-form .rc-btns .btn.btn-line { width: 300px; background: #fff; color: #8a6d4d; }
.boshu-form #rc-fallback, .boshu-form #rc-view > .body { font-size: 16px; line-height: 1.9; text-align: center; }
.boshu-form #rc-fallback a.btn, .boshu-form #rc-view a.btn { min-width: 300px; border-radius: 50px; border-color: #c7b299; color: #8a6d4d; background: #fff; }
.boshu-form .rc-confirm .rc-row > dt { padding-bottom: 20px; }
.boshu-form .rc-confirm .rc-row > dd { padding: 10px 0 20px; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (hover: hover) { .boshu-form .rc-btns .btn:not([disabled]):hover { background: #b39c80; border-color: #b39c80; color: #fff; } }
@media (max-width: 767px) {
  .boshu-form .rc-row { display: block; }
  .boshu-form .rc-row > dt { display: flex; align-items: center; gap: 20px; width: auto; padding-bottom: 5px; font-size: 16px; }
  .boshu-form .rc-req, .boshu-form .rc-opt { position: static; }
  .boshu-form .rc-row > dd { width: 100%; }
  .boshu-form .rc-btns .btn { font-size: 18px; }
}
/* スタッフ募集の開け閉め（T21・RECRUIT_AC_JS）: 今のサイトの CSS は中身を display: none にして JS（jQuery）で開くので、
   開いた中身（hidden の無いもの）を見せる。JS が無いときは hidden が付かないので全部見える（今までどおり） */
.lg-main.boshu-rc #main_content .recruit_ac_body:not([hidden]) { display: block; }
.lg-main.boshu-rc #main_content .recruit_ac_btn { cursor: pointer; }
/* スタッフ募集の「応募方法」の中の応募フォームへのボタン（recruit_cta。前は .wp-body の中の形） */
.boshu-rc .rc-cta { margin-top: 24px; padding: 20px 24px; border: 1px solid #e5dccd; border-radius: 8px; background: #fff; font-size: 15px; line-height: 1.8; text-align: center; }
.boshu-rc .rc-cta p + p { margin-top: 12px; }
.boshu-rc .rc-cta a.btn { width: auto; min-width: 200px; height: 54px; margin: 0; padding: 0 28px; border: 0; border-radius: 999px; background: var(--green); color: #fff; font-size: 15px; text-decoration: none; white-space: nowrap; }
@media (hover: hover) { .boshu-rc .rc-cta a.btn:hover { background: var(--green-d); color: #fff; } }
@media (max-width: 767px) { .boshu-rc .rc-cta { padding: 16px; } .boshu-rc .rc-cta a.btn { width: 100%; } }
/* ==== 12-01 夜 募集のページ（担当: 募集） ここまで ==== */

/* ==== 12-01 夜 診療のページ（担当: 診療） ==== */
/* めまい・耳鳴り／中耳炎／蓄膿症／アレルギー性鼻炎・花粉症（build.py の sub01_body）。並べ方は今のサイトのテーマの sub01 の CSS（src/legacy/lg-sub01.css）のまま。
   ここには、今のサイトの html・body の規則が枠に当たって困る所と、新しいサイトの初期化（border-box・画像はブロック）が混ざる所の直し、
   新しいサイトのヘッダー（固定・高さ 140px）に合わせた位置、スマホ・タブレット（今のサイトは幅 1000px の PC の作りのまま縮めて見せる）の並べ方を置く */
.lg-sub01.sub01-page { overflow: visible; max-height: none; }
.lg-sub01.sub01-page *, .lg-sub01.sub01-page *::before, .lg-sub01.sub01-page *::after { box-sizing: content-box; }
.lg-sub01.sub01-page img { display: inline; }
/* 見出しの絵（#mainv）: 今のサイトのヘッダー（高さ 90px・絵の上に重なる）の所にパンくず */
.lg-sub01.sub01-page .sub01-top { height: 90px; }
.lg-sub01.sub01-page #mainv .sub01-top .incnt { display: flex; align-items: center; height: 100%; padding: 0; }
.lg-sub01.sub01-page .sub01-top .crumb { margin: 0; padding: 4px 14px; border-radius: 999px; background: rgba(255, 255, 255, .85); color: #595757; line-height: 1.6; }
.lg-sub01.sub01-page .sub01-top .crumb a:link, .lg-sub01.sub01-page .sub01-top .crumb a:visited { color: #595757; }
/* ページ内の絵のメニュー（#gnav）: 今のサイトは画面の上から 110px（ヘッダー 90px の下）。新しいサイトのヘッダーの下に */
.lg-sub01.sub01-page #gnav { top: 160px; }
/* 今のサイトの開け閉めのボタン（.btn・.btn2）は、新しいサイトのボタンの部品（.btn の幅・高さ・丸み）とは別もの */
.lg-sub01.sub01-page #gnav button { display: block; width: auto; min-width: 0; height: auto; margin: 0; padding: 0; border: 0; border-radius: 0; background: none;
  font-size: 0; line-height: 0; cursor: pointer; }
.lg-sub01.sub01-page #gnav .btn { transition: left .6s cubic-bezier(.23, 1, .32, 1); }
.lg-sub01.sub01-page #gnav .nav { transition: left .9s cubic-bezier(.23, 1, .32, 1), visibility 0s; }
.lg-sub01.sub01-page #gnav.is-closed .nav { left: -190px; visibility: hidden; transition: left .9s cubic-bezier(.23, 1, .32, 1), visibility 0s .9s; }
.lg-sub01.sub01-page #gnav.is-closed .btn { left: 0; }
.lg-sub01.sub01-page #gnav :is(a, button):focus-visible { outline: 2px solid #08a253; outline-offset: 1px; }
@media (prefers-reduced-motion: reduce) { .lg-sub01.sub01-page #gnav :is(.btn, .nav) { transition: none !important; } }

/* 999px 以下（タブレット・スマホ）: 本文の幅 960px の左右の並びは入らないので、文と絵を縦に並べる。見出しの絵は高さを縮めて同じ絵を見せる。
   ページ内の絵のメニューは浮かせず、見出しの絵の下に2列（スマホ）で並べる */
@media (max-width: 999px) {
  .lg-sub01.sub01-page .incnt { width: auto; max-width: 960px; padding: 48px 16px; }
  .lg-sub01.sub01-page #mainv { height: clamp(220px, 48vw, 452px); background-size: auto 100%; }
  .lg-sub01.sub01-page .sub01-top { height: auto; }
  .lg-sub01.sub01-page #mainv .sub01-top .incnt { padding: 10px 16px 0; }
  .lg-sub01.sub01-page #mainv .txt1 { padding: 10px 0 0; }
  .lg-sub01.sub01-page #mainv .txt1 img { width: min(86%, 600px); height: auto; }
  .lg-sub01.sub01-page #gnav { position: static; width: auto; height: auto; padding: 16px 0; background: #e7f3d7; }
  .lg-sub01.sub01-page #gnav .incnt { padding: 0 16px; }
  .lg-sub01.sub01-page #gnav :is(.btn, .btn2) { display: none; }
  .lg-sub01.sub01-page #gnav .nav { position: static; width: auto; height: auto; background: none !important; visibility: visible; }
  .lg-sub01.sub01-page #gnav ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(161px, 1fr)); justify-items: center; gap: 8px 10px; margin: 0; }
  .lg-sub01.sub01-page #gnav ul li { margin: 0; line-height: 0; }
  .lg-sub01.sub01-page #content :is(.cnt_left, .cnt_right, .cnt_under, ul, ol, li, dl, .box1, .bgbox, .txtbox, .w700, table) {
    float: none !important; position: static !important; width: auto !important; max-width: 100%; margin-left: 0 !important; margin-right: 0 !important; }
  .lg-sub01.sub01-page #content .inbox > * + * { margin-top: 16px !important; }
  .lg-sub01.sub01-page #content :is(.cnt_left, .cnt_right) { padding-top: 0 !important; }
  .lg-sub01.sub01-page #content img { max-width: 100%; height: auto; }
  .lg-sub01.sub01-page #content :is(.cnt_left, .cnt_right) > img, .lg-sub01.sub01-page #content :is(.cnt_left, .cnt_right) > p > img:only-child { display: block; margin-left: auto; margin-right: auto; }
  .lg-sub01.sub01-page #content img.right { max-width: 40%; margin: 0 0 8px 12px; }
  .lg-sub01.sub01-page #content img.left { max-width: 40%; margin: 0 12px 8px 0; }
  .lg-sub01.sub01-page #content :is(th, td) { width: auto !important; padding: 6px 10px !important; }
  .lg-sub01.sub01-page #gnav .incnt { width: auto; }
  /* 幅 670px の絵で組んだ枠（蓄膿症の種類の囲み: 上・下の絵と縦に繰り返す絵）は、同じ色の線の枠に */
  .lg-sub01.sub01-page #content .img:has(> img[src*="bg_cnt1_"]) { display: none; }
  .lg-sub01.chikunou.sub01-page #sec_2 .txtbox { margin-top: 10px; padding: 8px 12px; border: 1px solid #aeaeae; border-radius: 6px; background: #fff; }
  /* めまいの治療法: 右に置いていた絵（.list2 の背景）は一覧の下の右に。リハビリの囲み（960px の緑の絵）は同じ緑の地 */
  .lg-sub01.memai.sub01-page #sec_5 .list2 { padding-bottom: 340px; background-position: center bottom; background-size: 200px auto; }
  /* めまい・耳鳴りの対処法の「ポイント」の枠（幅 240px の絵）は幅をそのままに中央へ */
  .lg-sub01.memai.sub01-page #sec_7 .point { margin: 0 auto; }
  /* 中耳炎とは？: 文の中で右に浮かせていた絵は、文の頭に中央で置く（幅が狭いと文が細い帯になるため） */
  .lg-sub01.chujien.sub01-page #sec_1 .imgsp { display: none; }
  .lg-sub01.chujien.sub01-page #sec_1 img.img1 { float: none; display: block; margin: 0 auto 12px; padding: 0; }
  .lg-sub01.memai.sub01-page #sec_5 .box1 { padding: 20px 16px; border-radius: 10px; background: #e3efd3; }
}

/* 病気のページ（/medical-treatment/〔部位〕/・build.py の med_treat_body）。並べ方は今のサイトのテーマの CSS（src/legacy/lg-main.css）のまま。
   字体は今のサイトのまま（テーマの CSS）。部位のタブ（T14 の .wp-main .med-tabs）は、今のサイトのタブと同じく白い箱の上に並べ、間に黄緑の線（.med_box::after） */
.lg-main.med-treat { letter-spacing: normal; }
.lg-main.med-treat #main_content { padding: 40px 0 80px; }
/* 部位のタブ: 今のサイトと同じく6つを1列に（スマホも1列で、名前は2行に折れる） */
.lg-main.med-treat .med_box > .med-tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5px; order: -2; width: 100%; margin: 0; }
.lg-main.med-treat .med-tabs a { display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 6px 4px; font-size: 14px; line-height: 1.4;
  text-align: center; text-decoration: none; }
@media (max-width: 639px) { .lg-main.med-treat .med-tabs { gap: 3px; } .lg-main.med-treat .med-tabs a { min-height: 44px; padding: 4px 2px; font-size: 12px; letter-spacing: 0; } }
.lg-main.med-treat .med_box__content { flex: 1 1 100%; }
.lg-main.med-treat .def_list__body p { line-height: 1.8; }
@media (max-width: 639px) {
  .lg-main.med-treat #main_content { padding: 24px 0 48px; }
  .lg-main.med-treat .site_wrap { padding: 0 16px; }
  .lg-main.med-treat .med-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg-main.med-treat .med_box__content { padding: 4px 14px 16px; }
  .lg-main.med-treat .def_list .def_list__ttl { margin: 0; padding: 12px 1.6em 12px 0; border-bottom: 1px dashed #c7b299; font-size: 16px; cursor: pointer; }
  .lg-main.med-treat .def_list .def_list__ttl::before { content: "+"; display: grid; place-items: center; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%;
    background: #39b54a; color: #fff; font-family: inherit !important; font-size: 14px; line-height: 1; }
  .lg-main.med-treat .def_list .def_list__ttl.open::before { content: "−"; }
  .lg-main.med-treat .def_list .def_list__body { padding: 10px 0 14px; font-size: 15px; }
}
/* ==== 12-01 夜 診療のページ（担当: 診療） ここまで ==== */

/* ==== 12-01 夜 北口院（担当: 北口院） ==== */
/* 北口院の下のページ（build.py の page_kita_lg・枠は .lg-main.kk-lg）。本文は本院のテーマの CSS（src/legacy/lg-main-rem.css。rem は --lg-rem）で出す
   （北口院はテーマ stagegroup の写しで、北口院の本文の CSS は手元に無い）。ここには ①今のサイトの #wrapper が担っていた所
   ②北口院の色と、北口院だけ並べ方が違う所（12-01 13:36 に撮った今の北口院のクリニック紹介・ご予約方法の画面から拾った。撮れていないページは同じ置き換えの規則で）
   ③JS の代わり（Q&A のボタン） だけを置く */
/* ① 今の北口院サイトの #wrapper（文字の大きさ・色・字体・紙の地）。本文の色はテーマの .single_page（こげ茶 #42210b） */
.lg-main.kk-lg { position: relative; color: #333; font-size: calc(1.6 * var(--lg-rem, 10px)); letter-spacing: normal; line-height: 1.231; text-align: left;
  font-family: -apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Helvetica Neue", HelveticaNeue, YuGothic, "Yu Gothic Medium", "Yu Gothic", Verdana, Meiryo, sans-serif;
  background: url(/kitaguchi/wp-content/themes/stagegroup/asset/images/bg_canvas.png); overflow-x: clip; }  /* 飾りの絵（右へはみ出す木など）は今のサイトと同じく枠で切る */
/* 新しいサイトの全体の規則（* の border-box・img・strong・p の折り返し・.btn）が本文に混ざらないよう、今のサイトの素の値に戻す。
   :where() で強さを全体の規則と同じにし、テーマの CSS（.lg-main の後ろに class が続くもの）は必ずこちらより強い */
:where(.lg-main.kk-lg), :where(.lg-main.kk-lg) *, :where(.lg-main.kk-lg) *::before, :where(.lg-main.kk-lg) *::after { box-sizing: content-box; }
:where(.lg-main.kk-lg) img { display: inline; max-width: none; }
:where(.lg-main.kk-lg) strong { font-weight: bolder; color: inherit; }
:where(.lg-main.kk-lg) :is(p, li, dd) { text-wrap: wrap; }
:where(.lg-main.kk-lg) .btn { display: inline; align-items: normal; justify-content: normal; gap: normal; min-width: 0; height: auto; padding: 0; border-radius: 0;
  font-size: inherit; font-weight: inherit; letter-spacing: inherit; white-space: inherit; }
:where(.lg-main.kk-lg) .icon-arrow { display: inline; }
/* ② 北口院の色: 本院の緑（#39b54a・#60b058）→ 北口院の橙 #e19d50、本院の黄緑（#9bcf53）→ 北口院の茶 #b77f41、
   本院の茶の帯（.bg_beige #c7b299）→ 北口院の紙の地（bg_beige.png）。本院の黄緑の紙（.appoint の bg_paper.png）→ 北口院の紙の地
   （.appoint は撮れていないので仮。北口院のテーマはトップでも本院の緑の紙 bg_green.png を bg_beige.png に置き換えている） */
.lg-main.kk-lg .single_page .ttl_sub, .lg-main.kk-lg .def_list .def_list__ttl,
.lg-main.kk-lg .about_fl__num:not(.about_fl__num1, .about_fl__num2, .about_fl__num3, .about_fl__num4, .about_fl__num5, .about_fl__num6, .about_fl__num7, .about_fl__num8),
.lg-main.kk-lg .qalist .ac_btn p::before, .lg-main.kk-lg .kk-lg-qb::before,
.lg-main.kk-lg .ope_wrap__ttl, .lg-main.kk-lg .ope_wrap__box__num, .lg-main.kk-lg .file_box__ttl, .lg-main.kk-lg .feature_box .feature_box__ttl { color: #e19d50; }
.lg-main.kk-lg .ope_wrap__box__num span, .lg-main.kk-lg .apo_fl__box__obi { background: #e19d50; }
.lg-main.kk-lg .apo_fl__box .bg_lg, .lg-main.kk-lg .ope_wrap .bg_lg { background: #b77f41; }
.lg-main.kk-lg .apo_fl__box .cl_lg, .lg-main.kk-lg .ope_wrap .cl_lg { color: #b77f41; }
.lg-main.kk-lg .apo_fl__box .bg_dark { background: #42210b; }
.lg-main.kk-lg .policy_box__ttl::after { background: repeating-linear-gradient(-45deg, #e19d50, #e19d50 2px, #fff 2px, #fff 4px); }
.lg-main.kk-lg .bg_beige { background: url(/kitaguchi/wp-content/themes/stagegroup/asset/images/bg_beige.png); }
.lg-main.kk-lg .appoint { background: url(/kitaguchi/wp-content/themes/stagegroup/asset/images/bg_beige.png); }
/* クリニック紹介のアクセス: 今の北口院サイトは2つ並べ（駅から・駐車場）、3つめ（駅からの行き方）を下の中央に */
.lg-main.kk-lg .access_wrap .apo_fl { flex-wrap: wrap; }
.lg-main.kk-lg .access_wrap .apo_fl__box:nth-child(3) { width: 60%; margin: 80px auto 0; }
@media only screen and (max-width: 639px) { .lg-main.kk-lg .access_wrap .apo_fl__box:nth-child(3) { width: 100%; margin: 30px 0 0; } }
/* アクセスのボタンは、今の北口院サイトでは頭の印が無く、文字が1行に収まる */
.lg-main.kk-lg .access_wrap .btn01 a { padding-left: 0; }
.lg-main.kk-lg .access_wrap .btn01 a::after { content: none; }
/* 院内設備: 今の北口院サイトは3列で、ベビーカー置き場の吹き出し（3つめ）が右の列の2段分を占め、4つめ・5つめは左の2列に入る。写真は角が丸い */
@media print, screen and (min-width: 640px) {
  .lg-main.kk-lg .about_fl:not(.--room) { display: grid; grid-template-columns: repeat(3, 31%); justify-content: space-between; align-items: start; row-gap: 24px; }
  .lg-main.kk-lg .about_fl:not(.--room) > .about_fl__box { width: auto; margin: 0; }
  .lg-main.kk-lg .about_fl:not(.--room) > .about_fl__balloon { grid-column: 3; grid-row: 1 / span 2; height: auto; }
}
.lg-main.kk-lg .about_fl__balloon::before { content: none; }
/* スマホ: 今の北口院サイトはベビーカー置き場の吹き出しをスマホでも出す（1段目と2段目の間に幅いっぱい・写真は中央・題は中央） */
@media only screen and (max-width: 639px) {
  .lg-main.kk-lg .about_fl > .about_fl__balloon.rwd_disp_oox { display: block !important; width: 100%; }
  .lg-main.kk-lg .about_fl__balloon img { display: block; width: 195px; max-width: 100%; margin: 0 auto; }
  .lg-main.kk-lg .about_fl__balloon .ttl { margin: 15px 0 5px; text-align: center; }
  .lg-main.kk-lg .apo_fl__box__obi { font-size: calc(2 * var(--lg-rem, 10px)); }
}
/* 今の北口院サイトは M PLUS Rounded 1c を 500 の太さだけ読むので、テーマがふつうの太さにしている見出し・帯・ボタンも 500 で出る。
   新しいサイトは 400 も読むので細く出る → テーマが M PLUS を指定する所を 500 に（太字の所はテーマのまま） */
.lg-main.kk-lg #content_area :is(.sec_ttl, .appoint_ttl, .policy_box__ttl, .file_box__ttl, .ope_wrap__ttl, .feature_box__ttl, .about_fl__num, .about_fl__roomttl,
  .def_list__ttl, .ope_wrap__box__num, .ac_body__ttl, .apo_fl__box, .btn01, .btn02, .btn-document .btn, .single_nav-btn .btn), .lg-main.kk-lg .kk-lg-qb::before { font-weight: 500; }
.lg-main.kk-lg .about_fl__balloon .ttl { margin: 20px 0 10px; font-size: calc(1.8 * var(--lg-rem, 10px)); font-weight: bold; }
.lg-main.kk-lg .about_fl__balloon p { font-size: calc(1.5 * var(--lg-rem, 10px)); line-height: 1.6; }
.lg-main.kk-lg .about_img img { border-radius: 15px; }
.lg-main.kk-lg :is(.about_fl__box, .about_fl__room) img { border-radius: 8px; }
/* ご予約方法: 予約操作の画面の絵（幅は絵のまま 858px）と問診票の行（800px）が、タブレットの幅（640〜1023px）では枠からはみ出して切れる
   （今のサイトのテーマも同じ）。新しいサイトでは枠の幅までに縮める（PC の幅では今のサイトと同じ大きさのまま） */
.lg-main.kk-lg .ope_wrap__box__img img { max-width: 100%; height: auto; }
.lg-main.kk-lg .file_box__list { max-width: 100%; }
/* ③ Q&A: 押す所は dt の中のボタン（build.py の KITA_LG_QA_JS）。見た目は今のサイトの dt.ac_btn > p と同じ（Q・太字・右の＋） */
.lg-main.kk-lg .qalist > dt.ac_btn:has(> .kk-lg-qb) { padding: 0; }
.lg-main.kk-lg .kk-lg-qb { display: flex; align-items: center; box-sizing: border-box; width: 100%; margin: 0; padding: 20px 56px 20px 20px; border: 0; background: none;
  color: inherit; font: inherit; font-weight: bold; line-height: inherit; text-align: left; cursor: pointer; }
.lg-main.kk-lg .kk-lg-qb::before { content: "Q"; flex: none; margin-right: 10px; font-family: "M PLUS Rounded 1c", "游ゴシック", YuGothic, sans-serif; font-size: calc(2.8 * var(--lg-rem, 10px)); font-weight: normal; }
.lg-main.kk-lg .kk-lg-qb:focus-visible { outline: 2px solid #e19d50; outline-offset: -4px; border-radius: 15px; }
.lg-main.kk-lg .qalist > dd.ac_body[hidden] { display: none; }
@media only screen and (max-width: 639px) { .lg-main.kk-lg .kk-lg-qb { padding: 10px 40px 10px 10px; } .lg-main.kk-lg .kk-lg-qb::before { margin-right: 5px; font-size: calc(2 * var(--lg-rem, 10px)); } }
/* 舌下免疫療法: 北口院だけの部品（.method_link の .pickup_box・.block-btn・.inner-square・.dc1〜3・.f18・.text-red）。北口院の本文の CSS が手元に無く、
   今の北口院サイトのこのページの画面も撮れていないので、本院の舌下免疫療法のページの並べ方（テーマの .btn-flex・.sublingual-box02・.sublingual-box03）に
   北口院の色（こげ茶の枠の白いボタン）で合わせた仮の形。本文は site_wrap の無い section なので、枠の幅は .site_wrap と同じにする */
.lg-main.kk-lg.page-sublingual_immunotherapy #main_content > article > section { box-sizing: border-box; max-width: 1320px; margin-inline: auto; padding-inline: 60px; }
@media only screen and (min-width: 640px) and (max-width: 1023px) { .lg-main.kk-lg.page-sublingual_immunotherapy #main_content > article > section { padding-inline: 8%; } }
@media only screen and (max-width: 639px) { .lg-main.kk-lg.page-sublingual_immunotherapy #main_content > article > section { padding-inline: 4%; } }
.lg-main.kk-lg .method_link { display: flex; flex-wrap: wrap; justify-content: space-between; row-gap: 12px; padding: 40px 0 60px; }
.lg-main.kk-lg .method_link > .btn-pickup { width: 48%; }
.lg-main.kk-lg :is(.method_link, .block-btn) a.btn { position: relative; display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 100%;
  padding: calc(1 * var(--lg-rem, 10px)) calc(3.5 * var(--lg-rem, 10px)); border: 2px solid #42210b; border-radius: 50px; background: #fff; color: #42210b;
  font-family: "M PLUS Rounded 1c", "游ゴシック", YuGothic, sans-serif; font-size: calc(2 * var(--lg-rem, 10px)); font-weight: 500; line-height: 1.5; text-align: center; text-decoration: none;
  transition: background-color .4s ease, color .4s ease; }
.lg-main.kk-lg :is(.method_link, .block-btn) a.btn::after { content: "\e900"; position: absolute; right: 3%; top: 50%; transform: translateY(-50%); font-family: "icomoon"; font-size: calc(2.4 * var(--lg-rem, 10px)); font-weight: normal; }
.lg-main.kk-lg .block-btn a.btn.arr-down::after { transform: translateY(-50%) rotate(90deg); }
.lg-main.kk-lg :is(.method_link, .block-btn) a.btn[target="_blank"]::after { content: "\e901"; }
@media (hover: hover) { .lg-main.kk-lg :is(.method_link, .block-btn) a.btn:hover { background: #42210b; color: #fff; } }
/* 3つのボタンと、それぞれの説明の文を横に組にする（本院の dl の dt・dd と同じ 30%・67%）。左右の div は中身だけを並べる */
.lg-main.kk-lg .block-btn { display: grid; grid-template-columns: 30% minmax(0, 1fr); grid-template-rows: repeat(3, auto); grid-auto-flow: column; column-gap: 3%; row-gap: 20px; align-items: center; }
.lg-main.kk-lg .block-btn > :is(.left, .right) { display: contents; }
.lg-main.kk-lg .block-btn .right p { line-height: 1.6; }
.lg-main.kk-lg .sec02 { padding-top: 70px; }
.lg-main.kk-lg .inner-square { position: relative; margin: 30px 0 60px; padding: 30px 100px 50px; border: 2px solid #eee0cc; border-radius: 20px; background: #fff; }
.lg-main.kk-lg .inner-square p { margin: 0 0 1em; line-height: 1.6; }
.lg-main.kk-lg .f18 { font-size: calc(1.8 * var(--lg-rem, 10px)); }
.lg-main.kk-lg .f20 { font-size: calc(2 * var(--lg-rem, 10px)); font-weight: bold; }
.lg-main.kk-lg .text-red { color: #ff3b30; }
.lg-main.kk-lg .text-block { display: block; }
/* 飾りの絵（風船・リスとウサギ・小鳥）は箱の角に */
.lg-main.kk-lg .inner-square > :is(.dc1, .dc2, .dc3) { position: absolute; margin: 0; line-height: 0; pointer-events: none; }
.lg-main.kk-lg .inner-square > .dc1 { top: -80px; right: -20px; width: 80px; }
.lg-main.kk-lg .inner-square > .dc2 { right: -30px; bottom: -30px; width: 115px; }
.lg-main.kk-lg .inner-square > .dc3 { left: -30px; bottom: -20px; width: 82px; }
@media only screen and (max-width: 767px) {
  .lg-main.kk-lg .method_link > .btn-pickup { width: 100%; }
  .lg-main.kk-lg .method_link { padding: 24px 0 30px; }
  .lg-main.kk-lg .block-btn { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; row-gap: 10px; }
  .lg-main.kk-lg .block-btn .left .btn-intro:nth-child(1) { order: 1; } .lg-main.kk-lg .block-btn .right p:nth-child(1) { order: 2; margin-bottom: 14px; }
  .lg-main.kk-lg .block-btn .left .btn-intro:nth-child(2) { order: 3; } .lg-main.kk-lg .block-btn .right p:nth-child(2) { order: 4; margin-bottom: 14px; }
  .lg-main.kk-lg .block-btn .left .btn-intro:nth-child(3) { order: 5; } .lg-main.kk-lg .block-btn .right p:nth-child(3) { order: 6; }
  .lg-main.kk-lg .sec02 { padding-top: 40px; }
  .lg-main.kk-lg .inner-square { margin: 20px 0 50px; padding: 24px 16px 60px; }
  .lg-main.kk-lg .inner-square > .dc1 { top: -56px; right: 0; width: 50px; }
  .lg-main.kk-lg .inner-square > .dc2 { right: 6px; bottom: -14px; width: 80px; }
  .lg-main.kk-lg .inner-square > .dc3 { left: 6px; bottom: -8px; width: 56px; }
}
/* ==== 12-01 夜 北口院（担当: 北口院） ここまで ==== */

/* ==== 12-01 夜 ブログ・お知らせ（担当: ブログ） ==== */
/* 本院のブログの一覧・記事、お知らせの一覧・記事、患者様の声（build.py の page_blog_list・page_blog_post・page_news_list・page_news_item_main・page_voice_list）。
   見た目は今のサイトのテーマの CSS（src/legacy の lg-main。.blog_box・#aside_area・.blog_detail・.news_detail・.voice__item など）で出す。
   ここには、今のサイトでは #wrapper・JS・Font Awesome が担っていた所と、新しいサイトの CSS（body の字間・img の block・pager など）が混ざる所の直しだけを置く */
/* 今のサイトの #wrapper（文字の大きさ・色・字体・紙の地）。上の空き（今のサイトの固定ヘッダーの分）は要らない */
.lg-main.bl-wrap { position: relative; padding: 56px 0 24px; color: #333; font-size: 16px; letter-spacing: normal; line-height: 1.231; text-align: left;
  font-family: -apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Helvetica Neue", HelveticaNeue, YuGothic, "Yu Gothic Medium", "Yu Gothic", Verdana, Meiryo, sans-serif;
  background: #fffef7 url(/wp-content/themes/stagegroup/asset/images/bg_canvas.png); }
@media (max-width: 639px) { .lg-main.bl-wrap { padding-top: 32px; } }
/* 今のサイトは box-sizing の初期値（content-box）。横のナビの山形の印（::after の枠線）などが小さくならないように、枠の中の飾りは content-box に */
.lg-main.bl-wrap ::before, .lg-main.bl-wrap ::after { box-sizing: content-box; }
/* 新しいサイトの strong（500・濃い茶）を今のサイト（ブラウザの決まりの太字・まわりと同じ色）に */
.lg-main.bl-wrap :is(strong, b) { font-weight: bolder; color: inherit; }
/* 今のサイトのリセット（a:focus の outline: none）で消えるキーボードの印を戻す */
.lg-main.bl-wrap :is(a, button, input):focus-visible { outline: 2px solid #006837; outline-offset: 3px; }
/* 見出しの面: 記事・お知らせの個別のページの題（「院長・スタッフブログ」「お知らせ」。h1 は本文の題）にも、h1 と同じ白の縁取り */
.warm-hero.has-bg .hero-c > p.display { text-shadow: 3px 3px 1px #fff, -3px 3px 1px #fff, 3px -3px 1px #fff, -3px -3px 1px #fff, 3px 0 1px #fff, 0 3px 1px #fff, -3px 0 1px #fff, 0 -3px 1px #fff; }

/* 一覧の記事の箱: 題（今のサイトは h4。ここは h2 にして同じ大きさ）と「...続きを読む」 */
.lg-main .blog_box__head .bl-bh { margin-top: 4px; font-size: 20px; font-weight: normal; line-height: 1.5; }
.lg-main .blog_box__head .bl-bh a, .lg-main .blog_box__txt .bl-more { color: inherit; }
.lg-main .blog_box__txt { line-height: 1.6; overflow-wrap: anywhere; }
.lg-main .blog_box__head time { display: inline-block; }
.bl-note { margin: 24px 0 0; padding: 0 10px; color: #42210b; font-size: 18px; line-height: 1.6; }
.lg-main #main_content.blog_page > article > .bl-sp-search { margin-bottom: 8px; }

/* 記事を検索の窓（今のサイトは Font Awesome の虫眼鏡。ここは同じ形の SVG） */
.lg-main .search > form button[type="submit"] { display: flex; align-items: center; justify-content: center; border: 0; cursor: pointer; }
.lg-main .search > form input[type="text"] { font-size: 16px; color: #42210b; }
.lg-main .search > form input[type="text"]::placeholder { color: #999; }

/* 横のナビ: 今いる所（押せない形）と、過去の記事の年を開くボタン（今のサイトは li を JS で開く） */
.lg-main #aside_area .aside_nav__category li > span[aria-current] { display: block; padding: .5em; font-weight: bold; color: #42210b; }
.lg-main #aside_area .aside_nav .aside_nav__tag li > span[aria-current] { display: block; margin: 0 0 5px 5px; padding: 2px 5px; border: 1px solid #42210b; border-radius: .5em;
  background: #42210b; color: #fff; }
.lg-main #aside_area .aside_nav__backnumber .month .month_child > span[aria-current] { display: block; padding: .5em 0 .5em 1.5em; font-weight: bold; }
.lg-main #aside_area .aside_nav .aside_nav__backnumber .year { padding: 0; }
.lg-main #aside_area .aside_nav__backnumber .year > button { display: block; width: 100%; margin: 0; padding: .5em 2em .5em .5em; border: 0; background: none;
  color: inherit; font: inherit; text-align: left; cursor: pointer; }
.lg-main #aside_area .aside_nav .aside_nav__backnumber .year.open + .month { display: block; }
.lg-main #aside_area .aside_nav__tag ul { margin-left: -5px; }
.lg-main #aside_area .aside_nav__category li a, .lg-main #aside_area .aside_nav__backnumber .month_child a { color: inherit; }

/* ページ送り（このサイトの「前へ 1 2 3 … 28 次へ」）を、今のサイトのページ送りの色と形（緑の丸）に。並びは今のサイトと同じく一覧の下の中央
   （nav 要素なので、今のサイトのリセットの nav { display: block } に負けないよう flex を書き直す） */
.lg-main.bl-wrap .bl-pager { width: 100%; }
.lg-main.bl-wrap .pager { display: flex; justify-content: center; margin: 32px auto; font-family: "M PLUS Rounded 1c", "游ゴシック", YuGothic, sans-serif; }
.lg-main.bl-wrap .pager a, .lg-main.bl-wrap .pager .pg-cur { min-width: 44px; height: 44px; border: 2px solid #006837; border-radius: 22px; background: #fff;
  color: #006837; font-size: 20px; line-height: 1; text-decoration: none; vertical-align: middle; }
.lg-main.bl-wrap .pager .pg-cur { background: #006837; color: #fff; }
.lg-main.bl-wrap .pager .pg-arrow { font-size: 16px; }
@media (hover: hover) { .lg-main.bl-wrap .pager a:hover { background: #006837; color: #fff; } }
@media (max-width: 639px) { .lg-main #main_content.blog_page > .bl-pager { order: 1; } }

/* 記事: 題（今のサイトは h2。ここは h1 にして同じ緑の帯とうさぎの印）・本文の画像は今のサイトと同じく横に並ぶ（このサイトの img の block を戻す） */
.lg-main .blog_detail__head .bl-h1 { margin-top: 5px; padding: 10px; border-radius: 8px; background: #006837 url(/wp-content/themes/stagegroup/asset/images/bg_green.png);
  color: #42210b; font-size: 26px; font-weight: normal; line-height: 1.4; }
.lg-main .blog_detail__head .bl-h1::before { content: "\e90e"; display: inline-block; margin-right: 5px; font-family: "icomoon"; }
.lg-main .blog_detail__head time { display: inline-block; font-size: 18px; }
.lg-main .blog_detail__tag ul { display: flex; flex-wrap: wrap; }
.lg-main .blog_detail__tag li a { color: inherit; }
.lg-main .blog_detail__body { line-height: 1.6; overflow-wrap: anywhere; }
.lg-main .blog_detail__body img { display: inline-block; height: auto; }
.lg-main .blog_detail__body :is(img.aligncenter, img.alignleft, img.alignright) { display: block; }
.lg-main .blog_detail__body iframe { max-width: 100%; border: 0; }
.lg-main .blog_detail__body iframe[src*="youtube"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.lg-main .blog_detail__body a { color: #006837; }
.lg-main .blog_detail__btn { flex-wrap: wrap; gap: 16px 24px; justify-content: center; margin-top: 24px; }
.lg-main .blog_detail__btn a { display: block; }
.lg-main .blog_detail__btn img { width: auto; max-width: 100%; height: auto; }
@media (max-width: 639px) { .lg-main .blog_detail__btn { gap: 12px; } .lg-main .blog_detail__btn a { padding: 0; } .lg-main .blog_detail__btn img { max-height: 64px; } }
/* 関連する記事（このサイトで足したもの。写真・日付・題の小さな箱を4つ） */
.lg-main .bl-rel { margin-top: 56px; color: #42210b; }
.lg-main .bl-rel-h { padding: 10px .5em; border-radius: 8px; background: #006837 url(/wp-content/themes/stagegroup/asset/images/bg_green.png);
  font-family: "M PLUS Rounded 1c", "游ゴシック", YuGothic, sans-serif; font-size: 22px; text-align: center; }
.lg-main .bl-rel ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
@media (max-width: 639px) { .lg-main .bl-rel ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; } }
.lg-main .bl-rel a { display: block; color: inherit; text-decoration: none; }
.lg-main .bl-rel-i { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: #f4eedb; }
.lg-main .bl-rel-i img { width: 100%; height: 100%; object-fit: cover; }
.lg-main .bl-rel-noimg { display: block; width: 100%; height: 100%; background: url(/img/favicon.png) center / 56px no-repeat; opacity: .35; }
.lg-main .bl-rel time { display: block; margin-top: 8px; font-size: 14px; }
.lg-main .bl-rel-t { display: block; margin-top: 2px; font-size: 16px; line-height: 1.5; text-decoration: underline; overflow-wrap: anywhere; }
/* 前の記事へ・一覧へ・次の記事へ（今のサイトは Font Awesome の山形。ここは SVG） */
.lg-main .single_pagenavi { display: flow-root; margin-top: 24px; }  /* 中の .pagenavi の上下の空きを外へ逃がさない（両脇の動物の絵の高さになる） */
.lg-main .single_pagenavi .pagenavi a { display: inline-flex; align-items: center; gap: 8px; color: #006837; }
.lg-main .single_pagenavi .pagenavi svg { flex: none; width: .7em; height: .7em; }
.lg-main .single_pagenavi :is(.previouspostslink, .nextpostslink) { min-width: 6.5em; }
.lg-main .single_pagenavi .nextpostslink { justify-content: flex-end; }

/* お知らせ: 題（今のサイトは h4。一覧は h2・個別のページは h1 にして同じ大きさ）。題は個別のページへのリンク */
.lg-main .news_detail .news_detail__head .bl-nh { font-size: 20px; font-weight: normal; line-height: 1.5; }
.lg-main .news_detail .news_detail__head .bl-nh a { color: inherit; }
.lg-main .news_detail .news_detail__body { color: #42210b; line-height: 1.6; overflow-wrap: anywhere; }
.lg-main .news_detail .news_detail__body :is(ul, ol) { padding: 0 .8em 0 2em; margin-bottom: 10px; font-size: 16px; }
.lg-main .news_detail .news_detail__body ul { list-style: disc; }
.lg-main .news_detail .news_detail__body ol { list-style: decimal; }
.lg-main .news_detail .news_detail__body img { display: inline-block; width: auto; max-width: 100%; height: auto; }
.lg-main .news_detail .news_detail__body a { color: #006837; }
.lg-main .news_detail .news_detail__body table { margin: 0 .8em 10px; border-collapse: collapse; font-size: 15px; }
.lg-main .news_detail .news_detail__body :is(th, td) { padding: 6px 10px; border: 1px solid #c7b299; }
.lg-main.bl-wrap .news_box { margin-bottom: 0; }
.lg-main.bl-wrap section.bg_grid { padding: 40px 0; }

/* 患者様の声: 掲載年・医師・スタッフで絞る丸い札（今のサイトは radio を隠す。キーボードで選べるよう、見えない形で残す） */
.lg-main.bl-wrap .voice input[type=radio] { display: block; position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.lg-main.bl-wrap .voice input[type=radio]:focus-visible + label { outline: 2px solid #006837; outline-offset: 2px; }
.lg-main .voice .searchbox { position: relative; }
/* 札の class「label」は新しいサイトでは英字の飾りの字体（Dancing Script）・緑なので、今のサイトの字体と色に戻す */
.lg-main .voice .searchbox .label { color: #42210b; font-family: "M PLUS Rounded 1c", "游ゴシック", YuGothic, sans-serif; font-size: 16px; font-weight: normal;
  line-height: 1.4; letter-spacing: normal; }
.lg-main.bl-wrap .voice input[type=radio]:checked + label { color: #fff; }
.lg-main .voice #voice-note { text-align: center; }
.lg-main .voice_page .bl-vsec { margin-top: 64px; }
.lg-main .voice_page .sec_ttl { color: #42210b; line-height: 1.4; }
.lg-main .voice_wrap__ttl { color: #42210b; font-size: 16px; line-height: 1.8; }
.lg-main .voice_wrap__ttl + .voice_wrap__ttl { margin-top: 12px; }
.lg-main .voice__item .voice__date { color: #42210b; font-size: 16px; }
.lg-main .voice__item .voice__date a { color: #006837; }
/* 画像を押すと大きく開く（元の大きさの画像へのリンク）。スマホは字が読めるよう幅 720px で出し、横に送れる箱に（12-01 反目2巡目 高8 と同じ） */
.lg-main .voice__item .voice-zoom { display: block; cursor: zoom-in; }
@media (hover: hover) { .lg-main .voice__item .voice-zoom:hover img { opacity: .85; } }
@media (max-width: 767px) {
  .lg-main .voice__item .voice-zoom { display: flex; width: 0; min-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; }
  .lg-main .voice__item .voice-zoom img { flex: none; width: 100%; min-width: 720px; max-width: none; }
  .lg-main .voice__item .voice-zoom::after { content: ""; flex: none; position: sticky; right: 0; width: 28px; margin-left: -28px;
    background: linear-gradient(to right, rgba(66, 33, 11, 0), rgba(66, 33, 11, .28)); pointer-events: none; }
}
@supports (animation-timeline: scroll()) {
  @media (max-width: 767px) { .lg-main .voice__item .voice-zoom::after { animation: voice-more linear both; animation-timeline: scroll(nearest inline); } }
}
/* ==== 12-01 夜 ブログ・お知らせ（担当: ブログ） ここまで ==== */

/* ==== 12-01 夜 院の案内のページ（担当: 案内） ==== */
/* 感染対策・検査・インフルエンザ・フルミスト・ごあいさつ・クリニック紹介・医師紹介・時間・アクセス・ご予約方法・個人情報保護方針・書面掲示・ドロップスクリーン。
   本文は今のサイトと同じ枠（.lg-main.annai-main。build.py の lg_main_wrap）と今のサイトのテーマの CSS（lg-main.css）で並べる。
   ここには、新しいサイトの共通の規則（body の字間・img の block・.btn の高さ・box-sizing など）が枠の中へ漏れて今のサイトと大きさが変わる所を、
   今のサイトの値に戻す規則だけを置く（今のサイトの保存 HTML を手元で開き、要素ごとの計算値を比べて確かめた）。選択子は低く保ち、テーマの CSS が勝つようにする */
.lg-main.annai-main { color: #333; font-size: 16px; letter-spacing: normal;
  font-family: -apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Helvetica Neue", HelveticaNeue, YuGothic, "Yu Gothic Medium", "Yu Gothic", Verdana, Meiryo, sans-serif; } /* 今のサイトの #wrapper */
.lg-main.annai-main:is(:not(.annai-part), .annai-top) { background: url(/wp-content/themes/stagegroup/asset/images/bg_canvas.png); }
@media (min-width: 1024px) { .lg-main.annai-main:is(:not(.annai-part), .annai-top) { padding-top: 30px; } } /* 今のサイトの .single .hero の margin-bottom: 3rem */
.annai-main *, .annai-main *::before, .annai-main *::after { box-sizing: content-box; }
.annai-main img { display: inline; max-width: none; }
.annai-main .btn { display: inline; min-width: 0; height: auto; gap: normal; padding: 0; border-radius: 0; font-size: inherit; font-weight: inherit; letter-spacing: normal; white-space: normal; transition: none; }
.annai-main a[href^="tel:"] { white-space: normal; }
.annai-main ruby rt { font-size: 50%; letter-spacing: normal; color: inherit; } /* 新しいサイトの ruby rt（10px・緑）を、今のサイト（ブラウザの決まり）に */
.annai-main strong, .annai-main b { font-weight: bolder; } /* 新しいサイトの strong の 500 を、今のサイト（ブラウザの決まりの太字）に */
/* ごあいさつ・クリニック紹介のタブ（build.py の ANNAI_TAB_JS が label を同じ class のボタンにする）。今のサイトの .tab_box__switch:checked の規則と同じ値 */
.annai-main button.tab_box__label { margin: 0; border: 0; line-height: inherit; letter-spacing: normal; }
.annai-main .tab_box__label.is-on { background: url(/wp-content/themes/stagegroup/asset/images/bg_green.png); }
.annai-main .tab_box__label.is-on + .tab_box__content { height: auto; overflow: auto; padding: 2% 5% 4%; opacity: 1; }
.annai-main .tab_box:not(.is-ready) > .tab_box__content { height: auto; overflow: visible; opacity: 1; } /* JS が動かないときは全部見せる */
/* この乗り換えで足したページ（ドロップスクリーン・個人情報保護方針・書面掲示。build.py の annai_text_blocks）: 今のサイトの白い箱と .feature_box の中の文 */
.annai-main .annai_box .feature_box + .feature_box { margin-top: 1.5em; }
.annai-main .annai_box .feature_box__txt { line-height: 2; }
.annai-main .annai_box .feature_box__txt > :is(p, ul, ol) { padding: 0 1rem; margin-bottom: 1rem; }
.annai-main .annai_box .feature_box__txt > :is(ul, ol) { padding-left: calc(1rem + 1.5em); margin-left: 0; }
.annai-main .annai_box .feature_box__txt a { color: #0f7a3a; text-decoration: underline; }
.annai-main .annai_box .drop-figs { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; margin: 24px 0; }
.annai-main .annai_box .drop-figs img { display: block; width: auto; max-width: 100%; height: auto; }
/* 医師紹介（build.py の page_doctors・annai_part）: 院長の欄は今のサイトの最初の医師の欄と同じ緑の紙（くり返し）。スタッフの枠と帯は今のサイトの部品 */
.annai-doc-dir { background: #d7e9c9 url(/wp-content/themes/stagegroup/asset/images/bg_doctor.png); }
.annai-doc-staff .annai-part { margin-top: 40px; }
/* ご予約方法の Q&A（build.py の ANNAI_QA_JS）。閉じた答えは出さない */
.annai-main .qalist > dd.ac_body[hidden] { display: none; }
.annai-main .qalist > dt.ac_btn:focus-visible { outline: 2px solid #42210b; outline-offset: 2px; }
/* 時間・アクセスの診療時間の表: 今のサイトの div.hours が新しいサイトの共通の .hours（表の字の大きさ・太さ・折り返し・色）に当たるので、今のサイトの値に戻す */
.annai-main .hours__table :is(th, td) { font-size: inherit; font-weight: inherit; white-space: normal; color: inherit; }
.annai-main .hours__table th { font-weight: bold; }
/* ==== 12-01 夜 院の案内のページ（担当: 案内） ここまで ==== */

/* ==== 12-01 夜 フッター（担当: フッター） ==== */
/* 谷さん（12-01 夜）「今のサイトにあって新しいサイトに無いものは残す」「原稿と見比べて作るべき」。本院・北口院のフッターを、今の本院・北口院サイトの
   全ページの下と同じ並び・大きさ・色に（build.py の footer()。値は今のサイトのテーマの CSS base.css の section.social・.contact・.clinicinfo・.footer）:
   ① Follow us! の SNS（.lf-social。ページの地の上）→ ② ご予約・お問い合わせの帯（.kf-contact。本院は茶 #42210b・北口院は橙 #e3ae6a）
   → ③ 白の地の院の情報（.kf-info。中央にロゴ、下に診療時間の枠・院名と所在地・地図）→ ④ 色の地のメニュー（.foot-green。本院は緑 #26682d・北口院は橙 #e19d50。
   どちらも今のサイトと同じ灰色の織り目 bg_gray.png を重ねる）→ ⑤ 病気のページの絵の札と森の絵（札を森の絵の上に重ねる・© は森の一番下）。
   メニューは今のサイトと同じく 1024px 以上だけ（1023px 以下は出さない）。いびき外来（.sas-footer）は触らない */
.site-footer, .site-footer-kita { background: none; padding: 0; color: var(--text); font-size: 15px; }
@media (min-width: 768px) { .site-footer, .site-footer-kita { padding: 0; } }

/* ① Follow us!（今のサイトの .social_list: 幅 83.3%・鳥の絵 156px・アイコンの列は 66.67% で等間隔。スマホは鳥の絵を上に、アイコンを全幅に） */
.lf-social { padding: 20px 0; }
.lf-social-in { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; }
.lf-follow { flex: none; width: 156px; }
.lf-follow img { width: 100%; height: auto; }
.lf-sns { display: flex; justify-content: space-around; align-items: flex-start; width: 66.67%; }
.lf-sns a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding-top: 8px; color: var(--ink); text-decoration: none; font-size: 11px; line-height: 1.3; letter-spacing: 0.04em; transition: opacity .3s var(--ease); }
.lf-sns img { width: 50px; height: 50px; }
.lf-sns-x { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 20px; }
@media (hover: hover) { .lf-sns a:hover { opacity: .6; } }
@media (min-width: 1024px) { .lf-social-in { width: 83.3%; margin-inline: auto; } }
@media (max-width: 767px) {
  .lf-social { padding: 24px 0 16px; }
  .lf-follow { width: 150px; }
  .lf-sns { width: 100%; margin-top: 8px; }
}

/* ② ご予約・お問い合わせの帯（本院）: 今の本院サイトの .contact（茶 #42210b・白い字・電話の丸い印は白に茶・ボタンは白に茶の字） */
.site-footer:not(.site-footer-kita) .kf-contact { background: #42210b; }
.site-footer:not(.site-footer-kita) .kf-ic { color: #42210b; }
@media (hover: hover) { .site-footer:not(.site-footer-kita) .kf-web:hover { border-color: #fff; } }

/* ③ 院の情報（本院）: 今の本院サイトの .clinicinfo（ロゴは横長の形・上 2rem 下 1rem、診療時間 35%・文 28%・略図 30% を両端そろえ、下 4rem） */
.lf-info-main { padding: 24px 0 40px; }
.lf-info-main .kf-logo img { width: min(100%, 760px); height: auto; }
.lf-info-main .kf-info-in { margin-top: 16px; }
@media (min-width: 1024px) { .lf-info-main .kf-info-in { grid-template-columns: 35% 28% 30%; justify-content: space-between; gap: 0; } }
.lf-info-main .kf-txt .lf-name { padding-left: 0; text-indent: 0; }
.lf-parking { width: 80%; margin: 10px auto 0; padding-left: 0 !important; text-indent: 0 !important; }
.lf-parking a { display: flex; justify-content: center; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 50px;
  background: url(/wp-content/themes/stagegroup/asset/images/bg_green.png); color: #42210b; font-size: 15px; font-weight: 500; line-height: 1.5; text-align: center; transition: opacity .3s var(--ease); }
@media (hover: hover) { .lf-parking a:hover { opacity: .6; } }
.lf-map img { width: 100%; height: auto; }
/* 1024〜1199px: 所在地の列が狭く、駐車場のボタンの字が2行に割れるので列の幅いっぱいに */
@media (min-width: 1024px) and (max-width: 1199px) { .lf-parking { width: 100%; } .lf-parking a { font-size: 14px; letter-spacing: 0.02em; } }
/* 640〜1023px（タブレット）: 今のサイトは診療時間・文・地図を全幅に縦に並べるが、絵と地図が大きくなりすぎるので幅 600px で中央に */
@media (min-width: 640px) and (max-width: 1023px) { .kf-info-in { max-width: 600px; margin-inline: auto; } }
/* 北口院のロゴ: 今の北口院サイトと同じ幅 350px（上 3rem・下 4rem） */
.site-footer-kita .kf-logo img { width: min(100%, 340px); height: auto; }
.site-footer-kita .kf-info { padding-top: 30px; }
/* 今の北口院サイトの院の情報は本院より広い（.clinicinfo .site_wrap の左右 20px。1366px で左右 約 48px）ので、1024px 以上は同じ幅に */
@media (min-width: 1024px) { .site-footer-kita .kf-info > .wrap { max-width: 1320px; padding-inline: 20px; } }

/* 診療時間の枠（本院・北口院）: 今のサイトの診療時間の絵から文字を消した木の枠（build.py の TT_FRAME）の上に、院の基本情報の表と注記。
   字の位置・大きさは今の絵と同じ割合（枠の幅に対する %・cqw）。字が増えたときは枠が縦に伸びる。小さい画面では字を小さくしすぎない（下限 px） */
.lf-board { container-type: inline-size; }
.lf-board-in { aspect-ratio: 750 / 373; padding: 11.7% 15.4% 10% 11.3%; background: url(/img/warm/timetable-frame.webp) center / 100% 100% no-repeat; color: #333; }
.lf-board-kita .lf-board-in { aspect-ratio: 526 / 262; padding: 12.4% 15.4% 9.8% 11.4%; background-image: url(/img/warm/timetable-frame-kita.webp); }
.hours-ft { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; table-layout: fixed; }
.hours-ft th, .hours-ft td { padding: 0.9cqw 0; text-align: center; font-weight: 400; line-height: 1.5; letter-spacing: 0; color: #333; white-space: nowrap; }
.hours-ft thead th { font-size: max(2.9cqw, 11px); font-weight: 500; border-bottom: 2px solid #4d4d4d; padding-bottom: 1.3cqw; }
.hours-ft thead th:first-child { width: 41%; }
.hours-ft tbody th, .hours-ft td { font-size: max(3.1cqw, 12px); border-bottom: 1px solid #808080; padding: 1.4cqw 0; }
.hours-ft tbody th { font-weight: 500; }
.lf-board-star { margin-top: 1cqw; font-size: max(2.2cqw, 10px); line-height: 1.5; letter-spacing: 0; text-align: right; }
.lf-board-n { margin-top: 1.8cqw; }
.lf-board-n li { padding-left: max(3.2cqw, 14px); font-size: max(2.5cqw, 10.5px); line-height: 1.55; letter-spacing: 0; text-wrap: auto;
  background: url(/img/warm/timetable-bullet.png) left 0.25em / max(2.6cqw, 11px) no-repeat; }
.lf-board-kita .lf-board-n li { background-image: url(/img/warm/timetable-bullet-kita.png); }

/* ④⑤ 色の地（本院は緑・北口院は橙）。今のサイトの .footer（上 3rem・灰色の織り目）。森の絵（z-index -1）をこの地の上・文と札の下に置くため、ここで重ねの基準を作る */
.foot-green { position: relative; isolation: isolate; padding-top: 30px; color: #fff;
  background: url(/wp-content/themes/stagegroup/asset/images/bg_gray.png) repeat, #26682d; }
.foot-green-kita { background: #e19d50; }
.foot-green-kita::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url(/wp-content/themes/stagegroup/asset/images/bg_gray.png) repeat; opacity: .3; pointer-events: none; }
@media (max-width: 767px) { .foot-green { padding-top: 24px; } }
/* メニュー（本院）: 今のサイトの .footer_nav（6列を等間隔・14px・見出し 16px・「- 」つき）。1024px 以上だけ */
.lf-nav { font-size: 14px; font-weight: 500; }
.site-footer .lf-nav a { display: inline; width: auto; padding: 0; color: #fff; text-decoration: none; background: none; transition: opacity .3s var(--ease); }
@media (hover: hover) { .site-footer .lf-nav a:hover { color: #fff; opacity: .6; text-decoration: underline; } }
.lf-nav-cols, .lf-nav-row { display: none; }
@media (min-width: 1024px) {
  .lf-nav-cols { display: flex; justify-content: space-evenly; }
  .lf-nav-row { display: flex; justify-content: space-evenly; margin-top: 50px; font-size: 20px; font-weight: 500; }
}
.lf-nav-col ul { margin-bottom: 15px; }
.lf-nav-col li { line-height: 1.5; }
.lf-nav-col:not(.lf-nav-top) li a::before { content: "- " / ""; }
.lf-nav-h { margin-bottom: 10px; font-size: 16px; line-height: 25px; }
.lf-nav-cont { padding-top: 35px; }
.lf-nav-cols { gap: 12px; letter-spacing: 0.04em; }
.lf-nav-cols :is(li, .lf-nav-h) { white-space: nowrap; }
/* 1024〜1199px: 6列が詰まるので字を少し小さく（見出し 15px・項目 13px） */
@media (min-width: 1024px) and (max-width: 1199px) { .lf-nav-cols { font-size: 13px; letter-spacing: 0.02em; } .lf-nav-h { font-size: 15px; } .lf-nav-row { font-size: 18px; } }
/* 今のサイトのメニューに無いもの（北口院・個人情報保護方針・書面掲示事項）: メニューの下に小さく1行。スマホ・タブレットでも出す */
.lf-nav-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 24px; font-size: 12px; line-height: 2; }
.lf-nav-more a { opacity: .9; }
@media (min-width: 1024px) { .lf-nav-more { margin-top: 4px; } .site-footer-kita .lf-nav-more { margin-top: 24px; } }
/* 絵の札: 本院は今のサイトと同じくメニューの下 2rem（T13 の並びはそのまま）。北口院は今の北口院サイトと同じくメニューの下 50px・幅 75% の中に3つずつ、
   2段目は左から（今の北口院サイトの .foot_bnr__row は左詰め） */
.foot-green .foot-bnr { margin-top: 20px; }
.site-footer-kita .foot-bnr-kita { margin-inline: auto; }
@media (min-width: 1024px) { .site-footer-kita .foot-bnr-kita { margin-top: 50px; } }
@media (min-width: 640px) { .site-footer-kita .foot-bnr-kita .foot-bnr-row { justify-content: flex-start; } }
/* スマホ（639px 以下）: 今のサイトと同じく札は幅 90% で中央・札の間 2rem（16px） */
@media (max-width: 639px) {
  .foot-green .foot-bnr, .site-footer-kita .foot-green .foot-bnr-kita { width: 90%; margin-inline: auto; gap: 16px; }
  .foot-green .foot-bnr-row { gap: 16px; }
}
/* 森の絵: 本院は 12-01 夕の組み（幅いっぱい・絵の全体・上の 11.79% を札の後ろへ）のまま。北口院も今の北口院サイトと同じく
   幅いっぱい・絵の全体（1583:860＝幅の 54.33%）を下にそろえ、上の 9.33%（54.33% − 今のサイトの下の余白 45vw）を札の後ろへ重ねる */
.site-footer-kita .foot-forest { position: relative; z-index: -1; margin-top: -9.33%; padding-bottom: 0; background: none; }
.site-footer-kita .foot-forest img { width: 100%; max-width: none; height: auto; min-height: 0; object-fit: fill; margin: 0; }
/* © の文: 北口院も本院と同じく森の絵の一番下に白で中央（PC・タブレットは絵に重ねる。スマホは絵の下に地の色の帯を続け、下の固定バーの分を空ける） */
@media (max-width: 767px) { .site-footer-kita .foot-copy { padding-bottom: 98px; background: none; } }
/* ==== 12-01 夜 フッター（担当: フッター） ここまで ==== */

/* ==== 12-01 深夜 共通の見出しと字の大きさ（担当: 共通） ==== */
/* 高1 下のページの見出しの絵（.warm-hero.has-bg。本院・北口院。いびき外来の面は絵を持たないので当たらない）を、今のサイトの .single .hero（content.css）と同じに:
   高さは 1024px 以上 29.762vw・767px 以下 60.051vw（木と地面の絵 hero-overlay と同じ縦横の比。絵が面にちょうど重なる）、題と英字の帯は上下・左右の中央。
   白の 60% の薄掛けは ::before でなく背景の1枚目に重ねる（スマホの葉の飾り〔反目の直し 高3〕が同じ ::before を上書きし、薄掛けが 26×19px になっていた）。
   スマホも木と地面の絵を切らずに全部出す（今のサイトと同じく葉は絵のもの。葉の飾りの ::before・::after は絵のある面では出さない）。
   パンくずは絵の上の帯（.hero-crumb）、題の下の文は絵の下（.hero-below）へ（build.py の warm_hero） */
.warm-hero.has-bg { display: flex; flex-direction: column; justify-content: center; height: 29.762vw; min-height: 0; padding: 0;
  background: linear-gradient(rgba(255, 255, 255, .6), rgba(255, 255, 255, .6)), var(--hero-bg) no-repeat center / cover, #fff; }
.warm-hero.has-bg::before, .warm-hero.has-bg::after { content: none; }
.warm-hero.has-bg > .wrap { width: 100%; }
.warm-hero.has-bg .hero-c { max-width: none; }
.warm-hero.has-bg .hero-c > .display { font-size: 50px; font-weight: 500; line-height: 1.231; letter-spacing: 0; color: #42210b; }
.warm-hero.has-bg .hero-en { margin-top: 20px; padding: 10px 20px; font-size: 20px; line-height: 1.231; color: #42210b; box-shadow: 2.5px 0 2.5px rgba(0, 0, 0, .1); }
@media (min-width: 768px) and (max-width: 1023px) {
  .warm-hero.has-bg .hero-c > .display { font-size: min(6.4vw, 50px); }
  .warm-hero.has-bg .hero-en { margin-top: 10px; font-size: min(3.73vw, 20px); }
}
@media (max-width: 767px) {
  .warm-hero.has-bg { height: 60.051vw; }
  .warm-hero.has-bg:not(.warm-hero-kita) .hero-ov { clip-path: none; }
  .warm-hero.has-bg .hero-c > .display { font-size: 6.4vw; }
  .warm-hero.has-bg .hero-c > .display, .warm-hero.has-bg .hero-c > p.display {
    text-shadow: 2px 2px 1px #fff, -2px 2px 1px #fff, 2px -2px 1px #fff, -2px -2px 1px #fff, 2px 0 1px #fff, 0 2px 1px #fff, -2px 0 1px #fff, 0 -2px 1px #fff; }
  .warm-hero.has-bg .hero-en { margin-top: 8px; padding: 8px 16px; font-size: 3.73vw; box-shadow: 2px 0 2px rgba(0, 0, 0, .1); }
}
/* パンくずの帯（絵の上）。字は今の .crumb のまま、帯の地は白 */
.hero-crumb { background: #fff; }
.hero-crumb .crumb { margin: 0; padding: 8px 0; }
/* 題の下の文（絵の下。いまは診療案内 /medical/ だけ） */
.hero-below { padding: 8px 0 0; text-align: center; }
.hero-below .lead { max-width: 46em; margin-left: auto; margin-right: auto; }
@media (max-width: 767px) { .hero-below .lead { text-align: left; } }

/* 高2 スマホの字の大きさ: ブログ・お知らせ・患者様の声・病気のページは、テーマの CSS を rem の版（lg-main-rem。639px 以下で 1rem＝8px）に替えた（build.py の head の css）。
   ブログの塊で px にした所（今のサイトの PC の値＝rem×10px）を、今のサイトと同じ rem の割合にする（PC は今と同じ px、639px 以下は 8 割） */
.lg-main.bl-wrap { font-size: calc(1.6 * var(--lg-rem, 10px)); }                                     /* #wrapper 1.6rem */
.lg-main .blog_box__head .bl-bh { font-size: calc(2 * var(--lg-rem, 10px)); }                         /* .blog_box__head h4 2rem */
.bl-note { font-size: calc(1.8 * var(--lg-rem, 10px)); }
.lg-main .blog_detail__head .bl-h1 { font-size: calc(2.6 * var(--lg-rem, 10px)); }                    /* .blog_detail__head h2 2.6rem */
.lg-main .blog_detail__head time { font-size: calc(1.8 * var(--lg-rem, 10px)); }
.lg-main .bl-rel-h { font-size: calc(2.2 * var(--lg-rem, 10px)); }
.lg-main .bl-rel time { font-size: calc(1.4 * var(--lg-rem, 10px)); }
.lg-main .bl-rel-t { font-size: calc(1.6 * var(--lg-rem, 10px)); }
.lg-main .news_detail .news_detail__head .bl-nh { font-size: calc(2 * var(--lg-rem, 10px)); }         /* .news_detail__head h4 2rem */
.lg-main .news_detail .news_detail__body :is(ul, ol) { font-size: calc(1.6 * var(--lg-rem, 10px)); }
.lg-main .news_detail .news_detail__body table { font-size: calc(1.5 * var(--lg-rem, 10px)); }
.lg-main .voice_wrap__ttl, .lg-main .voice__item .voice__date { font-size: calc(1.6 * var(--lg-rem, 10px)); }
/* 中 お知らせの一覧の題（No.35）: 今のサイトは緑の字・下線なし（今のサイトの字体は太さ 500 だけを読むので、normal でも 500 で出ている） */
.lg-main .news_detail .news_detail__head .bl-nh { font-weight: 500; }
.lg-main .news_detail .news_detail__head .bl-nh a { text-decoration: none; }
@media (hover: hover) { .lg-main .news_detail .news_detail__head .bl-nh a:hover { text-decoration: underline; } }
/* 中 患者様の声（No.42）の PC の説明文: 字の途中（「考／え、」）で折れないよう、句読点の後ろで折る（今のサイトは文の切れ目の改行 br.sp_none） */
@media (min-width: 640px) { .lg-main .voice_wrap__ttl { word-break: keep-all; overflow-wrap: anywhere; } }
/* 病気のページ（No.15〜21）の病名の行（スマホの開け閉め）: 今のサイトの行の間隔（約 40px）に */
@media (max-width: 767px) { .lg-main.med-treat .def_list .def_list__ttl { padding-top: 8px; padding-bottom: 8px; } }

/* 高4 患者様の声（No.42）のスマホ: 声の画像は幅 100% で全体を見せる（今のサイトと同じ）。大きく見るのは押すと開く（build.py の voice_zoom）に任せる。
   ブログの塊の「幅 720px で出して横に送る箱」と右端の影を外す */
@media (max-width: 767px) {
  .lg-main .voice__item .voice-zoom { display: block; width: auto; min-width: 0; overflow: visible; }
  .lg-main .voice__item .voice-zoom img { width: 100%; min-width: 0; max-width: 100%; }
  .lg-main .voice__item .voice-zoom::after { content: none; }
}

/* 高5 ブログの記事（No.38）のスマホ: 「クリニックのご予約方法はこちら」と「友だち追加」を今のサイトと同じく横に並べる
   （今のサイトの .blog_detail__btn は折り返さない flex・両端と間を同じに空ける・639px 以下は a の内側 1rem。画像は縦横の比のまま縮む） */
@media (max-width: 639px) {
  .lg-main .blog_detail__btn { flex-wrap: nowrap; gap: 0; justify-content: space-evenly; }
  .lg-main .blog_detail__btn a { flex: 0 1 auto; min-width: 0; padding: calc(1 * var(--lg-rem, 10px)); }
  .lg-main .blog_detail__btn img { width: auto; max-width: 100%; height: auto; max-height: none; }
}

/* 高6 医師募集（No.39）の医師インタビューのスマホ: 今のサイト（slick）と同じく1人ぶんのカードを幅いっぱい・左右に矢印（build.py の BOSHU_IV_JS）。
   カードは自分の高さ（ほかのカードの高さに伸ばさない）、横に送る帯の高さは JS が今のカードに合わせる。カードの間は 20px（隣のカードの影が帯の端に出ないように）。
   募集の塊の「88% の幅で横に送る」を上書きする */
@media (max-width: 767px) {
  .lg-dr.boshu .sec_interview .interview_inner .slide_interview { gap: 20px; align-items: flex-start; overflow-x: auto; overflow-y: hidden; scrollbar-width: none;
    transition: height .3s; }
  .lg-dr.boshu .sec_interview .interview_inner .slide_interview::-webkit-scrollbar { display: none; }
  .lg-dr.boshu .sec_interview .interview_inner .slide_interview > article { flex: 0 0 100%; }
  .lg-dr .sec_interview .iv-box { position: relative; }
  .lg-dr .sec_interview .iv-arrow { position: absolute; top: 50%; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; margin-top: -15px;
    padding: 0; border: 0; border-radius: 50%; background: #492a14; color: #fff; cursor: pointer; opacity: .85; }
  .lg-dr .sec_interview .iv-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
  .lg-dr .sec_interview .iv-prev { left: -15px; }
  .lg-dr .sec_interview .iv-next { right: -15px; }
  .lg-dr .sec_interview .iv-arrow:focus-visible { outline: 2px solid #006837; outline-offset: 2px; }
}
@media (min-width: 768px) { .lg-dr .sec_interview .iv-arrow { display: none; } }
@media (prefers-reduced-motion: reduce) { .lg-dr.boshu .sec_interview .interview_inner .slide_interview { transition: none; } }

/* 高7 スタッフ募集（No.40）のホワイト企業認定のバナー: 今のサイトは中央寄せの枠（.tac）の中の画像（字と同じ並び）で中央。
   このサイトの img は block なので、左右の自動の余白で中央に（同じ形の .tac の中の画像すべて） */
.lg-main .tac > img, .lg-main .tac > a > img { margin-left: auto; margin-right: auto; }

/* 中 医師募集（No.39）の PC: 理事長メッセージの白い箱と「医師の仕事」の4枚が今のサイトより約 100px 狭い。今のサイトは box-sizing の初期値（content-box）で、
   幅（max-width 680px・47%）の外に内側の余白と枠が付く。この2つだけ今のサイトと同じ content-box に（このサイトは全体が border-box） */
.lg-dr .sec_message .message_txt, .lg-dr .sec_works .works_inner ul li { box-sizing: content-box; }
/* 中 スタッフ募集の応募フォーム（No.41）のスマホ: 「確認画面へ」のすぐ下がフッター。PC と同じく節の下を空ける（PC は 60px） */
@media (max-width: 767px) { .lg-main.boshu-rc .boshu-entry > .sec_form.boshu-form { padding-bottom: 60px; } }
/* 中 北口院の書面掲示事項（No.64・見出しの絵の無い面）のスマホ: 題「保険医療機関における」が 1 行に入らず字の途中で折れた。画面の幅に合わせて少し小さく */
@media (max-width: 767px) { .warm-hero-kita:not(.has-bg) .hero-c > .display { font-size: min(32px, 8vw); } }
/* ==== 12-01 深夜 共通の見出しと字の大きさ（担当: 共通） ここまで ==== */

/* ==== 12-01 深夜 いびき外来の下のページ（担当: いびき） ==== */
/* 本文は今のいびき外来のテーマの CSS（src/legacy/lg-sas.css・.lg-sas の中だけ）で出す（sas_site.py の page_sub）。
   ここには、今のサイトでは JS（よくあるご質問の開け閉め）が担っていた所と、新しいサイトの CSS が混ざる所の直しだけを置く */
.lg-sas .cpap04-faq .ac_body[hidden] { display: none; }
.lg-sas .cpap04-faq .ac_btn:focus-visible { outline: 2px solid #234872; outline-offset: 4px; }
/* 本文の最後から下の帯まで: 今のサイトは SNS の帯の上に 150px（スマホ 80px）の空き（テーマの .page .sns） */
.lg-sas.page { padding-bottom: 150px; }
@media only screen and (max-width: 639px) { .lg-sas.page { padding-bottom: 80px; } }
/* 新しいサイトの共通の規則が本文に混ざる所を、今のサイト（テーマに無い＝ブラウザの既定）に戻す。
   テーマの CSS（lg-sas.css）はこのファイルの後に読むので、テーマが決めている所はテーマが勝つ */
.lg-sas img { display: inline; }
.lg-sas .btn { display: block; align-items: normal; justify-content: normal; gap: normal; min-width: 0; height: auto; border-radius: 0;
  font-size: inherit; font-weight: inherit; letter-spacing: inherit; white-space: normal; transition: none; }
.lg-sas .num { font-variant-numeric: normal; }
.lg-sas p, .lg-sas li, .lg-sas dd { text-wrap: wrap; }
.lg-sas ruby rt { font-size: 50%; letter-spacing: normal; }
.lg-sas :is(a, button, input):focus-visible { outline: 2px solid #234872; outline-offset: 3px; }

/* お知らせ・トピックスの一覧・記事（sas_site.py の page_info_list・page_info_post）。テーマの .blog_box・#aside_area・.blog_detail・.pagenavi で出す */
/* 題: 今のサイトは一覧が h4・記事が h2（ここは h2・h1 にして同じ大きさ） */
.lg-sas .blog_box__head .sas-bh, .lg-sas .blog_detail__head .sas-dh { margin-top: 10px; font-size: 20px; }
.lg-sas .blog_box__head .sas-bh a:hover { opacity: .5; }
@media only screen and (max-width: 639px) { .lg-sas .blog_box__head .sas-bh, .lg-sas .blog_detail__head .sas-dh { font-size: 14px; } }
.lg-sas .blog_box__txt, .lg-sas .blog_detail__body { overflow-wrap: anywhere; }
/* 一覧の写真: 今のサイトは WordPress の中くらいの大きさ（300px の枠に収まる）。スマホは箱の幅の 80% いっぱい */
.lg-sas .blog_box__thumb img { width: auto; max-width: 300px; height: auto; max-height: 300px; }
@media only screen and (max-width: 639px) { .lg-sas .blog_box__thumb img { width: 100%; max-width: none; max-height: none; } }
/* 記事の本文の画像: 今のサイトは PC でテーマの width: auto と img の height 属性で、属性の大きさ（269×269 など）に出る。
   新しいサイトの img { height: auto } が属性の高さを消すので、書き出しで img に付けた属性の幅（--sas-w。sas_site.py の _img_w_var）で同じ大きさに。
   1023px 以下はテーマの width: 100% のまま */
@media print, screen and (min-width: 1024px) { .lg-sas .blog_detail__body img[style] { width: var(--sas-w, auto); } }  /* [style]: テーマの同じ強さの width: auto より強く */
/* 記事の見出しの面の「お知らせ・トピックス」（記事の題を本文の h1 にしたので、ここは p）。一覧の h1 と同じ紺の札 */
.sas-site .warm-hero .hero-c > p.display { display: table; margin: 0 auto; padding: 10px 20px; background: var(--sas-navy); color: #fff;
  font-size: 30px; font-weight: 700; line-height: 1.4; letter-spacing: 0; }
@media (max-width: 639px) { .sas-site .warm-hero .hero-c > p.display { font-size: 20px; } }
/* 記事を検索の窓（今のサイトは Font Awesome の虫眼鏡。ここは同じ形の SVG） */
.lg-sas .search > form button[type="submit"] { display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lg-sas .search > form input[type="text"] { font-size: 16px; color: #234872; }
.lg-sas .search > form input[type="text"]::placeholder { color: #999; }
.lg-sas .sas-note { margin: 24px 0 0; padding: 0; color: #234872; font-size: 16px; line-height: 1.6; }
/* 横のナビ: 今いる所（押せない形）と、過去の記事の年を開くボタン（今のサイトは li を JS で開く） */
.lg-sas #aside_area .aside_nav__category li > span[aria-current] { display: flex; align-items: center; padding: 15px 0; color: #71afd1; font-weight: bold; }
.lg-sas #aside_area .aside_nav__category li > span[aria-current] .icon-right1 { margin-left: auto; font-size: 12px; }
/* 書き出しの整え（build.py の wrap_phrases）が文の最後の文節を span.nb で包むので、テーマの「a の中の span＝矢印」の規則が文に当たらないように戻す */
.lg-sas #aside_area .aside_nav__category li > :is(a, span) > span.nb { margin-left: 0; font-size: inherit; color: inherit; }
.lg-sas .pagenavi :is(.previouspostslink, .nextpostslink) > span.nb { display: inline; margin: 0; font-size: inherit !important; transform: none; }
.lg-sas #aside_area .aside_nav__tag li > span[aria-current] { display: block; padding: 5px 10px; border: 1px solid #234872; border-radius: 30px; background: #234872; color: #fff; }
.lg-sas #aside_area .aside_nav__backnumber .month .month_child > span[aria-current] { display: block; padding: 15px 10px 15px 30px; color: #71afd1; font-weight: bold; }
.lg-sas #aside_area .aside_nav .aside_nav__backnumber .year { padding: 0; }  /* テーマの .year の上下の空きはボタンの側に */
.lg-sas #aside_area .aside_nav__backnumber .year > button { display: block; width: 100%; margin: 0; padding: 15px 2em 15px 0; border: 0; background: none;
  color: inherit; font: inherit; font-weight: bold; text-align: left; cursor: pointer; }
.lg-sas #aside_area .aside_nav__backnumber .year.active + .month { display: block; }
/* ページ送り（JS の検索で隠せるよう div で囲んだので、今のサイトの .pagenavi の並びをその囲みに） */
.lg-sas #main_content.blog_page > .bl-pager { width: 100%; }
@media only screen and (max-width: 1023px) { .lg-sas #main_content.blog_page > .bl-pager { order: 1; } }
/* ==== 12-01 深夜 いびき外来の下のページ（担当: いびき） ここまで ==== */

/* ==== 12-01 深夜 舌下免疫療法（担当: 舌下） ==== */
/* ダニ・スギの舌下免疫療法の LP（/miticure/・/sidacure/ と下の4ページ・build.py の page_slit_lp）。並べ方と飾りは今のサイトの CSS
   （src/legacy/lg-mite.css・lg-cedar.css）のまま。ここには、今のサイトの html・body の規則が枠に当たって困る所と、新しいサイトの初期化
   （border-box・画像はブロック・文節での折り返し）が混ざる所の直し、今のサイトの JS がしていたこと（Q&A の開け閉め・表の高さそろえ）の代わり、
   スマホ（今のサイトは幅 1040px の PC の組みを縮めて見せる）で今のサイトと同じ並びに戻す所を置く。
   選択子の頭の :is(.lg-mite, .lg-cedar).lg-slit は、今のサイトの CSS（.lg-mite ／ .lg-cedar で始まる）より強くするため */
:is(.lg-mite, .lg-cedar).lg-slit { overflow: visible; overflow-x: clip; max-height: none; }
.lg-slit *, .lg-slit *::before, .lg-slit *::after { box-sizing: content-box; }
.lg-slit :where(img) { display: inline; }
.lg-slit :where(p, li, dd) { text-wrap: wrap; }
.lg-slit :is(p, li, dd, span).kp { word-break: normal; overflow-wrap: normal; }
/* 書き出しが最後の文節に付ける .nb（折り返さない塊）は span。今のサイトの CSS の初期化が span を細字に戻すので、親の太さのまま */
.lg-slit span.nb { font-weight: inherit; font-style: inherit; }
/* 下のページの色の帯の題: スギの CSS は高さ 170px（今のサイトのスマホは PC の組みを縮めるので低く見える）。639px 以下は今のテーマの共通の CSS の高さ（60px）より少し高く */
@media (max-width: 639px) { :is(.lg-mite, .lg-cedar).lg-slit #mainv { height: 80px; } }
/* スギの緑の丸いボタンの矢印: 今のサイトは sidacure/img/common/arr1_green.png を読みにいき、その絵が無い（矢印が出ない）。同じく出さず、無い絵を読みにいかない */
.lg-cedar.lg-slit .linkbtn1 a::after, .lg-cedar.lg-slit .linkbtn1 a:hover::after { background-image: none; }
/* パンくず（今のサイトの #pankuzu の見た目。新しいサイトのパンくずの並び） */
.lg-slit #pankuzu nav, .lg-slit #pankuzu ol { margin: 0; padding: 0; list-style: none; }
.lg-slit #pankuzu ol li[aria-current] { color: #6a6868; }

/* Q&A（/〜/qa/）: 問いを押すと答えが開く（build.py の SLIT_QA_JS。JS が無いときは答えを出したまま） */
:is(.lg-mite, .lg-cedar).lg-slit #qa .qalist1 > dd { display: block; }
:is(.lg-mite, .lg-cedar).lg-slit #qa .qalist1 > dd[hidden] { display: none; }
.lg-slit #qa .qalist1 dt .slit-qa-b { display: block; width: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; color: inherit;
  font: inherit; letter-spacing: inherit; line-height: inherit; text-align: left; cursor: pointer; }
.lg-slit #qa .qalist1 dt .slit-qa-b:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.lg-slit #qa .qalist1 dt .accordionswitch .line { position: absolute; inset: 0; margin: auto; padding: 0; background: currentColor; transition: opacity .3s; }
.lg-slit #qa .qalist1 dt .accordionswitch .l1 { width: 16px; height: 2px; }
.lg-slit #qa .qalist1 dt .accordionswitch .l2 { width: 2px; height: 16px; }
.lg-slit #qa .qalist1 dt .accordionswitch.active .l2 { opacity: 0; }

/* 副作用・注意点の「日常生活の注意」の表: 今のサイトは JS で4列の高さをそろえ、2段の横線を一直線にする。同じ見え方を CSS の格子で
   （767px 以下は2列。今のサイトの CSS は 400px 以下で1列にするが、今のサイトのスマホは4列のまま縮めて見せるので、スマホも2列で段をそろえる） */
:is(.lg-mite, .lg-cedar).lg-slit #remarks #sec_3 .list1 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
:is(.lg-mite, .lg-cedar).lg-slit #remarks #sec_3 .list1::after { content: none; }
:is(.lg-mite, .lg-cedar).lg-slit #remarks #sec_3 .list1 > li { display: grid; grid-row: span 2; grid-template-rows: subgrid; width: auto; float: none; }
:is(.lg-mite, .lg-cedar).lg-slit #remarks #sec_3 .list1 > li .cellbox { height: auto; }
:is(.lg-mite, .lg-cedar).lg-slit #remarks #sec_3 .list1 > li .rowspan2 { grid-row: span 2; }
@media (max-width: 767px) { :is(.lg-mite, .lg-cedar).lg-slit #remarks #sec_3 .list1 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 1040px 以下: 今のサイトはページのメニュー（#gnav）を右上の三本線から開く全画面のメニューにする（三本線は新しいサイトの共通のヘッダーにあるので出さない）。
   ここではロゴの下に、PC と同じ灰色の帯の中に TOP と4つを並べる（TOP は1段目に1つ・下は2列） */
@media (max-width: 1040px) {
  :is(.lg-mite, .lg-cedar).lg-slit #gnav { position: static; display: block; width: auto; height: auto; margin: 0 4% 20px; padding: 0; background: #f4f2f1; z-index: auto; }
  :is(.lg-mite, .lg-cedar).lg-slit #gnav .incnt { width: auto !important; margin: 0 !important; padding: 0 !important; background: none; }
  :is(.lg-mite, .lg-cedar).lg-slit #gnav .incnt ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: auto; margin: 0; }
  :is(.lg-mite, .lg-cedar).lg-slit #gnav .incnt ul > li { display: block; width: auto; border-bottom: 1px dashed #c9bcb6; border-left: 0; }
  :is(.lg-mite, .lg-cedar).lg-slit #gnav .incnt ul > li.notpc { grid-column: 1 / -1; }
  :is(.lg-mite, .lg-cedar).lg-slit #gnav .incnt ul > li:nth-child(odd):not(.notpc) { border-left: 1px dashed #c9bcb6; }
  :is(.lg-mite, .lg-cedar).lg-slit #gnav .incnt ul > li:nth-last-child(-n+2) { border-bottom: 0; }
  :is(.lg-mite, .lg-cedar).lg-slit #gnav .incnt ul > li::before { content: none; }
  :is(.lg-mite, .lg-cedar).lg-slit #gnav .incnt ul > li > a { display: flex; align-items: center; justify-content: center; gap: 4px; width: auto; min-height: 24px;
    padding: 12px 4px !important; font-size: 14px; line-height: 1.4; background: none; }
  :is(.lg-mite, .lg-cedar).lg-slit #gnav .incnt ul > li > a::before { content: ""; flex: none; width: 14px; height: 14px; background: url(/wp-content/themes/stagegroup/asset/sub02/img/common/icon1.png) no-repeat center / contain; }
  .lg-cedar.lg-slit #gnav .incnt ul > li > a::before { background-image: url(/wp-content/themes/stagegroup/asset/sidacure/img/icon1.png); }
  .lg-mite.lg-slit #gnav .incnt ul > li.current > a { color: #71bb43; }
  .lg-cedar.lg-slit #gnav .incnt ul > li.current > a { color: #f29600; }
}
/* 関連サイトの6つのボタン: 今のサイトは 1040px 以下で、下の段の2つ（公式サイト・もう一方の LP）を上の段の4つの後ろへ JS で移し、6つを続けて並べる
   （今のサイトの CSS は下の段を隠す）。ここでは JS を使わず、2つの段の中身を1つの並びとして続けて並べる */
@media (max-width: 1040px) {
  :is(.lg-mite, .lg-cedar).lg-slit #footer_bnr_list { display: flex; flex-wrap: wrap; justify-content: center; }
  :is(.lg-mite, .lg-cedar).lg-slit #footer_bnr_list .title1 { flex: 0 0 100%; }
  :is(.lg-mite, .lg-cedar).lg-slit #footer_bnr_list :is(.list1, .list2) { display: contents; }
}
/* トップの症状の4つの丸: 今のサイトと同じく横に4つ（今のサイトの CSS は幅が狭いと 3+1 や 2×2 に折れる）。
   767px 以下の左右の縦長の絵（花粉・ダニ・スギの木）は少し細くして丸の外側へ */
@media (max-width: 1040px) {
  :is(.lg-mite, .lg-cedar).lg-slit #index #sec_2 .cont1 .list1 { display: flex; justify-content: center; gap: 0 3%; margin-left: 7%; margin-right: 7%; }
  :is(.lg-mite, .lg-cedar).lg-slit #index #sec_2 .cont1 .list1 > li { flex: 0 1 22%; width: auto; max-width: 126px; margin: 0 0 10px; }
}
@media (max-width: 767px) {
  :is(.lg-mite, .lg-cedar).lg-slit #index #sec_2 .cont1::before { width: 36px; height: 165px; left: -10px; }
  :is(.lg-mite, .lg-cedar).lg-slit #index #sec_2 .cont1::after { width: 40px; height: 165px; right: -10px; }
}
/* 639px 以下（スマホ）で、今のサイト（PC の組みを縮めたもの）と並びを同じにする所 */
@media (max-width: 639px) {
  /* 関連サイト: 今のサイトのスマホは3つずつ2段。幅 375px では字が読めないので2つずつ3段に */
  :is(.lg-mite, .lg-cedar).lg-slit #footer_bnr_list { gap: 10px; padding-left: 4%; padding-right: 4%; }
  :is(.lg-mite, .lg-cedar).lg-slit #footer_bnr_list :is(.list1, .list2) > li { flex: 0 0 calc(50% - 5px); height: auto; margin: 0; }
  :is(.lg-mite, .lg-cedar).lg-slit #footer_bnr_list :is(.list1, .list2) > li img { width: 100%; height: auto; }
  /* ダニの治療方法・流れの薬の絵: 今のサイトのスマホと同じ 2×2 の絵（PC の絵）を出す（今のサイトの CSS は 639px 以下で縦1列の絵に替える）。
     絵の左右と下の白い余白を切り、薬の札が読める大きさに（絵の中の 1280×720 のうち、左 295・上 35 から幅 640 の所） */
  .lg-mite.lg-slit #treatment #sec_4 .imgbox > p { overflow: hidden; }
  .lg-mite.lg-slit #treatment #sec_4 .imgbox img.rwd_disp_oox { display: block !important; width: 200%; max-width: none; margin: -5.5% 0 -20.3% -46.1%; }
  .lg-mite.lg-slit #treatment #sec_4 .imgbox img.rwd_disp_xxo { display: none !important; }
  /* 検査の種類（ドロップスクリーンと採血検査の絵）: 今のサイトと同じく横に2つ（今のサイトの CSS は 639px 以下で縦に積む）。
     治療方法・流れと Q&A の2問目の答えの中。ダニは薄緑の箱、スギは橙の箱 */
  :is(.lg-mite, .lg-cedar).lg-slit :is(#treatment #sec_3, #qa #sec_1) :is(.greencolorbox, .orangecolorbox) .list1 { display: flex; gap: 4%; margin-left: 0; }
  :is(.lg-mite, .lg-cedar).lg-slit :is(#treatment #sec_3, #qa #sec_1) :is(.greencolorbox, .orangecolorbox) .list1 > li { flex: 1 1 0; width: auto; margin: 0 0 15px; float: none; }
  /* 「当院で治療する方へ」の赤字: 今のサイトの CSS は幅によらず 20px（まわりの字は 639px 以下で 14px）。今のサイト（まわり 18px）と同じ釣り合いに */
  :is(.lg-mite, .lg-cedar).lg-slit #treatment :is(#sec_4, #sec_5) .box1 .list1 > li > .text_red { font-size: 15px; }
}
/* 舌下免疫療法（/sublingual_immunotherapy/・build.py の page_slit）のスマホ: 今のサイトと同じ大きさのボタンと字（今のテーマの 767px 以下: ボタンの字 16px・
   説明 13px・確認事項 16px・題 21.6px）。文節で折らず、ふつうの字送りで折る（右ががたがたにならないように） */
.slit-hub .kp { word-break: normal; overflow-wrap: anywhere; }
.slit-hub :is(dd, li) .nb { white-space: normal; }
@media (max-width: 767px) {
  .slit-hub { padding: 28px 0 40px; }
  .slit-hub .wrap { padding-left: 8px; padding-right: 8px; }
  .slit-hub .hub-kinds { gap: 12px; margin-bottom: 30px; }
  .slit-hub .hub-btn { min-height: 0; padding: 8px 44px; border-width: 2px; font-size: 16px; line-height: 1.6; }
  .slit-hub .hub-row { gap: 10px; margin: 10px 0; }
  .slit-hub .hub-row dd { padding: 0 20px; font-size: 13px; line-height: 1.6; letter-spacing: normal; }
  .slit-hub .hub-check { margin-top: 30px; padding: 30px 20px; }
  .slit-hub .hub-check-t { margin-bottom: 30px; font-size: 21.6px; }
  .slit-hub .hub-check-list > li, .slit-hub .hub-check-em { margin: 20px 0; font-size: 16px; line-height: 1.6; letter-spacing: normal; }
}
/* ==== 12-01 深夜 舌下免疫療法（担当: 舌下） ここまで ==== */

/* ==== 12-01 深夜 トップ（担当: トップ） ==== */
/* 谷さん 12/1 夜「今のサイトにあって新しいサイトに無いものは残す」「原稿と見比べて作るべき」。本院のトップに戻した今のサイトの部品
   （build.py の TOP_COVID_LG・TOP_SLIT_LG・top_news_lg・top_method_lg・top_voice_lg）は、今のテーマの CSS（src/legacy/lg-top.css・枠 .lg-top の中だけで効く）で出す。
   ここには、今のサイトでは body・#wrapper・#main_content が担っていた所と、新しいトップの並びに合わせる所だけを書く */

/* 枠: 今のサイトの body（reset.css）と #wrapper（base.css）の字。新しいサイトの body の字間を引き継がない。
   rem は lg-top.css の --lg-rem（今のサイトの html の大きさ: PC 10px・639px 以下 8px） */
.lg-top.lgt { position: relative; color: #333; font-size: calc(1.6 * var(--lg-rem, 10px)); line-height: 1.231; letter-spacing: normal; text-align: left;
  font-family: -apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Helvetica Neue", HelveticaNeue, YuGothic, "Yu Gothic Medium", "Yu Gothic", Verdana, Meiryo, sans-serif; }
.lg-top.lgt img { display: inline; }
/* 今のサイトの #main_content .sec_ttl・.ttl_sub（今のサイトでは ID の規則なので、節ごとの規則より強い。節ごとの規則と重なる性質は無い） */
.lg-top.lgt .sec_ttl { text-align: center; font-size: calc(2.8 * var(--lg-rem, 10px));
  font-family: "M PLUS Rounded 1c", "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif; transform: rotate(0.05deg); }
.lg-top.lgt .ttl_sub { display: block; font-size: calc(2.4 * var(--lg-rem, 10px));
  font-family: "Dancing Script", "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", cursive; }
@media (max-width: 639px) { .lg-top.lgt .ttl_sub { font-size: calc(2 * var(--lg-rem, 10px)); line-height: 1; } }

/* 発熱外来の下の新型コロナの CLICK の枠・インフルエンザの案内の下の舌下の WEB 予約の案内: 今のサイトと同じく箱の間 40px（今の .pickup_box・.intro_box の下の 4rem）。
   舌下の箱は、上にはみ出す吹き出しの絵（comment.png・上へ 32px）の分も空ける */
.top-pick .tp-covid { margin-top: 40px; }
.top-pick .tp-covid + .top-bnrs { margin-top: 40px; }
.top-pick .tp-zekka { margin-top: 56px; }
.top-pick .lg-top :is(.pickup_box, .intro_box) { margin-bottom: 0; }

/* お知らせ・トピックス: 今のサイトの .intro の中の .news_wrap（PC は2つの枠を横に・1023px 以下は縦に）。上下の余白は新しいトップの節（.sec-t）で取る。
   今の .site_wrap の左右の余白（PC 60px）は、新しいトップの枠（.wrap）にそろえるので外す */
.top-news .tp-news .intro { margin-top: 0; padding: 0; }
.top-news .tp-news .site_wrap { max-width: none; padding: 0; }
.top-news .tp-news .news_wrap { margin-top: 0; }
.top-news .tp-news .news { margin-bottom: 0; }
/* 行の題: 今のサイトの .news_detail__head h4 と同じ（見出しの順をそろえるため h3 にした） */
.lg-top.lgt .news_detail__head h3 { font-size: calc(1.6 * var(--lg-rem, 10px)); font-weight: normal; }

/* 病気や治療法について・患者様の声: 今のサイトと同じく幅いっぱいの地（地と方眼の箱・旗と風船の絵は今のテーマの CSS のまま）。今の .voice の上下 2rem は、
   新しいトップでは前後の節の地が続くので外す */
.tp-voice .lg-top .voice { margin: 0 auto; }  /* 今のテーマの .lg-top .voice より強く */

/* インフォメーション: 今のサイトの絵（img_info01.png）の看護師の似顔絵と、吹き出しのしっぽ（支払い方法のロゴの一覧は T12 で消したまま）。
   似顔絵は 12-04 吉成さんが送った事務長の似顔絵の元データ（public/img/warm/info-jimucho.webp・透明の地）。前は今のサイトのスマホ用の絵から切り出した info-nurse.png。吹き出しは似顔絵の顔の横、しっぽは顔に向けて左下 */
.info-pay { flex-wrap: nowrap; align-items: flex-start; gap: 20px; }
.info-nurse { flex: none; width: 96px; height: auto; }
.info-pay-t { position: relative; margin-top: 20px; }
.info-pay-t::before, .info-pay-t::after { content: ""; position: absolute; border-style: solid; border-color: transparent; }
.info-pay-t::before { left: -17px; bottom: 12px; border-width: 9px 17px 9px 0; border-right-color: #c9c9c9; }
.info-pay-t::after { left: -13px; bottom: 14px; border-width: 7px 14px 7px 0; border-right-color: #fff; }
@media (min-width: 768px) { .info-pay { gap: 24px; } .info-nurse { width: 128px; } .info-pay-t { margin-top: 36px; } }
@media (min-width: 1024px) { .info-pay .info-town { align-self: center; } }

/* 副院長（スマホ）: 今のサイトと同じく、似顔絵と名前を中央に縦に積み、文を全幅に（似顔絵が左・文が右の細い列にしない） */
@media (max-width: 767px) {
  .bg-clinic .vice-in { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 12px; }
  .bg-clinic .vice-face { width: 120px; }
  .bg-clinic .vice-in > div { width: 100%; }
  .bg-clinic .vice-in .sub { text-align: center; }
  .bg-clinic .vice-in .vice-en { margin-top: 2px; }
}

/* 4つの理由の本文（本院・北口院）: 最後の文節を折らない塊（.nb）にすると「…常に／努力をしています。」「…医療／サービスを」と行の途中で折れるので、
   今のサイトと同じく字送りで折る（文字は変えない） */
.reasons-ph .body .nb, .kk-reasons p .nb { white-space: normal; }

/* 北口院のトップのお知らせの段（1024px 以上）: 右の列にドロップスクリーンの絵だけが上に寄り、下が約 330px 空いていた（12/1 の今の北口院サイトも同じ空き）。
   今の本院のトップ（.bnr_drop）と同じく、絵をお知らせの枠の上の中央に置き、お知らせの枠をその下の中央に（絵と枠は同じ幅）。
   1023px 以下は今のまま（お知らせ → 絵）。読む順（お知らせが先）は変えない */
@media (min-width: 1024px) {
  .kk-news-wrap { grid-template-columns: minmax(0, 560px); justify-content: center; gap: 32px; }
  .kk-drop { order: -1; }
}
/* 本院のトップ（スマホ）: 今のサイト（12,915px）よりかなり縦に長く、行の間・節の間が広く見えていた。字の大きさは変えず、本文の行の高さ（2 → 1.85）と
   節の上下の余白（80px → 64px・112px → 88px・56px → 44px）だけを少し詰める。トップだけ（看板の面 .kv2 のあるページ） */
@media (max-width: 767px) {
  body:has(.kv2) main .sec { padding: 64px 0; }
  body:has(.kv2) main .sec-l { padding: 88px 0; }
  body:has(.kv2) main .sec-t { padding: 44px 0; }
  body:has(.kv2) main :is(.body, .lead) { line-height: 1.85; }
}
/* ==== 12-01 深夜 トップ（担当: トップ） ここまで ==== */

/* ==== 12-01 深夜 医師紹介と病気のページ（担当: 医師） ==== */
/* No.32 医師紹介の医師の段（build.py の doctor_block。今のサイトと同じ入れ子で、テーマの CSS lg-main-rem がそのまま当たる）。
   名前の行に書き出しが入れる文節の印（span.nb）は、テーマの「.doctor__name span」（ローマ字の名前の小さい字・1行）に当たらないよう、ふつうの字に戻す */
.annai-main .doctor__name span.nb { display: inline; margin: 0; font-size: inherit; text-align: inherit; }
/* ふりがなは1行で名前の中央に（名前の姓と名の間が半角の空白の医師は、今のサイト〔全角の空白〕より名前が短く、ふりがなが2行に折れて名前に重なっていた） */
.annai-main .doctor__name [data-ruby]::before { left: 50%; right: auto; white-space: nowrap; transform: translateX(-50%); }
/* 「医師」の見出し（B3 の中央）は、すぐ下の医師の段と近づける */
.doc-head { padding-bottom: 8px; }
/* スタッフの節の下は「患者様からスタッフへのコメントを見る」で終わる（今のサイトと同じく、その下はすぐ Follow us!） */
.annai-doc-staff.sec { padding-bottom: 48px; }
/* スマホ（599px 以下）のスタッフのカード: 今のサイトと同じ2列（1列の横長にしない）。T16 の「似顔絵の四角と吹き出しの大きさをそろえる」は2列でも同じ考え
   （似顔絵の四角を全員同じ大きさ・足元をそろえる。同じ段の名前・吹き出し・似顔絵・札の高さをそろえる） */
@media (max-width: 599px) {
  .annai-doc-staff .staff.staff-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
  .annai-doc-staff .staff.staff-cards > .sc { display: grid; grid-row: span 4; grid-template-rows: subgrid; grid-template-columns: minmax(0, 1fr);
    grid-template-areas: none; row-gap: 0; column-gap: 0; margin-bottom: 20px; padding: 10px 6px 12px; }
  .annai-doc-staff .sc > :is(.staff-name, .staff-msg, .sc-body, .staff-meta) { grid-area: auto; }
  .annai-doc-staff .sc .staff-name { margin: 0 0 6px; padding: 0 24px; font-size: 15px; }
  .annai-doc-staff .sc .staff-msg { align-self: stretch; padding: 8px; font-size: 11px; line-height: 1.7; }
  .annai-doc-staff .sc .staff-msg::after { left: 50%; top: auto; bottom: -9px; margin-left: -8px; border: 8px solid transparent; border-bottom: 0; border-top: 10px solid #fff; }
  .annai-doc-staff .sc .sc-body { width: 54px; height: 150px; margin: 16px auto 10px; align-self: end; }
  .annai-doc-staff .sc .staff-meta { align-self: stretch; margin-top: 0; padding: 6px; font-size: 11px; }
  .annai-doc-staff .sc .staff-meta dt, .annai-doc-staff .sc .staff-meta dd { font-size: 11px; }
  .annai-doc-staff .sc-d1 { width: 22px; } .annai-doc-staff .sc-d2 { width: 60px; } .annai-doc-staff .sc-d3 { width: 30px; } .annai-doc-staff .sc-d4 { width: 42px; }
}
/* No.17・27・28・29 めまい・耳鳴り／中耳炎／蓄膿症／アレルギー性鼻炎・花粉症（build.py の sub01_body。今のサイトはスマホの組みが無く PC を縮めて見せる）。
   999px 以下の並べ方（12-01 夜 担当: 診療の塊）に足す直し */
.lg-sub01.sub01-page .sub01-pt { display: none; }
@media (max-width: 999px) {
  /* 節の背景の絵（幅 1800px・高さ 500〜1351px）を節いっぱいに敷く。スマホは節が縦に長く、絵の高さのままでは本文の途中で切れる・途中から始まる */
  .lg-sub01.sub01-page #content .section { background-size: cover; background-position: center; }
  /* 緑の「ポイント」の帯: 画像（幅 960px）は縮むと読めないので隠し、同じ文を文字の帯で出す（build.py の sub01_points） */
  .lg-sub01.sub01-page #content img.sub01-pt-img { display: none; }
  .lg-sub01.sub01-page #content .sub01-pt { display: flex; align-items: center; gap: 12px; margin: 8px 0 0; padding: 12px 14px; border-radius: 6px;
    background: #2db06d; color: #fff; font-weight: bold; line-height: 1.6; }
  .lg-sub01.sub01-page #content .sub01-pt-l { flex: none; padding-right: 12px; border-right: 1px solid rgba(255, 255, 255, .85); font-size: 14px; }
  .lg-sub01.sub01-page #content .sub01-pt-t { font-size: 14px; }
  /* 横並びだった写真（ul の li の中の写真。蓄膿症の検査・めまいの検査・中耳炎の鼓膜と治療イメージ）は中央に。同じ列の写真は元の幅がそろっている */
  .lg-sub01.sub01-page #content li > img { display: block; float: none; margin-left: auto; margin-right: auto; }
  /* 文と組の右の絵（花粉症対策・めまいの検査の一部）は、浮かせず中央に同じ幅で（見出しの絵が絵の横に入らず、絵だけが右に浮いて残っていた） */
  .lg-sub01.sub01-page #content ul > li > img.right { float: none; width: 160px; max-width: 100%; margin: 0 auto 12px; }
  /* 中耳炎の実際の症例: 写真が縦に並ぶので、間の矢印（右向きの画像）は下向きに */
  .lg-sub01.chujien.sub01-page #content .ul2 .li1 img { transform: rotate(90deg); }
}
/* ==== 12-01 深夜 医師紹介と病気のページ（担当: 医師） ここまで ==== */

/* ==== 12-02 共通とフッター・いびき（担当: 共通2） ==== */
/* 12-02 デザインの審査（2回目）の深刻度 高1〜7 と中3つ（番号は kanade-jibika-demo/_src/mihikaku-20261201/mihikaku-ichiran.csv）。値は今のサイトのテーマの CSS と、
   手元の今のサイトの控えを同じ幅で開いて測った値 */

/* 高1 本院・北口院のフッターのロゴ（PC で中心が約 190〜210px 左）: リンク（a）は fit-content だが、画像の width 属性（本院 1147・北口院 758）が
   fit-content の幅になり、画像だけ 760px・340px に縮んで左に寄っていた。リンクの幅を画像の幅にして中央に */
.lf-info-main .kf-logo a { width: min(100%, 760px); }
.lf-info-main .kf-logo img { width: 100%; }
.site-footer-kita .kf-logo a { width: min(100%, 340px); }
.site-footer-kita .kf-logo img { width: 100%; }

/* 高2 本院のページのスマホの下の固定バーの4つ目「分院サイト TOP」（build.py の footer）。今の本院サイトと同じ橙 #f4a460・こげ茶の字。
   今のサイトの幅の割合（25%・20%・34%・20%）に近く、新しいサイトの文（お問い合わせ・自動音声・WEB予約）が1行に入る割合で4つに */
.fixbar:not(.fixbar-kita) { grid-template-columns: 1.1fr 1fr 1.2fr 1fr; }
.fixbar a.fixbar-kita-top { background: #f4a460; color: #42210b; }
@media (hover: hover) { .fixbar a.fixbar-kita-top:hover { background: #ec9447; } }

/* 高3 フッターのスマホ（639px 以下）の字の大きさ: 今のサイトは 639px 以下で html が 50%（1rem＝8px）なので、フッターの字が PC の 8 割。
   今のサイトの base.css（.contact・.clinicinfo）の rem を 8px で計算した値に（見出し 2.4rem・電話 2.4rem・電話の丸 2em・インターネット予約 2.2rem・
   所在地の文 1.6rem／行の高さ 2・駐車場のボタンは文と同じ）。左右の空きも今のサイトと同じ 2%（.site_wrap の padding 0 2%） */
@media (max-width: 639px) {
  .site-footer .kf-contact > .wrap, .site-footer .kf-info > .wrap { padding-inline: 2%; }
  .kf-contact-in { gap: 12px; padding-top: 15px; padding-bottom: 15px; }
  .kf-contact-h { font-size: 19.2px; line-height: 1.5; }
  .kf-tel { gap: 8px; font-size: 19.2px; }
  .kf-ic { width: 38px; height: 38px; }
  .kf-ic svg { width: 18px; height: 18px; }
  .kf-ic-rsv { font-size: 9.5px; }
  .kf-web { width: 100%; max-width: none; min-height: 0; padding: 8px; font-size: 17.6px; }
  .lf-info-main { padding: 16px 0 32px; }
  .lf-info-main .kf-info-in { gap: 8px; margin-top: 8px; }
  .kf-txt p { font-size: 12.8px; line-height: 2; }
  .lf-parking { margin: 8px auto; }
  .lf-parking a { min-height: 0; padding: 8px 12px; font-size: 12.8px; line-height: 2; }
}

/* 高4 いびき外来のトップ（No.45）の文: 今のサイトは行の高さ 1.5・折り返しはふつう（新しいサイトの全体の「text-wrap: pretty」「line-break: strict」で
   「毎／月約4,390円」のように早く折れ、右に大きな空きが残っていた。行の高さ 1.8 で全体が長くなっていた） */
.sas-site .sas-desc { line-height: 1.5; }
.sas-site .sas-desc p { text-wrap: wrap; line-break: auto; }
/* 中 いびき外来のトップのスマホの「睡眠について」4枚: 今のサイトは写真の高さ 100px・文の上下 10px（top.css の 639px 以下） */
@media (max-width: 639px) {
  .sas-site .sas-ab-img { height: 100px; }
  .sas-site .sas-ab-t { padding: 10px 0; }
}

/* 高5 いびき外来の記事・下のページの本文の太字: 新しいサイトの全体の strong（太さ 500・濃い色）が、本文の「青い太字の見出し」（span の色の中の strong）と
   強調の太字を、ふつうの太さ・濃い紺の字にしていた。今のサイト（ブラウザの決まりの太字・まわりと同じ色）に戻す。テーマの CSS が決めている所はテーマが勝つ（:where で弱く） */
:where(.lg-sas) :is(strong, b) { font-weight: bolder; color: inherit; }

/* 高6 いびき外来の下のページ（No.46〜57）の見出しの面: 今のいびき外来の .mv と同じ大きさに（PC: 上下 100px・題 30px／行の高さ 1.5・英字の札は行の高さ normal。
   スマホ: 上下 50px・題 20px と英字 14px・札の内側 5px 10px）。今のサイトにパンくずは無い。スマホは、パンくずを写真の上の白い帯に出し
   （本院の絵のある面の .hero-crumb と同じ形）、写真の面は今の .mv と同じ高さにする */
.sas-site .warm-hero:not(.has-bg) .hero-c > :is(h1, p.display) { line-height: 1.5; }
.sas-site .warm-hero:not(.has-bg) .hero-c::after { line-height: normal; }
@media (max-width: 639px) {
  .sas-site .warm-hero:not(.has-bg) { padding: 0; background: none; }
  .sas-site .warm-hero:not(.has-bg) > .wrap { padding: 0; }
  .sas-site .warm-hero:not(.has-bg) .crumb { width: auto; margin: 0; padding: 8px var(--gutter); background: #fff; }
  .sas-site .warm-hero:not(.has-bg) .hero-c { max-width: none; padding: 50px var(--gutter); background: var(--sas-pale) var(--sas-mv, none) center / cover no-repeat; }
  .sas-site .warm-hero:not(.has-bg) .hero-c > :is(h1, p.display) { padding: 5px 10px; font-size: 20px; }
  .sas-site .warm-hero:not(.has-bg) .hero-c::after { padding: 5px 10px; font-size: 14px; }
}

/* 中 いびき外来の PC のフッターの病気のバナー: 今のサイトはフッターの幅いっぱい（.site_wrap に最大の幅なし）に 4 つの列。幅 1200px の中に入れていて小さかった */
@media (min-width: 1024px) { .sas-ft-in { width: 100%; max-width: none; } }

/* 高7 中耳炎・蓄膿症・めまい（No.27〜29。sub01 の作り）のスマホ: パンくずの白い箱が見出しの絵の上に 2 行で乗っていた。
   本院の絵のある面（.hero-crumb）と同じく、パンくずを絵の上の白い帯に出し、絵は帯の下に全部見せる。
   #mainv を箱にしない（display: contents）で、絵（#mainv の背景。病気ごとにテーマの CSS が替える）は中の題の段が受け継ぐ */
@media (max-width: 767px) {
  .lg-sub01.sub01-page #mainv { display: contents; }
  .lg-sub01.sub01-page #mainv > .sub01-top { background: #fff; }
  .lg-sub01.sub01-page #mainv > .sub01-top > .incnt { padding: 8px 16px; }
  .lg-sub01.sub01-page #mainv > .sub01-top .crumb { padding: 0; border-radius: 0; background: none; }
  .lg-sub01.sub01-page #mainv > .incnt { max-width: none; height: clamp(220px, 48vw, 452px); padding: 0 16px; overflow: hidden;
    background-image: inherit; background-repeat: no-repeat; background-position: center top; background-size: auto 100%; }
}
/* ==== 12-02 共通とフッター・いびき（担当: 共通2） ここまで ==== */

/* ==== 12-02 本院と北口院の個別（担当: 個別2） ==== */
/* No.32 医師紹介: ふりがなを名前の中央に。12-01 深夜の「left: 50%; right: auto」が、後から読む lg-main-rem の「left: 0; right: 0」（同じ強さ）に負け、
   translateX(-50%) だけが効いて、ふりがなが自分の幅の半分だけ左へずれていた（スマホで満山医師の「み」が画面の左端で切れる）。選択子を1段強くする */
.lg-main.annai-main .doctor__name [data-ruby]::before { left: 50%; right: auto; }

/* No.32 医師紹介 スマホ（599px 以下・2列）のスタッフのカード: 今のサイト（639px 以下は 1rem＝8px）と同じ字と行の高さに。
   今のサイトの保存 HTML を手元で開いて測った値: 名前 16px 太字・ことばと資格 10.4px（1.3rem）・行の高さ 1.5・字間なし・字体は #wrapper の字体・カードの内側の余白 10px。
   資格と趣味は今と同じく「資格：」の後ろに続けて書き、行の頭から折り返す（2行目を「資格：」の幅だけ下げない）。
   文節の塊（.nb）は折らない印のため「メディカルクラーク、」が箱の線の外へ出ていた（Okamoto さん）ので、ここでは字の途中でも折る。似顔絵の四角と吹き出しをそろえる形（T16）はそのまま */
@media (max-width: 599px) {
  .annai-doc-staff .staff.staff-cards > .sc { padding: 10px; letter-spacing: normal;
    font-family: -apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Helvetica Neue", HelveticaNeue, YuGothic, "Yu Gothic Medium", "Yu Gothic", Verdana, Meiryo, sans-serif; }
  .annai-doc-staff .sc .staff-name { margin: 0 0 10px; padding: 0; font-size: 16px; font-weight: bold; line-height: 1.5; letter-spacing: normal; } /* 今と同じく左右の余白なし（Wakamatsu が2行に折れない） */
  .annai-doc-staff .sc .staff-msg { padding: 10px; font-size: 10.4px; line-height: 1.5; letter-spacing: normal; }
  .annai-doc-staff .sc .staff-meta { padding: 5% 7% 9%; font-size: 10.4px; line-height: 1.5; letter-spacing: normal; }
  .annai-doc-staff .sc .staff-meta > div { display: block; }
  .annai-doc-staff .sc .staff-meta :is(dt, dd) { display: inline; font-size: 10.4px; font-weight: normal; word-break: normal; overflow-wrap: anywhere; }
  .annai-doc-staff .sc .staff-meta .nb { white-space: normal; }
}

/* No.1 本院のトップの YouTube（build.py の top_movie_lg。見た目は今のテーマの CSS lg-top）。上の帯（集合写真・音符・ラッパ・波＝今の .reason::after）の上の余白は
   今の .reason の 4rem のまま。題の絵（ttl_youtube.png）の行の高さを詰め、絵は縦横の比のまま（新しいサイトの img の決まりで伸びないように） */
.tp-movie .lg-top .movie .ttl_sub { line-height: 1; }
.tp-movie .lg-top .movie .ttl_sub img { display: inline-block; height: auto; }

/* No.58 北口院のトップ（1024px 以上）のお知らせ: 今の北口院サイトと同じく、お知らせ（左）とドロップスクリーンの絵（右）を左右に並べる
   （12-01 深夜に絵を上・お知らせを下に積んだのを、今のサイトの並びに戻す。右の絵の下が空くのも今のサイトと同じ） */
@media (min-width: 1024px) {
  .kk-news-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); justify-content: normal; gap: 48px; }
  .kk-drop { order: 0; }
}

/* No.58 北口院のトップ スマホ「当クリニックについて」: 今のサイトと同じく、似顔絵を左に置き本文を右に回り込ませる（似顔絵の下からは全幅）。
   大きさは今の北口院サイトの 12/1 の画面（375px）から: 似顔絵の幅 146px・本文 12.8px・行の高さ 1.5 */
@media (max-width: 767px) {
  .kk-about .kk-dir { display: flow-root; }
  .kk-about .kk-dir-fig { float: left; width: 146px; max-width: none; margin: 0 14px 8px 0; }
  .kk-about .kk-dir-fig figcaption { margin-top: 8px; font-size: 15px; line-height: 1.4; }
  .kk-about .kk-dir-fig figcaption .kk-en-s { font-size: 11px; }
  .kk-about .kk-dir-t p { font-size: 12.8px; line-height: 1.5; letter-spacing: normal; }
}

/* No.64 北口院の書面掲示事項（build.py の KITA_LG・本文は annai_text_blocks の白い箱）: 本院の /keiji/（.annai-main .annai_box の規則）と同じ値・同じ強さ
   （強さをそろえ、段落の余白は本院と同じくテーマの .lg-main .feature_box .feature_box__txt p〔1rem＝PC 10px・639px 以下 8px〕が勝つようにする） */
.kk-lg .annai_box .feature_box + .feature_box { margin-top: 1.5em; }
.kk-lg .annai_box .feature_box__txt { line-height: 2; }
.kk-lg .annai_box .feature_box__txt > :is(p, ul, ol) { padding: 0 1rem; margin-bottom: 1rem; }
.kk-lg .annai_box .feature_box__txt > :is(ul, ol) { padding-left: calc(1rem + 1.5em); margin-left: 0; }
.kk-lg .annai_box .feature_box__txt a { color: #0f7a3a; text-decoration: underline; }
/* No.17・27〜29 病気のページの「▲上に戻る」（build.py の sub01_pagetop）: 今のテーマの #pagetop と同じ（右寄せ・青の下線つき）。id は重ねないので class で */
.lg-sub01 .sub01-pagetop { width: 100%; text-align: right; color: #115daf; }
.lg-sub01 .sub01-pagetop .incnt { padding: 20px 0 0; }
.lg-sub01 .sub01-pagetop a:is(:link, :visited) { color: #115daf; text-decoration: underline; } /* テーマの .lg-sub01 a:link（灰）より強く。今は #pagetop a（id）が勝って青 */
.lg-sub01 .sub01-pagetop a:hover { color: #419cd0; text-decoration: underline; }
@media (max-width: 999px) { .lg-sub01 .sub01-pagetop .incnt { padding: 20px 16px 0; } }
/* ==== 12-02 本院と北口院の個別（担当: 個別2） ここまで ==== */

/* ==== 12-03 吉成さんの直し（G＝docs は kanade-jibika-demo/docs/meetings/20261203-yoshinari-fb.md） ==== */
/* G24 院を選ぶシートの「津田沼北口院」の行の院名は橙（北口院の色。白の地で読める濃さ） */
.pick-row.pick-kita .c { color: #e07a1f; }
/* G23・G25 スマホの下の固定バーの文が長くなった（「診療状況確認」「津田沼北口院」）。1行に収める */
.fixbar a span { white-space: nowrap; }
@media (max-width: 374px) { .fixbar a { font-size: 11px; } }

/* G27 本院のトップの最初の画面: 今のサイトの絵（hero01〜04）を北口院と同じ形で（看板は PC で絵の右下に重ね、スマホは絵の下。.kk-hero・.kk-board の決まりを使う）。
   絵は重ねて置き、入れ替える（KV_SLIDES_JS）。見えていない絵は押せないように隠す */
.mh-photo { position: relative; }
.mh-slides { display: grid; margin: 0; padding: 0; list-style: none; }
.mh-slides > li { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 1.2s var(--ease), visibility 1.2s; }
.mh-slides > li.is-on { opacity: 1; visibility: visible; }
.mh-slides img { display: block; width: 100%; height: auto; }
.mh-slides a { display: block; }
@media (prefers-reduced-motion: reduce) { .mh-slides > li { transition: none; } }
.mh-hero .kv2-dots { bottom: 4px; }
@media (min-width: 768px) { .mh-board { right: 4%; } .mh-hero .kv2-dots { justify-content: flex-start; left: 4%; } }
.mh-board .kv2-today { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line-strong); }
.mh-hero { padding-bottom: 24px; background: var(--beige); }
@media (min-width: 768px) { .mh-hero { padding-bottom: 0; background: none; } }
/* G28 スマホは「本日の担当医」の次の行に日付から */
@media (max-width: 767px) {
  .today-2l .today-k { flex: 0 0 100%; }
  .today-2l .icon-arrow { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
  .today-2l { position: relative; padding-right: 18px; }
}

/* G29 トップの発熱外来は今のサイトと同じ枠（今のサイトでは2番目の .intro_box＝緑の地。ここでは単独なので明示する） */
.lg-top.tp-fever .intro_box.tp-fever-box { background-image: url(/wp-content/themes/stagegroup/asset/images/icon_pickup01.png), url(/wp-content/themes/stagegroup/asset/images/bg_green.png);
  background-repeat: no-repeat, repeat; background-position: 1% bottom, 0 0; }
@media (max-width: 639px) { .lg-top.tp-fever .intro_box.tp-fever-box { background-position: 2% 2%, 0 0; background-size: 16%, 100%; } }
.tp-fever .intro_box__txt p { margin: 0; line-height: 1.7; }
.tp-fever .intro_box__txt a { color: inherit; text-decoration: underline; }
.tp-fever .btn-ferverout a .icon-ext { margin-left: 6px; }
.tp-fever .intro_box__link .fever-call { margin: 12px auto 0; width: 70%; }
@media (max-width: 1023px) { .tp-fever .intro_box__link .fever-call { width: 100%; max-width: 320px; } }

/* G30 お知らせ（前のデモの形）。行間を狭める（PC・スマホとも） */
.top-news .sec-en { margin-top: 6px; }
.top-news .ivy-box .rows > li { padding: 12px 0; }
.top-news .ivy-box .news-row .t { line-height: 1.6; }
.top-news .ivy-box .news-row time { line-height: 1.6; }
@media (max-width: 767px) {
  .top-news .ivy-box { padding: 18px 16px 20px; }
  .top-news .ivy-box .rows > li { padding: 8px 0; }
  .top-news .ivy-box .news-row { gap: 0 12px; }
  .top-news .ivy-box .news-row time { font-size: 12px; line-height: 1.5; }
  .top-news .ivy-box .news-row .t { font-size: 14px; line-height: 1.55; }
  .top-news .btn { margin-top: 24px; }
}

/* G32・G33 当クリニックについて（スマホ）: 院長の写真を小さくして右にあいさつ文。副院長も左に似顔絵・右にあいさつ文 */
@media (max-width: 767px) {
  .top-about .grid.gap-y { display: block; }
  .top-about .grid.gap-y::after { content: ""; display: block; clear: both; }
  .top-about .dir-fig { float: left; width: 38%; margin: 4px 14px 8px 0; }
  .top-about .dir-txt .heading { font-size: 18px; line-height: 1.5; }
  .top-about .dir-txt .body { font-size: 14px; line-height: 1.75; }
  .top-about .dir-txt .body.mt-24 { margin-top: 12px; }
  .top-about .dir-txt .sub.mt-40 { margin-top: 16px; }
  .top-about .vice { padding-top: 32px; }
  .bg-clinic.top-about .vice-in { grid-template-columns: 88px minmax(0, 1fr); justify-items: stretch; gap: 14px; align-items: start; }
  .bg-clinic.top-about .vice-face { width: 88px; }
  .bg-clinic.top-about .vice-in .sub { text-align: left; }
  .top-about .vice-in .body { font-size: 14px; line-height: 1.75; margin-top: 8px; }
}
.vice-name { font-size: 18px; font-weight: 500; }
@media (min-width: 768px) { .vice-name { font-size: 20px; } }

/* G34 当クリニックが選ばれる理由（スマホ）: 行間を少し狭める */
@media (max-width: 767px) {
  .reasons-ph .body { line-height: 1.7; }
  .reasons-ph .body.mt-16 { margin-top: 10px; }
  .reasons-grid.reasons-ph { gap: 28px; }
}

/* G37 お支払いの吹き出しと院長の Instagram のバナー（SNS の節があった水色の縞の地） */
.tp-pay { padding: 40px 0 48px; }
.tp-pay .info-pay { justify-content: center; }
.tp-pay-bnr { max-width: 620px; margin: 32px auto 0; list-style: none; padding: 0; }
.tp-pay-bnr a { display: block; }
.tp-pay-bnr img { width: 100%; height: auto; }
@media (min-width: 1024px) { .mh-board { right: 2%; width: clamp(340px, 32vw, 500px); } }  /* 1枚目の絵の「睡眠時無呼吸症候群」の丸に重ならないように */

/* G46 医師紹介のスタッフの見出し（PC）: 今のサイトは枠の中に説明の長い文があり、左右の葉の輪は枠の高さに収まっていた。
   新しいサイトは説明の文を外した（12-01 B3）ので枠が低く、葉の輪が枠の上下にはみ出て大きく見えた。枠の高さに収める */
@media (min-width: 768px) {
  .lg-main .doctor .doctor__staff__left, .lg-main .doctor .doctor__staff__right { display: flex; justify-content: center; align-items: center; }
  .lg-main .doctor .doctor__staff__left img, .lg-main .doctor .doctor__staff__right img { width: auto; height: 100%; max-height: 184px; }
}

/* G52 医師募集の PC の見出し: スマホと同じ絵（文字入り）を切らずに出し、5つの丸を絵の下の方（木とリスの間）に重ねる */
.lg-dr .single .hero.pc_767.dr-hero-same { background-image: url(/wp-content/themes/stagegroup/asset/doctor_recruit/images/hero-doctor_recruit_sp.png); background-size: cover; aspect-ratio: 1170 / 708; position: relative; }
.lg-dr .single .hero.dr-hero-same .mv_txt { left: 50%; transform: translateX(-50%); bottom: 4%; width: 58%; }
.lg-dr .single .hero.dr-hero-same .mv_txt .mv_tit { margin: 0; }

/* ==== 12-03 北口院のトップ（No.58） ==== */
/* G62 お知らせ（本院と同じ形）。北口院の地の色に */
.kk-news-demo { background: #fbf6ea; }
/* G63 「電話する」 */
.kk-box-go .kk-fever-call { margin-top: 12px; }
/* 12-04 吉成さん「北口院のTOPページ：発熱外来～ドロップスクリーンまで(スマホ)」: 「WEB問診票」と「電話する」が横に並び（.kk-box-go は横並びの flex）、
   その幅（約500px）で枠と、同じ並びのインフルエンザ・舌下・ドロップスクリーンまでがスマホの画面より広がって右が切れていた。
   2つのボタンは縦に積み、並びの列も画面の幅を超えないようにする */
.kk-fever .kk-box-go { flex-direction: column; align-items: center; }
.kk-intro .wrap { grid-template-columns: minmax(0, 1fr); }
.kk-fever-body a.nb { color: inherit; text-decoration: underline; }
/* G66 診療案内の文を中央に */
.kk-catch.kk-catch-c { text-align: center; }
/* G65 当クリニックについて（スマホ）: 理事長・中村医師も似顔絵の左・あいさつ文の右に */
@media (max-width: 767px) {
  .kk-about .kk-docs > li { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 14px; align-items: start; text-align: left; }
  .kk-about .kk-docs .kk-doc-face { grid-row: 1 / span 2; width: 96px; max-width: none; height: auto; margin: 0; }
  .kk-about .kk-docs .kk-doc-name { margin-top: 0; text-align: left; }
  .kk-about .kk-docs .kk-doc-t { font-size: 13.5px; line-height: 1.7; }
}
/* G69 事務長の似顔絵とお支払いの吹き出し・バナー（SNS の節があった水色の縞の地） */
.kk-pay2 .kk-bnrs { margin-top: 32px; padding: 0; }
.kk-drop { margin-top: 32px; }

/* G56 眠気のアンケート: 数字をボタンに（今のサイトの数字の並び・間隔のまま。押したものは紺の丸）と合計点 */
.lg-sas .sas02 .box-que-num .que-btn { display: grid; place-items: center; width: 36px; height: 36px; margin-left: 18px; padding: 0; border: 1.5px solid #234872; border-radius: 50%;
  background: #fff; color: #234872; font: inherit; font-weight: bold; cursor: pointer; transition: background-color .2s, color .2s; }
.lg-sas .sas02 .box-que-num .que-btn[aria-checked="true"] { background: #234872; color: #fff; }
@media (hover: hover) { .lg-sas .sas02 .box-que-num .que-btn:hover { background: #e8eef6; } .lg-sas .sas02 .box-que-num .que-btn[aria-checked="true"]:hover { background: #234872; } }
.lg-sas .sas02 .box-que-num .que-btn:focus-visible { outline: 2px solid #f0a500; outline-offset: 2px; }
@media (max-width: 639px) { .lg-sas .sas02 .box-que-num .que-btn { width: 40px; height: 40px; margin-left: 12px; } }
.lg-sas .que-total { margin-top: 20px; padding: 16px 20px; border: 2px solid #234872; border-radius: 10px; background: #fff; color: #234872; font-weight: bold; text-align: center; line-height: 1.7; }
.lg-sas .que-total b { font-size: 1.6em; margin: 0 .1em; }
.lg-sas .que-total .que-note { display: block; margin-top: 4px; font-size: .9em; color: #c0392b; }
/* G10 当クリニックについての表題: 文節（<wbr>）でだけ折る。スマホは写真の横の細い列なので、PC の改行は使わない */
.top-about #h-director { word-break: keep-all; overflow-wrap: anywhere; }
@media (max-width: 767px) { .top-about #h-director .at-br { display: none; } }
/* G72 ドロップスクリーン・ブログ・インスタの3枚を縦に並べる（今のサイトのインフォメーションと同じ間） */
.tp-pay-bnr { display: grid; gap: 16px; }

/* G15 スタッフ募集の応募フォームの履歴書のファイル（任意）: 選んだファイルの名前と「外す」、下に種類と大きさの案内 */
.rc .rc-file input[type="file"] { max-width: 100%; font-size: 14px; }
.rc .rc-file-now { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 8px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; font-size: 14px; }
.rc .rc-file-now[hidden] { display: none; }
.rc .rc-file-del { padding: 4px 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; }
@media (hover: hover) { .rc .rc-file-del:hover { background: var(--beige-2); } }
.rc .rc-row .rc-note { margin-top: 6px; font-size: 13px; line-height: 1.7; white-space: normal; }

/* G1 舌下導入確認事項（院が更新の画面で直す文。段落ごとに少し間をあける） */
.hub-check-body p { margin: 0 0 .7em; line-height: 1.9; }
.hub-check-body p:last-child { margin-bottom: 0; }
.kk-lg .kk-check-body p { margin-bottom: .6em; }

/* 12-04 吉成さん: 時間・アクセスの「車でお越しの方」に駐車場の写真。今のサイトのテーマの地図の箱（.access_wrap__map・PC は上に 82px）を使い、
   文のすぐ下に置くので上の空きは小さくする */
.lg-main .access_wrap .access_wrap__map.access-parking { margin-top: 16px; }
.lg-main .access_wrap .access-parking img { display: block; width: 100%; height: auto; border-radius: 8px; }

/* ==== 12-05 吉成さん（8:29）の直し ==== */
/* K1 本院の発熱外来の「電話する」を北口院と同じ形に（白い地・2px の枠・17px の字・高さ 56px）。
   本院はテーマの CSS（.lg-top .intro_box__link a）が後から効いて 12.8px・枠の細い形になっていたので、強い指定で北口院の .fever-call と同じ値にする */
.lg-top.tp-fever .intro_box__link a.fever-call { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 8px 22px;
  border-radius: 999px; background: #fff; border: 2px solid var(--ink); color: var(--ink); font-size: 17px; font-weight: 500; line-height: 1.4; text-decoration: none; }
.lg-top.tp-fever .intro_box__link a.fever-call .fever-call-n { font-size: 15px; text-decoration: none; }
@media (hover: hover) { .lg-top.tp-fever .intro_box__link a.fever-call:hover { background: var(--ink); color: #fff; } }
/* 北口院と同じく「WEB問診票」と「電話する」を同じ幅に（ボタンの列の幅いっぱい。WEB問診票は外側に 5px の影の縁があるので、北口院の .kk-fever-btn と同じく
   左右 5px ずつ内に入れて、見た目の幅を「電話する」とそろえる。テーマの .lg-top .intro_box .intro_box__link .btn-ferverout〔スマホ 70%〕より強い指定） */
.lg-top.tp-fever .intro_box .intro_box__link .btn-ferverout { width: calc(100% - 10px); margin: 5px auto 0; }
.lg-top.tp-fever .intro_box .intro_box__link a.fever-call { width: 100%; max-width: none; margin: 17px 0 0; box-sizing: border-box; }
/* K2 北口院の診療時間の看板と発熱外来の枠の間を本院と同じに（本院: スマホ 64px・PC 写真の下から 56px。北口院は 0 でくっついていた） */
.kk-intro { padding-top: 64px; }
@media (min-width: 768px) { .kk-intro { padding-top: 56px; } }
/* K3 北口院（スマホ）の発熱外来〜舌下免疫療法の字の大きさを本院と同じに（本院: 見出し 19.3px・本文 12.8px）。ボタンの字は変えない */
@media (max-width: 767px) {
  .kk-intro .kk-fever-h, .kk-intro .kk-box-h { font-size: 19.3px; line-height: 1.5; }
  .kk-intro .kk-fever-body, .kk-intro .kk-fever-body p, .kk-intro .kk-box-t { font-size: 12.8px; line-height: 1.7; }
}

/* 12-05 谷さん「これボタンをセンターにして」: トップの文字の帯（インフルエンザ予防接種のご案内など）。見出しとボタンが2段になる幅（900px 未満）では、
   ボタンだけを枠の中央に置く（見出しは今のまま左。PC の横並びは変えない） */
@media (max-width: 899px) { .tb-text .tb-h { flex-basis: 100%; } .tb-text .btn { margin-inline: auto; } }
