/* =====================================================
   Oval Court Dental Room — LP
   Cream × Deep Green × Mama Pink
   ===================================================== */

:root {
  /* palette */
  --cream: #EEE4C3;
  --ivory: #F8F4EA;
  --ivory-2: #FBF8EF;
  --green: #2F9B82;           /* 公式ロゴのティールグリーンに統一 */
  --green-dark: #1F7E68;
  --green-soft: #6CA89A;
  --mama-teal: #2F9B82;       /* 公式「ママとこどものはいしゃさん」 ロゴ地色 */
  --mama-teal-dark: #1F7E68;
  --mama-teal-soft: #B9E4D7;
  --pink: #E84380;
  --pink-soft: #F9DDE8;
  --pink-bg: #FCEDF3;
  --ink: #2B342E;
  --ink-soft: #5C6660;
  --line: #DCD3B6;
  --rule: #E9DFC2;

  /* type */
  --serif: 'Shippori Mincho', 'Cormorant Garamond', 'Hiragino Mincho ProN', 'YuMincho', serif;
  --sans: 'Noto Sans JP', system-ui, sans-serif;
  --en: 'Cormorant Garamond', 'Shippori Mincho', serif;

  /* radii / shadow */
  --r-sm: 14px;
  --r-md: 28px;
  --r-lg: 44px;
  --r-full: 999px;
  --shadow-card: 0 6px 22px -10px rgba(63,72,67,.25);
  --shadow-soft: 0 10px 40px -16px rgba(63,72,67,.20);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  font-feature-settings: "palt" 1;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  padding-bottom: 76px; /* bottom CTA */
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: 1080px;
  padding: 0 22px;
  margin: 0 auto;
}

.hide-sm { display: none; }
.show-sm { display: inline; }
@media (min-width: 720px) {
  .hide-sm { display: inline; }
  .show-sm { display: none; }
}

/* =========================================
   HEADER
   ========================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 244, 234, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(78, 96, 88, .08);
  transition: background .3s, box-shadow .3s;
}
.site-header.is-scrolled {
  background: rgba(248, 244, 234, 0.98);
  box-shadow: 0 4px 18px -10px rgba(63,72,67,.25);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  max-width: 1180px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.brand__mark {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex: 0 0 auto;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}
.brand__sub {
  font-size: 9px;
  letter-spacing: .12em;
  color: var(--green-soft);
}
.brand__name {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--green);
  font-weight: 600;
  letter-spacing: .04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav {
  display: none;
  font-size: 13px;
  color: var(--green);
}
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: 12.5px; }
.nav__item { position: relative; }
.nav__link, .nav__toggle {
  position: relative;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 0;
  background: transparent; border: none; color: inherit; font: inherit;
  cursor: pointer; transition: color .2s;
}
.nav__link::after, .nav__toggle::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav__link:hover, .nav__toggle:hover { color: var(--pink); }
.nav__link:hover::after, .nav__toggle:hover::after,
.nav__item--has-sub.is-open .nav__toggle::after { transform: scaleX(1); }
.nav__chev { font-size: 10px; transition: transform .25s ease; }
.nav__item--has-sub.is-open .nav__chev { transform: rotate(180deg); }
.nav__sub {
  list-style: none; margin: 0; padding: 8px 0;
  position: absolute; top: 100%; left: -14px;
  min-width: 200px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 14px 30px -12px rgba(63,72,67,.22);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 50;
}
.nav__sub[hidden] { display: block; } /* hideは visibility で制御 */
.nav__item--has-sub:hover .nav__sub,
.nav__item--has-sub.is-open .nav__sub {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__sub li a {
  display: block; padding: 8px 16px; color: var(--green); white-space: nowrap;
  transition: background .15s, color .15s;
}
.nav__sub li a:hover { background: var(--pink-soft); color: var(--pink); }
@media (min-width: 1024px) {
  .nav { display: flex; }
}
.header-cta {
  display: none;
  gap: 8px;
}
@media (min-width: 720px) { .header-cta { display: flex; } }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--r-full);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .02em;
  color: #fff;
  border: none;
  transition: transform .15s ease, box-shadow .2s ease;
}
.btn--sm { padding: 8px 14px; font-size: 12px; white-space: nowrap; }
.btn--web {
  background: #fff;
  color: var(--pink);
  border: 1px solid var(--pink);
  box-shadow: 0 4px 14px -8px rgba(232, 67, 128, .35);
}
.btn--line {
  background: #38B14B;
  box-shadow: 0 4px 14px -6px rgba(56, 177, 75, .55);
}
.btn:hover { transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  background: none;
  border: 1px solid rgba(78, 96, 88, .2);
  width: 40px; height: 40px;
  border-radius: 10px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.hamburger span {
  display: block;
  width: 18px; height: 1.6px;
  background: var(--green);
  transition: transform .3s, opacity .2s;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (min-width: 1024px) {
  .hamburger { display: none; }
}
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--ivory);
  border-top: 1px solid var(--rule);
  box-shadow: var(--shadow-soft);
  padding: 14px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  padding: 14px 0;
  border-bottom: 1px dashed var(--rule);
  font-size: 14px;
  color: var(--green);
}
.mobile-menu a:last-child { border-bottom: none; }

/* =========================================
   GLOBAL — section heads
   ========================================= */
.section-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0 auto 36px;
  max-width: 720px;
}
.section-head__rule {
  width: 1px; height: 36px;
  background: var(--green-soft);
  display: block;
  margin-bottom: 4px;
}
.section-head__ja {
  font-family: var(--serif);
  font-size: clamp(22px, 5.6vw, 30px);
  color: var(--green);
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1.55;
  margin: 0;
}
.section-head__ja em {
  font-style: normal;
  color: var(--pink);
  background: linear-gradient(transparent 62%, var(--pink-soft) 62% 95%, transparent 95%);
  padding: 0 .12em;
}
.section-head__en {
  font-family: var(--en);
  font-size: 13px;
  letter-spacing: .3em;
  color: var(--green-soft);
  text-transform: uppercase;
}
.section-head--light .section-head__ja { color: var(--green); }

/* =========================================
   HERO
   ========================================= */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ivory);
}

/* Full-bleed media block at the top of the hero */
.hero__media {
  position: relative;
  width: 100%;
  height: clamp(320px, 48vh, 480px);
  overflow: hidden;
  background: #E9E5DC;
}
.hero__media-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  will-change: transform, opacity;
  transition: transform .6s ease;
  opacity: 0;
  animation: heroFade 48s infinite;
}
@keyframes heroFade {
  0%, 9%, 100% { opacity: 0; }
  1.2%, 8% { opacity: 1; }
}
.hero__media-img:nth-of-type(1)  { animation-delay: 0s; }
.hero__media-img:nth-of-type(2)  { animation-delay: 4s; }
.hero__media-img:nth-of-type(3)  { animation-delay: 8s; }
.hero__media-img:nth-of-type(4)  { animation-delay: 12s; }
.hero__media-img:nth-of-type(5)  { animation-delay: 16s; }
.hero__media-img:nth-of-type(6)  { animation-delay: 20s; }
.hero__media-img:nth-of-type(7)  { animation-delay: 24s; }
.hero__media-img:nth-of-type(8)  { animation-delay: 28s; }
.hero__media-img:nth-of-type(9)  { animation-delay: 32s; }
.hero__media-img:nth-of-type(10) { animation-delay: 36s; }
.hero__media-img:nth-of-type(11) { animation-delay: 40s; }
.hero__media-img:nth-of-type(12) { animation-delay: 44s; }
/* バナー4B（hero_slide_d / 2・8番目） */
.hero__media-img:nth-of-type(2),
.hero__media-img:nth-of-type(8) {
  object-position: 50% 35%;
}
/* 4人写真（hero_slide_a / 3・9番目） */
.hero__media-img:nth-of-type(3),
.hero__media-img:nth-of-type(9) {
  object-position: 50% 40%;
}
/* バナー2A（hero_slide_e / 4・10番目） */
.hero__media-img:nth-of-type(4),
.hero__media-img:nth-of-type(10) {
  object-position: 50% 0%;
  transform: translateY(5%);
}
/* 歯科医師の治療シーン（hero_slide_b / 5・11番目） */
.hero__media-img:nth-of-type(5),
.hero__media-img:nth-of-type(11) {
  object-position: 50% 33%;
}
/* 受付スタッフ写真（hero_slide_c / 6・12番目） */
.hero__media-img:nth-of-type(6),
.hero__media-img:nth-of-type(12) {
  object-position: 50% 50%;
}
.hero__media-fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 90px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(248,244,234,0) 0%, rgba(248,244,234,.45) 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  mask-image: linear-gradient(180deg, transparent 0%, #000 60%, #000 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 60%, #000 100%);
}
@media (min-width: 720px) {
  .hero__media { height: clamp(420px, 60vh, 620px); }
  .hero__media-img { object-position: 70% 28%; }
}
@media (min-width: 1100px) {
  .hero__media { height: clamp(480px, 66vh, 680px); }
  .hero__media-img { object-position: 65% 28%; }
}

/* Badge top-left over photo — inverted: floating dark teal on light wall */
.hero__media-badge {
  position: absolute;
  top: clamp(12px, 2.4vw, 24px);
  left: clamp(12px, 3vw, 32px);
  display: inline-flex;
  align-items: center;
  gap: 20px;
  background: transparent;
  color: var(--mama-teal-dark);
  z-index: 4;
}
.hero__media-badge-ring {
  position: relative;
  width: clamp(160px, 30vw, 240px);
  height: clamp(160px, 30vw, 240px);
  color: var(--mama-teal);
  flex: 0 0 auto;
  animation: badge-color-sync 48s ease-in-out infinite;
}
.hero__media-badge-tag,
.hero__media-badge-jp {
  animation: badge-color-sync 48s ease-in-out infinite;
}
@keyframes badge-color-sync {
  0%, 7%, 26%, 57%, 75%, 100% { color: var(--mama-teal-dark); }
  10%, 23%, 60%, 73% { color: #D4748E; }
}
/* ロゴ画像のティール/ピンク切替（48秒同期） */
.badge-logo--teal {
  animation: badge-logo-teal 48s ease-in-out infinite;
}
.badge-logo--pink {
  opacity: 0;
  animation: badge-logo-pink 48s ease-in-out infinite;
}
@keyframes badge-logo-teal {
  0%, 7%, 26%, 57%, 75%, 100% { opacity: 1; }
  10%, 23%, 60%, 73% { opacity: 0; }
}
@keyframes badge-logo-pink {
  0%, 7%, 26%, 57%, 75%, 100% { opacity: 0; }
  10%, 23%, 60%, 73% { opacity: 1; }
}
.hero__media-badge-ring svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.hero__media-badge-ring img {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 70%;
  object-fit: contain;
}
.hero__media-badge-tag {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-family: var(--serif);
  font-size: clamp(22px, 5vw, 34px);
  letter-spacing: .14em;
  font-weight: 700;
  color: var(--mama-teal-dark);
  text-shadow: 0 1px 2px rgba(255,255,255,.5);
}
.hero__media-badge-tag-en {
  font-family: var(--en);
  font-size: clamp(13px, 2.6vw, 16px);
  letter-spacing: .3em;
  color: var(--pink);
  font-weight: 600;
  margin-bottom: 4px;
}
.hero__media-badge-jp {
  position: absolute;
  top: calc(clamp(12px, 2.4vw, 24px) + clamp(160px, 30vw, 240px) + 16px);
  left: clamp(12px, 3vw, 32px);
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(18px, 4vw, 24px);
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--mama-teal-dark);
  text-shadow: 0 1px 2px rgba(255,255,255,.6);
  z-index: 4;
}

/* Title — sits below the photo in content area for clean legibility */
.hero__media-title-wrap {
  text-align: left;
  margin: 0;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(26px, 7.4vw, 42px);
  line-height: 1.5;
  color: var(--green);
  margin: 0;
  letter-spacing: .03em;
}
@media (min-width: 720px) {
  .hero__title {
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.4;
  }
}
.hero__title-lead { display: block; }
.hero__title-emph { display: block; }
.hero__title-emph em {
  font-style: normal;
  color: var(--pink);
  position: relative;
  padding: 0 2px;
}
.hero__title-emph em::after {
  content: '';
  position: absolute;
  inset: auto -2px 0;
  height: 12px;
  background: var(--pink-soft);
  z-index: -1;
  border-radius: 4px;
}
.hero__title-sub {
  font-family: var(--serif);
  font-size: clamp(11px, 2.4vw, 13px);
  color: var(--pink);
  letter-spacing: .14em;
  margin: 0 0 12px;
}

/* Decorative chips bottom-right of photo */
.hero__media-chips {
  position: absolute;
  bottom: clamp(16px, 3vw, 28px);
  right: clamp(16px, 4vw, 40px);
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  max-width: none;
  gap: 8px;
  z-index: 3;
}
.hero__media-chips li {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--green);
  background: rgba(255,255,255,.92);
  padding: 6px 12px;
  border-radius: var(--r-full);
  border: 1px solid rgba(255,255,255,.4);
  backdrop-filter: blur(6px);
  white-space: nowrap;
}
/* 強制改行用ダミー（PCでは非表示。スマホでのみ flex 行を割る） */
.hero__media-chips .hero__media-chips-break { display: none; }
@media (max-width: 1023px) {
  /* スマホ/タブレット：5バッジを写真下部の帯に。上段3（女性歯科医師/土曜/管理栄養士）・下段2（小児矯正/ベビーカー）の2段固定 */
  .hero__media-chips {
    left: 12px; right: 12px; bottom: 12px;
    max-width: none;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
  }
  .hero__media-chips li {
    font-size: 11px;
    padding: 5px 12px;
    letter-spacing: .03em;
    box-shadow: 0 2px 8px rgba(0,0,0,.14);
  }
  /* 並び順を「女性歯科医師→土曜→管理栄養士→[改行]→小児矯正→ベビーカー」に。DOM順は据置でorderだけ入替＝PC無傷 */
  .hero__media-chips li:nth-child(1) { order: 1; } /* 女性歯科医師在籍 */
  .hero__media-chips li:nth-child(2) { order: 2; } /* 土曜も診療 */
  .hero__media-chips li:nth-child(4) { order: 3; } /* 管理栄養士在籍 */
  .hero__media-chips li.hero__media-chips-break {
    display: block;
    order: 4;
    flex: 0 0 100%;
    height: 0;
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
  }
  .hero__media-chips li:nth-child(3) { order: 5; } /* 小児矯正のための… */
  .hero__media-chips li:nth-child(5) { order: 6; } /* ベビーカー可 */
}
@media (max-width: 400px) {
  /* 小型端末：さらに圧縮して3行以内に収める */
  .hero__media-chips { gap: 5px; }
  .hero__media-chips li {
    font-size: 10px;
    padding: 4px 10px;
    letter-spacing: .02em;
  }
}

/* Hero content below the photo */
.hero__content {
  background: var(--ivory);
  padding: 24px 22px 56px;
  max-width: 540px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  z-index: 2;
}
@media (min-width: 720px) {
  .hero__content { padding-top: 40px; }
}

.hero__sub {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 2;
  margin: 4px 0 0;
}
.u-mark {
  background: linear-gradient(transparent 70%, var(--cream) 70%);
  padding: 0 .15em;
  color: var(--green);
  font-weight: 600;
}

.hero__chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.hero__chips li {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: 14px 8px;
  text-align: center;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--green);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-card);
}
.hero__chips-ic {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream);
  border-radius: 50%;
  font-size: 18px;
}
/* 切り抜きイラストアイコン用：cream丸下地を消し、図だけを透過表示 */
.hero__chips-ic--photo {
  background: transparent;
  overflow: visible;
}
.hero__chips-ic--photo img {
  transform: scale(1.1);
}

.hero__cta-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 22px 20px 20px;
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-soft);
}
.hero__cta-card-head {
  text-align: center;
  font-family: var(--serif);
  font-size: 14px;
  color: var(--green);
  margin: 0 0 12px;
  letter-spacing: .1em;
}
.hero__cta-card-btns { display: flex; flex-direction: column; gap: 10px; }
.hero__cta-card-foot {
  text-align: center;
  font-size: 12px;
  color: var(--green-soft);
  margin: 12px 0 0;
}

/* =========================================
   PASTEL DOODLES — wobbly hand-drawn shapes
   ========================================= */
.doodles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
  z-index: 2;
}
.doodle {
  position: absolute;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.06));
  animation: doodle-float 7s ease-in-out infinite;
}
.doodle:nth-child(2n) { animation-duration: 9s; animation-delay: -1.2s; }
.doodle:nth-child(3n) { animation-duration: 8s; animation-delay: -2.4s; }
@keyframes doodle-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(var(--rot, 0deg)); }
  50%      { transform: translate3d(0, -6px, 0) rotate(calc(var(--rot, 0deg) + 2deg)); }
}

/* ===== 動くデコレーション：キラキラ点滅＋浮遊シャボン玉（GM指示） ===== */
@keyframes twinkle {
  0%, 100% { opacity: .35; transform: scale(.8) rotate(var(--rot, 0deg)); }
  50%      { opacity: 1;   transform: scale(1.25) rotate(var(--rot, 0deg)); }
}
.doodle--sparkle-1, .doodle--sparkle-2 {
  animation: doodle-float 7s ease-in-out infinite, twinkle 2.6s ease-in-out infinite;
}
.doodle--sparkle-2 { animation-delay: -1.2s, -0.9s; }

.fx-bubbles { position: fixed; inset: 0; pointer-events: none; z-index: 6; overflow: hidden; }
.fx-bubble {
  position: absolute; bottom: -8vh; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, rgba(255,255,255,.5), rgba(164,216,196,.42) 48%, rgba(120,190,160,.3) 100%);
  border: 1px solid rgba(120,190,160,.4);
  box-shadow: inset 0 0 8px rgba(255,255,255,.45), 0 2px 10px rgba(120,190,160,.18);
  opacity: 0; animation: bubble-rise linear infinite;
}
.fx-bubble--pink {
  background: radial-gradient(circle at 34% 30%, rgba(255,255,255,.5), rgba(248,200,216,.46) 48%, rgba(232,120,162,.32) 100%);
  border-color: rgba(232,120,162,.42);
  box-shadow: inset 0 0 8px rgba(255,255,255,.45), 0 2px 10px rgba(232,120,162,.2);
}
@keyframes bubble-rise {
  0%   { transform: translateY(0) translateX(0) scale(.9);   opacity: 0; }
  8%   { opacity: .3; }
  50%  { transform: translateY(-55vh) translateX(18px) scale(1); }
  88%  { opacity: .22; }
  100% { transform: translateY(-108vh) translateX(-14px) scale(1.05); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .fx-bubble, .doodle, .doodle--sparkle-1, .doodle--sparkle-2 { animation: none !important; }
}

/* Hero doodles */
.doodles--hero .doodle--blob-1 {
  width: clamp(90px, 22vw, 180px); aspect-ratio: 1;
  top: -28px; right: 8%;
  --rot: -10deg;
  opacity: .9;
}
.doodles--hero .doodle--blob-2 {
  width: clamp(70px, 13vw, 110px); aspect-ratio: 1;
  bottom: -90px; left: -70px;
  --rot: 14deg;
  opacity: .55;
}
.doodles--hero .doodle--blob-3 {
  width: clamp(70px, 18vw, 140px); aspect-ratio: 1;
  bottom: 12%; right: -28px;
  --rot: -20deg;
  opacity: .7;
}
.doodles--hero .doodle--squiggle-1 {
  width: clamp(90px, 18vw, 160px); height: auto;
  top: 6%; right: 4%; bottom: auto; left: auto;
  --rot: -6deg;
}
.doodles--hero .doodle--sparkle-1 {
  width: clamp(28px, 6vw, 44px); aspect-ratio: 1;
  top: 32%; right: 4%;
  --rot: 12deg;
}
.doodles--hero .doodle--sparkle-2 {
  width: clamp(22px, 5vw, 36px); aspect-ratio: 1;
  top: 8%; right: 38%;
  --rot: -8deg;
}
.doodles--hero .doodle--dots {
  width: clamp(60px, 14vw, 110px); aspect-ratio: 1;
  bottom: 6%; right: 14%;
  --rot: 6deg;
  opacity: .85;
}

/* Doodles inside hero content area too */
.hero__content { position: relative; overflow: hidden; }

/* Section doodles (smaller, more sparse) */
.doodles--section .doodle {
  opacity: .6;
}

/* Hero content doodles */
.doodles--hero-content .doodle--blob-a {
  width: clamp(120px, 30vw, 200px); aspect-ratio: 1;
  top: 20%; right: -50px;
  --rot: 18deg;
  opacity: .55;
}
.doodles--hero-content .doodle--blob-b {
  width: clamp(50px, 10vw, 80px); aspect-ratio: 1;
  bottom: -40px; left: -80px;
  --rot: -14deg;
  opacity: .35;
}
.doodles--hero-content .doodle--squig {
  width: clamp(80px, 20vw, 140px); height: auto;
  top: 8px; left: 56%;
  --rot: 8deg;
  opacity: .8;
}

/* Allow content stacking above doodles */
.hero__content > :not(.doodles) {
  position: relative;
  z-index: 1;
}

/* CTA Buttons */
.cta-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--r-full);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 6px 22px -10px rgba(0,0,0,.25);
  transition: transform .15s, box-shadow .2s;
  position: relative;
  overflow: hidden;
}
.cta-btn::after {
  content: '→';
  margin-left: auto;
  font-size: 14px;
  opacity: .85;
}
.cta-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -12px rgba(0,0,0,.3); }
.cta-btn__ic {
  flex: 0 0 auto;
  width: 30px; height: 30px;
  background: rgba(255,255,255,.18);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
}
.cta-btn__body { display: flex; flex-direction: column; line-height: 1.2; }
.cta-btn__main { font-size: 15px; }
.cta-btn__sub { font-size: 10px; opacity: .85; letter-spacing: .08em; margin-top: 2px; }
.cta-btn--web { background: #fff; color: var(--pink); border: 1px solid var(--pink); box-shadow: 0 6px 22px -12px rgba(232,67,128,.4); }
.cta-btn--web .cta-btn__ic { background: var(--pink-soft, #FFF1F4); }
.cta-btn--line { background: linear-gradient(135deg, #38B14B 0%, #2A8E3A 100%); }
.cta-btn--lg { padding: 18px 22px; }
.cta-btn--lg .cta-btn__main { font-size: 17px; }
.cta-btn--lg .cta-btn__ic { width: 36px; height: 36px; font-size: 17px; }

/* =========================================
   RIBBON
   ========================================= */
.ribbon {
  background: var(--green);
  color: var(--ivory);
  padding: 14px 0;
  overflow: hidden;
  border-top: 4px solid var(--pink);
}
.ribbon__track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.ribbon__group {
  display: flex;
  gap: 32px;
  padding-right: 32px;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: .12em;
  white-space: nowrap;
}
.ribbon__group span { color: var(--ivory); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================
   TRUST BADGE — ママとこどものはいしゃさん認定
   ========================================= */
.trust-badge {
  padding: 80px 0 0;
  background: linear-gradient(180deg, var(--mama-teal-soft) 0%, var(--ivory) 50%, var(--cream) 100%);
  position: relative;
  overflow: hidden;
}
.trust-badge__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

/* 左カラム：全コンテンツ左寄せ＋小さめ／右カラム：院長写真。3バッジは据え置き */
.trust-badge__split {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 40px;
  align-items: end;
  margin-top: 0;
}
.trust-badge__split-photo {
  position: relative;
  margin-bottom: 120px; /* 写真2枚を全体的に上へ引き上げ（GM指示・黒丸矢印） */
  margin-right: calc(-1 * (50vw - 50%) + 220px);
  width: calc(50vw + 50% - 280px);
  max-width: none;
  overflow: visible;
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 1s ease .2s, transform 1.1s cubic-bezier(.2,.7,.2,1) .2s;
}
.trust-badge__split.is-in .trust-badge__split-photo {
  opacity: 1;
  transform: translateX(0);
}
.trust-badge__photo-main {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-md) 0 0 var(--r-md);
  box-shadow: var(--shadow-soft);
}
.trust-badge__photo-sub {
  position: absolute;
  bottom: -28px;
  left: -92px;
  width: 32%;
  height: auto;
  display: block;
  border-radius: var(--r-md);
  border: 5px solid #fff;
  box-shadow: 0 10px 24px -10px rgba(63,72,67,.30);
  z-index: 2;
}
.trust-badge__split-text {
  text-align: left;
  align-self: end;
  margin-top: -24px;
}
.trust-badge__split-text .trust-badge__en { text-align: left; margin-bottom: 14px; }
.trust-badge__split-text .trust-badge__logo { margin: 0 0 10px; max-width: 540px; }
.trust-badge__split-text .trust-badge__title { text-align: left; font-size: 26px; margin: 0 0 10px; }
.trust-badge__split-text .trust-badge__lead { text-align: left; font-size: 15px; margin: 0 0 14px; max-width: 100%; }
.trust-badge__split-text .trust-badge__criteria { margin: 0 0 14px 0; max-width: 670px; gap: 18px; }
.trust-badge__split-text .trust-badge__criterion { padding: 26px 14px; gap: 8px; box-shadow: 0 0 0 6px #fff, 0 0 0 9px var(--mama-teal-soft), var(--shadow-card); }
.trust-badge__split-text .trust-badge__criterion-num { font-size: 22px; }
.trust-badge__split-text .trust-badge__criterion-text { font-size: 15px; line-height: 1.5; }
.trust-badge__split-text .trust-badge__cta-wrap { margin-top: 48px; justify-content: flex-start; }
.trust-badge__en {
  font-family: var(--en);
  font-size: 14px;
  letter-spacing: .35em;
  color: var(--mama-teal);
  margin: 0 0 18px;
  font-weight: 600;
}
.trust-badge__logo {
  margin: 0 auto 28px;
  max-width: 480px;
}
.trust-badge__logo img {
  width: 100%;
  height: auto;
  display: block;
}
.trust-badge__title {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  color: var(--mama-teal);
  margin: 0 0 28px;
  letter-spacing: .06em;
  line-height: 1.4;
}
.trust-badge__title sup {
  font-size: .5em;
  vertical-align: super;
  margin-left: 2px;
  font-weight: 400;
}
.trust-badge__lead {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 2.0;
  color: var(--ink);
  margin: 0 auto 44px;
  max-width: 820px;
}
.trust-badge__lead em {
  font-style: normal;
  color: var(--mama-teal-dark);
  font-weight: 700;
  background: linear-gradient(transparent 62%, var(--mama-teal-soft) 62% 95%, transparent 95%);
  padding: 0 6px;
}
.trust-badge__lead sup {
  font-size: .65em;
  vertical-align: super;
}
.trust-badge__criteria {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 760px;
}
.trust-badge__criterion {
  background: #fff;
  border: 2px solid var(--mama-teal);
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px 12px;
  box-shadow:
    0 0 0 6px #fff,
    0 0 0 8px var(--mama-teal-soft),
    var(--shadow-card);
  position: relative;
}
.trust-badge__criterion-num {
  font-family: var(--en);
  font-size: 22px;
  color: var(--mama-teal);
  letter-spacing: .12em;
  font-weight: 600;
}
.trust-badge__criterion-text {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--mama-teal-dark);
  line-height: 1.55;
  text-align: center;
}
.trust-badge__cta-wrap {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}
/* shadcn/ui outline variant を静的CSS化（旧React/Babel/Tailwind CDN撤去に伴い） */
.trust-badge__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 22px;
  background: var(--mama-teal, #2F9B82);
  color: #fff;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--mama-teal, #2F9B82);
  border-radius: 8px;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.trust-badge__cta-btn:hover {
  background: var(--mama-teal-dark, #1F7E68);
}
.trust-badge__cta-btn svg { display: block; }
/* shadcn/ui outline variant準拠：白背景・細枠・控えめ角丸 */
.trust-badge__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 20px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.trust-badge__cta:hover {
  background: #f1f5f9;
  border-color: var(--mama-teal-soft);
  color: var(--mama-teal-dark);
}
.trust-badge__cta-arrow {
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  transition: transform .2s ease;
}
.trust-badge__cta:hover .trust-badge__cta-arrow {
  transform: translateX(2px);
}

/* About Our Clinic — 写真＋ピンクロゴスタンプ＋キャッチ（両サイド切り・中央寄せ） */
.trust-badge__about {
  margin-top: 140px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 40px;
}
.trust-badge__about-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-soft);
}
.trust-badge__about-photo > img:first-child {
  display: block;
  width: 100%;
  height: auto;
}
.trust-badge__about-stamp {
  position: absolute;
  top: 4%;
  right: 3%;
  width: 130px;
  height: auto;
  opacity: .92;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.25));
  z-index: 2;
  pointer-events: none;
}
/* 写真下のキャッチコピー（LPトーン：中央寄せ・ティール明朝） */
.trust-badge__about-words {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: 64px 32px 32px;
}
.trust-badge__about-words-en {
  font-family: var(--en);
  font-size: 14px;
  letter-spacing: .35em;
  color: var(--mama-teal);
  font-weight: 600;
  display: block;
  margin-bottom: 20px;
}
.trust-badge__about-words-catch {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--mama-teal-dark);
  letter-spacing: .14em;
  line-height: 1.85;
  margin: 0;
}
@media (max-width: 760px) {
  .trust-badge__about-words-catch {
    font-size: 18px;
    letter-spacing: .06em;
    line-height: 1.6;
  }
}

/* Trust Badge — Feature ブロック（mama風レイアウト：左に縦写真、右にテキスト） */
.trust-badge__feature {
  margin: 88px auto 24px;
  max-width: 1100px;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 56px;
  align-items: center;
}
.trust-badge__feature-photo {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.trust-badge__feature-photo img {
  width: 100%;
  height: auto;
  display: block;
}
.trust-badge__feature-en {
  font-family: var(--en);
  font-size: 14px;
  letter-spacing: .35em;
  color: var(--mama-teal);
  font-weight: 600;
  display: block;
  margin-bottom: 16px;
}
.trust-badge__feature-title {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  color: var(--mama-teal-dark);
  margin: 0 0 28px;
  line-height: 1.6;
  letter-spacing: .06em;
}
.trust-badge__feature-body p {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 2.0;
  color: var(--ink);
  margin: 0 0 18px;
}

/* =========================================
   CONCERN
   ========================================= */
.concern { padding: 64px 0 80px; background: #fff; position: relative; overflow: hidden; }
.concern__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 720px) {
  .concern__grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
.concern-card {
  background: #fff;
  border: 2px solid var(--green);
  border-radius: var(--r-md);
  padding: 80px 20px 20px 36%;
  text-align: right;
  color: var(--pink);
  position: relative;
  overflow: visible;
  min-height: 175px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  box-shadow: 0 4px 14px rgba(232,67,128,.10);
}
.concern-card__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  width: 100%;
}
.concern-card__body p {
  text-align: right;
  font-family: 'Zen Maru Gothic', var(--sans);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.6;
  color: #D58CA8;
  margin: 0;
  letter-spacing: .02em;
  white-space: nowrap;
}
.concern-card__ic {
  width: 56px; height: 56px;
  background: rgba(255,255,255,.85);
}
.concern-card__photo { position: absolute; bottom: 0; left: 0; width: 46%; height: 200px; margin: 0; pointer-events: none; z-index: 3; overflow: visible; display: flex; align-items: flex-end; justify-content: center; }
.concern-card__photo img { height: 100%; width: auto; max-width: none; display: block; filter: drop-shadow(0 10px 18px rgba(0,0,0,.2)); transform: scale(0.80); transform-origin: bottom center; }
.concern-card::after {
  content: '';
  position: absolute;
  bottom: 8px; right: 12px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--pink-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M3 6l3 3 3-6' stroke='%23E84380' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .25s, transform .25s;
}
.concern-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.concern-card:hover::after { opacity: 1; transform: translateY(0); }
.concern-card__ic {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 4;
  width: 58px; height: 58px;
  background: var(--ivory-2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
}
.concern-card__ic svg { width: 40px; height: 40px; }
/* 円バッジ型イラスト用：ivory丸下地を消してバッジ全面表示 */
.concern-card__ic--photo { background: transparent; }
.concern-card p {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
}

.concern__lead {
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(16px, 4vw, 20px);
  color: var(--green);
  line-height: 2;
  margin: 36px auto 0;
  max-width: 560px;
}
.concern__lead strong {
  color: var(--pink);
  font-weight: 600;
}

/* =========================================
   MAMA AFFILIATE
   ========================================= */
.mama {
  position: relative;
  background: var(--mama-teal);
  color: var(--ivory);
  padding: 76px 0 88px;
  overflow: hidden;
}
.mama__bg { position: absolute; inset: 0; pointer-events: none; }
.mama__bg-pat {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,.10), transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(238,228,195,.16), transparent 35%);
}
.mama__inner { position: relative; }

.mama__head {
  text-align: center;
  margin-bottom: 36px;
}
.mama__head-en {
  display: inline-block;
  font-family: var(--en);
  letter-spacing: .35em;
  font-size: 12px;
  color: var(--mama-teal-soft);
  text-transform: uppercase;
  margin-bottom: 12px;
  padding: 0 8px;
  position: relative;
}
.mama__head-en::before, .mama__head-en::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 28px; height: 1px;
  background: rgba(185, 228, 215, .5);
}
.mama__head-en::before { right: 100%; }
.mama__head-en::after { left: 100%; }
.mama__head-ja {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(24px, 6.2vw, 36px);
  line-height: 1.5;
  margin: 0;
  letter-spacing: .04em;
}
.mama__head-ja em {
  font-style: normal;
  color: #FFE9F1;
  position: relative;
  padding: 0 .15em;
}
@media (max-width: 1023px) {
  /* スマホ：①見出しに被る丸crayonデコを非表示 ②文字を少し小さく ③各行を折返させず「2行」に固定 */
  .doodles--mama { display: none; }
  .mama__head-ja {
    font-size: clamp(17px, 4.8vw, 21px);
    line-height: 1.55;
    white-space: nowrap;
  }
}

.mama__hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin: 0 auto 44px;
  max-width: 880px;
  text-align: left;
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (min-width: 800px) {
  .mama__hero {
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    max-width: 980px;
  }
}
.mama__photo {
  position: relative;
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 1s ease .2s, transform 1.1s cubic-bezier(.2,.7,.2,1) .2s;
}
.mama__hero.is-in .mama__photo {
  opacity: 1;
  transform: translateX(0);
}
.mama__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  border-radius: 0 180px 180px 0 / 0 50% 50% 0;
  box-shadow: 0 14px 40px rgba(0,0,0,.22);
  display: block;
}
/* PC幅で画面左端から中央まで広げる（container外まで拡張） */
@media (min-width: 800px) {
  .mama__photo {
    margin-left: calc(-1 * (50vw - 50%));
    width: calc(50vw + 50% - 24px);
    max-width: none;
  }
  .mama__photo img {
    aspect-ratio: auto;
    height: clamp(360px, 52vh, 520px);
  }
}

/* スマホ：右半円のしぼみを解除して普通の角丸に＋左を画面外に逃がす */
@media (max-width: 799px) {
  .mama__photo {
    margin-left: -7vw;
    width: calc(100% + 7vw);
  }
  .mama__photo img {
    border-radius: 18px;
  }
}

.mama__lead { font-size: 14px; line-height: 2; }
.mama__lead p { margin: 0 0 14px; opacity: .94; }

.mama__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 880px;
  margin: 0 auto;
}
@media (min-width: 720px) {
  .mama__points { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}
.mama__points li {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-md);
  padding: 22px 22px 24px;
  position: relative;
  backdrop-filter: blur(4px);
}
/* スマホ：白6%のフロストは緑地で透けすぎ「壊れて見える」→濃いめ＋枠強化で視認性確保（PC≥1024は据置＝凍結維持） */
@media (max-width: 1023px) {
  .mama__points li {
    background: rgba(255,255,255,.16);
    border-color: rgba(255,255,255,.42);
    backdrop-filter: none;
  }
}
.mama__points-ic {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  background: rgba(255,255,255,.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
}
.mama__points-ic img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 加盟医院セクションのパステルdoodles（ヒーロー風） */
.doodles--mama .doodle--blob-1 {
  width: clamp(110px, 18vw, 200px); aspect-ratio: 1;
  top: 24px; left: 4%;
  --rot: -12deg;
  opacity: .82;
}
.doodles--mama .doodle--blob-2 {
  width: clamp(140px, 22vw, 240px); aspect-ratio: 1;
  bottom: -40px; right: -42px;
  --rot: 18deg;
  opacity: .7;
}
.doodles--mama .doodle--blob-3 {
  width: clamp(80px, 14vw, 150px); aspect-ratio: 1;
  top: 18%; right: 6%;
  --rot: -22deg;
  opacity: .78;
}
.doodles--mama .doodle--squiggle-1 {
  width: clamp(120px, 24vw, 220px); height: auto;
  top: auto; bottom: 16%; left: auto; right: 7%;
  --rot: -4deg;
}
.doodles--mama .doodle--sparkle-1 {
  width: clamp(28px, 5vw, 42px); aspect-ratio: 1;
  top: 40%; left: 8%;
  --rot: 10deg;
}
.doodles--mama .doodle--sparkle-2 {
  width: clamp(24px, 4.5vw, 36px); aspect-ratio: 1;
  bottom: 24%; right: 22%;
  --rot: -6deg;
}
.doodles--mama .doodle--dots {
  width: clamp(60px, 12vw, 110px); aspect-ratio: 1;
  bottom: 10%; left: 16%;
  --rot: 8deg;
  opacity: .85;
}

/* ============ Section-wide doodles (ランダム配置) ============ */
.doodles--concern .doodle--blob-1 { top: 30px; left: -30px; width: clamp(80px,12vw,140px); aspect-ratio:1; --rot:-15deg; opacity:.75; }
.doodles--concern .doodle--sparkle-1 { top: 50%; right: 8%; width: clamp(24px,4vw,38px); aspect-ratio:1; --rot:18deg; }
.doodles--concern .doodle--dots { bottom: 6%; left: 12%; width: clamp(50px,9vw,90px); aspect-ratio:1; --rot:8deg; opacity:.8; }

.doodles--reasons .doodle--blob-1 { top: 18%; right: 4%; width: clamp(90px,14vw,160px); aspect-ratio:1; --rot:22deg; opacity:.7; }
.doodles--reasons .doodle--sparkle-1 { top: 8%; left: 12%; width: clamp(26px,5vw,42px); aspect-ratio:1; --rot:-10deg; }
.doodles--reasons .doodle--squiggle-1 { bottom: 12%; left: -20px; width: clamp(110px,18vw,180px); --rot:6deg; }

.doodles--ortho .doodle--blob-1 { bottom: 12%; left: -40px; width: clamp(90px,14vw,150px); aspect-ratio:1; --rot:12deg; opacity:.7; }
.doodles--ortho .doodle--dots { top: 20%; right: 5%; width: clamp(50px,9vw,90px); aspect-ratio:1; --rot:-8deg; opacity:.85; }
.doodles--ortho .doodle--sparkle-1 { top: 60%; left: 38%; width: clamp(26px,5vw,40px); aspect-ratio:1; --rot:24deg; }

.doodles--growth .doodle--squiggle-1 { top: 12%; right: 6%; width: clamp(100px,16vw,160px); --rot:-8deg; }
.doodles--growth .doodle--sparkle-1 { bottom: 18%; left: 8%; width: clamp(28px,5vw,42px); aspect-ratio:1; --rot:16deg; }
.doodles--growth .doodle--blob-1 { bottom: -20px; right: 10%; width: clamp(80px,12vw,130px); aspect-ratio:1; --rot:-22deg; opacity:.65; }

.doodles--equipment .doodle--blob-1 { top: 24px; left: 8%; width: clamp(85px,13vw,140px); aspect-ratio:1; --rot:14deg; opacity:.72; }
.doodles--equipment .doodle--dots { top: 50%; right: -20px; width: clamp(56px,10vw,100px); aspect-ratio:1; --rot:-12deg; opacity:.85; }
.doodles--equipment .doodle--sparkle-1 { bottom: 8%; right: 18%; width: clamp(28px,5vw,42px); aspect-ratio:1; --rot:8deg; }

.doodles--doctor .doodle--blob-1 { top: 8%; right: -30px; width: clamp(90px,14vw,150px); aspect-ratio:1; --rot:-18deg; opacity:.65; }
.doodles--doctor .doodle--squiggle-1 { top: 60%; right: 8%; width: clamp(100px,16vw,160px); --rot:14deg; }
.doodles--doctor .doodle--sparkle-1 { bottom: 14%; left: 12%; width: clamp(28px,5vw,42px); aspect-ratio:1; --rot:-10deg; }

.doodles--access .doodle--blob-1 { bottom: 10%; right: 4%; width: clamp(85px,13vw,140px); aspect-ratio:1; --rot:20deg; opacity:.7; }
.doodles--access .doodle--dots { top: 18%; left: 10%; width: clamp(56px,10vw,100px); aspect-ratio:1; --rot:6deg; opacity:.85; }
.doodles--access .doodle--sparkle-1 { top: 8%; right: 12%; width: clamp(26px,5vw,40px); aspect-ratio:1; --rot:-16deg; }

.doodles--faq .doodle--sparkle-1 { top: 10%; right: 10%; width: clamp(28px,5vw,42px); aspect-ratio:1; --rot:12deg; }
.doodles--faq .doodle--blob-1 { bottom: 8%; left: -30px; width: clamp(90px,14vw,140px); aspect-ratio:1; --rot:-14deg; opacity:.68; }
.doodles--faq .doodle--squiggle-1 { top: 50%; right: -10px; width: clamp(100px,16vw,160px); --rot:20deg; }

.doodles--cta .doodle--sparkle-1 { top: 14%; left: 12%; width: clamp(30px,5vw,44px); aspect-ratio:1; --rot:-12deg; }
.doodles--cta .doodle--blob-1 { bottom: -30px; right: -20px; width: clamp(100px,16vw,160px); aspect-ratio:1; --rot:18deg; opacity:.5; }
.doodles--cta .doodle--dots { top: 60%; left: 5%; width: clamp(56px,10vw,100px); aspect-ratio:1; --rot:8deg; opacity:.85; }

/* 両サイド写真（PC幅でのみ表示） */
.mama__sides {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  display: none;
}
@media (min-width: 1100px) {
  .mama__sides { display: block; }
}
.mama__side {
  position: absolute;
  top: 50%;
  width: clamp(220px, 20vw, 320px);
  height: clamp(440px, 60vh, 620px);
  object-fit: cover;
  border-radius: 60% 40% 50% 70% / 50% 60% 40% 50%;
  box-shadow: 0 14px 36px rgba(0,0,0,.22);
  opacity: .95;
  animation-name: blob-morph;
  animation-duration: 13s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
@keyframes blob-morph {
  0%, 100% { border-radius: 60% 40% 50% 70% / 50% 60% 40% 50%; }
  25%      { border-radius: 50% 50% 70% 30% / 60% 40% 60% 40%; }
  50%      { border-radius: 40% 60% 30% 70% / 50% 60% 40% 50%; }
  75%      { border-radius: 70% 30% 50% 50% / 40% 60% 50% 60%; }
}
.mama__side--left {
  left: clamp(8px, 1.5vw, 32px);
  animation: blob-morph 13s ease-in-out infinite, mama-side-float-l 9s ease-in-out infinite;
}
.mama__side--right {
  right: clamp(8px, 1.5vw, 32px);
  animation: blob-morph 15s ease-in-out infinite, mama-side-float-r 11s ease-in-out infinite;
}
@keyframes mama-side-float-l {
  0%, 100% { transform: translateY(-50%) rotate(-1.5deg); }
  50%      { transform: translateY(calc(-50% - 16px)) rotate(1.5deg); }
}
@keyframes mama-side-float-r {
  0%, 100% { transform: translateY(-50%) rotate(2deg); }
  50%      { transform: translateY(calc(-50% - 18px)) rotate(-2deg); }
}
.mama__points-num {
  position: absolute;
  top: 14px; left: 14px; right: auto; z-index: 4;
  width: 56px; text-align: center;
  font-family: var(--en);
  font-size: 28px;
  color: rgba(255,255,255,.4);
  letter-spacing: .04em;
  line-height: 1;
}
.mama__points h3 {
  font-family: var(--serif);
  font-size: 17px;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.5;
  letter-spacing: .04em;
}
.mama__points p {
  margin: 0;
  font-size: 13px;
  line-height: 1.85;
  opacity: .82;
}

.mama__map { text-align: center; margin-top: 22px; }
.mama__map-btn { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: #1F7E68; font-weight: 700; font-size: 14px; padding: 13px 28px; border-radius: 999px; text-decoration: none; box-shadow: 0 10px 24px -10px rgba(0,0,0,.4); transition: transform .15s ease, box-shadow .15s ease; }
.mama__map-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(0,0,0,.45); }
.mama__map-pin { font-size: 16px; line-height: 1; }
.mama__seal {
  margin: 44px auto 0;
  max-width: 540px;
  background: var(--ivory);
  color: var(--green);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 16px 40px -16px rgba(0,0,0,.4);
  position: relative;
}
.mama__seal::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--r-lg);
  padding: 2px;
  background: linear-gradient(135deg, var(--pink), var(--cream));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.mama__seal-mark {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--mama-teal-soft);
  display: flex; align-items: center; justify-content: center;
  padding: 12px;
  flex: 0 0 auto;
}
.mama__seal-mark img { width: 100%; height: 100%; object-fit: contain; }
.mama__seal-body { display: flex; flex-direction: column; gap: 2px; }
.mama__seal-tag {
  font-family: var(--en);
  letter-spacing: .25em;
  font-size: 10px;
  color: var(--mama-teal);
  text-transform: uppercase;
  margin: 0;
}
.mama__seal-name {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--mama-teal-dark);
  margin: 0;
  font-weight: 600;
  letter-spacing: .04em;
}
.mama__seal-meta {
  font-size: 11px;
  color: var(--green-soft);
  margin: 4px 0 0;
}

/* =========================================
   REASONS
   ========================================= */
.reasons {
  padding: 72px 0 84px;
  background: var(--ivory-2);
  position: relative;
}
.reasons__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 920px;
  margin: 0 auto;
  counter-reset: rsn;
}
@media (min-width: 600px) { .reasons__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 960px) { .reasons__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.reason {
  background: #fff;
  border-radius: var(--r-md);
  padding: 22px 18px 22px 46%;
  padding-left: 46%;
  position: relative;
  border: 1px solid var(--rule);
  color: var(--green);
  transition: transform .3s ease, box-shadow .3s ease;
  overflow: visible;
  min-height: 280px;
  display: flex;
  align-items: flex-start;
  box-shadow: 0 4px 12px rgba(47,155,130,.06);
}
.reason:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}
.reason__body {
  padding: 0;
  position: static;
  z-index: 2;
  text-align: right;
  width: 100%;
}
.reason__body h3 {
  color: var(--green);
  text-align: right;
}
.reason__body p {
  color: var(--ink-soft);
  text-align: left;
}
.reason__photo { position: absolute; bottom: 0; left: 0; width: 46%; height: 200px; margin: 0; pointer-events: none; z-index: 3; overflow: visible; display: flex; align-items: flex-end; justify-content: center; }
.reason__photo img { height: 100%; width: auto; max-width: none; display: block; filter: drop-shadow(0 10px 18px rgba(0,0,0,.2)); transform: scale(0.80); transform-origin: bottom center; }
.reason__num {
  position: absolute;
  top: 14px; left: 14px; right: auto; z-index: 4;
  width: 56px; text-align: center;
  font-family: var(--en);
  font-size: 32px;
  color: var(--pink);
  line-height: 1;
  opacity: .85;
  letter-spacing: .02em;
}
.reason__num::after {
  content: '';
  display: block;
  width: 22px;
  height: 1px;
  background: var(--pink);
  margin: 6px auto 0;
}
/* 丸アイコンを各カード左上角に白枠付きで固定配置（6枚同一座標） */
.reason__ic {
  position: absolute; top: 56px; left: 14px; z-index: 4;
  width: 56px; height: 56px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 50%;
  box-shadow: 0 3px 10px -3px rgba(0,0,0,.18);
  padding: 4px;
  margin: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
}
.reason__ic--photo { background: #fff; }
.reason__ic img { border-radius: 50%; }
.reason__ic svg { width: 44px; height: 44px; }
.reason h3 {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 10px;
  color: var(--green);
  letter-spacing: .04em;
  text-align: right;
  white-space: nowrap;
}
.reason p {
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin: 0;
}

/* =========================================
   ORTHO
   ========================================= */
.ortho {
  padding: 64px 0 80px;
  background: #fff;
  background-image: radial-gradient(circle at 80% 0%, rgba(255,255,255,.6), transparent 50%);
  position: relative;
  overflow: hidden;
}
.ortho__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 960px;
}
@media (min-width: 760px) {
  .ortho__inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
  }
}
.ortho__copy { order: 5; }
.ortho__photo { order: 6; position: relative; }
@media (min-width: 760px) {
  .ortho__copy { order: 6; }
  .ortho__photo { order: 5; }
}
.ortho__eyebrow {
  display: inline-block;
  font-family: var(--serif);
  font-size: 12.5px;
  color: var(--pink);
  letter-spacing: .14em;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--pink);
}
.ortho__title {
  font-family: var(--serif);
  font-size: clamp(26px, 7vw, 36px);
  color: var(--green);
  line-height: 1.5;
  margin: 0 0 18px;
  letter-spacing: .04em;
  font-weight: 500;
}
.ortho__title em {
  font-style: normal;
  color: var(--pink);
  position: relative;
  padding: 0 .12em;
}
.ortho__title em::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 10px;
  background: rgba(255,255,255,.7);
  z-index: -1;
}
.ortho__lead {
  font-size: 14px;
  line-height: 2;
  color: var(--ink-soft);
  margin: 0 0 22px;
}
.ortho__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--pink);
  color: #fff;
  border-radius: var(--r-full);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 22px -10px rgba(232,67,128,.6);
  transition: transform .15s, box-shadow .2s;
}
.ortho__btn:hover { transform: translateY(-1px); box-shadow: 0 12px 30px -12px rgba(232,67,128,.7); }
.ortho__banner-link {
  grid-column: 1 / -1;
  order: 15;
  flex-basis: 100%;
  display: block;
  margin: 40px auto 8px;
  width: 100%;
  max-width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 4px solid #fff;
  outline: 1px solid rgba(47,155,130,.28);
  box-shadow: 0 16px 36px -10px rgba(47,155,130,.34), 0 4px 12px rgba(0,0,0,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.ortho__banner-link:hover {
  transform: translateY(-3px) scale(1.012);
  box-shadow: 0 20px 40px -12px rgba(47,155,130,.38), 0 0 22px rgba(47,155,130,.26), 0 0 50px rgba(120,190,160,.15), 0 6px 14px rgba(0,0,0,.07);
}
.ortho__banner-img { display: block; width: 100%; height: auto; }
.ortho__photo {
  border-radius: var(--r-lg);
  background: #fff;
  padding: 16px;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.ortho__photo img {
  border-radius: var(--r-md);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: #f3e5ec;
}
.ortho__photo-deco {
  position: absolute;
  top: -22px; right: -18px;
  width: 80px; height: 80px;
  background: var(--cream);
  border-radius: 50%;
  z-index: -1;
}

.ortho__merits {
  grid-column: 1 / -1;
  order: 1;
  list-style: none;
  margin: 24px 0 0;
  padding: 24px;
  background: #fff;
  border-radius: var(--r-md);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 18px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.ortho__merits::before {
  content: '小児矯正のメリット';
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #fff;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: .12em;
  padding: 5px 18px;
  border-radius: var(--r-full);
}
@media (min-width: 720px) {
  .ortho__merits { grid-template-columns: repeat(4, 1fr); }
}
.ortho__merits li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 12px 6px;
  font-size: 18px;
  color: var(--ink);
  line-height: 1.5;
}
.ortho__merits strong { color: var(--green); font-weight: 600; }
.ortho__merits-ic {
  width: 84px; height: 84px;
  background: var(--pink-soft);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--pink);
}
.ortho__merits-ic svg { width: 45px; height: 45px; }
/* 円バッジ型イラスト用：ピンク丸下地を消してバッジ全面表示 */
.ortho__merits-ic--photo { background: transparent; }

/* =========================================
   GROWTH TIMELINE
   ========================================= */
.growth {
  padding: 72px 0 80px;
  background: var(--ivory);
  position: relative;
  overflow: hidden;
}
.growth__timeline {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}
.growth__steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .growth__steps { grid-template-columns: repeat(5, 1fr); gap: 10px; }
}

.growth-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: 18px 16px 18px 64px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--green);
}
@media (min-width: 720px) {
  .growth-step {
    padding: 56px 14px 16px;
    text-align: center;
    align-items: center;
  }
}
.growth-step__photo {
  display: block;
  width: 100%;
  max-width: 160px;
  margin: 0 auto 10px;
}
.growth-step__photo img { width: 100%; height: auto; display: block; }
.growth-step__age {
  font-family: var(--en);
  background: var(--green);
  color: var(--cream);
  font-size: 16px;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  letter-spacing: .04em;
  font-weight: 600;
  position: absolute;
  top: 12px; left: 12px;
  min-width: 44px;
  text-align: center;
  line-height: 1.1;
}
.growth-step__age small {
  font-size: 9px;
  display: inline-block;
  vertical-align: middle;
  margin: 0 1px;
  opacity: .8;
}
@media (min-width: 720px) {
  .growth-step__age {
    position: static;
    align-self: center;
    margin-bottom: 8px;
  }
}
.growth-step h4 {
  font-family: var(--serif);
  font-size: 14px;
  margin: 0;
  letter-spacing: .04em;
  color: var(--green);
  font-weight: 600;
}
.growth-step ul {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.7;
}
.growth-step ul li { position: relative; padding-left: 12px; }
.growth-step ul li::before {
  content: '';
  position: absolute;
  left: 2px; top: 8px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--pink);
}
@media (min-width: 720px) {
  .growth-step ul { text-align: left; }
}

.growth__note {
  margin: 30px auto 0;
  max-width: 720px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: 18px 20px;
  display: flex;
  gap: 16px;
  align-items: center;
}
.growth__note--photo { max-width: 880px; gap: 24px; }
.growth__note-photo { flex: 0 0 auto; width: 200px; }
.growth__note-photo img { width: 100%; height: auto; display: block; border-radius: 14px; box-shadow: var(--shadow-soft); }
.growth__note-ic {
  width: 52px; height: 52px;
  flex: 0 0 auto;
  background: var(--cream);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
}
.growth__note-title {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--green);
  margin: 0 0 6px;
  font-weight: 600;
}
.growth__note p:not(.growth__note-title) {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.7;
}

/* =========================================
   EQUIPMENT
   ========================================= */
.equipment {
  padding: 72px 0 80px;
  background: var(--ivory-2);
  position: relative;
  overflow: hidden;
}
.facility__lead { text-align: center; max-width: 720px; margin: 0 auto 28px; font-size: clamp(15px,1.8vw,17px); line-height: 1.95; color: var(--ink-2); }
.facility__gallery { list-style: none; padding: 0; margin: 0 auto; max-width: 960px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.facility__gallery li { margin: 0; }
.facility__gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-md); display: block; box-shadow: var(--shadow-soft); }
@media (max-width: 600px) { .facility__gallery { grid-template-columns: 1fr; } }
.equipment__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 920px;
  margin: 0 auto;
}
@media (min-width: 600px) { .equipment__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .equipment__grid { grid-template-columns: repeat(6, 1fr); gap: 16px; } }
.equipment__grid li {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: 16px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform .25s;
}
.equipment__grid li:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.equipment__ph {
  width: 80%;
  aspect-ratio: 1/1;
  border-radius: var(--r-sm);
  background: var(--ivory);
  position: relative;
  overflow: hidden;
}
.equipment__ph::before {
  content: '';
  position: absolute;
  inset: 10%;
  background: var(--green-soft);
  border-radius: 4px;
  opacity: .15;
}
/* differentiate equipment placeholders with simple SVG silhouettes */
.eq-ph-1::after,.eq-ph-2::after,.eq-ph-3::after,.eq-ph-4::after,.eq-ph-5::after,.eq-ph-6::after {
  content: '';
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 60%;
  opacity: .85;
}
.eq-ph-1::after { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%234F6058' stroke-width='2'><rect x='10' y='14' width='44' height='30' rx='4'/><rect x='14' y='18' width='36' height='22' rx='2' fill='%23EEE4C3' opacity='.6'/><circle cx='32' cy='29' r='6'/><rect x='22' y='46' width='20' height='4' rx='1'/></svg>"); }
.eq-ph-2::after { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%234F6058' stroke-width='2'><path d='M16 50V18a6 6 0 016-6h20a6 6 0 016 6v32'/><circle cx='32' cy='28' r='8'/><path d='M16 50h32'/></svg>"); }
.eq-ph-3::after { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%234F6058' stroke-width='2'><rect x='8' y='18' width='36' height='24' rx='3'/><path d='M44 26l10-4v20l-10-4z'/><rect x='14' y='44' width='24' height='3' rx='1'/></svg>"); }
.eq-ph-4::after { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%234F6058' stroke-width='2'><circle cx='32' cy='22' r='10'/><path d='M28 32l-6 18M36 32l6 18'/><circle cx='32' cy='22' r='4' fill='%234F6058'/></svg>"); }
.eq-ph-5::after { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%234F6058' stroke-width='2'><rect x='12' y='12' width='40' height='40' rx='4'/><circle cx='32' cy='32' r='10'/><path d='M22 18h20'/></svg>"); }
.eq-ph-6::after { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%234F6058' stroke-width='2'><path d='M20 14h24v18l-12 18-12-18z'/><path d='M20 24h24'/></svg>"); }

.equipment__grid p {
  margin: 0;
  font-size: 11.5px;
  color: var(--green);
  font-weight: 500;
  line-height: 1.4;
}

.equipment__quote {
  margin: 36px auto 0;
  max-width: 560px;
  text-align: center;
  padding: 24px 20px;
  background: #fff;
  border-radius: var(--r-md);
  border: 1px solid var(--rule);
  position: relative;
}
.equipment__quote::before, .equipment__quote::after {
  content: '“';
  position: absolute;
  font-family: var(--en);
  font-size: 64px;
  color: var(--pink-soft);
  line-height: 1;
  top: 8px; left: 12px;
}
.equipment__quote::after { content: '”'; left: auto; right: 12px; top: auto; bottom: -20px; }
.equipment__quote-title {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--green);
  margin: 0 0 6px;
  font-weight: 600;
}
.equipment__quote p:not(.equipment__quote-title) {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.8;
}

/* =========================================
   DOCTOR
   ========================================= */
.doctor {
  padding: 80px 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.doctor__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 880px;
  align-items: center;
}
@media (min-width: 720px) {
  .doctor__inner { grid-template-columns: 340px 1fr; gap: 48px; }
  /* PC：顔写真＋診療写真2枚を縦に積む（display:flexはここ＝デスクトップ専用に限定） */
  .doctor__photo { display: flex; }
}
/* スマホ：顔写真→メッセージ→診療写真2枚の順に並べ替え（display:contentsで.doctor__photoを実質スルー） */
@media (max-width: 719px) {
  .doctor__inner { display: flex; flex-direction: column; gap: 28px; }
  .doctor__photo { display: contents; }
  .doctor__photo-circle { order: 1; }
  .doctor__body { order: 2; }
  .doctor__photo-grid { order: 3; margin: 0 auto; }
}
/* display:flex はデスクトップ専用ルール(min-width:720)へ移動。ここで再指定するとスマホの display:contents を上書きし順序崩れ（顔→写真→メッセージ）を招くため除外 */
.doctor__photo { flex-direction: column; align-items: center; gap: 22px; }
/* 実働写真：縦に斜めにずらして少し重ねるコラージュ */
.doctor__photo-grid {
  position: relative;
  width: 100%;
  max-width: 300px;
  height: 450px;
}
.doctor__photo-grid img {
  position: absolute;
  width: 64%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 14px;
  border: 4px solid #fff;
  box-shadow: 0 12px 28px -12px rgba(0,0,0,.4);
}
.doctor__photo-grid img:nth-child(1) { top: 0; left: 2%; transform: rotate(-4deg); z-index: 1; }
.doctor__photo-grid img:nth-child(2) { bottom: 0; right: 2%; transform: rotate(4deg); z-index: 2; }
@media (max-width: 719px) {
  .doctor__photo-grid { max-width: 340px; height: 500px; }
}
.doctor__photo-circle {
  width: 300px; height: 300px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-soft);
}
.doctor__photo-circle::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px dashed var(--green-soft);
  opacity: .4;
}
.doctor__photo-circle svg,
.doctor__photo-circle img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 60%;
  transform: scale(1.18);
}
.doctor__eyebrow {
  display: inline-block;
  font-family: var(--serif);
  font-size: 12px;
  color: var(--pink);
  letter-spacing: .2em;
  margin: 0 0 12px;
  position: relative;
  padding-left: 28px;
}
.doctor__eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 22px; height: 1px;
  background: var(--pink);
}
.doctor__title {
  font-family: var(--serif);
  font-size: clamp(20px, 5vw, 26px);
  color: var(--green);
  line-height: 1.65;
  margin: 0 0 18px;
  letter-spacing: .04em;
  font-weight: 500;
}
.doctor__body p {
  font-size: 13.5px;
  line-height: 2;
  color: var(--ink-soft);
  margin: 0 0 14px;
}
.doctor__sign {
  margin: 18px 0 0 !important;
  text-align: right;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--green);
  letter-spacing: .1em;
}
.doctor__sign span {
  font-size: 11px;
  color: var(--green-soft);
  margin-right: 8px;
  letter-spacing: .2em;
}

/* =========================================
   ACCESS
   ========================================= */
.access {
  padding: 72px 0 80px;
  background: var(--pink-bg);
  position: relative;
  overflow: hidden;
}
.access__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}
@media (min-width: 760px) { .access__grid { grid-template-columns: 1.05fr 1fr; gap: 32px; } }

.access__map-col { display: flex; flex-direction: column; gap: 16px; }
.access__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.access__exterior { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-md); border: 1px solid var(--rule); display: block; box-shadow: var(--shadow-soft); }
.access__map {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--ivory);
  aspect-ratio: 16/11;
  border: 1px solid var(--rule);
}
.access__map-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.access__map-inner {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, #F3EDD8 0%, #F8F4EA 100%);
}
.access__map-roads {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.access__map-pin {
  position: absolute;
  top: 50%; left: 58%;
  width: 28px; height: 28px;
  transform: translate(-50%, -100%);
}
.access__map-pin::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--pink);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 6px 14px -4px rgba(232,67,128,.5);
  animation: pin-bounce 2.2s ease-in-out infinite;
}
.access__map-pin span {
  position: absolute;
  inset: 8px;
  background: #fff;
  border-radius: 50%;
  transform: rotate(0deg);
}
@keyframes pin-bounce {
  0%, 100% { transform: rotate(-45deg) translateY(0); }
  50% { transform: rotate(-45deg) translateY(-6px); }
}
.access__map-lab {
  position: absolute;
  font-size: 11px;
  background: rgba(255,255,255,.86);
  padding: 4px 8px;
  border-radius: 4px;
  color: var(--green);
  font-weight: 600;
  border: 1px solid var(--rule);
}
.access__map-lab--1 { top: 18%; left: 18%; }
.access__map-lab--2 { bottom: 16%; right: 8%; color: var(--pink); border-color: var(--pink-soft); }

.access__body { display: flex; flex-direction: column; gap: 16px; }
.access__list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.access__list > div {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.access__list dt {
  font-family: var(--serif);
  font-size: 12px;
  color: var(--green);
  letter-spacing: .12em;
  padding-top: 2px;
}
.access__list dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.access__hours {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: center;
  background: #fff;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 1px solid var(--rule);
}
.access__hours th, .access__hours td {
  padding: 6px 4px;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
}
.access__hours thead th {
  background: var(--ivory);
  color: var(--green);
  font-weight: 600;
}
.access__hours tbody th {
  background: var(--ivory);
  color: var(--green);
  width: 36px;
}
.access__hours td:last-child, .access__hours th:last-child { border-right: none; }
.access__hours tbody tr:last-child td, .access__hours tbody tr:last-child th { border-bottom: none; }
.access__hours + small { display: block; margin-top: 8px; font-size: 10.5px; color: var(--green-soft); }

.access__tel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  transition: transform .15s;
}
.access__tel:hover { transform: translateY(-1px); }
.access__tel-ic {
  width: 44px; height: 44px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.access__tel-num {
  display: block;
  font-family: var(--en);
  font-size: 26px;
  color: var(--green);
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.1;
}
.access__tel-sub {
  display: block;
  font-size: 11px;
  color: var(--green-soft);
}

/* =========================================
   FAQ
   ========================================= */
.faq { padding: 72px 0 80px; background: var(--ivory); position: relative; overflow: hidden; }
.faq__list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow .2s;
}
.faq-item.is-open { box-shadow: var(--shadow-card); }
.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: none;
  border: none;
  text-align: left;
  color: var(--green);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  font-family: var(--serif);
  letter-spacing: .04em;
}
.faq-item__mark {
  flex: 0 0 auto;
  width: 28px; height: 28px;
  background: var(--pink);
  color: #fff;
  border-radius: 50%;
  font-family: var(--en);
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
}
.faq-item__mark--a { background: var(--green); }
.faq-item__qtxt { flex: 1; }
.faq-item__chev {
  width: 22px; height: 22px;
  position: relative;
  flex: 0 0 auto;
  transition: transform .3s ease;
}
.faq-item__chev::before, .faq-item__chev::after {
  content: '';
  position: absolute;
  background: var(--green);
  border-radius: 2px;
}
.faq-item__chev::before { left: 50%; top: 50%; width: 12px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-item__chev::after { left: 50%; top: 50%; width: 1.5px; height: 12px; transform: translate(-50%, -50%); transition: transform .3s; }
.faq-item.is-open .faq-item__chev::after { transform: translate(-50%, -50%) scaleY(0); }

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
  padding: 0 18px;
}
.faq-item__a p {
  margin: 0;
  padding: 0 0 18px 40px;
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink-soft);
}
.faq-item__a span.faq-item__mark--a {
  margin: 0 0 8px 0;
  display: none;
}
.faq-item.is-open .faq-item__a { max-height: 600px; }

/* =========================================
   FINAL CTA
   ========================================= */
.cta {
  padding: 80px 0 92px;
  background: var(--green);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(232,67,128,.18), transparent 35%),
    radial-gradient(circle at 85% 70%, rgba(238,228,195,.10), transparent 35%);
  pointer-events: none;
}
.cta__inner { text-align: center; position: relative; }
.cta__badge {
  margin: 0 auto 24px;
  background: #ffffff;
  border-radius: 999px;
  padding: 12px 28px;
  display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  box-shadow: 0 12px 30px -12px rgba(15, 159, 128, .55);
}
.cta__badge img { width: 110px; height: 110px; object-fit: contain; flex: 0 0 auto; }
.cta__badge-x { font-size: 26px; color: var(--mama-teal); font-weight: 300; line-height: 1; flex: 0 0 auto; }
.cta__title {
  font-family: var(--serif);
  font-size: clamp(22px, 6vw, 32px);
  font-weight: 500;
  line-height: 1.55;
  margin: 0 0 12px;
  letter-spacing: .04em;
}
.cta__title em {
  font-style: normal;
  color: var(--pink-soft);
}
.cta__lead {
  font-size: 14px;
  color: rgba(248, 244, 234, .8);
  margin: 0 0 28px;
}
.cta__btns {
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cta__tel {
  margin: 24px auto 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r-full);
  padding: 12px 22px 12px 14px;
  color: #fff;
}
.cta__tel-ic {
  width: 36px; height: 36px;
  background: var(--pink);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.cta__tel-num {
  display: block;
  font-family: var(--en);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.1;
}
.cta__tel-sub {
  display: block;
  font-size: 10px;
  color: rgba(248, 244, 234, .7);
  margin-top: 2px;
}

/* =========================================
   FOOTER
   ========================================= */
.site-foot {
  background: var(--green-dark);
  color: var(--ivory);
  padding: 36px 0 24px;
  font-size: 12.5px;
}
.site-foot__inner { display: flex; flex-direction: column; gap: 18px; align-items: center; text-align: center; }
.site-foot__brand { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.site-foot__brand img { width: 56px; height: 56px; object-fit: contain; opacity: .9; }
.site-foot__name {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: .08em;
  margin: 0;
  line-height: 1.6;
}
.site-foot__meta {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 4px;
  color: rgba(248,244,234,.7);
  font-size: 12px;
}
.site-foot__copy {
  font-family: var(--en);
  letter-spacing: .12em;
  font-size: 11px;
  color: rgba(248,244,234,.5);
  margin: 8px 0 0;
}
.site-foot__copy em { font-style: normal; color: var(--pink-soft); }

/* =========================================
   BOTTOM CTA (mobile)
   ========================================= */
/* ===== Scroll to top button ===== */
.scroll-top {
  position: fixed; right: 22px; bottom: 26px; z-index: 45;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--green); color: #fff; border: none;
  box-shadow: 0 8px 24px -8px rgba(0,0,0,.4);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; padding: 0;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s, background .2s;
}
.scroll-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: #25806B; }
@media (max-width: 767px) { .scroll-top { right: 14px; bottom: 84px; width: 46px; height: 46px; } }

.bottom-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: transparent;
  padding: 0;
  transform: translateY(100%);
  transition: transform .35s ease;
}
.bottom-cta.is-visible { transform: translateY(0); }
.bottom-cta__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 6px 9px;
  font-size: 11px;
  color: #fff;
  font-weight: 600;
  line-height: 1.2;
}
/* 透過アイコンを色地ボタンに直置き（白チップ撤去・2026-05-30） */
.bottom-cta__btn span:first-child {
  display: inline-flex; align-items: center; justify-content: center;
  line-height: 0;
}
/* 背景色：電話=LP緑／LINE=LINEブランド緑／アクセス=LP薄ピンク（GM指定） */
.bottom-cta__btn--tel { background: var(--green); }
.bottom-cta__btn--line { background: #06C755; }
.bottom-cta__btn--map { background: var(--pink-soft, #F9DDE8); color: var(--pink); }
.bottom-cta__btn--web { background: #fff; color: var(--pink); box-shadow: inset 0 0 0 1px var(--pink-line, #F9CFD8); }

@media (min-width: 980px) {
  .bottom-cta { display: none; }
  body { padding-bottom: 0; }
}

/* =========================================
   REVEAL ANIMATIONS
   ========================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1);
}
[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  /* ヒーローのスライドショーはフェードのみ(視差なし)なのでフル速度で継続再生 */
  .hero__media-img { animation-duration: 48s !important; }
}

/* =========================================
   TWEAKS PALETTES (data-palette switch)
   ========================================= */
:root[data-palette="green"] {} /* default */

:root[data-palette="pink"] {
  --cream: #FBE9EF;
  --ivory: #FFF5F8;
  --ivory-2: #FFFAFC;
  --green: #D55F8E;
  --green-dark: #B33E73;
  --green-soft: #B98497;
  --pink: #E84380;
  --pink-soft: #FCD3DD;
  --pink-bg: #FFF1F6;
  --ink: #4A2A36;
  --ink-soft: #785765;
  --line: #F3D7E0;
  --rule: #F3D7E0;
}

:root[data-palette="warm"] {
  --cream: #F2E0CE;
  --ivory: #FAF1E5;
  --ivory-2: #FCF5EC;
  --green: #8C5A3A;
  --green-dark: #6E4429;
  --green-soft: #A98A6A;
  --pink: #D9637A;
  --pink-soft: #F4D0CD;
  --pink-bg: #FBEEE8;
  --ink: #3B2A1F;
  --ink-soft: #6E5B4A;
  --line: #E5D3BD;
  --rule: #E5D3BD;
}

/* Hero composition variants */
.hero[data-comp="copy"] .hero__media { display: none; }

.hero[data-comp="illust"] .hero__media-img { display: none; }
.hero[data-comp="illust"] .hero__media-fade { display: none; }
.hero[data-comp="illust"] .hero__media {
  background: linear-gradient(180deg, #FBF7EC 0%, #FAF1E0 100%);
}
.hero[data-comp="illust"] .hero__media::before {
  content: '';
  position: absolute;
  width: clamp(180px, 36vw, 280px);
  aspect-ratio: 1;
  right: 8%; top: 50%; transform: translateY(-50%);
  background:
    radial-gradient(circle at 30% 50%, var(--pink-soft) 0 28%, transparent 30%),
    radial-gradient(circle at 70% 50%, var(--cream) 0 26%, transparent 28%),
    radial-gradient(circle at 50% 30%, rgba(47,155,130,.18) 0 20%, transparent 22%);
  border-radius: 50%;
}

/* Affiliate variants */
.mama[data-layout="cards"] .mama__hero { display: none; }
.mama[data-layout="cards"] .mama__seal { margin-top: 24px; }
.mama[data-layout="stamp"] .mama__points { display: none; }
.mama[data-layout="stamp"] .mama__hero { margin-bottom: 24px; }

/* =========================================
   TWEAKS PANEL
   ========================================= */
#tweaksPanel {
  position: fixed;
  right: 18px;
  bottom: 100px;
  width: 280px;
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.3);
  border: 1px solid var(--rule);
  padding: 18px;
  z-index: 60;
  font-size: 13px;
  display: none;
  color: var(--green);
}
@media (min-width: 980px) {
  #tweaksPanel { bottom: 24px; }
}
#tweaksPanel.is-open { display: block; }
#tweaksPanel header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
}
#tweaksPanel h3 { font-family: var(--serif); font-size: 14px; margin: 0; letter-spacing: .1em; }
#tweaksPanel .tw-close {
  width: 24px; height: 24px;
  border-radius: 50%; border: none;
  background: var(--ivory); color: var(--green);
  font-size: 16px; line-height: 1;
}
#tweaksPanel .tw-group { margin-bottom: 14px; }
#tweaksPanel .tw-label {
  display: block;
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--green-soft);
  margin-bottom: 6px;
  text-transform: uppercase;
  font-family: var(--en);
  font-weight: 600;
}
#tweaksPanel .tw-options {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
}
#tweaksPanel .tw-options button {
  border: 1px solid var(--rule);
  background: var(--ivory);
  padding: 8px 6px;
  border-radius: 8px;
  font-size: 11px;
  color: var(--green);
  transition: all .15s;
  font-family: var(--sans);
}
#tweaksPanel .tw-options button.is-active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
#tweaksPanel .tw-swatch {
  display: flex; gap: 4px; justify-content: center;
  margin-bottom: 4px;
}
#tweaksPanel .tw-swatch span {
  width: 12px; height: 12px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,.06);
}

/* ============ ICON IMG ADAPTATION (image2_セット36個) ============ */
/* SVGインライン前提だったコンテナにimgを入れたので、サイズ統一 */
.concern-card__ic img,
.reason__ic img,
.ortho__merits-ic img,
.hero__chips-ic img,
.equipment__ph img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.cta-btn__ic img {
  width: 1.4em;
  height: 1.4em;
  object-fit: contain;
  display: block;
}
.bottom-cta__btn > span:first-child img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}
/* equipment__ph はeq-ph-1〜6の背景を消してimgベースに */
.equipment__ph {
  background: var(--paper-warm, #F5F0E8) !important;
  padding: 12px;
  box-sizing: border-box;
}
/* 実写真タイル（口腔内スキャナー等）：余白・装飾を消して枠いっぱいに */
.equipment__ph--photo {
  padding: 0;
}
.equipment__ph--photo::before { display: none; }
.equipment__ph--photo img {
  object-fit: cover;
}

/* ===== DEBUT / 歯が生えたら歯医者さんデビュー ===== */
.debut { position: relative; padding: clamp(56px,8vw,96px) 0; background: #fff; overflow: hidden; }
.debut__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px,5vw,60px); align-items: center; position: relative; z-index: 1; }
.debut__inner + .debut__inner { margin-top: clamp(36px,6vw,68px); }
.debut__inner--reverse { grid-template-columns: .95fr 1.05fr; }
.debut__eyebrow { font-family: var(--en); letter-spacing: .14em; color: var(--green); font-size: 13px; }
.debut__title { font-family: var(--serif); font-size: clamp(26px,3.6vw,40px); line-height: 1.4; color: var(--ink); margin: 8px 0 14px; }
.debut__title em { font-style: normal; color: var(--pink); }
.debut__sub { font-weight: 600; color: var(--pink); font-size: clamp(15px,1.6vw,18px); margin: 0 0 18px; }
.debut__lead { color: var(--ink-2); line-height: 1.95; margin: 0 0 14px; font-size: 15px; }
.debut__lead strong { color: var(--green); font-weight: 700; }
.debut__subhead { font-family: var(--serif); font-size: clamp(16px,1.8vw,19px); color: var(--green); font-weight: 700; line-height: 1.5; margin: 22px 0 10px; }
.debut__points { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.debut__points li { background: #fff; border: 1px solid var(--pink-line, #F9CFD8); color: var(--green); font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px; }
.debut__photo { display: flex; justify-content: center; }
.debut__photo-circle { width: clamp(220px,28vw,320px); aspect-ratio: 1/1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 10px #fff, 0 18px 40px -16px rgba(63,72,67,.3); }
.debut__photo-circle img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; transform: scale(1.2); display: block; }
.doodles--debut .doodle--blob-1 { width: 200px; top: -40px; left: -50px; }
.doodles--debut .doodle--sparkle-1 { width: 40px; top: 30px; right: 8%; }
.doodles--debut .doodle--dots { width: 80px; bottom: 24px; left: 4%; }
@media (max-width: 768px) {
  .debut__inner { grid-template-columns: 1fr; }
  .debut__photo { order: -1; }
}

/* ===== MATERNITY / マイナス1歳から ===== */
.maternity { position: relative; padding: clamp(56px,8vw,96px) 0; background: linear-gradient(160deg, #FCE7EC 0%, #FFFFFF 50%, #EEE4C3 100%); overflow: hidden; }
.maternity__inner { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; }
.maternity__sub { text-align: center; font-size: clamp(15px,1.8vw,18px); line-height: 1.8; color: var(--ink); margin: 4px 0 28px; }
.maternity__sub strong { color: var(--pink); }
.maternity__card { background: #fff; border-radius: var(--r-lg,20px); padding: clamp(32px,4.5vw,52px); box-shadow: var(--shadow-soft); }
.maternity__card p { color: var(--ink-2); line-height: 2; margin: 0 0 16px; font-size: 15px; }
.maternity__card p:last-child { margin-bottom: 0; }
.maternity__card strong { color: var(--green); font-weight: 700; }
/* テキスト左／写真右の2カラムカード */
.maternity__card--split { display: flex; align-items: center; gap: clamp(32px, 4vw, 56px); }
.maternity__card--split + .maternity__card--split { margin-top: 20px; }
.maternity__card-text { flex: 1 1 auto; min-width: 0; }
.maternity__card-photo { flex: 0 0 38%; width: 38%; align-self: center; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 15%; border-radius: 16px; box-shadow: var(--shadow-soft); }
/* 横長の集合写真用：縦伸ばしをやめて横長サムネで全員が収まるように */
.maternity__card-photo--wide { align-self: center; min-height: 0; height: auto; aspect-ratio: 16 / 10; object-position: center; }
.maternity__card-title { font-family: var(--serif); font-size: clamp(17px,2vw,21px); color: var(--green); font-weight: 700; margin: 0 0 14px; }
@media (max-width: 640px) {
  .maternity__card--split { flex-direction: column; align-items: stretch; }
  .maternity__card-photo { width: 100%; flex-basis: auto; max-height: 240px; }
}
.maternity__points { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.maternity__points li { background: #fff; border: 1px solid var(--pink-line,#F9CFD8); color: var(--pink); font-weight: 600; font-size: 13px; padding: 8px 14px; border-radius: 999px; }
.maternity__note { text-align: center; font-size: 13px; line-height: 1.7; color: var(--ink-2); margin: 22px auto 0; max-width: 620px; }
.maternity__note + .maternity__card--split { margin-top: 48px; }
.maternity__note strong { color: var(--green); }
.doodles--maternity .doodle--blob-1 { width: 200px; top: -30px; right: -40px; }
.doodles--maternity .doodle--sparkle-1 { width: 38px; bottom: 40px; left: 6%; }
.maternity__timing { margin-top: 26px; }
.maternity__timing-title { text-align: center; font-family: var(--serif); font-size: clamp(17px,2vw,20px); color: var(--ink); margin: 0 0 18px; }
.maternity__steps-flow { display: flex; align-items: stretch; gap: 16px; }
.maternity__steps-arrow { flex: 0 0 auto; width: clamp(48px, 6%, 64px); align-self: stretch; height: auto; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow-soft); }
.maternity__steps { flex: 1 1 auto; min-width: 0; list-style: none; padding: 0; margin: 0; display: grid; grid-auto-rows: 1fr; gap: 12px; counter-reset: mstep; }
.maternity__steps li { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: var(--r-md, 14px); padding: 16px 20px; box-shadow: var(--shadow-soft); }
.maternity__steps-tag { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 50%; background: var(--pink-soft, #FFF1F4); border: 1.5px solid var(--pink-line, #F9CFD8); color: var(--pink); font-weight: 700; font-size: 12.5px; display: flex; align-items: center; justify-content: center; letter-spacing: 0; white-space: nowrap; }
.maternity__steps-body h4 { margin: 2px 0 5px; font-size: 15px; color: var(--green); font-weight: 700; }
.maternity__steps-body h4 small { font-size: 11px; background: var(--green); color: #fff; padding: 2px 9px; border-radius: 999px; margin-left: 8px; font-weight: 600; vertical-align: middle; }
.maternity__steps-body p { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.85; }
@media (max-width: 560px) {
  .maternity__steps li { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ===== TOGETHER / お母さんと一緒に通うだけでもOK ===== */
.together { position: relative; padding: clamp(56px,8vw,96px) 0; background: var(--cream, #FBF7F0); overflow: hidden; }
.together__inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px,5vw,60px); align-items: center; position: relative; z-index: 1; }
.together__eyebrow { font-family: var(--en); letter-spacing: .14em; color: var(--green); font-size: 13px; }
.together__title { font-family: var(--serif); font-size: clamp(26px,3.6vw,40px); line-height: 1.4; color: var(--ink); margin: 8px 0 16px; }
.together__title em { font-style: normal; color: var(--pink); }
.together__lead { color: var(--ink-2); line-height: 1.95; margin: 0 0 14px; font-size: 15px; }
.together__photo { display: flex; justify-content: center; }
.together__photo-circle { width: clamp(220px,30vw,340px); aspect-ratio: 1/1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 10px #fff, 0 18px 40px -16px rgba(63,72,67,.3); }
.together__photo-circle img { width: 100%; height: 100%; object-fit: cover; display: block; }
.doodles--together .doodle--blob-1 { width: 200px; bottom: -30px; right: -40px; }
.doodles--together .doodle--sparkle-1 { width: 38px; top: 40px; left: 6%; }
@media (max-width: 768px) {
  .together__inner { grid-template-columns: 1fr; }
  .together__photo { order: -1; }
}



/* スマホ閲覧時の表示崩れ注意ピル（ヒーロー最上部） */
.hero__device-notice { display: block; margin: 8px clamp(16px, 4vw, 40px) 0 auto; padding: 7px 14px; background: rgba(255,255,255,.85); color: var(--ink-2, #555); font-size: 11px; line-height: 1.5; letter-spacing: .04em; border-radius: 14px; max-width: 360px; width: fit-content; text-align: right; box-shadow: 0 2px 8px rgba(0,0,0,.08); }

/* =================================================================
   SP最適化（GM「PC版凍結」指示・本ブロック内のみ追記禁則）
   ================================================================= */
@media (max-width: 720px) {
  /* お悩みカード：2列×3行・全体縮小 */
  .concern__grid { gap: 10px; }
  .concern-card {
    padding: 50px 10px 10px 42%;
    min-height: 120px;
    border-width: 1.5px;
  }
  .concern-card__ic {
    width: 38px; height: 38px;
    top: 8px; right: 8px;
  }
  .concern-card__body p {
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 0;
  }
  .concern-card__photo {
    width: 42%;
    height: 120px;
  }
  .concern-card__photo img {
    transform: scale(0.72);
  }
  /* ヒーロー写真をど真ん中に（SPのみ）— GM指示 */
  .hero__media-img { object-position: 50% 50% !important; }
  /* 加盟院ロゴ（円）SPでさらに縮小 — GM指示「もっと小さく」 */
  .hero__media-badge-ring { width: 48px !important; height: 48px !important; }
  .hero__media-badge-tag { font-size: 8px !important; }
  /* 円ロゴを48pxに縮小したのに合わせ、ブランド名をその真下へ再配置（topは元の160-240px基準のままで取り残されていた） */
  .hero__media-badge-jp {
    font-size: 9px !important;
    top: calc(clamp(12px, 2.4vw, 24px) + 48px + 6px) !important;
    left: clamp(12px, 3vw, 32px) !important;
  }
  /* 小児矯正メリット：SPで文字・余白縮小 */
  .ortho__merits { padding: 14px; gap: 10px 10px; margin-top: 18px; }
  .ortho__merits li { font-size: 13px; padding: 6px 4px; line-height: 1.45; gap: 6px; }
  .ortho__merits-ic { width: 46px !important; height: 46px !important; }
  /* 定期検診カード：SPで写真を上・文字を下に積む（GM指示／PC無影響） */
  .growth__note--photo { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
  .growth__note--photo .growth__note-photo { width: 100%; max-width: 300px; }
}

/* ===== SP(スマホ): trust-badge 3バッジを画面内に並べる ===== */
@media (max-width: 768px) {
  /* 2カラム → 1カラム化（PC無影響） */
  .trust-badge__split { grid-template-columns: 1fr; gap: 24px; margin-top: 0; }
  .trust-badge__split-photo {
    /* 右paddingを相殺して画面右端までブリード（右角直角の設計を活かす） */
    margin-right: -40px; width: calc(100% + 40px); max-width: none;
    margin-bottom: 28px; /* PC設計の120pxを詰めて下の集合写真に近づける */
    transform: none; opacity: 1;
  }
  .trust-badge__about { margin-top: 28px; } /* PC設計の140pxを詰める */
  .trust-badge__photo-sub { display: none; } /* 重ね写真は省略 */
  .trust-badge__split-text { align-self: auto; margin-top: 0; text-align: center; }
  .trust-badge__split-text .trust-badge__en,
  .trust-badge__split-text .trust-badge__title,
  .trust-badge__split-text .trust-badge__lead { text-align: center; }
  .trust-badge__split-text .trust-badge__logo { margin: 0 auto 14px; max-width: 280px; }
  /* SP：円形を横3列で維持（GM希望）。画面幅いっぱいに使い、gap・padding・文字を詰めて円内に長文を収める。PCの3列円形は無傷 */
  .trust-badge__split-text .trust-badge__criteria {
    grid-template-columns: repeat(3, 1fr);
    max-width: 100%;
    margin: 0 auto;
    gap: 8px;
  }
  .trust-badge__split-text .trust-badge__criterion {
    padding: 8px 4px;
    gap: 3px;
    box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--mama-teal-soft), var(--shadow-card);
  }
  .trust-badge__split-text .trust-badge__criterion-num { font-size: 13px; }
  .trust-badge__split-text .trust-badge__criterion-text { font-size: 9px; line-height: 1.35; }
  .trust-badge__split-text .trust-badge__cta-wrap { margin-top: 22px; justify-content: center; }
}

/* SP専用ヘルパー：スマホでのみ改行する <br class="br-sp" /> */
.br-sp { display: none; }
@media (max-width: 768px) {
  .br-sp { display: inline; }
}

/* ============ 理事長あいさつ バナー（院長セクション直下・PC/スマホ共通） ============ */
/* 直上 .doctor は padding:80px 0。負マージンで詰めて「院長あいさつに連結」させる */
.riji-banner {
  background: #fff;
  padding: 8px 0 72px;
}
.riji-banner__link {
  display: block;
  max-width: 560px;      /* GM「気持ち小さく細長めで」→720→560に縮小。3:1の細長ストリップ。スマホ(<560)は幅いっぱい */
  margin: 0 auto;
  border-radius: 16px;
}
/* 院長セクション内に同居させる版：上に余白を取り本文と分離（独立section用のbg/paddingは使わない） */
.riji-banner__link--inset {
  margin: 36px auto 0;
}
.riji-banner__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease;
}
.riji-banner__link:hover .riji-banner__img {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -10px rgba(63,72,67,.4);
}
@media (max-width: 720px) {
  .riji-banner { padding: 4px 0 44px; }
  .riji-banner__img { border-radius: 12px; }
}
