:root {
  --primary: #f59b3c;
  --primary-dark: #e98822;
  --accent: #916C3E;
  --accent-dark: #7B5C35;
  --support: #7bc173;
  /* --teal: #22c4ae; */
  --bg-white: #FFFFFF;
  --bg-cream: #fef9e7;
  /* --bg-cream-alpha: rgba(254, 249, 231, 0.7); */
  --bg-mint: #dcfaeb;
  --text-main: #3a4040;
  --text-muted: #737373;
  --text-white: #FFFFFF;
  --border-color: #e0e3e3;
  /* --footer-bg: #3a4040; */
  --max-width: 1320px;
  --header-max-width: 1600px;
  --section-gap: 80px;
  --heading-gap: 50px;
  --base-unit: 8px;
  --font-heading: "Zen Maru Gothic", sans-serif;
  --font-body: "Zen Kaku Gothic Antique", sans-serif;
  --radius: 8px;
  --radius-pill: 9999px;
  --radius-card: 10px;
  --h3-title: 32px;
  --h3-title-sp: 22px;
  --h3-mb: 20px;
  --body-text: 16px;
}

@media (max-width: 767px) {
  :root {
    --h3-mb: 10px;
    --body-text: 14px;
  }
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 2.0;
  color: var(--text-main);
  background: var(--bg-white);
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.pc_only {
  display: block;
}

.sp_only {
  display: none;
}

.sp-fixed-menu {
  display: none;
}

/* ==================== HEADER ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  height: 88px;
}

.header-catch {
  display: none;
}

.header-inner {
  max-width: var(--header-max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0;
  line-height: 1;
}

.header-logo img {
  height: 50px;
  width: auto;
}

.header-logo-sub {
  font-size: 11px;
  color: var(--primary);
  font-weight: 500;
  font-family: var(--font-heading);
}

.header-logo-main {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  font-family: var(--font-heading);
}

.header-nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
  margin-right: 40px;
}

.header-nav a {
  font-size: 16px;
  font-weight: 500;
  color: var(--accent);
  font-family: var(--font-heading);
  transition: color 0.3s;
  position: relative;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}

.header-nav a:hover::after {
  width: 100%;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 24px;
  font-weight: 700;
  color: var(--support);
  font-family: var(--font-heading);
}

.header-phone svg {
  width: 20px;
  height: 20px;
  fill: var(--support);
}

.btn-cta-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: var(--primary);
  color: var(--text-white);
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  transition: background 0.3s, transform 0.2s;
  line-height: 1.4;
  text-align: center;
}

.btn-cta-header:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

/* SP用ハンバーガー / ドロワー（PCでは非表示） */
.header-menu-btn {
  display: none;
}

.header-drawer {
  display: none;
}

/* ドロワー展開中は背面のスクロールを固定（sticky ヘッダーを壊さないよう html 側でロック） */
html.drawer-open {
  overflow: hidden;
}

/* ==================== HERO ==================== */
.hero {
  overflow: hidden;
}

.hero img {
  display: block;
  width: 100%;
  height: auto;
}

/* ==================== INFO BAR ==================== */
.info-bar {
  padding: 30px 0;
  background: var(--bg-white);
}

.info-bar-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 60px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.info-icon {
  width: 52px;
  height: 52px;
  background: var(--support);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--text-white);
}

.info-text {
  font-size: var(--body-text);
  font-weight: 500;
  font-family: var(--font-heading);
  line-height: 1.6;
}

/* ==================== SECTION HEADING ==================== */
.sec-heading {
  text-align: center;
  margin-bottom: var(--heading-gap);
}

.sec-heading .sec-label {
  font-size: 22px;
  font-weight: 500;
  color: var(--accent);
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.sec-heading .sec-subtitle {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-main);
  font-family: var(--font-heading);
  margin-bottom: 8px;
}

.sec-heading .sec-title {
  font-size: 55px;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-heading);
  line-height: 1.35;
}

p.sec-text {
  font-size: var(--body-text);
  margin: 30px 0 60px;
}

.sec-heading--white .sec-label,
.sec-heading--white .sec-subtitle,
.sec-heading--white .sec-title {
  /* color: var(--text-white); */
  color: var(--accent);
}

/* .sec-heading--white .sec-label {
  color: rgba(255, 255, 255, 0.85);
} */

/* ==================== 背景グループ（セクション一括背景） ==================== */
/* 複数セクションを1枚の背景画像でまとめて覆うことで、
   セクション境界でのつなぎめ（背景の途切れ）をなくす。
   背景はグループ要素に一度だけ適用し、中の各セクションは透明にする。 */
.bg-group {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* グループ内の各セクションは背景を透明にしてラッパーの背景を見せる */
.bg-group > section {
  background: transparent;
}

/* ① promise + features */
.bg-group--promise {
  background-image: url(../img/section_bg_promise.jpg);
}

/* ② topics + flow + case + risk-section */
.bg-group--topics {
  /* background-image: url(../img/section_bg_pop.jpg); */
  background-image: url(../img/section_bg_paper.jpg);
}

/* ③ products + price + clinic + doctor */
.bg-group--doctor {
  /* background-image: url(../img/section_bg_paper.jpg); */
  background-image: url(../img/section_bg_promise.jpg);

}

/* ==================== PROMISE ==================== */
.promise {
  /* background: var(--primary); */
  padding: var(--section-gap) 0;
  background-image: url(../img/section_bg_promise.jpg);
  background-size: cover;
}

.promise-content {
  display: flex;
  gap: 50px;
  align-items: flex-start;
  margin-bottom: 50px;
}

.promise-photo {
  flex: 0 0 45%;
  border-radius: var(--radius);
  overflow: hidden;
}

.promise-photo img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.promise-list {
  flex: 1;
}

.promise-item {
  padding: 24px 0;
  /* border-bottom: 1px solid rgba(255, 255, 255, 0.3); */
  border-bottom: 1px solid rgba(145, 108, 62, 0.3);
}

.promise-item:first-child {
  padding-top: 0;
}

.promise-item-label {
  font-size: 16px;
  font-weight: 700;
  /* color: var(--text-white); */
  color: var(--accent);
  font-family: var(--font-heading);
  margin-bottom: 8px;
}

.promise-item-text {
  font-size: 22px;
  font-weight: 700;
  /* color: var(--text-white); */
  color: var(--accent);
  font-family: var(--font-heading);
  line-height: 1.6;
}

.promise-gallery {
  display: flex;
  gap: 16px;
}

.promise-gallery img {
  flex: 1;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ==================== FEATURES ==================== */
.features {
  padding: var(--section-gap) 0;
  background: var(--bg-cream);
  /* background-image: url(../img/bg-pattern.svg); */
  background-size: cover;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 60px;
}

.feature-item:last-child {
  margin-bottom: 0;
}

.feature-list>.feature-item:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-img {
  flex: 0 0 55%;
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.feature-body {
  flex: 1;
  background-color: #fff;
  padding: 30px;
}

.feature-num {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-heading);
  margin-bottom: 8px;
  background-image: url(../img/icon-care-g.svg);
  background-repeat: no-repeat;
  background-position: left center;
  padding-left: 45px;
}

.feature-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-main);
  font-family: var(--font-heading);
  line-height: 1.45;
  margin-bottom: 20px;
}

.feature-desc {
  font-size: var(--body-text);
  line-height: 2.0;
  color: var(--text-main);
}

.feature-desc .highlight,
.topics-article-body .highlight {
  /* color: var(--accent); */
  color: var(--primary);
  /* background-color: var(--bg-cream); */
  font-weight: 700;
}

/* ==================== CTA BAND ==================== */
.cta-band {
  background: var(--accent);
  padding: 50px 0;
}

.cta-band-inner {
  text-align: center;
}

.cta-band-title {
  font-size: 50px;
  font-weight: 700;
  color: var(--text-white);
  font-family: var(--font-heading);
  margin-bottom: 20px;
}

.cta-band-text {
  font-size: var(--body-text);
  line-height: 2.0;
  color: var(--text-white);
  margin-bottom: 28px;
}

@media (max-width: 767px) {
  .cta-band-text {
    line-height: 1.9;
  }
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 17px 40px;
  border-radius: var(--radius-pill);
  font-size: 28px;
  font-weight: 700;
  font-family: var(--font-heading);
  transition: transform 0.2s, box-shadow 0.3s;
  min-width: 450px;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-cta--white {
  background: var(--bg-white);
  color: var(--accent);
}

.btn-cta--outline {
  background: transparent;
  color: var(--text-white);
  border: 2px solid var(--text-white);
}

/* CTA内ボタン統一スタイル（白背景＋浮き枠線） */
.cta-buttons .btn-cta {
  position: relative;
  background: var(--bg-white);
  color: var(--accent);
  border: none;
}

.cta-buttons .btn-cta::after {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border: 2px solid var(--bg-white);
  border-radius: var(--radius-pill);
  pointer-events: none;
}

.cta-buttons .btn-cta svg {
  fill: var(--accent);
}

.cta-buttons .btn-cta:hover {
  background: var(--bg-white);
  opacity: 0.85;
}

.cta-buttons .case-link-btn {
  background: var(--accent);
  color: var(--bg-white);
}

.cta-buttons .case-link-btn::after {
  border-color: var(--accent);
}

.cta-buttons .case-link-btn:hover {
  background: var(--accent);
}

.btn-cta svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.cta-phone {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-white);
  font-family: var(--font-heading);
}

/* ==================== TOPICS ==================== */
.topics-section {
  padding: var(--section-gap) 0;
  background-image: url(../img/section_bg_pop.jpg);
  background-size: cover;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.topics-card {
  background: var(--bg-white);
  border-radius: var(--radius-card);
  padding: 36px 28px;
  text-align: center;
}

.topics-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
}

.topics-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.topics-card-title {
  font-size: var(--h3-title);
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-heading);
  margin-bottom: var(--h3-mb);
}

.mft .topics-card-title,
.topics-timing>.topics-card-title {
  /* background-color: var(--bg-mint); */
  /* padding: 30px; */
  text-align: center;
  /* border-top: 10px var(--primary-dark) double;
  border-bottom: 10px var(--primary-dark) double; */
  margin-bottom: var(--h3-mb);
}

.topics-card-desc {
  font-size: var(--body-text);
  line-height: 1.9;
  color: var(--text-main);
}

.topics-card-desc+.topics-card-desc {
  margin-top: 12px;
}

.topics-card-img {
  margin-bottom: 20px;
  border-radius: var(--radius);
  overflow: hidden;
}

.topics-card-img img {
  width: 100%;
  /* height: 200px; */
  /* object-fit: cover; */
}

/* Topics 2カラム原因ブロック */
.topics-pair {
  display: flex;
  gap: 60px;
  margin-bottom: 50px;
}

.topics-pair .topics-article {
  margin-bottom: 0;
  border: 5px var(--accent) dashed;
  padding: 30px;
  border-radius: var(--radius-card);
}

.topics-pair .topics-article-img {
  flex: none;
}

.topics-pair .topics-article-img img {
  /* height: 220px; */
  margin-bottom: 20px;
}

.topics-pair .topics-card-title {
  text-align: center;
  width: 100%;
}

.topics-pair .topics-card-desc {
  text-align: left;
}

/* Topics 記事レイアウト */
.topics-article {
  /* display: flex;
  align-items: flex-start;
  gap: 40px; */
  width: 100%;
  margin: 0 auto 50px;
  /* background-color: var(--bg-cream); */
  background-color: #fff;
  padding: 50px;
}

.mft.topics-article {
  background-color: var(--bg-white);
  border-radius: var(--radius);
}


.topics-article--reverse {
  flex-direction: row-reverse;
}

.topics-article-img {
  flex: 0 0 45%;
  border-radius: var(--radius);
  overflow: hidden;
}

.topics-article-img img {
  width: 100%;
  height: auto;
  /* object-fit: cover; */
}

.mft .topics-article-img img {
  border-radius: var(--radius);
}

.mft .topics-article-content {
  display: flex;
  align-items: center;
  gap: 40px;
  /* background-color: var(--bg-cream); */
}

.topics-article-body {
  flex: 1;
}

.mft .topics-article-body {
  padding: 30px 30px 60px;
  background-color: var(--bg-white);
}

.topics-article-body .topics-card-title {
  text-align: left;
}

.topics-article-body .topics-card-desc {
  text-align: left;
}

.topics-list {
  margin-top: 12px;
  padding-left: 1.5em;
  list-style: disc;
}

.topics-list li {
  font-size: var(--body-text);
  line-height: 2.0;
  color: var(--text-main);
}

/* Topics タイミング */
.topics-timing {
  margin-top: 50px;
  text-align: center;
}

.topics-timing>.topics-card-title {
  margin-bottom: var(--h3-mb);
}

.topics-timing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.topics-timing-grid .topics-card {
  text-align: left;
}

.topics-timing-grid h4.topics-card-title {
  font-size: 22px;
  color: var(--accent);
  border-bottom: var(--accent) 3px dashed;
  padding-bottom: 10px;
}

.topics-timing-grid .highlight {
  font-weight: 700;
  /* background-color: var(--bg-white); */
  color: var(--primary);
}

@media (max-width: 1024px) {

  .topics-article,
  .topics-article--reverse {
    flex-direction: column;
  }

  .topics-article-img {
    flex: none;
    width: 100%;
  }

  .mft .topics-article-content {
    flex-direction: column;
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .pc_only {
    display: none;
  }

  .sp_only {
    display: block;
  }

  .topics-pair {
    flex-direction: column;
    gap: 40px;
  }

  .topics-article {
    gap: 24px;
    margin-bottom: 40px;
    padding: 30px 15px;
  }

  .topics-pair .topics-article {
    padding: 30px 15px;
  }

  .topics-article-img img {
    /* height: 220px; */
  }

  .topics-card {
    padding: 30px 15px;
  }

  .topics-card-title {
    font-size: var(--h3-title-sp);
  }

  .topics-article-body .topics-card-title {
    font-size: var(--h3-title-sp);
  }

  /* .mft .topics-article-content {
    flex-direction: column;
    gap: 24px;
  } */

  .mft .topics-article-body {
    padding: 30px 15px;
  }

  .topics-timing-grid {
    grid-template-columns: 1fr;
  }

  .topics-timing>.topics-card-title {
    font-size: var(--h3-title-sp);
  }

  .topics-timing-grid h4.topics-card-title {
    font-size: 18px;
  }
}

/* ==================== CASE ==================== */
.case-section {
  padding: var(--section-gap) 0;
  /* background: var(--bg-mint); */
  background-image: url(../img/section_bg_paper.jpg);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.case-card {
  background: var(--bg-white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* --- Case Slider --- */
.case-slider {
  position: relative;
  overflow: hidden;
}

.case-slider-track {
  display: flex;
  transition: transform 0.4s ease;
}

.case-slider-track img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  flex-shrink: 0;
}

.case-slider-slide {
  position: relative;
  width: 100%;
  flex-shrink: 0;
  line-height: 0;
}

.case-slider-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 4px 10px;
  background: var(--text-muted);
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 4px;
  line-height: 1;
  z-index: 1;
  pointer-events: none;
}

.case-slider-badge--after {
  background: var(--primary);
}

.case-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  transition: background 0.2s;
}

.case-slider-btn:hover {
  background: var(--bg-white);
}

.case-slider-btn svg {
  width: 18px;
  height: 18px;
  fill: var(--text-main);
}

.case-slider-prev {
  left: 8px;
}

.case-slider-next {
  right: 8px;
}

.case-slider-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 10px 0;
}

.case-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-color);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s;
}

.case-slider-dot.is-active {
  background: var(--primary);
}

/* --- Case Info Table --- */
.case-info {
  padding: 16px 20px 30px;
}

.case-info-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  font-family: var(--font-heading);
  margin-bottom: 10px;
}

.case-detail-table {
  width: 100%;
  border-collapse: collapse;
}

.case-detail-table th,
.case-detail-table td {
  font-size: 16px;
  padding: 4px 0;
  vertical-align: top;
  line-height: 1.7;
  color: var(--text-main);
}

.case-detail-table th {
  font-weight: 700;
  white-space: nowrap;
  width: 80px;
  text-align: left;
  /* color: var(--support); */
}

.case-detail-table th::after {
  content: '：';
  color: var(--text-main);
}

/* ==================== RISK ==================== */
.risk-section {
  padding: var(--section-gap) 0;
  background-color: var(--bg-cream);
  /* background: var(--bg-white) url(../img/section_bg_pop2.jpg);
  background-size: cover; */
}

.risk-section .sec-label,
.risk-section .sec-title {
  /* background-color: #fff;
  width: fit-content; */
  margin-left: auto;
  margin-right: auto;
}


.risk-list {
  max-width: 1000px;
  margin: 0 auto;
  padding-left: 1.5em;
  list-style: disc;
  background-color: var(--bg-white);
  padding: 30px 60px;
  border-radius: var(--radius);
  text-align: left;
}

.risk-list li {
  font-size: var(--body-text);
  line-height: 2.2;
  color: var(--text-main);
}

@media (max-width: 767px) {
  .risk-list {
    padding: 15px;
    padding-left: 2em;
  }
}

/* ==================== PRODUCTS ==================== */
.products-section {
  padding: var(--section-gap) 0;
  background: var(--bg-mint);
}

.products-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.products-item {
  display: block;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.products-item:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.products-item-img {
  width: 100%;
  border-radius: 0;
  overflow: hidden;
}

.products-item-img img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.products-item-body {
  padding: 24px 24px 45px;
}

.products-item-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-heading);
  line-height: 1.45;
  margin-bottom: 14px;
  border-bottom: 4px var(--primary) dotted;
  padding-bottom: 10px;
}

.products-item-desc {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-main);
}

@media (max-width: 1024px) {
  .products-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .products-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* .products-item-img img {
    height: 200px;
  } */

  .products-item-title {
    font-size: 18px;
  }

  .products-item-desc {
    font-size: 13px;
  }
}

/* ==================== PRICE ==================== */
.price-section {
  padding: var(--section-gap) 0;
  background: var(--bg-cream);
}

.price-table {
  max-width: var(--max-width);
  margin: 0 auto 40px;
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.price-table th,
.price-table td {
  padding: 18px 24px;
  text-align: left;
  font-size: 16px;
  border-bottom: 1px solid var(--border-color);
}

.price-table thead th {
  background: var(--primary);
  color: var(--text-white);
  font-weight: 700;
  font-family: var(--font-heading);
}

.price-table thead th:last-child {
  text-align: right;
}

.price-table tbody td:last-child {
  text-align: right;
  font-weight: 700;
  font-family: var(--font-heading);
}

.price-note {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.price-note-title {
  font-size: var(--h3-title);
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-heading);
  margin-bottom: var(--h3-mb);
  text-align: center;
}

.price-note-list {
  text-align: left;
  max-width: var(--max-width);
  margin: 0 auto 24px;
  padding-left: 1.5em;
  list-style: none;
  background-color: #fff;
  padding: 30px 60px;
}

.price-note-list li {
  font-size: var(--body-text);
  line-height: 2.0;
  color: var(--text-main);
}

.price-note p {
  font-size: var(--body-text);
  color: var(--text-muted);
  margin-bottom: 16px;
}

.price-loan-note {
  font-size: 14px;
  color: var(--text-main);
  margin: 24px auto 16px;
  text-align: center;
  line-height: 1.8;
}

.price-loan-note--bold {
  font-weight: 700;
}

.price-loan-table {
  max-width: var(--max-width);
  margin: 0 auto 40px;
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.price-loan-table th,
.price-loan-table td {
  padding: 10px;
  text-align: center;
  font-size: 16px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
}

.price-loan-table th small,
.price-loan-table td small {
  font-size: 12px;
}

.price-loan-table thead th {
  font-weight: 700;
  font-family: var(--font-heading);
  border-right: 2px #ddd solid;
  color: var(--text-white);
}

.price-loan-table.blue thead th {
  background: var(--primary);
}

.price-loan-table.blue tr:first-child th,
.price-loan-table.blue tr:first-child td {
  background: var(--primary);
  color: var(--text-white);
}

.price-loan-table.blue tr:last-child th,
.price-loan-table.blue tr:last-child td {
  background: #fff;
  color: var(--text-main);
}

.price-loan-scroll {
  max-width: var(--max-width);
  margin: 0 auto 40px;
  border-radius: 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.price-loan-scroll .price-loan-table {
  margin: 0;
  box-shadow: none;
  border-radius: 0;
  white-space: nowrap;
  overflow: visible;
}

.price-loan-scroll .price-loan-table th {
  background: var(--primary);
  color: var(--text-white);
}

.price-loan-table.orange thead th {
  background: var(--support);
}

.price-loan-scroll > .price-loan-table.orange {
  white-space: normal;
}

.price-loan-table thead th:last-child,
.price-loan-table td:last-child {
  border-right: none;
}

.price-loan-table th {
  font-weight: 700;
  font-size: 14px;
  background: var(--bg-white);
  white-space: nowrap;
  text-align: center;
  border-right: 2px #ddd solid;
}

.price-loan-table td {
  font-weight: 700;
  font-family: var(--font-heading);
  border-right: 2px #ddd solid;
}

.clinic-hours .price-loan-table tbody td:nth-of-type(1) {
  background-color: var(--bg-mint);
}

@media (max-width: 767px) {

  .price-note-title {
    font-size: var(--h3-title-sp);
  }

  .price-loan-table th,
  .price-loan-table td {
    padding: 14px 12px;
    font-size: 12px;
    border-right: none;
  }

  /* .price-loan-table tbody th {
    font-size: 12px;
  } */

  .price-loan-scroll {
    overflow-x: scroll;
  }

  .price-loan-scroll .price-loan-table {
    border-collapse: separate;
    border-spacing: 0;
  }

  .price-loan-scroll .price-loan-table th {
    position: sticky;
    left: 0;
    z-index: 1;
  }

  .price-note-list {
    padding: 15px;
  }

  /* SP: デンタルローン表・医療費控除表を縦組（転置）／clinic-hours-tableは対象外 */
  .price-loan-scroll:has(> .price-loan-table.blue:not(.clinic-hours-table)),
  .price-loan-scroll:has(> .price-loan-table.orange) {
    overflow-x: hidden;
    overflow-y: auto;
  }

  /* 初期表示は5行分の高さに制限し、残りはスクロールで表示 */
  .price-loan-scroll:has(> .price-loan-table.blue:not(.clinic-hours-table)) {
    max-height: 280px;
  }

  .price-loan-scroll:has(> .price-loan-table.orange) {
    max-height: 400px;
  }

  .price-loan-scroll > .price-loan-table.blue:not(.clinic-hours-table),
  .price-loan-scroll > .price-loan-table.orange {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: 1fr 1fr;
    white-space: normal;
  }

  .price-loan-scroll > .price-loan-table.blue:not(.clinic-hours-table) {
    grid-template-rows: repeat(11, auto);
  }

  .price-loan-scroll > .price-loan-table.orange {
    grid-template-rows: repeat(10, auto);
  }

  .price-loan-scroll > .price-loan-table.blue:not(.clinic-hours-table) thead,
  .price-loan-scroll > .price-loan-table.blue:not(.clinic-hours-table) tbody,
  .price-loan-scroll > .price-loan-table.blue:not(.clinic-hours-table) tr,
  .price-loan-scroll > .price-loan-table.orange thead,
  .price-loan-scroll > .price-loan-table.orange tbody,
  .price-loan-scroll > .price-loan-table.orange tr {
    display: contents;
  }
}

.payment-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.payment-icon {
  padding: 8px 16px;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

/* ==================== FLOW ==================== */
.flow-section {
  padding: var(--section-gap) 0;
  background: var(--bg-white);
}

.flow-list {
  max-width: 900px;
  margin: 0 auto;
}

.flow-item {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 50px;
  position: relative;
}

.flow-item:nth-of-type(odd) {
  border-left: 5px var(--primary) solid;
  padding: 30px;
}

.flow-item:nth-of-type(even) {
  border-right: 5px var(--primary) solid;
  padding: 30px;
}

.flow-item:last-child {
  margin-bottom: 0;
}

.flow-item:nth-child(even) {
  flex-direction: row-reverse;
}

.flow-number {
  width: 64px;
  height: 64px;
  background: var(--primary);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  font-family: var(--font-heading);
  flex-shrink: 0;
}

.flow-body {
  flex: 1;
}

.flow-body h3 {
  font-size: var(--h3-title);
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-heading);
  margin-bottom: var(--h3-mb);
}

.flow-body p {
  font-size: var(--body-text);
  color: var(--text-main);
  line-height: 2.0;
}

.flow-photo {
  flex: 0 0 240px;
  border-radius: var(--radius);
  overflow: hidden;
}

.flow-photo img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* ==================== CLINIC ==================== */
.clinic-section {
  padding: var(--section-gap) 0;
  background: var(--bg-mint);
  /* background: linear-gradient(to top right, var(--bg-cream), var(--bg-mint)); */
}

.clinic-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  margin-bottom: 50px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  background: var(--bg-white);
}

.clinic-slider-track {
  display: flex;
  transition: transform 0.5s ease;
  cursor: grab;
  touch-action: pan-y;
}

.clinic-slider-track:active {
  cursor: grabbing;
}

.clinic-slider-slide {
  flex: 0 0 100%;
  width: 100%;
}

.clinic-slider-slide img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.clinic-slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}

.clinic-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.clinic-slider-dot.is-active {
  background: var(--primary);
  transform: scale(1.2);
}

.clinic-hours {
  max-width: 800px;
  margin: 0 auto 50px;
}

.clinic-hours-info {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px 20px;
  margin-bottom: 24px;
  padding: 24px 28px;
  background: var(--bg-white);
  border-radius: var(--radius-card);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  /* background-color: var(--bg-cream); */
  border: 3px var(--accent) dotted;
}

.clinic-hours-info dt {
  font-size: var(--body-text);
  font-weight: 700;
  color: var(--text-main);
  font-family: var(--font-heading);
}

.clinic-hours-info dd {
  font-size: var(--body-text);
  color: var(--text-main);
  line-height: 1.7;
}

.clinic-hours-note {
  font-size: 13px;
  color: var(--text-muted);
}

.clinic-hours-table {
  margin-bottom: 0 !important;
}

.clinic-hours-table.blue tr:first-child th,
.clinic-hours-table.blue tr:first-child td {
  background: inherit;
  color: inherit;
}

.clinic-hours-table.blue tr td:first-child {
  background-color: var(--accent);
  color: #fff;
}

@media (max-width: 767px) {
  .clinic-hours {
    margin-bottom: 40px;
  }

  .clinic-hours-info {
    grid-template-columns: 80px 1fr;
    gap: 10px 14px;
    padding: 18px 20px;
  }

  .clinic-hours-note {
    font-size: 12px;
  }

  .clinic-hours-table th,
  .clinic-hours-table td {
    padding: 6px 2px;
    font-size: 11px;
  }
}

.clinic-map iframe {
  display: block;
  width: 100%;
  min-height: 300px;
}

.clinic-access {
  text-align: center;
  margin-top: 30px;
  padding: 0 20px;
}

.clinic-access-address {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  font-family: var(--font-heading);
  line-height: 1.7;
  margin-bottom: 8px;
}

.clinic-access-text {
  font-size: var(--body-text);
  color: var(--text-main);
  line-height: 1.9;
}

.clinic-access-btn {
  margin-top: 24px;
  min-width: 280px;
  padding: 16px 40px;
  font-size: 18px;
  background: var(--primary);
  color: var(--text-white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.clinic-access-btn:hover {
  background: var(--primary);
  opacity: 0.9;
}

@media (max-width: 767px) {
  .clinic-access {
    margin-top: 24px;
  }

  .clinic-access-address {
    font-size: 15px;
  }

  .clinic-access-btn {
    min-width: 240px;
    font-size: 16px;
    padding: 14px 32px;
  }
}

.clinic-info {
  flex: 0 0 380px;
  background: var(--bg-white);
  padding: 32px;
  border-radius: var(--radius-card);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.clinic-info h3 {
  font-size: 20px;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--text-main);
  margin-bottom: 20px;
}

.clinic-info dl {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px 16px;
}

.clinic-info dt {
  font-size: var(--body-text);
  font-weight: 700;
  color: var(--text-main);
}

.clinic-info dd {
  font-size: var(--body-text);
  color: var(--text-main);
}

/* ==================== DOCTOR ==================== */
.doctor-section {
  padding: var(--section-gap) 0;
  background-image: url(../img/section_bg_paper.jpg);
  background-size: cover;
}

.doctor-content {
  display: flex;
  gap: 50px;
  align-items: flex-start;
  max-width: 900px;
  margin: 0 auto;
}

.doctor-photo {
  flex: 0 0 300px;
  /* overflow: hidden; */
  position: sticky;
  top: 100px;
  left: 0;
}

.doctor-photo img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 200px 200px 0 0;
}

.doctor-profile {
  flex: 1;
}

.doctor-name {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.doctor-name-main {
  font-size: var(--h3-title);
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--text-main);
  margin-bottom: var(--h3-mb);
  line-height: 1.0;
}

.doctor-profile p {
  font-size: var(--body-text);
  line-height: 1.0;
  color: var(--text-main);
  margin-bottom: 16px;
}

.doctor-block {
  margin-top: 28px;
}

.doctor-block-title {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--text-white);
  background: var(--primary);
  padding: 6px 18px;
  /* border-radius: var(--radius-pill); */
  /* margin-bottom: 14px; */
  min-width: 100%;
  text-align: center;
}

.doctor-affiliation .doctor-block-title {
  background: var(--support);
}

.doctor-career .doctor-block-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 3px solid var(--primary);
  padding-left: 18px;
  padding-bottom: 30px;
  background-color: #fff;
}

.doctor-career .doctor-block-list li {
  position: relative;
  font-size: var(--body-text);
  line-height: 1.9;
  color: var(--text-main);
  padding: 10px 0;
}

.doctor-career .doctor-block-list li+li {
  border-top: 1px dashed var(--border-color);
}

.doctor-affiliation .doctor-block-tags {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 3px solid var(--support);
  padding-left: 18px;
  padding-bottom: 30px;
  background-color: #fff;
}

.doctor-affiliation .doctor-block-tags li {
  position: relative;
  font-size: var(--body-text);
  line-height: 1.9;
  color: var(--text-main);
  padding: 10px 0;
}

.doctor-affiliation .doctor-block-tags li+li {
  border-top: 1px dashed var(--border-color);
}

.doctor-block-note {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 10px;
  text-align: right;
  padding-right: 2em;
}

/* ==================== FOOTER ==================== */
.site-footer {
  background: var(--bg-white);
  padding: 50px 0 24px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}

.footer-logo-text {
  color: var(--text-main);
  font-family: var(--font-heading);
}

.footer-logo-sub {
  font-size: 11px;
  opacity: 0.7;
}

.footer-logo-main img {
  height: 50px;
  width: auto;
}

.footer-nav {
  display: flex;
  gap: 28px;
}

.footer-consult-btn {
  display: none;
}

.footer-nav a {
  font-size: 14px;
  color: var(--accent);
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-nav a:hover {
  opacity: 1;
}

.footer-copy {
  text-align: center;
  font-size: 12px;
  color: var(--text-main);
  opacity: 0.5;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==================== ANIMATIONS ==================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== RESPONSIVE ==================== */

/* タブレット（768px〜1024px） */
@media (max-width: 1024px) {
  .header-nav {
    display: none;
  }

  .header-phone {
    font-size: 20px;
  }

  .feature-item,
  .feature-list>.feature-item:nth-child(even) {
    flex-direction: column;
  }

  .feature-img {
    flex: none;
    width: 100%;
  }

  .feature-img img {
    height: 280px;
  }

  .feature-body {
    width: 100%;
    padding: 30px 15px;
  }

  .feature-body > .feature-img {
    margin-bottom: 20px;
  }

  .promise-content {
    flex-direction: column;
  }

  .promise-photo {
    flex: none;
    width: 100%;
  }

  .promise-photo img {
    height: 300px;
  }

  .topics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .clinic-content {
    flex-direction: column;
  }

  .clinic-info {
    flex: none;
    width: 100%;
  }

  .clinic-map {
    min-height: 280px;
  }

  .clinic-slider-slide img {
    height: 360px;
  }

  .clinic-slider {
    margin-bottom: 40px;
  }

  .doctor-content {
    flex-direction: column;
    align-items: center;
  }

  .doctor-photo {
    flex: none;
    width: 280px;
    position: static;
  }

  .doctor-photo img {
    height: 320px;
  }

  .flow-item {
    gap: 24px;
  }

  .flow-item:nth-of-type(odd),
  .flow-item:nth-of-type(even) {
    border: none;
    padding: 10px;
  }

  .flow-photo {
    flex: 0 0 180px;
  }

  .flow-photo img {
    height: 140px;
  }

  .sec-heading .sec-title {
    font-size: 32px;
  }

  .cta-band-title {
    font-size: 26px;
  }

  .container {
    padding: 0 20px;
  }

  .site-header {
    height: auto;
  }

  .header-catch {
    display: block;
    background: var(--primary);
    color: var(--text-white);
    font-size: 10px;
    text-align: center;
    padding: 6px 12px;
    line-height: 1.4;
  }

  .header-inner {
    height: 60px;
    padding: 0;
  }

  .header-logo {
    padding-left: 16px;
  }

  .header-logo img {
    height: 40px;
  }

  .header-right {
    gap: 0;
    height: 100%;
  }

  .header-phone {
    width: 50px;
    height: 100%;
    padding: 0;
    background: var(--bg-mint);
    justify-content: center;
    gap: 0;
  }

  .header-phone-num {
    display: none;
  }

  .header-phone svg {
    width: 26px;
    height: 26px;
  }

  .btn-cta-header {
    display: none;
  }

  .header-menu-btn {
    display: flex;
    position: relative;
    width: 50px;
    height: 100%;
    background: var(--accent);
    border: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
  }

  .header-menu-btn span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--text-white);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
  }

  .header-menu-btn.is-open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .header-menu-btn.is-open span:nth-child(2) {
    opacity: 0;
  }

  .header-menu-btn.is-open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .header-drawer {
    display: block;
    height: 100vh;
    height: 100dvh;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-cream);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    z-index: 999;
    transform: translateY(-120%);
    transition: transform 0.75s ease;
    padding: 10vh 10vw calc(24px + env(safe-area-inset-bottom));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .header-drawer.is-open {
    transform: translateY(0);
  }

  .header-drawer-logo {
    display: block;
    margin-bottom: 24px;
  }

  .header-drawer-logo img {
    height: 48px;
    width: auto;
    margin: 0 auto;
  }

  .header-drawer-nav {
    display: flex;
    flex-direction: column;
  }

  .header-drawer-nav a {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
    font-family: var(--font-heading);
    padding: 16px 4px;
    border-bottom: 1px dashed var(--border-color);
    text-align: center;
  }

  .header-drawer-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    padding: 12px 16px;
    color: var(--primary-dark);
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
  }

  .header-drawer-phone svg {
    width: 20px;
    height: 20px;
    fill: var(--primary-dark);
  }

  .header-drawer-cta {
    display: block;
    margin-top: 12px;
    padding: 10px;
    background: var(--accent);
    color: var(--text-white);
    text-align: center;
    border-radius: var(--radius-pill);
    font-size: 18px;
    font-weight: 700;
    font-family: var(--font-heading);
  }

  .header-drawer-corporate {
    display: block;
    margin-top: 30px;
    text-align: center;
    text-decoration: underline;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.08em;
  }
}

/* スマートフォン（〜767px） */
@media (max-width: 767px) {
  body {
    font-size: 15px;
    line-height: 1.8;
  }

  .sp-fixed-menu {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    background: var(--bg-white);
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
  }

  .sp-fixed-menu-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 2px;
    font-size: 12px;
    font-weight: 500;
    font-family: var(--font-heading);
    color: var(--text-main);
    border-left: 1px solid var(--border-color);
    line-height: 1.3;
  }

  .sp-fixed-menu-item:first-child {
    border-left: none;
  }

  .sp-fixed-menu-item--cta {
    background: var(--accent);
    color: var(--text-white);
    border-left: none;
  }

  .sec-heading .sec-label {
    font-size: 16px;
  }

  .sec-heading .sec-subtitle {
    font-size: 14px;
  }

  .sec-heading .sec-title {
    font-size: 28px;
  }

  .sec-heading {
    margin-bottom: 30px;
  }

  p.sec-text {
    margin-bottom: 30px;
  }

  .info-bar-inner {
    flex-direction: column;
    gap: 16px;
    padding: 0 20px;
  }

  .info-item {
    width: fit-content;
    margin: 0 auto;
  }

  .info-icon {
    width: 44px;
    height: 44px;
  }

  .promise {
    padding: 60px 0;
  }

  .promise-photo img {
    height: 240px;
  }

  .promise-item-text {
    font-size: 18px;
  }

  .promise-gallery {
    flex-direction: column;
  }

  .promise-gallery img {
    height: 180px;
  }

  .feature-item {
    gap: 24px;
    margin-bottom: 40px;
  }

  .feature-img img {
    height: 220px;
  }

  .feature-title {
    font-size: 22px;
  }

  .feature-num {
    font-size: 15px;
    padding-left: 30px;
  }

  .cta-band {
    padding: 40px 0;
  }

  .cta-band-title {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .btn-cta {
    padding: 14px 32px;
    font-size: 15px;
    min-width: 260px;
    width: 100%;
    max-width: 320px;
  }

  .cta-phone {
    font-size: 20px;
  }

  .topics-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .case-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .case-slider-track img {
    height: 270px;
  }

  .case-info {
    padding-left: 15px;
    padding-right: 15px;
  }

  .price-table th,
  .price-table td {
    padding: 14px 16px;
    font-size: 14px;
  }

  .flow-item,
  .flow-item:nth-child(even) {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 16px;
    position: relative;
    width: auto;
    left: auto;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .flow-item:nth-child(even) {
    margin-bottom: 15px;
  }

  .flow-photo {
    flex: none;
    width: 100%;
    order: -2;
  }

  .flow-photo img {
    height: 200px;
    width: 100%;
  }

  .flow-number {
    position: absolute;
    top: -10px;
    left: 0;
    width: 52px;
    height: 52px;
    font-size: 20px;
    z-index: 1;
  }

  .flow-body {
    order: -1;
  }

  .flow-body h3 {
    font-size: var(--h3-title-sp);
  }

  .clinic-map {
    min-height: 240px;
  }

  .clinic-slider-slide img {
    height: 240px;
  }

  .clinic-slider-dots {
    bottom: 10px;
  }

  .clinic-slider-dot {
    width: 8px;
    height: 8px;
  }

  .clinic-info {
    padding: 24px;
  }

  .clinic-info dl {
    grid-template-columns: 70px 1fr;
    gap: 10px 12px;
  }

  .doctor-photo {
    width: 350px;
  }

  .doctor-photo img {
    height: 450px;
  }

  .doctor-name-main {
    font-size: var(--h3-title-sp);
  }

  .doctor-block {
    margin-top: 22px;
  }

  .doctor-block-title {
    font-size: 14px;
    padding: 5px 14px;
  }

  .footer-top {
    flex-direction: column;
    gap: 20px;
    align-items: center ;
  }

  .footer-nav {
    gap: 20px;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .footer-nav a {
    font-size: 16px;
  }

  .footer-consult-btn {
    display: inline-flex;
    background: var(--accent);
  }

  .footer-consult-btn:hover {
    background: var(--accent);
  }

  .container {
    padding: 0 16px;
  }

  :root {
    --section-gap: 60px;
    --heading-gap: 30px;
  }
}