/* =========================================================
   Sky Dental Clinic「スクールメンテナンス」LP(/school-maintenance/)
   dentures.css(入れ歯ページの型)を共用し、子ども向けの見た目だけを
   ここで上書きする。dentures.css は変更しないこと。
   配色はスクールメンテナンスのエンブレム指定色に合わせる
   (アクアブルー DIC101 / ネイビー DIC435 / ホワイト・トート生地のクリーム)。
   ========================================================= */

:root {
  --color-primary: #2A73B8;      /* ボタン・見出し(白文字コントラスト 5:1 以上) */
  --sky: #4F9BD9;                /* エンブレムのアクアブルー(装飾用) */
  --sky-soft: #DDEEFA;
  --navy: #1F2D4E;               /* エンブレムのネイビー */
  --cream: #FBF3E4;              /* トートバッグの生地色 */
  --yellow: #F5C542;
  --coral: #F08A6E;
  --mint: #CFEDE7;
  --color-accent-bg: #EAF4FC;
  --radius-card: 16px;
  --f-round: "Zen Maru Gothic", "Noto Sans JP", "Hiragino Maru Gothic ProN", sans-serif;
}

body {
  background:
    radial-gradient(circle at 12% 8%, rgba(79,155,217,.10) 0 120px, transparent 121px),
    radial-gradient(circle at 92% 30%, rgba(245,197,66,.14) 0 90px, transparent 91px),
    #fff;
}

h1, h2, h3 { font-family: var(--f-round); }
h1 { color: var(--navy); font-size: 22px; }
.h1-catch { display: block; font-size: 24px; line-height: 1.35; }
.h1-sub { display: block; font-size: 13px; font-weight: 700; color: var(--color-primary); margin-top: 6px; }
.sp-only { display: inline; }
@media (min-width: 768px) { .sp-only { display: none; } .h1-catch { font-size: 34px; } .h1-sub { font-size: 15px; } }
h2 {
  border-left: none;
  padding-left: 0;
  position: relative;
  padding-bottom: 8px;
  color: var(--navy);
}
h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--sky), var(--yellow));
  margin-top: 8px;
}
.cta h2::after { margin-left: auto; margin-right: auto; }

/* ---------- ボタン(丸く・少し大きく) ---------- */
.btn { border-radius: 999px; font-family: var(--f-round); }
.btn--reserve { box-shadow: 0 4px 0 #1d568c; }
.btn--reserve:hover { opacity: 1; transform: translateY(1px); box-shadow: 0 3px 0 #1d568c; }

/* ---------- ヘッダー ---------- */
.header { border-bottom: 3px solid var(--sky); }
.header__logo { display: flex; align-items: center; gap: 8px; }
.header__emblem { width: 36px; height: auto; }
@media (max-width: 480px) {
  .header__logo-sub { display: none; }
  .header__logo-main { font-size: 15px; }
}
.header__nav a { font-family: var(--f-round); }
@media (min-width: 768px) {
  .header__nav { gap: var(--space-2); }
  .header__nav a { white-space: nowrap; font-size: 13px; }
}

/* ---------- 対象別アンカー帯(スマホ) ---------- */
.target-bar {
  position: sticky;
  top: 60px;
  z-index: 80;
  display: flex;
  gap: 6px;
  padding: 6px var(--space-2);
  background: var(--cream);
  border-bottom: 1px solid #ecd9b5;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.target-bar a {
  flex: 1 0 auto;
  white-space: nowrap;
  font-family: var(--f-round);
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  background: #fff;
  border: 2px solid var(--sky);
  border-radius: 999px;
  padding: 4px 12px;
  text-decoration: none;
  text-align: center;
}
@media (min-width: 768px) {
  .target-bar { display: none; }
}
@media (max-width: 767px) {
  html { scroll-padding-top: 112px; }
}

/* ---------- 初画面 ---------- */
.page-head__title {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}
.page-head__emblem { width: 88px; height: auto; flex: 0 0 auto; }
.device-tag {
  display: inline-block;
  font-family: var(--f-round);
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  background: var(--yellow);
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 8px;
}
.page-head h1 { margin-bottom: 0; }
.img-slot--kv {
  border: 6px solid #fff;
  box-shadow: 0 6px 20px rgba(31,45,78,.15);
  border-radius: 24px;
}
.lead {
  background: var(--cream);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}
.lead__ani { position: absolute; right: 8px; top: 8px; width: 64px; height: auto; opacity: .95; }
.lead > p:first-of-type { padding-right: 64px; }
@media (min-width: 768px) { .lead__ani { width: 92px; right: 12px; top: 12px; } .lead > p:first-of-type { padding-right: 96px; } }
.lead__badges {
  list-style: none;
  padding: 0;
  margin-top: var(--space-2);
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
}
.lead__badges li::before {
  content: "★";
  color: var(--coral);
  font-weight: 700;
  margin-right: 8px;
}
.target-links {
  list-style: none;
  padding: 0;
  margin-top: var(--space-2);
  display: grid;
  gap: 8px;
}
.target-links a {
  display: block;
  background: #fff;
  border: 2px solid var(--sky);
  border-radius: 14px;
  padding: 10px 40px 10px 14px;
  text-decoration: none;
  color: var(--navy);
  font-family: var(--f-round);
  font-weight: 700;
  font-size: 15px;
  position: relative;
}
.target-links a::after {
  content: "↓";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--sky);
  font-weight: 700;
}
.target-links a span {
  display: block;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-sub);
}
.target-links a:hover { background: var(--sky-soft); }

/* 1回でやること帯 */
.menu-strip {
  list-style: none;
  padding: 0;
  margin-top: var(--space-3);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.menu-strip li {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 2px dashed var(--sky);
  border-radius: 14px;
  padding: 8px 10px;
  font-family: var(--f-round);
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
}
.menu-strip__ico {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(31,45,78,.15);
}

/* ---------- 見出し横の動物イラスト ---------- */
.h2-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.h2-row h2 { flex: 1 1 auto; }
.h2-ani__img { flex: 0 0 auto; width: 72px; height: 72px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 3px 10px rgba(31,45,78,.15); margin-top: -8px; }
@media (min-width: 768px) { .h2-ani__img { width: 96px; height: 96px; } }

/* ---------- とは(文章+イラスト) ---------- */
.about-grid { display: grid; gap: var(--space-2); align-items: center; }
.img-slot--ill { max-width: 220px; margin: 0 auto; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 4px 14px rgba(31,45,78,.12); }
@media (min-width: 768px) { .about-grid { grid-template-columns: 1fr 260px; } .img-slot--ill { max-width: 260px; } }

/* ---------- 比較カード(一般的な定期検診/スクール) ---------- */
.compare-cards { display: grid; gap: var(--space-2); margin-top: var(--space-3); }
.compare-card {
  border: 2px solid #e0e0e0;
  border-radius: var(--radius-card);
  padding: var(--space-3);
  background: #fff;
}
.compare-card h3 { color: var(--color-sub); }
.compare-card ul { padding-left: 1.3em; display: grid; gap: 4px; font-size: 15px; }
.compare-card--school { border-color: var(--sky); background: var(--color-accent-bg); }
.compare-card--school h3 { color: var(--navy); }

/* ---------- 7つのプログラム ---------- */
.program-list {
  list-style: none;
  counter-reset: prog;
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-3);
}
.program-list li {
  counter-increment: prog;
  position: relative;
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 12px;
  align-items: center;
  background: #fff;
  border: 2px solid var(--sky-soft);
  border-radius: var(--radius-card);
  padding: var(--space-2);
}
.program-list li::before {
  content: counter(prog);
  position: absolute;
  top: -10px;
  left: -6px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--f-round);
  font-weight: 900;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.program-list__ico {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 3px 10px rgba(31,45,78,.15);
  background: #fff;
}
.program-list h3 { margin-bottom: 2px; color: var(--navy); font-size: 13px; font-weight: 500; }
.program-list h3 .kana {
  display: block;
  font-size: 18px;
  color: var(--color-primary);
}
.program-list p { font-size: 13px; line-height: 1.6; }
@media (min-width: 768px) {
  .program-list li { grid-template-columns: 128px 1fr; }
  .program-list__ico { width: 128px; height: 128px; }
  .program-list p { font-size: 14px; }
}
.kana { font-family: var(--f-round); font-weight: 700; }

.photo-pair { display: grid; gap: var(--space-2); margin-top: var(--space-3); margin-bottom: var(--space-2); }
.photo-pair .img-slot { border: 4px solid #fff; box-shadow: 0 4px 14px rgba(31,45,78,.12); }

/* ---------- はみがきノート ---------- */
.note-section {
  background: var(--cream);
  border-radius: 24px;
  padding: var(--space-4) var(--space-3);
}
.note-grid { display: grid; gap: var(--space-2); margin-top: var(--space-3); }
.img-slot--note { background: #fff; border: 4px solid #fff; box-shadow: 0 4px 14px rgba(31,45,78,.12); }
.img-slot--note img { aspect-ratio: 641 / 910; object-fit: contain; background: #fff; }
.note-items { display: grid; gap: 10px; }
.note-item {
  background: #fff;
  border-radius: 14px;
  padding: 12px 16px;
  border-left: 6px solid var(--sky);
}
.note-item:nth-child(2) { border-left-color: var(--yellow); }
.note-item:nth-child(3) { border-left-color: var(--coral); }
.note-item:nth-child(4) { border-left-color: #6BC5A0; }
.note-item h3 { font-size: 16px; margin-bottom: 2px; color: var(--navy); }
.note-item p { font-size: 14px; }

/* ---------- 保護者の方へのお願い ---------- */
.parents-list { list-style: none; counter-reset: par; display: grid; gap: var(--space-2); margin-top: var(--space-3); }
.parents-list li {
  counter-increment: par;
  position: relative;
  padding: var(--space-2) var(--space-2) var(--space-2) 64px;
  background: #fff;
  border: 2px solid var(--mint);
  border-radius: var(--radius-card);
}
.parents-list li::before {
  content: counter(par);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--navy);
  font-family: var(--f-round);
  font-weight: 900;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.parents-list h3 { font-size: 16px; color: var(--navy); }
.parents-list p { font-size: 15px; }
@media (min-width: 768px) { .parents-list { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 特長 ---------- */
.feature-card { background: #fff; border: 2px solid var(--sky-soft); border-radius: var(--radius-card); }
.feature-card h3 { color: var(--color-primary); }
.lab-note { background: var(--mint); font-family: var(--f-round); }

/* ---------- 院長 ---------- */
.staff__grid { display: grid; gap: var(--space-2); }
.img-slot--portrait { max-width: 240px; border-radius: 24px; border: 4px solid #fff; box-shadow: 0 4px 14px rgba(31,45,78,.12); }
.img-slot--portrait img { aspect-ratio: 653 / 470; object-fit: cover; }

/* ---------- 流れ ---------- */
.flow__steps li { border: 2px solid var(--sky-soft); border-radius: var(--radius-card); }
.flow__steps li::before { background: var(--sky); }
.visit-badge {
  display: inline-block;
  margin-left: 8px;
  background: var(--yellow);
  color: var(--navy);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  vertical-align: middle;
  white-space: nowrap;
}

/* ---------- 料金 ---------- */
.fees .table-scroll table { min-width: 400px; }
.table-scroll thead th { background: var(--navy); }
.table-scroll td.price { font-weight: 700; white-space: nowrap; color: var(--navy); }
.table-scroll td.price.wrap { white-space: normal; }

/* ---------- 対象年齢 ---------- */
.age-grid { display: grid; gap: var(--space-2); margin-bottom: var(--space-2); }
.age-card {
  border: 2px solid #e0e0e0;
  border-radius: var(--radius-card);
  padding: var(--space-3);
  background: #fff;
}
.age-card h3 { color: var(--navy); }
.age-card ul { padding-left: 1.3em; display: grid; gap: 4px; font-size: 15px; margin-bottom: 8px; }
.age-card p { font-size: 15px; }
.age-card--main { border-color: var(--sky); background: var(--color-accent-bg); position: relative; }
.age-card__ill { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 3px 10px rgba(31,45,78,.15); float: right; margin: -8px 0 8px 12px; }
.tag-main {
  display: inline-block;
  font-size: 12px;
  background: var(--coral);
  color: #fff;
  border-radius: 999px;
  padding: 2px 10px;
  margin-left: 6px;
  vertical-align: middle;
}

/* ---------- FAQ ---------- */
.faq__item { border: 2px solid var(--sky-soft); border-radius: var(--radius-card); }
.faq__item summary { font-family: var(--f-round); }

/* ---------- 医院案内 ---------- */
.clinic-info dl { display: grid; gap: var(--space-2); }
.clinic-info dt { font-weight: 700; color: var(--color-primary); margin-bottom: 4px; }
.clinic-info dd { margin: 0; font-size: 15px; }

/* ---------- CTA ---------- */
.cta { background: var(--cream); border-radius: 24px; position: relative; }
.cta__animals { display: flex; justify-content: center; gap: 24px; margin-bottom: 8px; }
.cta__animals img { width: 84px; height: auto; }
@media (min-width: 768px) { .cta__animals img { width: 120px; } }

/* ---------- 固定フッターCTA ---------- */
.fixed-cta__tel[aria-disabled="true"] { display: none; }
.fixed-cta__reserve { flex: 1 1 auto; }

/* ---------- PC(768px+) ---------- */
@media (min-width: 768px) {
  h1 { font-size: 28px; }
  .page-head__emblem { width: 120px; }
  .menu-strip { grid-template-columns: repeat(7, 1fr); }
  .menu-strip li { flex-direction: column; text-align: center; font-size: 12px; padding: 10px 6px; }
  .compare-cards { grid-template-columns: 1fr 1.2fr; }
  .program-list { grid-template-columns: repeat(2, 1fr); }
  .photo-pair { grid-template-columns: 1fr 1fr; }
  .note-grid { grid-template-columns: 1fr 1fr 1.4fr; align-items: start; }
  .features__grid { grid-template-columns: repeat(3, 1fr); }
  .staff__grid { grid-template-columns: 240px 1fr; align-items: start; gap: var(--space-4); }
  .age-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .clinic-info dl > div {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: var(--space-2);
    align-items: start;
  }
  .clinic-info dt { margin-bottom: 0; }
}


/* =========================================================
   2026-09-17 他院比較(1回目: キッズデンタルステーション)の反映
   マーカー見出し・飾り・パステルのアイコンカード・背景帯・黄色の予約ボタン
   ========================================================= */
.marker { font-style: normal; background: linear-gradient(transparent 55%, var(--yellow) 55%); padding: 0 2px; }

.page-head { position: relative; }
.deco { position: absolute; pointer-events: none; z-index: 0; }
.deco--star {
  right: 4px; top: -6px; width: 34px; height: 34px;
  background: var(--yellow);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  opacity: .9;
}
.deco--dots {
  left: -6px; bottom: 40px; width: 60px; height: 60px;
  background-image: radial-gradient(var(--sky) 3px, transparent 3.5px);
  background-size: 14px 14px; opacity: .55;
}
.page-head__title, .page-head__grid, .menu-strip { position: relative; z-index: 1; }
.img-slot--kv { border-radius: 28px 28px 28px 4px; }

/* こんな方は、こちらから(パステルのアイコンカード) */
.target-links__lead {
  display: inline-block; margin-top: var(--space-2);
  font-family: var(--f-round); font-weight: 700; font-size: 13px; color: #fff;
  background: var(--navy); border-radius: 999px; padding: 4px 14px;
}
.target-links { margin-top: 10px; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.target-links a {
  padding: 10px 8px 12px; text-align: center; border: none; border-radius: 18px;
  font-size: 13px; line-height: 1.3;
}
.target-links a img { width: 56px; height: 56px; border-radius: 50%; display: block; margin: 0 auto 6px; border: 3px solid #fff; box-shadow: 0 2px 6px rgba(31,45,78,.12); }
.target-links a::after { content: "›"; position: static; display: block; transform: none; margin-top: 4px; width: 20px; height: 20px; line-height: 20px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 14px; margin-left: auto; margin-right: auto; }
.target-links a span { font-size: 11px; margin-top: 2px; }
.tl--yellow a { background: #FBEBB5; }
.tl--blue a { background: #D6E9F8; }
.tl--pink a { background: #F9DDE0; }
.target-links a:hover { filter: brightness(.97); background: inherit; }
@media (min-width: 768px) {
  .target-links a { font-size: 14px; padding: 14px 10px; }
  .target-links a img { width: 68px; height: 68px; }
}

/* 1回でやること帯: パステル色 */
.menu-strip li { border: none; }
.ms--yellow { background: #FBEBB5; }
.ms--blue { background: #D6E9F8; }
.ms--pink { background: #F9DDE0; }
.ms--mint { background: #D3EEE8; }

/* セクションの背景帯(コンテナ幅を超えて画面いっぱいに) */
.band { padding: var(--space-4) 0; box-shadow: 0 0 0 100vmax var(--band-color); clip-path: inset(0 -100vmax); background: var(--band-color); }
.band--mint { --band-color: #EAF6F3; }
.band--blue { --band-color: #EAF3FB; }
.band--cream { --band-color: var(--cream); }
.band .feature-card, .band .compare-card, .band .faq__item, .band .parents-list li { background: #fff; }
.band .compare-card--school { background: #fff; }
.note-section { clip-path: inset(0 -100vmax); box-shadow: 0 0 0 100vmax var(--cream); border-radius: 0; padding-left: 0; padding-right: 0; }

/* 固定フッターの WEB予約を黄色に(目立たせる) */
.fixed-cta__reserve { background: var(--yellow); color: var(--navy); font-family: var(--f-round); }
.fixed-cta__tel { background: var(--navy); color: #fff; border-top: none; }


/* =========================================================
   2026-09-17 他院比較(2回目: 六花キッズデンタルクリニック)の反映
   波形の区切り・見出しの英字ラベル・丸いイラスト付きの特長
   ========================================================= */
/* 1回目の修正: 7項目の帯の色が効いていなかった(詳細度)のを修正 */
.menu-strip .ms--yellow { background: #FBEBB5; }
.menu-strip .ms--blue { background: #D6E9F8; }
.menu-strip .ms--pink { background: #F9DDE0; }
.menu-strip .ms--mint { background: #D3EEE8; }
.target-links a { padding: 8px 4px 10px; }
.target-links a span { display: none; }
@media (min-width: 768px) { .target-links a span { display: block; } .target-links a { padding: 14px 10px; } }

/* 見出しの英字ラベル */
h2[data-en]::before {
  content: attr(data-en);
  display: block;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--sky);
  margin-bottom: 2px;
}
.cta h2[data-en]::before { text-align: center; }

/* 波形の区切り(帯の上下) */
.band { position: relative; margin-top: calc(var(--space-6) + 18px); padding-top: var(--space-5, 40px); }
.band::before {
  content: "";
  position: absolute; left: 50%; top: -18px; transform: translateX(-50%);
  width: 100vw; height: 20px;
  background: var(--band-color);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 20' preserveAspectRatio='none'><path d='M0 20 C 20 0 40 0 60 12 S 100 20 120 6 L120 20 Z' fill='black'/></svg>") repeat-x;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 20' preserveAspectRatio='none'><path d='M0 20 C 20 0 40 0 60 12 S 100 20 120 6 L120 20 Z' fill='black'/></svg>") repeat-x;
  -webkit-mask-size: 120px 20px; mask-size: 120px 20px;
}
.band { clip-path: none; }
.band::after {
  content: ""; position: absolute; inset: 0 -100vmax; background: var(--band-color); z-index: -1;
}
.band { box-shadow: none; background: transparent; z-index: 0; }
.note-section { position: relative; z-index: 0; clip-path: none; box-shadow: none; }
.note-section::after { content: ""; position: absolute; inset: 0 -100vmax; background: var(--cream); z-index: -1; }

/* 特長: 丸いイラスト付きカード */
.feature-card--circle { text-align: center; padding-top: var(--space-2); }
.feature-card__ill {
  width: 96px; height: 96px; border-radius: 50%; object-fit: cover;
  margin: 0 auto 8px; display: block;
  border: 4px solid #fff; box-shadow: 0 0 0 3px var(--sky-soft), 0 4px 12px rgba(31,45,78,.12);
}
.feature-card--circle h3 { font-size: 16px; }
.feature-card--circle p { font-size: 14px; text-align: left; }
@media (min-width: 768px) { .feature-card__ill { width: 120px; height: 120px; } }


/* =========================================================
   2026-09-17 他院比較(3回目: こどもの歯医者さん 下北沢)の反映
   色ブロックのカード・ボタン付きの医院案内カード・ドットの飾り
   ========================================================= */
/* 対象年齢の主カードを色ブロックに */
.age-card--main { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.age-card--main h3 { color: #fff; }
.age-card--main .tag-main { background: var(--yellow); color: var(--navy); }
.age-card--main ul li::marker { color: var(--yellow); }
.btn--light { background: #fff; color: var(--color-primary); margin-top: 10px; padding: 10px 22px; font-size: 14px; box-shadow: 0 3px 0 rgba(0,0,0,.15); }
.compare-card--school { background: #fff; border-width: 3px; }

/* 医院案内カード */
.clinic-card { background: #fff; border: 3px solid var(--yellow); border-radius: 20px; padding: var(--space-3); position: relative; }
.clinic-card::before { content: ""; position: absolute; right: -6px; top: -14px; width: 40px; height: 20px; border-radius: 20px 20px 0 0; background: var(--coral); opacity: .8; }
.clinic-card__btns { display: grid; gap: 10px; margin-top: var(--space-3); }
.clinic-card__btns .btn { width: 100%; }
.btn--tel { font-family: var(--f-round); }
@media (min-width: 768px) { .clinic-card__btns { grid-template-columns: 1fr 1fr; } }

/* 帯にドット・半円の飾り */
.band { overflow: visible; }
.band > .h2-row { position: relative; }
.band::before { z-index: 1; }
.band--mint .h2-row::before, .band--blue .h2-row::before {
  content: ""; position: absolute; left: -10px; top: -22px; width: 54px; height: 54px; z-index: -1;
  background-image: radial-gradient(var(--sky) 2.5px, transparent 3px); background-size: 12px 12px; opacity: .5;
}
.band--mint::after { background-image: radial-gradient(circle at 100% 100%, rgba(245,197,66,.35) 0 60px, transparent 61px); }
.band--blue::after { background-image: radial-gradient(circle at 0% 100%, rgba(240,138,110,.25) 0 50px, transparent 51px); }

/* 帯の飾り(inset -100vmax)による横はみ出しを防止 */
html, body { overflow-x: clip; }

.emblem-note { font-size: 11px; margin-top: 4px; }
.img-slot--kv figcaption { padding: 4px 8px; }

/* 対象年齢: 年齢順(未就学→小学生→中学生以上)・3枚とも色付き(2026-09-17 発注者指示) */
.age-card--pre { background: #FBEBB5; border-color: #F5C542; }
.age-card--mid { background: #D3EEE8; border-color: #8FD3C4; }
.age-card--pre h3, .age-card--mid h3 { color: var(--navy); }
.age-card { position: relative; }

/* ---------- 関連サイトバナー(台帳の全6件・掲載ルール16/17) ---------- */
.footer { background: #fff; }
.footer h2 { font-family: var(--f-round); color: var(--navy); }
.banners { display: grid; gap: 12px; margin-bottom: var(--space-4); }
.banner {
  position: relative; display: block; text-decoration: none; color: var(--navy);
  background: #fff; border: 2px solid var(--sky-soft); border-left-width: 10px; border-radius: 16px;
  padding: 12px 40px 12px 16px; box-shadow: 0 2px 8px rgba(31,45,78,.08); transition: transform .15s;
}
.banner:hover { transform: translateY(-2px); }
.banner__label { display: inline-block; font-family: var(--f-round); font-size: 11px; font-weight: 700; color: #fff; background: var(--sky); border-radius: 999px; padding: 1px 10px; }
.banner__title { display: block; font-family: var(--f-round); font-size: 16px; margin-top: 4px; }
.banner__desc { display: block; font-size: 12px; color: var(--color-sub); }
.banner__arrow { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.banner--main { border-left-color: var(--sky); }
.banner--implant { border-left-color: #6BC5A0; } .banner--implant .banner__label { background: #6BC5A0; }
.banner--ortho { border-left-color: var(--coral); } .banner--ortho .banner__label { background: var(--coral); }
.banner--ireba { border-left-color: var(--yellow); } .banner--ireba .banner__label { background: #d9a60f; }
.banner--sora { border-left-color: #8FB8E8; } .banner--sora .banner__label { background: #5B93D1; }
.banner--recruit { border-left-color: var(--navy); } .banner--recruit .banner__label { background: var(--navy); }
@media (min-width: 768px) { .banners { grid-template-columns: repeat(3, 1fr); } }

/* 対象年齢: 3枚を同じ形に(イラスト右上固定・見出しは右に余白・箇条書き5つ) 2026-09-17 発注者指示 */
.age-card { padding-top: var(--space-3); }
.age-card__ill { position: absolute; right: 16px; top: 16px; float: none; margin: 0; width: 80px; height: 80px; }
.age-card h3 { padding-right: 92px; min-height: 80px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 4px; margin-bottom: 8px; }
.age-card__age { display: inline-block; font-size: 12px; font-weight: 700; background: rgba(255,255,255,.7); color: var(--navy); border-radius: 999px; padding: 1px 10px; }
.age-card--main .age-card__age { background: rgba(255,255,255,.9); }
.age-card--main .tag-main { margin-left: 0; }
.age-card ul { margin-bottom: 10px; }
.age-card--main ul li a, .age-card--mid ul li a { color: inherit; }
.age-card--main .btn--light { margin-top: 6px; }
@media (min-width: 768px) { .age-grid { grid-template-columns: 1fr 1fr 1fr; align-items: stretch; } }

/* h1のサブ行(治療名・地域名)を大きく(2026-09-17 発注者指示「この文字が小さい」) */
.h1-sub { font-size: 18px; margin-top: 8px; }
@media (min-width: 768px) { .h1-sub { font-size: 24px; } }
