@charset "utf-8";
/* ============================================================
   이왕치과 리뉴얼 스타일 (PC·모바일 반응형 공용)
   - 기존 디자인 틀 유지: 흰 헤더/메뉴, 청록 포인트(#3eadbe), 금색 호버(#ab8f68),
     세리프 제목, 어두운 패널 + 밝은 패널 교차
   ============================================================ */
:root {
  --teal: #3eadbe;
  --teal-dark: #2d8f9e;
  --teal-bg: #4ab6c3;
  --gold: #ab8f68;
  --ink: #222;
  --ink-2: #444;
  --muted: #777;
  --line: #e6e6e6;
  --paper: #fff;
  --paper-2: #f4f5f5;
  --dark: #2b2d2f;
  --dark-2: #1e2022;
  --navy: #1f2a44;
  --serif: "Noto Serif KR", "Nanum Myeongjo", "Apple SD Gothic Neo", serif;
  --sans: "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  --container: 1200px;
  --nav-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--paper);
  letter-spacing: -0.01em;
  word-break: keep-all;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.3; color: var(--ink); }
p { margin: 0; }
button { font: inherit; cursor: pointer; }
.sound_only, .sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.container { width: min(var(--container), 100% - 32px); margin: 0 auto; }
.container--wide { width: min(1400px, 100% - 32px); margin: 0 auto; }

/* 섹션 공통 */
section[id], div[id="part_map"] { scroll-margin-top: calc(var(--nav-h) + 8px); }
.section { padding: 80px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--serif); font-size: 14px; letter-spacing: .12em;
  color: #666; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 48px; height: 2px; background: var(--teal); }
.section-title {
  font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3.4vw, 42px);
  margin-top: 14px; letter-spacing: -0.02em;
}
.on-dark { color: #fff; }
.on-dark .eyebrow { color: #cfd3d6; }
.on-dark .section-title, .on-dark h3, .on-dark h4 { color: #fff; }
.lead { font-size: 17px; color: #555; margin-top: 16px; max-width: 760px; }
.on-dark .lead { color: #c9ccd0; }

/* ------------------------------------------------------------
   헤더 / 메뉴
   ------------------------------------------------------------ */
#header-wrap { background: #fff; }
.header-inner {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 108px;
}
.logo { margin: 0; line-height: 0; }
.logo img { width: 300px; height: auto; }
.header-tel {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--serif); font-size: 20px; color: var(--ink);
}
.header-tel small { font-family: var(--sans); font-size: 13px; color: var(--muted); }

.jbMenu {
  position: sticky; top: 0; z-index: 1000;
  background: #fff; border-top: 1px solid #f0f0f0; border-bottom: 1px solid #ececec;
}
.jbMenu.is-stuck { box-shadow: 0 1px 3px rgba(181,181,181,.47); }
.jbMenu > ul {
  display: flex; justify-content: center; gap: clamp(18px, 4vw, 64px);
  width: min(1300px, 100% - 32px); margin: 0 auto;
}
.jbMenu > ul > li > a {
  display: block; line-height: var(--nav-h); padding: 0 4px;
  font-size: 18px; font-weight: 500; color: #4d4d4d; letter-spacing: -0.03em;
  border-bottom: 3px solid transparent; transition: color .25s, border-color .25s;
}
.jbMenu > ul > li > a:hover, .jbMenu > ul > li > a.is-active { color: var(--gold); border-bottom-color: var(--gold); }
.jbMenu > ul > li > a.menu-price { color: var(--teal-dark); }

/* 모바일 드로어 메뉴 */
#gnb_open {
  display: none; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border: 0; background: transparent; color: #555; font-size: 22px;
}
#gnb {
  position: fixed; inset: 0 0 0 auto; width: min(300px, 84vw); z-index: 2000;
  background: rgba(62,173,190,.96); color: #fff; padding: 16px 0 32px;
  transform: translateX(100%); transition: transform .3s ease; overflow-y: auto;
  box-shadow: -4px 0 20px rgba(0,0,0,.2);
}
#gnb.is-open { transform: none; }
#gnb_close {
  display: block; margin: 0 0 8px auto; border: 0; background: transparent; color: #fff;
  font-size: 15px; padding: 10px 20px;
}
#gnb_1dul .gnb_1da {
  display: block; padding: 13px 24px; font-size: 17px; color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
#gnb_1dul .sns2 { padding: 6px 20px; }
#gnb_1dul .sns2 a {
  display: block; text-align: center; font-size: 13px; color: #fff;
  border: 1px solid rgba(255,255,255,.8); border-radius: 6px; padding: 6px 0;
}
#gnb_1dul .sns2:first-of-type { margin-top: 14px; }
.gnb-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 1900;
  opacity: 0; visibility: hidden; transition: opacity .3s;
}
.gnb-backdrop.is-open { opacity: 1; visibility: visible; }

/* ------------------------------------------------------------
   히어로 슬라이드
   ------------------------------------------------------------ */
#hero .swiper-container { width: 100%; background: #2a2a2a; }
#hero .swiper-slide img { width: 100%; height: auto; }
/* 2026-10 수정: 배경은 원래 사진(글자만 지움), 문구는 실제 텍스트를 같은 자리에 올림.
   사진 비율(PC 1920x820, 모바일 720x900)을 고정하고 위치·크기를 vw·% 로 잡아 사진과 함께 커진다. */
#hero .hero-slide { position: relative; overflow: hidden; aspect-ratio: 1920 / 820; background: #2a2a2a; }
#hero .hero-slide picture, #hero .hero-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
#hero .hero-values::before { content: ""; position: absolute; inset: 0; background: rgba(30, 32, 34, .6); }
#hero .hero-text { position: absolute; z-index: 2; left: 0; right: 0; top: 27%; text-align: center; }
.hero-eyebrow {
  display: inline-block; border: 1px solid #c9a96a; color: #d9b97a; background: rgba(0,0,0,.08);
  font-size: clamp(11px, .85vw, 17px); letter-spacing: .2em; padding: .85em 1.5em; line-height: 1;
}
#hero .hero-title {
  font-family: var(--serif); font-weight: 500; color: #fff; letter-spacing: .02em; line-height: 1.25;
  font-size: clamp(26px, 3.5vw, 70px); margin-top: .75em; text-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.hero-sub { margin-top: 1.1em; font-size: clamp(13px, 1.3vw, 26px); color: #f1f1f1; line-height: 1.5; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.hero-sub strong { display: block; font-size: 1.22em; font-weight: 700; color: #fff; margin-bottom: .25em; }
#hero .hero-implant .hero-text { top: 35.5%; left: 17.7%; right: auto; text-align: left; }
#hero .hero-implant .hero-title { margin-top: 0; font-size: clamp(28px, 3.9vw, 78px); line-height: 1.2; }
#hero .hero-values .hero-text { top: 31%; }
.hero-values-list { display: flex; justify-content: center; margin-top: 1em; }
.hero-values-list li {
  font-family: var(--serif); color: #fff; font-size: clamp(26px, 3.6vw, 70px); letter-spacing: .12em;
  padding: 0 .55em; line-height: 1.2; text-shadow: 0 2px 12px rgba(0,0,0,.45);
}
.hero-values-list li + li { border-left: 1px solid rgba(255,255,255,.5); }
#hero .swiper-pagination { bottom: 18px; z-index: 3; }
#hero .swiper-pagination-bullet { width: 12px; height: 12px; margin: 0 7px; background: #000; opacity: .25; }
#hero .swiper-pagination-bullet-active { background: #fff; opacity: 1; }

/* 핵심 정보 바 (실제 텍스트) */
.quick-info { background: var(--dark); color: #e9ecef; }
.quick-info ul {
  display: grid; grid-template-columns: repeat(4, 1fr); align-items: center;
}
.quick-info li {
  display: flex; align-items: center; gap: 12px; padding: 18px 20px;
  border-left: 1px solid rgba(255,255,255,.08); font-size: 15px; line-height: 1.45;
}
.quick-info li:first-child { border-left: 0; }
.quick-info strong { display: block; font-size: 12px; font-weight: 500; color: var(--teal); letter-spacing: .06em; }
.quick-info svg { width: 26px; height: 26px; flex: 0 0 26px; stroke: var(--teal); fill: none; stroke-width: 1.6; }
.quick-info .btn-book {
  display: inline-block; margin-left: auto; padding: 10px 18px; border-radius: 999px;
  background: var(--teal); color: #fff; font-weight: 500; white-space: nowrap; transition: background .25s;
}
.quick-info .btn-book:hover { background: var(--teal-dark); }

/* ------------------------------------------------------------
   소개 영상 (클릭 시 로드)
   ------------------------------------------------------------ */
#movieEwang { padding: 70px 0 20px; }
.video-facade {
  position: relative; width: min(1100px, 100%); margin: 0 auto; aspect-ratio: 16 / 9;
  background: #000 center / cover no-repeat; border-radius: 6px; overflow: hidden;
  cursor: pointer; box-shadow: 0 10px 40px rgba(0,0,0,.18);
}
.video-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.video-facade .play {
  position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%;
  border: 0; background: rgba(62,173,190,.92); color: #fff; display: grid; place-items: center;
  transition: transform .2s, background .2s;
}
.video-facade:hover .play { transform: scale(1.06); background: var(--teal); }
.video-facade .play svg { width: 34px; height: 34px; fill: #fff; margin-left: 4px; }
.video-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-facade.is-playing { cursor: default; }
.video-facade.is-playing .play, .video-facade.is-playing > img { display: none; }
.video-caption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 14px; }

/* ------------------------------------------------------------
   #part01 이왕이면 이왕치과 (인사말 + 원장 소개)
   ------------------------------------------------------------ */
#part01 { padding-top: 60px; }
.greeting {
  background: linear-gradient(135deg, #f7f7f7 0%, #ebebeb 100%);
  border-top: 1px solid #ddd; border-bottom: 1px solid #ddd;
}
.greeting-inner {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center;
  padding: 90px 0;
}
.greeting h2 { font-family: var(--serif); font-size: 24px; font-weight: 500; margin-bottom: 26px; }
.greeting p { color: #555; margin-bottom: 18px; font-size: 16.5px; }
.greeting .sign { font-family: var(--serif); color: #333; margin-top: 10px; }
.greeting .sign strong { font-weight: 500; }
.greeting .sign-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; font-family: var(--serif); color: #333; }
.greeting .sign-row strong { font-weight: 500; }
.greeting .sign-img { width: 170px; height: auto; display: inline-block; }
.greeting-brand {
  font-family: var(--serif); font-size: clamp(30px, 4.2vw, 54px); letter-spacing: .04em;
  color: #9a8463; text-align: center; line-height: 1.2;
  text-shadow: 0 1px 0 #fff;
}
.greeting-brand small { display: block; font-size: 15px; letter-spacing: .3em; color: #b5a48a; margin-top: 14px; }

.doctor { background: var(--dark); color: #fff; padding: 80px 0; }
.doctor-inner { display: grid; grid-template-columns: 420px 1fr; gap: 56px; align-items: start; }
.doctor-photo { border-radius: 4px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.doctor-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.badge-moh {
  flex: 0 0 auto; display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  width: 116px; height: 116px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe9a8, #d9a940 60%, #a87b1e);
  color: #5a3f06; font-family: var(--serif); font-size: 13px; line-height: 1.3; text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.35), inset 0 0 0 4px rgba(255,255,255,.35);
}
.doctor-name { margin-top: 36px; display: flex; align-items: baseline; gap: 14px; }
.doctor-name .plus { color: var(--teal); font-size: 34px; font-weight: 300; line-height: 1; }
.doctor-name h3 { font-family: var(--serif); font-size: clamp(32px, 4vw, 48px); font-weight: 500; letter-spacing: .14em; color: #fff; }
.doctor-name span { font-size: 15px; color: #bbb; }
.doctor-titles { margin-top: 14px; color: var(--teal); line-height: 1.35; }
.doctor-titles strong { display: block; font-size: clamp(24px, 2.3vw, 32px); font-weight: 700; letter-spacing: -.01em; }
.cred-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; margin-top: 34px; }
.cred-grid h4 { font-size: 13px; letter-spacing: .1em; color: #9aa0a6; font-weight: 500; margin-bottom: 10px; }
.cred-grid li { position: relative; padding-left: 12px; font-size: 14px; color: #d8dbde; line-height: 1.55; margin-bottom: 7px; }
.cred-grid li::before { content: "·"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.cred-grid li.strong { color: #fff; font-weight: 500; }

/* ------------------------------------------------------------
   #part02 고객을 위하여
   ------------------------------------------------------------ */
.part02-head {
  background: #3a3d40 url(../img/renew/hygienist.jpg) center / cover no-repeat;
  position: relative; padding: 110px 0;
}
.part02-head::before { content: ""; position: absolute; inset: 0; background: rgba(40,42,45,.86); }
.part02-head .container { position: relative; }
.num { font-family: var(--serif); color: var(--teal); font-size: 15px; letter-spacing: .1em; }
.feature-title { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; margin-top: 10px; letter-spacing: -0.03em; }
.feature-title.serif { font-family: var(--serif); font-weight: 500; }
.implant .feature-title, .hygienist .feature-title { color: #fff; } /* 어두운 바탕 위 제목이 검게 나오던 것 바로잡음 */

/* 01 임플란트 */
.implant { position: relative; isolation: isolate; background: var(--dark); color: #fff; }
/* 이미지 위의 배경 레이어 하나만 사용합니다. 텍스트·배지에는 opacity를 적용하지 않습니다. */
.implant::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  background: linear-gradient(to right, rgba(30,32,34,.86) 0 50%, transparent 50% 100%);
}
.implant-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.implant-text { position: relative; z-index: 2; padding: 80px 7% 80px 0; }
.implant-text .lead { color: #c9ccd0; }
/* 01 임플란트 안내 문단: AS 혜택 두 문구만 형광펜처럼 강조 (굵게 + 흰색 글자 + 민트 배경)
   - 좌우 8px / 상하 3px 만 주는 인라인 강조. 카드·버튼처럼 키우지 않음
   - 모서리는 각지게(border-radius 0), 테두리·그림자·그라데이션 없음
   - 문구가 줄바꿈되면 각 줄에 배경이 따로 붙도록 box-decoration-break: clone
   - 다른 .lead 문단에는 영향이 없도록 .implant-text 로 범위를 한정 */
.implant-text .lead .as-hl {
  /* inline-block: padding 이 줄 높이에 반영되어, 좁은 화면에서 두 강조가 이웃 줄에
     놓여도 위아래로 겹치지 않습니다. 문구도 한 덩어리로 유지됩니다. */
  display: inline-block;
  vertical-align: baseline;
  font-weight: 700;
  color: #ffffff;
  background-color: #2b8276;
  padding: 3px 8px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background-image: none;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  /* 모바일에서 문구가 두 줄로 쪼개지지 않도록 한 덩어리 유지 (넘칠 때는 통째로 다음 줄로 이동) */
  white-space: nowrap;
}
.implant-figure { position: absolute; inset: 0; z-index: 0; min-height: 420px; }
.implant-figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
/* ---- 기본제공 제목 + 구성도 + 혜택: 세 묶음이 모두 같은 중심선에 놓이도록
   .implant-text(=좌측 텍스트 컬럼) 안에서 가운데 정렬을 공통으로 사용합니다. ---- */
.implant-text .basic-label { margin-top: 42px; font-size: 17px; text-align: center; }
.implant-text .basic-label b { color: var(--teal); font-size: 22px; margin-left: 6px; }

/* 기본제공 구성: 청록 원 3개(브랜드 통합 / 맞춤기둥 / 치아색 보철) → 큰 + → 부가 서비스 3+2
   - 세 원은 같은 지름·같은 높이. 원 아래에 짧은 세로선 + 항목명.
   - 원 뒤로는 '하나로 이어진' 은은한 청회색 반투명 직사각형을 깝니다.
     · 높이 = 원 지름 전체 (윗변 = 원의 맨 위, 아랫변 = 원의 맨 아래)
     · 가로 = 첫 원 중심 ~ 마지막 원 중심 (양 끝은 원 뒤에 가려짐)
     · 세로선·항목명 뒤에는 깔리지 않음
   - 조각(::before)을 칸마다 붙이던 예전 방식은 얇은 띠가 겹쳐 보였으므로 제거하고,
     .basic-set::before 하나로만 그립니다. 원과 + 는 그 위(z-index:1)에 표시됩니다. */
.basic-set {
  --circle: clamp(68px, 6.9vw, 92px);       /* 세 원의 공통 지름 */
  --gap: clamp(8px, 1vw, 12px);
  --plus-w: clamp(14px, 1.6vw, 22px);       /* 작은 + 가 차지하는 폭 */
  --item-pad: clamp(22px, 4.4vw, 58px);     /* 항목명이 들어갈 좌우 여유 */
  --item-w: calc(var(--circle) + var(--item-pad));
  /* 컨테이너 중심 → 첫 원 중심까지의 거리 (= 이웃한 원 중심 사이 간격) */
  --span: calc(var(--item-w) + var(--plus-w) + 2 * var(--gap));
  position: relative;
  isolation: isolate;              /* 배경(z-index:0)이 섹션 배경 뒤로 숨지 않도록 */
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: nowrap;               /* 3개 원이 항상 한 줄에 유지되도록 */
  gap: var(--gap);
  margin-top: 20px;
}
/* 원 뒤 배경: 하나로 이어진 청회색 반투명 직사각형 */
.basic-set::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;                                    /* 윗변 = 원의 맨 위 */
  height: var(--circle);                     /* 아랫변 = 원의 맨 아래 (높이 = 지름) */
  left: calc(50% - var(--span));             /* 첫 원 중심 */
  right: calc(50% - var(--span));            /* 마지막 원 중심 */
  background: rgba(150, 210, 214, .22);      /* #2b2d2f 위에서 은은한 청회색 */
}
.basic-set .item {
  position: relative; z-index: 1;            /* 배경보다 앞 */
  flex: 0 0 auto; text-align: center;
  width: var(--item-w);            /* 세 칸 폭을 동일하게 → 원 간격·중심선 일정 */
}
.basic-set .circle-img {
  display: block; width: var(--circle); height: var(--circle); margin: 0 auto;
  border-radius: 50%; box-shadow: 0 10px 24px rgba(0,0,0,.3);
}
.basic-set .vline {
  display: block; width: 1px; height: 18px; margin: 0 auto;
  background: rgba(255,255,255,.3);
}
.basic-set .item p {
  margin: 8px 0 0;
  font-size: clamp(12px, 1.05vw, 14px);
  line-height: 1.45;
  /* 한글은 '단어' 단위로만 줄바꿈 (예: "치아색 보철(크라운)" → "치아색" / "보철(크라운)") */
  word-break: keep-all;
  overflow-wrap: break-word;
}
.basic-set .item p b { color: var(--teal); }
.basic-set .plus {
  position: relative; z-index: 1; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  width: var(--plus-w); height: var(--circle);
  font-size: 25px; font-weight: 300; line-height: 1; color: #9fa4a8;
}
.basic-set .circle {
  width: 118px; height: 118px; border-radius: 50%; background: var(--teal); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 15px; line-height: 1.2; padding: 10px; text-align: center;
  box-shadow: 0 10px 24px rgba(0,0,0,.3);
}
.basic-set .circle small { display: block; font-weight: 400; font-size: 11px; opacity: .9; margin-top: 4px; }

.chips li.chip-as { background: var(--gold); }
.implant-text .extra-set { margin-top: 34px; text-align: center; }
.extra-set .plus-big { font-size: 44px; font-weight: 200; color: #fff; line-height: 1; margin: 0 auto 18px; }
/* 부가 서비스: 첫째 줄 3개, 둘째 줄 2개를 가운데 정렬. 각 박스는 문구 길이에 맞춤 (색·글자색은 기존 값 유지) */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chips + .chips { margin-top: 10px; }
.chips li {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 38px; padding: 9px 16px; border-radius: 8px;
  background: var(--teal); color: #fff; font-size: 15px; font-weight: 500; line-height: 1.4;
  word-break: keep-all; overflow-wrap: break-word;
}

/* 02 사후 관리 --------------------------------------------------------------
   밝은 원본의 사선 무늬가 비치는 반투명 회색 배경.
   '02' ~ 마지막 손글씨 문장까지 왼쪽 시작선을 하나로 맞추고 위·왼쪽 여백을 넉넉히 둡니다. */
.aftercare-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  background: #eef1f2;
  overflow: hidden;
}
.aftercare-figure { position: absolute; inset: 0; z-index: 0; }
.aftercare-figure picture { display: block; width: 100%; height: 100%; }
.aftercare-figure img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: left center;
}
.aftercare-text {
  grid-column: 2; position: relative; z-index: 1;
  background: rgba(44,47,51,.64);      /* 원본 이미지가 비치는 단일 반투명 배경 */
  color: #fff; padding: 96px 8% 88px;
  display: flex; flex-direction: column; justify-content: center;
  text-align: left;                    /* 모든 자식이 같은 왼쪽 시작선에서 시작 */
}
/* 작은 밝은 색 '02' */
.aftercare-text .num { color: #bfeaf0; font-size: 15px; }   /* 회색 바탕에서 대비 4.5:1 이상 */
/* 제목: 진한 먹색 굵은 글씨 (두 줄 고정) */
.aftercare-text .feature-title { color: #101215; line-height: 1.4; margin-top: 12px; }
/* '장인 정신' — 작은 명조 + 넓은 자간 */
.aftercare-text .hanja {
  font-family: var(--serif); font-size: clamp(44px, 5.2vw, 68px);
  letter-spacing: .1em; line-height: 1.1; margin: 6px 0 32px; color: #ecf0f3;
}
.aftercare-text .hanja small {
  display: block; font-size: 18px; letter-spacing: .4em;
  margin-bottom: 12px; color: #d9dde0;
}
/* 본문: 밝은 회백색 */
.aftercare-text p { color: #e3e6e8; font-size: 17px; margin: 0 0 20px; }
.aftercare-text p strong { display: inline; color: #fff; font-size: 19px; font-weight: 700; }
/* 마지막 문장: 흰색 손글씨 느낌 + 글자 아래쪽에만 얇은 베이지 형광펜 띠 */
.aftercare-text .motto {
  position: relative; isolation: isolate;   /* 띠(z-index:-1)가 패널 배경 뒤로 숨지 않도록 */
  display: inline-block; width: fit-content; max-width: 100%;
  margin: 6px 0 0; padding: 0;
  font-family: "Yeon Sung", var(--serif);
  font-size: clamp(20px, 2.15vw, 26px); line-height: 1.3;
  letter-spacing: .005em; color: #fff;
}
.aftercare-text .motto::after {
  content: ""; position: absolute; z-index: -1;
  left: -3px; right: -3px; bottom: 0;      /* 띠 길이 = 문장 너비 */
  height: .5em;                            /* 낮고 얇게 */
  background: rgba(160, 146, 109, .9);
}

/* 03 감염예방 */
.infection { background: var(--paper-2); padding: 90px 0; }
.infection-head { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-bottom: 40px; }
.infection-head h4 { font-size: 20px; margin-top: 14px; }
.infection-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.infection-grid .tile { position: relative; min-height: 280px; }
.infection-grid .tile img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.infection-grid .tile.text {
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  padding: 40px 32px; color: #fff;
}
.infection-grid .tile.text .num { color: var(--teal); }
.infection-grid .tile.text.navy { background: var(--navy); }
.infection-grid .tile.text.dark { background: var(--dark); }
.infection-grid .tile.text.teal { background: var(--teal-bg); }
.infection-grid .tile.text.teal .num { color: #fff; }
.infection-grid h4 { font-family: var(--serif); font-size: 24px; font-weight: 500; color: #fff; margin: 10px 0 12px; }
.infection-grid .tile.text.navy h4, .infection-grid .tile.text.dark h4 { color: #8fd3dd; }
.infection-grid p { font-size: 15px; color: #e8ebee; max-width: 360px; }

/* 04 책임 위생사 */
.hygienist { background: var(--teal-bg); color: #fff; padding: 90px 0; }
.hygienist .num, .hygienist .eyebrow { color: #fff; }
.hygienist .eyebrow::before { background: #fff; }
.hygienist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 40px; }
.hygienist-grid .cell { min-height: 380px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 48px 36px; }
.hygienist-grid .cell img { width: 100%; height: 100%; object-fit: cover; }
.hygienist-grid .cell.photo { padding: 0; }
.hygienist-grid .cell.white { background: #fff; color: var(--ink); }
.hygienist-grid h4 { font-family: var(--serif); font-size: 24px; font-weight: 500; color: #fff; margin: 12px 0 16px; line-height: 1.5; }
.hygienist-grid p { font-size: 15.5px; color: #f1fbfc; max-width: 440px; }
/* 보건복지부 가로형 로고: 흰 패널의 가로·세로 중앙에, 패널 너비의 약 2/3 크기로.
   - 좌우 패딩은 0으로 두어 width:66.7% 가 곧 '패널 너비의 2/3'가 되게 하고,
     상하 패딩만 주어 사진처럼 위아래 흰 여백을 확보합니다.
   - .hygienist-grid .cell img (width/height:100%, object-fit:cover) 보다
     우선순위를 높여 로고가 늘어나거나 잘리지 않도록 합니다. */
.hygienist-grid .cell.white { padding: clamp(36px, 5vw, 58px) 0; }
.hygienist-grid .cell.white img.moh-logo {
  display: block;
  width: 66.7%;
  max-width: 100%;
  height: auto;                  /* 원본 비율(642:200) 유지 */
  object-fit: contain;
  margin: 0 auto;
}

/* ------------------------------------------------------------
   #part_jangbi 장비안내
   ------------------------------------------------------------ */
#part_jangbi { background: #fff; padding: 90px 0 100px; }
.section-head { text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head .section-title { margin-top: 12px; }
.equip-swiper { margin-top: 48px; padding: 0 60px 60px; }
.equip-swiper .swiper-slide { height: auto; }
.equip-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 30px; min-height: 100%;
}
.equip-card figure { margin: 0; }
.equip-card figure img { width: 100%; border-radius: 6px; }
.equip-card h3 { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; }
.equip-card h3 small { display: block; font-size: 13px; color: var(--teal); font-weight: 500; letter-spacing: .08em; margin-bottom: 8px; }
.equip-card p { margin-top: 14px; color: #555; font-size: 16.5px; }
.equip-swiper .swiper-button-prev, .equip-swiper .swiper-button-next {
  width: 50px; height: 50px; background-size: contain; top: 45%;
}
.equip-swiper .swiper-button-prev { background-image: url(../img/btn_left.png); left: 0; }
.equip-swiper .swiper-button-next { background-image: url(../img/btn_right.png); right: 0; }
.equip-swiper .swiper-pagination { bottom: 10px; }
.equip-swiper .swiper-pagination-bullet { width: 10px; height: 10px; margin: 0 5px; background: #000; opacity: .2; }
.equip-swiper .swiper-pagination-bullet-active { background: var(--teal); opacity: 1; }
.equip-index { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.equip-index button {
  border: 1px solid #ddd; background: #fff; border-radius: 999px; padding: 6px 14px; font-size: 14px; color: #555;
  transition: all .2s;
}
.equip-index button:hover, .equip-index button.is-active { border-color: var(--teal); color: var(--teal-dark); background: #ecf8fa; }

/* ------------------------------------------------------------
   #part_tour 병원 둘러보기
   ------------------------------------------------------------ */
#part_tour { background: #dcdcdc; padding: 90px 0 100px; }
.gallery-top { width: min(1400px, 100%); margin: 40px auto 0; border-radius: 6px; overflow: hidden; }
.gallery-top .swiper-slide img { width: 100%; height: auto; }
.gallery-top .swiper-button-prev, .gallery-top .swiper-button-next { width: 44px; height: 44px; background-size: contain; }
.gallery-top .swiper-button-prev { background-image: url(../img/bx_left.svg); left: 24px; }
.gallery-top .swiper-button-next { background-image: url(../img/bx_right.svg); right: 24px; }
.gallery-thumbs { width: min(1080px, 100%); margin: 20px auto 0; padding: 10px 0; }
.gallery-thumbs .swiper-slide { cursor: pointer; background: #232323; border-radius: 4px; overflow: hidden; }
.gallery-thumbs .swiper-slide img { width: 100%; opacity: .5; transition: opacity .2s; }
.gallery-thumbs .swiper-slide-active img, .gallery-thumbs .swiper-slide:hover img { opacity: 1; }

/* ------------------------------------------------------------
   #part_time 진료시간·오시는길
   ------------------------------------------------------------ */
#part_time { background: var(--dark); color: #fff; }
.time-inner { display: grid; grid-template-columns: 1fr 1fr; }
.time-figure img { width: 100%; height: 100%; object-fit: cover; }
.time-text { padding: 80px 8%; }
.time-text .eyebrow { color: #7fd0dc; }
.time-text h2 { font-family: var(--serif); font-size: clamp(28px, 3.2vw, 40px); font-weight: 500; color: #fff; margin: 10px 0 30px; }
.info-list > div { padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.info-list > div:last-child { border-bottom: 0; }
.info-list dt { color: var(--teal); font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.info-list dd { margin: 0; font-size: 18px; color: #fff; }
.info-list dd.big { font-size: clamp(26px, 3vw, 36px); font-weight: 700; letter-spacing: .02em; }
.info-list dd .hours { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; }
.info-list dd .hours span { font-weight: 500; margin-right: 10px; }
.notice { display: flex; gap: 10px; align-items: baseline; margin-top: 8px; font-size: 15.5px; color: #e6e9ec; }
.notice b { color: var(--teal); border-bottom: 2px solid var(--teal); font-weight: 600; }
.parking { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.parking li::before { content: "- "; color: #bbb; }
.parking-note { margin: 6px 0 0; color: #b5bbc0; font-size: 14px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 8px;
  font-weight: 500; font-size: 15px; border: 1px solid transparent; transition: all .2s;
}
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); }
.btn-outline { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-kakao { background: #fee500; color: #191919; }
.btn-kakao:hover { background: #f5dc00; }

#part_map { background: #fff; }
#part_map .root_daum_roughmap { width: 100% !important; margin: 0 auto; }
#part_map .root_daum_roughmap .wrap_map { width: 100% !important; }
.map-caption { text-align: center; font-size: 14px; color: var(--muted); padding: 12px 16px; }

/* ------------------------------------------------------------
   FAQ
   ------------------------------------------------------------ */
#faq { background: var(--paper-2); padding: 90px 0; }
.faq-list { max-width: 900px; margin: 36px auto 0; }
.faq-list .faq-group {
  font-family: var(--serif); font-weight: 500; font-size: 20px; color: var(--ink);
  margin: 34px 0 12px; padding-left: 14px; border-left: 3px solid var(--teal);
}
.faq-list .faq-group:first-child { margin-top: 0; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 600; font-size: 17px; color: var(--ink); position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: "Q"; color: var(--teal); font-family: var(--serif); margin-right: 12px; font-size: 18px; }
.faq-list summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid #999; border-bottom: 2px solid #999; transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list .answer { padding: 0 22px 20px 50px; color: #555; font-size: 15.5px; }

/* ------------------------------------------------------------
   푸터 / 퀵 메뉴 / 상단 버튼
   ------------------------------------------------------------ */
#footer { background: #000; color: #bbb; padding: 50px 0 40px; font-size: 14px; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; }
.footer-logo { display: flex; align-items: center; gap: 14px; color: #fff; }
.footer-logo img { width: 44px; height: 44px; border-radius: 50%; }
.footer-logo b { font-size: 20px; letter-spacing: -0.02em; }
.footer-logo small { display: block; font-size: 11px; letter-spacing: .14em; color: #999; }
.footer-info { line-height: 1.9; }
.footer-info span { margin-right: 18px; white-space: nowrap; }
.footer-links { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-links a { color: #ddd; border-bottom: 1px solid #444; padding-bottom: 2px; }
.footer-links a:hover { color: #fff; border-color: #fff; }
.footer-copy { margin-top: 24px; color: #777; font-size: 13px; }
#footer .price_text { margin-top: 28px; padding: 16px 0; border-top: 1px solid #222; text-align: center; font-size: 1.2em; line-height: 2em; }
#footer .price_text a { color: #fff; letter-spacing: .04em; }
#footer .price_text a:hover { color: var(--teal); }

.nav-bar { position: fixed; top: 230px; right: 0; z-index: 900; }
.sns-link li a { display: block; line-height: 0; transition: transform .2s; }
.sns-link li a:hover { transform: translateX(-4px); }
.sns-link img { width: 60px; height: auto; }
/* 그림 아이콘이 없는 항목(오픈 카톡·전화·맨 위로)은 같은 모양(흰 상자 + 진회색 아이콘)으로 그린다 */
.sns-link .icon-box { width: 60px; height: 55px; padding: 8px 9px 9px 10px; }
.sns-link .icon-box span { display: grid; place-items: center; width: 41px; height: 41px; background: #fff; border-radius: 50%; }
.sns-link .icon-box svg { width: 22px; height: 22px; fill: none; stroke: #34302d; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

#top_btn {
  position: fixed; bottom: 20px; right: 20px; width: 50px; height: 50px; z-index: 950;
  border: 2px solid #333; color: #333; background: rgba(255,255,255,.6); font-size: 16px;
  opacity: 0; visibility: hidden; transition: all .25s;
}
#top_btn.is-visible { opacity: 1; visibility: visible; }
#top_btn:hover { border-color: #090e42; background: var(--gold); color: #fff; }

.mobile-cta { display: none; }

/* ------------------------------------------------------------
   비급여수가 페이지
   ------------------------------------------------------------ */
.page-title { background: var(--paper-2); border-bottom: 1px solid var(--line); padding: 50px 0 40px; text-align: center; }
.page-title h1 { font-family: var(--serif); font-size: clamp(28px, 3.6vw, 44px); font-weight: 500; }
.page-title h1 b { color: #e0b53a; font-weight: 500; }
.page-title p { color: var(--muted); margin-top: 10px; font-size: 15px; }
.price-wrap { padding: 60px 0 80px; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; align-items: start; }
.price-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.price-table caption { caption-side: top; background: #2fa27e; color: #fff; font-weight: 700; padding: 10px; font-size: 17px; border-radius: 6px 6px 0 0; }
.price-table th, .price-table td { border: 1px solid #e3e3e3; padding: 12px 14px; text-align: center; }
.price-table th { background: #f3f4f4; font-weight: 500; color: #333; }
.price-table th[scope="rowgroup"] { background: #e9ecec; }
.price-table td.price { font-weight: 600; color: var(--ink); white-space: nowrap; }
.price-note { margin-top: 24px; color: #666; font-size: 14.5px; line-height: 1.8; }
.price-note li::before { content: "※ "; color: var(--teal); }
.price-brand { text-align: center; margin-top: 60px; }
.price-brand img { width: 120px; margin: 0 auto; }
.price-brand p { font-family: var(--serif); color: #2fa27e; font-size: 22px; margin-top: 10px; }

/* ------------------------------------------------------------
   반응형
   ------------------------------------------------------------ */
@media (max-width: 1100px) {
  .doctor-inner { grid-template-columns: 340px 1fr; gap: 36px; }
  .cred-grid { grid-template-columns: 1fr 1fr; }
  .quick-info ul { grid-template-columns: 1fr 1fr; }
  .quick-info li { border-left: 0; border-top: 1px solid rgba(255,255,255,.08); }
  .quick-info li:nth-child(-n+2) { border-top: 0; }
  .sns-link img { width: 50px; }
  .sns-link .icon-box { width: 50px; height: 46px; padding: 7px 8px 7px 8px; }
  .sns-link .icon-box span { width: 34px; height: 32px; }
  .sns-link .icon-box svg { width: 19px; height: 19px; }
}
@media (max-width: 900px) {
  .greeting-inner, .doctor-inner, .implant-inner, .aftercare-inner, .time-inner, .hygienist-grid { grid-template-columns: 1fr; }
  .greeting-inner { gap: 30px; padding: 60px 0; }
  .doctor-photo { max-width: 420px; }
  .implant-text { padding: 60px 0 40px; }
  .implant { --implant-image-height: calc(100vw * 1024 / 936); }
  .implant::before {
    /* 기존 배경 레이어만 조정: 이미지 상단을 차콜로 연결하고 부품·명칭 위에서는 투명하게. */
    background: linear-gradient(to bottom,
      rgba(30,32,34,1) 0,
      rgba(30,32,34,1) calc(100% - var(--implant-image-height) - 40px),
      rgba(30,32,34,1) calc(100% - var(--implant-image-height)),
      rgba(30,32,34,.40) calc(100% - var(--implant-image-height) * .88),
      rgba(30,32,34,0) calc(100% - var(--implant-image-height) * .68));
  }
  .implant-figure {
    position: relative; inset: auto; left: -16px; width: calc(100% + 32px);
    height: var(--implant-image-height); min-height: 0; overflow: hidden;
  }
  .implant-figure picture { position: relative; display: block; width: 100%; height: 100%; }
  .implant-figure img {
    position: absolute; inset: auto; left: -10%; top: -7%;
    width: 120%; max-width: none; height: 120%; object-fit: cover;
  }
  /* 사후관리: 모바일은 이미지 위 / 설명 아래 세로 구성 */
  .aftercare-inner {
    display: block; min-height: 0; isolation: isolate;
    /* vh 미사용: 모바일 주소창이 스크롤 중 접혀도 이미지 높이·그라데이션 위치 유지 */
    --aftercare-image-height: 125.8vw;
  }
  .aftercare-inner::before {
    content: ""; position: absolute; inset: 0; z-index: 1;
    pointer-events: none;
    /* 부품 하단 → 중간 회색 제목 → 짙은 본문 → 차콜 손글씨, 한 레이어로 연결 */
    background: linear-gradient(to bottom,
      rgba(35,38,41,0) 0,
      rgba(35,38,41,0) calc(var(--aftercare-image-height) * .78),
      rgba(35,38,41,.52) var(--aftercare-image-height),
      rgba(35,38,41,.60) calc(var(--aftercare-image-height) + 64px),
      rgba(35,38,41,.72) calc(var(--aftercare-image-height) + 240px),
      rgba(35,38,41,.88) calc(100% - 150px),
      rgba(35,38,41,.98) 100%);
  }
  .aftercare-figure { position: relative; inset: auto; width: 100%; height: var(--aftercare-image-height); overflow: hidden; }
  .aftercare-figure picture { position: relative; display: block; width: 100%; height: 100%; }
  .aftercare-figure img {
    position: absolute; inset: auto; left: -10%; top: -7%;
    width: 120%; max-width: none; height: 120%;
    max-height: none; object-fit: cover; object-position: center top;
    animation: none; transition: none; transform: none;
  }
  /* 두 모바일 이미지는 스크롤 연동·드래그·확대 애니메이션 없는 정적 표시.
     확대는 transform 대신 고정 비율의 width/height로 한 번만 적용합니다. */
  .implant-figure, .implant-figure picture, .implant-figure img,
  .aftercare-figure, .aftercare-figure picture, .aftercare-figure img {
    animation: none !important; transition: none !important;
    transform: none !important; translate: none !important;
    rotate: none !important; scale: none !important;
    offset-path: none !important; background-attachment: scroll !important;
    touch-action: pan-y; -webkit-user-drag: none; user-select: none;
  }
  .aftercare-text { z-index: 2; background: transparent; padding: 64px 8% 68px; }   /* 02~손글씨 왼쪽 시작선 유지 */
  /* 1단이 되는 769~900px 구간은 원형을 크게 유지 (3개 원 + 작은 + 2개가 한 줄) */
  .basic-set { --circle: 92px; --gap: 16px; --plus-w: 22px; --item-pad: clamp(24px, 6vw, 48px); }
  .hygienist-grid .cell.photo { order: -1; min-height: 0; }
  .hygienist-grid .cell { min-height: 0; }
  .equip-card { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
  .equip-swiper { padding: 0 0 56px; }
  .equip-swiper .swiper-button-prev, .equip-swiper .swiper-button-next { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
  .price-grid { grid-template-columns: 1fr; }
  .infection-head { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --nav-h: 56px; }
  body { font-size: 15px; }
  .section { padding: 56px 0; }
  .header-inner { min-height: 72px; }
  .logo img { width: 230px; }
  .header-tel { display: none; }
  #gnb_open { display: block; }
  .jbMenu { display: none; }
  .quick-info ul { grid-template-columns: 1fr; }
  .quick-info li { border-top: 1px solid rgba(255,255,255,.08); padding: 14px 18px; }
  .quick-info li:first-child { border-top: 0; }
  .quick-info .btn-book { margin-left: 0; }
  #movieEwang { padding: 40px 0 10px; }
  .video-facade { border-radius: 0; }
  .video-facade .play { width: 64px; height: 64px; }
  .doctor { padding: 56px 0; }
  .doctor-head { flex-direction: column-reverse; }
  .badge-moh { width: 96px; height: 96px; font-size: 12px; }
  .cred-grid { grid-template-columns: 1fr; gap: 18px; }
  .part02-head { padding: 70px 0; }
  /* 기본제공: 모바일에서도 원 3개 + 작은 + 2개가 한 줄에 유지되도록
     원 지름·간격만 화면 폭에 맞춰 줄이고, 더하기와 세로 연결선은 그대로 표시 */
  .basic-set {
    --circle: clamp(54px, 14vw, 78px);
    --gap: clamp(4px, 1.4vw, 12px);
    --plus-w: clamp(10px, 2.8vw, 16px);
    --item-pad: clamp(10px, 3.4vw, 22px);
    margin-top: 16px;
  }
  .basic-set .plus { font-size: clamp(13px, 3.6vw, 16px); }
  .basic-set .vline { height: 14px; }
  .basic-set .item p { font-size: clamp(11.5px, 3.1vw, 13px); line-height: 1.4; }
  .implant-text .basic-label { margin-top: 32px; }
  .implant-text .basic-label b { font-size: 19px; margin-left: 4px; }
  .implant-text .extra-set { margin-top: 26px; }
  .extra-set .plus-big { font-size: 34px; margin-bottom: 16px; }
  /* 서비스 박스: 폭이 모자라면 글자가 잘리지 않고 자연스럽게 다음 줄로 넘어감 */
  .chips { gap: 8px; }
  .chips li { min-height: 34px; padding: 7px 12px; font-size: 13px; }
  /* 히어로 모바일 사진 비율 720x900 과 글자 자리 */
  #hero .hero-slide { aspect-ratio: 720 / 900; }
  #hero .hero-text { top: 13%; }
  .hero-eyebrow { font-size: 12px; letter-spacing: .16em; }
  #hero .hero-title { font-size: clamp(22px, 7.6vw, 56px); margin-top: 1em; }
  .hero-sub { font-size: clamp(12px, 3.9vw, 28px); margin-top: 1.3em; }
  #hero .hero-implant .hero-text { top: 28.5%; left: 6.25%; }
  #hero .hero-implant .hero-title { font-size: clamp(24px, 7.4vw, 54px); }
  #hero .hero-values .hero-text { top: 30%; }
  .hero-values-list { flex-wrap: wrap; }
  .hero-values-list li { font-size: clamp(24px, 8vw, 58px); padding: 0 .4em; }
  .infection { padding: 56px 0; }
  .infection-grid { grid-template-columns: 1fr; }
  .infection-grid .tile.photo { min-height: 200px; }
  .infection-grid .tile.text { min-height: 0; padding: 32px 22px; }
  .hygienist { padding: 56px 0; }
  #part_jangbi, #part_tour, #faq { padding: 56px 0 64px; }
  .equip-card h3 { font-size: 22px; }
  .time-text { padding: 48px 20px; }
  .nav-bar { display: none; }
  #top_btn { bottom: 76px; right: 12px; width: 42px; height: 42px; }
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 940;
    background: #fff; border-top: 1px solid #e3e3e3; box-shadow: 0 -4px 16px rgba(0,0,0,.08);
  }
  .mobile-cta a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 7px; font-size: 12px; color: #333; }
  .mobile-cta a svg { width: 22px; height: 22px; stroke: var(--teal); fill: none; stroke-width: 1.8; }
  .mobile-cta a.kakao { background: #fee500; }
  .mobile-cta a.kakao svg { stroke: #191919; }
  .mobile-cta a.book { background: var(--teal); color: #fff; }
  .mobile-cta a.book svg { stroke: #fff; }
  body { padding-bottom: 58px; }
  #footer { padding: 36px 0 30px; }
  .footer-info span { display: block; white-space: normal; }
  .price-wrap { padding: 36px 0 60px; }
  .price-table { font-size: 15px; }
  .price-table th, .price-table td { padding: 10px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* 375px 이하: 서비스 박스가 3개·2개 배열을 최대한 유지하도록 여백만 축소 (색상은 유지) */
@media (max-width: 375px) {
  .chips { gap: 6px; }
  .chips li { min-height: 32px; padding: 6px 10px; font-size: 12.5px; }
  /* 연성 폰트는 자폭이 넓어 20px 고정 시 340px 이하에서 두 줄로 넘어갑니다.
     실측 1줄 허용치는 화면폭의 약 5.77%이므로, 여유를 둔 5.6vw를 상한으로 두어
     좁은 화면에서도 한 줄을 유지합니다. (375px 이상은 20px 그대로) */
  .aftercare-text .motto { font-size: min(20px, 5.6vw); }
}

/* 340px 이하 초소형 화면: 원 3개 + 더하기 2개가 한 줄에 유지되도록 크기만 축소.
   짙은 회색 띠·세로 연결선·더하기 기호는 그대로 표시됩니다. */
@media (max-width: 340px) {
  .basic-set {
    --circle: 46px; --gap: 3px; --plus-w: 8px; --item-pad: 8px;
  }
  .basic-set .plus { font-size: 12px; }
  .basic-set .vline { height: 11px; }
  .basic-set .item p { font-size: 11px; line-height: 1.35; }
  /* 혜택 박스가 3개·2개 두 줄을 유지하도록 여백만 조금 더 축소 */
  .chips { gap: 5px; }
  .chips li { min-height: 31px; padding: 6px 8px; font-size: 12px; }
}
