/* ── 入院・ショートステイ（/hospitalization）本文 ── Onbit 2026-09-19
   本院トップ（onbit-top.css）の色・書体をそのまま使う。旧 CSS の要素セレクタ（ol li の decimal など）は .wg-hp 配下で打ち消す。 */
.wg-hp { font-family: var(--wg-sans); color: var(--wg-ink); font-size: 16px; line-height: 1.9; background: #fff; overflow-x: clip; }
.wg-hp * { box-sizing: border-box; }
.wg-hp img { max-width: 100%; height: auto; vertical-align: top; }
:where(.wg-hp) :is(h1, h2, h3, p, ul, ol, li, figure) { margin: 0; padding: 0; }
.wg-hp ul, .wg-hp ol { list-style: none; }
.wg-hp li { list-style: none; margin-left: 0; }
.wg-hp a { color: var(--wg-green-dark); }
.wg-hp-wrap { width: min(100% - 2.4rem, 1120px); margin-inline: auto; }
.wg-hp-sec { padding: clamp(52px, 7vw, 92px) 0; }
.wg-hp-sec--pale { background: var(--wg-green-pale); }
.wg-hp-pcbr { display: inline; }
@media (min-width: 641px) { .wg-hp-nw { white-space: nowrap; } } /* スマホでは語句単位の固定をやめる（360px で横にはみ出した） */

/* 見出しまわり */
.wg-hp-tag { display: inline-block; margin: 0 0 14px; padding: 5px 16px; border-radius: 999px; background: var(--wg-green); color: #fff; font-size: 13.5px; font-weight: 700; letter-spacing: .06em; }
.wg-hp-h2 { margin: 0 0 clamp(26px, 4vw, 40px); font-size: clamp(22px, 2.8vw, 32px); font-weight: 700; line-height: 1.55; letter-spacing: .02em; color: var(--wg-ink); text-wrap: balance; }
.wg-hp-h2 .wg-hp-u { display: block; width: 190px; margin: 12px 0 0; }
.wg-hp-h2--gap { margin-top: clamp(44px, 6vw, 72px); }
.wg-hp-h3 { margin: clamp(36px, 5vw, 56px) 0 12px; font-size: 20px; font-weight: 700; color: var(--wg-green-dark); }
.wg-hp .wg-hp-note { max-width: 46em; color: var(--wg-ink-soft); font-size: 15.5px; line-height: 2; }
.wg-hp .wg-hp-note.center { text-align: center; margin: -10px auto 30px; }
.wg-hp .wg-hp-note--box { margin-top: 22px; padding: 16px 20px; background: #fff; border: 1px solid var(--wg-line); border-radius: 14px; font-size: 14.5px; }
.wg-hp-small { display: block; margin-top: 8px; font-size: 13.5px; color: var(--wg-ink-soft); line-height: 1.8; }
.wg-hp-fact { display: inline-block; margin: -14px 0 24px; padding: 4px 14px; border-radius: 8px; background: #FFF6BF; color: #6b5300; font-size: 14px; font-weight: 700; }
.wg-hp-fact--inline { margin: 12px 0 0; }

/* ヒーロー */
.wg-hp-hero { background: var(--wg-hero-bg); padding: clamp(36px, 5vw, 64px) 0 clamp(40px, 6vw, 72px); }
.wg-hp-hero-grid { display: grid; grid-template-columns: 1fr minmax(260px, 400px); gap: clamp(28px, 5vw, 64px); align-items: center; }
.wg-hp-eyebrow { margin: 0 0 14px; font-size: 14px; letter-spacing: .08em; color: var(--wg-green-dark); font-weight: 700; }
.wg-hp-h1 { margin: 0 0 20px; font-size: clamp(24px, 2.9vw, 34px); font-weight: 700; line-height: 1.5; letter-spacing: .02em; color: var(--wg-ink); text-wrap: balance; }
.wg-hp .wg-hp-lead { max-width: 34em; font-size: 16px; line-height: 2; color: var(--wg-ink-soft); }
.wg-hp-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.wg-hp .wg-hp-jump a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border-radius: 999px; background: #fff; border: 1.5px solid var(--wg-green); color: var(--wg-green-dark); font-size: 14.5px; font-weight: 700; text-decoration: none; }
.wg-hp .wg-hp-jump a::after { content: "↓"; font-size: 13px; }
.wg-hp .wg-hp-jump a:hover { background: var(--wg-green); color: #fff; opacity: 1; }
.wg-hp-hero-fig img { width: 100%; border-radius: 14px; box-shadow: 0 14px 34px -18px rgba(40, 60, 40, .45); }

/* こんな時に */
.wg-hp-cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 980px; margin: 0 auto; }
.wg-hp-case { background: #fff; border: 1px solid var(--wg-line); border-radius: 20px; padding: 26px 20px 22px; text-align: center; }
.wg-hp-case img { width: auto; max-width: 100%; height: 180px; object-fit: contain; margin: 0 auto 16px; display: block; }
.wg-hp .wg-hp-case p { font-size: 17.5px; font-weight: 700; line-height: 1.6; color: var(--wg-ink); }
.wg-hp-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; max-width: 900px; margin: 30px auto 0; }
.wg-hp-chips li { padding: 8px 18px; border-radius: 999px; background: var(--wg-green-pale); color: var(--wg-green-dark); font-size: 14.5px; font-weight: 700; }

/* 選ばれる理由 */
.wg-hp-reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.wg-hp-reason { display: grid; grid-template-columns: 200px 1fr; gap: 20px; align-items: center; background: #fff; border-radius: 20px; padding: 20px; box-shadow: 0 8px 24px -18px rgba(30, 60, 40, .35); }
.wg-hp-reason-ph { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; }
.wg-hp .wg-hp-reason h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 18px; font-weight: 700; line-height: 1.5; color: var(--wg-green-dark); text-wrap: balance; }
.wg-hp-ic { width: 40px; height: 40px; flex: none; }
.wg-hp .wg-hp-reason p { font-size: 15px; line-height: 1.9; color: var(--wg-ink-soft); }
.wg-hp-reason--wide { grid-column: 1 / -1; grid-template-columns: 1fr; }
.wg-hp-meals { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.wg-hp-meals img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }

/* 手順 */
.wg-hp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.wg-hp-steps li { position: relative; background: #fff; border: 1px solid var(--wg-line); border-radius: 18px; padding: 24px 22px 22px; }
.wg-hp-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--wg-green); color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.wg-hp .wg-hp-steps h3 { margin: 0 0 8px; font-size: 17.5px; font-weight: 700; color: var(--wg-ink); line-height: 1.5; }
.wg-hp .wg-hp-steps p { font-size: 15px; line-height: 1.9; color: var(--wg-ink-soft); }
.wg-hp-steps--rows { grid-template-columns: 1fr; gap: 12px; max-width: 900px; }
.wg-hp-steps--rows li { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; align-items: start; padding: 18px 20px; }
.wg-hp-steps--rows .wg-hp-n { grid-row: 1 / 3; margin: 0; }
.wg-hp .wg-hp-steps--rows h3 { margin: 6px 0 4px; }

/* レスパイト */
.wg-hp-respite { display: grid; grid-template-columns: 1fr 220px; gap: 32px; align-items: center; margin-bottom: 26px; }
.wg-hp .wg-hp-respite-tx p { font-size: 15.5px; line-height: 2; max-width: 44em; }
.wg-hp .wg-hp-respite-tx p + p { margin-top: 12px; font-weight: 700; color: var(--wg-green-dark); }
.wg-hp-respite-ill { width: 100%; max-width: 220px; margin: 0 auto; display: block; }
.wg-hp-boxes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.wg-hp-boxes li { padding: 14px 16px; background: #fff; border-left: 4px solid var(--wg-green); border-radius: 10px; font-size: 14.5px; line-height: 1.8; }

/* ショートステイ */
.wg-hp-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.wg-hp-cmp { position: relative; background: #fff; border: 1px solid var(--wg-line); border-radius: 18px; padding: 24px 22px; }
.wg-hp-cmp--ours { border: 2px solid var(--wg-green); }
.wg-hp-badge { display: inline-block; margin-bottom: 10px; padding: 3px 12px; border-radius: 999px; background: var(--wg-green); color: #fff; font-size: 12.5px; font-weight: 700; }
.wg-hp-badge--ref { background: #EDEAE2; color: var(--wg-ink-soft); }
.wg-hp .wg-hp-cmp h3 { margin: 0 0 8px; font-size: 19px; font-weight: 700; color: var(--wg-ink); }
.wg-hp .wg-hp-cmp p { font-size: 15px; line-height: 1.9; color: var(--wg-ink-soft); }
.wg-hp-daily { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.wg-hp-daily img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }

/* 共通: 持ち物 / 暮らし / お支払い */
.wg-hp-bring { display: grid; grid-template-columns: 1fr 1.3fr; gap: 20px; }
.wg-hp-bring-box, .wg-hp-life-tx, .wg-hp-pay-box, .wg-hp-visit { background: #fff; border-radius: 18px; padding: 24px 24px 22px; }
.wg-hp .wg-hp-bring-box h3, .wg-hp .wg-hp-life-tx h3, .wg-hp .wg-hp-pay-box h3, .wg-hp .wg-hp-visit h3 { margin: 0 0 12px; font-size: 17px; font-weight: 700; color: var(--wg-green-dark); }
.wg-hp .wg-hp-bring-box li, .wg-hp .wg-hp-life-tx li { position: relative; padding-left: 1.3em; font-size: 15px; line-height: 1.9; }
.wg-hp .wg-hp-bring-box li::before, .wg-hp .wg-hp-life-tx li::before { content: ""; position: absolute; left: 0; top: .78em; width: .55em; height: .55em; border-radius: 50%; background: var(--wg-green); }
.wg-hp-life { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.wg-hp-life-ph { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wg-hp-life-ph img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; }
.wg-hp-pay { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; align-items: start; }
.wg-hp-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.wg-hp-table th, .wg-hp-table td { border: 1px solid var(--wg-line); padding: 10px 12px; text-align: left; vertical-align: top; line-height: 1.6; }
.wg-hp-table thead th { background: var(--wg-green-pale); color: var(--wg-green-dark); text-align: center; font-weight: 700; }
.wg-hp-table tbody th { background: #FAF8F2; white-space: nowrap; width: 5em; font-weight: 700; }
.wg-hp-visit { position: relative; display: grid; grid-template-columns: 1fr 120px; gap: 16px; }
.wg-hp-visit-hd { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
.wg-hp .wg-hp-visit-hd h3 { margin: 0; }
.wg-hp-visit-time { font-size: 22px; font-weight: 700; color: var(--wg-green-dark); font-variant-numeric: tabular-nums; }
.wg-hp-visit-time small { font-size: 13px; font-weight: 500; color: var(--wg-ink-soft); margin-left: 6px; }
.wg-hp .wg-hp-visit > p { font-size: 14.5px; line-height: 1.9; color: var(--wg-ink-soft); }
.wg-hp-visit-ill { width: 120px; align-self: end; }

/* お問い合わせ */
.wg-hp-cta { background: var(--wg-hero-bg); text-align: center; }
.wg-hp-cta .wg-hp-h2 .wg-hp-u { margin-inline: auto; }
.wg-hp-btns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 900px; margin: 0 auto; }
.wg-hp .wg-hp-btn, .wg-hp .wg-hp-btn:link, .wg-hp .wg-hp-btn:visited { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 12px 18px; border-radius: 999px; background: var(--wg-green); color: #fff; font-size: 16px; font-weight: 700; text-decoration: none; }
.wg-hp .wg-hp-btn:hover { background: var(--wg-green-dark); opacity: 1; }
.wg-hp .wg-hp-btn--ghost, .wg-hp .wg-hp-btn--ghost:link, .wg-hp .wg-hp-btn--ghost:visited { background: #fff; color: var(--wg-green-dark); border: 1.5px solid var(--wg-green); }
.wg-hp .wg-hp-btn--ghost:hover { background: var(--wg-green-pale); }
.wg-hp .wg-hp-btn--tel span { display: flex; flex-direction: column; line-height: 1.25; font-size: 12.5px; }
.wg-hp .wg-hp-btn--tel strong { font-size: 19px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.wg-hp .wg-hp-btn svg { width: 22px; height: 22px; flex: none; }

/* レスポンシブ */
@media (max-width: 900px) {
  .wg-hp-hero-grid { grid-template-columns: 1fr; }
  .wg-hp-hero-fig { max-width: 360px; margin: 0 auto; }
  .wg-hp-reasons { grid-template-columns: 1fr; }
  .wg-hp-meals { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wg-hp-life, .wg-hp-pay, .wg-hp-bring, .wg-hp-compare { grid-template-columns: 1fr; }
  .wg-hp-daily { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wg-hp-boxes { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wg-hp { font-size: 15px; }
  .wg-hp-pcbr { display: none; }
  .wg-hp-sec { padding: 52px 0; }
  .wg-hp-hero { padding: 28px 0 40px; }
  .wg-hp-hero-fig { max-width: 280px; }
  .wg-hp-h1 { font-size: 23px; }
  .wg-hp .wg-hp-lead { font-size: 15px; }
  .wg-hp-jump { flex-direction: column; }
  .wg-hp .wg-hp-jump a { justify-content: space-between; }
  .wg-hp-cases { grid-template-columns: 1fr; gap: 14px; }
  .wg-hp-case { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 14px; text-align: left; padding: 14px 16px; }
  .wg-hp-case img { height: 96px; margin: 0; }
  .wg-hp .wg-hp-case p { font-size: 16px; }
  .wg-hp .wg-hp-case p br { display: none; }
  .wg-hp-chips li { font-size: 13.5px; padding: 7px 14px; }
  .wg-hp-reason { grid-template-columns: 1fr; padding: 14px; }
  .wg-hp-meals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wg-hp-steps { grid-template-columns: 1fr; gap: 12px; }
  .wg-hp-respite { grid-template-columns: 1fr; }
  .wg-hp-respite-ill { max-width: 150px; }
  .wg-hp-boxes { grid-template-columns: 1fr; }
  .wg-hp-daily { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wg-hp-life-ph { grid-template-columns: 1fr 1fr; }
  .wg-hp-visit { grid-template-columns: 1fr; }
  .wg-hp-visit-ill { width: 110px; justify-self: end; margin-top: 6px; } /* 2026-09-19: 負のマージンで文章に重なっていた（さわ指摘） */
  .wg-hp-table { font-size: 13.5px; } .wg-hp-table th, .wg-hp-table td { padding: 8px 8px; }
  .wg-hp-btns { grid-template-columns: 1fr; }
  .wg-hp-h2 .wg-hp-u { width: 160px; }
}
