@charset "UTF-8";

/* ============================================
   みなも整形外科・リハビリテーションクリニック
   共通スタイル（index.html / medical.html）
   モバイルファースト / ブレークポイント 768px・1080px
   ============================================ */

:root {
  --blue: #1a6fb0;
  --blue-dark: #14567f;
  --blue-light: #e8f1f8;
  --teal: #2f9aab;
  --ink: #1c2b36;
  --ink-mid: #45596a;
  --ink-light: #6b8092;
  --line: #d9e4ec;
  --bg: #ffffff;
  --bg-soft: #f4f8fb;
  --alert: #c1443a;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 2px 16px rgba(26, 71, 110, .09);
  --shadow-lg: 0 8px 40px rgba(26, 71, 110, .14);
  --header-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  line-height: 1.5;
  margin: 0;
}
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--blue);
  color: #fff;
  padding: 10px 18px;
}
.skip-link:focus { left: 0; }

.container {
  width: min(100% - 40px, 1120px);
  margin-inline: auto;
}
.container-narrow { width: min(100% - 40px, 780px); }

/* ---------- ボタン ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue-light); }
.btn-tel { background: transparent; color: var(--ink); font-size: 17px; padding: 8px 12px; }
.btn-tel:hover { color: var(--blue); }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- ヘッダー ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(100% - 32px, 1240px);
  margin-inline: auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.logo-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  color: var(--blue);
  background: var(--blue-light);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.logo-mark svg { width: 22px; height: 22px; }
.logo-text { display: flex; flex-direction: column; }
.logo-name {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: .02em;
}
.logo-sub {
  font-size: 10px;
  line-height: 1.3;
  color: var(--ink-light);
  letter-spacing: .04em;
}

.hamburger {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  display: grid;
  place-content: center;
  gap: 6px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform .3s, opacity .2s;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.gnav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 8px 20px 28px;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  transform: translateY(-120%);
  transition: transform .3s ease;
  box-shadow: var(--shadow);
}
.gnav.is-open { transform: translateY(0); }
.gnav-list { list-style: none; }
.gnav-list a {
  display: block;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.gnav-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
.gnav-actions .btn { width: 100%; }

/* ---------- ヒーロー ---------- */

.hero { background: var(--bg-soft); }
.hero-media picture { display: block; }
.hero-media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: 50% 45%;
}
.hero-body {
  width: min(100% - 40px, 1120px);
  margin-inline: auto;
  padding: 28px 0 40px;
}
.hero-eyebrow {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: .04em;
  margin-bottom: 10px;
}
.hero-title {
  font-size: 27px;
  letter-spacing: .01em;
  margin-bottom: 16px;
}
.hero-lead { color: var(--ink-mid); }
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
}
.hero-hours {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.hero-hours > div {
  display: flex;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
}
.hero-hours > div:last-child { border-bottom: 0; }
.hero-hours dt {
  flex: 0 0 52px;
  font-weight: 700;
  font-size: 14px;
  color: var(--blue);
}
.hero-hours dd { margin: 0; font-size: 15px; white-space: nowrap; }

/* ---------- セクション共通 ---------- */

.section { padding: 56px 0; }
.section-symptoms, .section-first, .section-faq { background: var(--bg-soft); }

.section-head { margin-bottom: 32px; }
.section-sub {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--teal);
  margin-bottom: 6px;
}
.section-title {
  font-size: 24px;
  margin-bottom: 14px;
}
.section-desc { color: var(--ink-mid); margin-bottom: 0; }

/* ---------- 症状から探す ---------- */

.symptom-grid {
  list-style: none;
  display: grid;
  gap: 12px;
}
.symptom-card a {
  display: block;
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 20px 22px;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.symptom-card a:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.symptom-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue-light);
  color: var(--blue);
  margin-bottom: 12px;
}
.symptom-icon svg { width: 28px; height: 28px; }
.symptom-card h3 {
  font-size: 17px;
  margin-bottom: 6px;
}
.symptom-card p {
  font-size: 14px;
  color: var(--ink-light);
  line-height: 1.8;
  margin: 0;
}

/* ---------- 当院の特徴 ---------- */

.feature-list { display: grid; gap: 40px; }
/* 修正前（2026-07-22まで）: 切り抜きの基準が中央だったため、3枚目の理学療法士の頭が上で切れていた。
   3枚目は頭の先が写真の縦6%の位置にあるので、基準を5%まで上げて頭が入るようにした。
   高さは3枚とも210px（768px以上は300px）のまま揃えている
.feature-media img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
*/
/* 高さは210px → 250px（768px以上は300px → 380px）に変更。3枚とも同じ値 */
.feature-media img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: 50% 5%;
  border-radius: var(--radius-lg);
}
.feature-body { padding-top: 18px; }
.feature-num {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--teal);
  margin-bottom: 6px;
}
.feature-body h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
.feature-body p { color: var(--ink-mid); margin: 0; }

/* ---------- リハビリ ---------- */

.rehab-layout { display: grid; gap: 28px; }
.rehab-media { display: grid; gap: 12px; }
.rehab-media img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
}
.rehab-steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 20px;
}
.rehab-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 52px;
}
.rehab-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}
.rehab-steps h3 { font-size: 18px; margin-bottom: 6px; }
.rehab-steps p { color: var(--ink-mid); margin: 0; font-size: 15px; }

/* ---------- 初めての方へ ---------- */

.first-layout { display: grid; gap: 28px; }
.first-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.first-body {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 26px 22px;
}
.first-h3 {
  font-size: 18px;
  margin: 28px 0 12px;
  padding-left: 12px;
  border-left: 4px solid var(--blue);
}
.first-h3:first-child { margin-top: 0; }

.check-list { list-style: none; }
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: var(--ink-mid);
  font-size: 15px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .55em;
  width: 14px;
  height: 8px;
  border-left: 2.5px solid var(--blue);
  border-bottom: 2.5px solid var(--blue);
  transform: rotate(-45deg);
}

.flow-list { list-style: none; counter-reset: flow; }
.flow-list li {
  counter-increment: flow;
  position: relative;
  padding: 0 0 18px 26px;
  border-left: 2px solid var(--line);
  margin-left: 8px;
  font-size: 15px;
  color: var(--ink-mid);
}
.flow-list li:last-child { border-left-color: transparent; padding-bottom: 0; }
.flow-list li::before {
  content: counter(flow);
  position: absolute;
  left: -11px;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.flow-list li span {
  display: block;
  font-weight: 700;
  color: var(--ink);
  font-family: "Zen Kaku Gothic New", sans-serif;
}

/* ---------- 院長あいさつ ---------- */

.doctor-card {
  display: grid;
  gap: 24px;
  background: var(--blue-light);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
}
/* 修正前（2026-07-22まで）: 切り抜きの基準が中央だったため、スマホ幅で院長の顔が上に切れていた
.doctor-media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
}
*/
/* object-positionは一度 50% 8% にしたが、腕組みの下端（写真の縦58%あたり）が切れたため22%に変更。
   写真は頭の先が縦14%、腕組みの下端が縦58%の位置にあり、22%にすると表示枠がその両方を含む */
.doctor-media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: 50% 22%;
  border-radius: var(--radius);
}
.doctor-note {
  font-size: 12px;
  color: var(--ink-light);
  margin: 6px 0 0;
}
.doctor-body p { color: var(--ink-mid); }
.doctor-profile {
  margin: 20px 0 0;
  background: #fff;
  border-radius: var(--radius);
  padding: 16px 18px;
}
.doctor-profile > div {
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}
.doctor-profile > div:last-child { border-bottom: 0; }
.doctor-profile dt {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
}
.doctor-profile dd { margin: 2px 0 0; font-size: 15px; }

/* ---------- 診療時間・アクセス ---------- */

.access-layout { display: grid; gap: 32px; }
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
}
.hours-table caption {
  text-align: left;
  font-weight: 700;
  font-family: "Zen Kaku Gothic New", sans-serif;
  margin-bottom: 10px;
}
.hours-table th, .hours-table td {
  border: 1px solid var(--line);
  padding: 10px 4px;
  text-align: center;
}
.hours-table thead th { background: var(--blue); color: #fff; font-weight: 700; }
.hours-table tbody th {
  background: var(--bg-soft);
  white-space: nowrap;
  font-weight: 500;
  font-size: 13px;
}
.hours-table td { color: var(--blue); font-weight: 700; }
.hours-note {
  font-size: 14px;
  color: var(--ink-mid);
  margin-top: 12px;
}

.access-list { margin: 0 0 20px; }
.access-list > div {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.access-list dt { font-weight: 700; font-size: 14px; color: var(--blue); }
.access-list dd { margin: 0; font-size: 15px; }
.map-placeholder {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.map-placeholder svg { width: 100%; height: auto; display: block; font-family: "Noto Sans JP", sans-serif; }

/* ---------- FAQ ---------- */

.faq-list { display: grid; gap: 10px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 18px;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 700;
  font-family: "Zen Kaku Gothic New", sans-serif;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
}
.faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--blue);
  transition: transform .3s;
}
.faq-icon::before { inset: 8px 0; height: 2px; }
.faq-icon::after { inset: 0 8px; width: 2px; }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: scaleY(0); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}
.faq-a.is-open { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a p {
  padding: 0 18px 18px;
  margin: 0;
  color: var(--ink-mid);
  font-size: 15px;
}

/* ---------- 予約フォーム ---------- */

.reserve-form {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
}
.field { margin-bottom: 20px; border: 0; padding: 0; }
.field label, .field legend {
  display: block;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 8px;
  padding: 0;
}
.req {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--alert);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  vertical-align: 2px;
}
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field input[type="date"],
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
}
.field textarea { line-height: 1.8; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); }
.field-row { display: grid; gap: 0; }
.field-help {
  font-size: 13px;
  color: var(--ink-light);
  margin: 8px 0 0;
}

.radio-group { display: grid; gap: 10px; }
.field .radio, .field .checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  font-size: 15px;
  cursor: pointer;
  margin-bottom: 0;
}
.radio input, .checkbox input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--blue);
  flex-shrink: 0;
}

.error {
  color: var(--alert);
  font-size: 13px;
  font-weight: 700;
  margin: 6px 0 0;
  display: none;
}
.error.is-shown { display: block; }
.is-invalid input, .is-invalid select, .is-invalid textarea { border-color: var(--alert); }

.form-note {
  font-size: 13px;
  color: var(--ink-light);
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 18px;
}
.form-done {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--blue-light);
  border: 1px solid var(--blue);
  color: var(--blue-dark);
  font-weight: 700;
  font-size: 15px;
}

/* ---------- フッター ---------- */

/* 修正前（2026-07-22まで）: 固定の電話ボタンを避けるためmargin-bottomで72px空けており、
   フッターの下に白い帯が残っていた。paddingで内側に余白を取る形に変更
.site-footer {
  background: var(--ink);
  color: #dbe6ee;
  padding: 40px 0 24px;
  margin-bottom: 72px;
}
*/
.site-footer {
  background: var(--ink);
  color: #dbe6ee;
  padding: 40px 0 96px;
}
.footer-inner { display: grid; gap: 28px; }
.footer-name {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  margin-bottom: 10px;
}
.footer-address { font-size: 14px; margin-bottom: 8px; }
.footer-tel a {
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  text-decoration: none;
}
.footer-nav ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
}
.footer-nav a {
  color: #dbe6ee;
  text-decoration: none;
  font-size: 14px;
}
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-disclaimer {
  width: min(100% - 40px, 1120px);
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  font-size: 12px;
  color: #9fb3c2;
  line-height: 1.8;
}

/* ---------- スマホ固定の電話ボタン ---------- */

.fab-tel {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
}
.fab-tel svg { width: 24px; height: 24px; }

/* ---------- 下層ページ ---------- */

.page-head {
  background: var(--blue-light);
  padding: 28px 0 30px;
}
.breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-light);
  margin-bottom: 14px;
}
.breadcrumb li::after { content: "›"; margin-left: 8px; color: var(--ink-light); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--ink-mid); }
.page-title { font-size: 26px; margin-bottom: 12px; }
.page-lead { color: var(--ink-mid); margin: 0; }

.page-body { padding: 40px 0 56px; }
.page-layout { display: grid; gap: 32px; }

.toc {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.toc h2 {
  font-size: 15px;
  letter-spacing: .06em;
  margin-bottom: 12px;
  color: var(--blue);
}
.toc ul { list-style: none; }
.toc li { border-bottom: 1px solid var(--line); }
.toc li:last-child { border-bottom: 0; }
.toc a {
  display: block;
  padding: 11px 0;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
}
.toc a:hover { color: var(--blue); }

.disease {
  padding-bottom: 36px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.disease:last-of-type { border-bottom: 0; }
.disease-title {
  font-size: 22px;
  padding-bottom: 12px;
  margin-bottom: 8px;
  border-bottom: 3px solid var(--blue);
}
.disease-lead { color: var(--ink-mid); }
.disease-figure { margin: 20px 0; }
.disease-figure img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: 50% 32%;
  border-radius: var(--radius);
}
.disease-figure figcaption {
  font-size: 12px;
  color: var(--ink-light);
  margin-top: 8px;
}
.disease h4 {
  font-size: 16px;
  color: var(--blue-dark);
  margin: 22px 0 8px;
}
.disease ul { list-style: none; }
.disease ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  color: var(--ink-mid);
  font-size: 15px;
}
.disease ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .78em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.callout {
  background: var(--blue-light);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-top: 32px;
}
.callout h3 { font-size: 18px; margin-bottom: 10px; }
.callout p { color: var(--ink-mid); font-size: 15px; }
.callout .btn { margin-top: 8px; }

/* ---------- スクロール演出 ---------- */

.fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-up.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ============================================
   768px 以上（タブレット・PC）
   ============================================ */

@media (min-width: 768px) {
  :root { --header-h: 76px; }

  body { font-size: 16px; }

  .hamburger { display: none; }

  .header-inner { gap: 24px; }
  .logo-mark { width: 42px; height: 42px; }
  .logo-mark svg { width: 26px; height: 26px; }
  .logo-name { font-size: 19px; }
  .logo-sub { font-size: 11px; }

  .gnav {
    position: static;
    display: flex;
    align-items: center;
    gap: 20px;
    transform: none;
    padding: 0;
    max-height: none;
    overflow: visible;
    box-shadow: none;
    border-bottom: 0;
    background: transparent;
    flex: 1;
    justify-content: flex-end;
  }
  .gnav-list { display: flex; gap: 18px; }
  .gnav-list a {
    padding: 6px 0;
    border-bottom: 0;
    font-size: 14px;
    position: relative;
  }
  .gnav-list a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transition: transform .25s;
  }
  .gnav-list a:hover::after { transform: scaleX(1); }
  .gnav-actions {
    flex-direction: row;
    align-items: center;
    margin-top: 0;
    gap: 8px;
  }
  .gnav-actions .btn { width: auto; }

  /* ヒーロー */
  .hero {
    position: relative;
    display: grid;
  }
  .hero-media { grid-area: 1 / 1; }
  .hero-media img { height: 520px; object-position: 65% 50%; }
  .hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(255, 255, 255, .97) 0%, rgba(255, 255, 255, .93) 42%, rgba(255, 255, 255, .35) 66%, rgba(255, 255, 255, 0) 82%);
  }
  .hero-body {
    grid-area: 1 / 1;
    position: relative;
    z-index: 1;
    align-self: center;
    padding: 40px 0;
    max-width: 620px;
    margin-right: auto;
    margin-left: max(20px, calc(50% - 560px));
  }
  .hero-title { font-size: 40px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { flex-direction: row; }
  /* 修正前（2026-07-22まで）: dtの固定幅52pxとgap28pxで中身が665px必要になり、枠(620px)からはみ出していた
  .hero-hours { display: flex; gap: 28px; padding: 14px 22px; }
  */
  .hero-hours { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 14px 22px; }
  .hero-hours > div { border-bottom: 0; padding: 0; align-items: baseline; }
  .hero-hours dt { flex: 0 0 auto; }

  /* セクション */
  .section { padding: 84px 0; }
  .section-head { margin-bottom: 44px; text-align: center; }
  .section-title { font-size: 30px; }
  /* 修正前（2026-07-22まで）: リハビリの説明文が1行に777px必要で、上限720pxでは2行になっていた
  .section-desc { max-width: 720px; margin-inline: auto; }
  */
  .section-desc { max-width: 820px; margin-inline: auto; }

  .symptom-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }

  .feature-list { gap: 64px; }
  .feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: center;
  }
  .feature:nth-child(even) .feature-media { order: 2; }
  /* 修正前（2026-07-22まで）: 高さが足りず写真が小さく見えたため380pxに変更
  .feature-media img { height: 300px; }
  */
  .feature-media img { height: 380px; }
  .feature-body { padding-top: 0; }
  .feature-body h3 { font-size: 23px; }

  .rehab-layout { grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
  .rehab-media img { height: 230px; }

  .first-layout { grid-template-columns: 340px 1fr; gap: 40px; align-items: start; }
  .first-media img { height: 420px; position: sticky; top: calc(var(--header-h) + 20px); }
  .first-body { padding: 34px 36px; }

  .doctor-card { grid-template-columns: 300px 1fr; gap: 40px; padding: 44px 44px; align-items: start; }
  .doctor-media img { height: 320px; }
  .doctor-body .section-title { text-align: left; margin-bottom: 18px; }
  .doctor-body .section-sub { text-align: left; }

  .access-layout { grid-template-columns: 1fr 1fr; gap: 44px; }
  .access-layout .map-placeholder { grid-column: 1 / -1; }
  .hours-table { font-size: 15px; }
  .hours-table th, .hours-table td { padding: 14px 8px; }

  .field-row { grid-template-columns: 1fr 1fr; gap: 20px; }
  .radio-group { grid-auto-flow: column; justify-content: start; gap: 28px; }
  .reserve-form { padding: 40px 40px; }

  .footer-inner { grid-template-columns: 1fr auto; align-items: start; }
  .footer-nav ul { grid-template-columns: 1fr 1fr; gap: 10px 40px; }
  /* 修正前（2026-07-22まで）: ベース側のmargin-bottom: 72pxを打ち消していた
  .site-footer { margin-bottom: 0; }
  */
  .site-footer { padding-bottom: 24px; }

  .fab-tel { display: none; }

  /* 下層ページ */
  .page-head { padding: 40px 0 44px; }
  .page-title { font-size: 34px; }
  .page-layout { grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
  .toc { position: sticky; top: calc(var(--header-h) + 20px); }
  .disease-figure img { height: 280px; }
  .disease-title { font-size: 25px; }
}

/* ============================================
   1080px 以上
   ============================================ */

@media (min-width: 1080px) {
  .hero-title { font-size: 46px; }
  .hero-media img { height: 580px; }
  .gnav-list { gap: 24px; }
  .gnav-list a { font-size: 15px; }
}
