/* Hallmark audit 2026-12-02 · 기존 사이트(서울아산척 v2 복제) 점검, 재설계 아님 · genre: editorial · theme: 로고 색(네이비 #0C2E86 · 블루 #1A68A6)
   critique: 제목과 목록을 같은 왼쪽 선에 맞추고, 장식 움직임과 영문 라벨을 덜어 단정한 의원 인상만 남김
   waive 48, 7a, 24b: 이어받은 850줄 스타일시트라 색 토큰화 · 4px 간격 정리는 다음 단계(리팩터링 위험 > 효과)
   waive 19: 진료시간 범위(09:00–20:00)의 en dash는 올바른 표기
   waive 63: '목 · 허리 · 어깨'는 한국어 나열 문장부호(가운뎃점)이지 메타 문자열이 아님 */
/* 시청역성모정형외과 — 서울아산척 v2 구조 복제 (2026-12-02), 로고 색으로 교체: 네이비 #0C2E86(변수 이름 --teal 유지) · 블루 #1A68A6(--orange 자리: 예약 · 강조) · 차콜 #4D4D50 · 그레이 #939598 */

:root {
  --teal: #0c2e86;        /* 메뉴 띠, 강조어, 카드 띠, 하위메뉴 */
  --teal-dk: #071f5e;     /* 메뉴 띠 위 진한 면 */
  --orange: #1a68a6;      /* 예약 버튼 */
  --orange-lt: #9cc3ee;   /* 어두운 바탕 위 강조어 (레퍼런스 #ffc000 자리) */
  --warm: #939598;
  --ink: #1e1e1e;
  --body: #4d4d50;
  --muted: #666;
  --line: #e4e4e4;
  --gray: #f8f8f8;
  --mint: #f4f6fa;        /* 부위별 바로가기 바탕 (레퍼런스 #edf1ef) */
  --hd: 166px;            /* 고정 헤더 높이: 로고 줄 106 + 메뉴 띠 60 */
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--ink); letter-spacing: -0.5px; word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; padding-top: var(--hd); }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }  /* 2026-12-03: width · height 속성을 넣어도 비율 유지 */
button { font: inherit; letter-spacing: inherit; cursor: pointer; }
.container { width: 1200px; max-width: calc(100% - 40px); margin: 0 auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 10001; background: #fff; padding: 10px 16px; }
.skip:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.tbc { color: #999; }

/* ── 헤더: 가운데 로고 + 전폭 메뉴 띠 ── */
.hd { position: fixed; top: 0; left: 0; width: 100%; z-index: 9999; background: #fff; }
.hd__logo .container { position: relative; height: 106px; display: flex; align-items: center; justify-content: center; }
.hd__brand img { width: 260px; height: auto; }
.hd__tel, .hd__loc { position: absolute; top: 50%; transform: translateY(-50%); font-size: 15px; color: #333; }
.hd__tel { left: 0; } .hd__tel span { color: var(--muted); margin-right: 4px; } .hd__tel { font-weight: 600; }
.hd__loc { right: 0; }
.hd__toggle { display: none; }
.hd__menu { background: var(--teal); position: relative; }
.hd__menu > ul { display: flex; justify-content: space-between; }
.hd__menu > ul > li { width: 16.6%; }
.hd__menu > ul > li > a { display: block; padding: 19px 0; font-size: 18px; font-weight: 600; letter-spacing: -.2px; text-align: center; color: #fff; }
.hd__menu > ul > li > a:hover, .hd__menu > ul > li > a.is-on { color: var(--orange-lt); font-weight: 700; }
.hd__drop { display: none; position: absolute; left: 0; top: 100%; width: 100%; height: 300px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.hd__menu:hover .hd__drop, .hd__menu:focus-within .hd__drop { display: block; }
.hd__drop .container { display: flex; justify-content: space-between; }
.hd__drop ul { width: 16.6%; padding-top: 20px; }
.hd__drop a { display: block; padding: 10px 0; text-align: center; font-size: 16px; font-weight: 500; color: #000; }
.hd__drop a:hover, .hd__drop a.is-on { color: var(--teal); font-weight: 700; }
.mnav { display: none; }

/* ── 메인 영상 슬라이드 ── */
.mainvis { position: relative; height: 800px; overflow: hidden; background: #222; }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.12); transition: opacity 1s, transform 3s; }
.slide.is-on { opacity: 1; transform: scale(1); z-index: 1; }
.slide::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.38); }
.slide__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide__txt { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%; text-align: center; color: #fff; z-index: 2; }
.slide__txt span { display: block; font-size: 12px; letter-spacing: 3px; font-weight: 700; opacity: .7; }
.slide__txt h1, .slide__txt .slide__h { font-size: 50px; font-weight: 700; margin: 18px 0 0; line-height: 1.3; }
.slide__txt b { color: var(--orange-lt); }
.slide__txt p { font-size: 20px; line-height: 32px; margin: 25px 0 40px; }
.mainvis__prev, .mainvis__next { position: absolute; top: 50%; z-index: 3; width: 44px; height: 44px; margin-top: -22px; border: 0; background: none; }
.mainvis__prev { left: 50px; } .mainvis__next { right: 50px; }
.mainvis__prev::before, .mainvis__next::before { content: ""; display: block; width: 18px; height: 18px; margin: 0 auto; border-top: 2px solid #fff; border-left: 2px solid #fff; transform: rotate(-45deg); }
.mainvis__next::before { transform: rotate(135deg); }
.mainvis__dots { position: absolute; bottom: 50px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.mainvis__dots button { width: 40px; height: 6px; border: 0; padding: 0; background: rgba(255,255,255,.45); }
.mainvis__dots button.is-on { background: #fff; }

/* ── 섹션 제목 (레퍼런스 .sec_tit) ── */
.sec_tit h2 { font-size: 38px; font-weight: 400; line-height: 52px; }
.sec_tit2 h2 { font-size: 44px; }
.sec_tit h2 b { color: var(--teal); font-weight: 700; }
.sec_tit p { font-size: 18px; line-height: 30px; }
.sec_tit > span { display: block; font-size: 11px; font-weight: 700; letter-spacing: 2px; opacity: .3; margin-bottom: 25px; }
.sec_tit.center { text-align: center; }
.sec_tit.center p { margin-top: 20px; }

/* 병원 소개 */
.sec1_1 { padding: 150px 0; position: relative; }
.sec1_1 .container { display: flex; justify-content: space-between; align-items: center; }
.sec1_1__img { width: 44%; } .sec1_1__img img { width: 100%; }
.sec1_1__txt { width: 50%; }
.sec1_1__txt p { margin-top: 30px; }
.letter { position: absolute; right: 0; top: 0; width: 8%; height: 100%; z-index: -1; border-left: 1px solid var(--line); overflow: hidden; text-align: center; }
.letter span { display: block; writing-mode: vertical-rl; font-size: 100px; font-weight: 900; letter-spacing: 10px; color: #ccc; opacity: .3; white-space: nowrap; margin: 0 auto; }

/* 부위별 바로가기 */
.sec1_2 { padding: 150px 0; background: var(--mint); }
.sec1_2 ul { display: flex; flex-wrap: wrap; justify-content: space-between; width: 1000px; max-width: calc(100% - 40px); margin: 0 auto; row-gap: 45px; }
.sec1_2 li { width: 230px; height: 230px; background: #fff; position: relative; overflow: hidden; }
.sec1_2 li a { display: block; width: 100%; height: 100%; position: relative; }
.sec1_2 li p { font-size: 20px; font-weight: 700; color: var(--teal); padding: 35px 0 0 35px; }
.sec1_2 li p span { display: block; font-size: 11px; font-weight: 900; letter-spacing: .5px; color: #000; opacity: .2; text-transform: uppercase; margin-bottom: 6px; }
.part__ic { position: absolute; right: 30px; bottom: 30px; width: 80px; height: 80px; }  /* 아이콘 자리 (일러스트 확정 후) */
.sec1_2 li::before, .sec1_2 li::after, .sec1_2 li a::before, .sec1_2 li a::after { content: ""; position: absolute; background: var(--teal); transition: none; z-index: 1; }
.sec1_2 li::before, .sec1_2 li::after { width: 0; height: 6px; }
.sec1_2 li a::before, .sec1_2 li a::after { width: 6px; height: 0; }
.sec1_2 li::after { top: 0; left: 0; } .sec1_2 li::before { bottom: 0; right: 0; }
.sec1_2 li a::before { left: 0; bottom: 0; } .sec1_2 li a::after { right: 0; top: 0; }
.sec1_2 li:hover::after, .sec1_2 li:hover::before { width: 100%; }
.sec1_2 li:hover a::before, .sec1_2 li:hover a::after { height: 100%; }
.sec1_2 li:hover a::after { transition-delay: .2s; } .sec1_2 li:hover::before { transition-delay: .4s; } .sec1_2 li:hover a::before { transition-delay: .6s; }

/* 의료진 */
.sec2 { background: var(--gray); padding: 150px 0; }
.doc { margin-top: 80px; display: flex; justify-content: space-between; align-items: flex-start; }
.doc + .doc { margin-top: 120px; }
.doc--rev { flex-direction: row-reverse; }
.doc__txt { width: 65%; }
.doc__name { border-top: 2px solid var(--teal); background: rgba(255,255,255,.5); padding: 25px; }
.doc__name h3 { display: inline; font-size: 28px; font-weight: 700; }
.doc__name span { display: inline-block; font-size: 18px; font-weight: 700; background: var(--teal); color: #fff; margin-left: 10px; padding: 4px 10px; position: relative; top: -3px; }
.career { display: flex; border-top: 1px solid var(--line); }
.career ul { width: 50%; margin-top: 35px; }
.career li, .sq li { font-size: 17px; line-height: 32px; }
.career li::before, .sq li::before { content: ""; display: inline-block; width: 5px; height: 5px; background: var(--teal); position: relative; top: -4px; margin-right: 10px; }
.doc__img { width: 30%; } .doc__img img { width: 100%; }

/* 수련·진료 병원 */
.sec3 { padding: 150px 0; }
.hosp { display: flex; justify-content: center; margin-top: 80px; }
.hosp li { position: relative; margin: 0 12px; width: 270px; height: 190px; border: 1px solid var(--line); background: #fff; transition: transform .3s, box-shadow .3s; }
.hosp li:hover { transform: scale(1.06); border-color: var(--teal); box-shadow: 0 5px 5px #ccc; }
.hosp__logo { position: absolute; top: 38%; left: 50%; transform: translate(-50%, -50%); width: 210px; height: 64px; display: grid; place-items: center; }
.hosp__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.hosp p { position: absolute; left: 0; bottom: 0; width: 100%; padding: 20px 0; font-size: 16px; text-align: center; background: var(--gray); border-top: 1px solid var(--line); }

/* 비수술 치료 · 특화 클리닉 · 언론 카드 */
.sec4 { background: var(--gray); padding: 150px 0; }
.sec5 { padding: 150px 0; }
.cards { width: 1000px; max-width: 100%; margin: 80px auto 0; display: flex; justify-content: center; gap: 50px; }
.cards--2 { width: 700px; }
.cards li { width: 300px; transition: transform .3s, box-shadow .3s; }
.sec5 .cards li { border: 1px solid var(--line); }
.card__pic { width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: #eef1f6; }
.card__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s, box-shadow .3s; }
.cards li:hover .card__pic img { transform: scale(1.1); }
.cards li p { position: relative; font-size: 18px; font-weight: 700; color: #fff; background: var(--teal); padding: 30px; }
.cards li p em { display: block; font-style: normal; font-size: 14px; font-weight: 500; opacity: .75; margin-bottom: 8px; }
.cards li p span { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 14px; font-weight: 700; }
.arr { width: 20px; height: 10px; transition: transform .5s; }
.cards li:hover { transform: translateY(-20px); box-shadow: 0 10px 10px #ccc; }
.cards li:hover p span { color: var(--orange-lt); }
.cards li:hover .arr { transform: translateX(12px); }
.cards--media .card__pic { aspect-ratio: 4 / 3; }
.cards--media li p { min-height: 170px; }
.sec-media { background: #fff; }
.more { text-align: center; margin-top: 60px; }
.more a { display: inline-flex; align-items: center; gap: 12px; padding: 16px 36px; border: 1px solid var(--ink); font-size: 16px; font-weight: 600; }
.more a:hover { background: var(--teal); border-color: var(--teal); color: #fff; }

/* 둘러보기 */
.sec6 { padding: 150px 0; background-size: cover; background-position: center; background-attachment: fixed; position: relative; color: #fff; }
.sec6::before { content: ""; position: absolute; inset: 0; background: rgba(7, 31, 94, .88); }
.sec6 .container { position: relative; }
.sec6 .sec_tit h2 b { color: var(--orange-lt); }
.tour { display: flex; gap: 20px; margin-top: 70px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 30px; scrollbar-color: rgba(255,255,255,.6) rgba(255,255,255,.12); }
.tour li { flex: 0 0 380px; height: 328px; scroll-snap-align: start; }
.tour img { width: 100%; height: 100%; object-fit: cover; }
.tour .slot { background: rgba(255,255,255,.08); border: 1px dashed rgba(255,255,255,.3); }
.tour .slot span { color: rgba(255,255,255,.7); }

/* 오시는 길 */
.sec7 { padding: 150px 0; }
.map { margin-top: 80px; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map_txt { margin-top: 60px; display: flex; justify-content: space-between; }
.map_left { width: 44%; display: flex; justify-content: space-between; }
.map_right { width: 50%; }
.map_box h3 { font-size: 28px; font-weight: 700; margin-right: 50px; white-space: nowrap; }
.map_box h3 span { display: block; font-size: 11px; font-weight: 900; letter-spacing: .5px; opacity: .2; margin-bottom: 6px; }
.map_box ul li { font-size: 18px; padding-bottom: 15px; display: flex; }
.map_box ul li span { font-weight: 700; width: 80px; margin-right: 25px; text-align: justify; text-align-last: justify; }
.map_box ul li.dosu { display: block; background: var(--teal); color: #fff; font-size: 16px; font-weight: 500; padding: 4px 15px; border-radius: 50px; text-align: center; margin-bottom: 15px; }
.map_box strong { display: block; background: var(--gray); border: 1px solid var(--line); padding: 15px; font-size: 14px; font-weight: 600; text-align: center; margin-top: 11px; }
.map_box_top, .map_box_bottom { display: flex; }
.map_box_top p { font-size: 18px; line-height: 28px; }
.map_box_top p a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.map_box_bottom { align-items: center; margin-top: 50px; }
.tel { font-size: 28px; font-weight: 700; letter-spacing: 0; white-space: nowrap; }
.btn-book { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; background: var(--orange); color: #fff; font-size: 17px; font-weight: 700; border-radius: 4px; transition: background .2s; }
.btn-book:hover { background: var(--teal); }
.map_box_bottom .btn-book { margin-left: 30px; }

/* ── 푸터 ── */
.ft__top { background: #000; }
.ft__top ul { display: flex; }
.ft__top li { margin-right: 30px; }
.ft__top a { display: block; padding: 20px 0; font-size: 14px; color: #fff; opacity: .55; }
.ft__top a:hover { opacity: 1; }
.ft__bt { background: #111; padding: 80px 0; }
.ft__logo { margin-bottom: 20px; } .ft__logo img { width: 220px; height: auto; }
.ft__bt p { font-size: 15px; color: #e5e5e5; line-height: 35px; }
.ft__bt span { display: inline-block; margin: 0 10px 0 0; }
.ft__bt span b { margin-right: 8px; }
.ft__line { display: inline-block; width: 2px; height: 11px; background: #fff; opacity: .3; margin-right: 10px; }
.ft__copy { font-size: 13px !important; color: #888 !important; margin-top: 16px; }

@media (prefers-reduced-motion: reduce) { .slide { transition: opacity .3s; } }
.mbar { display: none; }

/* ── 서브페이지: 사진 배너 + 왼쪽 하위메뉴 + 본문 ── */
.subvis { height: 260px; background-size: cover; background-position: center 35%; position: relative; display: grid; place-items: center; text-align: center; color: #fff; }
.subvis::before { content: ""; position: absolute; inset: 0; background: rgba(10, 25, 27, .62); }
.subvis__in { position: relative; }
.subvis h2, .subvis .subvis__t { font-size: 36px; font-weight: 600; margin: 0; }
.subvis p { font-size: 18px; margin-top: 14px; }
.sub { display: flex; align-items: flex-start; gap: 70px; padding-bottom: 150px; }
.lnb { width: 248px; flex: none; background: var(--gray); min-height: 600px; }
.lnb__tit { background: var(--teal); color: #fff; font-size: 18px; font-weight: 500; padding: 26px 20px; }
.lnb li a { display: block; padding: 20px; font-size: 15px; font-weight: 500; border-bottom: 1px solid var(--line); }
.lnb li a.is-on, .lnb li a:hover { color: var(--teal); font-weight: 700; background: #fff; }
.sub__main { flex: 1; min-width: 0; padding-top: 60px; }
.sub--full .sub__main { max-width: 900px; margin: 0 auto; }
.sub__top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.sub__top h2, .sub__top .sub__tit { font-size: 20px; font-weight: 700; }
.bc { display: flex; gap: 8px; font-size: 15px; color: #555; }
.bc > * + *::before { content: "›"; margin-right: 8px; color: #aaa; }
.bc strong { color: var(--teal); }
.sub__h1 { font-size: 32px; font-weight: 700; text-align: center; margin-top: 70px; }
.sub__h1::before { content: ""; display: block; width: 30px; height: 3px; background: var(--ink); margin: 0 auto 28px; }
.sub-lead { font-size: 18px; line-height: 30px; text-align: center; color: #333; margin: 20px auto 0; max-width: 640px; }

/* 서브 본문 부품 */
.cs { margin-top: 90px; }
.cs.ground-surface { background: var(--gray); padding: 50px; }
.c-head { text-align: center; margin-bottom: 40px; }
.c-head h2 { font-size: 26px; font-weight: 700; }
.c-head p { font-size: 16px; line-height: 28px; color: #444; margin-top: 12px; }
.c-head .link { display: inline-block; margin-top: 12px; }
.pill { display: inline-block; padding: 6px 18px; border: 1px solid var(--teal); border-radius: 50px; color: var(--teal); font-size: 20px; font-weight: 700; margin-bottom: 18px; }
.link { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.cs p, .prose p { font-size: 16px; line-height: 32px; }
.prose { display: grid; gap: 14px; }
.prose .eyebrow { display: inline-block; justify-self: start; padding: 5px 16px; border: 1px solid var(--teal); border-radius: 50px; color: var(--teal); font-size: 15px; font-weight: 700; }
.prose .h2, h2.h2 { font-size: 26px; font-weight: 700; line-height: 1.45; }
.h3 { font-size: 20px; font-weight: 700; line-height: 1.5; }
.note { font-size: 14px !important; color: #888; }
.muted { color: #555; }
.small { font-size: 15px; }
.narrow { max-width: 760px; margin: 0 auto; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split.top { align-items: start; }
.split-65 { grid-template-columns: 6fr 5fr; } .split-56 { grid-template-columns: 5fr 6fr; }
.pic { overflow: hidden; border-radius: 12px; background: var(--gray); }
.pic img { width: 100%; height: 100%; object-fit: cover; }
.ratio-43 { aspect-ratio: 4 / 3; } .ratio-45 { aspect-ratio: 4 / 5; } .ratio-11 { aspect-ratio: 1 / 1; }
.slot { display: grid; place-items: center; background: #eef1f6; border-radius: 12px; min-height: 160px; }
.slot span { font-size: 13px; color: #5f6878; }
.intro { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; margin-top: 70px; }
.intro__txt p { font-size: 16px; line-height: 32px; }
.dash li, .sq li { font-size: 16px; line-height: 32px; }
.dash li { padding-left: 14px; position: relative; } .dash li::before { content: ""; position: absolute; left: 0; top: 15px; width: 6px; height: 1px; background: #777; }
ul.ticks { display: grid; gap: 10px; } ul.ticks.cols { grid-template-columns: 1fr 1fr; gap: 12px 30px; }
ul.ticks li { font-size: 16px; line-height: 28px; padding-left: 28px; position: relative; }
ul.ticks li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 12px; height: 7px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.cases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cases li { text-align: center; }
.case__no { display: inline-block; background: var(--orange); color: #fff; font-size: 10px; font-weight: 700; line-height: 30px; padding: 0 14px; border-radius: 30px; margin-bottom: 12px; }
.cases .slot { min-height: 0; margin-bottom: 14px; }
.cases p { font-size: 15px; font-weight: 500; line-height: 25px; }
.links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.links a { display: grid; gap: 6px; padding: 24px 26px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--teal); height: 100%; transition: transform .3s, box-shadow .3s; }
.links a:hover { transform: translateY(-4px); box-shadow: 0 8px 14px rgba(0,0,0,.08); }
.links b { font-size: 18px; font-weight: 700; }
.links span { font-size: 15px; line-height: 25px; color: #555; }
.links i { font-style: normal; font-size: 14px; font-weight: 700; color: var(--teal); margin-top: 6px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.steps li { background: #fff; border: 1px solid var(--line); padding: 26px 22px; display: grid; gap: 8px; align-content: start; }
.steps__no { font-size: 12px; font-weight: 800; color: var(--teal); letter-spacing: 1px; }
.steps b { font-size: 18px; }
.steps p { font-size: 15px !important; line-height: 25px !important; color: #555; }
.kv { display: grid; grid-template-columns: max-content 1fr; border-top: 2px solid var(--ink); }
.kv dt, .kv dd { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 28px; }
.kv dt { font-weight: 700; padding-right: 40px; }
.faq { border-top: 2px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { padding: 22px 0; font-size: 17px; font-weight: 700; cursor: pointer; list-style: none; }
.faq__item summary::before { content: "Q"; color: var(--teal); margin-right: 12px; font-weight: 800; }
.faq__item p { padding: 0 0 22px 28px; color: #444; }
.check { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check label { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: #fff; border: 1px solid var(--line); cursor: pointer; font-size: 16px; line-height: 26px; }
.check input { flex: none; width: 20px; height: 20px; margin-top: 3px; accent-color: var(--teal); }
.check label:has(input:checked) { border-color: var(--teal); }
.check-result { margin-top: 18px; padding: 16px 18px; border-left: 3px solid var(--teal); background: #fff; font-size: 16px; }
.tbl-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 560px; border-top: 2px solid var(--ink); }
.tbl th, .tbl td { padding: 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tbl thead th { background: var(--gray); font-weight: 700; }
.tbl caption { text-align: left; font-weight: 700; padding-bottom: 10px; }
.sched td, .sched th { text-align: center !important; }
.hlist li { display: flex; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.hlist em { font-style: normal; color: var(--teal); margin-left: 8px; font-weight: 600; }
.rlist > li { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 30px; }
.rlist > li > b { font-size: 18px; }
.board { border-top: 2px solid var(--ink); }
.board li { border-bottom: 1px solid var(--line); }
.board .row { display: grid; grid-template-columns: 90px 1fr 110px; gap: 20px; padding: 20px 10px; align-items: center; font-size: 16px; }
.board a.row:hover b { color: var(--teal); }
.board .cat { font-size: 14px; font-weight: 700; color: var(--teal); }
.board .date { font-size: 14px; color: #888; text-align: right; }
.post { display: grid; grid-template-columns: 320px 1fr; gap: 36px; padding-top: 60px; align-items: start; }
.tagline { display: flex; flex-wrap: wrap; gap: 8px; }
.tagline span { padding: 6px 14px; border: 1px solid var(--line); border-radius: 50px; font-size: 14px; }
.eq-row { display: grid; grid-template-columns: 320px 1fr; gap: 36px; padding: 36px 0; border-bottom: 1px solid var(--line); align-items: center; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery .wide { grid-column: span 2; }
.gallery > * { aspect-ratio: 4 / 3; }
.region { padding: 50px 0; border-top: 1px solid var(--line); }
.region:first-child { border-top: 0; padding-top: 0; }
.region-head { display: grid; grid-template-columns: 220px 1fr; gap: 30px; }
.region-head h2 { font-size: 24px; font-weight: 700; color: var(--teal); }
.region-head p { font-size: 15px !important; line-height: 25px !important; margin-top: 8px; color: #555; }
.d-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.d-grid a { display: grid; gap: 4px; padding: 18px 20px; border: 1px solid var(--line); background: #fff; }
.d-grid a:hover { border-color: var(--teal); }
.d-grid b { font-size: 17px; } .d-grid span { font-size: 14px; color: #666; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-row a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 50px; font-size: 14px; }
.pill-row a:hover { border-color: var(--teal); color: var(--teal); }
.cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; background: var(--teal); color: #fff; padding: 40px 50px; }
.cta h2 { font-size: 22px; font-weight: 700; } .cta p { font-size: 15px !important; line-height: 25px !important; opacity: .9; margin-top: 6px; }
.cta__acts { display: flex; align-items: center; gap: 24px; flex: none; }
.cta__tel { font-size: 22px; font-weight: 700; }
.map-box iframe { width: 100%; height: 100%; min-height: 360px; border: 0; }

/* 의료진 소개 (서브) */
.dr { display: grid; grid-template-columns: 260px 1fr; gap: 50px; padding: 70px 0; border-bottom: 1px solid var(--line); align-items: start; }
.dr__img img { width: 100%; border-radius: 12px; }
.dr__name { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.dr__name span { font-size: 26px; font-weight: 700; }
.dr__name b { font-size: 18px; font-weight: 900; }
.dr__name strong { font-size: 14px; font-weight: 800; color: #fff; background: var(--teal); padding: 3px 10px; border-radius: 4px; }
.dr__tags { font-size: 15px !important; color: var(--teal); font-weight: 600; margin-bottom: 18px; }
.dr__sched { margin-top: 36px; }

/* ── 태블릿 ── */
@media (max-width: 1240px) {
  .doc__txt { width: 62%; } .career li { font-size: 16px; }
  .sub { gap: 40px; }
}
/* ── 모바일 (레퍼런스 799px 기준) ── */
@media (max-width: 899px) {
  :root { --hd: 70px; }
  .hd__logo .container { height: 70px; }
  .hd__brand img { width: 160px; }
  .hd__tel, .hd__loc { display: none; }
  .hd__toggle { display: grid; gap: 5px; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; place-content: center; border: 0; background: none; }
  .hd__toggle i { display: block; width: 24px; height: 2px; background: var(--ink); }
  .hd__menu { display: none; }
  .mnav { position: fixed; top: var(--hd); left: 0; right: 0; bottom: 0; background: #fff; overflow-y: auto; padding: 10px 20px 120px; z-index: 9999; }
  .mnav:not([hidden]) { display: block; }
  .mnav > ul > li { border-bottom: 1px solid var(--line); padding: 16px 0; }
  .mnav p { font-size: 18px; font-weight: 700; color: var(--teal); margin-bottom: 8px; }
  .mnav li li a { display: block; padding: 9px 0; font-size: 16px; }
  .mainvis { height: 500px; }
  .slide__txt h1, .slide__txt .slide__h { font-size: 28px; line-height: 1.35; }
  .slide__txt p, .slide__txt h1 { padding: 0 48px; } .slide__txt p { font-size: 15px; line-height: 25px; }
  .slide__txt p br { display: none; }
  .slide__txt span { display: none; }
  .mainvis__prev { left: 10px; } .mainvis__next { right: 10px; }
  .mainvis__dots { bottom: 30px; } .mainvis__dots button { width: 20px; height: 5px; }
  .sec_tit h2, .sec_tit2 h2 { font-size: 22px; line-height: 34px; text-align: center; }
  .sec_tit p { font-size: 15px; line-height: 26px; margin-top: 15px; text-align: center; }
  .sec_tit p br { display: none; }
  .sec_tit > span { display: none; }
  .sec1_1, .sec1_2, .sec2, .sec3, .sec4, .sec5, .sec6, .sec7 { padding: 75px 0; }
  .sec1_1 .container { display: block; }
  .sec1_1__img, .sec1_1__txt { width: 100%; }
  .sec1_1__txt { margin-top: 30px; }
  .letter { display: none; }
  .sec1_2 ul { row-gap: 15px; }
  .sec1_2 li { width: 48%; height: 150px; border-radius: 15px; }
  .sec1_2 li p { font-size: 16px; padding: 28px 0 0; text-align: center; }
  .sec1_2 li p span { font-size: 10px; }
  .doc, .doc--rev { flex-direction: column-reverse; margin-top: 40px; }
  .doc + .doc { margin-top: 60px; }
  .doc__txt { width: 100%; } .doc__img { width: 80%; margin: 0 auto 24px; } .doc__img img { border-radius: 20px; }
  .doc__name { padding: 15px; } .doc__name h3 { font-size: 20px; } .doc__name span { font-size: 14px; border-radius: 50px; }
  .career { display: block; padding-left: 10px; } .career ul { width: 100%; margin-top: 20px; }
  .career li, .sq li { font-size: 15px; line-height: 27px; }
  .hosp { flex-wrap: wrap; gap: 12px; margin-top: 40px; } .hosp li { margin: 0; width: calc(50% - 6px); height: 140px; } .hosp__logo { width: 85%; height: 46px; } .hosp p { font-size: 14px; padding: 14px 0; }
  .cards, .cards--2 { flex-direction: column; gap: 20px; margin-top: 40px; width: 100%; }
  .cards li { width: 100%; }
  .card__pic { aspect-ratio: 16 / 10; }
  .cards li p { font-size: 15px; padding: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
  .cards li p em { width: 100%; }
  .cards li p span { margin-top: 0; }
  .cards--media li p { min-height: 0; }
  .cards li:hover { transform: none; }
  .tour { margin-top: 40px; } .tour li { flex-basis: 78%; height: 250px; }
  .sec6 { background-attachment: scroll; }
  .map { margin-top: 40px; }
  .map_txt { display: block; margin-top: 40px; }
  .map_left, .map_right { width: 100%; display: block; }
  .map_box h3 { margin: 0 0 18px; text-align: center; font-size: 20px; }
  .map_box ul li { font-size: 15px; justify-content: center; }
  .map_box ul li span { width: 60px; font-size: 15px; }
  .map_box_top { display: block; background: var(--gray); padding: 30px 20px; margin-top: 30px; text-align: center; }
  .map_box_top p { font-size: 15px; line-height: 26px; }
  .map_box_bottom { display: block; text-align: center; margin-top: 30px; }
  .tel { font-size: 22px; display: block; }
  .map_box_bottom .btn-book { margin: 14px 0 0; }
  .ft__top ul { flex-wrap: wrap; } .ft__top li { width: 50%; margin: 0; border-right: 1px solid rgba(255,255,255,.2); }
  .ft__top li:nth-child(2n) { border-right: 0; } .ft__top li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.2); }
  .ft__top a { font-size: 13px; text-align: center; padding: 15px; }
  .ft__bt { padding: 50px 0 130px; } .ft__logo img { width: 150px; }
  .ft__bt p { font-size: 13px; line-height: 26px; }
  .ft__line { display: none; } .ft__bt span { display: block; }
  .fly { display: none; }
  /* 서브 */
  .subvis { height: 180px; } .subvis p { font-size: 14px; padding: 0 20px; } .subvis h2, .subvis .subvis__t { font-size: 22px; padding: 0; }
  .sub { display: block; padding-bottom: 80px; }
  .lnb { width: auto; min-height: 0; margin: 0 -20px; background: #fff; border-bottom: 1px solid var(--line); }
  .lnb__tit { display: none; }
  .lnb ul { display: flex; overflow-x: auto; }
  .lnb li a { white-space: nowrap; border-bottom: 2px solid transparent; padding: 16px 14px; }
  .lnb li a.is-on { border-bottom-color: var(--teal); }
  .sub__main { padding-top: 30px; }
  .sub__top { display: none; }
  .sub__h1 { font-size: 24px; margin-top: 20px; }
  .sub-lead { font-size: 15px; line-height: 26px; }
  .cs { margin-top: 60px; } .cs.ground-surface { padding: 30px 20px; margin-left: -20px; margin-right: -20px; }
  .c-head h2 { font-size: 21px; }
  .split, .split-65, .split-56, .post, .eq-row, .intro, .dr, .rlist > li, .region-head { grid-template-columns: 1fr; }
  .links, .check, .d-grid, ul.ticks.cols { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; } .gallery .wide { grid-column: span 2; }
  .board .row { grid-template-columns: 1fr; gap: 4px; } .board .date { text-align: left; }
  .cta { display: block; padding: 30px 20px; margin: 60px -20px 0; } .cta__acts { margin-top: 16px; flex-wrap: wrap; gap: 14px; }
  .dr { gap: 24px; padding: 50px 0; } .dr__img { max-width: 260px; }
}

/* 2026-11-30 기존 홈페이지 내용 반영: 네 가지 자부심, 치료 카드 4개, 의료진 이력 2단 */
.sec-pride { background: #fff; }
.pride { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: 80px; }
.pride li { display: grid; grid-template-columns: 240px 1fr; background: #fff; border: 1px solid var(--line); }
.pride__pic { aspect-ratio: 1 / 1; overflow: hidden; background: #eef1f6; }
.pride__pic img { width: 100%; height: 100%; object-fit: cover; }
.pride__txt { padding: 34px 32px; display: grid; align-content: center; gap: 10px; }
.pride__txt span { font-size: 14px; font-weight: 800; color: var(--orange); letter-spacing: 1px; }
.pride__txt h3 { font-size: 22px; font-weight: 700; color: var(--teal); }
.pride__txt p { font-size: 16px; line-height: 28px; color: #333; }
.cards--4 { width: 100%; gap: 30px; }
.cards--4 li { width: calc((100% - 90px) / 4); }
.dr__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 40px; }
.dr__h { font-size: 16px; font-weight: 700; color: var(--teal); margin: 22px 0 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
@media (max-width: 899px) {
  .pride { grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
  .pride li { grid-template-columns: 120px 1fr; }
  .pride__txt { padding: 18px; } .pride__txt h3 { font-size: 17px; } .pride__txt p { font-size: 14px; line-height: 23px; }
  .cards--4 li { width: 100%; }
  .dr__cols { grid-template-columns: 1fr; }
}

/* 2026-11-30 백업 자료 2차 반영: 시술 과정 그림, 담당 치료사, 학회 사진, 야간진료 */
.ratio-34 { aspect-ratio: 3 / 4; }
.fig-wide { margin-top: 50px; padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.fig-wide img { display: block; width: 100%; max-width: 900px; margin: 0 auto; }
.fig-wide figcaption { margin-top: 18px; text-align: center; font-size: 16px; color: #555; }
.staff { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 760px; }
.staff .pic { background: #eef1f6; }
.staff .pic img { object-position: center top; }
.staff p { margin-top: 12px; text-align: center; font-size: 17px; font-weight: 600; }
.gallery.acad .pic { aspect-ratio: auto; height: 100%; }
.gallery.acad > * { aspect-ratio: 4 / 3; }
.gallery .caps { aspect-ratio: auto; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 24px; background: var(--gray); border-radius: 12px; font-size: 16px; line-height: 27px; color: #444; }
.caps b { display: block; color: var(--teal); }
.sched th small { display: block; font-size: 13px; font-weight: 500; color: #777; }
.sched td.on { color: var(--teal); font-weight: 700; background: #eaf0fa; }
.night { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 20px; padding: 18px 20px; background: #eaf0fa; border-radius: 10px; font-size: 16px; }
.night b { width: 100%; color: var(--teal); font-size: 17px; }
.post .pic img[src*="press-mk"], .post .pic img[src*="notice-night"] { object-fit: contain; }
@media (max-width: 768px) {
  .staff { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .staff p { font-size: 14px; }
  .fig-wide { padding: 16px; }
  .gallery .caps { grid-column: 1 / -1; padding: 20px; }
}
.part__ic img { width: 100%; height: 100%; object-fit: contain; }

/* 2026-11-30 문제성 발톱 클리닉: 치료 전·후 사례를 페이지 맨 앞에 크게 */
.ba { margin-top: 50px; padding: 50px 50px 40px; background: #f4f6fa; border-radius: 16px; }
.ba__radio { position: absolute; opacity: 0; pointer-events: none; }
.ba__head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.ba__head .pill { margin: 0; font-size: 16px; }
.ba__head h2 { font-size: 30px; font-weight: 700; }
.ba__tabs { display: flex; gap: 8px; margin-left: auto; }
.ba__tabs label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid #d5d0ca; border-radius: 50px; background: #fff; font-size: 16px; font-weight: 600; cursor: pointer; }
.ba__tabs label span { font-size: 13px; color: #888; }
#ba0:checked ~ .ba__head label[for=ba0], #ba1:checked ~ .ba__head label[for=ba1], #ba2:checked ~ .ba__head label[for=ba2] { background: var(--teal); border-color: var(--teal); color: #fff; }
#ba0:checked ~ .ba__head label[for=ba0] span, #ba1:checked ~ .ba__head label[for=ba1] span, #ba2:checked ~ .ba__head label[for=ba2] span { color: rgba(255,255,255,.75); }
.ba__radio:focus-visible ~ .ba__head .ba__tabs { outline: 2px solid var(--teal); outline-offset: 4px; border-radius: 50px; }
.ba__panel { display: none; margin-top: 30px; }
#ba0:checked ~ .ba__panels .p0, #ba1:checked ~ .ba__panels .p1, #ba2:checked ~ .ba__panels .p2 { display: block; }
.ba__name { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 17px; }
.ba__name em { font-style: normal; font-size: 13px; padding: 3px 10px; border-radius: 50px; background: #fff; color: var(--teal); font-weight: 600; }
.ba__row { display: flex; align-items: center; gap: 10px; }
.ba__row .ba__shot { flex: 1; }
.ba__arr { flex: none; width: 22px; height: 22px; position: relative; }
.ba__arr::before { content: ""; position: absolute; inset: 5px 7px; border-top: 2px solid var(--teal); border-right: 2px solid var(--teal); transform: rotate(45deg); }
.ba__shot { position: relative; margin: 0; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 12px; background: #ddd; }
.ba__shot img { width: 100%; height: 100%; object-fit: cover; }
.ba__shot figcaption { position: absolute; left: 12px; top: 12px; padding: 5px 12px; border-radius: 50px; background: rgba(30,30,30,.72); color: #fff; font-size: 14px; font-weight: 600; }
.ba__shot.is-after figcaption { background: var(--teal); }
.ba__shot.is-after { box-shadow: 0 0 0 3px var(--teal); }
.ba__shot.is-temp::after { content: "임시 사진"; position: absolute; right: 10px; bottom: 10px; padding: 3px 9px; border-radius: 4px; background: rgba(255,255,255,.9); color: #b3261e; font-size: 12px; font-weight: 700; }
.ba__feat .ba__row.n2 { max-width: 720px; margin: 0 auto; }
.ba__more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; padding-top: 30px; border-top: 1px solid #ddd6ce; }
.ba__more .ba__name { font-size: 15px; margin-bottom: 8px; }
.ba__row.sm { gap: 6px; } .ba__row.sm .ba__arr { width: 14px; height: 14px; } .ba__row.sm .ba__arr::before { inset: 3px 4px; }
.ba__row.sm figcaption { left: 6px; top: 6px; padding: 3px 8px; font-size: 12px; }
.ba__note { margin-top: 26px; font-size: 14px; color: #666; }
.ba__temp { margin-top: 8px; font-size: 14px; color: #b3261e; font-weight: 600; }
.nail-sym { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.nail-sym > div { padding: 30px; border: 1px solid var(--line); border-radius: 12px; }
.nail-sym h3, .nail-h3 { font-size: 20px; font-weight: 700; color: var(--teal); margin-bottom: 16px; }
.nail-h3 { margin-top: 44px; }
.nail-stage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: st; }
.nail-stage li { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 0 0 12px 12px; }
.nail-stage li:nth-child(2) { border-top-color: #4f9a9d; } .nail-stage li:nth-child(3) { border-top-color: var(--orange); }
.nail-stage span { font-size: 14px; font-weight: 700; color: #888; }
.nail-stage b { display: block; margin: 6px 0 8px; font-size: 18px; }
.nail-stage p { font-size: 16px; line-height: 27px; color: #555; }
@media (max-width: 768px) {
  .ba { margin: 30px -20px 0; padding: 30px 16px; border-radius: 0; }
  .ba__head h2 { font-size: 22px; }
  .ba__tabs { margin-left: 0; width: 100%; overflow-x: auto; }
  .ba__tabs label { flex: none; padding: 0 14px; font-size: 15px; }
  .ba__row { gap: 4px; } .ba__arr { width: 12px; height: 12px; } .ba__arr::before { inset: 2px 3px; }
  .ba__shot figcaption { left: 6px; top: 6px; padding: 3px 8px; font-size: 12px; }
  .ba__shot.is-temp::after { font-size: 10px; right: 4px; bottom: 4px; padding: 2px 5px; }
  .ba__more { grid-template-columns: 1fr; gap: 20px; }
  .nail-sym, .nail-stage { grid-template-columns: 1fr; }
}
.ba__more .ba__name { min-height: 26px; }


/* ── 2026-12-01 오른쪽 플로팅 (관리자 '기본 설정'에서 링크 · 표시 관리) ── */
.fly { position: fixed; right: 24px; top: 50%; transform: translateY(-50%); z-index: 9998; }
.fly ul { width: 84px; background: #fff; border: 1px solid var(--line); border-radius: 42px; padding: 10px 0; box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.fly li + li { border-top: 1px solid #f0f0f0; }
.fly a { display: grid; justify-items: center; gap: 6px; padding: 11px 4px; font-size: 12.5px; font-weight: 600; color: #222; line-height: 1.25; text-align: center; }
.fly a:hover .fly__tx { color: var(--teal); }
.fly__ic, .mbar__ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gray); color: #333; }
.fly__ic svg { width: 19px; height: 19px; } .mbar__ic svg { width: 17px; height: 17px; }
.fly__ic b, .mbar__ic b { font-size: 16px; font-weight: 800; line-height: 1; }
.fly--naver_book .fly__ic, .fly--naver_book .mbar__ic { background: #03c75a; color: #fff; }
.fly--kakao .fly__ic, .fly--kakao .mbar__ic { background: #fee500; color: #191919; }
.fly--blog .fly__ic, .fly--blog .mbar__ic { background: #fff; color: #03c75a; box-shadow: inset 0 0 0 1.5px #03c75a; }
.fly--instagram .fly__ic, .fly--instagram .mbar__ic { color: #c13584; }
.fly--youtube .fly__ic, .fly--youtube .mbar__ic { color: #ff0000; }
.fly--tel .fly__ic, .fly--location .fly__ic { color: var(--teal); }
.fly--top .fly__ic { background: var(--teal); color: #fff; }
.fly a.is-empty { opacity: .45; cursor: default; }
@media (max-height: 720px) { .fly a { padding: 7px 4px; } .fly__ic { width: 28px; height: 28px; } }
@media (max-width: 899px) {
  .mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9998; background: #fff; border-top: 1px solid var(--line); }
  .mbar a { flex: 1; display: grid; justify-items: center; gap: 4px; padding: 9px 0 calc(9px + env(safe-area-inset-bottom)); font-size: 13px; font-weight: 600; color: #222; }
  .mbar__ic { width: 28px; height: 28px; } .mbar__ic b { font-size: 14px; }
  .fly--tel .mbar__ic, .fly--location .mbar__ic { color: var(--teal); }
  .mbar a.is-empty { opacity: .45; }
}

/* ── 지도 (카카오맵 퍼가기) ── */
.kmap { height: 420px; background: var(--gray); overflow: hidden; }
.kmap .root_daum_roughmap { width: 100% !important; height: 100% !important; }
.kmap .root_daum_roughmap .wrap_map { height: 100% !important; }
.kmap .root_daum_roughmap .cont { display: none; }
.kmap--empty { display: grid; place-items: center; background: #f1f4f9; }
.kmap__card { text-align: center; color: #333; }
.kmap__card svg { width: 44px; height: 44px; color: var(--teal); margin: 0 auto 12px; display: block; }
.kmap__card b { font-size: 20px; display: block; margin-bottom: 8px; }
.kmap__card p { font-size: 16px; line-height: 1.6; color: #555; }
.kmap__links { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.kmap__links a { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border: 1px solid var(--line); background: #fff; font-size: 15px; font-weight: 600; }
.kmap__links a:first-child::before { content: "N"; line-height: 1; display: grid; place-items: center; width: 20px; height: 20px; margin-right: 8px; background: #03c75a; color: #fff; font-weight: 800; font-size: 12px; border-radius: 3px; }
.kmap__links a:last-child::before { content: ""; width: 20px; height: 20px; margin-right: 8px; background: #fee500; border-radius: 3px; }
.kmap__links a:hover { border-color: var(--teal); color: var(--teal); }
.map-box .kmap { height: 100%; min-height: 360px; }
@media (max-width: 899px) { .kmap { height: 300px; } .map-box .kmap { min-height: 300px; } }

/* ── 비급여 · 서류 발급 (한 페이지) ── */
.fee-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.fee-tabs a { padding: 12px 22px; border: 1px solid var(--teal); color: var(--teal); font-weight: 700; font-size: 16px; }
.fee-tabs a:hover { background: var(--teal); color: #fff; }
.fee-intro p { font-size: 17px; line-height: 1.8; color: #444; }
.fee-intro .note { margin-top: 10px; }
.fee-group + .fee-group { margin-top: 50px; }
.fee-group__tit { font-size: 20px; font-weight: 700; color: var(--teal); margin-bottom: 14px; }
.tbl--fee th[scope=row] { font-weight: 600; }
.tbl--fee td:first-child { width: 150px; color: #666; font-size: 15px; }
.tbl--fee .num { width: 200px; white-space: nowrap; font-weight: 700; text-align: right; }
.tbl--fee thead th:nth-child(3) { text-align: right; }
.tbl--fee .fee-note { width: 34%; font-size: 15px; color: #555; }
.fee-date { margin-top: 16px; font-size: 14px; color: #777; }
#fees, #docs { scroll-margin-top: 90px; }
.post--noimg { grid-template-columns: 1fr; }
.post__date { margin-top: 4px; }
.board-empty { padding: 40px 0; text-align: center; color: #888; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
@media (max-width: 768px) {
  table.tbl--fee, .tbl--fee tbody { display: block; min-width: 0; width: 100%; font-size: 15px; }
  .tbl--fee thead { display: none; }
  .tbl--fee tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .tbl--fee td, .tbl--fee th { padding: 0; border: 0; width: auto !important; }
  .tbl--fee td:first-child { grid-column: 1 / -1; font-size: 13px; }
  .tbl--fee th[scope=row] { grid-column: 1; }
  .tbl--fee .num { grid-column: 2; grid-row: 2; }
  .tbl--fee .fee-note { grid-column: 1 / -1; font-size: 14px; }
  .tbl--fee .fee-note:empty { display: none; }
}

/* ── 팝업 (관리자에서 등록, 기본 없음) ── */
.pop-layer { position: fixed; inset: 0; z-index: 10000; background: rgba(0,0,0,.45); display: flex; align-items: center; justify-content: center; gap: 20px; padding: 20px; flex-wrap: wrap; }
.pop { background: #fff; width: min(420px, 100%); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.pop img { display: block; width: 100%; height: auto; max-height: 70vh; object-fit: contain; }
.pop__bar { display: flex; border-top: 1px solid var(--line); }
.pop__bar button { flex: 1; height: 48px; border: 0; background: #fff; font-size: 15px; }
.pop__bar button + button { border-left: 1px solid var(--line); font-weight: 700; }

/* ── 2026-12-01 헤더 왼쪽: 대표번호 + 진료시간 ── */
.hd__info { position: absolute; left: 0; top: 50%; transform: translateY(-50%); }
.hd__info .hd__tel { position: static; transform: none; display: flex; align-items: baseline; gap: 10px; color: #222; }
.hd__info .hd__tel span { font-size: 13px; font-weight: 600; color: var(--teal); margin: 0; }
.hd__info .hd__tel b { font-size: 24px; font-weight: 800; letter-spacing: -.3px; color: #1e1e1e; line-height: 1.1; }
.hd__hours { display: flex; align-items: center; gap: 12px; margin-top: 6px; font-size: 13.5px; color: #555; white-space: nowrap; }
.hd__hours span b { font-weight: 700; color: #222; margin-right: 5px; }
.hd__hours span + span::before { content: ""; display: inline-block; width: 1px; height: 10px; background: #ccc; margin-right: 12px; }
.hd__hours em { font-style: normal; font-size: 12px; font-weight: 700; color: #fff; background: var(--teal); padding: 2px 8px; border-radius: 20px; }
.hd__loc { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--teal); padding: 10px 16px; border: 1px solid var(--teal); border-radius: 30px; font-size: 14px; }
.hd__loc svg { width: 16px; height: 16px; }
.hd__loc:hover { background: var(--teal); color: #fff; }
@media (max-width: 1240px) { .hd__hours em { display: none; } .hd__info .hd__tel b { font-size: 21px; } }
@media (max-width: 1100px) { .hd__hours { display: none; } }
@media (max-width: 899px) { .hd__info { display: none; } }

/* 카카오 지도 API */
.kmap--api { position: relative; }
.kmap__noscript { display: grid; place-items: center; height: 100%; color: #666; font-size: 16px; }
.kmap--fail .kmap__noscript::before { content: "지도를 불러오지 못했습니다 · "; }
.kmap__label { display: block; padding: 8px 14px; background: var(--teal); color: #fff !important; font-size: 14px; font-weight: 700; border-radius: 4px; box-shadow: 0 3px 8px rgba(0,0,0,.2); white-space: nowrap; }

/* ── 2026-12-01 의료진 소개: 약력 묶음형 ── */
.drx-nav { display: flex; justify-content: center; gap: 12px; margin: 36px 0 10px; }
.drx-nav a { display: flex; align-items: center; gap: 12px; padding: 8px 20px 8px 8px; border: 1px solid var(--line); border-radius: 50px; font-size: 16px; background: #fff; }
.drx-nav a:hover { border-color: var(--teal); color: var(--teal); }
.drx-nav img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: top; }
.drx { padding: 60px 0 70px; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.drx__head { display: grid; grid-template-columns: 280px 1fr; gap: 50px; align-items: start; }
.drx__img img { width: 100%; border-radius: 12px; background: #eef0f0; }
.drx__badge { display: inline-block; font-size: 14px; font-weight: 700; color: #fff; background: var(--teal); padding: 4px 12px; border-radius: 4px; }
.drx__name { font-size: 34px; font-weight: 800; letter-spacing: -.5px; margin: 12px 0 26px; color: #1e1e1e; }
.drx__name span { font-size: 20px; font-weight: 600; color: #555; margin-left: 6px; }
.drx__h { font-size: 15px; font-weight: 700; color: var(--teal); margin: 0 0 10px; }
.drx__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.drx__tags li { padding: 7px 14px; background: #eef3fa; color: #071f5e; border-radius: 30px; font-size: 15px; font-weight: 600; }
.drx__key { border-top: 2px solid #1e1e1e; }
.drx__key li { padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 600; color: #222; }
.drx__key li:first-child { color: var(--teal); }
.drx__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.drx__grid section { background: var(--gray); border-radius: 10px; padding: 26px 28px; }
.drx__grid h3, .drx__papers h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid #e1e4e4; }
.drx__grid li { position: relative; padding: 5px 0 5px 14px; font-size: 16px; line-height: 1.55; color: #333; }
.drx__grid li::before { content: ""; position: absolute; left: 0; top: 15px; width: 5px; height: 5px; background: var(--teal); }
.drx__papers { margin-top: 44px; }
.drx__papers ol li { display: grid; grid-template-columns: 70px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.drx__papers .yr { font-size: 16px; font-weight: 800; color: var(--teal); }
.drx__papers .t { font-size: 16px; font-weight: 600; line-height: 1.5; color: #222; }
.drx__papers .j { font-size: 14px; color: #666; margin-top: 4px; word-break: break-all; }
.drx__papers .j a { color: var(--teal); }
.drx__more { margin-top: 14px; font-size: 15px; }
.drx__pics { display: flex; gap: 14px; margin-top: 30px; }
.drx__pics:empty { display: none; }
.drx__pics figure { flex: 1; max-width: 33%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; background: #eee; }
.drx__pics img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) {
  .drx-nav { flex-wrap: wrap; }
  .drx { padding: 40px 0 50px; }
  .drx__head { grid-template-columns: 1fr; gap: 24px; }
  .drx__img { max-width: 240px; }
  .drx__name { font-size: 28px; margin-bottom: 20px; }
  .drx__key li { font-size: 16px; }
  .drx__grid { grid-template-columns: 1fr; margin-top: 30px; }
  .drx__grid section { padding: 20px; }
  .drx__papers ol li { grid-template-columns: 50px 1fr; gap: 10px; }
  .drx__pics { flex-wrap: wrap; } .drx__pics figure { max-width: none; flex: 1 1 45%; }
}

/* ── 2026-12-01 약관 · 방침 페이지 ── */
.pol { display: grid; grid-template-columns: 240px 1fr; gap: 50px; align-items: start; }
.pol__toc { position: sticky; top: 90px; border: 1px solid var(--line); border-radius: 8px; padding: 20px; background: #fff; }
.pol__toc p { font-size: 14px; font-weight: 700; color: var(--teal); margin-bottom: 10px; }
.pol__toc ol { counter-reset: t; }
.pol__toc li { counter-increment: t; font-size: 14px; line-height: 1.5; padding: 4px 0; }
.pol__toc li::before { content: counter(t) ". "; color: #999; }
.pol__toc a:hover { color: var(--teal); }
.pol__body { counter-reset: s; }
.pol__sec { counter-increment: s; padding: 0 0 34px; margin-bottom: 34px; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.pol__sec h2 { font-size: 20px; font-weight: 700; margin-bottom: 14px; }
.pol__sec h2::before { content: counter(s) ". "; color: var(--teal); }
.pol__sec p, .pol__sec li, .pol__sec dd { font-size: 16px; line-height: 1.8; color: #333; }
.pol__sec > * + * { margin-top: 12px; }
.pol__sec ol { counter-reset: o; }
.pol__sec ol > li { counter-increment: o; padding-left: 26px; position: relative; }
.pol__sec ol > li::before { content: counter(o) "."; position: absolute; left: 4px; color: var(--teal); font-weight: 700; }
.pol__sec ul > li { padding-left: 16px; position: relative; }
.pol__sec ul > li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 5px; height: 5px; background: var(--teal); }
.pol__sec .tbl { min-width: 0; font-size: 15px; }
.pol__sec .tbl th[scope=row] { width: 200px; background: var(--gray); }
.pol__dl dt { font-size: 17px; font-weight: 700; color: #1e1e1e; margin-top: 18px; }
.pol__dl dt:first-child { margin-top: 0; }
.pol__dl dd { margin-top: 6px; padding: 14px 18px; background: var(--gray); border-left: 3px solid var(--teal); }
.pol__src { margin-top: 10px; }
@media (max-width: 899px) {
  .pol { grid-template-columns: 1fr; gap: 24px; }
  .pol__toc { position: static; }
  .pol__sec h2 { font-size: 18px; }
  .pol__sec p, .pol__sec li, .pol__sec dd { font-size: 15px; }
}


/* ── 2026-12-02 첫 화면 배경 영상 (유튜브, 소리 없이 반복) ── */
.mainvis__video { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.mainvis__video iframe { position: absolute; top: 50%; left: 50%; width: 100vw; height: 56.25vw; min-width: 177.78vh; min-height: 100%; transform: translate(-50%, -50%) scale(1.15); border: 0; opacity: 0; transition: opacity 1.2s ease; }
.mainvis.is-video .mainvis__video iframe { opacity: 1; }
.mainvis.is-video .slide { background-image: none !important; transform: none; }
.mainvis.is-video .slide::after { background: rgba(0,0,0,.42); }

/* ══ 2026-12-02 시청역성모정형외과 구성 변경 ══
   - 헤더: 네이비 안내 줄(진료시간 · 대표번호) + 흰 한 줄(가로 로고 왼쪽 · 메뉴 · 예약 버튼)
   - 제목: Noto Serif KR(가톨릭 의료기관의 단정한 인상), 본문 Pretendard
   - 섹션 제목은 왼쪽 정렬, 제목 속 한 단어만 색칠하는 강조는 쓰지 않음 */
:root { --hd: 124px; --serif: "Noto Serif KR", "Noto Serif", "Batang", serif; --navy: #0c2e86; --blue: #1a68a6; --paper: #f4f6fa; }
body { color: #26282d; }

/* 헤더 */
.hd { box-shadow: 0 1px 0 #e3e7ef; }
.hd__bar { background: var(--navy); color: #d9e2f5; font-size: 13.5px; }
.hd__bar .container { height: 40px; display: flex; align-items: center; justify-content: space-between; }
.hd__bar .hd__hours { display: flex; gap: 0; margin: 0; font-size: inherit; color: inherit; white-space: nowrap; }
.hd__bar .hd__hours span { display: inline-flex; align-items: center; }
.hd__bar .hd__hours span + span::before { content: ""; width: 1px; height: 10px; background: rgba(255,255,255,.3); margin: 0 14px; }
.hd__quick { display: flex; gap: 22px; }
.hd__quick a { color: #fff; font-weight: 600; }
.hd__quick a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hd__main .container { height: 84px; display: flex; align-items: center; gap: 36px; }
.hd__main .hd__brand { flex: none; }
.hd__main .hd__brand img { width: 238px; height: auto; }
.hd__menu { flex: 1; background: none; position: static; }
.hd__menu > ul { display: flex; justify-content: flex-end; gap: 6px; }
.hd__menu > ul > li { width: auto; position: relative; }
.hd__menu > ul > li > a { display: block; padding: 30px 14px; font-size: 17px; font-weight: 600; color: #26282d; letter-spacing: -.3px; }
.hd__menu > ul > li > a:hover, .hd__menu > ul > li > a.is-on { color: var(--navy); font-weight: 700; box-shadow: inset 0 -3px 0 var(--navy); }
.hd__sub { display: none; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); min-width: 190px; padding: 10px 0; background: #fff; border: 1px solid #e3e7ef; border-top: 2px solid var(--navy); box-shadow: 0 10px 24px rgba(12,46,134,.10); }
.hd__menu > ul > li:hover .hd__sub, .hd__menu > ul > li:focus-within .hd__sub { display: block; }
.hd__sub a { display: block; padding: 9px 20px; font-size: 15px; color: #3a3d44; white-space: nowrap; }
.hd__sub a:hover, .hd__sub a.is-on { color: var(--navy); background: var(--paper); font-weight: 600; }
.hd__book { flex: none; display: inline-flex; align-items: center; height: 44px; padding: 0 20px; background: var(--blue); color: #fff; font-size: 15px; font-weight: 700; border-radius: 4px; }
.hd__book:hover { background: var(--navy); }
.hd__drop, .hd__logo { display: none; }

/* 제목 서체 · 정렬 */
.slide__txt h1, .slide__txt .slide__h, .sec_tit h2, .sub__h1, .c-head h2, .h2, .subvis .subvis__t, .drx__name, .cta h2, .map_box h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -1px; }
.slide__txt { text-align: left; left: 0; transform: translateY(-50%); width: 1200px; max-width: calc(100% - 40px); margin: 0 auto; right: 0; }
.slide__txt h1, .slide__txt .slide__h { font-size: 52px; line-height: 1.28; max-width: 15em; }
.slide__txt p { max-width: 34em; }
.slide__txt b, .sec_tit h2 b, .sec6 .sec_tit h2 b { color: inherit; font-weight: inherit; }
.slide::after { background: linear-gradient(90deg, rgba(7,31,94,.72) 0%, rgba(7,31,94,.35) 55%, rgba(7,31,94,.10) 100%); }
.sec_tit.center, .sec_tit { text-align: left; }
.sec_tit h2 { font-size: 40px; line-height: 1.3; }
.sec_tit p { color: #5d6068; }
.subvis::before { background: rgba(7,31,94,.55); }

/* 모바일 */
@media (max-width: 1100px) {
  .hd__menu > ul > li > a { padding: 30px 9px; font-size: 16px; }
  .hd__main .container { gap: 18px; }
  .hd__main .hd__brand img { width: 200px; }
}
@media (max-width: 899px) {
  :root { --hd: 64px; }
  .hd__bar, .hd__menu, .hd__book { display: none; }
  .hd__main .container { height: 64px; justify-content: space-between; }
  .hd__main .hd__brand img { width: 190px; }
  .hd__toggle { display: grid; position: static; transform: none; }
  .slide__txt h1, .slide__txt .slide__h { font-size: 28px; }
  .slide__txt p, .slide__txt h1, .slide__txt .slide__h { padding: 0 24px; }
  .sec_tit h2 { font-size: 26px; }
}

/* 사진 빈 자리 (2026-12-02: 사진은 모두 비워 둠, 파일을 넣으면 자동 표시) */
.slot--img { display: grid; place-items: center; width: 100%; height: 100%; min-height: 140px; aspect-ratio: 4 / 3; background: #eef1f6; color: #8a93a6; font-size: 14px; }
.slot--img > span { padding: 6px 12px; border: 1px dashed #b9c2d4; border-radius: 3px; }
.slide, .subvis, .sec6 { background-color: #1b2f5e; }
/* 의료진: 연도 없는 논문 목록, 수상 부연 설명, 확인 필요 표시 */
.drx__papers ol.no-yr li { grid-template-columns: 1fr; }
.drx__grid li small { display: block; font-size: 14px; color: #6b707a; margin-top: 2px; }
.drx__tbc { margin-bottom: 26px; font-size: 15px; color: #999; }
.drx__grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .drx__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 899px) { .drx__grid { grid-template-columns: 1fr; } }
.drx__img .slot--img, .doc__img .slot--img { aspect-ratio: 3 / 4; }

/* ══ 2026-12-02 배포 전 점검 1 (frontend-design) ══
   - 모든 목록을 제목과 같은 왼쪽 선(1200 컨테이너)에 맞춤
   - 부위별 바로가기: 내용 없는 큰 흰 상자 → 낮은 목록 칸(이름 + 화살표)
   - 장식용 움직임(테두리 그리기, 카드 들림) 제거, 짙은 구역은 브랜드 네이비 */
.letter { display: none; }
.sec1_2 { padding: 90px 0; background: var(--paper); }
.sec1_2 ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; width: 1200px; max-width: calc(100% - 40px); margin: 0 auto; }
.sec1_2 li { width: auto; height: auto; background: #fff; border: 1px solid #e3e7ef; border-radius: 4px; transition: border-color .15s; }
.sec1_2 li::before, .sec1_2 li::after, .sec1_2 li a::before, .sec1_2 li a::after { display: none; }
.sec1_2 li a { display: flex; align-items: center; justify-content: space-between; padding: 26px 26px; }
.sec1_2 li a::after { content: ""; display: block; position: static; width: 8px; height: 8px; background: none; border: solid var(--navy); border-width: 2px 2px 0 0; transform: rotate(45deg); }
.sec1_2 li p { padding: 0; font-size: 19px; color: #26282d; }
.sec1_2 li:hover { border-color: var(--navy); }
.sec1_2 li:hover p { color: var(--navy); }
.part__ic { display: none; }

.cards, .cards--2 { width: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; justify-content: stretch; margin-top: 56px; }
.cards li { width: auto; }
.cards li:hover { transform: none; box-shadow: none; }
.cards li:hover .card__pic img { transform: scale(1.03); }
.cards li p { background: var(--navy); }
.cards li:hover p { background: var(--blue); }
.cards li:hover p span { color: #fff; }
.sec-media:not(:has(.cards--media li)) { display: none; }  /* 언론 소식이 없으면 구역 숨김 (관리자에서 등록하면 표시) */

.pride { margin-top: 56px; }
.pride__txt h3 { color: #26282d; }

.sec6::before { background: rgba(7, 31, 94, .88); }
.sec6 .sec_tit p { color: #c9d4ee; }
.map_box h3 { font-family: var(--serif); }

@media (max-width: 899px) {
  .sec1_2 { padding: 56px 0; }
  .sec1_2 ul { grid-template-columns: 1fr 1fr; gap: 8px; }
  .sec1_2 li { border-radius: 4px; }
  .sec1_2 li a { padding: 18px 16px; }
  .sec1_2 li p { font-size: 16px; text-align: left; }
  .cards, .cards--2 { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
}

/* ══ 배포 전 점검 2 (ui-ux-pro-max: 접근성) ══
   - 어두운 바탕(안내 줄 · 네이비 카드 · 둘러보기 · 푸터)에서도 키보드 초점이 보이게 흰 테두리
   - 자리표시 글자 대비 4.5:1 이상, 동작 줄이기 설정이면 고정 배경 · 전환 효과 끔 */
.hd__bar :focus-visible, .cards li a:focus-visible, .sec6 :focus-visible, .ft :focus-visible, .mainvis :focus-visible, .subvis :focus-visible { outline-color: #fff; }
.tbc, .drx__tbc { color: #5c6170; }
.slot--img { color: #5f6878; }
.slot span { color: #5f6878; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .sec6 { background-attachment: scroll; }
}

/* ══ 배포 전 점검 3 (Hallmark Floor) ══ */
html, body { overflow-x: clip; }
.sec_tit h2, .sub__h1, .h2, .drx__name, .cta h2, .subvis__t, .slide__txt h1, .slide__txt .slide__h { text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
.hd__sub { box-shadow: none; }
.cards li:hover .card__pic img { transform: none; }
.card__pic img { transition: none; }
.slide__txt span, .sec_tit > span, .sec1_2 li p span, .steps__no, .pride__txt span { letter-spacing: 0; text-transform: none; }
.btn-book:active, .hd__book:active, .cards li a:active { transform: translateY(1px); }
.map_box ul li span { text-align: left; }

/* ══ 배포 전 점검 4 (emil-design-eng: 인터랙션 디테일) ══
   - 하위 메뉴: 즉시 나타나던 것을 160ms ease-out 페이드 + 4px 내려오기 (메뉴 아래에서 나오는 느낌)
   - 버튼 누름: scale(.97) 120ms, 화살표 · 카드 들림은 짧고 작게, hover는 마우스 기기에서만
   - 첫 화면 슬라이드 확대는 1.12 → 1.04 (글자까지 커지던 문제 완화) */
:root { --ease-out: cubic-bezier(0.23, 1, 0.32, 1); }
.hd__sub { display: block; visibility: hidden; opacity: 0; transform: translate(-50%, 4px); transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out), visibility 0s linear 160ms; }
.hd__menu > ul > li:hover .hd__sub, .hd__menu > ul > li:focus-within .hd__sub { visibility: visible; opacity: 1; transform: translate(-50%, 0); transition-delay: 0s; }
.slide { transform: scale(1.04); transition: opacity 1s var(--ease-out), transform 6s linear; }
.btn-book, .hd__book, .cta__tel { transition: background-color .2s ease, transform 120ms var(--ease-out); }
.btn-book:active, .hd__book:active, .cards li a:active { transform: scale(.97); }
.arr { transition: transform 200ms var(--ease-out); }
.cards li:hover .arr { transform: translateX(4px); }
.links a { transition: border-color .2s ease, box-shadow .2s ease; }
.links a:hover { transform: none; }
@media (hover: hover) and (pointer: fine) {
  .links a:hover { box-shadow: 0 6px 14px rgba(12, 46, 134, .08); }
}
@media (hover: none) {
  .cards li:hover .arr { transform: none; }
  .sec1_2 li:hover { border-color: #e3e7ef; }
}

/* ══ 배포 전 점검 5 (web-design-guidelines) ══
   - 고정 헤더가 앵커 · 키보드 초점을 가리지 않게 scroll-padding, 모바일 탭 지연 · 회색 번쩍임 제거, 전체 메뉴 스크롤이 뒤 페이지로 새지 않게 */
html { scroll-padding-top: calc(var(--hd) + 16px); }
a, button, [role="button"] { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.mnav { overscroll-behavior: contain; }
.hd__bar .hd__hours, .hlist span, .map_box ul li p { font-variant-numeric: tabular-nums; }
/* 의료진 · 비수술 치료는 같은 바탕이라 두 구역 사이 빈 공간을 줄임 */
.sec2 + .sec4 { padding-top: 24px; }
@media (max-width: 899px) { .sec2 + .sec4 { padding-top: 8px; } }
body { background: #fff; }
/* 모바일도 제목을 왼쪽 정렬 (PC와 같은 읽기 흐름, 목록과 같은 선) */
@media (max-width: 899px) {
  .sec_tit h2, .sec_tit2 h2, .sec_tit p, .sec1_1__txt { text-align: left; }
}

/* 로고 SVG 교체 (2026-12-02, 원본 .ai 벡터): 가로형 비율 6.7:1 → PC 270px(높이 40), 태블릿 220, 모바일 196. 푸터는 흰색판 */
.hd__main .hd__brand img { width: 270px; height: auto; display: block; }
.ft__logo img { width: 260px; height: auto; }
@media (max-width: 1100px) { .hd__main .hd__brand img { width: 220px; } }
@media (max-width: 899px) { .hd__main .hd__brand img { width: 196px; } .ft__logo img { width: 200px; } }
/* 푸터: 복제본의 검정 → 브랜드 네이비 (위 링크 줄은 한 단계 짙게) */
.ft__top { background: #081f5c; }
.ft__top a { color: #d9e2f5; }
.ft__bt { background: #0c2e86; color: #c9d4ee; }
.ft__bt b { color: #fff; }
.ft__copy { color: #9fb0d8; }

/* ══ 2026-12-02 첫 화면: 슬라이드 → 원장 소개 + 진료시간표 (frontend-design)
   사진이 없는 지금도 첫 화면이 '누가 · 언제 · 어떻게 예약'에 바로 답하게. 기억에 남는 요소는 오늘 줄이 표시되는 시간표 하나 */
.hero { background: var(--navy); color: #fff; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 64px; align-items: center; padding: 104px 0 112px; }
.hero__txt h1 { font-family: var(--serif); font-weight: 600; font-size: 52px; line-height: 1.28; letter-spacing: -1px; max-width: 13em; text-wrap: balance; overflow-wrap: break-word; }
.hero__txt p { margin-top: 24px; max-width: 30em; font-size: 18px; line-height: 1.7; color: #d9e2f5; }
.hero__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero__book, .hero__tel { display: inline-flex; align-items: center; min-height: 52px; padding: 0 28px; border-radius: 4px; font-size: 17px; font-weight: 700; transition: background-color .2s ease, color .2s ease, transform 120ms var(--ease-out); }
.hero__book { background: #fff; color: var(--navy); }
.hero__book:hover { background: #dfe7f7; }
.hero__tel { border: 1px solid rgba(255,255,255,.55); color: #fff; }
.hero__tel:hover { background: rgba(255,255,255,.1); }
.hero__book:active, .hero__tel:active { transform: scale(.97); }
.hero .tbc { color: #b9c6e6; }
.hero__hours { background: #fff; color: #26282d; border-radius: 6px; padding: 36px 36px 28px; }
.hero__hours h2 { font-family: var(--serif); font-weight: 600; font-size: 24px; margin-bottom: 16px; color: var(--navy); }
.hero__hours ul { display: grid; }
.hero__hours li { display: grid; grid-template-columns: 7.5em 1fr auto; align-items: center; gap: 12px; padding: 15px 12px; border-top: 1px solid #e3e7ef; font-size: 17px; }
.hero__hours li span { font-variant-numeric: tabular-nums; font-weight: 600; }
.hero__hours li em { font-style: normal; font-size: 14px; color: var(--blue); font-weight: 600; }
.hero__hours li.is-today { background: var(--paper); border-radius: 4px; border-top-color: transparent; }
.hero__hours li.is-today + li { border-top-color: transparent; }
.hero__hours li.is-today b::after { content: "오늘"; margin-left: 8px; padding: 2px 8px; border-radius: 3px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; vertical-align: 2px; }
.hero__loc { margin-top: 16px; padding-top: 16px; border-top: 1px solid #e3e7ef; font-size: 15px; color: #5d6068; }
.hero__loc a { margin-left: 8px; color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.hero :focus-visible { outline-color: #fff; }
.hero__hours :focus-visible { outline-color: var(--navy); }
@media (max-width: 1100px) { .hero__in { gap: 40px; } .hero__txt h1 { font-size: 42px; } }
@media (max-width: 899px) {
  .hero__in { grid-template-columns: 1fr; gap: 32px; padding: 48px 0 40px; }
  .hero__txt h1 { font-size: 30px; }
  .hero__txt p { font-size: 16px; margin-top: 16px; }
  .hero__acts { margin-top: 24px; }
  .hero__book, .hero__tel { flex: 1 1 auto; justify-content: center; min-height: 48px; padding: 0 18px; font-size: 16px; }
  .hero__hours { padding: 24px 20px 20px; }
  .hero__hours li { grid-template-columns: 6.5em 1fr auto; padding: 13px 8px; font-size: 15px; }
}
.hero__book, .hero__tel { gap: 6px; }

/* ── 2026-12-03 대표번호 · 주소 · 강조점(점심시간 없이 · 야간진료) · 원장 사진 · 질환 보강 ── */
.hd__bar .hd__hours span b { color: #fff; font-weight: 700; margin-right: 0; }
.hero__keys { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.hero__keys b { display: inline-block; padding: 7px 12px; border-radius: 4px; background: #eaf0fa; color: var(--navy); font-size: 15px; font-weight: 700; }
.links__box { display: grid; gap: 6px; padding: 24px 26px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--teal); height: 100%; }
.links__box b { font-size: 18px; } .links__box span { color: #555; }
.drx__pics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.drx__pics figure { max-width: none; aspect-ratio: auto; overflow: visible; background: none; border-radius: 0; }
.drx__pics img { aspect-ratio: 4 / 3; height: auto; border-radius: 8px; background: #eee; }
.drx__pics figcaption { margin-top: 8px; font-size: 14px; line-height: 1.5; color: #555; }
.dz-refs h2 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.dz-refs li { margin: 6px 0; } .dz-refs a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.img-credit { margin-top: 18px; font-size: 13px; color: #626670; } .img-credit a { color: inherit; text-decoration: underline; }
@media (max-width: 899px) { .drx__pics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kmap--embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ── 2026-12-03 impeccable: AI 티 정리 (이전 버전: backup/v8-2026-12-03-before-impeccable) ──
   - 진료 원칙 자리표시 카드 4개 → 사실로 쓴 2열 글 목록(.ways), 카드 · 번호 · 빈 사진 없음
   - 비수술 치료 빈 사진 카드 → 사진이 생기기 전까지 한 줄 목록(.tx-rows)
   - 상자 위쪽 굵은 색 띠(한쪽 테두리 강조) 제거 → 1px 테두리 + 제목 색
   - 대비 부족 글자(첫 화면 카드 속 자리표시, 푸터 링크 · 저작권) 보정 */
.ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin-top: 36px; border-top: 1px solid var(--line); }
.ways li { padding: 30px 0 32px; border-bottom: 1px solid var(--line); }
.ways h3 { font-family: var(--serif); font-weight: 600; font-size: 23px; line-height: 1.4; color: var(--navy); letter-spacing: -0.02em; }
.ways p { margin-top: 10px; font-size: 17px; line-height: 1.75; color: #3d4048; max-width: 34em; }
.tx-rows { border-top: 1px solid var(--line); margin-top: 36px; }
.tx-rows a { display: grid; grid-template-columns: 220px 1fr 22px; align-items: center; gap: 24px; padding: 26px 4px; border-bottom: 1px solid var(--line); color: inherit; transition: background-color .2s ease; }
.tx-rows b { font-size: 20px; font-weight: 700; color: var(--navy); }
.tx-rows span { font-size: 17px; color: #3d4048; }
.tx-rows .arr { width: 22px; color: var(--navy); transition: transform .2s ease; }
@media (hover: hover) { .tx-rows a:hover { background: #fff; } .tx-rows a:hover .arr { transform: translateX(4px); } }
.links a, .links__box { border-top: 1px solid var(--line); }
.links a b, .links__box b { color: var(--navy); }
.nail-stage li { border-top: 1px solid var(--line); }
.hero__hours .tbc { color: #5b6478; }
.ft__top a { opacity: 1; color: #c7d3ef; } .ft__top a:hover { color: #fff; }
.ft__copy { color: #aebde2 !important; }
.note { color: #6b6f78; }
@media (max-width: 899px) {
  .ways { grid-template-columns: 1fr; }
  .ways h3 { font-size: 20px; }
  .tx-rows a { grid-template-columns: 1fr 22px; gap: 6px 16px; padding: 22px 2px; }
  .tx-rows span { grid-column: 1; font-size: 16px; }
  .tx-rows .arr { grid-row: 1 / span 2; grid-column: 2; }
}
/* 2026-12-03 web-design-guidelines: 키보드로 이동할 때도 마우스와 같은 배경 표시 */
.tx-rows a:focus-visible { background: #fff; outline-offset: -2px; }
.tx-rows a:focus-visible .arr { transform: translateX(4px); }

/* ── 2026-12-03 플로팅: 평소에는 동그란 아이콘만, 마우스를 올리거나 키보드로 들어오면 이름표가 왼쪽으로 열림 ── */
.fly ul { width: auto; display: grid; gap: 12px; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
.fly li + li { border-top: 0; }
.fly a { position: relative; display: block; padding: 0; width: 56px; height: 56px; }
.fly__ic { width: 56px; height: 56px; box-shadow: 0 6px 16px rgba(12, 46, 134, .16); transition: transform .2s cubic-bezier(.23, 1, .32, 1); }
.fly__ic svg { width: 23px; height: 23px; } .fly__ic b { font-size: 21px; }
.fly--location .fly__ic { background: var(--navy); color: #fff; }
.fly__tx { position: absolute; right: calc(100% + 12px); top: 50%; padding: 9px 16px; border-radius: 22px; background: var(--navy); color: #fff !important;
  font-size: 15px; font-weight: 700; white-space: nowrap; opacity: 0; transform: translate(10px, -50%); pointer-events: none;
  transition: opacity .18s ease-out, transform .24s cubic-bezier(.23, 1, .32, 1); }
.fly--blog .fly__tx { background: #03a94d; }
.fly:hover .fly__tx, .fly:focus-within .fly__tx { opacity: 1; transform: translate(0, -50%); pointer-events: auto; }
.fly a:hover .fly__ic, .fly a:focus-visible .fly__ic { transform: scale(1.06); }
.fly a:focus-visible { outline: none; } .fly a:focus-visible .fly__ic { outline: 2px solid var(--navy); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .fly__tx, .fly__ic { transition: opacity .15s linear; } .fly:hover .fly__tx, .fly:focus-within .fly__tx { transform: translate(0, -50%); } }
@media (max-height: 720px) { .fly a { padding: 0; } .fly__ic { width: 48px; height: 48px; } .fly a { width: 48px; height: 48px; } }
.fly__ic { box-shadow: 0 0 0 3px #fff, 0 6px 16px rgba(12, 46, 134, .22); }
.fly__tx { box-shadow: 0 0 0 2px #fff; }
