@charset "UTF-8";
/* ==========================================================
   宮井歯科医院 ホームページ 共通スタイル
   カラー: ピンク基調(ロゴ準拠) / 文字: こげ茶
   ========================================================== */

:root {
  --pink:        #e8798f;   /* メインアクセント */
  --pink-dark:   #d15a74;   /* ホバー・強調 */
  --pink-light:  #fce9ed;   /* セクション背景 */
  --pink-pale:   #fdf6f8;   /* ごく薄い背景 */
  --brown:       #57392f;   /* 見出し・ロゴ文字色 */
  --text:        #514842;   /* 本文 */
  --gray:        #9b918c;
  --line:        #f0dade;
  --white:       #ffffff;
  --radius:      14px;
  --shadow:      0 4px 20px rgba(209, 90, 116, 0.10);
  --font-main:   "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  --font-en:     "Quicksand", sans-serif;
  --header-h:    76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font-main);
  color: var(--text);
  font-size: 16px;
  line-height: 1.9;
  background: var(--white);
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink-dark); text-decoration: none; transition: 0.3s; }
a:hover { opacity: 0.85; }
ul, ol { list-style: none; }
main { display: block; }

.inner { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---------- ヘッダー ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 12px rgba(87, 57, 47, 0.08);
  z-index: 1000;
}
.header__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.header__logo img { height: 52px; width: auto; }
.header__right { display: flex; align-items: center; gap: 18px; }

.gnav__list { display: flex; gap: 4px; }
.gnav__list > li { position: relative; }
.gnav__list > li > a {
  display: block;
  padding: 10px 13px;
  color: var(--brown);
  font-weight: 700;
  font-size: 15px;
  border-radius: 8px;
}
.gnav__list > li > a:hover,
.gnav__list > li > a.is-current { background: var(--pink-light); color: var(--pink-dark); opacity: 1; }

/* ドロップダウン */
.gnav__dropdown {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 12px;
  width: 480px;
  display: none;
  gap: 4px;
}
.gnav__list > li:hover .gnav__dropdown { display: grid; grid-template-columns: 1fr 1fr; }
.gnav__dropdown a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--text);
  border-radius: 8px;
}
.gnav__dropdown a:hover { background: var(--pink-pale); color: var(--pink-dark); opacity: 1; }
.gnav__dropdown .dd-label {
  grid-column: 1 / -1;
  font-size: 12px;
  color: var(--pink-dark);
  font-weight: 700;
  padding: 6px 12px 0;
  border-top: 1px dashed var(--line);
  margin-top: 4px;
}
.gnav__dropdown .dd-label:first-child { border-top: none; margin-top: 0; }

.header__tel { text-align: right; line-height: 1.3; }
.header__tel a {
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 700;
  color: var(--brown);
  white-space: nowrap;
}
.header__tel a::before { content: "☎ "; color: var(--pink); }
.header__tel small { display: block; font-size: 11px; color: var(--gray); }

.header__insta {
  flex-shrink: 0;
  width: 42px; height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pink-light);
  color: var(--pink-dark);
  border-radius: 12px;
}
.header__insta svg { width: 22px; height: 22px; }
.header__insta:hover { background: var(--pink); color: #fff; opacity: 1; }

/* ハンバーガー */
.menu-btn {
  display: none;
  width: 46px; height: 46px;
  background: var(--pink);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  z-index: 1200;
  flex-shrink: 0;
}
.menu-btn span {
  display: block;
  width: 22px; height: 2px;
  background: #fff;
  margin: 5px auto;
  transition: 0.3s;
}
.menu-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity: 0; }
.menu-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- ヒーロー ---------- */
.hero {
  margin-top: var(--header-h);
  position: relative;
  height: min(72vh, 640px);
  overflow: hidden;
  background: var(--pink-pale);
}
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.8s ease;
}
.hero__slide.is-active { opacity: 1; }
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(255,255,255,0.75) 0%, rgba(255,255,255,0.25) 55%, rgba(255,255,255,0) 100%);
}
.hero__copy {
  position: absolute;
  left: 6%; top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  color: var(--brown);
}
.hero__copy h2 {
  font-size: clamp(26px, 4.2vw, 46px);
  font-weight: 700;
  line-height: 1.6;
  text-shadow: 0 0 14px rgba(255,255,255,0.9);
}
.hero__copy p {
  margin-top: 14px;
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 500;
  text-shadow: 0 0 10px rgba(255,255,255,0.9);
}

/* ---------- 共通セクション ---------- */
.section { padding: 84px 0; }
.section--pink { background: var(--pink-pale); }

.sec-title { text-align: center; margin-bottom: 48px; }
.sec-title .en {
  display: block;
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--pink);
  font-weight: 700;
  text-transform: uppercase;
}
.sec-title h2 {
  font-size: clamp(24px, 3vw, 32px);
  color: var(--brown);
  font-weight: 700;
  margin-top: 6px;
}
.sec-title h2::after {
  content: "";
  display: block;
  width: 52px; height: 4px;
  border-radius: 2px;
  background: var(--pink);
  margin: 14px auto 0;
}

.btn {
  display: inline-block;
  background: var(--pink);
  color: #fff;
  font-weight: 700;
  padding: 14px 44px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(209, 90, 116, 0.35);
}
.btn:hover { background: var(--pink-dark); opacity: 1; transform: translateY(-2px); }
.btn--ghost {
  background: #fff;
  color: var(--pink-dark);
  border: 2px solid var(--pink);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--pink-light); }

/* ---------- お知らせ ---------- */
.news { max-width: 860px; margin: 0 auto; }
.news li { border-bottom: 1px dashed var(--line); }
.news li a, .news li .news-row {
  display: flex;
  gap: 20px;
  padding: 16px 8px;
  align-items: baseline;
  color: var(--text);
  flex-wrap: wrap;
}
.news time {
  font-family: var(--font-en);
  color: var(--pink-dark);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}
.news .tag {
  font-size: 12px;
  background: var(--pink-light);
  color: var(--pink-dark);
  padding: 2px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- 診療案内グリッド ---------- */
.care-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
}
.care-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 20px 22px;
  text-align: center;
  color: var(--text);
  border: 1px solid transparent;
  position: relative;
}
.care-card:hover { border-color: var(--pink); transform: translateY(-4px); opacity: 1; }
.care-card .ic {
  width: 58px; height: 58px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pink-light);
  border-radius: 50%;
}
.care-card .ic svg { width: 32px; height: 32px; fill: var(--pink-dark); }
.care-card h3 { font-size: 17px; color: var(--brown); margin-bottom: 6px; }
.care-card p { font-size: 13px; line-height: 1.7; color: var(--gray); }
.care-card .arrow {
  position: absolute;
  right: 14px; bottom: 12px;
  color: var(--pink);
  font-family: var(--font-en);
  font-size: 14px;
}
.care-note { text-align: center; margin-top: 22px; font-size: 14px; color: var(--gray); }

.badge-jihi {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 11px;
  background: var(--pink);
  color: #fff;
  border-radius: 999px;
  padding: 1px 10px;
  font-weight: 700;
}

/* ---------- 特徴 ---------- */
.feature { display: flex; align-items: center; gap: 48px; margin-bottom: 72px; }
.feature:last-child { margin-bottom: 0; }
.feature:nth-child(even) { flex-direction: row-reverse; }
.feature__img { flex: 1 1 46%; }
.feature__img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}
.feature__body { flex: 1 1 54%; }
.feature__body .num {
  font-family: var(--font-en);
  font-size: 44px;
  font-weight: 700;
  color: var(--pink);
  line-height: 1;
  display: block;
}
.feature__body h3 {
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--brown);
  margin: 10px 0 16px;
  line-height: 1.5;
}
.feature__body p { font-size: 15px; }

/* ---------- 院長代理あいさつ ---------- */
.greeting {
  display: flex;
  gap: 44px;
  align-items: flex-start;
}
.greeting__img { flex: 0 0 300px; }
.greeting__img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
}
.greeting__img figcaption {
  text-align: center;
  margin-top: 12px;
  font-size: 14px;
  color: var(--brown);
}
.greeting__img figcaption strong { font-size: 18px; display: block; }
.greeting__body { flex: 1; }
.greeting__body h3 {
  font-size: 22px;
  color: var(--brown);
  margin-bottom: 16px;
  line-height: 1.6;
}
.greeting__body p { margin-bottom: 14px; font-size: 15px; }

/* ---------- 診療時間テーブル ---------- */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 15px;
}
.hours-table th, .hours-table td {
  border: 1px solid var(--line);
  padding: 12px 8px;
  text-align: center;
}
.hours-table thead th {
  background: var(--pink);
  color: #fff;
  font-weight: 700;
}
.hours-table tbody th {
  background: var(--pink-pale);
  color: var(--brown);
  font-weight: 700;
  white-space: nowrap;
}
.hours-table .maru { color: var(--pink-dark); font-weight: 700; }
.hours-table .batsu { color: #c8c2be; }
.hours-note { margin-top: 14px; font-size: 14px; color: var(--gray); }
.hours-note li { padding-left: 1.2em; text-indent: -1.2em; }

/* ---------- アクセス情報 ---------- */
.access-flex { display: flex; gap: 40px; align-items: stretch; }
.access-info { flex: 1; }
.access-map { flex: 1; min-height: 340px; }
.access-map iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.info-list { font-size: 15px; }
.info-list dt {
  color: var(--pink-dark);
  font-weight: 700;
  margin-top: 16px;
  font-size: 14px;
}
.info-list dt:first-child { margin-top: 0; }
.info-list dd { border-bottom: 1px dashed var(--line); padding-bottom: 8px; }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 56px 20px;
}
.cta h2 { font-size: clamp(20px, 2.6vw, 28px); margin-bottom: 8px; }
.cta p { font-size: 14px; opacity: 0.95; }
.cta__tel {
  display: inline-block;
  font-family: var(--font-en);
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 700;
  color: #fff;
  margin-top: 14px;
  line-height: 1.2;
}
.cta__tel::before { content: "☎ "; }
.cta small { display: block; margin-top: 6px; font-size: 13px; }

/* ---------- フッター ---------- */
.footer {
  background: var(--pink-pale);
  padding: 56px 0 0;
  font-size: 14px;
}
.footer__grid {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  padding-bottom: 40px;
}
.footer__clinic { flex: 1 1 300px; }
.footer__clinic img { height: 56px; width: auto; margin-bottom: 14px; }
.footer__clinic p { line-height: 1.8; }
.footer__nav { flex: 2 1 480px; display: flex; gap: 36px; flex-wrap: wrap; }
.footer__nav dl { min-width: 150px; }
.footer__nav dt {
  color: var(--brown);
  font-weight: 700;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--pink-light);
}
.footer__nav dd { margin-bottom: 4px; }
.footer__nav a { color: var(--text); font-size: 13px; }
.footer__nav a:hover { color: var(--pink-dark); }
.footer__bottom {
  background: var(--pink);
  color: #fff;
  text-align: center;
  padding: 14px;
  font-size: 12px;
  font-family: var(--font-en);
}

/* ---------- 下層ページ共通 ---------- */
.page-header {
  margin-top: var(--header-h);
  background:
    linear-gradient(rgba(232, 121, 143, 0.82), rgba(209, 90, 116, 0.82)),
    var(--pink);
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: 72px 20px;
}
.page-header h1 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; }
.page-header .en {
  display: block;
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 6px;
  opacity: 0.9;
}

.breadcrumb {
  background: var(--pink-pale);
  padding: 10px 0;
  font-size: 12px;
  color: var(--gray);
}
.breadcrumb ol { display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; color: var(--pink); }
.breadcrumb a { color: var(--gray); }

.lead-box {
  max-width: 860px;
  margin: 0 auto 56px;
  text-align: center;
  font-size: 15px;
}
.lead-box strong { color: var(--pink-dark); }

.content-block { max-width: 900px; margin: 0 auto 64px; }
.content-block:last-child { margin-bottom: 0; }
.content-block h2 {
  font-size: clamp(20px, 2.6vw, 26px);
  color: var(--brown);
  border-left: 6px solid var(--pink);
  padding: 4px 0 4px 16px;
  margin-bottom: 22px;
  line-height: 1.5;
}
.content-block h3 {
  font-size: 18px;
  color: var(--pink-dark);
  margin: 28px 0 12px;
}
.content-block p { margin-bottom: 14px; font-size: 15px; }
.content-block img.photo {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 20px auto;
}

.img-text { display: flex; gap: 32px; align-items: flex-start; margin-bottom: 20px; }
.img-text.reverse { flex-direction: row-reverse; }
.img-text__img { flex: 0 0 42%; }
.img-text__img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}
.img-text__body { flex: 1; }

/* イラスト用(写真の代わりにSVGイラストを置く枠) */
.img-text__img--illust {
  background: var(--pink-pale);
  border-radius: var(--radius);
  padding: 28px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
}
.img-text__img--illust img {
  box-shadow: none;
  border-radius: 0;
  aspect-ratio: auto;
  object-fit: contain;
  width: 88%;
  max-width: 270px;
  max-height: 100%;
}
.illust-center {
  display: block;
  margin: 6px auto 28px;
  width: min(65%, 260px);
  height: auto;
}
.point-card .pc-illust {
  width: 100px;
  height: auto;
  display: block;
  margin: 0 auto 12px;
}
.point-card .pc-illust--wide { width: 150px; }

.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 15px;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  width: 22px; height: 22px;
  background: var(--pink);
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 5px;
}

.point-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 24px 0;
}
.point-card {
  background: var(--pink-pale);
  border-radius: var(--radius);
  padding: 24px 20px;
}
.point-card h4 {
  color: var(--pink-dark);
  font-size: 16px;
  margin-bottom: 8px;
  text-align: center;
}
.point-card p { font-size: 14px; margin: 0; }

/* ステップ(流れ) */
.steps { counter-reset: step; max-width: 800px; margin: 0 auto; }
.step {
  counter-increment: step;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 28px 26px 90px;
  position: relative;
  margin-bottom: 34px;
}
.step::before {
  content: "0" counter(step);
  position: absolute;
  left: 24px; top: 24px;
  font-family: var(--font-en);
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  background: var(--pink);
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -28px;
  transform: translateX(-50%);
  border: 11px solid transparent;
  border-top-color: var(--pink);
}
.step h3 { color: var(--brown); font-size: 18px; margin-bottom: 6px; }
.step p { font-size: 14px; margin: 0; }

/* 料金テーブル */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 15px;
  margin: 18px 0;
}
.price-table th, .price-table td { border: 1px solid var(--line); padding: 13px 16px; }
.price-table thead th { background: var(--pink); color: #fff; text-align: center; }
.price-table tbody th {
  background: var(--pink-pale);
  color: var(--brown);
  text-align: left;
  font-weight: 700;
  width: 40%;
}
.price-table td { text-align: right; white-space: nowrap; }
.price-table td.desc { text-align: left; white-space: normal; }

.note-box {
  background: var(--pink-pale);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-size: 14px;
  margin: 20px 0;
}
.note-box strong { color: var(--pink-dark); }

/* 他の診療リンク */
.other-links { background: var(--pink-pale); padding: 56px 0; margin-top: 84px; }
.other-links h2 { text-align: center; color: var(--brown); font-size: 22px; margin-bottom: 28px; }
.other-links ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}
.other-links a {
  display: block;
  background: #fff;
  border-radius: 10px;
  padding: 13px 18px;
  color: var(--brown);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(209, 90, 116, 0.08);
}
.other-links a::before { content: "› "; color: var(--pink); }
.other-links a:hover { color: var(--pink-dark); transform: translateY(-2px); opacity: 1; }

/* 準備中 */
.wip {
  text-align: center;
  padding: 40px 20px;
  background: var(--pink-pale);
  border-radius: var(--radius);
  color: var(--gray);
  font-size: 15px;
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 1060px) {
  .gnav {
    position: fixed;
    top: 0; right: 0;
    width: min(320px, 84vw);
    height: 100vh;
    background: #fff;
    box-shadow: -6px 0 24px rgba(87, 57, 47, 0.15);
    transform: translateX(105%);
    transition: transform 0.35s ease;
    overflow-y: auto;
    padding: 90px 24px 40px;
    z-index: 1100;
  }
  .gnav.is-open { transform: translateX(0); }
  .gnav__list { flex-direction: column; gap: 0; }
  .gnav__list > li > a { padding: 14px 8px; border-bottom: 1px dashed var(--line); border-radius: 0; }
  .gnav__dropdown {
    position: static;
    transform: none;
    display: block;
    width: auto;
    box-shadow: none;
    padding: 0 0 8px 14px;
  }
  .gnav__dropdown .dd-label { border-top: none; padding-top: 8px; }
  .header__tel small { display: none; }
  .header__tel a { font-size: 19px; }
  .menu-btn { display: block; }
}

@media (max-width: 768px) {
  body { font-size: 15px; }
  .section { padding: 56px 0; }
  .hero { height: 62vh; }
  .hero__copy { left: 20px; right: 20px; }
  .feature, .feature:nth-child(even) { flex-direction: column; gap: 22px; margin-bottom: 52px; }
  .greeting { flex-direction: column; align-items: center; }
  .greeting__img { flex: none; max-width: 280px; }
  .access-flex { flex-direction: column; }
  .img-text, .img-text.reverse { flex-direction: column; }
  .img-text__img { flex: none; }
  .header__logo img { height: 40px; }
  .header__tel a { font-size: 16px; }
  .step { padding: 74px 22px 22px; }
  .step::before { left: 22px; top: 18px; }
  .price-table tbody th { width: auto; }
  .price-table td { white-space: normal; }
}

@media (max-width: 480px) {
  .header__inner { padding: 0 12px; gap: 8px; }
  .header__right { gap: 8px; }
  .header__logo img { height: 34px; }
  .header__tel a { font-size: 15px; }
  .header__insta { width: 38px; height: 38px; }
  .header__insta svg { width: 20px; height: 20px; }
}

/* ============================================================
   2026-08-30 追加：院内ギャラリー / 写真レイアウト / 料金・施設基準
   ============================================================ */

/* --- 院内・設備紹介のギャラリー（従来スタイル未定義だったため追加） --- */
.tour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.tour-item figure {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  height: 100%;
}
.tour-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.tour-item figcaption {
  padding: 16px 18px 20px;
}
.tour-item figcaption strong {
  display: block;
  color: var(--brown);
  font-size: 16px;
  margin-bottom: 6px;
}
.tour-item figcaption span {
  display: block;
  font-size: 13px;
  line-height: 1.75;
  color: var(--gray);
}

/* --- 本文中に写真を並べる --- */
.photo-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin: 24px 0;
}
.photo-row figure {
  margin: 0;
}
.photo-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}
.photo-row figcaption {
  font-size: 13px;
  color: var(--gray);
  margin-top: 8px;
  text-align: center;
}
.photo-single img {
  width: 100%;
  max-width: 640px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
  margin: 24px auto;
}

/* --- 自費料金 --- */
.fee-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 4px;
}
.fee-head .tax {
  font-size: 13px;
  color: var(--gray);
}
.price-table td.yen {
  text-align: right;
  white-space: nowrap;
  font-weight: 700;
  color: var(--brown);
}
.price-table td.yen small {
  display: block;
  font-weight: 500;
  font-size: 12px;
  color: var(--gray);
}
.price-table tr.total th,
.price-table tr.total td {
  background: var(--pink-light);
  font-size: 16px;
}
.price-table caption {
  caption-side: top;
  text-align: left;
  font-size: 13px;
  color: var(--gray);
  padding-bottom: 8px;
}

/* 自費診療の説明義務（治療内容・期間・回数・リスク）ブロック */
.risk-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 20px 24px;
  margin: 18px 0 0;
  font-size: 14px;
}
.risk-box dt {
  color: var(--pink-dark);
  font-weight: 700;
  margin-top: 14px;
}
.risk-box dt:first-of-type { margin-top: 0; }
.risk-box dd { margin: 4px 0 0; line-height: 1.8; }

/* --- 施設基準 --- */
.kijun-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 14px;
  margin: 18px 0;
}
.kijun-table th,
.kijun-table td {
  border: 1px solid var(--line);
  padding: 11px 14px;
  vertical-align: top;
}
.kijun-table thead th {
  background: var(--pink);
  color: #fff;
  text-align: center;
  white-space: nowrap;
}
.kijun-table tbody th {
  text-align: left;
  font-weight: 700;
  color: var(--brown);
  background: var(--pink-pale);
}
.kijun-table td.no {
  white-space: nowrap;
  text-align: center;
  color: var(--gray);
  font-size: 13px;
}
.table-scroll { overflow-x: auto; }
.table-scroll .kijun-table { min-width: 620px; }

@media (max-width: 767px) {
  .tour-grid { grid-template-columns: 1fr; }
}
