/* =========================================================
   ますの歯科・矯正歯科+KIDS — トップページ (Figma 1_top 560:6717 忠実再現)
   レイアウト単位: cqw  (1cqw = 1% of stage width = 12.8px @1280)
   px -> cqw = px / 12.8
   ========================================================= */

:root {
  --c-cream: #faf9f6;
  --c-pink: #ff9a92;
  --c-pink-soft: #ffeeed;
  --c-pink-band: #ffc2bd;
  --c-pink-foot: #ffe6e5;
  --c-cream-feature: #fefbf8;
  --c-red: #e44a3f;
  --c-brown: #493215;
  --c-brown2: #4f4538;
  --c-blue: #3c7eda;
  --ff-jp: "Noto Sans JP", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --ff-maru: "Zen Maru Gothic", var(--ff-jp);
  --ff-josefin: "Josefin Sans", var(--ff-jp);
  --ff-inter: "Inter", var(--ff-jp);
}

.top-page,
.mh-header,
.mh-footer {
  font-family: var(--ff-jp);
  color: var(--c-brown);
  line-height: 1.6;
}
.top-page * { box-sizing: border-box; }

/* ---------- full-bleed セクション ---------- */
.top-fullbleed { width: 100%; position: relative; }

/* =========================================================
   HEADER (sticky)  Figma header_menu 1280x89
   ========================================================= */
.mh-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  height: 89px;
  background: var(--c-cream);
}
.mh-header__inner {
  position: static;
  width: 100%;
  max-width: none;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 0 384px 0 max(40px, calc((100% - 1280px) / 2 + 40px));
}

.mh-logo { width: 240px; flex: none; }
.mh-logo img { width: 100%; height: auto; display: block; }

.mh-access { flex: none; }
.mh-access p { margin: 0; font-weight: 700; font-size: 13px; letter-spacing: 0.5px; white-space: nowrap; line-height: 26px; }
.mh-access__addr { color: var(--c-brown); }
.mh-access__route { color: var(--c-red); }

.mh-schedule { margin-left: auto; width: 330px; flex: none; }
.mh-schedule .schedule-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 9.5px; line-height: 1.45; }
.mh-schedule .schedule-table th,
.mh-schedule .schedule-table td { padding: 2px 0; text-align: center; font-weight: 500; color: var(--c-brown); border: 0; white-space: nowrap; }
.mh-schedule .schedule-table th:first-child,
.mh-schedule .schedule-table td:first-child { width: 26%; text-align: left; }
.mh-schedule .schedule-table th:last-child,
.mh-schedule .schedule-table td:last-child { width: 12%; }
.mh-schedule .schedule-table thead th { padding-bottom: 4px; }
.mh-schedule .schedule-table thead th:nth-child(7) { color: var(--c-blue); }
.mh-schedule .schedule-table thead th:nth-child(8) { color: var(--c-red); }
.mh-schedule .schedule-table tbody td:not(:first-child) { color: var(--c-red); font-weight: 700; }
.mh-schedule .schedule-table tbody { border-top: 1px solid #d8c6c1; border-bottom: 1px solid #d8c6c1; }

/* 休診マーク: Figma(node 274:2458)の「/」に合わせたきれいな斜線（約60°）。
   フォントの「/」より少しだけ寝かせる。header/footer 共通・em 基準でフォントサイズに追従。 */
.sch-off { display: inline-block; vertical-align: middle; width: 0.64em; height: 1.05em;
    background: linear-gradient(to bottom right,
        transparent calc(50% - 0.5px), currentColor calc(50% - 0.5px),
        currentColor calc(50% + 0.5px), transparent calc(50% + 0.5px)); }

/* PC専用の改行: カンプ（1280基準）の改行位置を再現しつつ、SPでは自然に折り返す。
   各ページの本文で Figma の行区切りに `<br class="br-pc">` を入れる。 */
@media (max-width: 820px) { br.br-pc { display: none; } }

/* CTA ボタン（ヘッダー右端・画面端まで） */
.mh-header__cta { position: absolute; top: 0; right: 0; height: 100%; display: flex; align-items: stretch; }
.mh-cta { display: flex; align-items: center; justify-content: center; gap: 9px; color: #fff; text-align: left; }
.mh-cta--web { width: 170px; background: #8cc152; }
.mh-cta--tel { width: 200px; background: #ff9a92; }
.mh-cta--contact { width: 188px; background: #ffc2bd; }
.mh-cta__icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; flex: none; }
.mh-cta__glyph { display: block; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; }
.mh-cta--web .mh-cta__glyph { width: 15px; height: 13.6px; background: #8cc152; -webkit-mask-image: url("../images/figma-top/icon_web.svg"); mask-image: url("../images/figma-top/icon_web.svg"); }
.mh-cta--tel .mh-cta__glyph { width: 14px; height: 14px; background: #ff9a92; -webkit-mask-image: url("../images/figma-top/icon_tel.svg"); mask-image: url("../images/figma-top/icon_tel.svg"); }
.mh-cta--contact .mh-cta__glyph { width: 20px; height: 16px; background: #ffc2bd; -webkit-mask-image: url("../images/figma-top/icon_mail.svg"); mask-image: url("../images/figma-top/icon_mail.svg"); }
/* PC: CTAが3ボタンに増え幅が広がり診療時間表に被るため、PCでは各ボタンを
   アイコン+主ラベルのみのコンパクト表示にして横幅を抑え、被りを解消する
   （サブ文言は非表示。元の2ボタン相当の総幅に収める）。 */
@media (min-width: 821px) {
  .mh-header__cta .mh-cta { width: auto; padding: 0 5px; gap: 5px; }
  .mh-header__cta .mh-cta__icon { width: 22px; height: 22px; }
  .mh-header__cta .mh-cta__glyph { transform: scale(.8); }
  .mh-header__cta .mh-cta__text small { display: none; }
  .mh-header__cta .mh-cta__text strong { font-size: 12.5px; letter-spacing: 0; white-space: nowrap; }
}
.mh-cta__text { display: flex; flex-direction: column; line-height: 1.5; }
.mh-cta__text small { font-size: 10px; letter-spacing: 1px; font-weight: 700; }
.mh-cta__text strong { font-size: 14px; letter-spacing: 1.4px; font-weight: 700; white-space: nowrap; }

/* PC固定ナビ: トップ付近では隠し、スクロール後にヘッダー下へコンパクト表示。 */
.mh-fixed-nav {
  position: fixed;
  top: 89px;
  left: 0;
  right: 0;
  height: 50px;
  z-index: 95;
  display: flex;
  justify-content: center;
  background: var(--c-cream);
  border-bottom: 1px solid #f3d7d3;
  box-shadow: 0 8px 22px rgba(77, 50, 24, 0.08);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity .28s ease, transform .28s ease;
}
.is-fixed-nav-visible .mh-fixed-nav {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (min-width: 821px) {
  body:not(.home) .site-main {
    padding-top: 50px;
  }
}

.mh-fixed-nav__inner {
  width: min(1120px, calc(100% - 80px));
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3vw, 48px);
}
.mh-fixed-nav__item {
  position: relative;
  height: 50px;
  display: flex;
  align-items: stretch;
}
.mh-fixed-nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  height: 50px;
  color: var(--c-brown);
  text-align: center;
  line-height: 1.15;
  transition: color .2s ease;
}
.mh-fixed-nav__link span {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  white-space: nowrap;
}
.mh-fixed-nav__link small {
  margin-top: 3px;
  color: var(--c-pink);
  font-family: var(--ff-josefin);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 1px;
}
.mh-fixed-nav__link:hover span,
.mh-fixed-nav__link:focus-visible span {
  color: var(--c-pink);
}
.mh-menu-dropdown {
  position: absolute;
  top: 50px;
  left: 50%;
  width: min(360px, calc(100vw / 3));
  min-width: 316px;
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  background: #fff;
  border: 1px solid #f3d7d3;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(77, 50, 24, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.mh-fixed-nav__item.has-dropdown:hover .mh-menu-dropdown,
.mh-fixed-nav__item.has-dropdown:focus-within .mh-menu-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.mh-menu-dropdown__item {
  min-width: 0;
  min-height: 82px;
  padding: 9px 6px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 10px;
  color: var(--c-brown);
  text-align: center;
  line-height: 1.35;
  transition: background-color .2s ease, color .2s ease;
}
.mh-menu-dropdown__item:hover,
.mh-menu-dropdown__item:focus-visible {
  background: var(--c-pink-soft);
  color: var(--c-red);
}
.mh-menu-dropdown__item img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.mh-menu-dropdown__item span {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .5px;
}

/* ハンバーガー（SPのみ表示） */
.menu-toggle { display: none; position: absolute; top: 50%; right: 16px; transform: translateY(-50%); width: 40px; height: 34px; border: 0; background: none; padding: 6px 4px; cursor: pointer; z-index: 110; }
.menu-toggle span { display: block; height: 2px; background: var(--c-brown); margin: 5px 0; border-radius: 2px; transition: .3s; }
.drawer-nav {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100dvh;
  min-height: 100vh;
  box-sizing: border-box;
  background: #fff;
  box-shadow: none;
  transform: translateX(100%);
  transition: transform .3s ease;
  z-index: 200;
  padding: 64px max(28px, env(safe-area-inset-right)) max(22px, env(safe-area-inset-bottom)) max(28px, env(safe-area-inset-left));
  overflow-x: hidden;
  overflow-y: auto;
  display: none;
  flex-direction: column;
  gap: 0;
}
.drawer-nav.is-open { display: flex; transform: translateX(0); }
.drawer-nav__close {
  position: absolute;
  top: max(18px, env(safe-area-inset-top));
  right: max(18px, env(safe-area-inset-right));
  width: 44px;
  height: 44px;
  border: 1px solid #f3d7d3;
  border-radius: 50%;
  background: #fff8f7;
  box-shadow: 0 8px 24px rgba(77,50,24,.08);
  cursor: pointer;
}
.drawer-nav__close span {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: var(--c-brown);
}
.drawer-nav__close span:first-child { transform: rotate(45deg); }
.drawer-nav__close span:last-child { transform: rotate(-45deg); }
.drawer-nav > a,
.drawer-nav__group > summary { padding: 9px 0; border-bottom: 1px solid #f1e3df; display: flex; flex-direction: column; color: var(--c-brown); font-weight: 800; font-size: 18px; line-height: 1.35; letter-spacing: 1px; }
.drawer-nav > a small,
.drawer-nav__group > summary small { margin-top: 3px; color: var(--c-pink); font-family: var(--ff-josefin); font-size: 12px; letter-spacing: 1.1px; }
.drawer-nav__group { border-bottom: 1px solid #f1e3df; }
.drawer-nav__group > summary {
  position: relative;
  border-bottom: 0;
  cursor: pointer;
  list-style: none;
  padding-right: 34px;
}
.drawer-nav__group > summary::-webkit-details-marker { display: none; }
.drawer-nav__group > summary::after {
  content: "+";
  position: absolute;
  right: 3px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--c-pink);
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
}
.drawer-nav__group[open] > summary::after { content: "-"; }
.drawer-nav__sublist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0 0 8px 16px;
}
.drawer-nav a.drawer-nav__sub {
  padding: 8px 0;
  border-bottom: 0;
  color: var(--c-brown2);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .7px;
}
.drawer-nav__cta { margin-top: 10px; display: grid; grid-template-columns: 1fr; gap: 8px; }
.drawer-nav__cta a.btn { width: 100%; min-height: 44px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; padding: 9px 20px; color: #fff; font-size: 15px; letter-spacing: .8px; }
body.is-nav-open { overflow: hidden; }

.masuno-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 10px;
}
.masuno-breadcrumb a,
.masuno-breadcrumb span {
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-shadow: inherit;
}
.masuno-breadcrumb a {
  text-decoration: none;
  pointer-events: auto;
}
.masuno-breadcrumb a:hover,
.masuno-breadcrumb a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.masuno-breadcrumb__sep {
  flex: 0 0 auto;
}

/* =========================================================
   FV / ファーストビュー
   stage: 1280 x 743 (= fv 832 - header 89)
   ========================================================= */
/* カンプ準拠：FV下部〜about を「超薄ピンク(pink-soft)」で連続させ、ナビはピンクの上に乗る。
   波(wave_pink.svg, #FFEEED)から下を pink-soft にして cream の途切れを無くす。 */
.top-fv { width: 100%; background: linear-gradient(to bottom, var(--c-cream) 0%, var(--c-cream) 86%, var(--c-pink-soft) 86%, var(--c-pink-soft) 100%); overflow: hidden; padding-bottom: 56px; }
.top-fv__stage {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  container-type: inline-size;
  aspect-ratio: 1280 / 743;
}
.top-fv__stage > * { position: absolute; }

/* コピー */
.top-fv__copy { left: 6.563cqw; top: 7.0cqw; z-index: 3; }
.top-fv__place { margin: 0; color: var(--c-pink); font-weight: 700; font-size: 2.297cqw; line-height: 3.625cqw; letter-spacing: 0.23cqw; }
.top-fv__head { margin: 0; color: var(--c-brown2); font-weight: 700; font-size: 2.297cqw; line-height: 3.625cqw; letter-spacing: 0.23cqw; white-space: nowrap; }
.top-fv__head span { color: var(--c-pink); }
.top-fv__lead { position: absolute; left: 6.563cqw; top: 20.5cqw; margin: 0; z-index: 3; color: var(--c-brown); font-weight: 500; font-size: 1.503cqw; line-height: 2.289cqw; letter-spacing: 0.15cqw; }
.top-fv__lead .accent { position: relative; color: var(--c-pink); }
.top-fv__underline { position: absolute; left: 50%; bottom: -1.22cqw; width: 4.42cqw; height: 1.4cqw; max-width: none; display: block; object-fit: contain; transform: translateX(-50%); }

/* イラスト */
.top-fv__illust { left: 0; top: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.top-fv__illust img { position: absolute; }
.top-fv__family { left: 3.359cqw; top: 30.7cqw; width: 19.219cqw; }
.top-fv__shrub { width: 9.609cqw; opacity: .5; }
.top-fv__shrub--a { left: 20.938cqw; top: 38.594cqw; }
.top-fv__shrub--b { left: 28.516cqw; top: 38.594cqw; }

/* ピンクの波 */
.top-fv__wave { left: calc(50% - 50vw); top: 30cqw; width: 100vw; height: 26.2cqw; background: url("../images/figma-top/wave_pink.svg") no-repeat center bottom / 100% 100%; z-index: 1; }

/* 写真コラージュ（装飾。テキスト選択を妨げないよう pointer-events: none） */
.top-fv__collage { left: 0; top: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
.top-fv__collage .c { position: absolute; object-fit: cover; border-radius: 0.469cqw; }
.top-fv__collage .c23  { left: 42.969cqw; top: 3.984cqw;  width: 30.281cqw; height: 11.011cqw; }
.top-fv__collage .c24  { left: 74.04cqw;  top: 3.984cqw;  width: 21.976cqw; height: 11.011cqw; }
.top-fv__collage .c29  { left: 42.969cqw; top: 15.691cqw; width: 22.258cqw; height: 11.38cqw; }
.top-fv__collage .c27  { left: 66.188cqw; top: 15.691cqw; width: 13.332cqw; height: 11.38cqw; }
.top-fv__collage .cdoc { left: 80.469cqw; top: 15.703cqw; width: 15.547cqw; height: 19.688cqw; border-radius: 0.625cqw; }
.top-fv__collage .c30  { left: 42.969cqw; top: 27.727cqw; width: 10.508cqw; height: 20.508cqw; }
.top-fv__collage .c19  { left: 54.438cqw; top: 27.734cqw; width: 25.042cqw; height: 20.469cqw; }
.top-fv__collage .c26  { left: 80.48cqw;  top: 36.077cqw; width: 15.536cqw; height: 12.157cqw; }

/* フローティングナビ */
.top-fv__nav { left: 9.531cqw; top: 50.703cqw; width: 83.125cqw; height: 7.031cqw; background: #fff; border-radius: 5.469cqw; box-shadow: 0 0.313cqw 1.563cqw #eacecb; display: flex; align-items: center; justify-content: center; gap: 2.969cqw; z-index: 4; padding: 0 3cqw; }
.top-fv__nav a { display: flex; flex-direction: column; align-items: center; gap: 0.2cqw; }
.top-fv__nav a span { color: var(--c-brown); font-weight: 700; font-size: 1.094cqw; letter-spacing: 0.109cqw; white-space: nowrap; }
.top-fv__nav a small { color: var(--c-pink); font-weight: 700; font-size: 0.781cqw; letter-spacing: 0.078cqw; }
.top-fv__nav a:hover span { color: var(--c-pink); }

/* =========================================================
   FOOTER  (Figma footer 560:6718)  左ピンク / 右白 / 下ブラウン
   ========================================================= */
.mh-footer { width: 100%; }
.mh-footer__split { background: linear-gradient(to right, var(--c-pink-foot) 0 50%, #fbfbfb 50% 100%); }
.mh-footer__inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; }
.mh-footer__left { padding: 56px 5% 22px 6.5%; }
.mh-footer__right { padding: 56px 6% 22px 5%; }
.mh-footer__logo { display: block; width: 220px; max-width: 60%; margin-bottom: 20px; }
.mh-footer__logo img { width: 100%; height: auto; }
.mh-footer__addr { margin: 0 0 22px; font-weight: 500; font-size: 14px; letter-spacing: .56px; line-height: 1.7; color: var(--c-brown); }
/* フッターCTAは縦積み。3ボタンを同じ幅にしてコンテンツを左揃えにし、アイコンを縦一列に整列させる。
   3ボタンは隙間を詰め、ボックス内の上下余白は確保して文字が窮屈にならないようにする。 */
.mh-footer__cta { margin-bottom: 26px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.mh-footer__cta .mh-cta { width: 268px; max-width: 100%; justify-content: flex-start; padding: 14px 14px 14px 22px; box-sizing: border-box; }

/* フッターのSNS（Instagram）リンク */
.mh-footer__sns { margin: 16px 0 4px; }
.mh-footer__sns-link { display: inline-flex; align-items: center; gap: 9px; color: var(--c-brown2, #4f4538); text-decoration: none; font-weight: 700; font-size: 13px; letter-spacing: .08em; }
.mh-footer__sns-link:hover { opacity: .8; }
.mh-footer__sns-icon { display: block; width: 26px; height: 26px; background: var(--c-red, #e44a3f); -webkit-mask-position: center; mask-position: center; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: contain; mask-size: contain; }
.mh-footer__sns-icon--instagram { -webkit-mask-image: url("../images/figma-top/icon_instagram.svg"); mask-image: url("../images/figma-top/icon_instagram.svg"); }
.mh-footer-booking {
  display: grid;
  grid-template-columns: 1.14fr 1fr 1.04fr;
  width: 100%;
  max-width: 560px;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(73, 50, 21, .08);
}
.mh-footer-booking__item {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 10px;
  text-align: center;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: .07em;
  text-decoration: none;
}
.mh-footer-booking__item * { text-decoration: none; }
.mh-footer-booking__item:hover { opacity: .92; }
.mh-footer-booking__item--reserve { background: #fff7c8; color: var(--c-brown); }
.mh-footer-booking__item--web { background: #67ca00; color: #fff; }
.mh-footer-booking__item--kids { background: #f7a414; color: #fff; }
.mh-footer-booking__label { font-size: 16px; }
.mh-footer-booking__phone {
  position: relative;
  width: 24px;
  height: 24px;
  flex: none;
}
.mh-footer-booking__phone::before {
  content: "";
  position: absolute;
  inset: 4px 5px 5px 4px;
  border: 4px solid currentColor;
  border-left-color: transparent;
  border-top-color: transparent;
  border-radius: 0 0 12px 12px;
  transform: rotate(-42deg);
}
.mh-footer-booking__circle {
  width: 50px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: none;
  line-height: 1;
}
.mh-footer-booking__circle span { font-family: var(--ff-josefin); font-size: 22px; font-weight: 600; }
.mh-footer-booking__circle small { margin-top: 1px; font-size: 10px; letter-spacing: .04em; }
.mh-footer-booking__web {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
  text-align: left;
}
.mh-footer-booking__web small { font-family: var(--ff-josefin); font-size: 23px; letter-spacing: .08em; }
.mh-footer-booking__web strong { font-size: 21px; letter-spacing: .08em; white-space: nowrap; }
.mh-footer-booking__line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: #fff;
  color: #f7a414;
  font-family: var(--ff-josefin);
  font-size: 11px;
  line-height: 1;
  letter-spacing: .05em;
}
.mh-footer__schedule .schedule-table { border-collapse: collapse; font-size: 14.7px; width: 100%; max-width: 460px; }
.mh-footer__schedule th, .mh-footer__schedule td { padding: 4px 6px; text-align: center; font-weight: 500; color: var(--c-brown); }
.mh-footer__schedule thead th:first-child, .mh-footer__schedule td:first-child { text-align: left; white-space: nowrap; }
.mh-footer__schedule thead th:nth-child(7) { color: var(--c-blue); }
.mh-footer__schedule thead th:nth-child(8) { color: var(--c-red); }
.mh-footer__schedule tbody td:not(:first-child) { color: var(--c-red); font-weight: 700; }
.mh-footer__schedule tbody tr td { border-top: 1px solid #f0c9c5; }

.mh-footer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; margin-bottom: 30px; }
.mh-footer__links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.mh-footer__links a { font-weight: 500; font-size: 14px; letter-spacing: 1.4px; color: var(--c-brown); }
.mh-footer__links a:hover { color: var(--c-pink); }
.mh-footer__seo p { margin: 0 0 14px; font-family: var(--ff-maru); font-size: 10px; line-height: 1.6; letter-spacing: 1px; color: var(--c-brown); }
.mh-footer__copy { background: var(--c-brown); color: #fff; text-align: center; font-weight: 500; font-size: 10px; letter-spacing: 1px; padding: 12px; }

/* 共通ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; border-radius: 999px; font-weight: 700; color: #fff; }
/* ドロワー(モバイルメニュー)の予約/電話ボタンもCTA配色に合わせる：予約=黄緑 / 電話=サーモンピンク */
.btn--pink { background: #8cc152; }
.btn--red { background: #ff9a92; }

/* =========================================================
   共通：見出し / ボタン / cqw ステージ
   ========================================================= */
.top-cq { position: relative; width: 100%; max-width: 1280px; margin: 0 auto; container-type: inline-size; }
.top-bleed { position: absolute; left: calc(50% - 50vw); width: 100vw; }

.top-eyebrow { margin: 0; font-family: var(--ff-josefin); font-weight: 700; color: var(--c-pink); font-size: 1.094cqw; letter-spacing: 0.109cqw; line-height: 1.2; }
.top-eyebrow--center { text-align: center; }
.top-title { margin: 0.4cqw 0 0; font-weight: 700; color: var(--c-brown); font-size: 2.813cqw; letter-spacing: 0.281cqw; line-height: 1.3; }
.top-title--center { text-align: center; }
.top-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6cqw; background: var(--c-red); color: #fff; font-weight: 500; font-size: 1.094cqw; letter-spacing: 0.109cqw; border-radius: 50px; padding: 1.05cqw 2.4cqw; min-height: 4.375cqw; }
.top-btn i { font-style: normal; }
.top-btn:hover { opacity: .9; }

/* ---------- about ---------- */
.top-about { position: relative; background: var(--c-pink-soft); }
.top-about__stage { position: relative; max-width: 1280px; margin: 0 auto; container-type: inline-size; aspect-ratio: 1280 / 495; }
.top-about__band { position: absolute; left: calc(50% - 50vw); width: 100vw; top: 12.656cqw; height: 26.016cqw; background: var(--c-pink-band); }
.top-about__photo { position: absolute; left: 9.492cqw; top: 0; width: 37.266cqw; height: 38.672cqw; object-fit: cover; border-radius: 15.625cqw 15.625cqw 0 0; }
.top-about__text { position: absolute; left: 54.688cqw; top: 16.1cqw; color: #fff; }
.top-about__head { margin: 0; font-weight: 700; font-size: 2.188cqw; letter-spacing: 0.219cqw; line-height: 1.4; }
.top-about__list { margin: 1.95cqw 0 0; }
.top-about__list p { margin: 0; font-weight: 500; font-size: 1.563cqw; letter-spacing: 0.156cqw; line-height: 2.2; }

/* ---------- 2分割 写真バンド ---------- */
.top-page { background: var(--c-pink-soft); }
.top-band { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
.top-band img { width: 100%; height: 16.484vw; max-height: 211px; object-fit: cover; display: block; }
.top-band--attention { position: relative; z-index: 2; margin-top: 0; }

/* ---------- 4分割 写真ストリップ ---------- */
.top-strip { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; }
.top-strip img { width: 100%; height: 32.188vw; max-height: 412px; object-fit: cover; display: block; }

/* ---------- concept (hero) ---------- */
.top-concept { position: relative; background: var(--c-pink-soft); overflow: hidden; }
.top-concept__bokeh { position: absolute; inset: 0; mix-blend-mode: soft-light; opacity: .28; }
.top-concept__bokeh img { width: 100%; height: 100%; object-fit: cover; filter: sepia(1) saturate(.55) hue-rotate(315deg); }
.top-concept__stage { position: relative; max-width: 1280px; margin: 0 auto; container-type: inline-size; aspect-ratio: 1280 / 1406; }
.top-concept__stage > * { position: absolute; }
.top-concept__hero { left: 10.078cqw; top: 7.813cqw; width: 80cqw; height: 32.969cqw; object-fit: cover; border-radius: 0.938cqw; }
.top-concept__callout { left: 28.594cqw; top: 34.141cqw; width: 42.813cqw; min-height: 13.672cqw; background: #fff; border: 0.156cqw solid var(--c-brown2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.3cqw; padding: 0.8cqw 0; }
.top-concept__callout p { margin: 0; font-weight: 700; font-size: 1.953cqw; letter-spacing: 0.195cqw; line-height: 1.3; text-align: center; }
.top-concept__callout .cc1 { color: #3b3b3b; }
.top-concept__callout .cc2 { color: #ff9a92; }
.top-concept__callout .cc-more { margin-top: 0.7cqw; padding: 0.62cqw 2.4cqw; background: #ff9a92; color: #fff; font-weight: 700; font-size: 1.406cqw; letter-spacing: 0.12cqw; line-height: 1.4; border-radius: 999px; text-decoration: none; white-space: nowrap; transition: background .2s ease; }
.top-concept__callout .cc-more:hover { background: #f2857d; }
.top-concept__callout .cc-more__arrow { margin-left: 0.5em; font-weight: 400; }
.top-concept__deco { object-fit: cover; }
.top-concept__deco.d25 { left: 79.219cqw; top: 54.922cqw; width: 13.516cqw; height: 13.125cqw; border-radius: 0.781cqw; }
.top-concept__deco.d7  { left: 9.063cqw;  top: 51.953cqw; width: 13.516cqw; height: 16.172cqw; border-radius: 0.938cqw; }
.top-concept__deco.d8  { left: 4.297cqw;  top: 88.203cqw; width: 18.281cqw; height: 10.625cqw; border-radius: 0.938cqw; }
.top-concept__deco.d6  { left: 75.156cqw; top: 89.375cqw; width: 13.516cqw; height: 13.281cqw; border-radius: 0.938cqw; }
.top-concept__copy { left: 21.875cqw; top: 52.969cqw; width: 56.25cqw; text-align: center; font-weight: 700; font-size: 1.25cqw; letter-spacing: 0.125cqw; line-height: 2.1; color: var(--c-brown2); }
.top-concept__copy p { margin: 0 0 1.6cqw; }
.top-concept__copy .lead { font-size: 1.563cqw; line-height: 1.9; margin-bottom: 2cqw; }
.top-concept__copy .red { color: var(--c-red); }

/* ---------- menu ---------- */
.top-menu { background: transparent; padding: 0 0 124px; }
.top-menu__panel { position: relative; z-index: 2; max-width: 1152px; margin: -88px auto 0; container-type: inline-size; background: rgba(255,255,255,.9); border-radius: 12px; box-shadow: 0 4px 24px rgba(228,74,63,.3); padding: 100px 64px 116px; }
.top-menu .top-eyebrow { font-size: 1.215cqw; letter-spacing: 0.122cqw; text-align: left; }
.top-menu .top-title { font-size: 3.125cqw; letter-spacing: 0.313cqw; text-align: left; margin-top: 0.6cqw; }
.top-menu__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3.3cqw; margin-top: 5cqw; }
.top-menu__card { background: #fff; border-radius: 4px; box-shadow: 0 0 24px rgba(255,154,146,.2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.7cqw; padding: 3.4cqw 1cqw; min-height: 22.5cqw; transition: transform .2s, box-shadow .2s; }
.top-menu__card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(255,154,146,.35); }
.top-menu__icon { width: 9.4cqw; height: 9.4cqw; display: grid; place-items: center; }
.top-menu__icon img { width: 100%; height: 100%; object-fit: contain; }
.top-menu__label { font-weight: 700; font-size: 1.215cqw; letter-spacing: 0.122cqw; color: var(--c-brown2); white-space: nowrap; }
.top-menu__more { text-align: center; margin-top: 5cqw; }
.top-menu__panel .top-btn { font-size: 1.215cqw; padding: 1.4cqw 3cqw; }

/* ---------- feature ---------- */
/* cream面＋上辺アーチ（半円波）で上の写真ストリップに重なる */
.top-feature {
  position: relative;
  margin-top: -130px;
  padding: 140px 0 100px;
  background-image:
    url("../images/figma-top/feature_arch.svg"),
    linear-gradient(var(--c-cream-feature), var(--c-cream-feature));
  background-repeat: no-repeat, no-repeat;
  background-position: top center, left bottom;
  background-size: 100% 130px, 100% calc(100% - 128px);
}
.top-feature__inner { position: relative; max-width: 1280px; margin: 0 auto; container-type: inline-size; }
.top-feature .top-title { margin-top: 0.6cqw; }
.top-feature__grid { display: flex; flex-wrap: wrap; gap: 3.359cqw; justify-content: center; margin-top: 4cqw; width: 80cqw; margin-left: auto; margin-right: auto; }
.top-fcard { width: 38.281cqw; background: #fff; border-radius: 4px; overflow: hidden; box-shadow: 0 4px 18px rgba(228,74,63,.08); }
.top-fcard--single { margin-right: auto; }
.top-fcard > img { width: 100%; height: 18.281cqw; object-fit: cover; display: block; }
.top-fcard__body { padding: 1.95cqw 2.578cqw 2.2cqw; }
.top-fcard__body h3 { margin: 0; text-align: center; color: var(--c-red); font-weight: 700; font-size: 1.38cqw; letter-spacing: 0; line-height: 1.4; }
.top-fcard__body p { margin: 1.4cqw 0 0; color: var(--c-brown2); font-weight: 500; font-size: 0.781cqw; letter-spacing: 0.078cqw; line-height: 2.1; }

/* ---------- message ---------- */
.top-message { position: relative; background: var(--c-red); overflow: hidden; margin-top: 20px; }
.top-message__collage { position: absolute; left: 50%; transform: translateX(-50%); width: min(1280px, 100vw); container-type: inline-size; top: 0; bottom: 0; }
.top-message__collage img { position: absolute; object-fit: cover; border-radius: 0.469cqw; }
/* Figma 560:6857 グループ187 各写真の実座標（1280×808基準） */
.top-message__collage .m23 { left: 3.359cqw;  top: 2.822cqw;  width: 53.224cqw; height: 14.382cqw; }
.top-message__collage .m24 { left: 57.973cqw; top: 2.822cqw;  width: 38.627cqw; height: 14.382cqw; }
.top-message__collage .m29 { left: 3.359cqw;  top: 18.113cqw; width: 39.123cqw; height: 14.863cqw; }
.top-message__collage .m27 { left: 44.17cqw;  top: 18.113cqw; width: 23.434cqw; height: 14.863cqw; }
.top-message__collage .m25 { left: 69.293cqw; top: 18.113cqw; width: 27.307cqw; height: 25.717cqw; }
.top-message__collage .m30 { left: 3.359cqw;  top: 33.832cqw; width: 18.47cqw;  height: 26.786cqw; }
.top-message__collage .m19 { left: 23.52cqw;  top: 33.843cqw; width: 44.016cqw; height: 26.734cqw; }
.top-message__collage .m26 { left: 69.293cqw; top: 44.739cqw; width: 27.307cqw; height: 15.879cqw; }
.top-message__overlay { position: absolute; left: calc(50% - 50vw); width: 100vw; top: 0; bottom: 0; background: rgba(240,202,199,.7); }
.top-message__stage { position: relative; max-width: 1280px; margin: 0 auto; container-type: inline-size; padding: 4.297cqw 0; }
.top-message__card { position: relative; z-index: 2; margin: 0 auto; width: 80cqw; min-height: 54.531cqw; background: #fff; border-radius: 0.625cqw; display: grid; grid-template-columns: 20.9cqw 1fr; gap: 2.4cqw; padding: 4.766cqw 4cqw; }
.top-message__photo { width: 19.55cqw; height: 22.15cqw; border-radius: 0.6cqw; overflow: hidden; margin: 0 auto; }
.top-message__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 44% 43%; transform: scale(1.22); }
.top-message__pcap { text-align: center; font-weight: 700; font-size: 0.938cqw; letter-spacing: 0.094cqw; color: var(--c-brown); margin: 1.2cqw 0 0.8cqw; line-height: 1.5; }
.top-message__spec { list-style: none; margin: 0; padding: 1cqw 1.2cqw; background: #f7f7f7; border-radius: 0.625cqw; }
.top-message__spec li { font-weight: 500; font-size: 0.781cqw; letter-spacing: 0.078cqw; color: var(--c-brown2); line-height: 2.1; }
.top-message__body { display: flex; flex-direction: column; }
.top-message__head { margin: 0; font-weight: 700; font-size: 2.32cqw; letter-spacing: 0.203cqw; line-height: 1.5; color: var(--c-brown); padding: 1.1cqw 0 0.8cqw; border-top: 2px solid #493215; border-bottom: 2px solid #493215; }
.top-message__head span { color: var(--c-pink); }
.top-message__text { margin-top: 1cqw; }
.top-message__text p { margin: 0 0 0.9cqw; font-weight: 500; font-size: 0.94cqw; letter-spacing: 0.078cqw; line-height: 2.05; color: var(--c-brown2); }
.top-message__name { margin: 0.4cqw 0 0; display: flex; justify-content: flex-end; align-items: baseline; gap: 0.8cqw; color: var(--c-brown2); }
.top-message__name .lbl { font-size: 0.898cqw; font-weight: 500; }
.top-message__name .nm { font-size: 1.875cqw; font-weight: 500; letter-spacing: 0.1cqw; }
.top-message__btn { align-self: center; margin-top: auto; font-size: 1.094cqw; }
.top-message__strip { position: relative; width: 100vw; margin-left: calc(50% - 50vw); display: grid; grid-template-columns: 1fr 1fr; }
.top-message__strip img { width: 100%; height: 23.05vw; max-height: 295px; object-fit: cover; display: block; }

/* ---------- reason ---------- */
.top-reason { background: var(--c-pink-soft); padding: 53px 0; }
.top-reason__card { position: relative; max-width: 1140px; margin: 0 auto; container-type: inline-size; background: #fff; border-radius: 8px; padding: 74px 0 91px; }
.top-reason .top-title { margin-top: 0.6cqw; }
.top-reason__list { display: flex; flex-direction: column; gap: 7cqw; margin-top: 5cqw; padding: 0 5.7cqw; }
/* カンプ準拠：見出しは画像上端、タグ箱は画像下端に合わせる（本文をflexで上下に振り分け） */
.top-rcard { display: grid; grid-template-columns: 35cqw 1fr; gap: 3.16cqw; align-items: stretch; }
.top-rcard__body { display: flex; flex-direction: column; padding-top: 2.54cqw; }
.top-rcard__imgwrap { position: relative; padding-top: 2.54cqw; }
.top-rcard__imgwrap img { width: 35cqw; height: 28.25cqw; object-fit: cover; border-radius: 0.7cqw; display: block; }
.top-rcard__num { position: absolute; left: 14.47cqw; top: 0; width: 6.14cqw; height: 5cqw; background: #fff; border-top: 2px solid var(--c-red); border-bottom: 2px solid var(--c-red); display: grid; place-items: center; font-weight: 500; font-size: 3.16cqw; letter-spacing: 0.47cqw; color: var(--c-brown); }
.top-rcard__body h3 { margin: 0; font-weight: 700; font-size: 1.754cqw; letter-spacing: 0.175cqw; line-height: 1.6; color: var(--c-brown); }
.top-rcard__body p { margin: 1.4cqw 0 0; font-weight: 500; font-size: 1.228cqw; letter-spacing: 0.123cqw; line-height: 2.1; color: var(--c-brown2); }
.top-rcard__tags { list-style: none; display: flex; gap: 1.4cqw; margin: 1.6cqw 0 0; margin-top: auto; padding: 0; }
.top-rcard__tags li { display: flex; align-items: center; gap: 0.4cqw; min-width: 15.7cqw; height: 5.17cqw; padding: 0 1.2cqw; border: 1px solid var(--c-red); border-radius: 0.7cqw; font-weight: 500; font-size: 1.4cqw; letter-spacing: 0.21cqw; color: var(--c-brown); }
.top-rcard__tags li::before { content: "✓"; color: var(--c-red); font-weight: 700; }

/* ---------- news ---------- */
.top-news { background: #fff; margin-top: 82px; margin-bottom: 82px; padding: 64px 0 83px; }
.top-news__inner { position: relative; max-width: 1024px; margin: 0 auto; container-type: inline-size; }
.top-news .top-title { margin-top: 0.6cqw; }
.top-news__list { margin-top: 4cqw; }
.top-news__row { display: flex; align-items: flex-start; gap: 3.516cqw; padding: 1.4cqw 1.953cqw; border-bottom: 1px solid #d8d8d8; }
.top-news__row time { flex: 0 0 auto; color: var(--c-pink); font-weight: 500; font-size: 1.367cqw; line-height: 1.85; letter-spacing: 0.137cqw; white-space: nowrap; }
.top-news__row span { flex: 1 1 auto; min-width: 0; font-family: var(--ff-inter), var(--ff-jp); font-weight: 600; font-size: 1.367cqw; line-height: 1.85; letter-spacing: 0.219cqw; color: #4b4b4b; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.top-news__row.is-active span { color: var(--c-red); }
.top-news__row:hover span { color: var(--c-red); }

/* =========================================================
   レスポンシブ（SP）  横スクロール防止・組み換え
   ========================================================= */
/* 中間幅: 固定幅CTAと診療時間表の重なりを避ける */
@media (max-width: 1180px) and (min-width: 821px) {
  .mh-schedule { display: none; }
}

@media (max-width: 820px) {
  /* header → モバイルバー */
  .mh-header { position: fixed; top: 0; left: 0; right: 0; height: 60px; }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  .site-main { padding-top: 60px; }
  .mh-header__inner { height: 100%; padding: 0 60px 0 16px; gap: 12px; }
  .mh-logo { width: 168px; }
  .mh-access, .mh-schedule { display: none; }
  .mh-header__cta {
    position: fixed;
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    height: calc(58px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -8px 24px rgba(71, 48, 26, .12);
  }
  .mh-cta {
    width: auto;
    min-width: 0;
    height: 58px;
    gap: 8px;
  }
  .mh-cta__icon {
    width: 28px;
    height: 28px;
  }
  .mh-cta__text small {
    font-size: 9px;
    letter-spacing: .5px;
  }
  .mh-cta__text strong {
    font-size: 13px;
    letter-spacing: .8px;
  }
  /* SP下部の固定バーは3ボタン＝1枠が狭いので、アイコンを上・ラベルを下に縦積みして収める */
  .mh-header__cta .mh-cta { flex-direction: column; gap: 3px; padding: 0 4px; }
  .mh-header__cta .mh-cta__icon { width: 22px; height: 22px; }
  .mh-header__cta .mh-cta__glyph { transform: scale(.82); }
  .mh-header__cta .mh-cta__text { align-items: center; line-height: 1.15; }
  .mh-header__cta .mh-cta__text small { display: none; }
  .mh-header__cta .mh-cta__text strong { font-size: 11px; letter-spacing: .2px; white-space: nowrap; }
  .mh-fixed-nav { display: none; }
  .menu-toggle { display: block; }
  .drawer-nav { padding: 58px max(22px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(22px, env(safe-area-inset-left)); }
  .drawer-nav > a,
  .drawer-nav__group > summary {
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-start;
    gap: 8px;
    padding: 8px 28px 8px 0;
    font-size: 15px;
    line-height: 1.25;
    letter-spacing: .6px;
    white-space: nowrap;
  }
  .drawer-nav > a small,
  .drawer-nav__group > summary small {
    margin-top: 0;
    font-size: 11px;
    line-height: 1;
    letter-spacing: .8px;
  }
  .drawer-nav__group > summary::after {
    right: 2px;
    font-size: 20px;
  }
  .drawer-nav__sublist {
    grid-template-columns: 1fr;
    padding: 0 0 6px 14px;
  }
  .drawer-nav a.drawer-nav__sub {
    padding: 6px 0;
    font-size: 14px;
    line-height: 1.35;
  }
  .drawer-nav__cta {
    margin-top: 8px;
    gap: 7px;
  }
  .drawer-nav__cta a.btn {
    min-height: 40px;
    padding: 8px 18px;
    font-size: 14px;
  }

  /* FV → 縦積み（cqwを解除し通常フロー） */
  .top-fv { padding-bottom: 24px; }
  .top-fv__stage { container-type: normal; height: auto; display: flex; flex-direction: column; padding: 24px 20px 0; }
  .top-fv__stage > * { position: static !important; }
  .top-fv__copy { left: auto; top: auto; }
  .top-fv__place { font-size: 16px; line-height: 1.8; letter-spacing: 1.5px; }
  .top-fv__head { font-size: 24px; line-height: 1.6; letter-spacing: 1.5px; white-space: normal; }
  .top-fv__lead { position: static; font-size: 18px; line-height: 1.9; letter-spacing: 1px; margin: 12px 0 0; }
  .top-fv__underline { bottom: -14px; width: 56px; height: 18px; }
  /* 8枚コラージュはPCの配置を保ったままグループごと縮小（コラージュ自身をコンテナ化し、各写真をコラージュ基準のcqwに再マップ） */
  .top-fv__collage { position: relative !important; left: auto; top: auto; display: block; width: 100%; height: auto; aspect-ratio: 53.05 / 44.25; container-type: inline-size; margin: 20px 0 4px; }
  .top-fv__collage .c { position: absolute; width: auto; height: auto; border-radius: 1.6cqw; }
  .top-fv__collage .c23  { left: 0;        top: 0;        width: 57.08cqw; height: 20.76cqw; }
  .top-fv__collage .c24  { left: 58.57cqw; top: 0;        width: 41.43cqw; height: 20.76cqw; }
  .top-fv__collage .c29  { left: 0;        top: 22.07cqw; width: 41.96cqw; height: 21.45cqw; }
  .top-fv__collage .c27  { left: 43.77cqw; top: 22.07cqw; width: 25.13cqw; height: 21.45cqw; }
  .top-fv__collage .cdoc { left: 70.69cqw; top: 22.09cqw; width: 29.31cqw; height: 37.11cqw; }
  .top-fv__collage .c30  { left: 0;        top: 44.76cqw; width: 19.81cqw; height: 38.66cqw; }
  .top-fv__collage .c19  { left: 21.62cqw; top: 44.77cqw; width: 47.21cqw; height: 38.59cqw; }
  .top-fv__collage .c26  { left: 70.71cqw; top: 60.50cqw; width: 29.29cqw; height: 22.92cqw; }
  .top-fv__illust { position: relative !important; height: 140px; }
  .top-fv__family { left: 72px; top: 0; width: 110px; }
  .top-fv__shrub--a { left: 198px; top: 30px; width: 60px; }
  .top-fv__shrub--b { left: 248px; top: 30px; width: 60px; }
  .top-fv__wave { display: none; }
  .top-fv__nav { display: none; }

  /* footer → 1カラム */
  .mh-footer__split { background: var(--c-pink-foot); }
  .mh-footer__inner { grid-template-columns: 1fr; }
  .mh-footer__left, .mh-footer__right { padding: 36px 24px; }
  .mh-footer__right { background: #fbfbfb; }
  .mh-footer__cta { width: 100%; }
  /* SP: CTAが縦並びのとき、テキスト幅を揃えてアイコンを縦に整列させる */
  .mh-footer__cta .mh-cta__text { min-width: 108px; }
  .mh-footer-booking {
    grid-template-columns: 1fr;
    max-width: none;
    gap: 10px;
    overflow: visible;
    border-radius: 0;
    box-shadow: none;
  }
  .mh-footer-booking__item {
    min-height: 58px;
    border-radius: 8px;
  }
  .mh-footer-booking__label { font-size: 15px; }
  .mh-footer-booking__web small { font-size: 19px; }
  .mh-footer-booking__web strong { font-size: 18px; }

  /* ---- 共通: cqwを解除しpx基準に ---- */
  .top-eyebrow { font-size: 13px; letter-spacing: 1.4px; }
  .top-title, .top-menu .top-title, .top-reason .top-title { font-size: 22px; letter-spacing: 2px; }
  .top-btn, .top-menu__panel .top-btn, .top-message__btn { font-size: 14px; padding: 12px 26px; min-height: 0; gap: 8px; }

  /* about */
  .top-about__stage { height: auto; container-type: normal; display: flex; flex-direction: column; align-items: center; padding: 18px 20px 28px; }
  .top-about__band { position: absolute; top: 150px; bottom: 0; height: auto; }
  .top-about__photo { position: relative; left: auto; top: auto; z-index: 1; width: 220px; height: 240px; border-radius: 110px 110px 0 0; margin-top: 0; object-position: center center; }
  .top-about__text { position: static; color: #fff; text-align: center; margin-top: 18px; z-index: 1; }
  .top-about__head { font-size: 20px; letter-spacing: 1.5px; }
  .top-about__list p { font-size: 14px; letter-spacing: .5px; text-align: left; }

  /* 写真バンド / ストリップ */
  .top-band img { height: 28vw; }
  .top-strip { grid-template-columns: repeat(2, 1fr); }
  .top-strip img { height: 40vw; max-height: none; }

  /* concept */
  .top-concept__stage { height: auto; container-type: normal; display: flex; flex-direction: column; padding: 28px 20px; }
  .top-concept__stage > * { position: static !important; }
  .top-concept__hero { width: 100%; height: auto; border-radius: 8px; }
  .top-concept__callout { width: 92%; max-width: 360px; margin: -28px auto 0; height: auto; padding: 16px; border-width: 2px; position: relative; z-index: 2; }
  .top-concept__callout p { font-size: 16px; letter-spacing: .2px; }
  .top-concept__deco { display: none; }
  .top-concept__copy { width: 100%; margin-top: 26px; font-size: 14px; line-height: 2; }
  .top-concept__copy .lead { font-size: 17px; }

  /* menu */
  .top-menu { display: block; padding: 0 16px 52px; }
  .top-menu__panel { margin-top: 0; container-type: normal; padding: 32px 16px; }
  .top-menu .top-eyebrow, .top-menu .top-title { font-size: inherit; text-align: center; }
  .top-menu .top-title { font-size: 22px; }
  .top-menu__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
  .top-menu__card { width: 100%; min-width: 0; min-height: 132px; padding: 18px 10px 16px; gap: 10px; }
  .top-menu__icon { width: 62px; height: 62px; }
  .top-menu__label { white-space: normal; font-size: 12px; line-height: 1.45; letter-spacing: .4px; text-align: center; overflow-wrap: anywhere; }
  .top-menu__panel .top-btn { font-size: 14px; padding: 12px 26px; }

  /* feature */
  .top-feature {
    margin-top: -42px;
    padding: 78px 16px 40px;
    background-image:
      url("../images/figma-top/feature_arch.svg"),
      linear-gradient(var(--c-cream-feature), var(--c-cream-feature));
    background-repeat: no-repeat, no-repeat;
    background-position: top center, left 41px;
    background-size: 100% 44px, 100% calc(100% - 41px);
  }
  .top-feature__inner { container-type: normal; }
  .top-feature__grid { width: 100%; gap: 18px; }
  .top-fcard { width: 100%; max-width: 420px; }
  .top-fcard > img { height: 200px; }
  .top-fcard__body { padding: 18px; }
  /* SP: 行末の1文字孤立を防ぐ。letter-spacingを詰め、balanceで折り返しを均等化 */
  .top-fcard__body h3 { font-size: 16px; letter-spacing: 0; text-wrap: balance; }
  .top-fcard__body p { font-size: 12px; letter-spacing: .3px; }

  /* message */
  .top-message__collage, .top-message__overlay { position: relative; height: auto; }
  /* 装飾コラージュはモバイルで崩れて赤いボックス化するため非表示（PC版は変更なし） */
  /* 背景は元のPC（写真＋ピンクオーバーレイ）の見え方に合わせてピンクに */
  .top-message { background: #f0cac7; }
  .top-message__collage { display: none; }
  .top-message__overlay { display: none; }
  .top-message__stage { container-type: normal; padding: 44px 16px 8px; margin-top: 0; }
  .top-message__card { width: 100%; min-height: 0; grid-template-columns: 1fr; gap: 20px; padding: 24px 18px; border-radius: 10px; }
  .top-message__photo { width: 180px; height: 210px; }
  .top-message__pcap { font-size: 13px; }
  .top-message__spec li { font-size: 13px; }
  .top-message__head { font-size: 20px; letter-spacing: 1px; }
  .top-message__text { margin-top: 22px; }
  .top-message__text p { font-size: 13px; letter-spacing: .3px; }
  .top-message__name .nm { font-size: 20px; }
  .top-message__name .lbl { font-size: 12px; }
  .top-message__strip { position: relative; left: 0; width: 100%; height: 160px; margin-top: 24px; }

  /* reason */
  .top-reason { padding: 36px 16px; }
  .top-reason__card { container-type: normal; padding: 32px 16px 36px; }
  .top-reason__list { gap: 32px; margin-top: 28px; padding: 0; }
  .top-rcard { grid-template-columns: 1fr; gap: 14px; }
  .top-rcard__imgwrap { padding-top: 22px; }
  .top-rcard__imgwrap img { width: 100%; height: 56vw; max-height: 280px; border-radius: 8px; }
  .top-rcard__num { left: 50%; transform: translateX(-50%); width: 52px; height: 42px; font-size: 24px; letter-spacing: 3px; }
  .top-rcard__body h3 { font-size: 16px; letter-spacing: .5px; }
  .top-rcard__body p { font-size: 13px; letter-spacing: .3px; }
  .top-rcard__tags { flex-wrap: wrap; gap: 8px; margin-top: 22px; }
  .top-rcard__tags li { min-width: 0; height: auto; padding: 6px 12px; font-size: 12px; letter-spacing: .5px; }

  /* news */
  .top-news { padding: 36px 16px 44px; }
  .top-news__inner { container-type: normal; }
  .top-news__list { margin-top: 22px; }
  .top-news__row { flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 4px; }
  .top-news__row time { font-family: var(--ff-josefin); font-size: 13px; line-height: 1.6; letter-spacing: 1.2px; }
  .top-news__row span { font-family: var(--ff-jp); font-size: 13px; line-height: 1.7; letter-spacing: .7px; -webkit-line-clamp: 3; }
}

/* SPレビュー反映: 当院が選ばれる4つの理由の番号とカード間に余白を確保。 */
@media (max-width: 820px) {
  .top-band--attention {
    display: none !important;
  }

  .top-reason__list {
    gap: 46px !important;
  }

  .top-rcard {
    gap: 22px !important;
  }

  .top-rcard__imgwrap {
    padding-top: 32px !important;
  }

  .top-rcard__num {
    left: 50% !important;
    top: 0 !important;
    transform: translateX(-50%) !important;
  }

  .top-rcard__body {
    padding-top: 0 !important;
  }

  .top-rcard__tags {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
    width: 100% !important;
    margin-top: 20px !important;
  }

  .top-rcard__tags li {
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 7px 3px !important;
    gap: 4px !important;
    font-size: clamp(10px, 2.85vw, 11.5px) !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
  }

  .top-concept__stage {
    padding: 34px 10px 28px !important;
  }

  .top-concept__hero {
    width: calc(100% + 12px) !important;
    max-width: none !important;
    margin-left: -6px !important;
    margin-right: -6px !important;
  }

  .top-concept__callout {
    width: min(94%, 380px) !important;
    max-width: 380px !important;
    margin-top: -24px !important;
    padding: 18px 12px !important;
  }

  .top-concept__callout p {
    font-size: 16.5px !important;
    line-height: 1.55 !important;
    letter-spacing: .02em !important;
    white-space: nowrap !important;
  }

  .top-concept__callout .cc2 {
    font-size: 16px !important;
  }

  .top-concept__callout .cc-more {
    margin-top: 12px !important;
    padding: 10px 32px !important;
    font-size: 14px !important;
    border-radius: 999px !important;
  }
}

/* SP微調整: トップConceptの長い赤字文が不自然に1文字だけ孤立しないようにする。 */
@media (max-width: 820px) {
  .top-concept__copy {
    font-size: 12.2px !important;
    line-height: 2.08 !important;
    letter-spacing: .02em !important;
    text-align: center !important;
  }

  .top-concept__copy p {
    margin: 0 0 18px !important;
  }

  .top-concept__copy .lead {
    font-size: 15.5px !important;
    line-height: 2.05 !important;
    letter-spacing: .04em !important;
  }

  .top-concept__keep {
    display: inline-block !important;
    white-space: nowrap !important;
    max-width: 100% !important;
    font-size: .92em !important;
    letter-spacing: 0 !important;
  }
}

@media (max-width: 374px) {
  .top-concept__copy {
    font-size: 11.4px !important;
  }

  .top-concept__copy .lead {
    font-size: 14.5px !important;
  }

  .top-concept__keep {
    font-size: .88em !important;
  }
}

/* SP最終: ドロワーメニューにロゴを表示し、項目間とCTAの余白を広めに取る。 */
@media (max-width: 820px) {
  .drawer-nav {
    padding: max(30px, env(safe-area-inset-top)) max(22px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(22px, env(safe-area-inset-left)) !important;
  }

  .drawer-nav__logo {
    display: block !important;
    width: min(236px, calc(100% - 82px)) !important;
    margin: 0 0 28px !important;
  }

  .drawer-nav__logo img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }

  .drawer-nav > a,
  .drawer-nav__group > summary {
    padding: 13px 34px 13px 0 !important;
    gap: 8px !important;
    font-size: 15.5px !important;
    line-height: 1.3 !important;
  }

  .drawer-nav > a small,
  .drawer-nav__group > summary small {
    font-size: 11px !important;
  }

  .drawer-nav__sublist {
    padding: 4px 0 12px 14px !important;
  }

  .drawer-nav a.drawer-nav__sub {
    padding: 8px 0 !important;
  }

  .drawer-nav__cta {
    margin-top: 18px !important;
    gap: 10px !important;
  }

  .drawer-nav__cta a.btn {
    min-height: 44px !important;
  }
}

/* SP最終: 院長メッセージカード内の上下余白を広げ、ボタンを本文に近づけすぎない。 */
@media (max-width: 820px) {
  .top-message__card {
    gap: 30px !important;
    padding: 34px 18px 40px !important;
  }

  .top-message__profile {
    padding: 10px 0 18px !important;
  }

  .top-message__pcap {
    margin: 16px 0 14px !important;
    line-height: 1.65 !important;
  }

  .top-message__spec {
    margin-top: 8px !important;
    padding: 18px 18px 20px !important;
  }

  .top-message__body {
    display: block !important;
    padding: 6px 0 8px !important;
  }

  .top-message__text {
    margin-top: 26px !important;
  }

  .top-message__text p {
    margin-bottom: 18px !important;
    line-height: 2.08 !important;
  }

  .top-message__name {
    margin-top: 14px !important;
    margin-bottom: 22px !important;
  }

  .top-message__btn {
    display: flex !important;
    width: fit-content !important;
    margin: 24px auto 0 !important;
  }
}

/* SP first view: keep the mobile FV close to the requested comp only on top page. */
@media (max-width: 820px) {
  .top-fv {
    background: var(--c-cream) !important;
    padding-bottom: calc(58px + env(safe-area-inset-bottom)) !important;
  }

  .top-fv__stage {
    position: relative !important;
    display: block !important;
    max-width: 430px !important;
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: auto !important;
    margin: 0 auto !important;
    padding: 12px 14px 0 !important;
    box-sizing: border-box !important;
  }

  .top-fv__copy,
  .top-fv__lead {
    position: relative !important;
    z-index: 3 !important;
  }

  .top-fv__place {
    margin-bottom: 8px !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
    letter-spacing: .08em !important;
  }

  .top-fv__head {
    font-size: 21px !important;
    line-height: 1.58 !important;
    letter-spacing: .04em !important;
  }

  .top-fv__lead {
    width: 170px !important;
    left: auto !important;
    top: auto !important;
    margin: 2px 0 0 !important;
    font-size: 17px !important;
    line-height: 1.75 !important;
    letter-spacing: .04em !important;
  }

  .top-fv__underline {
    bottom: -10px !important;
    width: 50px !important;
    height: 16px !important;
  }

  .top-fv__illust {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    height: 130px !important;
    z-index: 2 !important;
    pointer-events: none !important;
  }

  .top-fv__illust img {
    position: absolute !important;
  }

  .top-fv__family {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    left: auto !important;
    right: 12px !important;
    top: 74px !important;
    width: 132px !important;
  }

  .top-fv__shrub--a {
    left: calc(50% - 64px) !important;
    top: 188px !important;
    width: 50px !important;
  }

  .top-fv__shrub--b {
    left: calc(50% - 16px) !important;
    top: 188px !important;
    width: 50px !important;
  }

  .top-fv__collage {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 53.05 / 44.25 !important;
    container-type: inline-size !important;
    margin: 116px 0 4px !important;
    z-index: 1 !important;
  }

  .top-fv__collage .c {
    position: absolute !important;
    object-fit: cover !important;
    border-radius: 8px !important;
  }
}
