/* 2026-10-11 読みやすさ・画像・操作の共通補正。各サイトの色と演出は引き継ぐ。 */
html{scroll-padding-top:110px}body{font-size:16px}
h1,h2,h3,h4,h5,h6,summary{word-break:auto-phrase;text-wrap:balance;overflow-wrap:break-word}
button,input,select,textarea{font-size:16px}
img{max-width:100%;height:auto}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid currentColor;outline-offset:5px}
.z-readability{font-size:max(16px,var(--z-original-font,16px))!important;line-height:max(1.6,var(--z-original-leading,1.6))}
.z-heading-line{display:inline-block;max-width:100%;white-space:normal}
@media(max-width:767px){h1,h2,h3{max-width:100%}.z-fit-heading{font-size:clamp(28px,8.2vw,40px)!important;line-height:1.5!important;letter-spacing:0!important}.c-features__img{max-width:100%}.z-journal-page header .logo,.z-journal-page header .brand{min-width:0}}
@media(max-height:700px) and (min-width:901px){.z-low-hero{min-height:650px!important;height:auto!important}.z-low-hero h1{max-width:100%;font-size:clamp(38px,5vw,70px)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.z-mobile-menu{display:none}.z-mobile-menu summary{cursor:pointer;min-height:44px;min-width:44px;padding:10px;border:1px solid currentColor;border-radius:999px;font-size:16px;background:var(--bg,#fff)}.z-mobile-menu nav{position:absolute;right:20px;top:100%;width:min(320px,calc(100vw - 40px));padding:16px;background:var(--bg,#fff);border:1px solid currentColor;z-index:100;box-shadow:0 10px 30px #0002}.z-mobile-menu nav a{display:block;padding:12px;font-size:16px;min-height:44px}.z-mobile-menu[open] summary{background:var(--paper,#fff)}@media(max-width:900px){.z-mobile-menu{display:block;margin-left:auto}}
.btns{min-width:0}.btns>a{box-sizing:border-box;max-width:100%;white-space:normal;overflow-wrap:break-word}@media(max-width:767px){.footer .fcta{grid-template-columns:1fr!important}.footer .fcta .btns{width:100%;justify-content:flex-start}}
.z-mobile-menu{position:relative;width:max-content}.z-mobile-menu nav{top:calc(100% + 12px);right:0}@media(max-width:900px){body>header.nav:has(.z-mobile-menu){display:flex;align-items:center;gap:16px}}
.z-mobile-menu{position:absolute;right:16px;top:50%;transform:translateY(-50%);z-index:102}.z-mobile-menu nav{max-height:calc(100dvh - 160px);overflow:auto}.z-mobile-menu summary{background:var(--z-bg,#fff);color:var(--z-ink,#222)}@media(max-width:900px){body>header:has(.z-mobile-menu){padding-right:116px!important}}

body>header.z-nav-collapsed{padding-right:116px!important}body>header.z-nav-collapsed>.z-mobile-menu{display:block}
.z-mobile-menu nav a{float:none!important;position:static!important;border-radius:0!important;white-space:normal!important;max-width:100%;margin:0!important}
@media(max-width:767px){.z-privacy-heading{font-size:clamp(22px,6.2vw,28px)!important;line-height:1.6!important;letter-spacing:0!important}}
.z-drawer-close{display:block;align-self:flex-end;margin:12px 16px 0 auto;min-height:44px;padding:8px 16px;background:transparent;border:1px solid currentColor;color:inherit;cursor:pointer;position:relative;flex:none;font-size:16px}
.c-ov>.z-drawer-close{position:absolute;top:12px;right:12px;margin:0;z-index:2;color:var(--ivory,#fff)}
.c-menu>.z-drawer-close,.sp-menu>.z-drawer-close{position:absolute;top:12px;right:12px;margin:0;z-index:100;color:inherit}
body.z-journal-page>header.z-light-header{background:var(--z-bg,#fff);color:var(--z-ink,#222);border-bottom:1px solid var(--z-line,#ddd)}
body.z-journal-page>header.z-light-header .zhd__inner{mix-blend-mode:normal;color:var(--z-ink,#222)}
body.z-journal-page>header.z-light-header nav:not([class*="menu"]) a,body.z-journal-page>header.z-light-header .zhd__inner a{color:var(--z-ink,#222)}
body.z-journal-page>header.z-light-header :is(.hd-tel,.c-hd__tel,.c-header__tel) *{color:var(--z-ink,#222)}
body.z-journal-page>header.z-light-header :is(.zhd__burger,.c-hd__burger) span{background:var(--z-ink,#222)}
body.z-journal-page.is-locked{overflow:hidden}
/* 全画面メニューを、ぼかし・変形付きヘッダーの寸法から切り離す。 */
@media(max-width:900px){
 body.z-mobile-open>header,body.z-mobile-open>header :has(nav){backdrop-filter:none!important;-webkit-backdrop-filter:none!important;filter:none!important;transform:none!important;perspective:none!important;contain:none!important;will-change:auto!important;overflow:visible!important}
 body.z-mobile-open>header nav{height:100dvh!important;min-height:100dvh!important;max-height:none!important;width:100vw!important;max-width:none!important;min-width:0!important;margin:0!important;box-sizing:border-box!important;justify-content:flex-start!important;top:0!important;left:0!important;right:0!important;bottom:0!important;overflow:auto!important;overscroll-behavior:contain;scroll-padding-top:88px}
 body.z-mobile-open>header nav{flex-wrap:nowrap!important}
 body.z-mobile-open.z-mobile-open>header nav{justify-content:flex-start!important;flex-wrap:nowrap!important}
 body.z-mobile-open>header nav a{flex-shrink:0!important}
 body.z-mobile-open>header nav ul{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;width:100%;margin:0;padding:0;gap:0}
 body.z-mobile-open>header nav li{width:100%;list-style:none}
 body.z-mobile-open>header .z-mobile-toggle{position:fixed!important;top:16px!important;right:16px!important;transform:none!important;z-index:10002!important}
}
.z-mobile-menu[open]>nav{display:block!important}
.z-mobile-panel{display:block!important;position:fixed!important;inset:auto 16px auto auto!important;top:var(--z-panel-top,80px)!important;width:min(320px,calc(100vw - 32px))!important;max-height:calc(100dvh - var(--z-panel-top,80px) - 16px)!important;box-sizing:border-box;padding:16px!important;margin:0!important;overflow:auto!important;overscroll-behavior:contain;background:var(--z-bg,#fff)!important;color:var(--z-ink,#222)!important;border:1px solid currentColor;box-shadow:0 10px 30px #0002;z-index:10030!important}
.z-mobile-panel a{display:block!important;float:none!important;position:static!important;inset:auto!important;transform:none!important;border-radius:0!important;white-space:normal!important;max-width:100%;margin:0!important;padding:12px!important;min-height:44px;font-size:16px!important;line-height:1.6!important;color:inherit!important;background:none!important}
@media(max-width:900px){
 body:has(:is(.dw,.c-drawer,.c-ov,#spnav,.sp-menu,.c-menu)[aria-hidden="false"]){overflow:hidden}
 :is(.dw,.c-drawer,.c-ov,#spnav,.sp-menu,.c-menu)[aria-hidden="false"]{z-index:10020!important}
 :is(.dw,.c-drawer,.c-ov,#spnav,.sp-menu,.c-menu)[aria-hidden="false"]>.z-drawer-close{position:fixed;top:16px;right:16px;z-index:3;margin:0;background:var(--paper,var(--ivory,#fff));color:var(--ink,#222)}
 body.is-menu-open:has(>header .menu-toggle){overflow:hidden}
 body.is-menu-open>header .site-nav{max-height:calc(100dvh - var(--z-menu-top,68px));overflow-y:auto;overscroll-behavior:contain}
}
/* 2026-10-11 追加：短い文言（見出し・ボタン・ラベル）は文節の切れ目だけで折る。iPhoneでも語の途中で折れない。印は zphrase.py が入れる */
[data-zp]{word-break:keep-all!important;overflow-wrap:break-word;line-break:strict}
.znb{white-space:nowrap}
p,li,dd,td{line-break:strict;text-wrap:pretty}
/* 手で改行を整えるための部品：z-nw＝この範囲は折らない／z-br-sp＝スマホだけ改行／z-br-pc＝PCだけ改行 */
.z-nw{white-space:nowrap}
.z-br-sp{display:none}
@media(max-width:767px){.z-br-sp{display:inline}.z-br-pc{display:none}}
/* zp-nested：data-zp の箱の中にある、印の無い別のブロック（長い段落など）には keep-all を引き継がせない。
   強さは0（:where）。サイト側・補正側の指定があれば、そちらが勝つ */
:where([data-zp]) :where(p,div,li,dd,dt,td,th,section,article,aside,figure,figcaption,blockquote,h1,h2,h3,h4,h5,h6,summary,details,button,form,address):where(:not([data-zp])){word-break:normal}
/* 値段の「円」は数字より小さく見せる（内田さんの決め・2026-10-07）。印は zyen.py が入れる。小さな文字の中でも10pxより小さくしない */
.z-yen{display:inline!important;font-size:max(.7em,10px);font-weight:inherit;letter-spacing:0;margin-left:.06em;white-space:nowrap;position:static!important;transform:none!important}

/* 実画面で確認したサイト固有の補正 */


/* 2026-10-11 追加の補正（local/sample49.css） */
/* sample49 暦の庭（介護付き有料老人ホーム）：サイト担当の補正（2026-10-11） */

/* 共通の補正CSSは body を16pxにする。このサイトは読む人が50〜60代なので、本文を17px（PCは18px）に保つ。
   ヘッダーの「文字サイズ 大」で html の基準を112.5%にしたときも rem で一緒に大きくなる */
html body{font-size:1.0625rem}
@media(min-width:769px){html body{font-size:1.125rem}}

/* 読みもの（一覧・記事）のボタンと選択中のカテゴリーを、サイトの主色（葡萄色）にそろえる */
/* 共通CSS（あとから読み込まれる）と同じ強さだと負けるので、html を付けて一段強くしている */
html .z-journal .z-journal-btn,html .z-journal .z-journal-search button{background:var(--z-accent);border-color:var(--z-accent);color:#fff}
.z-journal .z-journal-filterbar a[aria-current=true]{background:var(--z-accent);border-color:var(--z-accent);color:#fff}

/* 時刻・電話番号（nw）は途中で折らない。機械の折り返しの印（wbr）が中に入っても無効にする */
.nw{white-space:nowrap}
.nw wbr{display:none}

/* 読みもの（一覧・記事）は共通CSSが文字を px で決めているため、ヘッダーの「文字サイズ 大」が本文に効かない。
   大を選んだときは、読みものの枠ごと 1.125 倍にする（zoom が使えないブラウザでは標準の大きさのまま） */
html.fz-l .z-journal{zoom:1.125}

/* 「文字サイズ 大」のスマホ幅：金額の表（3列の介護保険の表など）が枠より広くなり、右の列が切れるのを防ぐ。
   大のときの文字（18px基準×0.88＝約15.8px）は、標準の表の文字（16px）とほぼ同じ */
@media(max-width:767px){
  html.fz-l .tbl--num td,html.fz-l .tbl--num th,html.fz-l .tbl--num td b,html.fz-l .tbl--num thead th{font-size:.88rem}
  html.fz-l .tbl--num th,html.fz-l .tbl--num td{padding-left:.1rem}
}

/* 2026-10-12 内田さん指示「このサイトの配色が微妙。https://kimochi-mental.com/client/home このサイトのような色合いにして」
   色の値そのものは、index.html と assets/css/_shared.css の :root と直書きを置き換えた（.brushup-20261011-claude\.claude-step9\recolor49.py）。
   生成り・葡萄色・琥珀・暗い帯 → 白〜薄い水色の地・紺の文字・青緑の主色・オレンジの差し色。
   上のほうに「葡萄色」と書いてある補正は、いまは青緑（--z-accent＝#0E7C86）で効いている。
   ここは、暗い帯を薄い水色の面にしたことで白いままでは読めなくなる文字と、帯そのもの・判の形の直し。 */
/* 暗い帯だった所（介護と看護の体制・フッター）の白い文字 → 紺 */
.care h2,.care-big,.sos h4,.care-h3,.mitori-num,.ft-logo b,body>footer.ft address a{color:var(--ink)}
.care .btn--line{color:var(--wine);background:#fff}
.care .btn--line:hover{color:#fff}
/* いちばん上の細い帯（住所・文字サイズ・電話）：葡萄色の地＋白い文字 → 薄い水色の面＋紺の文字。上の端に、青緑から桃色へ変わる細い線 */
.hd-util{background:linear-gradient(90deg,var(--aqua) 0%,var(--peach) 100%) left top/100% 3px no-repeat,var(--night-2);color:var(--ink)}
.hd-util .fz button{border-color:rgba(0,47,87,.5);color:var(--ink)}
.hd-util .fz button[aria-pressed="true"]{background:var(--accent-deep);border-color:var(--accent-deep);color:#fff}
.hd-util .hd-tel{color:var(--ink)}
body>header.hd{background:linear-gradient(90deg,var(--aqua) 0%,var(--peach) 100%) left top/100% 3px no-repeat,var(--bg)}
/* 下層ページの下の帯：葡萄色の地＋白い文字 → 薄い水色の面＋紺の文字。主のボタンは青緑の塗り、もう1つは白地に青緑の枠 */
.cta-band{background:linear-gradient(90deg,var(--aqua) 0%,var(--peach) 100%) left top/100% 4px no-repeat,var(--night-2);color:var(--ink)}
.cta-band p{opacity:1}
.cta-band .btn--light{background:var(--accent-deep);border-color:var(--accent-deep);color:#fff}
.cta-band .btn--light:hover{background:var(--wine-d);border-color:var(--wine-d)}
.cta-band .btn--line{background:#fff;border-color:var(--wine);color:var(--wine)}
.cta-band .btn--line:hover{background:var(--accent-deep);border-color:var(--accent-deep);color:#fff}
/* フッターを明るい面にしたので、白いロゴ（logo-white）は見えない。色つきのロゴ（src/logo.w160.webp）を同じ位置に出す。
   ロゴを作り直すときは logo.w160.webp を差し替えれば、ここにも出る */
.ft-logo{background:url(src/logo.w160.webp) left center/3rem 3rem no-repeat}
.ft-logo img{opacity:0}
/* 日めくりの札の上の帯：青緑から桃色へ */
.hero-cal::before{background:linear-gradient(90deg,var(--aqua) 0%,var(--peach) 100%)}
/* 月額試算書の右上の丸い判（斜めに押した印の形）→ ふつうの札にする（内田さん指示：ハンコのような飾りは使わない）。
   スマホ幅では元から出していない（display:none のまま） */
.seal{position:static;width:fit-content;height:auto;margin:.1rem 0 .7rem auto;padding:.3em 1em;border:0;border-radius:6px;background:#FDE9DC;color:var(--ink);font-family:var(--sans);font-size:1rem;line-height:1.5;transform:none;opacity:1}
.seal br{display:none}
@media(min-width:769px){.seal{display:block}}
/* 同じ理由で、丸い線の中に文字が入る形（献立表の曜日・入居までの流れの番号）は、線をやめて淡い塗りの札にする */
.menu li b{border:0;border-radius:6px;background:var(--sand)}
.lane-n{border:0;background:var(--night)}
/* 案内状の3つのアイコン（葡萄色と琥珀で描いた、地が透明の画像）：画像は作り直さず、表示のときだけ青緑（#0E7C86 相当）の1色にする。
   画像を新しい色で作り直したら、この1行は外す */
.give img{filter:brightness(0) saturate(100%) invert(37%) sepia(67%) saturate(527%) hue-rotate(137deg) brightness(92%) contrast(97%)}


/* 2026-10-12 内田さん指示「画像デザイン化してないサイトはすべて画像デザインして」。
   ヘッダーのロゴ（小さな印＋文字で組んだ屋号）を、印と屋号をひとまとまりにした画像 src/logo-lockup.webp に替えた。
   画像の作り方と入れ方＝.brushup-20261011-claude\.claude-step9\lockup.py */
img.z-lockup.z-lockup{display:block;height:52px!important;width:auto!important;max-width:min(62vw,157px)!important;object-fit:contain;object-position:left center;border-radius:0!important;background:none!important;box-shadow:none!important;padding:0!important;margin:0!important;filter:none;}
@media(max-width:767px){img.z-lockup.z-lockup{height:44px!important;max-width:min(60vw,134px)!important}}

/* 2026-10-13 見出しを Zen Maru Gothic にしたあと、WebKit（iPhone）だけ「4名の介護職員が／夜も館内に／います」と3行になった。
   数字の横の文の箱が「夜も館内にいます」の幅ちょうど（1px未満足りない）に縮むため。残りの幅まで広がれるようにする */
.care-big>span{flex:1 1 auto;min-width:0}

