/* =========================================================
   はせがわ整形外科クリニック デイケア 特設ページ
   見本：きたえるーむ（明るいポップな雰囲気・青のタブメニュー・色分けタイル・オレンジの流れ図）
   スマホ優先で作り、画面が広くなったらPC向けに並べ替える
   文字は大きめ（高齢の方・ご家族が読みやすいように）
   ========================================================= */

:root {
  --blue: #1f5fbf;
  --blue-deep: #143f8a;
  --blue-light: #e8f3fd;
  --sky: #2e8be0;
  --orange: #f27a00;
  --orange-deep: #d45f00;
  --orange-light: #fff1df;
  --yellow: #ffd23f;
  --red: #e8383d;
  --green: #59a832;
  --green-deep: #3f8420;
  --pink: #ef6f97;
  --pink-deep: #d24a76;
  --text: #333;
  --text-sub: #5a5a5a;
  --line: #dfe6ee;
  --bg: #ffffff;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 60px; }
@media (min-width: 900px) { html { scroll-padding-top: 70px; } }

body {
  margin: 0;
  font-family: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.85;
  color: var(--text);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  padding-bottom: 76px; /* スマホの固定ボタン分 */
}
@media (min-width: 900px) { body { font-size: 18px; padding-bottom: 0; } }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { line-height: 1.45; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; }

.wrap { max-width: 1000px; margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px; }
.sp { display: inline; }
@media (min-width: 768px) { .sp { display: none; } }

/* ---------- 写真の仮置き（差し替えるまでの目印） ---------- */
.ph {
  position: relative; display: block;
  background: repeating-linear-gradient(45deg, #eef4fb, #eef4fb 12px, #e2ecf7 12px, #e2ecf7 24px);
  overflow: hidden;
}
.ph-label {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  padding: 12px; text-align: center; font-size: 13px; line-height: 1.5; color: #6f8bb0;
}
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph.has-photo { background: #ddd; }
.ph.has-photo img { position: absolute; inset: 0; }

/* 写真ができるまでのイラスト表示 */
.ph.ph-icon {
  background: linear-gradient(160deg, #eaf4fe, #fff3e3);
}
.ph .ph-ico {
  position: absolute; object-fit: contain; left: 50%; top: 44%; transform: translate(-50%, -50%);
  width: clamp(48px, 34%, 130px); height: auto; padding: 10px;
  background: #fff; border-radius: 50%; box-shadow: 0 2px 8px rgba(31,95,191,.12);
}
.tile .ph-ico { display: none; }
.ph.ph-icon .ph-label {
  inset: auto 0 6px 0; font-size: 11px; color: #7a8ea8; letter-spacing: .05em;
}
/* メイン画像：写真の上の文字を読みやすく（左側を少し白く） */
.slide .has-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.15) 45%, transparent 65%);
}
.slide .ph-ico { display: none; }
@media (min-width: 600px) { .slide .ph-ico { display: block; left: auto; right: 22%; top: 50%; transform: translateY(-50%); width: 180px; padding: 22px; } }
.menu-grid .ph-ico { top: 40%; width: 44%; padding: 8px; }

/* 要確認の目印（公開前に消す） */
.todo { display: inline-block; margin-left: 6px; padding: 0 8px; background: #fff59d; color: #8a6d00; font-size: 13px; border-radius: 4px; font-weight: 500; }

/* 色分け（タイル・カード共通） */
.c-orange { --c: var(--orange); --c-deep: var(--orange-deep); --c-light: var(--orange-light); }
.c-blue   { --c: var(--sky);    --c-deep: var(--blue);        --c-light: var(--blue-light); }
.c-green  { --c: var(--green);  --c-deep: var(--green-deep);  --c-light: #edf7e6; }
.c-pink   { --c: var(--pink);   --c-deep: var(--pink-deep);   --c-light: #fdeef3; }

/* =========================================================
   ヘッダー
   ========================================================= */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.header-tagline { display: none; font-size: 12px; color: var(--text-sub); text-align: right; padding-top: 4px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 8px; padding-bottom: 8px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; min-width: 0; }
.logo img { height: 30px; width: auto; }
.logo-day {
  font-weight: 800; color: #fff; background: var(--orange); border-radius: 6px;
  padding: 2px 8px; font-size: 15px; line-height: 1.25; text-align: center; white-space: nowrap;
}
.logo-day small { display: none; font-size: 10px; font-weight: 700; }
.header-tel { display: none; }

@media (min-width: 900px) {
  .site-header { position: static; box-shadow: none; }
  .header-tagline { display: block; }
  .header-inner { padding-top: 4px; padding-bottom: 12px; }
  .logo img { height: 46px; }
  .logo-day { font-size: 20px; padding: 4px 12px; }
  .logo-day small { display: block; }
  .header-tel {
    display: flex; align-items: stretch; text-decoration: none; border-radius: 8px; overflow: hidden;
    border: 2px solid var(--red); box-shadow: 0 3px 0 rgba(0,0,0,.12);
  }
  .header-tel-label {
    background: linear-gradient(180deg, #ff5a5f, var(--red)); color: #fff; font-weight: 800;
    font-size: 14px; line-height: 1.4; padding: 8px 12px; display: flex; align-items: center;
  }
  .header-tel-body { padding: 4px 14px; background: #fff; display: flex; flex-direction: column; justify-content: center; }
  .header-tel-num { color: var(--red); font-weight: 800; font-size: 24px; line-height: 1.2; }
  .header-tel-time { color: var(--text-sub); font-size: 12px; }
}

/* タブ型メニュー（青のグラデーション） */
.tab-nav { background: linear-gradient(180deg, #3f80d6 0%, var(--blue) 55%, var(--blue-deep) 100%); }
.tab-nav ul { display: grid; grid-template-columns: repeat(3, 1fr); padding-left: 0; padding-right: 0; }
.tab-nav li { border-right: 1px solid rgba(255,255,255,.25); border-bottom: 1px solid rgba(255,255,255,.25); }
.tab-nav li:nth-child(3n) { border-right: none; }
.tab-nav a {
  display: flex; align-items: center; justify-content: center; text-align: center; height: 48px; line-height: 1.25;
  color: #fff; text-decoration: none; font-weight: 800; font-size: 14px; text-shadow: 0 1px 1px rgba(0,0,0,.3);
}
.tab-nav a:hover, .tab-nav a:focus-visible { background: rgba(255,255,255,.15); }
@media (min-width: 900px) {
  .tab-nav { position: sticky; top: 0; z-index: 50; }
  .tab-nav ul { grid-template-columns: repeat(6, 1fr); }
  .tab-nav li { border-bottom: none; border-right: 1px solid rgba(255,255,255,.25); }
  .tab-nav li:nth-child(3n) { border-right: 1px solid rgba(255,255,255,.25); }
  .tab-nav li:first-child { border-left: 1px solid rgba(255,255,255,.25); }
  .tab-nav a { height: 54px; font-size: 16px; }
}

/* =========================================================
   メインビジュアル（横スライド）
   ========================================================= */
.hero { position: relative; margin-top: 12px; padding-left: 0; padding-right: 0; }
@media (min-width: 1000px) { .hero { padding-left: 16px; padding-right: 16px; } }

.slides {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.slides::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; }
@media (min-width: 1000px) { .slides { border-radius: 10px; } }

.hero-visual { aspect-ratio: 4 / 3; }
.hero-visual .ph-label { align-items: flex-end; padding-bottom: 16px; }
.slide-hint { text-align: center; font-size: 12px; color: var(--text-sub); margin-top: 4px; }

.hero-copy { position: absolute; top: 14px; left: 16px; right: 110px; }
.hero-title { font-weight: 800; color: var(--blue-deep); line-height: 1.2; margin-bottom: 8px; }
.hero-name, .hero-kind {
  display: inline-block; font-size: 13px; background: rgba(255,255,255,.9); padding: 1px 8px; border-radius: 4px;
}
.hero-day {
  display: block; font-size: 40px; color: var(--orange); margin: 4px 0;
  text-shadow: 3px 3px 0 #fff, -3px -3px 0 #fff, 3px -3px 0 #fff, -3px 3px 0 #fff, 0 3px 0 #fff, 0 -3px 0 #fff, 3px 0 0 #fff, -3px 0 0 #fff, 0 6px 8px rgba(0,0,0,.2);
}
.hero-catch {
  font-weight: 800; font-size: 28px; line-height: 1.3; color: #fff;
  text-shadow: 2px 2px 0 var(--blue-deep), -2px -2px 0 var(--blue-deep), 2px -2px 0 var(--blue-deep), -2px 2px 0 var(--blue-deep), 0 2px 0 var(--blue-deep), 0 -2px 0 var(--blue-deep), 2px 0 0 var(--blue-deep), -2px 0 0 var(--blue-deep);
}
.hero-catch em { color: var(--yellow); }
.hero-lead {
  display: inline-block; margin-top: 8px; font-weight: 800; font-size: 14px; line-height: 1.5;
  background: var(--blue); color: #fff; padding: 4px 10px; border-radius: 4px;
}

/* 丸いバッジ */
.hero-badge, .hero-entry {
  position: absolute; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  text-align: center; font-weight: 800; line-height: 1.25; color: #fff; text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,.2); border: 3px solid #fff; z-index: 3;
}
.hero-badge { right: 12px; top: 12px; width: 88px; height: 88px; background: var(--green); font-size: 12px; }
.hero-badge b { font-size: 24px; }
.hero-entry { right: 12px; bottom: 40px; width: 104px; height: 104px; background: radial-gradient(circle at 30% 30%, #ff8db0, var(--pink-deep)); font-size: 12px; }
.hero-entry b { font-size: 26px; color: var(--yellow); }
.hero-entry:hover { transform: scale(1.04); }

@media (min-width: 600px) {
  .hero-visual { aspect-ratio: 16 / 9; }
  .hero-copy { top: 28px; left: 32px; right: 180px; }
  .hero-name, .hero-kind { font-size: 15px; }
  .hero-day { font-size: 56px; }
  .hero-catch { font-size: 40px; }
  .hero-lead { font-size: 17px; }
  .hero-badge { width: 112px; height: 112px; font-size: 14px; right: 24px; top: 24px; }
  .hero-badge b { font-size: 30px; }
  .hero-entry { width: 140px; height: 140px; font-size: 15px; right: 24px; bottom: 48px; }
  .hero-entry b { font-size: 34px; }
}
@media (min-width: 1000px) {
  .hero-copy { left: 36px; top: 40px; }
  .hero-badge { right: 44px; }
  .hero-entry { right: 44px; }
}

/* タイルメニュー（色分けの大きなボタン） */
.tiles { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile {
  position: relative; display: block; min-height: 120px; border-radius: 10px; overflow: hidden;
  background: linear-gradient(160deg, var(--c), var(--c-deep)); text-decoration: none; color: #fff;
  box-shadow: 0 4px 0 rgba(0,0,0,.15); padding: 10px 12px;
}
.tile:hover { transform: translateY(2px); box-shadow: 0 2px 0 rgba(0,0,0,.15); }
.tile-label {
  position: relative; z-index: 2; display: block; font-weight: 800; font-size: 22px; line-height: 1.15;
  text-shadow: 2px 2px 0 var(--c-deep), -2px -2px 0 var(--c-deep), 2px -2px 0 var(--c-deep), -2px 2px 0 var(--c-deep);
}
.tile-sub {
  position: relative; z-index: 2; display: inline-block; margin-top: 8px; font-size: 11px; font-weight: 700; line-height: 1.5;
  background: #fff; color: var(--c-deep); border-radius: 999px; padding: 1px 8px;
}
.tile-photo { position: absolute; right: 0; top: 0; bottom: 0; width: 40%; opacity: .55; }
.tile::after { content: "›"; position: absolute; right: 8px; bottom: 2px; z-index: 2; font-size: 28px; font-weight: 800; }
@media (min-width: 768px) {
  .tiles { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .tile { min-height: 150px; padding: 14px; }
  .tile-label { font-size: 27px; }
  .tile-sub { font-size: 12px; }
}

/* =========================================================
   セクション共通
   ========================================================= */
.section { margin-top: 48px; }
@media (min-width: 900px) { .section { margin-top: 64px; } }

/* 青い見出しバー */
.bar-title {
  position: relative; color: #fff; font-size: 20px; font-weight: 800;
  background: linear-gradient(180deg, #3f80d6, var(--blue));
  border-radius: 6px; padding: 10px 14px 10px 30px; margin-bottom: 20px;
  text-shadow: 0 1px 1px rgba(0,0,0,.25);
}
.bar-title::before {
  content: ""; position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 8px; height: 60%; border-radius: 4px; background: var(--yellow);
}
@media (min-width: 900px) { .bar-title { font-size: 24px; padding: 12px 18px 12px 36px; } }

/* 小見出し（オレンジの下線） */
.sub-title {
  font-size: 20px; font-weight: 800; color: var(--blue-deep); margin: 28px 0 14px;
  padding-bottom: 6px; border-bottom: 3px dotted var(--orange);
}
.sub-title.center { text-align: center; border-bottom: none; }
.sub-title em { color: var(--orange-deep); }
@media (min-width: 768px) { .sub-title { font-size: 23px; } }

.sec-lead { margin-bottom: 18px; }
.sec-lead b { color: var(--orange-deep); }
.sec-note { margin-top: 16px; font-size: 15px; color: var(--text-sub); }

/* ---------- デイケアとは？ ---------- */
.greeting { display: grid; gap: 16px; }
.greeting-photo { aspect-ratio: 3 / 4; max-width: 220px; border-radius: 10px; margin: 0 auto; width: 100%; }
.greeting-body .sub-title { margin-top: 0; }
.greeting-body p + p { margin-top: 12px; }
.greeting-sign { text-align: right; font-weight: 700; }
@media (min-width: 768px) {
  .greeting { grid-template-columns: 220px 1fr; gap: 28px; align-items: start; }
}

.promises { display: grid; gap: 12px; }
.promises li {
  position: relative; background: var(--c-light); border: 3px solid var(--c); border-radius: 12px; padding: 14px 14px 14px 70px;
}
.promise-num {
  position: absolute; left: 12px; top: 14px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--c); color: #fff; font-weight: 800; font-size: 20px; display: flex; align-items: center; justify-content: center;
}
.promises h4 { color: var(--c-deep); font-size: 19px; font-weight: 800; margin-bottom: 4px; }
.promises p:not(.promise-num) { font-size: 15px; }
@media (min-width: 768px) { .promises { grid-template-columns: 1fr 1fr; gap: 16px; } .promises h4 { font-size: 21px; } }

/* ---------- 一日の流れ（オレンジの流れ図） ---------- */
.time-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
.time-card { text-align: center; border-radius: 10px; padding: 10px 6px; background: #fff; border: 3px solid var(--blue); }
.time-label { display: inline-block; background: var(--blue); color: #fff; font-weight: 800; font-size: 14px; border-radius: 999px; padding: 0 12px; }
.time-range { font-size: 24px; font-weight: 800; color: var(--blue-deep); line-height: 1.4; margin-top: 4px; }
@media (min-width: 768px) { .time-cards { max-width: 600px; } .time-range { font-size: 30px; } }

.timeline { counter-reset: step; }
.timeline > li {
  position: relative; display: grid; grid-template-columns: 1fr; gap: 10px;
  padding: 14px 14px 14px 72px; background: var(--blue-light); border-bottom: 2px solid #fff; min-height: 76px;
}
.timeline > li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 58px; background: var(--orange); }
.timeline > li::after {
  counter-increment: step; content: counter(step);
  position: absolute; left: 9px; top: 14px; width: 40px; height: 40px; border-radius: 50%;
  background: #fff; color: var(--orange); font-weight: 800; font-size: 20px;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 3px var(--yellow);
}
.timeline > li:first-child, .timeline > li:first-child::before { border-top-left-radius: 10px; }
.timeline > li:first-child { border-top-right-radius: 10px; }
.timeline > li:last-child, .timeline > li:last-child::before { border-bottom-left-radius: 10px; }
.timeline > li:last-child { border-bottom-right-radius: 10px; }
.tl-photo { aspect-ratio: 5 / 2; border-radius: 6px; order: 2; }
.tl-body { order: 1; }
.timeline h3 { color: var(--blue); font-size: 21px; font-weight: 800; }
.timeline p { font-size: 15px; }
@media (min-width: 768px) {
  .timeline > li { grid-template-columns: 200px 1fr; gap: 20px; align-items: center; padding: 18px 24px 18px 110px; }
  .timeline > li.tl-wide { grid-template-columns: 1fr; }
  .timeline > li::before { width: 86px; }
  .timeline > li::after { left: 18px; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; font-size: 24px; }
  .timeline > li.tl-wide::after { top: 22px; transform: none; }
  .tl-photo { order: 0; aspect-ratio: 4 / 3; }
  .timeline h3 { font-size: 25px; }
  .timeline p { font-size: 17px; }
}

/* 個別メニューの写真ボタン */
.menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 10px; }
.menu-grid a {
  display: block; position: relative; border-radius: 8px; overflow: hidden; text-decoration: none; background: #fff;
  border: 2px solid var(--sky);
}
.menu-grid .ph { aspect-ratio: 4 / 3; }
.menu-grid b {
  position: absolute; left: 0; right: 0; bottom: 0; text-align: center; color: #fff; font-weight: 800; font-size: 15px; line-height: 1.3;
  padding: 6px 4px; background: linear-gradient(transparent, rgba(20,63,138,.9) 35%);
  text-shadow: 0 1px 2px rgba(0,0,0,.4);
}
.menu-grid a::after {
  content: "詳しく›"; position: absolute; right: 0; top: 0; background: var(--sky); color: #fff; font-size: 11px; font-weight: 800;
  padding: 2px 6px; border-bottom-left-radius: 6px;
}
@media (min-width: 600px) { .menu-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; } .menu-grid b { font-size: 18px; } }
.note-strong { margin-top: 14px; font-weight: 800; color: var(--red); font-size: 15px; }

/* ---------- プログラム紹介 ---------- */
.programs { display: grid; gap: 16px; }
.program { border: 2px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.program-photo { aspect-ratio: 16 / 9; }
.program-body { padding: 14px 16px 16px; }
.program h3 { display: flex; align-items: center; gap: 10px; color: var(--blue-deep); font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.program-icon {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--c); color: #fff;
  font-size: 16px; display: flex; align-items: center; justify-content: center;
}
.program-body > p { font-size: 15px; }
.program-for { margin-top: 10px; background: var(--orange-light); border-radius: 8px; padding: 8px 12px; }
.program-for li { position: relative; padding-left: 20px; font-size: 14px; font-weight: 700; color: var(--orange-deep); }
.program-for li::before { content: "●"; position: absolute; left: 0; font-size: 10px; top: .55em; }
@media (min-width: 768px) {
  .programs { grid-template-columns: 1fr 1fr; gap: 20px; }
  .program h3 { font-size: 24px; }
  .program-body > p { font-size: 16px; }
}

/* ---------- こんな方におすすめ ---------- */
.worries-box { background: var(--orange-light); border: 3px dashed var(--orange); border-radius: 12px; padding: 18px 14px; }
.check-list { display: grid; gap: 10px; }
.check-list li { position: relative; background: #fff; border-radius: 8px; padding: 10px 12px 10px 46px; font-weight: 700; line-height: 1.6; }
.check-list li::before {
  content: "✓"; position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 4px; background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800;
}
.worries-answer { margin-top: 18px; text-align: center; font-size: 21px; font-weight: 800; color: var(--blue-deep); line-height: 1.5; }
.worries-answer em { color: var(--red); background: linear-gradient(transparent 60%, var(--yellow) 60%); }
@media (min-width: 768px) {
  .worries-box { padding: 28px 32px; }
  .check-list { grid-template-columns: 1fr 1fr; }
  .worries-answer { font-size: 26px; }
}

.data-cards { display: grid; gap: 14px; margin-top: 20px; }
.data-card { border: 3px solid var(--c); border-radius: 12px; overflow: hidden; background: #fff; }
.data-card h3 { background: var(--c); color: #fff; font-size: 18px; font-weight: 800; padding: 8px 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px; }
.tags li { background: var(--c-light); color: var(--c-deep); border-radius: 999px; padding: 2px 12px; font-size: 15px; font-weight: 700; }
.data-note { font-size: 13px; color: var(--text-sub); padding: 0 14px 14px; }
@media (min-width: 768px) { .data-cards { grid-template-columns: 1fr 1fr; } }

/* ---------- 利用するには ---------- */
.yesno { background: var(--blue-light); border-radius: 12px; padding: 18px 14px; text-align: center; }
.yesno-q { font-size: 21px; font-weight: 800; color: var(--blue-deep); line-height: 1.5; }
.yesno-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px auto 10px; max-width: 520px; }
.yesno-btn {
  display: block; border-radius: 12px; color: #fff; text-decoration: none; font-weight: 800; font-size: 14px; padding: 10px 6px;
  box-shadow: 0 4px 0 rgba(0,0,0,.15);
}
.yesno-btn b { display: block; font-size: 30px; line-height: 1.2; }
.yesno-btn.yes { background: var(--sky); }
.yesno-btn.no { background: var(--green); }
.yesno-note { font-size: 14px; color: var(--text-sub); }

.steps4 { display: grid; gap: 22px; }
.steps4 > li {
  position: relative; border: 3px solid var(--c); border-radius: 10px; padding: 12px 14px 14px 64px; background: #fff;
}
.steps4 > li:not(:last-child)::after {
  content: ""; position: absolute; left: 50%; bottom: -19px; transform: translateX(-50%);
  border-left: 16px solid transparent; border-right: 16px solid transparent; border-top: 14px solid var(--c);
}
.steps4 .step-num {
  position: absolute; left: 12px; top: 12px; width: 40px; height: 40px; border-radius: 8px; background: var(--c); color: #fff;
  font-weight: 800; font-size: 22px; display: flex; align-items: center; justify-content: center;
}
.steps4 h4 { color: var(--c-deep); font-size: 19px; font-weight: 800; }
.steps4 p:not(.step-num) { font-size: 15px; }
@media (min-width: 900px) {
  .steps4 { grid-template-columns: repeat(4, 1fr); gap: 26px; }
  .steps4 > li { padding: 60px 14px 16px; }
  .steps4 .step-num { left: 50%; transform: translateX(-50%); }
  .steps4 h4 { text-align: center; }
  .steps4 > li:not(:last-child)::after {
    left: auto; right: -23px; top: 50%; bottom: auto; transform: translateY(-50%);
    border-top: 14px solid transparent; border-bottom: 14px solid transparent; border-left: 14px solid var(--c); border-right: none;
  }
}

/* ---------- よくある質問 ---------- */
.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 2px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.faq-list details[open] { border-color: var(--sky); }
.faq-list summary {
  list-style: none; cursor: pointer; position: relative; padding: 14px 44px 14px 54px; font-weight: 800; color: var(--blue-deep);
  background: var(--blue-light);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list details p::before {
  position: absolute; left: 12px; width: 30px; height: 30px; border-radius: 50%; color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.faq-list summary::before { content: "Q"; background: var(--blue); top: 12px; }
.faq-list summary::after { content: "＋"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--blue); font-weight: 800; }
.faq-list details[open] summary::after { content: "－"; }
.faq-list details p { position: relative; padding: 14px 16px 16px 54px; font-size: 16px; }
.faq-list details p::before { content: "A"; background: var(--orange); top: 14px; }

/* ---------- 施設概要 ---------- */
.about-table { width: 100%; border-collapse: collapse; font-size: 15px; border-top: 2px solid var(--blue); }
.about-table th, .about-table td { border-bottom: 1px solid var(--line); padding: 12px 10px; text-align: left; vertical-align: top; }
.about-table th { width: 6.5em; background: var(--blue-light); color: var(--blue-deep); white-space: nowrap; font-weight: 800; }
@media (min-width: 768px) { .about-table { font-size: 17px; } .about-table th { width: 9em; } }

/* ---------- お問い合わせ（オレンジの大きなバナー） ---------- */
.contact {
  margin-top: 56px; margin-bottom: 40px; text-align: center; color: #fff; border-radius: 14px;
  background: linear-gradient(160deg, #ffb13b, var(--orange) 60%, var(--orange-deep));
  padding: 26px 16px 22px; box-shadow: 0 5px 0 rgba(0,0,0,.12);
}
@media (max-width: 999px) { .contact { margin-left: 16px; margin-right: 16px; } }
.contact-catch {
  font-weight: 800; font-size: 26px; line-height: 1.3;
  text-shadow: 2px 2px 0 var(--orange-deep), -2px -2px 0 var(--orange-deep), 2px -2px 0 var(--orange-deep), -2px 2px 0 var(--orange-deep);
}
.contact-catch em { color: var(--yellow); }
.contact-lead { margin-top: 8px; font-size: 15px; font-weight: 700; }
.contact-tel {
  display: block; margin: 16px auto 0; max-width: 520px; background: #fff; border-radius: 10px; padding: 14px 10px;
  text-decoration: none; color: var(--text);
}
.contact-tel-label { display: block; color: var(--red); font-weight: 800; font-size: 15px; }
.contact-tel-num { display: block; color: var(--red); font-weight: 800; font-size: 30px; line-height: 1.3; }
.contact-tel-time { display: block; font-size: 13px; color: var(--text-sub); }
@media (min-width: 768px) { .contact { padding: 36px 32px 30px; } .contact-catch { font-size: 36px; } .contact-tel-num { font-size: 40px; } }

/* ---------- フッター ---------- */
.site-footer { background: #eef1f4; padding: 24px 0; font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 0; }
.footer-links li:not(:last-child)::after { content: "｜"; color: #aab; margin: 0 6px; }
.footer-links a { color: var(--text); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.copy { margin-top: 12px; font-size: 12px; color: var(--text-sub); }

/* ---------- スマホ用 固定ボタン ---------- */
.fixed-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 8px; background: rgba(255,255,255,.95); box-shadow: 0 -2px 8px rgba(0,0,0,.12);
}
.fixed-cta a {
  display: flex; align-items: center; justify-content: center; height: 52px; border-radius: 8px;
  color: #fff; font-weight: 800; text-decoration: none; font-size: 16px; box-shadow: 0 3px 0 rgba(0,0,0,.15);
}
.fixed-tel { background: var(--red); }
.fixed-entry { background: var(--orange); }
@media (min-width: 900px) { .fixed-cta { display: none; } }

/* 動きを減らす設定の方へ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* 主治医意見書の案内枠（利用するには） */
.ikensho-box { margin: 26px 0 8px; background: #edf7e6; border: 3px solid var(--green); border-radius: 12px; padding: 18px 16px; }
.ikensho-title { color: var(--green-deep); font-weight: 800; font-size: 18px; margin-bottom: 8px; }
.ikensho-box p:not(.ikensho-title) { font-size: 15px; }
.ikensho-box b { background: linear-gradient(transparent 60%, #fff07a 60%); }
@media (min-width: 768px) { .ikensho-box { padding: 24px 30px; } .ikensho-title { font-size: 20px; } }

/* ページ一番下の「画像はイメージです」（写真ごとの注記はやめて、ここにまとめた） */
.photo-note { margin-top: 12px; font-size: 12px; color: var(--text-sub); }
