:root {
  --navy: #0A3B94;
  --navy-deep: #0B2559;
  --sky: #3187C9;
  --sky-soft: #EAF3FB;
  --grey: #66717D;
  --line: #DCE2E8;
  --paper: #F6F8FA;
  --ink: #1B2836;
  --serif: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
}
*, *::before, *::after { box-sizing: inherit; }
html { scroll-behavior: smooth; scroll-padding-top: calc(72px + env(safe-area-inset-top, 0px)); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.75;
  word-break: keep-all; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.fill { background: #FFF3C4; color: #1B2836; padding: 0 4px; border-radius: 3px; }

/* 상단 */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
  background: rgba(246, 248, 250, 0.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .logo-sym { height: 42px; width: auto; aspect-ratio: 85.8 / 107; }
.brand .logo-ko { height: 22px; width: auto; aspect-ratio: 251.7 / 35; }
.top .tel { font-weight: 600; color: var(--navy); text-decoration: none; white-space: nowrap; }

/* 버튼 */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 8px; font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 1.5px solid var(--navy);
}
.btn-main { background: var(--navy); color: #fff; }
.btn-main:hover { background: var(--navy-deep); }
.btn-sub { color: var(--navy); background: transparent; }
.btn-sub:hover { background: var(--sky-soft); }

/* 첫 화면 */
.hero { padding: 72px 0 80px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.hero h1 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(2rem, 4.3vw, 3.2rem); line-height: 1.35; letter-spacing: -0.025em;
  color: var(--navy-deep); margin: 0 0 24px;
}
.hero .lede { color: var(--grey); max-width: 29em; margin: 0 0 36px; }
.proof { display: grid; grid-template-columns: repeat(3, 1fr); margin: 48px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.proof li { padding: 18px 16px 0 0; }
.proof b { display: block; color: var(--navy); font-size: 1rem; }
.proof span { color: var(--grey); font-size: 0.88rem; line-height: 1.5; display: block; margin-top: 2px; }

/* 사진 슬라이드 */
.slider { position: relative; border-radius: 16px; overflow: hidden; background: var(--sky-soft); }
.track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; aspect-ratio: 4 / 5; }
.track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; position: relative; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide .ph { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(160deg, var(--sky-soft), #fff); color: var(--grey); font-size: 0.95rem; }
.slide figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(11, 37, 89, 0.78); color: #fff; font-size: 0.85rem; padding: 4px 12px; border-radius: 999px; }
.nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(255,255,255,0.92); color: var(--navy); font-size: 1.8rem; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(11,37,89,0.15); display: grid; place-items: center; padding: 0 0 4px; }
.nav:disabled { opacity: 0.35; cursor: default; }
.prev { left: 12px; } .next { right: 12px; }
.dots { position: absolute; right: 16px; bottom: 20px; display: flex; gap: 8px; }
.dots button { width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0; background: rgba(255,255,255,0.6); cursor: pointer; transition: width 0.2s; }
.dots button[aria-selected="true"] { background: #fff; width: 22px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { .track { scroll-behavior: auto; } }

/* 섹션 공통 */
section.block { padding: 96px 0; border-top: 1px solid var(--line); }
.block h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.4; color: var(--navy-deep); letter-spacing: -0.02em; margin: 0 0 14px; }
.block .intro { color: var(--grey); margin: 0 0 56px; max-width: 36em; }

/* 진료 과정 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { position: relative; padding: 28px 28px 0 0; border-top: 2px solid var(--navy); counter-increment: s; }
.steps li::before { content: "0" counter(s); display: block; font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--sky); line-height: 1; margin-bottom: 18px; }
.steps h3 { font-size: 1.15rem; margin: 0 0 8px; color: var(--navy-deep); }
.steps p { margin: 0; color: var(--grey); font-size: 0.98rem; }

/* 주력 진료 */
.focus { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.focus article { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 40px; display: flex; flex-direction: column; }
.focus .tag { font-size: 0.85rem; color: var(--navy); font-weight: 600; margin: 0 0 12px; }
.focus h3 { font-family: var(--serif); font-size: 1.6rem; line-height: 1.4; margin: 0 0 16px; color: var(--navy-deep); letter-spacing: -0.02em; }
.focus > article > p { color: var(--ink); opacity: 0.85; margin: 0 0 28px; }
.focus ol { margin: 0 0 24px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.focus ol li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; font-size: 0.98rem; }
.focus ol li span { color: var(--sky); font-weight: 600; flex: none; width: 1.5em; font-variant-numeric: tabular-nums; }
.ins { margin-top: auto; font-size: 0.88rem; color: var(--navy); background: var(--sky-soft); padding: 10px 14px; border-radius: 8px; }

.others { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 48px; }
.others div { padding: 18px 0; border-top: 1px solid var(--line); }
.others dt { font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.others dd { margin: 0; color: var(--grey); font-size: 0.95rem; }
.others-title { font-size: 1.1rem; color: var(--navy-deep); margin: 72px 0 0; }

/* 장비·감염관리 (어두운 섹션) */
.dark { background: var(--navy-deep); color: #DCE6F0; border-top: none !important; }
.dark h2 { color: #fff !important; }
.dark .intro { color: #A9BACB !important; }
.dark .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.dark h3 { font-size: 1.1rem; color: #fff; margin: 0 0 8px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,0.18); }
.equip { margin: 0; }
.equip div { padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.equip dt { color: #fff; font-weight: 600; }
.equip dt small { color: var(--sky); font-weight: 500; margin-left: 8px; font-size: 0.82rem; }
.equip dd { margin: 4px 0 0; color: #A9BACB; font-size: 0.96rem; }

/* 의료진 */
.doctor .wrap { display: grid; grid-template-columns: 280px 1fr; gap: 64px; align-items: start; }
.portrait { aspect-ratio: 4 / 5; border-radius: 16px; background: var(--sky-soft); display: grid; place-items: center; color: var(--grey); font-size: 0.9rem; text-align: center; padding: 20px; border: 1px dashed var(--sky); }
.doctor h3 { font-family: var(--serif); font-size: 1.5rem; margin: 0 0 4px; color: var(--navy-deep); }
.doctor .role { color: var(--grey); margin: 0 0 24px; }
.doctor blockquote { margin: 0 0 28px; padding-left: 20px; border-left: 3px solid var(--sky); font-family: var(--serif); font-size: 1.12rem; line-height: 1.85; color: var(--navy); max-width: 32em; }
.cv { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.cv h4 { font-size: 0.95rem; color: var(--navy); margin: 0 0 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.cv ul { margin: 0; padding: 0; list-style: none; }
.cv li { padding: 5px 0; font-size: 0.98rem; }
@media (max-width: 600px) { .cv { grid-template-columns: 1fr; gap: 28px; } }

/* 진료시간 */
.hours-sec .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.clock { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px 28px 20px; max-width: 480px; width: 100%; justify-self: end; }
.status { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--grey); flex: none; }
.status.open .dot { background: #2E9E6A; box-shadow: 0 0 0 5px rgba(46,158,106,0.16); }
.status.pause .dot { background: #E0A43A; }
.status strong { font-size: 1.2rem; color: var(--navy-deep); }
.status-sub { color: var(--grey); margin: 0 0 20px 24px; font-size: 0.96rem; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 11px 8px; border-top: 1px solid var(--line); text-align: left; }
.hours th { font-weight: 500; width: 4.5em; color: var(--grey); }
.hours td { font-variant-numeric: tabular-nums; }
.hours td small { display: block; color: var(--grey); font-size: 0.85rem; }
.hours tr.today th, .hours tr.today td { color: var(--navy-deep); font-weight: 600; background: var(--sky-soft); }
.hours tr.off td { color: var(--grey); }
.note { font-size: 0.88rem; color: var(--grey); margin: 14px 0 0; }

/* 오시는 길 */
.visit h2 { margin-bottom: 32px; }
.mapbox { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #fff; padding: 20px; }
.mapbox img { display: block; width: 100%; height: auto; max-width: 1000px; margin: 0 auto; }
.visit-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.addr { font-family: var(--serif); font-size: 1.2rem; color: var(--navy-deep); margin: 0; line-height: 1.5; }
.addr span { display: block; font-family: var(--sans); font-size: 0.92rem; color: var(--grey); }
.visit-bar .btn { padding: 10px 18px; font-size: 0.95rem; }
.visit-note { margin: 12px 0 0; color: var(--grey); font-size: 0.95rem; }
.visit-note a { color: var(--navy); font-weight: 600; text-decoration: none; }

footer { background: var(--navy-deep); color: #C9D6E3; padding: 48px 0 calc(48px + env(safe-area-inset-bottom, 0px)); font-size: 0.9rem; }
footer .name { font-family: var(--serif); color: #fff; font-size: 1.15rem; margin: 0 0 12px; }
footer p { margin: 2px 0; }
footer .legal { margin-top: 20px; color: #8FA3B8; font-size: 0.82rem; }

.dock { display: none; }

@media (max-width: 900px) {
  .hero { padding: 40px 0 56px; }
  .hero .wrap, .hours-sec .wrap, .doctor .wrap, .dark .cols, .focus { grid-template-columns: 1fr; gap: 40px; }
  .focus { gap: 20px; }
  .focus article { padding: 28px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .others { grid-template-columns: 1fr; }
  .track { aspect-ratio: 4 / 3; }
  .nav { width: 38px; height: 38px; font-size: 1.5rem; }
  .clock { justify-self: stretch; max-width: none; }
  .portrait { max-width: 220px; }
  .mapbox { padding: 8px; }
  section.block { padding: 64px 0; }
  footer { padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px)); }
  .dock { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255,255,255,0.96); border-top: 1px solid var(--line); }
  .dock a { padding: 13px 0; }
}
@media (max-width: 520px) {
  .proof { grid-template-columns: 1fr; }
  .proof li { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
}

/* ===== 여러 페이지 구성용 추가 스타일 ===== */
.brand img { display: block; }
.brand .logo-sym { height: 42px; width: auto; }
.brand .logo-name { height: 22px; width: auto; }

/* 상단 메뉴 */
.gnb { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; font-size: 0.95rem; }
.gnb > li { position: relative; }
.gnb > li > a { display: block; padding: 10px 11px; text-decoration: none; color: var(--ink); border-radius: 6px; white-space: nowrap; }
.gnb > li > a:hover, .gnb > li:focus-within > a { color: var(--navy); background: var(--sky-soft); }
.gnb a[aria-current="page"], .gnb li.on > a { color: var(--navy); font-weight: 600; }
.gnb .sub {
  position: absolute; top: 100%; left: 0; min-width: 168px; margin: 0; padding: 8px;
  list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 10px 28px rgba(11, 37, 89, 0.12);
  opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.gnb > li:hover .sub, .gnb > li:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.gnb .sub a { display: block; padding: 9px 12px; border-radius: 6px; text-decoration: none; color: var(--ink); font-size: 0.93rem; white-space: nowrap; }
.gnb .sub a:hover { background: var(--sky-soft); color: var(--navy); }

.menu-btn { display: none; align-items: center; gap: 8px; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font: inherit; font-size: 0.92rem; color: var(--navy); cursor: pointer; }
.menu-btn span { display: block; width: 16px; height: 2px; background: currentColor; position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 16px; height: 2px; background: currentColor; }
.menu-btn span::before { top: -5px; } .menu-btn span::after { top: 5px; }
.mnav { display: none; }

@media (max-width: 1100px) {
  .top .gnb, .top .tel { display: none; }
  .menu-btn { display: inline-flex; }
  .mnav.open { display: block; position: fixed; inset: calc(66px + env(safe-area-inset-top, 0px)) 0 0 0; z-index: 30; background: #fff; overflow-y: auto; padding: 8px 20px calc(100px + env(safe-area-inset-bottom, 0px)); }
  .mnav ul { list-style: none; margin: 0; padding: 0; }
  .mnav > ul > li { border-bottom: 1px solid var(--line); }
  .mnav a { display: block; padding: 15px 4px; text-decoration: none; color: var(--ink); font-size: 1.05rem; }
  .mnav a[aria-current="page"] { color: var(--navy); font-weight: 600; }
  .mnav .sub { padding: 0 0 10px 12px; }
  .mnav .sub a { padding: 9px 4px; font-size: 0.98rem; color: var(--grey); }
  body.menu-open { overflow: hidden; }
}

/* 하위 페이지 머리 */
.page-head { padding: 64px 0 56px; background: linear-gradient(180deg, var(--sky-soft), var(--paper)); border-bottom: 1px solid var(--line); }
.page-head .crumb { font-size: 0.9rem; color: var(--grey); margin: 0 0 10px; }
.page-head .crumb a { color: var(--grey); text-decoration: none; }
.page-head h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.9rem, 4vw, 2.7rem); color: var(--navy-deep); letter-spacing: -0.02em; line-height: 1.35; margin: 0 0 14px; }
.page-head .lead { color: var(--grey); max-width: 38em; margin: 0; }

.subnav { border-bottom: 1px solid var(--line); background: #fff; }
.subnav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 16px 16px 14px; text-decoration: none; color: var(--grey); white-space: nowrap; border-bottom: 3px solid transparent; }
.subnav a[aria-current="page"] { color: var(--navy); font-weight: 600; border-bottom-color: var(--navy); }

/* 본문 블록 */
.prose { max-width: 46em; }
.prose p { margin: 0 0 16px; }
.split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.split h2 { margin-top: 0; }
.checks { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.checks li { padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); position: relative; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--sky); }
.items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.items article { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.items h3 { font-size: 1.15rem; color: var(--navy-deep); margin: 0 0 8px; }
.items p { margin: 0; color: var(--grey); font-size: 0.98rem; }
.items .ins { margin-top: 14px; display: inline-block; }
.ins-box { margin-top: 40px; background: var(--sky-soft); border-radius: 12px; padding: 20px 24px; color: var(--navy-deep); }
.ins-box b { color: var(--navy); }
.ins-box ul { margin: 6px 0 0; padding-left: 1.1em; }

.steps-v { list-style: none; margin: 0; padding: 0; counter-reset: v; border-top: 2px solid var(--navy); }
.steps-v li { counter-increment: v; display: grid; grid-template-columns: 64px 1fr; gap: 8px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.steps-v li::before { content: "0" counter(v); font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--sky); line-height: 1.2; }
.steps-v h3 { margin: 0 0 4px; font-size: 1.1rem; color: var(--navy-deep); }
.steps-v p { margin: 0; color: var(--grey); }

.cta { background: var(--navy); color: #fff; border-radius: 16px; padding: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta p { margin: 0; font-size: 1.15rem; }
.cta p small { display: block; color: #C5D6F0; font-size: 0.92rem; margin-top: 4px; }
.cta .btn { background: #fff; color: var(--navy); border-color: #fff; }

/* 메인 진료 안내 카드 */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cards a { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.cards a:hover { border-color: var(--sky); transform: translateY(-2px); }
.cards a.big { grid-column: span 2; padding: 36px; }
.cards .tag { font-size: 0.85rem; font-weight: 600; color: var(--sky); margin: 0 0 8px; }
.cards h3 { font-family: var(--serif); font-size: 1.3rem; color: var(--navy-deep); margin: 0 0 10px; line-height: 1.4; }
.cards a.big h3 { font-size: 1.6rem; }
.cards p { margin: 0 0 20px; color: var(--grey); font-size: 0.97rem; }
.cards .more { margin-top: auto; font-weight: 600; color: var(--navy); font-size: 0.95rem; }

/* 진료공간 */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery figure { margin: 0; }
.gallery .ph { aspect-ratio: 4 / 3; border-radius: 14px; background: linear-gradient(160deg, var(--sky-soft), #fff); border: 1px dashed var(--sky); display: grid; place-items: center; color: var(--grey); font-size: 0.95rem; }
.gallery figcaption { margin-top: 10px; font-weight: 600; color: var(--navy-deep); }
.gallery figcaption span { display: block; font-weight: 400; color: var(--grey); font-size: 0.93rem; }

/* 표 */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.fee { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 0.98rem; }
.fee caption { text-align: left; padding: 18px 20px 6px; font-weight: 600; color: var(--navy-deep); font-size: 1.05rem; }
.fee th, .fee td { padding: 13px 20px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.fee thead th { background: var(--sky-soft); color: var(--navy-deep); font-weight: 600; font-size: 0.92rem; }
.fee td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fee thead th.num { text-align: right; }
.fee-note { color: var(--grey); font-size: 0.92rem; margin: 16px 0 0; }
.fee-stack > * + * { margin-top: 28px; }

/* 하단 */
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 20px; padding: 0 0 20px; border-bottom: 1px solid rgba(255,255,255,0.15); list-style: none; }
.foot-links a { color: #fff; text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.foot-links a:hover { text-decoration: underline; }
footer .logo-full { display: block; height: 96px; width: auto; margin: 0 0 24px; }

@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .items, .gallery { grid-template-columns: 1fr 1fr; }
  .page-head { padding: 40px 0 36px; }
  .cta { padding: 28px; }
}
@media (max-width: 600px) {
  .cards, .items, .gallery { grid-template-columns: 1fr; }
  .cards a.big { grid-column: auto; }
}
section.block.tight { padding-top: 0; border-top: none; }
.fee.c4 { table-layout: fixed; }
.fee.c4 th:nth-child(1) { width: 16%; } .fee.c4 th:nth-child(2) { width: 36%; }
.fee.c4 th:nth-child(3) { width: 18%; } .fee.c4 th:nth-child(4) { width: 30%; }
.fig { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.fig svg { display: block; width: 100%; height: auto; }
.fig-split { grid-template-columns: 1fr 1fr; align-items: center; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-size: 0.88rem; color: var(--grey); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.items article > svg { display: block; width: 100%; max-width: 200px; height: auto; margin: 0 0 18px; }
@media (max-width: 900px) { .fig-split { grid-template-columns: 1fr; } .fig { padding: 14px; } }
section.dark + section.block.tight { padding-top: 96px; } @media (max-width: 900px) { section.dark + section.block.tight { padding-top: 64px; } }
.equip-photo { margin: -8px -8px 20px; background: #fff; border-radius: 10px; display: grid; place-items: center; height: 300px; }
.equip-photo img { max-height: 280px; width: auto; max-width: 100%; display: block; }
.equip-list { display: grid; gap: 24px; }
.equip-list article { display: grid; grid-template-columns: 360px 1fr; gap: 48px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px 40px; }
.equip-list .equip-photo { margin: 0; height: 280px; }
.equip-list .equip-photo img { max-height: 260px; }
.equip-list h3 { font-family: var(--serif); font-size: 1.5rem; color: var(--navy-deep); margin: 0 0 12px; }
.equip-list h3 small { font-family: var(--sans); font-size: 0.9rem; font-weight: 500; color: var(--sky); margin-left: 6px; }
.equip-list p { margin: 0; color: var(--ink); opacity: 0.85; }
@media (max-width: 900px) {
  .equip-list article { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
  .equip-list .equip-photo { height: 220px; }
  .equip-list .equip-photo img { max-height: 210px; }
}
.treat-fig { margin: 0; }
.treat-fig img { display: block; width: 100%; height: auto; border-radius: 14px; }
.treat-fig .only-narrow { display: none; }
.treat-fig .only-narrow img + img { margin-top: 16px; }
.fig-note { margin: 16px 0 0; color: var(--grey); font-size: 0.95rem; }
.fig-note a { color: var(--navy); }
@media (max-width: 700px) {
  .treat-fig .only-wide { display: none; }
  .treat-fig .only-narrow { display: block; }
}
.hours th { width: 6em; }
.hours tr.night th, .hours tr.night td { color: var(--navy); font-weight: 600; }
.hours tr.night th { box-shadow: inset 4px 0 0 var(--navy); padding-left: 14px; }
.night-badge { display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 0.8rem; font-weight: 600; line-height: 1.6; vertical-align: 1px; }
.cta .night-txt { display: inline-block; background: #fff; color: var(--navy); padding: 0 8px; border-radius: 999px; font-weight: 600; }
.night-inline { color: var(--navy); background: linear-gradient(transparent 60%, #CFE5F5 60%); font-weight: 600; }
/* 야간진료 강조: 노란색 */
.night-badge { background: #FFD54A; color: #0B2559; }
.cta .night-txt { background: #FFD54A; color: #0B2559; padding: 0 8px; }
.night-inline { color: #0B2559; background: #FFE58A; padding: 0 4px; border-radius: 4px; }
.photo-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.photo-cards article { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.photo-cards img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.photo-cards article > div { padding: 24px 26px 28px; }
.photo-cards h3 { font-family: var(--serif); font-size: 1.35rem; color: var(--navy-deep); margin: 0 0 8px; }
.photo-cards p { margin: 0; color: var(--grey); }
.photo-cards + .ins-box { margin-top: 40px !important; }
@media (max-width: 900px) { .photo-cards { grid-template-columns: 1fr; max-width: 480px; } }
.photo-cards .ins { display: inline-block; margin-top: 14px; font-size: 0.85rem; color: var(--navy); background: var(--sky-soft); padding: 4px 10px; border-radius: 6px; }
.top .tel .tel-label { font-weight: 600; margin-right: 2px; }
.cta p small .cta-hours { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 4px 18px; margin-top: 12px; font-size: 0.95rem; color: #DCE6F5; }
.cta-hours span:nth-child(odd) { color: #fff; font-weight: 600; }
.cta-hours .night-txt { margin-left: 4px; font-size: 0.85rem; }
.cta p small .cta-hours { gap: 6px 24px; }
.slide picture { display: block; width: 100%; height: 100%; }
.slide picture img { width: 100%; height: 100%; object-fit: cover; display: block; }
.side-photo { margin: 24px 0 0; max-width: 360px; }
.side-photo img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); }
@media (max-width: 900px) { .side-photo { max-width: 480px; } }
/* 사진이 있는 설명 구간: 글자를 사진 가운데 높이에 */
.split { align-items: center; }
.split:has(.side-photo) { grid-template-columns: 0.85fr 1.15fr; }
.split:has(.side-photo) .side-photo { max-width: 400px; }
@media (max-width: 900px) { .split:has(.side-photo) { grid-template-columns: 1fr; } }
.photo-ph { aspect-ratio: 4 / 5; background: linear-gradient(160deg, var(--sky-soft), #fff); }

/* ===== 글씨 크기: 기존 대비 약 15~20% 확대 ===== */
.split .prose p { font-size: 1.25rem; line-height: 1.8; }
.split .checks li { font-size: 1.22rem; line-height: 1.7; padding-top: 16px; padding-bottom: 16px; }
.split .checks li::before { top: 26px; }
.ins-box { font-size: 1.2rem; line-height: 1.7; padding: 24px 28px; }
.page-head .lead { font-size: 1.2rem; }
.block .intro { font-size: 1.15rem; }
.photo-cards p, .items p, .equip-list p { font-size: 1.15rem; line-height: 1.7; }
.steps-v p { font-size: 1.15rem; }
.steps-v h3 { font-size: 1.25rem; }
.cta p small .cta-hours { font-size: 1.05rem; }
@media (max-width: 900px) {
  .split .prose p, .split .checks li { font-size: 1.12rem; }
  .ins-box { font-size: 1.08rem; padding: 20px 22px; }
  .page-head .lead, .block .intro { font-size: 1.08rem; }
  .photo-cards p, .items p, .equip-list p, .steps-v p { font-size: 1.08rem; }
}
/* 진료공간 · 장비 */
.space-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.space-grid figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.space-grid img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.space-grid .eq-box { aspect-ratio: 4 / 3; display: grid; place-items: center; background: #fff; padding: 24px; }
.space-grid .eq-box img { width: auto; height: 100%; max-width: 100%; aspect-ratio: auto; object-fit: contain; }
.space-grid figcaption { padding: 22px 26px 26px; font-family: var(--serif); font-size: 1.4rem; font-weight: 700; color: var(--navy-deep); }
.space-grid figcaption small { font-family: var(--sans); font-size: 0.9rem; font-weight: 500; color: var(--sky); margin-left: 6px; }
.space-grid figcaption span { display: block; margin-top: 6px; font-family: var(--sans); font-size: 1.1rem; font-weight: 400; line-height: 1.7; color: var(--grey); }
.block h2 + .intro { margin-bottom: 40px; }
@media (max-width: 760px) { .space-grid { grid-template-columns: 1fr; gap: 20px; } .space-grid figcaption span { font-size: 1.02rem; } }

/* ===================== 메인 페이지 (새 디자인) ===================== */
.h-hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: flex-end; overflow: hidden; background: var(--navy-deep); }
.h-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.h-slides img.on { opacity: 1; }
.h-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,37,89,0.88) 0%, rgba(11,37,89,0.62) 42%, rgba(11,37,89,0.08) 78%), linear-gradient(0deg, rgba(11,37,89,0.55) 0%, transparent 35%); }
.h-hero-in { position: relative; width: min(1120px, 100% - 40px); padding: 120px 0 150px; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.h-copy { max-width: 560px; color: #fff; }
.h-copy h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(2.3rem, 5vw, 3.8rem); line-height: 1.3; letter-spacing: -0.03em; margin: 0 0 24px; }
.h-copy p { font-size: 1.15rem; line-height: 1.8; color: #DCE6F5; margin: 0 0 36px; }
.h-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.h-btn { display: inline-flex; align-items: center; padding: 16px 26px; border-radius: 8px; font-weight: 600; text-decoration: none; font-size: 1.02rem; }
.h-btn.solid { background: #fff; color: var(--navy); }
.h-btn.solid:hover { background: var(--sky-soft); }
.h-btn.line { border: 1.5px solid rgba(255,255,255,0.7); color: #fff; }
.h-btn.line:hover { background: rgba(255,255,255,0.12); }
.h-tabs { display: flex; gap: 6px; background: rgba(11,37,89,0.45); backdrop-filter: blur(6px); padding: 6px; border-radius: 999px; }
.h-tabs button { font: inherit; font-size: 0.92rem; color: #DCE6F5; background: none; border: 0; padding: 8px 16px; border-radius: 999px; cursor: pointer; }
.h-tabs button.on { background: #fff; color: var(--navy); font-weight: 600; }

.h-info { position: relative; z-index: 2; margin-top: -84px; }
.h-info-card { display: grid; grid-template-columns: 1.15fr 1fr 1.1fr; background: #fff; border-radius: 18px; box-shadow: 0 18px 48px rgba(11,37,89,0.14); }
.h-info-card > div { padding: 34px 36px; }
.h-info-card > div + div { border-left: 1px solid var(--line); }
.h-info h2 { font-size: 0.95rem; font-weight: 600; color: var(--sky); margin: 0 0 14px; }
.h-info p { margin: 4px 0 0; color: var(--grey); font-size: 0.98rem; }
.h-mini-hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; margin: 0; }
.h-mini-hours dt { font-weight: 600; color: var(--navy-deep); }
.h-mini-hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.h-mini-hours .night-txt { margin-left: 4px; font-size: 0.78rem; padding: 1px 8px; border-radius: 999px; background: #FFD54A; color: #0B2559; }
.h-big-tel { display: block; font-size: 2rem; font-weight: 700; color: var(--navy); text-decoration: none; letter-spacing: -0.01em; }
.h-addr { font-family: var(--serif); font-size: 1.15rem !important; color: var(--navy-deep) !important; font-weight: 600; }
.h-link { display: inline-block; margin-top: 14px; font-weight: 600; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--sky); padding-bottom: 2px; }
.h-link.light { color: #fff; border-color: #FFD54A; }

.h-doctor { background: var(--navy-deep); color: #fff; margin-top: 96px; }
.h-doctor-in { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding: 96px 0; }
.h-doctor-photo { margin: 0; border-radius: 16px; overflow: hidden; }
.h-doctor-photo img { display: block; width: 100%; height: auto; }
.h-doctor blockquote { margin: 0 0 28px; font-family: var(--serif); font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1.5; letter-spacing: -0.02em; }
.h-sign { margin: 0 0 28px; color: #A9BACB; font-size: 1.05rem; }
.h-sign b { color: #fff; font-size: 1.25rem; margin-right: 4px; }
.h-cred { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,0.18); }
.h-cred li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.12); color: #DCE6F5; font-size: 1.02rem; }

.h-process { border-top: none !important; }
.h-care-top { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.h-feature { display: flex; flex-direction: column; padding: 44px; border-radius: 18px; background: var(--navy); color: #fff; text-decoration: none; transition: transform .2s; }
.h-feature.alt { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.h-feature:hover { transform: translateY(-3px); }
.h-feature .tag { font-size: 0.92rem; font-weight: 600; color: #FFD54A; margin-bottom: 14px; }
.h-feature.alt .tag { color: var(--sky); }
.h-feature h3 { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.45; margin: 0 0 16px; letter-spacing: -0.02em; }
.h-feature.alt h3 { color: var(--navy-deep); }
.h-feature p { margin: 0 0 28px; color: #C9D6E8; font-size: 1.05rem; line-height: 1.75; }
.h-feature.alt p { color: var(--grey); }
.h-feature .more { margin-top: auto; font-weight: 600; }
.h-care-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.h-care-grid a { position: relative; border-radius: 16px; overflow: hidden; text-decoration: none; display: block; }
.h-care-grid img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .4s; }
.h-care-grid a:hover img { transform: scale(1.04); }
.h-care-grid span { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 22px 20px; background: linear-gradient(0deg, rgba(11,37,89,0.9), transparent); color: #DCE6F5; font-size: 0.95rem; }
.h-care-grid b { display: block; color: #fff; font-family: var(--serif); font-size: 1.35rem; margin-bottom: 2px; }

.h-head-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 32px; }
.h-head-row h2 { margin: 0 !important; }
.h-mosaic { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: 1fr 1fr; gap: 20px; }
.h-mosaic figure { margin: 0; position: relative; border-radius: 16px; overflow: hidden; background: #fff; }
.h-mosaic .big { grid-row: span 2; }
.h-mosaic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.h-mosaic figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(11,37,89,0.78); color: #fff; font-size: 0.88rem; padding: 4px 12px; border-radius: 999px; }

.h-visit-in { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.h-visit .clock { max-width: none; justify-self: stretch; }

@media (max-width: 1000px) {
  .h-info-card { grid-template-columns: 1fr; }
  .h-info-card > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .h-care-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .h-hero { min-height: 620px; }
  .h-hero-in { flex-direction: column; align-items: flex-start; padding: 80px 0 130px; }
  .h-shade { background: linear-gradient(0deg, rgba(11,37,89,0.92) 0%, rgba(11,37,89,0.6) 55%, rgba(11,37,89,0.25) 100%); }
  .h-tabs { margin-top: 8px; }
  .h-info-card > div { padding: 24px; }
  .h-doctor { margin-top: 64px; }
  .h-doctor-in, .h-care-top, .h-visit-in { grid-template-columns: 1fr; gap: 32px; }
  .h-doctor-in { padding: 64px 0; }
  .h-feature { padding: 30px; }
  .h-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .h-mosaic .big { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 520px) {
  .h-care-grid { gap: 12px; }
  .h-care-grid span { padding: 36px 14px 14px; font-size: 0.82rem; }
  .h-care-grid b { font-size: 1.1rem; }
  .h-big-tel { font-size: 1.7rem; }
}
@media (prefers-reduced-motion: reduce) { .h-slides img { transition: none; } }

/* ===================== 오른쪽 위 전체 메뉴 (모든 화면) ===================== */
.top .gnb { display: none !important; }
.top .wrap { gap: 20px; }
.top nav { margin-left: auto; }
.top .tel { display: inline-block !important; font-size: 1.02rem; }
.menu-btn { display: inline-flex !important; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--navy); font-weight: 600; background: #fff; }
.menu-btn em { font-style: normal; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { transition: transform .2s, background .2s; }
.menu-btn[aria-expanded="true"] { background: var(--navy); color: #fff; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-5px) rotate(-45deg); }

.mnav { display: block !important; position: fixed; inset: calc(66px + env(safe-area-inset-top, 0px)) 0 0 0; z-index: 30;
  background: #0B2559; color: #fff; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; padding: 0 !important; }
.mnav.open { opacity: 1; visibility: visible; transform: none; }
body.menu-open { overflow: hidden; }
.mnav-in { width: min(1120px, 100% - 40px); margin: 0 auto; padding: 64px 0 80px; display: grid; grid-template-columns: 1fr 320px; gap: 64px; }
.mnav-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.mnav h2 { font-size: 0.95rem; font-weight: 600; color: #FFD54A; margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,0.2); }
.mnav ul { list-style: none; margin: 0; padding: 0; }
.mnav li { border: 0 !important; }
.mnav a { display: block; padding: 9px 0 !important; color: #fff !important; text-decoration: none; font-size: 1.3rem !important; font-family: var(--serif); font-weight: 600; }
.mnav a:hover { color: #9FCBF0 !important; }
.mnav a[aria-current="page"] { color: #9FCBF0 !important; }
.mnav a[aria-current="page"]::after { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #FFD54A; margin-left: 10px; vertical-align: middle; }
.mnav-side { background: rgba(255,255,255,0.06); border-radius: 16px; padding: 28px; align-self: start; }
.mnav-label { margin: 0 0 6px; color: #A9BACB; font-size: 0.92rem; }
.mnav-tel { font-family: var(--sans) !important; font-size: 1.9rem !important; padding: 0 0 18px !important; }
.mnav-hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0 0 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.15); font-size: 0.98rem; }
.mnav-hours dt { font-weight: 600; }
.mnav-hours dd { margin: 0; color: #DCE6F5; }
.mnav-hours .night-txt { margin-left: 4px; font-size: 0.75rem; padding: 1px 7px; border-radius: 999px; background: #FFD54A; color: #0B2559; }
.mnav-addr { margin: 0; color: #A9BACB; font-size: 0.95rem; }
@media (max-width: 900px) {
  .top .tel { display: none !important; }
  .mnav-in { grid-template-columns: 1fr; gap: 32px; padding: 32px 0 120px; }
  .mnav-cols { grid-template-columns: 1fr; gap: 28px; }
  .mnav a { font-size: 1.15rem !important; padding: 8px 0 !important; }
  .mnav h2 { margin-bottom: 8px; padding-bottom: 10px; }
}
.mnav.open { background: #0B2559 !important; padding: 0 !important; }
/* 대표사진 준비 전 임시 첫 화면 */
.h-art { position: absolute; inset: 0; background: radial-gradient(circle at 78% 40%, #3187C9 0%, #0A3B94 45%, #0B2559 100%); overflow: hidden; }
.h-art img { position: absolute; right: -4%; top: 50%; transform: translateY(-50%); height: 120%; width: auto; opacity: 0.12; filter: brightness(0) invert(1); }
@media (max-width: 900px) { .h-art img { height: 80%; right: -20%; } }
.h-art img { left: auto; right: 6%; height: 92%; width: auto; aspect-ratio: 85.8 / 107; opacity: 0.16; }
@media (max-width: 900px) { .h-art img { right: -18%; height: 70%; top: 38%; } }

/* ===================== 첫 화면 (밝은 하늘색 스타일) ===================== */
.s-hero { position: relative; background: linear-gradient(100deg, #F3F8FE 0%, #EAF3FC 45%, #E3EEF9 100%); overflow: hidden; min-height: 600px; display: flex; align-items: center; }
.s-hero-img { position: absolute; top: 0; right: 0; bottom: 0; width: 64%; }
.s-hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; display: block;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%); mask-image: linear-gradient(90deg, transparent 0%, #000 28%); }
.s-hero-in { position: relative; padding: 90px 0 100px; }
.s-kicker { margin: 0 0 18px; color: var(--sky); font-size: 1.15rem; font-weight: 500; letter-spacing: 0.02em; }
.s-hero h1 { font-family: var(--serif); font-weight: 700; color: #1B2D4A; font-size: clamp(2.3rem, 4.6vw, 3.6rem); line-height: 1.3; letter-spacing: -0.03em; margin: 0 0 26px; }
.s-hero h1 em { font-style: normal; color: var(--sky); }
.s-lede { margin: 0 0 40px; color: #3A4A60; font-size: 1.12rem; line-height: 1.8; }
.s-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.s-btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 30px; border-radius: 999px; font-weight: 600; text-decoration: none; font-size: 1.02rem; }
.s-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.s-btn.solid { background: #1F4E79; color: #fff; }
.s-btn.solid:hover { background: var(--navy-deep); }
.s-btn.line { border: 1.5px solid #1F4E79; color: #1F4E79; background: rgba(255,255,255,0.6); }
.s-btn.line:hover { background: #fff; }

.s-svc { background: #fff; border-bottom: 1px solid var(--line); }
.s-svc-in { display: grid; grid-template-columns: repeat(6, 1fr); }
.s-svc a { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px 10px 38px; text-decoration: none; color: var(--ink); position: relative; }
.s-svc a + a::before { content: ""; position: absolute; left: 0; top: 28%; bottom: 28%; width: 1px; background: var(--line); }
.s-ic { width: 72px; height: 72px; border-radius: 50%; background: #F1F6FC; box-shadow: 0 6px 16px rgba(31,78,121,0.10); display: grid; place-items: center; margin-bottom: 18px; transition: background .2s, transform .2s; }
.s-ic svg { width: 34px; height: 34px; fill: none; stroke: #1F4E79; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.s-svc a:hover .s-ic { background: #E1EEFA; transform: translateY(-3px); }
.s-svc b { font-size: 1.12rem; color: #1B2D4A; margin-bottom: 8px; }
.s-svc small { font-size: 0.92rem; line-height: 1.6; color: var(--grey); }
.h-doctor { margin-top: 0 !important; }

/* 상단 바: 참고 시안처럼 전화 아이콘 + 진한 남색 둥근 버튼 */
.top .tel { display: inline-flex !important; align-items: center; gap: 8px; color: #1F4E79; }
.top .tel::before { content: ""; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 12l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 5a2 2 0 0 1 2-2z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 12l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 5a2 2 0 0 1 2-2z'/%3E%3C/svg%3E") center/contain no-repeat; }
.top .tel .tel-label { display: none; }
.menu-btn { background: #1F4E79 !important; color: #fff !important; border-color: #1F4E79 !important; }

@media (max-width: 1000px) {
  .s-svc-in { grid-template-columns: repeat(3, 1fr); }
  .s-svc a:nth-child(4)::before { display: none; }
}
@media (max-width: 900px) {
  .s-hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .s-hero-img { position: relative; width: 100%; height: 300px; order: -1; }
  .s-hero-img img { -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 30%); mask-image: linear-gradient(0deg, transparent 0%, #000 30%); object-position: 40% 50%; }
  .s-hero-in { padding: 0 0 56px; margin-top: -30px; }
  .s-lede br { display: none; }
  .s-svc a { padding: 28px 6px; }
  .s-ic { width: 60px; height: 60px; }
  .s-ic svg { width: 28px; height: 28px; }
  .s-svc small { font-size: 0.82rem; }
}
@media (max-width: 520px) { .s-svc small br { display: none; } }
@media (max-width: 900px) { header.top .tel { display: none !important; } .brand .logo-name { flex: none; } }
.s-hero h1 { margin-bottom: 44px; }
/* 진료 원칙 네 가지 */
.p-promise { background: linear-gradient(180deg, #F3F8FE, #fff); padding: 96px 0; }
.p-promise h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.3rem); color: #1B2D4A; letter-spacing: -0.02em; margin: 0 0 48px; text-align: center; }
.p-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.p-grid article { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 34px 28px; border-top: 4px solid var(--sky); }
.p-grid h3 { font-family: var(--serif); font-size: 1.3rem; line-height: 1.5; color: #1B2D4A; margin: 0 0 14px; letter-spacing: -0.02em; }
.p-grid p { margin: 0; color: var(--grey); font-size: 1.02rem; line-height: 1.75; }
@media (max-width: 1000px) { .p-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .p-promise { padding: 64px 0; } .p-grid { grid-template-columns: 1fr; } .p-grid h3 br { display: none; } }
.p-grid h3 { font-size: 1.22rem; word-break: keep-all; }
@media (min-width: 1001px) { .p-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } .p-grid article { padding: 32px 24px; } }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.p-promise { padding: 72px 0; }
@media (max-width: 560px) { .p-promise { padding: 48px 0; } }
.s-pic { display: block; width: 150px; height: 150px; margin: 0 auto 14px; transition: transform .25s; }
.s-svc a:hover .s-pic { transform: translateY(-4px); }
.s-svc a { padding-top: 32px; }
@media (max-width: 900px) { .s-pic { width: 110px; height: 110px; } }
.s-pic { mix-blend-mode: multiply; }
/* 임플란트·신경치료 큰 카드 그림 */
.h-feature.has-pic { position: relative; overflow: hidden; padding-right: 46%; min-height: 360px; }
.h-feature-pic { position: absolute; top: 0; right: 0; width: 44%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.h-feature.has-pic:not(.alt) .h-feature-pic { -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%); mask-image: linear-gradient(90deg, transparent 0%, #000 22%); }
.h-feature.alt.has-pic .h-feature-pic { -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%); mask-image: linear-gradient(90deg, transparent 0%, #000 18%); }
@media (max-width: 900px) {
  .h-feature.has-pic { padding-right: 30px; padding-top: 250px; min-height: 0; }
  .h-feature-pic { width: 100%; height: 230px; object-position: 50% 30%; -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 30%) !important; mask-image: linear-gradient(0deg, transparent 0%, #000 30%) !important; }
}
/* 카드 그림을 위쪽으로 */
.h-feature.has-pic { padding: 300px 44px 44px !important; min-height: 0; }
.h-feature-pic { left: 0; right: 0; width: 100% !important; height: 270px !important; object-position: 50% 32%;
  -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 35%) !important; mask-image: linear-gradient(0deg, transparent 0%, #000 35%) !important; }
@media (max-width: 900px) { .h-feature.has-pic { padding: 230px 28px 30px !important; } .h-feature-pic { height: 210px !important; } }
/* 임플란트·신경치료: 한 줄씩 크게, 그림과 글 나란히 */
.h-care-top { grid-template-columns: 1fr !important; gap: 24px; }
.h-feature.has-pic { display: grid !important; grid-template-columns: 400px 1fr; grid-template-rows: auto; padding: 0 !important; min-height: 0; align-items: center; }
.h-feature.has-pic > * { grid-column: 2; margin-left: 56px; margin-right: 56px; }
.h-feature.has-pic .tag { margin-top: 48px; }
.h-feature.has-pic .more { margin-bottom: 48px; margin-top: 0; }
.h-feature-pic { position: static !important; grid-column: 1 !important; grid-row: 1 / span 4; margin: 0 !important; width: 100% !important; height: 100% !important; min-height: 380px; object-fit: cover; object-position: 50% 45%;
  -webkit-mask-image: none !important; mask-image: none !important; }
.h-feature.alt.has-pic { grid-template-columns: 1fr 400px; }
.h-feature.alt.has-pic > * { grid-column: 1; }
.h-feature.alt.has-pic .h-feature-pic { grid-column: 2 !important; }
@media (max-width: 900px) {
  .h-feature.has-pic, .h-feature.alt.has-pic { grid-template-columns: 1fr; }
  .h-feature.has-pic > *, .h-feature.alt.has-pic > * { grid-column: 1 !important; margin-left: 26px; margin-right: 26px; }
  .h-feature-pic { grid-row: 1 !important; min-height: 0; height: 300px !important; object-position: 50% 40%; }
  .h-feature.has-pic .tag { margin-top: 26px; }
  .h-feature.has-pic .more { margin-bottom: 28px; }
}
.h-feature.has-pic { grid-template-rows: 1fr auto auto auto auto 1fr; }
.h-feature-pic { grid-row: 1 / -1 !important; }
.h-feature.has-pic .tag { grid-row: 2; margin-top: 0; }
.h-feature.has-pic h3 { grid-row: 3; }
.h-feature.has-pic p { grid-row: 4; }
.h-feature.has-pic .more { grid-row: 5; margin-bottom: 0; }
@media (max-width: 900px) {
  .h-feature.has-pic { grid-template-rows: auto auto auto auto auto; }
  .h-feature-pic { grid-row: 1 !important; }
  .h-feature.has-pic .tag { margin-top: 24px; }
  .h-feature.has-pic .more { margin-bottom: 28px; }
}
@media (min-width: 901px) { .h-feature-pic { height: 440px !important; min-height: 0; } }
.portrait-img { margin: 0; border-radius: 16px; overflow: hidden; background: #EEF1F4; }
.portrait-img img { display: block; width: 100%; height: auto; }
.doctor .wrap { grid-template-columns: 340px 1fr; }
.h-doctor-in { grid-template-columns: 380px 1fr; }
.h-doctor-photo { max-width: 380px; }
@media (max-width: 900px) { .doctor .wrap, .h-doctor-in { grid-template-columns: 1fr; } .portrait-img, .h-doctor-photo { max-width: 320px; } }
/* 휴대폰: 신경치료 카드도 그림 위, 글 아래로 한 줄 */
@media (max-width: 900px) {
  .h-feature.has-pic, .h-feature.alt.has-pic { grid-template-columns: 1fr !important; }
  .h-feature.has-pic .h-feature-pic, .h-feature.alt.has-pic .h-feature-pic { grid-column: 1 !important; grid-row: 1 !important; width: 100% !important; }
  .h-feature.has-pic > *, .h-feature.alt.has-pic > * { grid-column: 1 !important; }
  .h-feature.has-pic .tag { grid-row: 2; } .h-feature.has-pic h3 { grid-row: 3; } .h-feature.has-pic p { grid-row: 4; } .h-feature.has-pic .more { grid-row: 5; }
}
/* 비급여 수가표 */
.fee-unit { margin: 0 0 8px; color: var(--grey); font-size: 1rem; }
.fee-unit b { color: var(--navy); }
.fee2 { table-layout: auto; min-width: 520px; }
.fee2 caption { font-size: 1.15rem; padding: 18px 20px 10px; color: var(--navy); }
.fee2 td.grp { font-weight: 600; color: var(--navy-deep); background: #F6F9FD; vertical-align: middle; white-space: nowrap; }
.fee2 td.num { font-weight: 700; color: var(--navy-deep); text-align: right; white-space: nowrap; }
.fee2 td.note-c { color: var(--grey); font-size: 0.92rem; white-space: nowrap; }
.fee2 th, .fee2 td { padding: 12px 18px; }
.fee-two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.fee-two .fee2 { min-width: 0; }
@media (max-width: 900px) { .fee-two { grid-template-columns: 1fr; } .fee2 th, .fee2 td { padding: 10px 12px; font-size: 0.92rem; } }
.mnav-book { display: block; margin-top: 18px; text-align: center; padding: 12px 0 !important; border-radius: 999px; background: #03C75A; color: #fff !important; font-family: var(--sans) !important; font-size: 1rem !important; font-weight: 600; }
.mnav-book:hover { background: #02b351; color: #fff !important; }
/* 휴대폰: 첫 화면 버튼 두 개를 한 줄에 */
@media (max-width: 900px) {
  .s-btns { flex-wrap: nowrap; gap: 10px; }
  .s-btn { flex: 1 1 0; justify-content: center; padding: 15px 10px; font-size: 0.98rem; white-space: nowrap; gap: 6px; }
  .s-btn svg { width: 16px; height: 16px; }
}
