/* 365회룡참정형외과의원 — 사이트 스타일
   색: 의뢰서 선호 컬러 남색 #0e2d5b + 로고 하늘색 #0e8ccc + 인테리어 시안의 따뜻한 베이지
   글꼴: 참고 사이트(eutteumos.co.kr)와 같게 — 본문 SUITE · 큰 제목 Cafe24 Ohsquare · 숫자 Gmarket Sans · 영문 Montserrat */
@font-face { font-family: SUITE; src: url(https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2304-2@1.0/SUITE-Regular.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: SUITE; src: url(https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2304-2@1.0/SUITE-Medium.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: SUITE; src: url(https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2304-2@1.0/SUITE-SemiBold.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: SUITE; src: url(https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2304-2@1.0/SUITE-Bold.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: SUITE; src: url(https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2304-2@1.0/SUITE-ExtraBold.woff2) format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: Cafe24Ohsquare; src: url(https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/Cafe24Ohsquare.woff) format('woff'); font-weight: 400; font-display: swap; }
/* Cafe24 Ohsquare는 가운뎃점(·)이 빈 글자라 이 글자만 SUITE로 */
@font-face { font-family: HeadDot; src: url(https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2304-2@1.0/SUITE-ExtraBold.woff2) format('woff2'); unicode-range: U+00B7, U+2027, U+30FB; font-display: swap; }
@font-face { font-family: GmarketSans; src: url(https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff) format('woff'); font-weight: 500; font-display: swap; }
@font-face { font-family: GmarketSans; src: url(https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff) format('woff'); font-weight: 700; font-display: swap; }

:root {
  --navy: #0e2d5b; --navy-d: #091f40; --navy-l: #e4eaf3;
  --sky: #0e8ccc; --sky-l: #e2f1fa;
  --sand: #f5f1eb; --sand-2: #ebe4da; --taupe: #8c7f6e;
  --ink: #14213a; --tx: #3b4455; --mu: #6c7383; --ln: #e2e5eb; --bg: #ffffff;
  --ok: #138a58; --warn: #c27a11; --off: #b54034;
  --f-body: SUITE, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --f-head: HeadDot, Cafe24Ohsquare, SUITE, sans-serif;
  --f-num: GmarketSans, SUITE, sans-serif;
  --f-en: Montserrat, SUITE, sans-serif;
  --hd-h: 92px; --wrap: 1280px; --gut: clamp(16px, 4vw, 40px);
  --r: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd-h) + 16px); }
body { margin: 0; font-family: var(--f-body); font-size: 17px; line-height: 1.7; color: var(--tx); background: var(--bg); word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
img, video, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.35; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 999; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.muted { color: var(--mu); }
.center { text-align: center; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.wrap.narrow { max-width: calc(920px + var(--gut) * 2); }
/* PC: 오른쪽 고정 사이드탭(오른쪽 18px + 폭 86px)에 내용이 가리지 않게 — 화면 여백이 모자랄 때만 오른쪽 안쪽 여백을 늘림. html zoom(1.15) 구간에서도 맞도록 vw 대신 부모 폭(%) 기준 */
@media (min-width: 1101px) { .wrap:not(.narrow) { padding-right: max(var(--gut), calc(124px - (100% - min(100%, var(--wrap) + var(--gut) * 2)) / 2)); } }
/* 태블릿: 좁은 사이드탭(오른쪽 8px + 폭 60px) 자리. 휴대폰(760px 이하)은 화면이 좁아 그대로 두고, 스크롤 중엔 사이드탭이 숨음 */
@media (min-width: 761px) and (max-width: 1100px) { .wrap:not(.narrow) { padding-right: max(var(--gut), calc(80px - (100% - min(100%, var(--wrap) + var(--gut) * 2)) / 2)); } }
.pc-br { display: inline; }

/* 등장 */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 16px; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn .ic { width: 18px; height: 18px; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-d); }
.btn-line { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-line:hover { background: var(--navy); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--sky-l); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: inherit; }
.icon-btn .ic { width: 22px; height: 22px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy); font-size: 15px; }
.link-more .ic { transition: transform .2s; }
.link-more:hover .ic { transform: translateX(4px); }
.app-ic { width: 24px; height: 24px; border-radius: 6px; display: block; }

/* 섹션 공통 */
.sec { padding: clamp(80px, 10vw, 140px) 0; }
.eyebrow { font-family: var(--f-en); font-weight: 600; font-size: 14px; letter-spacing: .04em; color: var(--sky); margin-bottom: 12px; }
.sec-head h2, .charm-copy h2, .dr-txt h2, .visit-head h2, .greet-txt h2, .dt-head h2 { font-family: var(--f-head); font-weight: 400; letter-spacing: -0.01em; }
.sec-head { margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head h2 { font-size: clamp(30px, 3.6vw, 44px); color: var(--navy); }
.sec-head p:not(.eyebrow) { margin-top: 14px; color: var(--mu); font-size: 17px; }
.sec-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.slide-btns { display: flex; gap: 8px; margin-bottom: clamp(36px, 5vw, 56px); }
.slide-btns .icon-btn { border: 1px solid var(--ln); background: #fff; color: var(--navy); transition: background .2s, color .2s; }
.slide-btns .icon-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ── 헤더 · 메가메뉴 ── */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--hd-h); background: #fff; border-bottom: 1px solid var(--ln); transition: background .3s, border-color .3s; }
.hd-inner { position: relative; z-index: 2; height: 100%; max-width: 1600px; margin: 0 auto; padding: 0 var(--gut); display: flex; align-items: center; gap: 24px; }
.logo { display: block; flex: none; }
.logo-img { height: 40px; width: auto; }
.site-header .logo-white { display: none; }
.gnb { flex: 1; height: 100%; display: flex; justify-content: center; }
.gnb-list { display: flex; height: 100%; }
.gnb-item { position: relative; height: 100%; display: flex; align-items: center; justify-content: center; min-width: clamp(96px, 8vw, 136px); }
.gnb-link { display: flex; align-items: center; height: 100%; padding: 0 8px; font-weight: 700; font-size: 17px; color: var(--ink); white-space: nowrap; position: relative; }
.gnb-link::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 0; height: 3px; background: var(--navy); transition: width .25s, left .25s; }
.gnb-item:hover .gnb-link::after, .gnb-item:focus-within .gnb-link::after { width: 36px; left: calc(50% - 18px); }
.gnb-sub { position: absolute; top: 100%; left: 0; right: 0; padding: 26px 6px 30px; text-align: center; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s .25s; }
.gnb-en { font-family: var(--f-en); font-size: 12px; font-weight: 600; color: var(--sky); margin-bottom: 10px; white-space: nowrap; }
.gnb-sub li a { display: block; padding: 7px 2px; font-size: 15.5px; line-height: 1.45; color: var(--tx); text-wrap: balance; transition: color .15s; }
.gnb-sub li a:hover { color: var(--navy); font-weight: 700; }
.mega-bg { position: absolute; z-index: 1; left: 0; right: 0; top: 100%; height: var(--mega-h, 260px); background: #fff; border-top: 1px solid var(--ln); box-shadow: 0 24px 30px -24px rgba(14, 45, 91, .25); clip-path: inset(0 0 100% 0); transition: clip-path .35s cubic-bezier(.3, .7, .2, 1); pointer-events: none; }
.site-header.is-mega .mega-bg { clip-path: inset(0 0 0 0); pointer-events: auto; }
.site-header.is-mega .gnb-sub { opacity: 1; visibility: visible; transition: opacity .3s ease .08s; }
.gnb-item + .gnb-item .gnb-sub::before { content: ''; position: absolute; left: 0; top: 24px; bottom: 26px; border-left: 1px solid var(--ln); }
.site-header.is-mega .gnb-sub { z-index: 3; }
.hd-right { display: flex; align-items: center; gap: 14px; flex: none; }
.hd-sns { display: flex; gap: 6px; }
.hd-ch { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; transition: transform .2s; }
.hd-ch .app-ic { width: 30px; height: 30px; border-radius: 8px; }
.hd-ch:hover { transform: translateY(-2px); }
.hd-burger { display: none; color: var(--ink); }
/* 메인: 히어로 위에 투명 헤더 → 내리거나 메뉴를 열면 흰 바탕 */
.site-header.is-overlay { position: fixed; left: 0; right: 0; background: transparent; border-color: rgba(255,255,255,.18); }
.site-header.is-overlay .logo-navy { display: none; }
.site-header.is-overlay .logo-white { display: block; }
.site-header.is-overlay .gnb-link, .site-header.is-overlay .hd-burger { color: #fff; }
.site-header.is-overlay .gnb-link::after { background: #fff; }
.site-header.is-overlay.scrolled, .site-header.is-overlay.is-mega { background: #fff; border-color: var(--ln); }
.site-header.is-overlay.scrolled .logo-navy, .site-header.is-overlay.is-mega .logo-navy { display: block; }
.site-header.is-overlay.scrolled .logo-white, .site-header.is-overlay.is-mega .logo-white { display: none; }
.site-header.is-overlay.scrolled .gnb-link, .site-header.is-overlay.is-mega .gnb-link, .site-header.is-overlay.scrolled .hd-burger, .site-header.is-overlay.is-mega .hd-burger { color: var(--ink); }
.site-header.is-overlay.scrolled .gnb-link::after, .site-header.is-overlay.is-mega .gnb-link::after { background: var(--navy); }

/* 모바일 전체 메뉴 */
.mnav { position: fixed; inset: 0; z-index: 300; background: #fff; overflow-y: auto; display: flex; flex-direction: column; }
.mnav-head { display: flex; align-items: center; justify-content: space-between; height: 68px; padding: 0 12px 0 16px; border-bottom: 1px solid var(--ln); flex: none; }
.mnav-head .logo-img { height: 30px; }
.mnav-call { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 16px; background: var(--sand); }
.mnav-call a { display: flex; flex-direction: column; padding: 12px 16px; border-radius: 12px; background: var(--navy); color: #fff; line-height: 1.3; }
.mnav-call small { font-size: 13px; opacity: .8; }
.mnav-call b { font-family: var(--f-num); font-size: 21px; }
.mnav-call button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 0 18px; border-radius: 12px; background: #fff; color: var(--navy); font-weight: 700; font-size: 14px; border: 1px solid var(--ln); }
.mnav-list { padding: 4px 16px; flex: 1; }
.mnav-group { border-bottom: 1px solid var(--ln); }
.mnav-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 17px 4px; font-size: 18px; font-weight: 700; color: var(--ink); text-align: left; }
.mnav-toggle .ic { transition: transform .2s; color: var(--mu); }
.mnav-toggle[aria-expanded="true"] .ic { transform: rotate(180deg); }
.mnav-toggle[aria-expanded="true"] { color: var(--navy); }
.mnav-sub { padding: 0 4px 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.mnav-sub a { display: block; padding: 9px 12px; border-radius: 8px; background: var(--sand); font-size: 15.5px; }
.mnav-sub a[aria-current] { background: var(--navy); color: #fff; }
.mnav-sns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 16px 16px calc(24px + env(safe-area-inset-bottom)); }
.mnav-ch { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; border-radius: 12px; border: 1px solid var(--ln); font-size: 13px; font-weight: 600; }
.mnav-ch .app-ic { width: 32px; height: 32px; border-radius: 9px; }

/* ── 메인 히어로 ── */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; max-height: 1080px; overflow: hidden; background: var(--navy-d); color: #fff; }
.hero-slides, .hero-slide, .hero-video { position: absolute; inset: 0; margin: 0; }
.hero-slide { opacity: 0; transition: opacity 1.6s ease; }
.hero-slide.is-on { opacity: 1; }
.hero-slide img, .hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-slide img { transform: scale(1.08); transition: transform 7.5s linear; }
.hero-slide.is-on img { transform: scale(1); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 31, 64, .78) 0%, rgba(9, 31, 64, .45) 48%, rgba(9, 31, 64, .12) 100%), linear-gradient(0deg, rgba(9, 31, 64, .55) 0%, rgba(9, 31, 64, 0) 40%); }
.hero-inner { position: relative; z-index: 2; height: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: calc(var(--hd-h) + 20px) var(--gut) 200px; display: flex; flex-direction: column; justify-content: center; }
.hero-en { font-family: var(--f-en); font-weight: 500; font-size: 15px; letter-spacing: .06em; color: #9fd3f0; margin-bottom: 20px; }
.hero-title { font-family: var(--f-head); font-weight: 400; color: #fff; font-size: clamp(32px, 4.6vw, 62px); line-height: 1.28; letter-spacing: -0.01em; }
.hero-sub { margin-top: 22px; max-width: 34em; font-size: clamp(16px, 1.4vw, 19px); color: rgba(255,255,255,.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.hero-actions .btn-white { font-family: var(--f-num); font-size: 18px; }
.hero-foot { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut) 40px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.hero-hours { background: rgba(255,255,255,.96); color: var(--tx); border-radius: 18px; padding: 22px 26px; min-width: 320px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.35); }
.hh-status { margin-bottom: 12px; }
.hh-week li { display: flex; justify-content: space-between; gap: 24px; padding: 5px 0; font-size: 15.5px; border-bottom: 1px dashed var(--ln); }
.hh-week li:last-child { border-bottom: 0; }
.hh-week b { color: var(--navy); }
.hh-week span { font-family: var(--f-num); font-weight: 500; color: var(--ink); text-align: right; }
.hh-week small { display: block; font-family: var(--f-body); font-size: 13px; font-weight: 500; color: var(--mu); }
.hh-week b { flex: none; }
.hh-week .is-off span { color: var(--off); }
.hh-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--sky); }
.hero-ctrl { display: flex; align-items: center; gap: 14px; font-family: var(--f-num); font-size: 14px; color: rgba(255,255,255,.8); }
.hero-count b { color: #fff; font-size: 18px; }
.hero-bar { width: 120px; height: 2px; background: rgba(255,255,255,.3); overflow: hidden; }
.hero-bar i { display: block; height: 100%; background: #fff; transform-origin: left; transform: scaleX(0); }

/* 진료 상태 */
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--ink); }
.status::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--mu); }
.status.is-open::before { background: var(--ok); box-shadow: 0 0 0 4px rgba(19, 138, 88, .15); }
.status.is-lunch::before, .status.is-last::before { background: var(--warn); }
.status.is-closed::before { background: var(--off); }

/* ── CHARM ── */
.charm { background: var(--sand); }
.charm-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.charm-copy h2 { font-size: clamp(34px, 4.2vw, 54px); color: var(--navy); line-height: 1.25; }
.charm-copy p:not(.eyebrow) { margin: 24px 0 28px; color: var(--tx); }
.charm-list { display: grid; gap: 0; border-top: 1px solid var(--sand-2); }
.charm-list li { display: grid; grid-template-columns: 70px 130px 1fr; align-items: center; gap: 12px; padding: 18px 4px; border-bottom: 1px solid #ddd3c5; }
.charm-k { font-family: var(--f-num); font-weight: 700; font-size: 40px; line-height: 1; color: var(--navy); }
.charm-list li:nth-child(odd) .charm-k { color: var(--sky); }
.charm-en { font-family: var(--f-en); font-weight: 600; color: var(--taupe); font-size: 15px; }
.charm-list b { font-size: 19px; color: var(--ink); }
.charm-page { background: var(--navy); }
.charm-page .sec-head h2 { color: #fff; }
.charm-list--row { grid-template-columns: repeat(5, 1fr); border: 0; gap: 12px; }
.charm-list--row li { grid-template-columns: 1fr; text-align: left; padding: 30px 24px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r); gap: 6px; }
.charm-list--row .charm-k { font-size: 54px; color: #fff; margin-bottom: 18px; }
.charm-list--row li:nth-child(odd) .charm-k { color: #7cc6ee; }
.charm-list--row .charm-en { color: #9fb2cf; }
.charm-list--row b { color: #fff; font-size: 18px; }

/* ── 진료 안내 ── */
.ct-board { display: grid; grid-template-columns: minmax(300px, 420px) 1fr; gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.ct-list { display: flex; flex-direction: column; border-top: 2px solid var(--navy); }
.ct-item { display: grid; grid-template-columns: 54px 1fr 22px; align-items: center; gap: 10px; padding: 22px 6px; border-bottom: 1px solid var(--ln); color: var(--mu); transition: color .2s, padding .25s; }
.ct-no { font-family: var(--f-num); font-weight: 700; font-size: 22px; color: #c3c8d2; transition: color .2s; }
.ct-txt { display: flex; flex-direction: column; line-height: 1.4; }
.ct-txt small { font-size: 13px; font-weight: 600; color: var(--taupe); }
.ct-txt b { font-size: 21px; color: var(--ink); }
.ct-sum { display: none; }
.ct-item .ic { color: var(--navy); opacity: 0; transform: translateX(-8px); transition: opacity .2s, transform .2s; }
.ct-item.is-on { padding-left: 14px; }
.ct-item.is-on .ct-no { color: var(--sky); }
.ct-item.is-on b { color: var(--navy); }
.ct-item.is-on .ic { opacity: 1; transform: none; }
.ct-view { position: relative; min-height: 480px; border-radius: 20px; overflow: hidden; background: var(--sand); }
.ct-panel { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .45s, visibility 0s .45s; }
.ct-panel.is-on { opacity: 1; visibility: visible; transition: opacity .45s; }
.ct-img, .ct-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ct-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9,31,64,.86) 0%, rgba(9,31,64,.25) 55%, rgba(9,31,64,0) 100%); }
.ct-desc { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(24px, 3vw, 44px); color: #fff; }
.ct-en { font-family: var(--f-en); font-weight: 600; font-size: 14px; color: #9fd3f0; }
.ct-desc h3 { color: #fff; font-family: var(--f-head); font-weight: 400; font-size: clamp(26px, 2.6vw, 36px); margin: 4px 0 10px; }
.ct-desc p { max-width: 36em; color: rgba(255,255,255,.88); margin-bottom: 22px; }
.ct-desc .btn-primary { background: #fff; color: var(--navy); }

/* ── 의료진 ── */
/* 학회·자격을 넣어 글 칸이 사진만큼 길어져, 위쪽 흰 띠 없이 섹션 전체를 연한 남색으로(휴대폰과 같음) */
.doctor { background: var(--navy-l); padding: clamp(56px, 6vw, 88px) 0; } /* 색 배경 섹션이라 위아래 여백을 다른 섹션보다 줄임 */
.dr-grid { display: grid; grid-template-columns: minmax(280px, 440px) 1fr; gap: clamp(36px, 6vw, 96px); align-items: end; }
.ph-box { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #98a1b2; background: repeating-linear-gradient(135deg, #f1f3f6 0 12px, #eceff3 12px 24px); border: 1px dashed #cfd5df; border-radius: var(--r); text-align: center; font-size: 14px; font-weight: 600; }
.ph-box .ic { width: 30px; height: 30px; }
.ph-portrait { aspect-ratio: 4 / 5; width: 100%; }
/* 원장님 프로필 사진 — 4:5 칸에 얼굴이 잘리지 않게 위쪽 기준으로 채움 */
.dr-photo img, .greet-photo img, .dr-card-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 12%; border-radius: var(--r); background: #eef0f6; }
/* 장비 사진 — 흰 배경 제품 사진을 칸 안에 전부 보이게 */
.ph-eq.has-img { display: block; background: #fff; border: 1px solid var(--ln); border-radius: var(--r); overflow: hidden; }
.ph-eq.has-img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.dr-txt { padding-bottom: 12px; }
.dr-txt h2, .dr-card-txt h2 { font-size: clamp(34px, 3.6vw, 46px); color: var(--navy); display: flex; align-items: baseline; gap: 14px; }
.dr-role { font-family: var(--f-body); font-weight: 700; font-size: 18px; color: var(--sky); }
.dr-spec { margin: 10px 0 26px; font-weight: 600; color: var(--ink); }
.dr-points { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; margin-bottom: 32px; }
.dr-sub { margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--ln); font-size: 15px; font-weight: 800; color: var(--navy); }
.dr-points + .dr-sub { margin-top: -6px; }
.dr-points li, .dt-dash li, .dr-group li { position: relative; padding-left: 16px; }
.dr-points li::before, .dt-dash li::before, .dr-group li::before { content: ''; position: absolute; left: 0; top: .75em; width: 6px; height: 2px; background: var(--sky); }

/* ── 장비(메인 가로 목록) ── */
.equip { overflow: hidden; }
.eq-track { display: flex; gap: 20px; overflow-x: auto; scrollbar-width: none; padding: 32px max(var(--gut), calc((100vw - var(--wrap)) / 2)) 40px; margin: -32px 0 -32px; }
.eq-track::-webkit-scrollbar { display: none; }
.eq-card { flex: 0 0 clamp(220px, 22vw, 280px); transition: transform .45s cubic-bezier(.2, .7, .2, 1); transform-origin: 50% 40%; }
.eq-card:hover, .eq-card:focus-within { transform: scale(1.12); position: relative; z-index: 1; }
.eq-card a { display: flex; flex-direction: column; gap: 4px; }
.ph-eq { aspect-ratio: 1; margin-bottom: 14px; transition: border-color .2s, box-shadow .45s; }
.eq-card a:hover .ph-eq { border-color: var(--navy); box-shadow: 0 14px 30px -18px rgba(14, 45, 91, .45); }
@media (prefers-reduced-motion: reduce) { .eq-card { transition: none; } .eq-card:hover, .eq-card:focus-within { transform: none; } }
.eq-cat { font-size: 13px; font-weight: 700; color: var(--sky); }
.eq-card b { font-size: 19px; color: var(--ink); }
.eq-model { font-family: var(--f-en); font-size: 13.5px; color: var(--mu); }

/* ── 둘러보기(메인) ── */
.tour { background: var(--sand); overflow: hidden; }
.tour-stage { overflow: hidden; }
.tour-track { display: flex; gap: 24px; transition: transform .8s cubic-bezier(.3, .7, .2, 1); will-change: transform; }
.tour-slide { flex: 0 0 min(62vw, 980px); cursor: pointer; }
.tour-slide figure { margin: 0; }
.tour-slide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; opacity: .45; transform: scale(.94); transition: opacity .6s, transform .8s; }
.tour-slide.is-on img { opacity: 1; transform: none; }
.tour-slide figcaption { margin-top: 14px; text-align: center; font-weight: 700; color: var(--ink); opacity: 0; transition: opacity .4s; }
.tour-slide.is-on figcaption { opacity: 1; }
.tour-note { margin-top: 18px; text-align: center; font-size: 14px; color: var(--taupe); }

/* ── 공지·칼럼 · FAQ ── */
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); }
/* 그리드 칸이 긴 한 줄 제목(공지 등) 때문에 화면보다 넓어지지 않게 — 넓어지면 페이지 폭이 늘어 팝업이 오른쪽으로 밀림 */
.news-grid > *, .charm-grid > *, .dr-grid > *, .visit-grid > *, .greet-grid > *, .loc-grid > * { min-width: 0; }
.news-tabs { display: flex; gap: 26px; border-bottom: 2px solid var(--navy); margin-bottom: 6px; }
.news-tabs button { position: relative; padding: 0 0 14px; font-family: var(--f-head); font-size: clamp(24px, 2.4vw, 30px); color: #b4bac6; }
.news-tabs button[aria-selected="true"] { color: var(--navy); }
.news-list { margin-bottom: 20px; }
.news-list li a { display: flex; align-items: center; gap: 12px; padding: 18px 2px; border-bottom: 1px solid var(--ln); }
.news-list li a:hover .n-title { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.n-pin { flex: none; font-size: 12.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--navy); color: #fff; }
.n-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; color: var(--ink); }
.n-date { flex: none; font-family: var(--f-num); font-size: 14px; color: var(--mu); }
/* 제목(+고정 표시) | 작성자 · 등록일 — 휴대폰은 제목 1줄, 작성자·등록일 2줄 */
.n-head { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; }
.n-meta { flex: none; display: flex; align-items: center; gap: 10px; }
.n-author { font-size: 14px; font-weight: 600; color: var(--tx); white-space: nowrap; }
.n-author + .n-date::before { content: '·'; margin-right: 10px; color: var(--mu); }
.board-author { color: var(--tx); font-family: var(--f-body); font-weight: 600; }
.board-author::after { content: '·'; margin: 0 8px; color: var(--mu); font-weight: 400; }
@media (max-width: 760px) {
  .news-list li a { flex-direction: column; align-items: stretch; gap: 6px; }
  .n-head { width: 100%; }
  .n-meta { gap: 8px; }
  .n-author, .n-date { font-size: 13px; }
  .n-author + .n-date::before { margin-right: 8px; }
}
.news-empty { padding: 40px 0; text-align: center; color: var(--mu); border-bottom: 1px solid var(--ln); }
.faq-col-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 2px solid var(--navy); margin-bottom: 6px; }
.faq-col-head h2 { font-family: var(--f-head); font-weight: 400; font-size: clamp(24px, 2.4vw, 30px); color: var(--navy); }
.faq { border-bottom: 1px solid var(--ln); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 2px; font-weight: 700; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: 'Q'; flex: none; font-family: var(--f-num); font-weight: 700; color: var(--sky); width: 22px; }
.faq summary .ic { margin-left: auto; color: var(--mu); transition: transform .2s; }
.faq[open] summary .ic { transform: rotate(180deg); }
.faq-a { padding: 0 2px 20px 40px; color: var(--tx); }

/* ── 진료시간 · 오시는길 ── */
.visit { background: var(--sand); }
.visit-grid { display: grid; grid-template-columns: 1fr 1.1fr; column-gap: clamp(36px, 5vw, 80px); row-gap: 0; align-items: start; }
/* 지도 윗변을 진료시간표 머리(요일 · 진료 · 점심 · 접수마감)에 맞춤: 제목 줄은 왼쪽 위, 표와 지도는 둘째 줄 */
.visit-head { grid-column: 1; grid-row: 1; }
.visit-info { grid-column: 1; grid-row: 2; }
.visit-map { grid-column: 2; grid-row: 2; }
.visit-head h2 { font-size: clamp(30px, 3.4vw, 42px); color: var(--navy); margin-bottom: 18px; }
.status-line { margin-bottom: 12px; }
.hours-notice:empty, .hours-note:empty { display: none; }
.hours-notice { margin-bottom: 12px; padding: 12px 16px; border-radius: 10px; background: #fff4e0; color: #8a5a0b; font-weight: 600; }
.hours-note { margin-top: 8px; font-size: 14px; color: var(--mu); }
.hours-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; font-size: 16px; }
.hours-table th, .hours-table td { padding: 12px 10px; text-align: center; border-bottom: 1px solid var(--ln); }
.hours-table thead th { background: var(--navy); color: #fff; font-weight: 700; font-size: 14.5px; }
.hours-table tbody th { color: var(--ink); width: 64px; }
.hours-table td { font-family: var(--f-num); font-weight: 500; color: var(--ink); font-size: 15px; }
.hours-table td .muted { font-family: var(--f-body); }
.hours-table tr.sat th { color: var(--sky); }
.hours-table tr.sun th { color: var(--off); }
.hours-table tr.is-today { background: var(--sky-l); }
.hours-table tr.is-today th::after { content: '오늘'; display: block; font-size: 11px; color: var(--sky); font-weight: 700; }
.hours-table .closed { color: var(--off); font-family: var(--f-body); font-weight: 700; }
.visit-dl { margin-top: 26px; display: grid; gap: 0; }
.visit-dl div { display: grid; grid-template-columns: 116px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid #ddd3c5; }
.visit-dl dt { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); }
.visit-dl dd { margin: 0; color: var(--ink); }
.visit-dl dd a { font-family: var(--f-num); font-weight: 700; font-size: 18px; color: var(--navy); }
.map-frame { position: relative; border-radius: 18px; overflow: hidden; background: var(--sand-2); aspect-ratio: 4 / 3; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* 네이버 지도 불러오기 전 자리(주소 + 네이버 지도 링크) */
.map-ph { position: absolute; inset: 0; display: grid; place-content: center; gap: 6px; padding: 20px; text-align: center; font-size: 15px; font-weight: 600; color: var(--ink); }
.map-ph span { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.map-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.map-links a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; border-radius: 12px; background: #fff; border: 1px solid var(--ln); font-weight: 700; color: var(--ink); transition: border-color .2s, transform .2s; }
.map-links a:hover { border-color: var(--navy); transform: translateY(-2px); }
.map-links .app-ic { width: 28px; height: 28px; border-radius: 7px; }

/* ── 서브페이지 머리 ── */
.subhero { position: relative; padding: clamp(80px, 9vw, 120px) 0 clamp(56px, 6vw, 80px); color: #fff; background: var(--navy) var(--sub-bg, none) center 40% / cover no-repeat; text-align: center; }
.subhero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,31,64,.72), rgba(9,31,64,.86)); }
.subhero-inner { position: relative; max-width: 960px; margin: 0 auto; padding: 0 var(--gut); }
.subhero-en { font-family: var(--f-en); font-weight: 600; font-size: 14px; color: #9fd3f0; margin-bottom: 10px; }
.subhero h1 { color: #fff; font-family: var(--f-head); font-weight: 400; font-size: clamp(32px, 4vw, 50px); }
.subhero-lead { margin-top: 12px; color: rgba(255,255,255,.88); }
.crumb ol { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 26px; font-size: 14px; color: rgba(255,255,255,.75); }
.crumb li + li::before { content: '›'; margin-right: 6px; opacity: .6; }
.crumb a:hover { color: #fff; text-decoration: underline; }
.subtabs-bar { position: sticky; top: var(--hd-h); z-index: 50; background: #fff; border-bottom: 1px solid var(--ln); }
.subtabs ul { display: flex; justify-content: center; overflow-x: auto; scrollbar-width: none; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.subtabs ul::-webkit-scrollbar { display: none; }
.subtabs a { display: block; padding: 18px clamp(14px, 2vw, 30px); font-weight: 600; color: var(--mu); white-space: nowrap; border-bottom: 3px solid transparent; }
.subtabs a:hover { color: var(--navy); }
.subtabs a[aria-current] { color: var(--navy); border-color: var(--navy); font-weight: 800; }

/* ── 인사말 ── */
.greet-grid { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.greet-photo { position: sticky; top: calc(var(--hd-h) + 100px); }
.greet-txt h2 { font-size: clamp(26px, 2.8vw, 36px); color: var(--navy); margin-bottom: 28px; }
.greet-txt p:not(.eyebrow) { margin-bottom: 14px; }
.greet-sign { margin-top: 30px !important; padding-top: 22px; border-top: 1px solid var(--ln); text-align: right; color: var(--mu); }
.greet-sign b { font-size: 22px; color: var(--ink); margin-left: 8px; }

/* ── 의료진 페이지 ── */
.dr-card { display: grid; grid-template-columns: minmax(260px, 400px) 1fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
/* 원장님 사진: 스크롤해도 화면에 고정(머리 메뉴 + 하위 탭 아래) */
.dr-card-photo { position: sticky; top: calc(var(--hd-h) + 100px); }
.dr-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 40px; margin-top: 10px; }
.dr-group h3 { display: flex; align-items: baseline; gap: 10px; font-size: 18px; color: var(--navy); padding-bottom: 10px; margin-bottom: 12px; border-bottom: 2px solid var(--navy); }
.dr-group h3 span { font-family: var(--f-en); font-size: 13px; font-weight: 600; color: var(--sky); }
.dr-group li { padding-top: 3px; padding-bottom: 3px; font-size: 16px; }
.dr-pubs { margin-top: clamp(56px, 6vw, 84px); padding: clamp(26px, 3vw, 40px); background: var(--sand); border-radius: 20px; }
.dr-pubs h2 { display: flex; align-items: baseline; gap: 12px; font-family: var(--f-head); font-weight: 400; font-size: clamp(24px, 2.6vw, 32px); color: var(--navy); margin-bottom: 26px; }
.dr-pubs h2 span { font-family: var(--f-en); font-size: 14px; font-weight: 600; color: var(--sky); }
.dr-pubs-grid { display: grid; grid-template-columns: 1fr; gap: 34px; }
.dr-pubs h3 { font-size: 17px; color: var(--ink); margin-bottom: 10px; }
.pub-list li { display: flex; flex-direction: column; padding: 12px 0; border-bottom: 1px solid #ddd3c5; font-size: 15px; line-height: 1.55; color: var(--ink); }
.pub-meta { font-size: 13px; font-weight: 600; color: var(--taupe); margin-bottom: 3px; }

/* ── 둘러보기 페이지 ── */
.tour-notice { display: flex; align-items: flex-start; gap: 10px; padding: 16px 20px; margin-bottom: 30px; border-radius: 12px; background: var(--sand); color: var(--tx); }
.tour-notice .ic { margin-top: 4px; color: var(--taupe); }
/* 둘러보기: 한 장씩 3초마다 넘어감, 아래 가로띠가 3초 동안 차오름 */
.tslide { position: relative; }
.ts-view { position: relative; overflow: hidden; border-radius: 6px; background: var(--sand); touch-action: pan-y; }
.ts-track { display: flex; transition: transform 1.1s cubic-bezier(.45, .05, .2, 1); will-change: transform; }
.ts-track.is-drag { transition: none; }
.ts-slide { flex: 0 0 100%; }
.ts-pic { display: block; width: 100%; cursor: zoom-in; }
.ts-pic img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; -webkit-user-drag: none; user-select: none; }
.ts-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: rgba(14, 45, 91, .28); opacity: .5; transition: opacity .25s, background .25s; }
.ts-arrow .ic { width: 26px; height: 26px; }
.ts-prev { left: 14px; } .ts-next { right: 14px; }
@media (min-width: 1101px) { /* 오른쪽 고정 사이드탭(18px + 86px)에 가리지 않게, 양쪽을 같은 간격으로 */
  .ts-prev { left: 80px; } .ts-next { right: 80px; }
}
@media (min-width: 1760px) { .ts-prev { left: 18px; } .ts-next { right: 18px; } }
.tslide:hover .ts-arrow { opacity: .75; }
.ts-arrow:hover, .ts-arrow:focus-visible { opacity: 1; background: rgba(14, 45, 91, .5); }
.ts-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 18px; }
.ts-cap { font-weight: 700; color: var(--ink); }
.ts-count { font-family: var(--f-num); font-size: 14px; color: var(--mu); white-space: nowrap; }
.ts-count b { color: var(--navy); font-size: 16px; }
.ts-bar { height: 2px; margin-top: 14px; background: var(--ln); overflow: hidden; }
.ts-bar i { display: block; height: 100%; background: var(--navy); transform-origin: left; transform: scaleX(0); }
.ts-bar i.is-run { animation: tsbar var(--ts-dur, 3s) linear forwards; }
.tslide.is-paused .ts-bar i { animation-play-state: paused; }
@keyframes tsbar { to { transform: scaleX(1); } }
.lightbox figure { touch-action: pan-y; }
.lightbox img { transition: opacity .25s, transform .25s; }
.lightbox img.is-swap { opacity: 0; }
.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(6, 16, 34, .94); display: flex; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox figure { margin: 0; max-width: 1400px; width: 100%; }
.lightbox img { width: 100%; max-height: 80vh; object-fit: contain; }
.lightbox figcaption { margin-top: 14px; text-align: center; color: #fff; font-weight: 600; }
.lightbox .icon-btn { position: absolute; color: #fff; background: rgba(255,255,255,.12); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ── 장비 페이지 ── */
/* 의료장비: 한 줄에 하나 — 왼쪽 사진, 오른쪽 정보(2026-11-19 요청) */
.eq-list { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.eq-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(32px, 4vw, 56px) 0; border-bottom: 1px solid var(--ln); scroll-margin-top: calc(var(--hd-h) + 70px); }
.eq-row .eq-txt h2 { transition: color .6s; }
.eq-row.is-target .eq-txt h2 { color: var(--sky); }
.eq-row .ph-eq { margin: 0; aspect-ratio: 4 / 3; border-radius: 6px; }
.eq-no { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; color: var(--sky); margin-bottom: 10px; }
.eq-no span { font-family: var(--f-num); font-weight: 500; color: var(--taupe); }
.eq-txt h2 { font-family: var(--f-head); font-weight: 400; font-size: clamp(26px, 2.6vw, 34px); color: var(--navy); }
.eq-txt .eq-model { margin: 6px 0 0; font-size: 15px; }
.eq-desc { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--ln); font-size: 16.5px; line-height: 1.85; color: var(--tx); }
.eq-uses { margin: 22px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.eq-uses dt { font-size: 13px; font-weight: 700; color: var(--taupe); }
.eq-uses dd { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.eq-uses a { padding: 5px 12px; border: 1px solid var(--ln); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--navy); transition: background .2s, color .2s; }
.eq-uses a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ── 오시는길 페이지 ── */
.loc-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 4vw, 64px); align-items: start; }
.loc-info .visit-dl { margin-top: 0; }
.loc-info .visit-dl div { border-color: var(--ln); }
.loc-hours { margin-top: 36px; }
.loc-hours h2 { font-size: 22px; color: var(--navy); margin-bottom: 12px; }
.loc-hours .hours-table { border: 1px solid var(--ln); }

/* ── 진료 상세(2026-11-19 개편): 여백 넓게, 가는 선, 번호 매긴 섹션, 왼쪽 고정 목차 ── */
.dt { padding: clamp(72px, 9vw, 130px) 0 0; }
.dt-kicker { display: flex; align-items: center; gap: 12px; font-family: var(--f-en); font-weight: 600; font-size: 13px; letter-spacing: .02em; color: var(--taupe); margin-bottom: 14px; }
.dt-kicker::after { content: ''; width: 40px; height: 1px; background: currentColor; opacity: .5; }
.dt-num { font-family: var(--f-num); font-weight: 500; font-size: 15px; letter-spacing: 0; color: var(--sky); }
.dt-figure { margin: clamp(28px, 3vw, 44px) 0 0; overflow: hidden; border-radius: 4px; background: var(--sand); }
.dt-figure img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.dt-over-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.dt-headline { font-family: var(--f-head); font-size: clamp(30px, 3.4vw, 46px); line-height: 1.28; color: var(--navy); }
.dt-over-txt { padding-top: 34px; font-size: 18px; line-height: 1.9; color: var(--tx); }
.dt-over-txt p + p { margin-top: 18px; }
.dt-layout { display: grid; grid-template-columns: 220px 1fr; gap: clamp(40px, 6vw, 100px); padding-top: clamp(64px, 8vw, 120px); padding-bottom: clamp(80px, 9vw, 130px); }
.dt-toc { position: sticky; top: calc(var(--hd-h) + 100px); align-self: start; }
.dt-toc > p { font-family: var(--f-en); font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--taupe); padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.dt-toc a { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ln); font-size: 15px; color: var(--mu); transition: color .2s; }
.dt-toc a span { font-family: var(--f-num); font-size: 12.5px; color: #b8bec9; padding-top: 2px; transition: color .2s; }
.dt-toc a:hover, .dt-toc a.is-on { color: var(--navy); font-weight: 700; }
.dt-toc a.is-on span { color: var(--sky); }
.dt-main { min-width: 0; }
.dt-sec + .dt-sec { margin-top: clamp(72px, 8vw, 120px); }
.dt-head { margin-bottom: 34px; }
.dt-head h2 { font-family: var(--f-head); font-weight: 400; font-size: clamp(26px, 2.6vw, 36px); color: var(--navy); }
.dt-desc { margin-top: 12px; color: var(--mu); }
/* 카드형 → 가는 선으로 나눈 2열 목록 */
.dt-cards { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; border-top: 1px solid var(--ink); }
.dt-cards li { display: grid; grid-template-columns: 44px 1fr; gap: 6px; padding: 28px 0 30px; border-bottom: 1px solid var(--ln); }
.dt-cno { font-family: var(--f-num); font-weight: 500; font-size: 14px; color: var(--sky); padding-top: 4px; }
.dt-cards h3 { font-size: 19px; margin-bottom: 8px; color: var(--ink); }
.dt-cards p { font-size: 15.5px; line-height: 1.75; color: var(--tx); }
/* 과정 → 세로 타임라인 */
.dt-steps { position: relative; }
.dt-steps li { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 0 0 36px; position: relative; }
.dt-steps li::before { content: ''; position: absolute; left: 96px; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: #fff; border: 2px solid var(--navy); z-index: 1; }
.dt-steps li::after { content: ''; position: absolute; left: 100px; top: 18px; bottom: -6px; width: 1px; background: var(--ln); }
.dt-steps li:last-child { padding-bottom: 0; }
.dt-steps li:last-child::after { display: none; }
.dt-step { font-family: var(--f-en); font-weight: 600; font-size: 13px; color: var(--taupe); padding-top: 3px; }
.dt-steps h3 { font-size: 19px; color: var(--ink); margin-bottom: 6px; }
.dt-steps p { font-size: 15.5px; line-height: 1.75; }
/* 대표 치료 소개 */
.dt-feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 4vw, 56px); padding: clamp(30px, 4vw, 48px); background: var(--sand); }
.dt-feature-lead { font-size: 17px; line-height: 1.9; color: var(--ink); }
.dt-feature-l .dt-figure { margin-top: 24px; }
.dt-feature dl { margin: 0; border-top: 1px solid var(--ink); }
.dt-feature dl div { padding: 18px 0; border-bottom: 1px solid #ddd3c5; }
.dt-feature dt { font-size: 13px; font-weight: 700; color: var(--taupe); margin-bottom: 4px; }
.dt-feature dd { margin: 0; font-size: 16px; color: var(--ink); }
/* 바로 진료가 필요한 경우 */
.dt-sec--alert .dt-kicker, .dt-sec--alert .dt-num { color: var(--off); }
.dt-alert { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; border-top: 1px solid var(--off); counter-reset: a; }
.dt-alert li { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--ln); font-weight: 600; color: var(--ink); counter-increment: a; }
.dt-alert li::before { content: counter(a, decimal-leading-zero); font-family: var(--f-num); font-weight: 500; font-size: 13px; color: var(--off); padding-top: 3px; }
/* 짧은 안내 */
.dt-note { padding: 28px 32px; background: var(--navy-l); }
.dt-note p { font-size: 16.5px; line-height: 1.9; color: var(--ink); }
/* 장비 */
.dt-eq { border-top: 1px solid var(--ink); }
.dt-eq a { display: grid; grid-template-columns: 64px 1fr 20px; align-items: center; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--ln); }
.dt-eq a > .ic { color: var(--mu); transition: transform .2s; }
.dt-eq a:hover > .ic { transform: translateX(4px); color: var(--navy); }
.ph-eq-s { width: 64px; height: 64px; border-radius: 4px; }
.ph-eq-s .ic { width: 20px; height: 20px; }
.dt-eq-t { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 12px; }
.dt-eq-t small { width: 100%; font-size: 12.5px; font-weight: 700; color: var(--sky); }
.dt-eq-t b { font-size: 17px; color: var(--ink); }
.dt-eq-t em { font-style: normal; font-family: var(--f-en); font-size: 13px; color: var(--mu); }
/* 치료 전후 */
.dt-care { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dt-care > div { padding: 28px 28px 22px; border: 1px solid var(--ln); }
.dt-care > div:only-child { grid-column: 1 / -1; }
.dt-care h3 { font-size: 17px; color: var(--navy); padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--ln); }
.dt-care li { position: relative; padding: 8px 0 8px 16px; font-size: 15.5px; line-height: 1.7; }
.dt-care li::before { content: ''; position: absolute; left: 0; top: 1.15em; width: 6px; height: 1px; background: var(--navy); }
.dt-sec--faq .faq-list { border-top: 1px solid var(--ink); }
.dt-refs { margin-top: clamp(72px, 8vw, 110px); padding-top: 22px; border-top: 1px solid var(--ln); font-size: 13.5px; color: var(--mu); }
.dt-refs h2 { font-size: 14px; color: var(--ink); margin-bottom: 10px; }
.dt-refs ol { list-style: decimal; padding-left: 18px; display: grid; gap: 4px; margin-bottom: 10px; }
.dt-refs a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.preparing { text-align: center; padding: 80px 24px 120px; }
.preparing .dt-kicker { justify-content: center; }
.preparing h2 { font-family: var(--f-head); font-weight: 400; font-size: 30px; color: var(--navy); margin-bottom: 12px; }
.preparing p:not(.dt-kicker) { color: var(--mu); }
/* 진료 문의 띠 */
.dt-cta { background: var(--navy) var(--sub-bg, none); color: #fff; padding: clamp(56px, 6vw, 84px) 0; }
.dt-cta-in { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.dt-cta .dt-kicker { color: #9fd3f0; }
.dt-cta-t { font-family: var(--f-head); font-size: clamp(22px, 2.4vw, 30px); color: #fff; }
.dt-cta-h { margin-top: 10px; color: rgba(255,255,255,.7); font-size: 15px; }
.dt-cta-act { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.dt-cta-tel { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-num); font-weight: 700; font-size: clamp(26px, 2.6vw, 34px); color: #fff; padding-right: 12px; }
.dt-cta-tel .ic { width: 26px; height: 26px; color: #9fd3f0; }
/* 다른 진료 */
.dt-more { padding: 0; border-bottom: 1px solid var(--ln); }
.dt-more ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.dt-more li + li a { border-left: 1px solid var(--ln); }
.dt-more a { display: flex; align-items: center; gap: 14px; padding: 30px 24px; color: var(--ink); transition: background .2s; }
.dt-more a > span:nth-child(2) { display: flex; flex-direction: column; line-height: 1.4; }
.dt-more small { font-family: var(--f-en); font-size: 12px; color: var(--taupe); }
.dt-more b { font-size: 17px; }
.dt-more a > .ic { margin-left: auto; color: var(--mu); transition: transform .2s; }
.dt-more a:hover { background: var(--sand); }
.dt-more a:hover > .ic { transform: translateX(4px); color: var(--navy); }
.dt-more .ct-no { font-size: 15px; }
@media (max-width: 1100px) {
  .dt-layout { grid-template-columns: 1fr; }
  .dt-toc { display: none; }
  .dt-over-grid, .dt-feature { grid-template-columns: 1fr; }
  .dt-over-txt { padding-top: 0; }
  .dt-more ul { grid-template-columns: 1fr 1fr; }
  .dt-more li:nth-child(3) a { border-left: 0; }
  .dt-more li:nth-child(n+3) a { border-top: 1px solid var(--ln); }
}
@media (max-width: 760px) {
  .dt-figure img { aspect-ratio: 4 / 3; }
  .dt-over-txt { font-size: 16.5px; }
  .dt-cards, .dt-alert, .dt-care { grid-template-columns: 1fr; }
  .dt-steps li { grid-template-columns: 1fr; gap: 4px; padding-left: 28px; }
  .dt-steps li::before { left: 0; top: 6px; }
  .dt-steps li::after { left: 4px; }
  .dt-feature { padding: 26px 20px; }
  .dt-care > div { padding: 22px 20px 16px; }
  .dt-more ul { grid-template-columns: 1fr; }
  .dt-more li + li a { border-left: 0; border-top: 1px solid var(--ln); }
  .dt-cta-act { width: 100%; }
}

/* ── 게시판(공지·칼럼) · 비급여 · 글 ── */
.board { border-top: 2px solid var(--navy); }
.board-row { display: flex; align-items: center; gap: 12px; padding: 20px 6px; border-bottom: 1px solid var(--ln); }
.board-row:hover .board-title { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.board-title { flex: 1; min-width: 0; font-weight: 600; color: var(--ink); }
.board-meta { flex: none; font-family: var(--f-num); font-size: 14px; color: var(--mu); }
.board-empty { padding: 60px 0; text-align: center; color: var(--mu); }
.badge { flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--sand); color: var(--mu); }
.badge-primary { background: var(--navy); color: #fff; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 30px; }
.pager a, .pager span { display: grid; place-items: center; min-width: 40px; height: 40px; border-radius: 10px; font-family: var(--f-num); }
.pager a { border: 1px solid var(--ln); }
.pager span { background: var(--navy); color: #fff; }
.article-head { padding-bottom: 20px; border-bottom: 2px solid var(--navy); margin-bottom: 30px; }
.article-head h2 { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 6px; }
.article-body { line-height: 1.85; }
.article-body img { border-radius: 10px; margin: 16px auto; }
.article-body h2 { font-size: 22px; margin: 28px 0 10px; }
.article-body h3 { font-size: 19px; margin: 22px 0 8px; }
.article-body p { margin: 0 0 12px; }
.article-body ul, .article-body ol { padding-left: 22px; margin: 0 0 12px; list-style: disc; }
.article-body a { color: var(--sky); text-decoration: underline; }
.article-foot { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--ln); text-align: center; }
.price-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--navy); }
.price-table th, .price-table td { padding: 14px 12px; border-bottom: 1px solid var(--ln); text-align: left; }
.price-table thead th { font-size: 14.5px; color: var(--mu); }
.price-table .num { text-align: right; font-family: var(--f-num); font-weight: 500; color: var(--ink); white-space: nowrap; }
.price-cat th { background: var(--sand); color: var(--navy); font-weight: 800; }
.note { margin-top: 14px; font-size: 14.5px; color: var(--mu); }
.prose h2 { font-size: 20px; margin: 34px 0 10px; color: var(--navy); }
.prose p, .prose li { margin-bottom: 8px; }
.prose ul { list-style: disc; padding-left: 22px; }
.nf { padding: 140px 0; }
.nf h1 { font-size: 34px; margin-bottom: 12px; }
.nf p:not(.eyebrow) { color: var(--mu); margin-bottom: 26px; }

/* ── 빠른 메뉴(PC 오른쪽) ── */
.quickbar { position: fixed; z-index: 90; right: 18px; top: 50%; transform: translateY(-50%); width: 86px; display: flex; flex-direction: column; background: #fff; border-radius: 18px; box-shadow: 0 16px 40px -14px rgba(14, 45, 91, .35); overflow: hidden auto; max-height: calc(100vh - 24px); scrollbar-width: none; }
/* PC: 머리글 아래 영역 가운데에 두고, 화면이 낮으면 그 안에서 줄여 머리글(로고·SNS 아이콘)과 겹치지 않게.
   1280px 이상은 html zoom 1.15 구간이라 vh를 1.15로 나눠 실제 보이는 높이로 계산 */
@media (min-width: 1101px) { .quickbar { top: calc(var(--hd-h) + (100vh - var(--hd-h)) / 2); max-height: calc(100vh - var(--hd-h) - 24px); } }
@media (min-width: 1280px) { .quickbar { top: calc(var(--hd-h) + (100vh / 1.15 - var(--hd-h)) / 2); max-height: calc(100vh / 1.15 - var(--hd-h) - 24px); } }
.qb-tel { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 4px; background: var(--navy); color: #fff; text-align: center; }
.qb-tel { gap: 6px; padding: 13px 4px; }
.qb-tel b { font-family: var(--f-num); font-size: 13px; line-height: 1.35; }
.qb-tel-m { display: none; font-size: 10.5px; font-weight: 700; }
@media (max-width: 1100px) { .qb-tel-m { display: block; } }
.qb-btn { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 9px 4px; font-size: 12.5px; font-weight: 700; color: var(--ink); border-top: 1px solid var(--ln); width: 100%; transition: background .2s; }
.qb-btn:hover { background: var(--sand); }
.qb-btn .ic { width: 22px; height: 22px; color: var(--navy); }
.qb-btn .app-ic { width: 24px; height: 24px; }
.qb-top { background: var(--sand); }
/* 낮은 PC 화면(노트북 등): 칸 간격·글자를 줄여 스크롤 없이 다 보이게 */
@media (min-width: 1101px) and (max-height: 900px) { .qb-tel { gap: 3px; padding: 8px 4px; } .qb-tel b { font-size: 12px; } .qb-btn { gap: 2px; padding: 5px 4px; font-size: 11.5px; } .qb-btn .ic { width: 19px; height: 19px; } .qb-btn .app-ic { width: 20px; height: 20px; } }
.soon-toast { position: fixed; left: 50%; bottom: 40px; z-index: 600; transform: translate(-50%, 20px); padding: 14px 22px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; max-width: calc(100vw - 32px); text-align: center; }
.soon-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ── 모달 · 팝업 ── */
.modal { position: fixed; inset: 0; z-index: 350; display: grid; place-items: center; padding: 16px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(6, 16, 34, .6); }
.modal-panel { position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 20px; padding: 24px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.modal-title { font-size: 21px; font-weight: 800; color: var(--navy); }
.modal-panel .hours-table { border: 1px solid var(--ln); }
.modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.modal-actions .btn-primary { font-family: var(--f-num); }
.popups { position: fixed; inset: 0; z-index: 320; background: rgba(6, 16, 34, .55); display: flex; align-items: center; justify-content: center; padding: 16px; overflow: auto; }
.popups-shell { margin: auto; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 100%; }
.popups-view { position: relative; max-width: 100%; }
.popups-row { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; align-items: flex-start; } /* 순서대로 왼쪽부터: 먼저 만든 팝업이 왼쪽 */
.popup { width: min(380px, calc(100vw - 32px)); background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 20px 50px -20px rgba(0,0,0,.5); }
.popups.is-multi .popup { width: min(340px, calc(100vw - 32px)); }
.popup-img { display: block; }
/* 올린 이미지 비율 그대로(자르지 않음). 화면보다 길면 화면 높이에 맞춰 줄임(닫기 줄·여백 자리 140px 남김) */
.popup img { display: block; width: 100%; height: auto; max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); object-fit: contain; background: #fff; -webkit-user-drag: none; }
.popup-foot { display: grid; grid-template-columns: 1fr auto; }
.popup-foot button { padding: 13px 14px; font-size: 14px; font-weight: 600; background: var(--ink); color: #fff; text-align: left; }
.popup-foot button + button { background: var(--navy); text-align: center; }
.popup-all { display: flex; align-items: center; gap: 4px; padding: 6px 8px; border-radius: 999px; background: rgba(9, 20, 40, .82); color: #fff; box-shadow: 0 12px 30px -14px rgba(0,0,0,.6); }
.popup-all button { padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.85); }
.popup-all button:hover, .popup-all button:focus-visible { background: rgba(255,255,255,.12); color: #fff; }
.popup-all [data-close-all] { color: #fff; font-weight: 700; }
.popup-count { padding: 0 10px 0 12px; font-family: var(--f-num); font-size: 14px; color: rgba(255,255,255,.7); white-space: nowrap; }
.popup-count b { color: #fff; }
.popup-count i { font-style: normal; }
.popups:focus { outline: none; }
/* 모바일 · 2개 이상: 한 장씩 넘기는 카드 */
.popups.is-car .popups-shell { width: min(340px, calc(100vw - 40px)); }
.popups.is-car .popups-view { width: 100%; overflow: hidden; border-radius: 14px; touch-action: pan-y; box-shadow: 0 20px 50px -20px rgba(0,0,0,.5); }
.popups.is-car .popups-row { flex-wrap: nowrap; gap: 0; justify-content: flex-start; transition: transform .38s cubic-bezier(.4, .1, .3, 1); will-change: transform; }
.popups.is-car .popup { flex: 0 0 100%; width: 100%; border-radius: 0; box-shadow: none; }
.popup-nav { position: absolute; top: calc(50% - 22px); transform: translateY(-50%); width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(0,0,0,.32); color: #fff; }
.popup-nav .ic { width: 20px; height: 20px; }
.popup-nav.is-prev { left: 8px; } .popup-nav.is-next { right: 8px; }
.popup-dots { display: flex; gap: 6px; }
.popup-dots button { width: 7px; height: 7px; padding: 0; border-radius: 99px; background: rgba(255,255,255,.45); transition: width .25s, background .25s; }
.popup-dots button.is-on { width: 20px; background: #fff; }
.popups.is-car .popup-all { width: 100%; justify-content: space-between; }
.popups.is-car .popup-all button { padding: 9px 12px; font-size: 13.5px; }

/* ── 푸터 ── */
.site-footer { background: #0b1a33; color: rgba(255,255,255,.72); font-size: 15px; padding-bottom: 0; }
.ft-inner { max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 64px var(--gut) 40px; display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 40px; }
.ft-brand .logo-img { height: 38px; }
.ft-tel { margin-top: 26px; display: flex; flex-direction: column; }
.ft-tel small { font-size: 13px; }
.ft-tel a { font-family: var(--f-num); font-weight: 700; font-size: 30px; color: #fff; line-height: 1.2; }
.ft-sns { display: flex; gap: 8px; margin-top: 18px; }
.ft-ch .app-ic { width: 34px; height: 34px; border-radius: 9px; }
.ft-hours { margin: 0; display: grid; gap: 10px; align-content: start; }
.ft-hours div { display: grid; grid-template-columns: 96px 1fr; gap: 8px; }
.ft-hours dt { font-weight: 700; color: #fff; }
.ft-hours dd { margin: 0; font-family: var(--f-num); color: #fff; }
.ft-hours dd span { font-family: var(--f-body); color: rgba(255,255,255,.6); font-size: 13.5px;; white-space: nowrap; display: inline-block; }
.ft-links { display: flex; flex-direction: column; gap: 8px; }
.ft-links a:hover, .ft-links b { color: #fff; }
.ft-src { max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut) 22px; font-size: 13.5px; line-height: 1.7; }
.ft-resp a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.35); }
.ft-refs { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; opacity: .8; }
.ft-refs span { color: #fff; font-weight: 700; }
.ft-refs a:hover { color: #fff; text-decoration: underline; }
.dt-byline { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--ln); font-size: 14px; color: var(--mu); }
.dt-byline a { color: var(--navy); font-weight: 600; }
.dt-review { display: flex; align-items: center; gap: 18px; margin-top: clamp(36px, 4vw, 56px); padding: 18px 22px; border: 1px solid var(--ln); border-radius: 6px; background: #fff; }
.dt-review-mark { flex: 0 0 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--f-head); font-size: 22px; }
.dt-review-txt { min-width: 0; line-height: 1.55; }
.dt-review-k { font-family: var(--f-en); font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--sky); }
.dt-review-n { font-size: 16.5px; color: var(--ink); }
.dt-review-n a:hover b { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.dt-review-c { font-size: 14px; color: var(--tx); }
.dt-review-d { margin-top: 4px; font-size: 13px; color: var(--mu); }
.ft-bottom { max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 22px var(--gut) 40px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13.5px; }
.ft-bottom p span + span::before { content: '|'; margin: 0 10px; opacity: .35; }
.ft-copy { margin-top: 6px; font-family: var(--f-en); font-size: 12.5px; opacity: .6; }

/* ── 반응형 ── */
@media (max-width: 1426px) { /* 1240px × 1.15(데스크톱 115% 확대 반영) */
  .hd-sns { display: none; }
  .logo-img { height: 34px; }
}
@media (max-width: 1100px) {
  :root { --hd-h: 68px; }
  .gnb, .mega-bg { display: none; }
  .hd-inner { justify-content: space-between; }
  .logo-img { height: 32px; }
  .hd-burger { display: inline-grid; }
  /* 빠른 메뉴 → PC와 같은 오른쪽 세로 막대(좁게). 스크롤 중에는 오른쪽으로 숨김 */
  .quickbar { right: max(8px, env(safe-area-inset-right)); width: 60px; max-height: calc(100vh - var(--hd-h) - 24px); max-height: calc(100dvh - var(--hd-h) - 24px); overflow-y: auto; scrollbar-width: none; border-radius: 14px; transition: transform .3s cubic-bezier(.4, .1, .3, 1), opacity .3s; }
  .quickbar::-webkit-scrollbar { display: none; }
  .quickbar.is-tucked { transform: translate(calc(100% + 16px), -50%); opacity: 0; pointer-events: none; }
  .qb-tel { flex: none; gap: 3px; padding: 9px 2px; }
  .qb-tel b { display: none; }
  .qb-tel .ic { width: 20px; height: 20px; }
  .qb-btn { flex: none; gap: 3px; padding: 8px 2px; font-size: 10.5px; letter-spacing: -.02em; line-height: 1.2; text-align: center; }
  .qb-btn .ic { width: 19px; height: 19px; }
  .qb-btn .app-ic { width: 21px; height: 21px; border-radius: 5px; }
  .soon-toast { bottom: calc(24px + env(safe-area-inset-bottom)); }
  .ct-board { grid-template-columns: 1fr; }
  .ct-view { display: none; }
  .ct-item { grid-template-columns: 46px 1fr 22px; padding: 20px 4px; }
  .ct-item.is-on { padding-left: 4px; }
  .ct-item .ic { opacity: 1; transform: none; }
  .ct-item.is-on .ct-no { color: #c3c8d2; }
  .ct-item.is-on b { color: var(--ink); }
  .ct-sum { display: block; margin-top: 4px; font-size: 14.5px; color: var(--mu); }
  .charm-grid, .dr-grid, .visit-grid, .news-grid, .greet-grid, .dr-card, .loc-grid { grid-template-columns: minmax(0, 1fr); }
  .visit-head, .visit-info, .visit-map { grid-column: auto; grid-row: auto; }
  .visit-map { margin-top: clamp(32px, 5vw, 48px); }
  .charm-list--row { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
  .dr-photo, .greet-photo, .dr-card-photo { max-width: 360px; position: static; }
  .doctor { background: var(--navy-l); }
  .ft-inner { grid-template-columns: 1fr 1fr; }
  .ft-links { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 8px 20px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .pc-br { display: none; }
  .hero { height: auto; min-height: 100svh; max-height: none; display: flex; flex-direction: column; }
  .hero-inner { height: auto; flex: 1; width: 100%; padding: calc(var(--hd-h) + 56px) var(--gut) 28px; justify-content: flex-end; }
  .hero-foot { position: relative; width: 100%; flex-direction: column; align-items: stretch; padding-bottom: 24px; gap: 14px; }
  .ph-portrait { aspect-ratio: 1; }
  .hero-hours { min-width: 0; padding: 16px 18px; }
  .hh-week li { font-size: 14.5px; }
  .hero-ctrl { order: -1; }
  .hero-actions .btn { flex: 1; padding: 0 14px; }
  .sec-row { flex-direction: column; align-items: flex-start; gap: 0; }
  .slide-btns { display: none; }
  .charm-list li { grid-template-columns: 48px 1fr; }
  .charm-en { display: none; }
  .charm-k { font-size: 32px; }
  .charm-list b { font-size: 17px; }
  .dr-points { grid-template-columns: 1fr; }
  .tour-slide { flex-basis: 86vw; }
  .tour-track { gap: 12px; }
  .visit-dl div { grid-template-columns: 1fr; gap: 2px; }
  .map-frame { aspect-ratio: 1; }
  .map-links a { flex-direction: column; gap: 4px; font-size: 14px; min-height: 70px; }
  .dr-groups { grid-template-columns: 1fr; }
  .ts-pic img { aspect-ratio: 4 / 3; }
  .ts-arrow { width: 38px; height: 38px; opacity: .45; }
  .ts-arrow .ic { width: 22px; height: 22px; }
  .ts-prev { left: 6px; } .ts-next { right: 6px; }
  .eq-row { grid-template-columns: 1fr; gap: 20px; }
  .hours-table th, .hours-table td { padding: 10px 4px; font-size: 14px; }
  .ft-inner { grid-template-columns: 1fr; padding-top: 48px; }
  .ft-bottom p span { display: block; }
  .ft-bottom p span + span::before { display: none; }
  .board-row { flex-wrap: wrap; }
  .board-meta { width: 100%; }
  .lightbox { padding: 60px 8px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .modal-actions { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .logo-img { height: 27px; }
  .hd-right { gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ── 데스크톱 전체 115% 확대(2026-11-21 요청). 휴대폰·태블릿(1279px 이하)은 원래 크기 ──
   zoom 안에서는 레이아웃 폭이 1/1.15로 줄어들므로, 확대 구간의 줄바꿈 기준은 ×1.15로 잡았다(위 1426px) */
@media (min-width: 1280px) { html { zoom: 1.15; } }
@media (min-width: 1280px) and (max-width: 1426px) { .gnb-item { min-width: 120px; } }
