@charset "utf-8";
/*
 * ======================================
 * なな歯科クリニック サイト固有CSS
 * 追加クラス一覧（共通SCSS取り込み検討用）
 * ======================================
 *
 * ■ ヘッダー / フッター / CTA
 * .nana-header            - 2段ヘッダー（情報バー＋追従ナビ）
 * .nana-logo              - 丸アイコン＋和文名＋英字サブのロゴ
 * .nana-teltile           - 電話番号タイル（小ラベル＋番号の縦積み）
 * .nana-navbar            - スクロール追従グローバルナビ帯（点線区切り）
 * .nana-footer            - ダークフッター（1.3fr/1fr/1fr）
 * .nana-cta               - 共通CTA（写真＋電話カード／ドット背景）
 * .nana-telbtn            - 丸アイコン付き電話ボタン
 * .nana-callbar           - SP固定電話バー（1本ボタン型）
 *
 * ■ 汎用パーツ
 * .nana-sechead           - 中央見出し＋34x2pxの短いバー
 * .nana-marker            - 見出しの下線ハイライト（#FBDCEA）
 * .nana-pill              - 淡ピンクのピルバッジ（--sub でサブカラー版）
 * .nana-badge-outline     - 枠線バッジ
 * .nana-bar-ttl           - 縦4pxバー付き小見出し
 * .nana-btn-primary       - ピンクの基本ボタン
 * .nana-btn-outline       - 白＋グレー枠のボタン
 * .nana-noimg--contain    - noimage画像を縦長枠で全体表示
 * .nana-hours             - 診療時間テーブル（横罫のみ／淡ピンクthead）
 * .nana-lift              - hoverで2px浮くリンク
 * .nana-reveal            - スクロールフェードアップ
 *
 * ■ セクション
 * .nana-mv / .nana-infobar / .nana-lead / .nana-news / .nana-calendar
 * .nana-worry / .nana-commit / .nana-line / .nana-menu / .nana-flow
 * .nana-intro             - 下層ページ導入（左写真＋右テキストの2カラム）
 * .nana-info / .nana-greeting / .nana-history / .nana-gallery
 * .nana-equip / .nana-policy / .nana-idx / .nana-menucard
 * .nana-reserve / .nana-parking / .nana-bus / .nana-hoursbox
 *
 * ======================================
 * 共通SCSSに不足していたもの（5分類）
 * ======================================
 * ・構造不足：2段ヘッダー（情報バー＋別行の追従ナビ帯）を組む骨組みがない
 * ・構造不足：写真半分＋テキスト半分の共通CTAカード（footer-cta は横並び1行型のみ）
 * ・構造不足：見出し内の一部だけを蛍光ハイライトする marker の太さ/色指定
 * ・装飾パターン不足：ドット方眼・グリッド方眼のセクション背景
 * ・値の粒度不足：セクション余白 44/46/54/56/62/64/66/70/74/86px の刻み
 * ・値の粒度不足：font-size 13.5 / 14.5 / 15.5 / 16.5 / 22 / 23 / 25 / 26 / 29 / 34 / 42 / 44 / 52px
 * ・指定方向不足：grid の非等分比率（1.35fr/1fr、1.05fr/.95fr、.62fr/1.38fr、290px/1fr 等）
 * ・状態不足：table-hours の「横罫のみ＋淡色thead」表現
 */

/* ==========================================================================
   0. ベース
   ========================================================================== */
body {
  font-size: 16px;
  line-height: 1.85;
}
@media (max-width: 639px) {
  body { font-size: 14px; }
}
a {
  color: #0090D2;
}
a:hover {
  color: #EB6AA4;
  opacity: 1;
}
h1, h2, h3, h4 {
  letter-spacing: .01em;
  line-height: 1.4;
}
h2 { font-weight: 600; }

/* ページ表示時のふわっと表示（元データの fadeup .5s に合わせる） */
.subpage-wrapper {
  animation: nana-fadeup .5s ease both;
}
@keyframes nana-fadeup {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

/* SPだけ改行させる<br>（main.cssの.sp-onlyは常時非表示のため独自に用意） */
.nana-br-sp { display: none; }
@media (max-width: 639px) {
  .nana-br-sp { display: inline; }
}

/* メインカラーの強調文字 */
.nana-em {
  color: #EB6AA4;
  font-weight: 700;
}

.nana-lift { transition: transform .25s ease; }
.nana-lift:hover { transform: translateY(-2px); }

.nana-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.nana-reveal.is-inview {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .nana-reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   1. ヘッダー
   ========================================================================== */
.nana-header {
  background: #fff;
}
.nana-header__bar {
  border-bottom: 1px solid #f0e6ea;
}
.nana-header__inner {
  max-width: 1200px;
  height: auto;
  padding: 12px 24px;
  gap: 20px;
}
@media (max-width: 1100px) {
  .nana-header__inner { padding: 10px 16px; height: auto; }
}

/* -- ロゴ -- */
.nana-logo { display: block; }
.nana-logo img {
  display: block;
  height: 69px;
  width: auto;
}
@media (max-width: 639px) {
  .nana-logo img { height: 46px; }
}

/* -- 右側（住所・診療時間＋電話タイル） -- */
.nana-header__right { gap: 20px; }
.nana-header__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: right;
  line-height: 1.5;
}
.nana-header__address {
  font-size: 13px;
  color: #8a8085;
}
.nana-header__hours {
  font-size: 12px;
  color: #8a8085;
}
.nana-header__hours b {
  color: #EB6AA4;
  font-weight: 700;
}
@media (max-width: 1320px) {
  .nana-header__info { display: none; }
}
.nana-teltile {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #0090D2;
  color: #fff;
  border-radius: 8px;
  padding: 8px 18px;
  line-height: 1.15;
  transition: background .3s ease;
}
.nana-teltile:hover { background: #007ab3; color: #fff; }
.nana-teltile__label {
  font-size: 10px;
  letter-spacing: .08em;
  opacity: .9;
}
.nana-teltile__num {
  font-size: 19px;
  font-weight: 600;
}
.nana-teltile--sp {
  width: 100%;
  padding: 12px 18px;
}
.nana-teltile--sp .nana-teltile__num { font-size: 22px; }

/* MAPボタン（アイコン＋文字） */
.nana-header__map {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 8px 16px;
  border: 1px solid #f2c6da;
  border-radius: 8px;
  color: #EB6AA4;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.15;
  transition: background .3s ease, border-color .3s ease;
}
.nana-header__map i { font-size: 17px; }
.nana-header__map:hover {
  background: #FDEFF5;
  border-color: #EB6AA4;
  color: #EB6AA4;
}

/* -- 追従ナビ帯 -- */
.nana-navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 2px 10px rgba(150, 120, 135, .06);
}
.nana-navbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
/* 区切り点線：各項目の左側＋最終項目の右側にも入れて両端まで引く */
.nana-navbar .header__nav-item {
  background-image: linear-gradient(#d9cfd4 2px, transparent 2px);
  background-size: 2px 6px;
  background-repeat: repeat-y;
  background-position: left center;
}
.nana-navbar .header__nav-item:last-child {
  background-image:
    linear-gradient(#d9cfd4 2px, transparent 2px),
    linear-gradient(#d9cfd4 2px, transparent 2px);
  background-size: 2px 6px, 2px 6px;
  background-repeat: repeat-y, repeat-y;
  background-position: left center, right center;
}
.nana-navbar .header__nav-item a {
  display: inline-block;
  padding: 18px 30px;
  font-size: 15px;
  font-weight: 700;
  color: #463f42;
  line-height: 1.85;
  transition: color .3s ease;
}
.nana-navbar .header__nav-item a::after { display: none; }
.nana-navbar .header__nav-item a:hover { color: #EB6AA4; }
.nana-navbar .header__nav-item--current a { color: #EB6AA4; }
@media (max-width: 1320px) {
  .nana-navbar .header__nav-item a { padding: 18px 20px; }
}
@media (max-width: 1100px) {
  .nana-navbar { display: none; }
}

/* -- SPナビ内の電話 -- */
.sp-nav__bottom { max-width: 320px; }

/* ==========================================================================
   2. 共通CTA
   ========================================================================== */
.nana-cta {
  position: relative;
  background: #FCF6F1;
  margin-top: 60px;
  overflow: hidden;
}
.nana-cta__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#EFE2D6 1.6px, transparent 1.6px);
  background-size: 16px 16px;
  opacity: .55;
}
.nana-cta__inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 24px 0;
}
.nana-cta__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(150, 120, 135, .14);
}
.nana-cta__photo {
  position: relative;
  min-height: 420px;
}
.nana-cta__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nana-cta__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(235, 106, 164, .12), rgba(70, 63, 66, .34));
}
.nana-cta__caption {
  position: absolute;
  left: 32px;
  bottom: 30px;
  color: #fff;
}
.nana-cta__caption-en {
  font-size: 11px;
  letter-spacing: .22em;
  opacity: .9;
  margin-bottom: 6px;
}
.nana-cta__caption-ja {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.5;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}
.nana-cta__body {
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.nana-cta__title {
  font-size: 23px;
  font-weight: 600;
  line-height: 1.65;
  color: #3a3437;
  margin-bottom: 16px;
}
.nana-cta__text {
  font-size: 14.5px;
  color: #6b6166;
  margin-bottom: 28px;
}
.nana-cta__note {
  font-size: 12.5px;
  color: #8a8085;
  margin-top: 14px;
  text-align: center;
}
.nana-cta__spacer { height: 60px; }
@media (max-width: 896px) {
  .nana-cta__card { grid-template-columns: 1fr; }
  .nana-cta__photo { min-height: 260px; }
  .nana-cta__body { padding: 34px 24px; }
  .nana-cta__inner { padding: 40px 16px 0; }
  .nana-cta__spacer { height: 40px; }
}
@media (max-width: 639px) {
  .nana-cta__title { font-size: 19px; }
  /* SPは2つのカギカッコを続けて流す（改行しない） */
  .nana-cta__title br { display: none; }
  .nana-cta__caption { left: 20px; bottom: 20px; }
  .nana-cta__caption-ja { font-size: 17px; }
}

/* -- 電話ボタン（丸アイコン付き） -- */
.nana-telbtn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: #EB6AA4;
  color: #fff;
  border-radius: 8px;
  padding: 15px 22px;
  box-shadow: 0 10px 24px rgba(235, 106, 164, .3);
  transition: transform .25s ease;
}
.nana-telbtn:hover { transform: translateY(-2px); color: #fff; }
.nana-telbtn__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  font-size: 17px;
}
.nana-telbtn__body {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.nana-telbtn__label {
  font-size: 11.5px;
  letter-spacing: .06em;
  opacity: .9;
}
.nana-telbtn__num {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: .02em;
}
@media (max-width: 639px) {
  .nana-telbtn { gap: 12px; padding: 14px 16px; }
  .nana-telbtn__icon { width: 38px; height: 38px; font-size: 15px; }
  .nana-telbtn__num { font-size: 23px; }
}

/* ==========================================================================
   3. フッター
   ========================================================================== */
.nana-footer {
  background: #463f42;
  color: #e8dfe3;
  padding: 52px 24px 30px;
}
.nana-footer .nana-footer__inner {
  max-width: 1120px;
  padding: 0;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 36px;
  align-items: start;
}
.nana-footer .nana-footer__logo {
  margin-bottom: 16px;
}
/* ダーク背景なのでロゴは白抜き（共通の footer-body--dark の反転フィルタをそのまま使う） */
.nana-footer .nana-footer__logo img {
  height: 54px;
  width: auto;
}
.nana-footer .nana-footer__info {
  font-size: 14px;
  line-height: 1.9;
  color: #c9bfc4;
  margin-bottom: 0;
}
.nana-footer .nana-footer__info--sm {
  font-size: 13px;
  margin-top: 12px;
}
/* 電話番号リンクは白のまま（SPでOSが自動リンク化してもリンク色にしない） */
.nana-footer a[href^="tel:"] {
  color: #fff;
}
.nana-footer a[href^="tel:"]:hover {
  color: #fff;
}
.nana-footer__ttl {
  font-size: 14px;
  font-weight: 700;
  color: #f0a9c8;
  letter-spacing: .08em;
  margin-bottom: 14px;
}
.nana-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nana-footer__nav a {
  font-size: 14px;
  color: #e8dfe3;
}
.nana-footer__nav a:hover { color: #f0a9c8; }
.nana-footer__tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #0090D2;
  color: #fff;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  transition: background .3s ease;
}
.nana-footer__tel:hover { background: #007ab3; color: #fff; }
.nana-footer__line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #06C755;
  color: #fff;
  border-radius: 8px;
  padding: 12px 18px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  transition: opacity .3s ease;
}
.nana-footer__line i { font-size: 19px; }
.nana-footer__line:hover { color: #fff; opacity: .85; }
.nana-footer__copyright {
  max-width: 1120px;
  margin: 34px auto 0;
  padding-top: 20px;
  border-top: 1px solid #5a5155;
  font-size: 12px;
  color: #a89ea3;
  text-align: center;
}
/* ハンバーガーが出る幅（1100px以下）ではフッターのナビも隠す */
@media (max-width: 1100px) {
  .nana-footer__menu { display: none; }
  .nana-footer .nana-footer__inner { grid-template-columns: 1.3fr 1fr; }
}
@media (max-width: 896px) {
  .nana-footer { padding: 40px 20px 26px; }
  .nana-footer .nana-footer__inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 639px) {
  .nana-footer__copyright { margin-bottom: 56px; }
}

/* -- ページトップボタン：タブレット以下は非表示（下部の固定電話バーと干渉するため） -- */
@media (max-width: 896px) {
  .page-top,
  .page-top__link { display: none; }
}

/* -- SP固定電話バー -- */
.nana-callbar {
  padding: 0;
  padding-bottom: 0;
  border-top: none;
  background: #EB6AA4;
  box-shadow: none;
}
.nana-callbar .nana-callbar__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  padding-bottom: max(14px, env(safe-area-inset-bottom));
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}
.nana-callbar .nana-callbar__link:hover { color: #fff; }
@media (min-width: 640px) {
  .nana-callbar { display: none; }
}

/* ==========================================================================
   4. 汎用パーツ
   ========================================================================== */
/* -- 中央見出し＋短いバー -- */
.nana-sechead { text-align: center; }
.nana-sechead__ttl {
  font-size: 29px;
  color: #463f42;
  margin-bottom: 10px;
}
.nana-sechead__bar {
  display: inline-block;
  width: 34px;
  height: 2px;
  background: #EB6AA4;
}
.nana-sechead__lead {
  color: #5c5459;
  font-size: 15.5px;
  margin: 16px auto 0;
  max-width: 680px;
  text-align: center;
  text-wrap: balance;
  word-break: auto-phrase;
}
@media (max-width: 639px) {
  /* SPは各セクション見出しを一律21pxに揃える */
  .nana-sechead__ttl,
  .nana-menu__head .nana-sechead__ttl,
  .nana-gallery__head .nana-sechead__ttl,
  .nana-equip__head .nana-sechead__ttl { font-size: 21px; }
  /* SPの本文まわりは body(14px) に合わせて縮小 */
  .nana-sechead__lead { font-size: 13px; }
  .nana-pagelead p,
  .nana-intro__text,
  .nana-lead__text,
  .nana-worry__note { font-size: 14px; }
}

/* -- 蛍光ハイライト（文字の後ろに敷くバー） -- */
.nana-marker { position: relative; }
.nana-marker::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 9px;
  background: #FBDCEA;
  border-radius: 8px;
  z-index: -1;
}

/* -- バッジ類 -- */
.nana-pill {
  display: inline-block;
  background: #FDEFF5;
  color: #EB6AA4;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
}
.nana-pill--sub {
  background: #E8F4FB;
  color: #0090D2;
}
.nana-badge-outline {
  display: inline-block;
  border: 1px solid #f2c6da;
  color: #EB6AA4;
  font-size: 13.5px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 8px;
}

/* -- 縦バー付き小見出し -- */
.nana-bar-ttl {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #463f42;
}
.nana-bar-ttl::before {
  content: "";
  flex: none;
  width: 4px;
  height: 17px;
  border-radius: 2px;
  background: #EB6AA4;
}
.nana-bar-ttl--top { align-items: flex-start; }
.nana-bar-ttl--top::before { height: 18px; margin-top: 3px; }

/* -- ボタン -- */
.nana-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #EB6AA4;
  color: #fff;
  font-size: 15.5px;
  font-weight: 600;
  padding: 15px 30px;
  border-radius: 8px;
  transition: transform .25s ease;
}
.nana-btn-primary:hover { transform: translateY(-2px); color: #fff; }
.nana-btn-outline {
  display: block;
  background: #fff;
  color: #463f42;
  border: 1px solid #dcd2d7;
  font-size: 14.5px;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 8px;
  text-align: left;
  transition: border-color .3s ease, color .3s ease;
}
.nana-btn-outline:hover { border-color: #EB6AA4; color: #EB6AA4; }

/* -- 写真未確定箇所の noimage 画像 --
   写真枠と同じ扱い（幅100% / 4:3 / cover）。実写真が届いたら src 差し替えのみでOK。
   縦長枠だけは NO IMAGE 全体が見えるよう contain にする。 */
.nana-noimg--contain {
  object-fit: contain;
  background: #ebebeb;
}

/* -- 下層ページヒーロー -- */
.nana-pagehero {
  padding: 46px 24px;
}
.nana-pagehero .heading__ja {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: .01em;
}
@media (max-width: 639px) {
  .nana-pagehero { padding: 32px 20px; }
  .nana-pagehero .heading__ja { font-size: 23px; letter-spacing: .01em; }
}
.nana-pagelead {
  max-width: 820px;
  margin: 0 auto;
  padding: 46px 24px 0;
  text-align: center;
  text-wrap: balance;
  word-break: auto-phrase;
}
.nana-pagelead--wide { max-width: 860px; }
.nana-pagelead p {
  color: #5c5459;
  font-size: 16px;
}

/* -- 下層ページの導入（左に写真・右にテキストの2カラム） -- */
.nana-intro {
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 24px 0;
}
.nana-intro__grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 40px;
  align-items: center;
}
.nana-intro__img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 8px;
}
.nana-intro__ttl {
  font-size: 28px;
  color: #463f42;
  margin: 20px 0 16px;
}
.nana-intro__text {
  color: #5c5459;
  font-size: 16px;
}
@media (max-width: 896px) {
  .nana-intro { padding: 40px 16px 0; }
  .nana-intro__grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 639px) {
  .nana-intro__ttl { font-size: 21px; margin: 16px 0 14px; }
}

/* -- 診療時間テーブル -- */
.nana-hours {
  font-size: 14.5px;
}
.nana-hours th,
.nana-hours td {
  border: none;
  padding: 11px 4px;
}
.nana-hours thead tr { background: #FCF1F6; }
.nana-hours thead th {
  background: transparent;
  color: #463f42;
  font-size: 14.5px;
  font-weight: 700;
}
.nana-hours thead th:first-child {
  text-align: left;
  padding: 11px 6px 11px 14px;
}
.nana-hours thead th.is-rest { color: #a99ea3; }
.nana-hours tbody tr { border-top: 1px solid #f0dde6; }
.nana-hours tbody td {
  background: transparent;
  padding: 1px;
  color: #524a4e;
}
.nana-hours tbody td:first-child {
  text-align: left;
  padding: 12px 6px 12px 14px;
}
.nana-hours .is-open { color: #EB6AA4; font-weight: 700; }
.nana-hours .is-closed { color: #d9cfd4; }
.nana-hours--lg { font-size: 15px; }
.nana-hours--lg thead tr { background: #FDF0F6; }
.nana-hours--lg thead th {
  padding: 14px 8px;
  font-size: 15px;
}
.nana-hours--lg thead th:first-child {
  color: #EB6AA4;
  padding: 14px 8px 14px 20px;
}
.nana-hours--lg thead th.is-rest { color: #8a8085; }
.nana-hours--lg tbody tr:first-child { border-top: none; }
.nana-hours--lg tbody td:first-child { padding: 14px 8px 14px 20px; }
/* SPは table-layout:fixed で曜日7列を等幅にし、時間列だけ幅を指定して全体を収める */
@media (max-width: 639px) {
  .nana-hours,
  .nana-hours--lg {
    table-layout: fixed;
    font-size: 11.5px;
  }
  .nana-hours thead th,
  .nana-hours tbody td,
  .nana-hours--lg thead th,
  .nana-hours--lg tbody td {
    padding: 9px 0;
    font-size: 11.5px;
  }
  .nana-hours thead th:first-child,
  .nana-hours tbody td:first-child,
  .nana-hours--lg thead th:first-child,
  .nana-hours--lg tbody td:first-child {
    width: 33%;
    padding: 9px 4px 9px 8px;
    white-space: nowrap;
  }
}
@media (max-width: 359px) {
  .nana-hours,
  .nana-hours--lg,
  .nana-hours thead th,
  .nana-hours tbody td,
  .nana-hours--lg thead th,
  .nana-hours--lg tbody td { font-size: 10px; }
}

/* ==========================================================================
   5. TOPページ
   ========================================================================== */
/* -- メインビュー -- */
.nana-mv {
  position: relative;
  overflow: hidden;
}
/* メインビューの高さはこの1変数で管理する */
#slideshow {
  --nana-mv-h: min(80vh, 680px);
  position: relative;
  overflow: hidden;
  height: var(--nana-mv-h);
}
/* CMSスライダーは自前で --swiper-wrapper-height:98vh を出力してくるので、
   ID2つ分の詳細度で上書きして外枠と同じ高さに揃える（後から挿入される<style>にも勝つ） */
#slideshow #main_slider.slider_wrapper {
  --swiper-wrapper-height: var(--nana-mv-h);
}
@media (max-width: 896px) {
  #slideshow { --nana-mv-h: min(70vh, 520px); }
}
@media (max-width: 639px) {
  #slideshow { --nana-mv-h: 60vh; }
}

/* -- 診療受付時間バー -- */
.nana-infobar {
  background: #FCF6F1;
  padding: 44px 24px;
}
.nana-infobar__box {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  border: 1px solid #f0dde6;
  background: #fff;
}
.nana-infobar__left {
  padding: 32px 36px;
  border-right: 1px solid #f0dde6;
}
.nana-infobar__ttl {
  font-size: 17px;
  font-weight: 600;
  color: #EB6AA4;
  letter-spacing: .04em;
  margin-bottom: 16px;
}
.nana-infobar__notes {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13.5px;
  color: #5c5459;
}
.nana-infobar__notes b { color: #463f42; }
.nana-infobar__right {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.nana-infobar__right p {
  font-size: 14px;
  color: #5c5459;
}
.nana-telblock {
  display: flex;
  flex-direction: column;
  background: #EB6AA4;
  color: #fff;
  padding: 14px 22px;
  border-radius: 8px;
  transition: transform .25s ease;
}
.nana-telblock:hover { transform: translateY(-2px); color: #fff; }
.nana-telblock__label {
  font-size: 11.5px;
  letter-spacing: .06em;
}
.nana-telblock__num {
  font-size: 29px;
  font-weight: 600;
  line-height: 1.25;
}
@media (max-width: 896px) {
  .nana-infobar { padding: 30px 16px; }
  .nana-infobar__box { grid-template-columns: 1fr; }
  .nana-infobar__left {
    border-right: none;
    border-bottom: 1px solid #f0dde6;
    padding: 24px 18px;
  }
  .nana-infobar__right { padding: 24px 18px; }
}
@media (max-width: 639px) {
  .nana-telblock__num { font-size: 24px; }
}

/* -- 導入 -- */
.nana-lead {
  max-width: 1160px;
  margin: 0 auto;
  padding: 86px 24px 76px;
}
.nana-lead__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.nana-lead__ttl {
  font-size: 34px;
  font-weight: 600;
  color: #463f42;
  margin: 22px 0 20px;
}
.nana-lead__text {
  font-size: 16px;
  color: #5c5459;
}
.nana-lead__btn { margin-top: 28px; }
.nana-lead__img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}
@media (max-width: 896px) {
  .nana-lead { padding: 50px 20px 46px; }
  .nana-lead__grid { grid-template-columns: 1fr; gap: 28px; }
  .nana-lead__ttl { font-size: 25px; }
}

/* -- お知らせ -- */
.nana-news {
  background: #FCF6F1;
  padding: 66px 24px 62px;
}
.nana-news__inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.nana-news__head {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.nana-news__ttl {
  font-size: 26px;
  color: #463f42;
  line-height: 1.35;
  text-align: center;
}
.nana-news__head .nana-sechead__bar { margin-top: 14px; }
.nana-news__list {
  background: #fff;
  border: 1px solid #f0dde6;
  border-radius: 8px;
  border-top: 1px solid #f0dde6;
  box-shadow: none;
  /* 4件目以降はスクロール（正確な高さはJSで3件分に合わせる） */
  max-height: 216px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.nana-news__list::-webkit-scrollbar { width: 6px; }
.nana-news__list::-webkit-scrollbar-track { background: transparent; }
.nana-news__list::-webkit-scrollbar-thumb {
  background: #e8d5df;
  border-radius: 8px;
}
.nana-news__list .blog-list__item { border-bottom: 1px solid #f4e6ed; }
.nana-news__list .blog-list__item:last-child { border-bottom: none; }
.nana-news__list .blog-list__link {
  align-items: center;
  gap: 18px;
  padding: 20px 26px;
}
/* リンクではないのでホバーで背景色・文字色を変えない */
.nana-news__list .blog-list__link:hover { background: transparent; }
.nana-news__list .blog-list__link:hover .blog-list__title { color: #524a4e; }
/* 日付はサブカラーのラベル（白の太文字） */
.nana-news__list .blog-list__date {
  flex-shrink: 0;
  min-width: 108px;
  padding: 3px 12px;
  border-radius: 8px;
  background: #0090D2;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  line-height: 1.6;
}
.nana-news__list .blog-list__title {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  color: #524a4e;
}
@media (max-width: 639px) {
  .nana-news { padding: 44px 16px 40px; }
  .nana-news__ttl { font-size: 21px; }
  /* SPは日付と本文を縦積み（1カラム） */
  .nana-news__list .blog-list__link {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px;
    gap: 7px;
  }
  .nana-news__list .blog-list__date { min-width: 0; font-size: 13px; }
  .nana-news__list .blog-list__title { font-size: 14px; }
}

/* -- 休診日カレンダー -- */
.nana-calendar {
  position: relative;
  background-color: #fff;
  background-image: linear-gradient(#F7F1EC 1px, transparent 1px), linear-gradient(90deg, #F7F1EC 1px, transparent 1px);
  background-size: 20px 20px;
  padding: 56px 24px;
}
.nana-calendar__box {
  position: relative;
  margin: 0 auto;
  background: #fff;
  border-radius: 8px;
  padding: 40px;
}
.nana-calendar__ttl {
  font-size: 25px;
  color: #463f42;
  margin-bottom: 10px;
}
/* 2ヶ月分を横並びに */
.nana-calendar__months {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
}
.nana-calendar__months > .calendar {
  flex: 1 1 260px;
  min-width: 0;
}
.nana-calendar__months .calendar_head {
  background: #EB6AA4;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  padding: 8px 4px;
  border-radius: 8px 8px 0 0;
}
.nana-calendar__months .calendar_body {
  border: 1px solid #ece2e7;
  border-top: none;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}
.nana-calendar__months table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.nana-calendar__months th,
.nana-calendar__months td {
  border: 1px solid #ece2e7;
  text-align: center;
  padding: 0;
  font-size: 14px;
  font-weight: 400;
  color: #463f42;
  vertical-align: middle;
}
.nana-calendar__months th {
  background: #F7F1EC;
  font-weight: 700;
  padding: 6px 2px;
}
.nana-calendar__months th.sun { color: #EB6AA4; }
.nana-calendar__months th.sat { color: #0090D2; }
.nana-calendar__months .days {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
}
/* 休診日カラー（水曜・日曜・祝日） */
.nana-calendar__months td.off {
  background: #FDF3F7;
}
.nana-calendar__months .days.off {
  color: #EB6AA4;
  font-weight: 700;
}
.nana-calendar__months td.kara { background: #fafafa; }
.nana-calendar__notes {
  margin-top: 26px;
  text-align: center;
}
.nana-calendar__notes p {
  color: #52626a;
  font-size: 15px;
}
.nana-calendar__notes p + p { margin-top: 8px; }
.nana-calendar__off {
  color: #EB6AA4;
  font-weight: 700;
}
/* 休診日カラーの凡例（カレンダーのセルと同じ見た目） */
.nana-calendar__mark {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin: 0 4px;
  vertical-align: -1px;
  background: #FDF3F7;
  border: 1px solid #ece2e7;
}
@media (max-width: 639px) {
  .nana-calendar { padding: 40px 16px; }
  .nana-calendar__box { padding: 24px 16px; }
  .nana-calendar__ttl { font-size: 20px; }
  .nana-calendar__months { gap: 16px; }
  .nana-calendar__months > .calendar { flex: 1 1 100%; }
  .nana-calendar__months th,
  .nana-calendar__months td { font-size: 13px; }
  .nana-calendar__months .days { min-height: 30px; }
  .nana-calendar__notes p { font-size: 13px; }
}

/* -- お悩み -- */
.nana-worry {
  background: #FCF6F1;
  padding: 70px 24px;
}
.nana-worry__inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}
.nana-worry__bar { margin-bottom: 34px; }
.nana-worry__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  text-align: left;
}
.nana-worry__item {
  background: #fff;
  border: 1px solid #f0dde6;
  border-radius: 8px;
  padding: 20px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: #524a4e;
}
/* 左端にメインカラーの縦バー（チェックマークの代わり） */
.nana-worry__item::before {
  content: "";
  flex: none;
  width: 4px;
  height: 17px;
  margin-top: 5px;
  border-radius: 2px;
  background: #EB6AA4;
}
.nana-worry__note {
  position: relative;
  margin-top: 26px;
  padding: 8px 4px 0;
  text-align: left;
  color: #524a4e;
  font-size: 16px;
}
.nana-worry__note b { color: #EB6AA4; }
@media (max-width: 896px) {
  .nana-worry { padding: 48px 16px; }
  .nana-worry__list { grid-template-columns: 1fr; }
  .nana-worry__note { font-size: 15px; }
}

/* -- 5つのこだわり（TOP） -- */
.nana-commit {
  background: #fff;
  padding: 74px 24px;
}
.nana-commit__inner {
  max-width: 1120px;
  margin: 0 auto;
}
.nana-commit__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 44px;
}
.nana-commit__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 700;
  color: #EB6AA4;
  margin-bottom: 12px;
}
.nana-commit__eyebrow::before,
.nana-commit__eyebrow::after {
  content: "";
  width: 26px;
  height: 1px;
  background: #F4BBD5;
}
.nana-commit__ttl {
  position: relative;
  font-size: 36px;
  color: #463f42;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.nana-commit__num {
  position: relative;
  color: #EB6AA4;
  font-weight: 600;
  font-size: 52px;
  line-height: 1;
}
.nana-commit__num::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  width: 100%;
  height: 8px;
  background: #FBDCEA;
  border-radius: 8px;
  z-index: -1;
}
.nana-commit__of {
  font-size: 22px;
  color: #EB6AA4;
  font-weight: 700;
}
.nana-commit__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.nana-commit__item {
  background: #FDFBF8;
  border: 1px solid #ece2e7;
  border-radius: 8px;
  padding: 30px 28px;
}
.nana-commit__no {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.nana-commit__no span:first-child {
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
  color: #EB6AA4;
  letter-spacing: -.02em;
}
.nana-commit__no span:last-child {
  width: 34px;
  height: 2px;
  background: #F4BBD5;
}
.nana-commit__item h3 {
  font-size: 18px;
  color: #463f42;
  margin-bottom: 10px;
}
.nana-commit__item p {
  color: #5c5459;
  font-size: 14.5px;
}
@media (max-width: 896px) {
  .nana-commit { padding: 48px 16px; }
  .nana-commit__list { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .nana-commit__ttl { font-size: 26px; }
  .nana-commit__num { font-size: 40px; }
}
@media (max-width: 639px) {
  .nana-commit__list { grid-template-columns: 1fr; }
}

/* -- 公式LINE -- */
.nana-line {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 24px 64px;
}
.nana-line__box {
  background: #0CB551;
  border-radius: 8px;
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.nana-line__badge {
  display: inline-block;
  background: #fff;
  color: #06C755;
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 8px;
  margin-bottom: 14px;
}
.nana-line__ttl {
  font-size: 22px;
  color: #fff;
  margin-bottom: 12px;
}
.nana-line__text {
  color: #eefaf1;
  font-size: 15px;
}
.nana-line__btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #06C755;
  font-size: 15.5px;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 8px;
  white-space: nowrap;
  transition: transform .25s ease;
}
.nana-line__btn:hover { transform: translateY(-2px); color: #06C755; }
@media (max-width: 896px) {
  .nana-line { padding: 16px 16px 44px; }
  .nana-line__box { grid-template-columns: 1fr; padding: 26px 22px; gap: 20px; }
  .nana-line__ttl { font-size: 18px; }
}

/* -- 診療案内カード -- */
/* ベージュ背景は幅90%（左右同じ余白）＋角丸 */
.nana-menu {
  width: 90%;
  margin: 0 auto;
  background: #FCF6F1;
  border-radius: 8px;
  padding: 74px 24px;
}
.nana-menu__inner {
  max-width: 900px;
  margin: 0 auto;
}
.nana-menu__head { margin-bottom: 44px; }
.nana-menu__head .nana-sechead__ttl { font-size: 30px; }
.nana-menu__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.nana-menu__item {
  background: #fff;
  border: 1px solid #f0e8ec;
  border-radius: 8px;
  padding: 30px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #463f42;
}
.nana-menu__icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #FDF4F8;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: #EB6AA4;
  font-size: 38px;
  transition: transform .3s ease;
}
.nana-menu__item:hover .nana-menu__icon { transform: scale(1.12); }
.nana-menu__label {
  width: 100%;
  border-top: 1px solid rgba(70, 63, 66, .12);
  padding-top: 14px;
  font-size: 14.5px;
  font-weight: 700;
  color: #463f42;
  line-height: 1.45;
}
@media (max-width: 896px) {
  .nana-menu { width: 92%; padding: 48px 16px; }
  .nana-menu__list { grid-template-columns: repeat(2, 1fr); }
  .nana-menu__icon { width: 72px; height: 72px; font-size: 30px; }
}
@media (max-width: 639px) {
  /* SPは2列 */
  .nana-menu__list { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .nana-menu__item { padding: 30px 13px 24px; }
  .nana-menu__icon { width: 64px; height: 64px; font-size: 27px; margin-bottom: 14px; }
  .nana-menu__label { padding-top: 12px; font-size: 12.5px; }
}

/* -- 初めてご来院の方へ -- */
.nana-flow {
  max-width: 1000px;
  margin: 0 auto;
  padding: 74px 24px;
}
.nana-flow__head { margin-bottom: 44px; }
/* 「初めてご来院の方へ」は小さめの帯ラベル、その下がセクションタイトル */
.nana-flow__label {
  display: inline-block;
  background: #EB6AA4;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 5px 16px;
  border-radius: 8px;
  margin-bottom: 14px;
}
.nana-flow__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.nana-flow__item {
  background: #fff;
  border: 1px dashed #F2B3CE;
  border-radius: 8px;
  padding: 24px 30px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
}
.nana-flow__num {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #EB6AA4;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
}
.nana-flow__item h3 {
  font-size: 18px;
  color: #463f42;
  margin-bottom: 6px;
}
.nana-flow__item p {
  color: #5c5459;
  font-size: 15px;
}
@media (max-width: 639px) {
  .nana-flow { padding: 48px 16px; }
  .nana-flow__item { padding: 20px 18px; gap: 14px; }
  .nana-flow__num { width: 42px; height: 42px; font-size: 17px; }
}

/* -- 医院情報・アクセス（TOP） -- */
.nana-info {
  background: #fff;
  padding: 0 24px 74px;
}
.nana-info__inner {
  max-width: 1000px;
  margin: 0 auto;
}
.nana-info__head { margin-bottom: 40px; }
.nana-info__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  align-items: stretch;
}
.nana-info__card {
  background: #fff;
  border-radius: 8px;
  padding: 34px;
}
.nana-info__note {
  margin-top: 14px;
  font-size: 13px;
  color: #8a8085;
}
.nana-info__map {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(150, 120, 135, .08);
  min-height: 340px;
}
.nana-info__map iframe { min-height: 340px; }
@media (max-width: 896px) {
  .nana-info { padding: 0 16px 48px; }
  .nana-info__grid { grid-template-columns: 1fr; gap: 24px; }
  .nana-info__card { padding: 24px 18px; }
  .nana-info__map, .nana-info__map iframe { min-height: 260px; }
}

/* -- 定義リスト風テーブル（住所・電話 等） -- */
.nana-dl {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.nana-dl th {
  padding: 12px 0;
  color: #EB6AA4;
  font-weight: 700;
  width: 96px;
  vertical-align: top;
  text-align: left;
  background: transparent;
  border: none;
}
.nana-dl td {
  padding: 12px 0;
  color: #524a4e;
  border: none;
}
.nana-dl tr + tr th,
.nana-dl tr + tr td {
  border-top: 1px dashed #f0dde6;
}
.nana-dl--narrow th { width: 78px; padding: 11px 0; }
.nana-dl--narrow td { padding: 11px 0; }
.nana-dl a { font-weight: 700; }
@media (max-width: 639px) {
  .nana-dl th { width: 74px; font-size: 14px; }
  .nana-dl td { font-size: 14px; }
}

/* ==========================================================================
   6. クリニック紹介
   ========================================================================== */
.nana-greeting {
  max-width: 1080px;
  margin: 0 auto;
  padding: 70px 24px;
}
.nana-greeting__grid {
  display: grid;
  grid-template-columns: .62fr 1.38fr;
  gap: 40px;
  /* 写真は右のテキストコンテンツの高さに合わせて伸ばす */
  align-items: stretch;
}
.nana-greeting__photo {
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 40px rgba(150, 120, 135, .18);
}
.nana-greeting__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nana-greeting__ttl {
  font-size: 25px;
  color: #463f42;
  margin: 16px 0;
}
.nana-greeting__text {
  color: #5c5459;
  font-size: 15px;
}
.nana-greeting__text + .nana-greeting__text { margin-top: 14px; }
.nana-greeting__sign {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #ece2e7;
}
.nana-greeting__name {
  font-size: 17px;
  font-weight: 700;
  color: #463f42;
}
.nana-greeting__name small {
  font-size: 12px;
  color: #8a8085;
  font-weight: 400;
}
.nana-greeting__deg {
  color: #EB6AA4;
  font-weight: 700;
  font-size: 14px;
  margin-top: 4px;
}
.nana-history {
  margin-top: 34px;
  background: #fff;
  border: 1px solid #d9edf7;
  border-radius: 8px;
  padding: 30px 34px;
}
.nana-history h3 {
  font-size: 18px;
  color: #463f42;
  margin-bottom: 16px;
}
.nana-history__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 32px;
}
.nana-history__list li {
  display: flex;
  gap: 12px;
  color: #524a4e;
  font-size: 15px;
}
.nana-history__list li::before {
  content: "\f111";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 10px;
  line-height: 2.775;
  color: #d3a8bd;
}
@media (max-width: 896px) {
  .nana-greeting { padding: 48px 16px; }
  .nana-greeting__grid { grid-template-columns: 1fr; gap: 26px; }
  .nana-greeting__photo { max-width: 300px; margin: 0 auto; }
  .nana-history { padding: 22px 18px; }
  .nana-history__list { grid-template-columns: 1fr; }
}
@media (max-width: 639px) {
  .nana-greeting__ttl { font-size: 22px; }
  .nana-greeting__text { font-size: 14px; }
  /* 「※旧姓：森田」は名前の下に改行して置く */
  .nana-greeting__name small { display: block; }
}

/* -- 院内紹介 / 機材紹介 -- */
.nana-gallery {
  background: #fff;
  padding: 70px 24px;
}
.nana-gallery__inner,
.nana-equip {
  max-width: 1080px;
  margin: 0 auto;
}
.nana-equip { padding: 70px 24px; }
.nana-gallery__head { margin-bottom: 16px; }
.nana-gallery__head .nana-sechead__ttl { font-size: 28px; margin-bottom: 0; }
.nana-gallery__head p {
  color: #8a8085;
  font-size: 14px;
  margin-top: 8px;
  text-align: center;
  text-wrap: balance;
  word-break: auto-phrase;
}
.nana-equip__head { margin-bottom: 14px; }
.nana-equip__head .nana-sechead__ttl { font-size: 28px; margin-bottom: 0; }
.nana-equip__head p {
  color: #5c5459;
  font-size: 15px;
  margin-top: 10px;
}
.nana-gallery__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 30px;
}
.nana-equip__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 34px;
}
.nana-card-photo {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(150, 120, 135, .1);
  display: flex;
  flex-direction: column;
}
.nana-card-photo--soft { box-shadow: 0 8px 22px rgba(150, 120, 135, .08); }
/* ライトボックス用リンク（クリックで原寸ポップアップ） */
.nana-card-photo > .nana-lb {
  display: block;
  overflow: hidden;
  cursor: zoom-in;
}
.nana-card-photo > .nana-lb img {
  transition: transform .5s ease;
}
.nana-card-photo > .nana-lb:hover img {
  transform: scale(1.06);
}
.nana-card-photo > img,
.nana-card-photo > .nana-lb img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: none;
  border-radius: 0;
}
/* 縦長写真の表示位置を下寄り（＝被写体を上にずらす）に調整 */
.nana-card-photo--pos-lower > .nana-lb img,
.nana-card-photo--pos-lower > img { object-position: center 80%; }
.nana-card-photo__body { padding: 18px 20px; }
.nana-card-photo__body h3 {
  font-size: 16px;
  margin-bottom: 6px;
}
.nana-card-photo__body p {
  font-size: 13.5px;
  color: #7d757a;
}
.nana-card-photo--equip .nana-card-photo__body { padding: 22px 24px; }
.nana-card-photo--equip .nana-card-photo__body h3 {
  font-size: 16.5px;
  margin-bottom: 8px;
}
.nana-card-photo--equip .nana-card-photo__body p { color: #5c5459; }
@media (max-width: 896px) {
  .nana-gallery { padding: 48px 16px; }
  .nana-equip { padding: 48px 16px; }
  .nana-gallery__list,
  .nana-equip__list { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 639px) {
  .nana-gallery__list,
  .nana-equip__list { grid-template-columns: 1fr; }
}

/* ==========================================================================
   7. クリニックのこだわり
   ========================================================================== */
.nana-policy {
  max-width: 1080px;
  margin: 0 auto;
  padding: 64px 24px;
}
.nana-policy > * + * {
  margin-top: 60px;
  padding-top: 60px;
  border-top: 1px solid #ececec;
}
.nana-policy__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.nana-policy__row > img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #ece2e7;
}
.nana-policy__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.nana-policy__num {
  font-size: 44px;
  font-weight: 600;
  line-height: .9;
  color: #EB6AA4;
  letter-spacing: -.02em;
}
.nana-policy__bar {
  width: 30px;
  height: 2px;
  background: #F4BBD5;
}
.nana-policy__ttl {
  font-size: 21px;
  color: #463f42;
  margin-top: 8px;
}
.nana-policy__text {
  color: #5c5459;
  font-size: 15px;
}
.nana-policy__subs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.nana-subbox {
  background: #FDF0F6;
  border-radius: 8px;
  padding: 24px 26px;
}
.nana-subbox h4 {
  font-size: 15.5px;
  color: #EB6AA4;
  margin-bottom: 8px;
}
.nana-subbox h4.nana-bar-ttl::before { height: 16px; }
.nana-subbox p {
  font-size: 14px;
  color: #5c5459;
}
@media (max-width: 896px) {
  .nana-policy { padding: 44px 16px; }
  .nana-policy > * + * { margin-top: 40px; padding-top: 40px; }
  .nana-policy__row { grid-template-columns: 1fr; gap: 24px; }
  .nana-policy__row--flip > *:first-child { order: 2; }
  .nana-policy__subs { grid-template-columns: 1fr; gap: 14px; }
  .nana-policy__ttl { font-size: 19px; }
}

/* ==========================================================================
   8. 診療案内
   ========================================================================== */
.nana-idx {
  max-width: 1080px;
  margin: 0 auto;
  /* 上下の余白を揃えて、下の診療メニューとの間にバランスの良い間隔を作る */
  padding: 54px 24px;
}
/* 枠なし。リスト側にだけ背景色を敷く */
.nana-idx__box {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}
.nana-idx__ttl {
  font-size: 20px;
  color: #463f42;
  text-align: center;
  margin-bottom: 24px;
}
.nana-idx__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
  background: #FCF6F1;
  border-radius: 8px;
  padding: 8px 30px;
}
/* 最終行（PCは2件）はボックスの枠と重なるため下罫線を消す */
.nana-idx__item:nth-last-child(-n+2) { border-bottom: none; }
.nana-idx__item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 20px 4px;
  border-bottom: 1px solid #ece2e7;
  color: #524a4e;
  font-size: 14.5px;
}
.nana-idx__item:hover { color: #EB6AA4; }
.nana-idx__tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #EB6AA4;
  white-space: nowrap;
}
.nana-idx__arrow {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #FCF1F6;
  font-size: 11px;
  transition: transform .28s ease, background .28s ease, color .28s ease;
}
.nana-idx__item:hover .nana-idx__arrow {
  transform: translateX(5px);
  background: #0090D2;
  color: #fff;
}
@media (max-width: 639px) {
  /* SPは「悩み」と「診療科タグ」を上下2段に分けて、中途半端な折り返しを防ぐ */
  .nana-idx__ttl { font-size: 18px; }
  .nana-idx__item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 2px;
    font-size: 13.5px;
  }
  .nana-idx__tag {
    font-size: 14px;
  }
}
@media (max-width: 896px) {
  .nana-idx { padding: 40px 16px; }
  .nana-idx__list { padding: 4px 16px; }
  .nana-idx__list { grid-template-columns: 1fr; gap: 0; }
  /* 1カラム時は最終1件のみ下罫線を消す */
  .nana-idx__item:nth-last-child(-n+2) { border-bottom: 1px solid #ece2e7; }
  .nana-idx__item:last-child { border-bottom: none; }
}

.nana-menusec {
  background: transparent;
  padding: 40px 24px;
}
.nana-menusec__inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.nana-menucard {
  background: #fff;
  border-radius: 8px;
  padding: 32px 36px;
  box-shadow: 0 8px 24px rgba(150, 120, 135, .09);
  scroll-margin-top: 120px;
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 30px;
  /* 写真は横のテキスト量に合わせて高さを伸ばす */
  align-items: stretch;
}
.nana-menucard > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 218px;
  object-fit: cover;
  border: 1px solid #ece2e7;
  border-radius: 8px;
}
.nana-menucard .nana-pill {
  padding: 5px 15px;
  margin-bottom: 12px;
}
.nana-menucard__ttl {
  font-size: 22px;
  color: #463f42;
  margin-bottom: 6px;
}
.nana-menucard__lead {
  color: #EB6AA4;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 12px;
}
.nana-menucard__lead--wide { margin-bottom: 14px; }
.nana-menucard__text {
  color: #5c5459;
  font-size: 15px;
}
.nana-menucard__text--mb { margin-bottom: 14px; }
.nana-menucard__boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.nana-menucard__boxes--stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nana-subbox--sm { padding: 16px 18px; }
.nana-subbox--sm h4 { font-size: 14px; margin-bottom: 4px; }
.nana-subbox--sm p { font-size: 13px; }
.nana-subbox--md { padding: 18px 20px; }
.nana-subbox--md h4 { font-size: 15px; margin-bottom: 4px; }
.nana-subbox--md p { font-size: 13.5px; }
.nana-subbox--md h4.nana-subbox__ttl--dark { color: #463f42; }
.nana-subbox b { color: #EB6AA4; }
@media (max-width: 896px) {
  .nana-menusec { padding: 30px 16px; }
  .nana-menucard { grid-template-columns: 1fr; padding: 24px 18px; gap: 20px; }
  /* 縦積み時は元の比率に戻し、写真が大きくなりすぎないよう高さを抑える */
  .nana-menucard > img {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
    max-height: 260px;
  }
  .nana-menucard__boxes { grid-template-columns: 1fr; }
}
@media (max-width: 639px) {
  .nana-menucard > img { max-height: 200px; }
}

/* ==========================================================================
   9. 予約・アクセス
   ========================================================================== */
.nana-reserve {
  max-width: 1000px;
  margin: 0 auto;
  padding: 56px 24px 20px;
}
.nana-reserve__box {
  background: #fff;
  border-radius: 8px;
  padding: 34px 38px;
  box-shadow: 0 10px 28px rgba(150, 120, 135, .1);
  border: 2px solid #FCE3EF;
}
.nana-reserve__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.nana-reserve__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #FDEFF5;
  color: #3a4247;
  font-size: 20px;
  flex: none;
}
.nana-reserve__ttl {
  font-size: 22px;
  color: #EB6AA4;
}
.nana-reserve__text {
  color: #5c5459;
  font-size: 15px;
  margin-bottom: 18px;
}
.nana-reserve__row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.nana-reserve__tel {
  display: inline-flex;
  flex-direction: column;
  background: #EB6AA4;
  color: #fff;
  border-radius: 8px;
  padding: 14px 30px;
  transition: transform .25s ease;
}
.nana-reserve__tel:hover { transform: translateY(-2px); color: #fff; }
.nana-reserve__tel span:first-child { font-size: 12px; }
.nana-reserve__tel span:last-child { font-size: 26px; font-weight: 600; }
.nana-reserve__hours {
  color: #5c5459;
  font-size: 14px;
  line-height: 1.7;
}
.nana-reserve__hours b { color: #0090D2; }

.nana-accessgrid {
  max-width: 1000px;
  margin: 0 auto;
  padding: 36px 24px;
}
.nana-accessgrid__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
  align-items: stretch;
}
.nana-accessgrid__card {
  background: #fff;
  border-radius: 8px;
  padding: 32px 34px;
  box-shadow: 0 8px 24px rgba(150, 120, 135, .08);
}
.nana-accessgrid__card h2 {
  font-size: 20px;
  color: #463f42;
  margin-bottom: 18px;
}
.nana-accessgrid__map {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(150, 120, 135, .08);
  min-height: 300px;
}
.nana-accessgrid__map iframe { min-height: 300px; }

.nana-guides {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.nana-guide {
  background: #fff;
  border: 1px solid #f0dde6;
  border-radius: 8px;
  padding: 32px 36px;
}
.nana-guide--blue { border-color: #d9edf7; }
.nana-guide__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f4e6ed;
  margin-bottom: 22px;
}
.nana-guide--blue .nana-guide__head { border-bottom-color: #e8f3fa; }
.nana-guide__ttl {
  font-size: 19px;
  color: #EB6AA4;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nana-guide--blue .nana-guide__ttl { color: #0090D2; }
/* アイコンは26px角の箱として扱う（baseline揃えの基準を元データのSVGと合わせる） */
.nana-guide__ttl i {
  display: inline-block;
  overflow: hidden;
  flex: none;
  width: 26px;
  height: 26px;
  line-height: 26px;
  text-align: center;
  font-size: 20px;
}
.nana-guide__head p {
  color: #5c5459;
  font-size: 14.5px;
  /* 見出しのアイコン下端に文字ベースラインを合わせる（元データのbaseline揃えと同じ見た目） */
  margin-top: 7px;
}
.nana-guide__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.nana-guide__grid--center { align-items: center; }
.nana-guide__grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}
/* バス停写真は縦長のため、バス停名の表示板とクリニックが入る位置で表示 */
.nana-guide__grid--center img { object-position: center 25%; }
.nana-guide__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 6px;
}
.nana-guide__meta--tight { margin: 0 0 10px; }
.nana-guide__badge {
  background: #EB6AA4;
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 8px;
}
.nana-guide__badge--blue { background: #0090D2; }
.nana-guide__count {
  font-size: 15px;
  font-weight: 600;
  color: #463f42;
}
.nana-guide__grid p,
.nana-guide__note-in {
  font-size: 14px;
  color: #5c5459;
}
.nana-guide__foot {
  font-size: 13px;
  color: #8a8085;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #f4e6ed;
}

.nana-hoursbox {
  max-width: 800px;
  margin: 0 auto;
  padding: 36px 24px 20px;
}
/* 影・枠なし（テーブル自体が枠を持つため囲みは付けない） */
.nana-hoursbox__box {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}
.nana-hoursbox__ttl {
  font-size: 20px;
  color: #EB6AA4;
  margin-bottom: 18px;
}
.nana-hoursbox__wrap {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #f0dde6;
}
.nana-hoursbox__notes {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 16px;
  font-size: 13.5px;
  color: #5c5459;
}
.nana-hoursbox__notes span:first-child b { color: #0090D2; }
.nana-hoursbox__notes span:last-child b { color: #EB6AA4; }
@media (max-width: 639px) {
  /* 電話ボタンはSPでは中央寄せ（ボタン自体・中の文字とも） */
  .nana-reserve__tel {
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    text-align: center;
  }
}
@media (max-width: 896px) {
  .nana-reserve { padding: 40px 16px 12px; }
  .nana-reserve__box { padding: 24px 18px; }
  .nana-reserve__ttl { font-size: 19px; }
  .nana-accessgrid { padding: 24px 16px; }
  .nana-accessgrid__grid { grid-template-columns: 1fr; }
  .nana-accessgrid__card { padding: 24px 18px; }
  .nana-guides { padding: 12px 16px; }
  .nana-guide { padding: 24px 18px; }
  .nana-guide__grid { grid-template-columns: 1fr; gap: 20px; }
  .nana-hoursbox { padding: 24px 16px 12px; }
}
