/* ==========================================================================
   올웹 비즈니스 템플릿 37 — 시안 37(온누리의료재단, 병원 · 의료재단)의 reset.css · common.css · main.css · sub.css 를 그대로 이은 것입니다.
   원본 CSS 는 고치지 않았습니다. 그누보드 연결 · 올웹 로고 · 상단 메뉴(「쓴 메뉴 조합」 biz037) · 퀵메뉴 · 팝업 · 고정 배경은 맨 아래 「연결부」에 덧붙였습니다.
   ========================================================================== */

/* ---------- 원본 assets/css/reset.css ---------- */
/* reset.css — 최소 리셋입니다. */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body,h1,h2,h3,h4,h5,h6,p,figure,blockquote,dl,dd,ul,ol{margin:0;padding:0}
ul,ol{list-style:none}
img,svg,video,iframe{display:block;max-width:100%}
img{height:auto}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit;color:inherit}
button{background:none;border:0;padding:0;cursor:pointer}
table{border-collapse:collapse;width:100%}
address{font-style:normal}

/* ---------- 원본 assets/css/common.css ---------- */
/* common.css — 모든 페이지가 함께 쓰는 부분입니다. 색 · 글꼴 토큰, 공통 라벨 · 제목 · 링크 · 버튼, 헤더, 메가메뉴, 드로어, 푸터, TOP 버튼을 담습니다.
   색은 흰 바탕 · 신뢰 남색(#1b3a5c) · 따뜻한 주황(#e07a3f, 선과 면에만)이며, 주황 글자는 대비를 맞춘 짙은 주황(#a94f1a)을 씁니다. 바꾸려면 :root 값을 고치시면 됩니다. */

@font-face { font-family: 'Noto Sans KR'; font-weight: 400; font-display: swap; src: url('../fonts/NotoSansKR-Regular.subset.woff2') format('woff2'); }
@font-face { font-family: 'Noto Sans KR'; font-weight: 500; font-display: swap; src: url('../fonts/NotoSansKR-Medium.subset.woff2') format('woff2'); }
@font-face { font-family: 'Noto Sans KR'; font-weight: 700; font-display: swap; src: url('../fonts/NotoSansKR-Bold.subset.woff2') format('woff2'); }

:root {
  --tpl-navy: #1b3a5c;            /* 주 색 · 제목 강조 · 띠 (흰 바탕 11.6:1) */
  --tpl-navy-dk: #132c47;         /* 남색 hover */
  --tpl-orange: #e07a3f;          /* 포인트 선 · 막대 · 면 (글자에는 쓰지 않습니다) */
  --tpl-orange-tx: #a94f1a;       /* 주황 글자(흰 바탕 5.4:1 · 연회색 5.0:1) */
  --tpl-orange-lt: #f0a678;       /* 남색 바탕 위 주황 글자(5.8:1) */
  --tpl-ink: #16202b;             /* 제목 */
  --tpl-text: #3b4652;            /* 본문(9.6:1) */
  --tpl-mute: #5c6773;            /* 보조 글자(흰 바탕 5.8:1 · 연회색 5.3:1) */
  --tpl-line: #dde2e7;            /* 얇은 선 */
  --tpl-pale: #f3f5f7;            /* 연회색 면 */
  --tpl-foot: #0f2236;            /* 푸터 */
  --tpl-font: 'Noto Sans KR', system-ui, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --tpl-ease: cubic-bezier(.25, .7, .25, 1);
  --tpl-hd-h: 76px;               /* 헤더 높이 */
  --tpl-gnb-w: 128px;             /* 1차 메뉴 한 칸 폭 = 2차 메뉴 열 폭 */
  --tpl-side: 40px;               /* 화면 좌우 여백 */
}

html { scroll-behavior: auto; }
body { background: #fff; color: var(--tpl-text); font: 400 18px/1.7 var(--tpl-font); letter-spacing: -.025em; word-break: keep-all; -webkit-font-smoothing: antialiased; }
body.tpl-lock { overflow: hidden; }
/* 문구 줄바꿈은 PC 에서는 한 줄로 두고, 768px 이하에서만 지정한 자리에서 끊습니다 */
.tpl-m-br { display: none; }
@media (max-width: 768px) { .tpl-m-br { display: inline; } }
.tpl-wrap { width: calc(100% - var(--tpl-side) * 2); max-width: 1440px; margin: 0 auto; }
.tpl-ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.tpl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tpl-skip { position: absolute; left: 12px; top: -60px; z-index: 400; background: #fff; color: var(--tpl-ink); padding: 8px 14px; }
.tpl-skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--tpl-orange); outline-offset: 3px; }

/* 스크롤 등장 : 짧은 거리 · 느린 곡선 */
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--tpl-ease), transform 1s var(--tpl-ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 공통 : 섹션 여백 · 라벨(주황 가로 막대 + 영문 대문자) · 제목 · 글 링크 ---------- */
.tpl-sec { padding: 150px 0; }
.tpl-label { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; line-height: 1; letter-spacing: .14em; text-transform: uppercase; color: var(--tpl-navy); }
.tpl-label::before { content: ''; width: 18px; height: 3px; background: var(--tpl-orange); }
.tpl-label--light { color: #fff; }
.tpl-head__ko { margin-top: 20px; font-size: 46px; font-weight: 700; line-height: 1.35; letter-spacing: -.045em; color: var(--tpl-ink); }
.tpl-head__txt { margin-top: 14px; font-size: 18px; line-height: 1.65; color: var(--tpl-text); }
.tpl-textlink { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 500; color: var(--tpl-navy); }
.tpl-textlink .tpl-ico { width: 15px; height: 15px; stroke-width: 2; transition: transform .35s var(--tpl-ease); }
.tpl-textlink:hover { text-decoration: underline; text-underline-offset: 5px; }
.tpl-textlink:hover .tpl-ico { transform: translateX(4px); }

/* ---------- 공통 버튼 : 사진 위 흰 테두리 버튼(.tpl-btn-line) · 남색 면 버튼(.tpl-btn) · 사각 화살표(.tpl-sqbtn) ---------- */
.tpl-btn-line { display: inline-flex; align-items: center; gap: 12px; margin-top: 36px; padding: 0 24px; height: 52px; border: 1px solid rgba(255, 255, 255, .7); font-size: 16.5px; font-weight: 500; color: #fff; transition: background-color .3s, color .3s, border-color .3s; }
.tpl-btn-line .tpl-ico { width: 16px; height: 16px; stroke-width: 1.8; transition: transform .35s var(--tpl-ease); }
.tpl-btn-line:hover { border-color: #fff; background: #fff; color: var(--tpl-navy); }
.tpl-btn-line:hover .tpl-ico { transform: translateX(3px); }
.tpl-btn { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 24px; border: 1px solid var(--tpl-navy); background: var(--tpl-navy); font-size: 16.5px; font-weight: 500; color: #fff; transition: background-color .25s, color .25s, border-color .25s; }
.tpl-btn:hover { background: var(--tpl-navy-dk); border-color: var(--tpl-navy-dk); }
.tpl-btn--line { background: #fff; color: var(--tpl-navy); }
.tpl-btn--line:hover { background: var(--tpl-navy); color: #fff; }
.tpl-sqbtn { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #c9d1d9; background: #fff; color: var(--tpl-navy); transition: border-color .25s, color .25s, background-color .25s; }
.tpl-sqbtn .tpl-ico { width: 17px; height: 17px; stroke-width: 1.8; }
.tpl-sqbtn:hover { border-color: var(--tpl-navy); background: var(--tpl-navy); color: #fff; }
.tpl-sqbtn.is-end { color: #b5bec7; }
.tpl-sqbtn.is-end:hover { border-color: #c9d1d9; background: #fff; color: #b5bec7; }

/* ---------- 로고 : 원 안에 수평선 아래를 주황으로 채운 심볼 + 국문(굵게) · 영문(작게) 두 줄 ---------- */
.tpl-logo a, a.tpl-logo { display: inline-flex; align-items: center; gap: 10px; }
.tpl-logo__mark { width: 30px; height: 30px; flex: none; }
.tpl-logo__txt { display: grid; gap: 3px; }
.tpl-logo__ko { font-size: 21px; font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.tpl-logo__en { font-size: 10.5px; font-weight: 500; letter-spacing: .19em; line-height: 1; opacity: .8; }

/* ---------- 헤더 : 맨 위에서는 투명(흰 글자), 스크롤하거나 메가메뉴가 열리면 흰 바탕(남색 글자) ---------- */
.tpl-header { position: fixed; left: 0; right: 0; top: 0; z-index: 100; color: #fff; transition: background-color .35s, color .35s; }
.tpl-header::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(255, 255, 255, .22); transition: background-color .35s; }
.tpl-header.is-scrolled, .tpl-header.is-mega-open { background: #fff; color: var(--tpl-navy); }
.tpl-header.is-scrolled::after, .tpl-header.is-mega-open::after { background: var(--tpl-line); }
.tpl-header__in { position: relative; z-index: 2; display: flex; align-items: center; height: var(--tpl-hd-h); }
.tpl-header .tpl-logo { flex: 1 1 0; min-width: max-content; }
.tpl-gnb { height: 100%; }
.tpl-gnb__list { display: flex; height: 100%; }
.tpl-gnb__item { position: relative; width: var(--tpl-gnb-w); height: 100%; }
.tpl-gnb__link { position: relative; display: flex; align-items: center; justify-content: center; height: 100%; font-size: 18px; font-weight: 500; white-space: nowrap; }
.tpl-gnb__link::after { content: ''; position: absolute; left: 50%; bottom: 0; z-index: 1; width: 44%; height: 3px; background: var(--tpl-orange); transform: translateX(-50%) scaleX(0); transition: transform .35s var(--tpl-ease); }
.tpl-gnb__item:hover .tpl-gnb__link::after, .tpl-gnb__link:focus-visible::after { transform: translateX(-50%) scaleX(1); }
.tpl-gnb__link:focus-visible { outline-offset: -6px; }
.tpl-util { display: flex; flex: 1 1 0; justify-content: flex-end; align-items: center; gap: 22px; font-size: 14.5px; white-space: nowrap; }
.tpl-util p { display: flex; align-items: center; }
.tpl-util__call { display: inline-flex; align-items: center; gap: 7px; }
.tpl-util__call .tpl-ico { width: 16px; height: 16px; }
.tpl-util__call span { opacity: .85; }
.tpl-util__call b { font-size: 17px; font-weight: 700; letter-spacing: 0; }
.tpl-util__member { gap: 14px; opacity: .85; }
.tpl-util a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tpl-burger { display: none; position: relative; width: 44px; height: 44px; margin-left: auto; margin-right: -10px; }
.tpl-burger i { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; }
.tpl-burger i:nth-child(1) { top: 14px; } .tpl-burger i:nth-child(2) { top: 21px; } .tpl-burger i:nth-child(3) { top: 28px; }

/* 메가메뉴 : 흰 패널(.tpl-mega__bg)이 scaleY 로 위에서 아래로 펼쳐지고, 각 2차 목록은 같은 높이 · 같은 시간 · 같은 곡선의 clip-path 로 함께 드러납니다.
   두 값이 프레임마다 같은 높이를 가리키므로 패널이 덮지 않은 곳에 글자가 보이지 않습니다. 2차 영역에는 배경색이 없습니다.
   패널 높이(--tpl-mega-h) = 가장 긴 2차 목록 + 위아래 여백 32px 씩이며 common.js 가 잽니다. */
.tpl-mega__bg { position: absolute; left: 0; right: 0; top: 100%; height: var(--tpl-mega-h, 240px); background: #fff; box-shadow: inset 0 -1px 0 var(--tpl-line); transform: scaleY(0); transform-origin: 50% 0; transition: transform .45s var(--tpl-ease); pointer-events: none; }
.tpl-gnb__sub { position: absolute; left: 0; right: 0; top: 100%; z-index: 2; height: var(--tpl-mega-h, 240px); padding: 32px 0; text-align: center; visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .45s var(--tpl-ease), visibility 0s linear .45s; }
.tpl-gnb__sub a { display: inline-block; padding: 5px 4px; font-size: 16px; color: var(--tpl-mute); transition: color .2s; }
.tpl-gnb__sub a:hover, .tpl-gnb__sub a:focus-visible { color: var(--tpl-navy); text-decoration: underline; text-decoration-color: var(--tpl-orange); text-underline-offset: 6px; }
.tpl-gnb__link[aria-current]::after { transform: translateX(-50%) scaleX(1); }
.tpl-gnb__sub a[aria-current] { color: var(--tpl-navy); font-weight: 700; }
.is-mega-open .tpl-mega__bg { transform: scaleY(1); pointer-events: auto; }
.is-mega-open .tpl-gnb__sub { visibility: visible; clip-path: inset(0 0 0 0); transition-delay: 0s; }

/* ---------- 드로어 (1024px 이하) : 오른쪽 흰 패널. 1차 줄 전체가 버튼, 2차 영역은 배경색 없음 ---------- */
.tpl-drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; transition: visibility 0s linear .5s; }
.tpl-drawer.is-open { visibility: visible; transition-delay: 0s; }
.tpl-drawer__dim { position: absolute; inset: 0; background: rgba(9, 20, 33, .55); opacity: 0; transition: opacity .45s; }
.tpl-drawer.is-open .tpl-drawer__dim { opacity: 1; }
.tpl-drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; display: flex; flex-direction: column; width: min(400px, 100%); background: #fff; color: var(--tpl-navy); overflow-y: auto; transform: translateX(100%); transition: transform .5s var(--tpl-ease); }
.tpl-drawer.is-open .tpl-drawer__panel { transform: none; }
.tpl-drawer__head { display: flex; align-items: center; justify-content: space-between; height: 68px; padding: 0 20px; flex: none; border-bottom: 1px solid var(--tpl-line); }
.tpl-drawer__close { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; }
.tpl-drawer__close .tpl-ico { width: 24px; height: 24px; }
.tpl-drawer__list { padding: 4px 20px; }
.tpl-drawer__item { border-bottom: 1px solid var(--tpl-line); }
.tpl-drawer__toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 18px 0; text-align: left; font: 700 19px/1.3 var(--tpl-font); letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-drawer__toggle .tpl-ico { width: 18px; height: 18px; color: var(--tpl-mute); transition: transform .4s var(--tpl-ease); }
.tpl-drawer__toggle[aria-expanded="true"] { color: var(--tpl-navy); }
.tpl-drawer__toggle[aria-expanded="true"] .tpl-ico { transform: rotate(180deg); color: var(--tpl-orange-tx); }
.tpl-drawer__sub { max-height: 0; overflow: hidden; transition: max-height .45s var(--tpl-ease); }
.tpl-drawer__sub a { display: block; padding: 7px 0; font-size: 17px; color: var(--tpl-mute); }
.tpl-drawer__sub li:last-child a { margin-bottom: 16px; }
.tpl-drawer__sub a:hover { color: var(--tpl-navy); text-decoration: underline; text-underline-offset: 4px; }
.tpl-drawer__sub a[aria-current] { color: var(--tpl-navy); font-weight: 700; }
.tpl-drawer__foot { margin-top: auto; padding: 24px 20px; }
.tpl-drawer__util { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; font-size: 15.5px; color: var(--tpl-mute); }
.tpl-drawer__tel { display: grid; padding: 18px 20px; background: var(--tpl-navy); color: #fff; line-height: 1.35; }
.tpl-drawer__tel small { font-size: 14px; color: #c7d3df; }
.tpl-drawer__tel strong { font-size: 26px; font-weight: 700; letter-spacing: 0; }

/* ---------- 푸터 : 짙은 남색. 위 줄 정책 링크 · 병원 바로가기, 아래 로고 · 주소 · SNS ---------- */
.tpl-footer { background: var(--tpl-foot); color: #9fb0c2; font-size: 15px; line-height: 1.75; }
.tpl-footer__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.tpl-footer__policy { display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: 15px; color: #c7d3df; }
.tpl-footer__policy b { font-weight: 700; color: var(--tpl-orange-lt); }
.tpl-footer__policy a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tpl-family { position: relative; flex: none; }
.tpl-family__btn { display: flex; align-items: center; justify-content: space-between; width: 200px; height: 42px; padding: 0 14px 0 16px; border: 1px solid rgba(255, 255, 255, .3); font-size: 14.5px; color: #fff; }
.tpl-family__btn .tpl-ico { width: 15px; height: 15px; transition: transform .35s var(--tpl-ease); }
.tpl-family__btn[aria-expanded="true"] .tpl-ico { transform: rotate(45deg); }
.tpl-family__list { position: absolute; right: 0; bottom: calc(100% + 6px); width: 200px; padding: 8px 0; border: 1px solid rgba(255, 255, 255, .2); background: #0b1a2a; }
.tpl-family__list a { display: block; padding: 6px 16px; font-size: 14.5px; color: #c7d3df; }
.tpl-family__list a:hover, .tpl-family__list a:focus-visible { color: #fff; background: #17304b; }
.tpl-footer__body { display: grid; grid-template-columns: auto 1fr auto; gap: 40px 64px; align-items: start; padding: 48px 0 56px; }
.tpl-logo--foot { color: #fff; }
.tpl-footer address { font-size: 14.5px; color: #9fb0c2; }
.tpl-footer address span { display: inline-block; margin-right: 14px; }
.tpl-footer__copy { margin-top: 8px; font-size: 13.5px; letter-spacing: .02em; color: #8193a6; }
.tpl-footer__sns { display: flex; gap: 20px; font-size: 15px; color: #c7d3df; }
.tpl-footer__sns a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- TOP 버튼 : 오른쪽 아래 남색 사각. 맨 위에서는 숨깁니다 ---------- */
.tpl-totop { position: fixed; right: var(--tpl-side); bottom: 40px; z-index: 90; display: grid; place-items: center; width: 44px; height: 44px; background: var(--tpl-navy); color: #fff; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .35s, transform .45s var(--tpl-ease), visibility 0s linear .45s, background-color .25s; }
.tpl-totop.is-show { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.tpl-totop .tpl-ico { width: 17px; height: 17px; stroke-width: 1.8; }
.tpl-totop:hover { background: var(--tpl-navy-dk); }

/* ---------- 반응형 ---------- */
@media (max-width: 1360px) {
  :root { --tpl-gnb-w: 112px; }
  .tpl-util { gap: 16px; }
  .tpl-util__call span { display: none; }
}
@media (max-width: 1200px) {
  :root { --tpl-gnb-w: 104px; }
  .tpl-util__call { display: none; }
}
@media (max-width: 1100px) {
  :root { --tpl-gnb-w: 98px; }
  .tpl-gnb__link { font-size: 17px; }
  .tpl-util { gap: 12px; }
}
@media (max-width: 1024px) {
  :root { --tpl-side: 32px; --tpl-hd-h: 68px; }
  .tpl-gnb, .tpl-util, .tpl-mega__bg { display: none; }
  .tpl-burger { display: block; }
  .tpl-sec { padding: 120px 0; }
  .tpl-footer__top { flex-direction: column-reverse; align-items: flex-start; }
  .tpl-footer__body { grid-template-columns: 1fr; gap: 24px; padding: 40px 0 48px; }
}
@media (max-width: 768px) {
  :root { --tpl-side: 20px; --tpl-hd-h: 62px; }
  .tpl-sec { padding: 96px 0; }
  .tpl-head__ko { margin-top: 16px; font-size: 31px; }
  .tpl-head__txt { font-size: 17px; }
  .tpl-btn-line { margin-top: 28px; height: 46px; padding: 0 20px; font-size: 15.5px; }
  .tpl-logo__ko { font-size: 19px; }
  .tpl-logo__mark { width: 27px; height: 27px; }
  .tpl-footer__policy { gap: 2px 20px; font-size: 14.5px; }
  .tpl-totop { bottom: 20px; right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- 원본 assets/css/main.css ---------- */
/* main.css — 메인 페이지 전용입니다. 비주얼, 진료 예약 안내 띠, 진료과 바로가기, 의료진, 병원 찾기, 진료 규모, 갤러리, 새소식, 연락처를 담습니다. */

/* ---------- 메인 비주얼 : 높이 75vh(최소 560px) · 사진은 섹션에 고정(스크롤해도 움직이지 않음) · 문구는 왼쪽 정렬 ---------- */
.tpl-visual { position: relative; height: 75vh; min-height: 560px; overflow: hidden; background: #24384d; color: #fff; isolation: isolate; }
.tpl-visual__media { position: absolute; inset: 0; z-index: -2; }
.tpl-visual__media::after { content: ''; position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, rgba(14, 31, 50, .82) 0%, rgba(14, 31, 50, .55) 45%, rgba(14, 31, 50, .2) 100%), linear-gradient(180deg, rgba(14, 31, 50, .4) 0%, rgba(14, 31, 50, 0) 30%); }
/* 나가는 장은 들어오는 장이 다 나타날 때까지 불투명하게 그대로 있다가 사라집니다(두 장이 동시에 옅어지며 어두운 바탕이 비치던 튐을 없앴습니다). */
.tpl-visual__item { position: absolute; inset: 0; overflow: hidden; opacity: 0; visibility: hidden; transition: opacity 0s linear var(--tpl-vspeed, 1200ms), visibility 0s linear var(--tpl-vspeed, 1200ms); }
.tpl-visual__item.is-active { z-index: 1; opacity: 1; visibility: visible; transition: opacity var(--tpl-vspeed, 1200ms) ease; }
.tpl-visual__item > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }

.tpl-visual__in { position: relative; height: 100%; }
/* 문구 영역은 좌우 화살표를 피해 양옆 96px 안쪽, 헤더 아래 · 하단 조작부 위 */
.tpl-visual__caps { position: absolute; inset: var(--tpl-hd-h) 96px 84px; display: grid; align-items: center; }
.tpl-visual__cap { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: flex-start; visibility: hidden; transition: visibility 0s linear .6s; }
.tpl-visual__cap.is-active { visibility: visible; transition-delay: 0s; }
.tpl-visual__cap > * { opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .5s var(--tpl-ease); }
.tpl-visual__cap > .tpl-btn-line { transition: background-color .3s, color .3s, border-color .3s; }
.tpl-visual__cap.is-active > * { opacity: 1; transform: none; transition-duration: 1s; }
.tpl-visual__cap.is-active .tpl-visual__title { transition-delay: .1s; }
.tpl-visual__cap.is-active .tpl-visual__desc { transition-delay: .25s; }
.tpl-visual__cap.is-active .tpl-btn-line { transition-delay: .4s; }
.tpl-visual__kicker { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 500; letter-spacing: -.02em; color: rgba(255, 255, 255, .92); }
.tpl-visual__kicker::before { content: ''; width: 18px; height: 3px; background: var(--tpl-orange); }
.tpl-visual__title { margin-top: 16px; font-size: 58px; font-weight: 700; line-height: 1.25; letter-spacing: -.05em; }
.tpl-visual__desc { margin-top: 18px; font-size: 20px; font-weight: 400; line-height: 1.65; letter-spacing: -.03em; color: rgba(255, 255, 255, .9); }
/* 숫자 · 진행선 · 자동재생 버튼은 비주얼 아래 가운데 */
.tpl-visual__ctrl { position: absolute; left: 50%; bottom: 32px; transform: translateX(-50%); white-space: nowrap; display: flex; align-items: center; gap: 26px; }
.tpl-visual__pause { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; color: rgba(255, 255, 255, .8); transition: color .25s; }
.tpl-visual__pause i { display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid rgba(255, 255, 255, .6); color: #fff; }
.tpl-visual__pause .tpl-ico { width: 8px; height: 8px; fill: currentColor; stroke: none; }
.tpl-visual__pause:hover { color: #fff; }
.tpl-ico--play, .tpl-visual.is-paused .tpl-ico--pause { display: none; }
.tpl-visual.is-paused .tpl-ico--play { display: block; }
/* 좌우 화살표: 비주얼 좌우 끝, 세로 가운데 */
.tpl-visual__arrow { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 72px; height: 72px; margin-top: -36px; color: rgba(255, 255, 255, .78); transition: color .25s, transform .35s var(--tpl-ease); }
.tpl-visual__arrow--prev { left: 10px; }
.tpl-visual__arrow--next { right: 10px; }
.tpl-visual__arrow .tpl-ico { width: 56px; height: 56px; stroke-width: 1; }
.tpl-visual__arrow--prev:hover { transform: translateX(-4px); }
.tpl-visual__arrow--next:hover { transform: translateX(4px); }
.tpl-visual__arrow:hover { color: #fff; }
.tpl-visual__count { display: flex; align-items: center; gap: 14px; font-size: 15px; letter-spacing: .02em; color: rgba(255, 255, 255, .65); font-variant-numeric: tabular-nums; }
.tpl-visual__count b { font-weight: 700; color: #fff; }
.tpl-visual__count span { position: relative; width: 80px; height: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.tpl-visual__count span::after { content: ''; position: absolute; inset: 0; background: var(--tpl-orange); transform: scaleX(0); transform-origin: left; }
.tpl-visual.is-run .tpl-visual__count span::after { animation: tplFill var(--tpl-vdelay, 6500ms) linear forwards; }
@keyframes tplFill { to { transform: scaleX(1); } }

/* ---------- 진료 예약 안내 띠 : 남색 면, 왼쪽 대표번호 · 오른쪽 바로가기 3칸(세로선 구분) ---------- */
.tpl-band { background: var(--tpl-navy); color: #fff; }
.tpl-band__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: stretch; }
.tpl-band__call { display: grid; align-content: center; gap: 2px; padding: 30px 40px 30px 0; border-right: 1px solid rgba(255, 255, 255, .16); }
.tpl-band__lbl { font-size: 15px; font-weight: 500; color: var(--tpl-orange-lt); }
.tpl-band__call strong { font-size: 38px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.tpl-band__time { font-size: 14.5px; color: #c7d3df; }
.tpl-band__call:hover strong { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.tpl-band__links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tpl-band__links li + li { border-left: 1px solid rgba(255, 255, 255, .16); }
.tpl-band__links a { display: flex; align-items: center; gap: 16px; height: 100%; padding: 28px 32px; transition: background-color .3s; }
.tpl-band__links .tpl-ico { width: 30px; height: 30px; stroke-width: 1.4; color: var(--tpl-orange-lt); }
.tpl-band__links span { display: grid; }
.tpl-band__links strong { font-size: 19px; font-weight: 700; letter-spacing: -.04em; }
.tpl-band__links small { font-size: 14.5px; color: #c7d3df; }
.tpl-band__links a:hover { background: var(--tpl-navy-dk); }
.tpl-band__links a:hover strong { text-decoration: underline; text-underline-offset: 5px; }

/* ---------- 진료과 바로가기 : 제목과 검색창 한 줄, 탭, 6칸 선 격자 ---------- */
.tpl-dept__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.tpl-dept__search { position: relative; flex: 0 1 380px; }
.tpl-dept__search input { width: 100%; height: 56px; padding: 0 44px 0 2px; border: 0; border-bottom: 2px solid var(--tpl-navy); background: none; font-size: 17px; color: var(--tpl-ink); border-radius: 0; -webkit-appearance: none; appearance: none; }
.tpl-dept__search input::placeholder { color: #7a8591; }
.tpl-dept__search input:focus { outline: none; border-bottom-color: var(--tpl-orange); }
.tpl-dept__search input:focus-visible { outline: 2px solid var(--tpl-orange); outline-offset: 4px; }
.tpl-dept__search .tpl-ico { position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px; color: var(--tpl-navy); pointer-events: none; }
.tpl-dept__tabs { display: flex; gap: 36px; margin-top: 56px; border-bottom: 1px solid var(--tpl-line); }
.tpl-dept__tabs button { position: relative; padding: 0 0 16px; font-size: 19px; font-weight: 500; color: var(--tpl-mute); }
.tpl-dept__tabs button span { margin-left: 4px; font-size: 15px; color: inherit; }
.tpl-dept__tabs button::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--tpl-orange); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--tpl-ease); }
.tpl-dept__tabs button[aria-selected="true"] { font-weight: 700; color: var(--tpl-navy); }
.tpl-dept__tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.tpl-dept__tabs button:hover { color: var(--tpl-navy); }
.tpl-dept__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-left: 1px solid var(--tpl-line); }
.tpl-dept__grid li { border-right: 1px solid var(--tpl-line); border-bottom: 1px solid var(--tpl-line); }
.tpl-dept__grid[hidden], .tpl-dept__grid li[hidden] { display: none; }
.tpl-dept__grid a { display: grid; gap: 4px; height: 100%; padding: 26px 22px 24px; transition: background-color .25s, box-shadow .25s; }
.tpl-dept__grid strong { font-size: 19px; font-weight: 700; letter-spacing: -.045em; color: var(--tpl-ink); }
.tpl-dept__grid span { font-size: 14.5px; line-height: 1.5; color: var(--tpl-mute); }
.tpl-dept__grid a:hover, .tpl-dept__grid a:focus-visible { background: var(--tpl-pale); box-shadow: inset 3px 0 0 var(--tpl-orange); }
.tpl-dept__grid a:hover strong, .tpl-dept__grid a:focus-visible strong { color: var(--tpl-navy); text-decoration: underline; text-underline-offset: 5px; }
.tpl-dept__grid a:focus-visible { outline-offset: -3px; }
.tpl-dept__empty { padding: 40px 0; border-bottom: 1px solid var(--tpl-line); font-size: 17px; color: var(--tpl-mute); }

/* ---------- 캐러셀 공용(의료진 · 갤러리) : 왼쪽 제목 + 오른쪽 링크 · 사각 화살표 ---------- */
.tpl-slider__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.tpl-slider__side { display: flex; align-items: center; gap: 28px; flex: none; }
.tpl-slider__arrows { display: flex; gap: 6px; }
.tpl-track { --per: 4; --gap: 24px; display: flex; gap: var(--gap); margin-top: 52px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.tpl-track::-webkit-scrollbar { display: none; }
.tpl-track > li { flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); scroll-snap-align: start; }

/* ---------- 의료진 : 연회색 면, 세로 사진 카드(진료과 · 이름 · 전문 분야 · 외래 요일) ---------- */
.tpl-doctors { background: var(--tpl-pale); }
.tpl-doc > a { display: block; height: 100%; background: #fff; }
.tpl-doc > a:focus-visible { outline-offset: 4px; }
.tpl-doc__img { aspect-ratio: 3 / 4; overflow: hidden; background: #e2e7ec; }
.tpl-doc__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform 1.2s var(--tpl-ease); }
.tpl-doc a:hover img { transform: scale(1.04); }
.tpl-doc__dept { display: block; margin: 22px 24px 0; font-size: 15px; font-weight: 500; color: var(--tpl-orange-tx); }
.tpl-doc__name { display: block; margin: 4px 24px 0; font-size: 24px; font-weight: 700; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-doc__name small { margin-left: 2px; font-size: 16px; font-weight: 500; color: var(--tpl-mute); }
.tpl-doc a:hover .tpl-doc__name { color: var(--tpl-navy); text-decoration: underline; text-underline-offset: 5px; }
.tpl-doc__field { margin: 6px 24px 0; font-size: 16px; line-height: 1.55; color: var(--tpl-text); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tpl-doc__time { display: flex; align-items: center; gap: 10px; margin: 18px 24px 0; padding: 14px 0 22px; border-top: 1px solid var(--tpl-line); font-size: 15px; }
.tpl-doc__time dt { padding: 0 7px; border: 1px solid var(--tpl-navy); font-size: 13px; font-weight: 500; line-height: 22px; color: var(--tpl-navy); }
.tpl-doc__time dd { color: var(--tpl-text); }

/* ---------- 병원 찾기 : 왼쪽 제목 + 병원 목록(세로 탭), 오른쪽 사진 · 정보 ---------- */
.tpl-net__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 72px; align-items: start; margin-top: 56px; }
.tpl-net__list { border-bottom: 1px solid var(--tpl-line); }
.tpl-net__list button { display: grid; gap: 2px; width: 100%; padding: 20px 20px 20px 22px; border-top: 1px solid var(--tpl-line); text-align: left; transition: background-color .25s, box-shadow .25s; }
.tpl-net__list b { font-size: 20px; font-weight: 700; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-net__list span { font-size: 15px; color: var(--tpl-mute); }
.tpl-net__list button:hover b { text-decoration: underline; text-underline-offset: 5px; }
.tpl-net__list button[aria-selected="true"] { background: var(--tpl-pale); box-shadow: inset 4px 0 0 var(--tpl-orange); }
.tpl-net__list button[aria-selected="true"] b { color: var(--tpl-navy); }
.tpl-net__list button:focus-visible { outline-offset: -3px; }
.tpl-net__panel[hidden] { display: none; }
.tpl-net__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--tpl-pale); }
.tpl-net__img img { width: 100%; height: 100%; object-fit: cover; }
.tpl-net__info { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 40px; align-items: end; padding-top: 32px; }
.tpl-net__info h3 { grid-column: 1 / -1; font-size: 28px; font-weight: 700; letter-spacing: -.045em; color: var(--tpl-ink); }
.tpl-net__info h3 small { margin-left: 6px; padding: 0 7px; background: var(--tpl-navy); font-size: 13.5px; font-weight: 500; line-height: 24px; color: #fff; vertical-align: 4px; }
.tpl-net__info dl { display: grid; gap: 4px; font-size: 16.5px; }
.tpl-net__info dl div { display: flex; gap: 16px; }
.tpl-net__info dt { flex: none; width: 72px; color: var(--tpl-mute); }
.tpl-net__info dd { color: var(--tpl-text); }
.tpl-net__info dd a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tpl-net__btns { display: flex; gap: 8px; }

/* ---------- 진료 규모 : 풀폭 배경 사진(섹션에 고정, 패럴랙스 없음) + 남색 막, 왼쪽 제목 · 아래 숫자 4칸 ---------- */
.tpl-care { position: relative; overflow: hidden; color: #fff; isolation: isolate; }
.tpl-care__bg { position: absolute; inset: 0; z-index: -2; background: #24384d center / cover no-repeat; }
.tpl-care::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(16, 36, 58, .92) 0%, rgba(16, 36, 58, .78) 55%, rgba(16, 36, 58, .6) 100%); }
.tpl-care__in { padding: 140px 0 120px; }
.tpl-care__head { max-width: 860px; }
.tpl-care__title { margin-top: 20px; font-size: 46px; font-weight: 700; line-height: 1.35; letter-spacing: -.045em; }
.tpl-care__txt { margin-top: 16px; font-size: 18px; line-height: 1.7; color: rgba(255, 255, 255, .86); }
.tpl-care__nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; margin-top: 88px; }
.tpl-care__nums li { padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .35); }
.tpl-care__nums span { display: block; font-size: 16px; color: #c7d3df; }
.tpl-care__nums strong { display: block; margin-top: 6px; font-size: 52px; font-weight: 700; line-height: 1.15; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.tpl-care__nums small { margin-left: 4px; font-size: 18px; font-weight: 500; color: var(--tpl-orange-lt); }

/* ---------- 갤러리 : 갤러리 사진 최대 10장, 한 화면 3장(1024↓ 2장, 600↓ 1장) ---------- */
.tpl-gallery__track { --per: 3; --gap: 28px; }
.tpl-gallery__card > a { display: block; }
.tpl-gallery__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--tpl-pale); }
.tpl-gallery__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--tpl-ease); }
.tpl-gallery__card a:hover img, .tpl-gallery__card a:focus-visible img { transform: scale(1.05); }
.tpl-gallery__card a:focus-visible { outline-offset: 4px; }
.tpl-gallery__cat { display: inline-block; margin-top: 22px; font-size: 14.5px; font-weight: 500; color: var(--tpl-orange-tx); }
.tpl-gallery__tit { display: block; margin-top: 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 21px; font-weight: 700; letter-spacing: -.045em; color: var(--tpl-ink); }
.tpl-gallery__card a:hover .tpl-gallery__tit { color: var(--tpl-navy); text-decoration: underline; text-underline-offset: 5px; }
/* 내용은 두 줄까지 보이고 넘치면 … 로 줄입니다(줄 수가 달라도 카드 높이가 같도록 두 줄 높이를 확보) */
.tpl-gallery__txt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; min-height: calc(1.65em * 2); margin-top: 8px; font-size: 16px; line-height: 1.65; color: var(--tpl-text); }
.tpl-gallery__date { display: block; margin-top: 14px; font-size: 15px; color: var(--tpl-mute); font-variant-numeric: tabular-nums; }

/* ---------- 새소식 : 연회색 면 위 흰 상자 2개(위 남색 굵은 선), 오른쪽 위 ＋ 더보기 ---------- */
.tpl-news { background: var(--tpl-pale); }
.tpl-news__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 52px; }
.tpl-latest { min-width: 0; padding: 32px 36px 28px; border-top: 3px solid var(--tpl-navy); background: #fff; }
.tpl-latest__top { display: flex; justify-content: space-between; align-items: center; }
.tpl-latest__tit { font-size: 24px; font-weight: 700; letter-spacing: -.045em; color: var(--tpl-ink); }
.tpl-latest__more { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #c9d1d9; color: var(--tpl-navy); transition: background-color .25s, color .25s, border-color .25s; }
.tpl-latest__more .tpl-ico { width: 18px; height: 18px; }
.tpl-latest__more:hover { background: var(--tpl-navy); border-color: var(--tpl-navy); color: #fff; }
.tpl-latest__list { margin-top: 18px; }
.tpl-latest__list li { display: flex; align-items: center; gap: 24px; padding: 13px 0; border-bottom: 1px solid #e6eaee; font-size: 17px; }
.tpl-latest__list li:last-child { border-bottom: 0; }
.tpl-latest__list a { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #2b3540; }
.tpl-latest__list a:hover { color: var(--tpl-navy); text-decoration: underline; text-underline-offset: 4px; }
.tpl-latest__tag, .tpl-latest__re { display: inline-block; margin-right: 8px; padding: 0 6px; font-size: 13px; line-height: 20px; vertical-align: 2px; }
.tpl-latest__tag { border: 1px solid var(--tpl-orange-tx); color: var(--tpl-orange-tx); }
.tpl-latest__re { border: 1px solid #b5bec7; color: var(--tpl-mute); }
.tpl-latest__date { flex: none; font-size: 15px; color: var(--tpl-mute); font-variant-numeric: tabular-nums; }

/* ---------- 연락처 : 흰 바탕, 왼쪽 진료 시간표 · 대표번호, 오른쪽 지도 ---------- */
.tpl-contact__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 72px; align-items: center; }
.tpl-contact__table { margin-top: 40px; border-top: 2px solid var(--tpl-navy); font-size: 17px; }
.tpl-contact__table thead th { padding: 12px 0; border-bottom: 1px solid var(--tpl-line); font-size: 15px; font-weight: 500; text-align: left; color: var(--tpl-mute); }
.tpl-contact__table tbody th { width: 34%; padding: 14px 0; border-bottom: 1px solid var(--tpl-line); font-weight: 700; text-align: left; color: var(--tpl-ink); }
.tpl-contact__table td { padding: 14px 0; border-bottom: 1px solid var(--tpl-line); color: var(--tpl-text); font-variant-numeric: tabular-nums; }
.tpl-contact__table small { font-size: 15px; color: var(--tpl-mute); }
.tpl-contact__tel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.tpl-contact__tel dt { font-size: 15px; color: var(--tpl-mute); }
.tpl-contact__tel dd { font-size: 32px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; color: var(--tpl-navy); }
.tpl-contact__tel a:hover { text-decoration: underline; text-underline-offset: 5px; }
.tpl-contact__meta { margin-top: 20px; font-size: 16.5px; color: var(--tpl-text); }
.tpl-contact__meta li { display: flex; align-items: flex-start; gap: 10px; }
.tpl-contact__meta .tpl-ico { width: 18px; height: 18px; margin-top: 5px; color: var(--tpl-orange-tx); }
.tpl-contact__map { position: relative; width: 100%; aspect-ratio: 4 / 3; min-height: 360px; background: #e7ebef; }
.tpl-contact__map iframe { display: block; width: 100%; height: 100%; border: 0; }
.tpl-contact__maplink { position: absolute; right: 0; bottom: 0; display: inline-flex; align-items: center; gap: 6px; padding: 11px 16px; background: var(--tpl-navy); color: #fff; font-size: 15px; font-weight: 500; }
.tpl-contact__maplink .tpl-ico { width: 14px; height: 14px; }
.tpl-contact__maplink:hover { background: var(--tpl-navy-dk); }

/* ---------- 반응형 ---------- */
@media (max-width: 1280px) {
  .tpl-dept__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tpl-doctors__track { --per: 3; }
  .tpl-net__in { gap: 48px; }
  .tpl-net__info { grid-template-columns: minmax(0, 1fr); }
  .tpl-band__links a { padding: 26px 24px; }
  .tpl-care__nums strong { font-size: 44px; }
}
@media (max-width: 1200px) {
  .tpl-visual__title { font-size: 44px; }
  .tpl-contact__in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1024px) {
  .tpl-visual__title { font-size: 42px; }
  .tpl-visual__desc { font-size: 18.5px; }
  .tpl-band__in { grid-template-columns: minmax(0, 1fr); }
  .tpl-band__call { padding: 28px 0; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
  .tpl-band__links a { padding: 22px 20px 22px 0; }
  .tpl-band__links li + li a { padding-left: 20px; }
  .tpl-dept__head { flex-direction: column; align-items: stretch; gap: 32px; }
  .tpl-dept__search { flex: none; }
  .tpl-dept__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tpl-doctors__track { --per: 2; }
  .tpl-gallery__track { --per: 2; }
  .tpl-net__in { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .tpl-net__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 0; border-left: 1px solid var(--tpl-line); }
  .tpl-net__list button { padding: 16px 16px 16px 18px; border-right: 1px solid var(--tpl-line); border-bottom: 1px solid var(--tpl-line); }
  .tpl-net__list button[aria-selected="true"] { box-shadow: inset 0 3px 0 var(--tpl-orange); }
  .tpl-net__info { grid-template-columns: minmax(0, 1fr) auto; }
  .tpl-care__in { padding: 120px 0 100px; }
  .tpl-care__title { font-size: 40px; }
  .tpl-care__nums { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; margin-top: 64px; }
  .tpl-news__cards { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .tpl-contact__in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 768px) {
  .tpl-visual__caps { inset: var(--tpl-hd-h) 52px 76px; }
  .tpl-visual__kicker { font-size: 15px; }
  .tpl-visual__title { margin-top: 12px; font-size: 34px; line-height: 1.3; }
  .tpl-visual__desc { margin-top: 14px; font-size: 16.5px; }
  .tpl-visual__ctrl { gap: 18px; bottom: 24px; }
  .tpl-visual__arrow { width: 44px; height: 44px; margin-top: -22px; }
  .tpl-visual__arrow--prev { left: 4px; }
  .tpl-visual__arrow--next { right: 4px; }
  .tpl-visual__arrow .tpl-ico { width: 36px; height: 36px; }
  .tpl-band__call strong { font-size: 32px; }
  .tpl-band__links { grid-template-columns: minmax(0, 1fr); }
  .tpl-band__links li + li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .16); }
  .tpl-band__links a, .tpl-band__links li + li a { padding: 18px 0; }
  .tpl-band__links .tpl-ico { width: 26px; height: 26px; }
  .tpl-dept__tabs { margin-top: 40px; gap: 28px; }
  .tpl-dept__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-dept__grid a { padding: 20px 16px 18px; }
  .tpl-dept__grid strong { font-size: 18px; }
  .tpl-dept__grid span { font-size: 14px; }
  .tpl-slider__side .tpl-textlink { display: none; }
  .tpl-track { margin-top: 36px; }
  .tpl-net__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-net__list b { font-size: 18px; }
  .tpl-net__list span { font-size: 14px; }
  .tpl-net__info { grid-template-columns: minmax(0, 1fr); padding-top: 24px; }
  .tpl-net__info h3 { font-size: 24px; }
  .tpl-net__info dl { font-size: 16px; }
  .tpl-net__info dt { width: 64px; }
  .tpl-net__btns { margin-top: 12px; }
  .tpl-net__btns .tpl-btn { flex: 1; padding: 0 12px; }
  .tpl-care__in { padding: 96px 0 84px; }
  .tpl-care__title { margin-top: 16px; font-size: 31px; }
  .tpl-care__txt { font-size: 17px; }
  .tpl-care__nums { gap: 32px 20px; margin-top: 52px; }
  .tpl-care__nums span { font-size: 15px; }
  .tpl-care__nums strong { font-size: 34px; }
  .tpl-care__nums small { font-size: 15px; }
  .tpl-latest { padding: 26px 20px 20px; }
  .tpl-latest__tit { font-size: 21px; }
  .tpl-latest__list li { gap: 14px; font-size: 16px; }
  .tpl-contact__tel dd { font-size: 26px; }
  .tpl-contact__table { font-size: 16px; }
  .tpl-contact__map { min-height: 280px; }
}
@media (max-width: 600px) {
  .tpl-visual__pause-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .tpl-visual__caps { inset: var(--tpl-hd-h) 40px 72px; }
  .tpl-visual__title { font-size: 30px; }
  .tpl-visual__desc { font-size: 16px; }
  .tpl-doctors__track, .tpl-gallery__track { --per: 1; }
  .tpl-doctors__track > li { flex-basis: 78%; }
  .tpl-latest__date { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .tpl-track { scroll-behavior: auto; }
}

/* ---------- Contact 카카오 지도 (2026-11-10 추가) : 카카오 화면 왼쪽 검색 창을 상자 밖으로 밀어 가립니다 ---------- */
.tpl-contact__map { overflow: hidden; }
.tpl-contact__map iframe { position: absolute; top: 0; left: -420px; width: calc(100% + 420px); max-width: none; height: 100%; }
.tpl-contact__maplink { z-index: 1; }
@media (max-width: 768px) {
  .tpl-contact__map { aspect-ratio: auto; height: 420px; min-height: 0; }
}

/* ---------- 원본 assets/css/sub.css ---------- */
/* sub.css — 서브페이지 전용입니다. 서브 비주얼, 위치 표시 · 2차 메뉴 탭, 본문 블록, 인사말 2단, 재단 개요 표를 담습니다.
   색 · 글꼴 · 라벨 · 버튼은 common.css 를 그대로 씁니다. 서브 비주얼 사진은 움직이지 않습니다(패럴랙스 없음). */

/* ---------- 서브 비주얼 : 사진 + 남색 막, 가운데 라벨 · 큰 제목 · 한 줄 설명 (PC 460px · 1024↓ 400px · 768↓ 340px) ---------- */
.tpl-subvis { position: relative; display: flex; align-items: center; height: 460px; overflow: hidden; background: #24384d; color: #fff; text-align: center; isolation: isolate; }
.tpl-subvis__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.tpl-subvis::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 31, 50, .45) 0%, rgba(14, 31, 50, 0) 35%), rgba(14, 31, 50, .58); }
.tpl-subvis__in { display: flex; flex-direction: column; align-items: center; padding-top: var(--tpl-hd-h); }
.tpl-subvis__in > * { animation: tplRise 1s var(--tpl-ease) both; }
.tpl-subvis__title { margin-top: 18px; font-size: 56px; font-weight: 700; line-height: 1.25; letter-spacing: -.05em; animation-delay: .1s; }
.tpl-subvis__desc { margin-top: 16px; font-size: 19px; line-height: 1.7; color: rgba(255, 255, 255, .9); animation-delay: .25s; }
@keyframes tplRise { from { opacity: 0; transform: translateY(20px); } }

/* ---------- 위치 표시(왼쪽) + 2차 메뉴 탭(오른쪽, 현재 탭은 주황 밑줄). 1024px 이하에서는 위아래로 나뉘고 탭은 가로로 밀어 봅니다 ---------- */
.tpl-snb { border-bottom: 1px solid var(--tpl-line); background: #fff; }
.tpl-snb__in { display: flex; align-items: center; justify-content: space-between; gap: 40px; min-height: 72px; }
.tpl-loc ol { display: flex; flex-wrap: wrap; align-items: center; font-size: 15px; color: var(--tpl-mute); }
.tpl-loc li { display: flex; align-items: center; }
.tpl-loc li + li::before { content: ''; width: 6px; height: 6px; margin: 0 14px 0 12px; border-top: 1px solid #98a2ad; border-right: 1px solid #98a2ad; transform: rotate(45deg); }
.tpl-loc a { display: flex; align-items: center; }
.tpl-loc a:hover { color: var(--tpl-navy); text-decoration: underline; text-underline-offset: 4px; }
.tpl-loc .tpl-ico { width: 17px; height: 17px; }
.tpl-loc li[aria-current] { font-weight: 700; color: var(--tpl-navy); }
.tpl-snb__tabs ul { display: flex; }
.tpl-snb__tabs a { position: relative; display: flex; align-items: center; height: 72px; padding: 0 20px; font-size: 17px; font-weight: 500; color: var(--tpl-mute); white-space: nowrap; transition: color .25s; }
.tpl-snb__tabs a::after { content: ''; position: absolute; left: 20px; right: 20px; bottom: -1px; height: 3px; background: var(--tpl-orange); transform: scaleX(0); transition: transform .35s var(--tpl-ease); }
.tpl-snb__tabs a:hover, .tpl-snb__tabs a[aria-current] { color: var(--tpl-navy); }
.tpl-snb__tabs a[aria-current] { font-weight: 700; }
.tpl-snb__tabs a[aria-current]::after { transform: scaleX(1); }
/* 탭 밑줄은 늘 하나만: 마우스 환경에서만 hover 선을 보이고, 다른 탭에 올리면 현재 탭 선을 거둡니다(터치 후 선이 남지 않음) */
@media (hover: hover) {
  .tpl-snb__tabs a:hover::after { transform: scaleX(1); }
  .tpl-snb__tabs:hover a[aria-current]:not(:hover)::after { transform: scaleX(0); }
}
.tpl-snb__tabs a:focus-visible { outline-offset: -4px; }
.tpl-snb__tabs li:last-child a { margin-right: -20px; }

/* ---------- 본문 블록 : 흰 블록 · 연회색 블록 ---------- */
.tpl-block { padding: 140px 0; }
.tpl-block--pale { background: var(--tpl-pale); }
.tpl-sechead { margin-bottom: 64px; }

/* ---------- 인사말 : 왼쪽 세로 사진(5칸) · 오른쪽 글(7칸), 서명은 글 아래 오른쪽 ---------- */
.tpl-greet { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 88px; align-items: start; }
.tpl-greet__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--tpl-pale); }
.tpl-greet__media::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34%; height: 6px; background: var(--tpl-orange); }
.tpl-greet__media img { width: 100%; height: 100%; object-fit: cover; }
.tpl-greet__lead { padding-bottom: 28px; border-bottom: 1px solid var(--tpl-line); font-size: 24px; font-weight: 700; line-height: 1.6; letter-spacing: -.045em; color: var(--tpl-navy); }
.tpl-greet__txt { margin-top: 28px; font-size: 18px; line-height: 1.9; color: var(--tpl-text); }
.tpl-greet__txt p + p { margin-top: 1.1em; }
.tpl-sign { margin-top: 48px; text-align: right; font-size: 17px; color: var(--tpl-mute); }
.tpl-sign strong { margin-left: 12px; font-size: 26px; font-weight: 700; letter-spacing: .12em; color: var(--tpl-ink); }

/* ---------- 재단 개요 : 왼쪽 제목 · 오른쪽 2열 표(위 남색 굵은 선) ---------- */
.tpl-overview { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px 72px; align-items: start; }
.tpl-otable { border-top: 2px solid var(--tpl-navy); background: #fff; font-size: 17.5px; }
.tpl-otable th { width: 30%; padding: 20px 28px; border-bottom: 1px solid var(--tpl-line); font-weight: 500; text-align: left; vertical-align: top; color: var(--tpl-mute); }
.tpl-otable td { padding: 20px 28px 20px 0; border-bottom: 1px solid var(--tpl-line); color: var(--tpl-ink); }
.tpl-otable strong { font-weight: 700; color: var(--tpl-navy); }
.tpl-otable small { font-size: 15px; color: var(--tpl-mute); }

/* ---------- 반응형 ---------- */
@media (max-width: 1200px) {
  .tpl-greet { gap: 0 56px; }
  .tpl-overview { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1024px) {
  .tpl-subvis { height: 400px; }
  .tpl-subvis__title { font-size: 46px; }
  .tpl-snb__in { flex-direction: column; align-items: stretch; gap: 0; }
  .tpl-loc { padding: 18px 0 4px; }
  .tpl-snb__tabs { margin: 0 calc(var(--tpl-side) * -1); }
  .tpl-snb__tabs ul { overflow-x: auto; padding: 0 calc(var(--tpl-side) - 16px); scrollbar-width: none; }
  .tpl-snb__tabs ul::-webkit-scrollbar { display: none; }
  .tpl-snb__tabs a { height: 60px; padding: 0 16px; }
  .tpl-snb__tabs a::after { left: 16px; right: 16px; }
  .tpl-snb__tabs li:last-child a { margin-right: 0; }
  .tpl-block { padding: 110px 0; }
  .tpl-greet { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .tpl-greet__media { width: min(100%, 480px); }
}
@media (max-width: 768px) {
  .tpl-subvis { height: 340px; }
  .tpl-subvis__title { margin-top: 14px; font-size: 36px; }
  .tpl-subvis__desc { margin-top: 12px; font-size: 16.5px; }
  .tpl-block { padding: 88px 0; }
  .tpl-sechead { margin-bottom: 44px; }
  .tpl-greet__lead { font-size: 20px; }
  .tpl-greet__txt { font-size: 17px; }
  .tpl-sign { margin-top: 36px; }
  .tpl-sign strong { font-size: 22px; }
  .tpl-otable { font-size: 16px; }
  .tpl-otable th { width: 32%; padding: 16px 12px 16px 16px; }
  .tpl-otable td { padding: 16px 16px 16px 0; }
}

/* ==========================================================================
   서브페이지 추가 (2026-11-10) : 아래는 새 서브 화면 32장이 함께 쓰는 부품입니다. 위의 기존 줄은 고치지 않았습니다.
   표 · 꼬리표 · 버튼 줄 · 연혁 · 미션 · 가치 · 조직도 · 숫자 · 카카오 지도 · 안내 목록 · 개요 · 센터 · 단계 · 응급 띠 ·
   검색 줄 · 의료진 카드 · 의료진 상세 · 진료 시간표 · 인증 · 입력 폼 · 동의 · 게시판 목록/보기/쓰기 · FAQ · 갤러리 · 회원 · 정책
   ========================================================================== */
.tpl-subtit { margin-bottom: 24px; font-size: 26px; font-weight: 700; line-height: 1.4; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-subtit small { margin-left: 10px; font-size: 15px; font-weight: 400; letter-spacing: -.02em; color: var(--tpl-mute); }
.tpl-gap { margin-top: 88px; }
.tpl-note { margin-top: 18px; font-size: 15.5px; line-height: 1.7; color: var(--tpl-mute); }
.tpl-lead { max-width: 960px; font-size: 19px; line-height: 1.85; color: var(--tpl-text); }

/* 표 : 위 남색 굵은 선 · 머리 연회색. 좁은 화면에서는 표 상자 안에서만 가로로 밀어 봅니다 */
.tpl-tablewrap { position: relative; width: 100%; overflow-x: auto; }
.tpl-table { width: 100%; border-top: 2px solid var(--tpl-navy); background: #fff; font-size: 17px; line-height: 1.6; }
.tpl-table th, .tpl-table td { padding: 17px 20px; border-bottom: 1px solid var(--tpl-line); text-align: left; vertical-align: middle; }
.tpl-table thead th { background: var(--tpl-pale); font-size: 16px; font-weight: 700; color: var(--tpl-ink); white-space: nowrap; }
.tpl-table tbody th { font-weight: 700; color: var(--tpl-ink); white-space: nowrap; }
.tpl-table td { color: var(--tpl-text); }
.tpl-table td a { color: var(--tpl-navy); }
.tpl-table td a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tpl-table .is-c { text-align: center; }
.tpl-table .is-nw { white-space: nowrap; }
.tpl-table small { font-size: 15px; color: var(--tpl-mute); }

/* 꼬리표 · 버튼 줄 */
.tpl-tag { display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border: 1px solid var(--tpl-navy); font-size: 13.5px; font-weight: 700; line-height: 1; letter-spacing: -.01em; color: var(--tpl-navy); white-space: nowrap; vertical-align: middle; }
.tpl-tag--fill { background: var(--tpl-navy); color: #fff; }
.tpl-tag--or { border-color: var(--tpl-orange-tx); color: var(--tpl-orange-tx); }
.tpl-tag--mute { border-color: #b9c2cb; color: var(--tpl-mute); }
.tpl-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.tpl-btns--c { justify-content: center; }
.tpl-btns--r { justify-content: flex-end; }
.tpl-btn { gap: 8px; white-space: nowrap; }
.tpl-btn .tpl-ico { width: 17px; height: 17px; }
.tpl-btn--lg { height: 58px; padding: 0 40px; font-size: 17px; }

/* 재단 연혁 : 왼쪽 시기 이름(따라 내려옴) · 오른쪽 해마다 한 일 */
.tpl-hist { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 0 72px; }
.tpl-hist + .tpl-hist { margin-top: 96px; }
.tpl-hist__era { position: sticky; top: calc(var(--tpl-hd-h) + 40px); align-self: start; }
.tpl-hist__era strong { display: block; font-size: 44px; font-weight: 700; line-height: 1.2; letter-spacing: -.03em; color: var(--tpl-navy); }
.tpl-hist__era span { display: block; margin-top: 14px; font-size: 19px; font-weight: 500; color: var(--tpl-ink); }
.tpl-hist__era::after { content: ''; display: block; width: 48px; height: 4px; margin-top: 26px; background: var(--tpl-orange); }
.tpl-hist__list { border-top: 2px solid var(--tpl-navy); }
.tpl-hist__list > li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-hist__list b { font-size: 22px; font-weight: 700; line-height: 1.5; color: var(--tpl-navy); }
.tpl-hist__list ul li { position: relative; padding-left: 16px; font-size: 17.5px; line-height: 1.8; }
.tpl-hist__list ul li::before { content: ''; position: absolute; left: 0; top: .8em; width: 6px; height: 2px; background: var(--tpl-orange); }
.tpl-hist__list em { margin-right: 8px; font-style: normal; font-weight: 500; color: var(--tpl-mute); }

/* 미션 · 비전 : 큰 문장 + 가치 2 × 2 */
.tpl-mission { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 72px; align-items: start; }
.tpl-mission__big { padding-left: 32px; border-left: 4px solid var(--tpl-orange); font-size: 34px; font-weight: 700; line-height: 1.5; letter-spacing: -.045em; color: var(--tpl-navy); }
.tpl-mission__txt { margin-top: 24px; padding-left: 36px; font-size: 18px; line-height: 1.85; }
.tpl-vision { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--tpl-navy); color: #fff; }
.tpl-vision > div { padding: 48px 52px; }
.tpl-vision > div + div { border-left: 1px solid rgba(255, 255, 255, .2); }
.tpl-vision small { display: block; font-size: 14px; font-weight: 700; letter-spacing: .14em; color: var(--tpl-orange-lt); }
.tpl-vision strong { display: block; margin-top: 14px; font-size: 27px; font-weight: 700; line-height: 1.5; letter-spacing: -.04em; }
.tpl-vision p { margin-top: 12px; font-size: 17px; line-height: 1.75; color: #c7d3df; }
.tpl-values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.tpl-values li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; padding: 36px 0; border-top: 1px solid var(--tpl-line); }
.tpl-values li:nth-child(-n+2) { border-top: 2px solid var(--tpl-navy); }
.tpl-values b { font-size: 30px; font-weight: 700; line-height: 1.2; color: var(--tpl-orange-tx); }
.tpl-values strong { display: block; font-size: 22px; font-weight: 700; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-values p { margin-top: 10px; font-size: 17px; line-height: 1.75; }

/* 조직도 : 이사회 → 이사장 → 재단 본부 3실 → 병원 5곳 */
.tpl-org { --org-line: #9aa8b6; text-align: center; }
.tpl-org__box { display: inline-flex; flex-direction: column; justify-content: center; min-width: 220px; min-height: 64px; padding: 12px 24px; border: 1px solid var(--tpl-navy); background: #fff; font-size: 18px; font-weight: 700; color: var(--tpl-navy); }
.tpl-org__box small { font-size: 14px; font-weight: 400; color: var(--tpl-mute); }
.tpl-org__box--top { background: var(--tpl-navy); color: #fff; }
.tpl-org__box--top small { color: #c7d3df; }
.tpl-org__stem { width: 1px; height: 36px; margin: 0 auto; background: var(--org-line); }
.tpl-org__row { position: relative; display: grid; gap: 16px; padding-top: 36px; }
.tpl-org__row::before { content: ''; position: absolute; top: 0; left: var(--org-edge); right: var(--org-edge); height: 1px; background: var(--org-line); }
.tpl-org__row > li { position: relative; }
.tpl-org__row > li::before { content: ''; position: absolute; left: 50%; top: -36px; width: 1px; height: 36px; background: var(--org-line); }
.tpl-org__row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); --org-edge: 16.66%; max-width: 960px; margin: 0 auto; }
.tpl-org__row--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); --org-edge: 10%; }
.tpl-org__row .tpl-org__box { display: flex; width: 100%; min-width: 0; }
.tpl-org__row--5 .tpl-org__box { border-top: 3px solid var(--tpl-orange); }
.tpl-org__row--5 ul { margin-top: 14px; padding: 16px 18px; background: var(--tpl-pale); text-align: left; font-size: 15.5px; line-height: 1.9; }
.tpl-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--tpl-navy); border-bottom: 1px solid var(--tpl-line); }
.tpl-nums li { padding: 30px 28px; }
.tpl-nums li + li { border-left: 1px solid var(--tpl-line); }
.tpl-nums span { display: block; font-size: 16px; color: var(--tpl-mute); }
.tpl-nums strong { display: block; margin-top: 8px; font-size: 40px; font-weight: 700; line-height: 1.2; letter-spacing: -.03em; color: var(--tpl-navy); }
.tpl-nums small { margin-left: 4px; font-size: 17px; font-weight: 500; color: var(--tpl-text); }
.tpl-nums--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* 오시는 길 : 카카오 지도(왼쪽 검색 창은 상자 밖으로 밀어 가림) + 주소 · 교통 */
.tpl-locmap { position: relative; height: 560px; overflow: hidden; background: #e7ebef; }
.tpl-locmap iframe { position: absolute; top: 0; left: -420px; width: calc(100% + 420px); max-width: none; height: 100%; border: 0; }
.tpl-locmap__link { position: absolute; right: 0; bottom: 0; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 12px 18px; background: var(--tpl-navy); color: #fff; font-size: 15px; font-weight: 500; }
.tpl-locmap__link .tpl-ico { width: 14px; height: 14px; }
.tpl-locmap__link:hover { background: var(--tpl-navy-dk); }
.tpl-info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--tpl-line); }
.tpl-info > div { display: flex; gap: 16px; padding: 30px 28px 30px 0; }
.tpl-info > div + div { padding-left: 28px; border-left: 1px solid var(--tpl-line); }
.tpl-info .tpl-ico { width: 26px; height: 26px; color: var(--tpl-orange-tx); }
.tpl-info dt { font-size: 15px; font-weight: 700; color: var(--tpl-mute); }
.tpl-info dd { margin-top: 4px; font-size: 18px; font-weight: 500; line-height: 1.6; color: var(--tpl-ink); }
.tpl-rows > div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-rows > div:first-child { border-top: 2px solid var(--tpl-navy); }
.tpl-rows dt { font-size: 18px; font-weight: 700; color: var(--tpl-navy); }
.tpl-rows dd { font-size: 17.5px; line-height: 1.8; }
.tpl-rows dd p + p { margin-top: 6px; }
.tpl-rows dd b { font-weight: 700; color: var(--tpl-ink); }

/* 진료과 · 센터 개요 : 왼쪽 사진(아래 주황 막대) · 오른쪽 설명과 숫자 */
.tpl-intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 80px; align-items: center; }
.tpl-intro__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tpl-pale); }
.tpl-intro__img::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34%; height: 6px; background: var(--tpl-orange); }
.tpl-intro__img img { width: 100%; height: 100%; object-fit: cover; }
.tpl-intro__body .tpl-lead + .tpl-nums { margin-top: 40px; }
.tpl-centers > li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 64px; align-items: start; padding: 48px 0; border-top: 1px solid var(--tpl-line); }
.tpl-centers > li:first-child { padding-top: 0; border-top: 0; }
.tpl-centers figure { aspect-ratio: 16 / 10; overflow: hidden; background: var(--tpl-pale); }
.tpl-centers img { width: 100%; height: 100%; object-fit: cover; }
.tpl-centers h4 { font-size: 28px; font-weight: 700; letter-spacing: -.045em; color: var(--tpl-ink); }
.tpl-centers h4 small { margin-left: 10px; font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--tpl-orange-tx); }
.tpl-centers p { margin-top: 14px; font-size: 17.5px; line-height: 1.8; }
.tpl-centers dl { margin-top: 22px; border-top: 1px solid var(--tpl-ink); }
.tpl-centers dl div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--tpl-line); font-size: 16.5px; }
.tpl-centers dt { font-weight: 700; color: var(--tpl-ink); }
.tpl-centers .tpl-btns { margin-top: 24px; }

/* 단계 : 번호 · 제목 · 설명, 가로로 나란히(768px 이하 세로) */
.tpl-steps { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); counter-reset: step; border-top: 2px solid var(--tpl-navy); }
.tpl-steps li { position: relative; padding: 32px 28px 34px; counter-increment: step; }
.tpl-steps li + li { border-left: 1px solid var(--tpl-line); }
.tpl-steps li::before { content: 'STEP 0' counter(step); display: block; font-size: 14px; font-weight: 700; letter-spacing: .12em; color: var(--tpl-orange-tx); }
.tpl-steps strong { display: block; margin-top: 12px; font-size: 21px; font-weight: 700; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-steps p { margin-top: 8px; font-size: 16.5px; line-height: 1.7; }
.tpl-steps--pale li { background: var(--tpl-pale); }

/* 남색 안내 띠(흰 섹션 안쪽) : 응급실 번호 · 예약 전화 · Q&A 안내 */
.tpl-navybox { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; padding: 44px 52px; background: var(--tpl-navy); color: #fff; }
.tpl-navybox small { display: block; font-size: 15px; font-weight: 700; letter-spacing: .06em; color: var(--tpl-orange-lt); }
.tpl-navybox strong { display: block; margin-top: 8px; font-size: 28px; font-weight: 700; line-height: 1.45; letter-spacing: -.04em; }
.tpl-navybox p { margin-top: 8px; font-size: 17px; color: #c7d3df; }
.tpl-navybox__tel { font-size: 44px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.tpl-navybox .tpl-btn-line { margin-top: 0; }
.tpl-ktas li { display: grid; grid-template-columns: 96px minmax(0, 1fr); }

/* 검색 줄 : 분류 선택 + 검색어 (게시판 · 의료진 · 협력 기관) */
.tpl-filter { display: flex; flex-wrap: wrap; gap: 10px; padding: 24px 28px; background: var(--tpl-pale); border-top: 2px solid var(--tpl-navy); }
.tpl-filter .tpl-select { flex: 0 1 220px; }
.tpl-filter .tpl-input { flex: 1 1 280px; }
.tpl-filter .tpl-btn { height: 52px; }
.tpl-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.tpl-cats a { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border: 1px solid #c9d1d9; background: #fff; font-size: 16px; font-weight: 500; color: var(--tpl-text); transition: border-color .25s, color .25s; }
.tpl-cats a:hover { border-color: var(--tpl-navy); color: var(--tpl-navy); }
.tpl-cats a[aria-current] { border-color: var(--tpl-navy); background: var(--tpl-navy); color: #fff; }

/* 의료진 카드 : 세로 사진 · 진료과 · 이름 · 전문 분야 · 외래 · 버튼 두 개 */
.tpl-dcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 32px; margin-top: 40px; }
.tpl-dcard { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--tpl-line); }
.tpl-dcard figure { aspect-ratio: 3 / 4; overflow: hidden; background: var(--tpl-pale); }
.tpl-dcard img { width: 100%; height: 100%; object-fit: cover; }
.tpl-dcard__dept { font-size: 15px; font-weight: 700; color: var(--tpl-orange-tx); }
.tpl-dcard__name { display: block; margin-top: 6px; font-size: 24px; font-weight: 700; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-dcard__name small { margin-left: 6px; font-size: 15px; font-weight: 500; color: var(--tpl-mute); }
.tpl-dcard__field { margin-top: 10px; font-size: 16px; line-height: 1.65; }
.tpl-dcard__time { margin-top: 10px; font-size: 15px; color: var(--tpl-mute); }
.tpl-dcard .tpl-btns { margin-top: 18px; }
.tpl-dcard .tpl-btn { height: 42px; padding: 0 14px; font-size: 15px; }
.tpl-dview { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px 72px; align-items: start; }
.tpl-dview figure { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--tpl-pale); }
.tpl-dview figure::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34%; height: 6px; background: var(--tpl-orange); }
.tpl-dview figure img { width: 100%; height: 100%; object-fit: cover; }
.tpl-dview__name { margin-top: 8px; font-size: 40px; font-weight: 700; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-dview__name small { margin-left: 10px; font-size: 19px; font-weight: 500; color: var(--tpl-mute); }
.tpl-dview__field { margin-top: 12px; padding-bottom: 28px; border-bottom: 1px solid var(--tpl-line); font-size: 19px; line-height: 1.7; color: var(--tpl-navy); }
.tpl-dview .tpl-subtit { margin-top: 40px; font-size: 21px; }
.tpl-dview .tpl-btns { margin-top: 32px; }
.tpl-blist li { position: relative; padding-left: 16px; font-size: 17px; line-height: 1.9; }
.tpl-blist li::before { content: ''; position: absolute; left: 0; top: .85em; width: 6px; height: 2px; background: var(--tpl-orange); }
.tpl-blist em { display: inline-block; min-width: 110px; font-style: normal; font-weight: 500; color: var(--tpl-mute); }

/* 진료 시간표 : 진료 칸은 남색 점(글자로는 「진료」를 읽어 줌), 쉬는 칸은 가는 줄 */
.tpl-tt th, .tpl-tt td { text-align: center; }
.tpl-tt tbody th { text-align: left; }
.tpl-tt thead tr + tr th { font-size: 14.5px; font-weight: 500; color: var(--tpl-mute); }
.tpl-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--tpl-navy); vertical-align: middle; }
.tpl-dot--or { background: var(--tpl-orange); }
.tpl-off { display: inline-block; width: 10px; height: 1px; background: #b9c2cb; vertical-align: middle; }
.tpl-legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 16px; font-size: 15.5px; color: var(--tpl-mute); }
.tpl-legend span { display: inline-flex; align-items: center; gap: 8px; }

/* 인증 · 평가 : 6칸(위 남색 선) */
.tpl-certs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.tpl-certs li { padding: 30px 30px 32px; border-top: 3px solid var(--tpl-navy); background: var(--tpl-pale); }
.tpl-certs small { font-size: 15px; font-weight: 700; color: var(--tpl-orange-tx); }
.tpl-certs strong { display: block; margin-top: 10px; font-size: 22px; font-weight: 700; line-height: 1.45; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-certs p { margin-top: 10px; font-size: 16.5px; line-height: 1.7; }

/* 입력 폼 : 왼쪽 이름 칸 · 오른쪽 입력 (768px 이하 위아래) */
.tpl-input, .tpl-select, .tpl-textarea { width: 100%; min-width: 0; height: 52px; padding: 0 16px; border: 1px solid #c3ccd5; border-radius: 0; background: #fff; font: inherit; font-size: 16.5px; color: var(--tpl-ink); }
.tpl-select { padding-right: 40px; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231b3a5c' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center; }
.tpl-textarea { height: 220px; padding: 14px 16px; line-height: 1.7; resize: vertical; }
.tpl-input:focus, .tpl-select:focus, .tpl-textarea:focus { border-color: var(--tpl-navy); outline: 2px solid rgba(27, 58, 92, .18); outline-offset: 0; }
.tpl-input::placeholder, .tpl-textarea::placeholder { color: #7d8792; }
.tpl-form { border-top: 2px solid var(--tpl-navy); }
.tpl-form__row { display: grid; grid-template-columns: 220px minmax(0, 1fr); border-bottom: 1px solid var(--tpl-line); }
.tpl-form__row > .tpl-form__lbl { display: flex; align-items: center; padding: 18px 24px; background: var(--tpl-pale); font-size: 16.5px; font-weight: 700; color: var(--tpl-ink); }
.tpl-form__lbl b { margin-left: 4px; color: var(--tpl-orange-tx); }
.tpl-form__field { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 14px 24px; }
.tpl-form__field > .tpl-input, .tpl-form__field > .tpl-select { flex: 1 1 240px; }
.tpl-form__field > .tpl-input--s { flex: 0 1 220px; }
.tpl-form__help { flex-basis: 100%; font-size: 15px; color: var(--tpl-mute); }
.tpl-form__group { display: flex; flex-wrap: wrap; gap: 10px 28px; border: 0; }
.tpl-check { display: inline-flex; align-items: center; gap: 8px; font-size: 16.5px; cursor: pointer; }
.tpl-check input { width: 20px; height: 20px; margin: 0; accent-color: var(--tpl-navy); flex: none; }
.tpl-file { font-size: 16px; }
.tpl-form-req { margin-bottom: 14px; text-align: right; font-size: 15px; color: var(--tpl-mute); }
.tpl-form-req b { color: var(--tpl-orange-tx); }
.tpl-agree { margin-top: 40px; }
.tpl-agree__box { height: 168px; overflow-y: auto; padding: 20px 24px; border: 1px solid var(--tpl-line); background: var(--tpl-pale); font-size: 15.5px; line-height: 1.8; }
.tpl-agree__box p + p { margin-top: 8px; }
.tpl-agree .tpl-check { margin-top: 14px; }
.tpl-formfoot { margin-top: 48px; }

/* 게시판 목록 : 글 수 · 검색 · 표 · 쪽 번호 */
.tpl-bbs-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.tpl-bbs-total { font-size: 16px; color: var(--tpl-mute); }
.tpl-bbs-total b { color: var(--tpl-navy); }
.tpl-search { display: flex; gap: 8px; width: min(100%, 520px); }
.tpl-search .tpl-select { flex: 0 0 130px; }
.tpl-search .tpl-input { flex: 1 1 auto; }
.tpl-search__btn { display: grid; place-items: center; flex: 0 0 52px; height: 52px; background: var(--tpl-navy); color: #fff; }
.tpl-search__btn:hover { background: var(--tpl-navy-dk); }
.tpl-bbs { width: 100%; border-top: 2px solid var(--tpl-navy); font-size: 17px; }
.tpl-bbs th, .tpl-bbs td { padding: 18px 14px; border-bottom: 1px solid var(--tpl-line); text-align: center; white-space: nowrap; }
.tpl-bbs thead th { font-size: 16px; font-weight: 700; color: var(--tpl-ink); }
.tpl-bbs td { color: var(--tpl-mute); font-size: 16px; }
.tpl-bbs .tpl-bbs__subj { width: 100%; max-width: 0; text-align: left; white-space: normal; }
.tpl-bbs__subj a { display: inline; font-size: 17px; color: var(--tpl-ink); }
.tpl-bbs__subj a:hover { color: var(--tpl-navy); text-decoration: underline; text-underline-offset: 4px; }
.tpl-bbs__subj .tpl-tag { margin-right: 8px; }
.tpl-bbs__mark { margin-left: 8px; font-size: 14px; font-weight: 500; color: var(--tpl-orange-tx); white-space: nowrap; }
.tpl-bbs tr.is-notice td { background: #f8f9fb; }
.tpl-bbs tr.is-notice .tpl-bbs__subj a { font-weight: 700; }
.tpl-bbs__re { margin-right: 6px; font-weight: 700; color: var(--tpl-orange-tx); }
.tpl-bbs-foot { display: flex; justify-content: flex-end; margin-top: 24px; }
.tpl-pager { display: flex; justify-content: center; gap: 6px; margin-top: 48px; }
.tpl-pager a, .tpl-pager strong { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 6px; border: 1px solid transparent; font-size: 16px; color: var(--tpl-mute); }
.tpl-pager a:hover { border-color: #c9d1d9; color: var(--tpl-navy); }
.tpl-pager strong { border-color: var(--tpl-navy); background: var(--tpl-navy); font-weight: 700; color: #fff; }
.tpl-pager .tpl-ico { width: 18px; height: 18px; }

/* 게시판 보기 : 제목 · 정보 · 첨부 · 본문 · 답변 · 이전/다음 */
.tpl-view__head { padding: 32px 0 26px; border-top: 2px solid var(--tpl-navy); border-bottom: 1px solid var(--tpl-line); }
.tpl-view__title { margin-top: 12px; font-size: 30px; font-weight: 700; line-height: 1.45; letter-spacing: -.045em; color: var(--tpl-ink); }
.tpl-view__meta { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 14px; font-size: 15.5px; color: var(--tpl-mute); }
.tpl-view__meta b { margin-right: 6px; font-weight: 500; color: var(--tpl-text); }
.tpl-files { padding: 16px 24px; border-bottom: 1px solid var(--tpl-line); background: var(--tpl-pale); font-size: 16px; }
.tpl-files li { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.tpl-files a { color: var(--tpl-navy); }
.tpl-files a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tpl-files small { color: var(--tpl-mute); }
.tpl-view__body { padding: 48px 0 64px; border-bottom: 1px solid var(--tpl-line); font-size: 18px; line-height: 1.9; }
.tpl-view__body p + p, .tpl-view__body p + .tpl-tablewrap, .tpl-view__body .tpl-tablewrap + p, .tpl-view__body p + ul, .tpl-view__body ul + p { margin-top: 1.1em; }
.tpl-view__body h4 { margin: 1.6em 0 .6em; font-size: 21px; font-weight: 700; color: var(--tpl-ink); }
.tpl-view__body .tpl-table { font-size: 16.5px; }
.tpl-answer { margin-top: 40px; padding: 36px 40px; border-top: 3px solid var(--tpl-orange); background: var(--tpl-pale); }
.tpl-answer__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.tpl-answer__head strong { font-size: 20px; font-weight: 700; color: var(--tpl-ink); }
.tpl-answer__head span { font-size: 15px; color: var(--tpl-mute); }
.tpl-answer__body { margin-top: 18px; font-size: 17.5px; line-height: 1.85; }
.tpl-answer__body p + p { margin-top: .9em; }
.tpl-prevnext { margin-top: 48px; border-top: 1px solid var(--tpl-ink); }
.tpl-prevnext li { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--tpl-line); font-size: 16.5px; }
.tpl-prevnext b { font-weight: 700; color: var(--tpl-navy); }
.tpl-prevnext a { overflow: hidden; color: var(--tpl-ink); text-overflow: ellipsis; white-space: nowrap; }
.tpl-prevnext a:hover { color: var(--tpl-navy); text-decoration: underline; text-underline-offset: 4px; }
.tpl-prevnext span { font-size: 15px; color: var(--tpl-mute); }
.tpl-view__btns { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 32px; }

/* 자주 묻는 질문 : details · summary 접고 펴기(스크립트 없음) */
.tpl-faq { border-top: 2px solid var(--tpl-navy); }
.tpl-faq details { border-bottom: 1px solid var(--tpl-line); }
.tpl-faq summary { display: grid; grid-template-columns: 48px 110px minmax(0, 1fr) 24px; gap: 12px; align-items: center; padding: 24px 12px; cursor: pointer; list-style: none; font-size: 18px; font-weight: 500; color: var(--tpl-ink); }
.tpl-faq summary::-webkit-details-marker { display: none; }
.tpl-faq summary::before { content: 'Q'; font-size: 24px; font-weight: 700; color: var(--tpl-navy); }
.tpl-faq summary small { font-size: 15px; font-weight: 500; color: var(--tpl-orange-tx); }
.tpl-faq summary .tpl-ico { transition: transform .3s var(--tpl-ease); }
.tpl-faq details[open] summary .tpl-ico { transform: rotate(180deg); }
.tpl-faq summary:hover { color: var(--tpl-navy); }
.tpl-faq__a { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 28px 12px 32px; background: var(--tpl-pale); font-size: 17px; line-height: 1.85; }
.tpl-faq__a::before { content: 'A'; font-size: 24px; font-weight: 700; line-height: 1.3; color: var(--tpl-orange-tx); }

/* 갤러리 목록 : 사진 카드(제목 아래 내용 두 줄 말줄임) · 보기 */
.tpl-gcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 32px; }
.tpl-gcards a { display: block; }
.tpl-gcards figure { aspect-ratio: 4 / 3; overflow: hidden; background: var(--tpl-pale); }
.tpl-gcards img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--tpl-ease); }
.tpl-gcards a:hover img { transform: scale(1.04); }
.tpl-gcards__cat { display: block; margin-top: 20px; font-size: 14.5px; font-weight: 700; color: var(--tpl-orange-tx); }
.tpl-gcards__tit { display: block; margin-top: 8px; overflow: hidden; font-size: 21px; font-weight: 700; letter-spacing: -.04em; color: var(--tpl-ink); text-overflow: ellipsis; white-space: nowrap; }
.tpl-gcards a:hover .tpl-gcards__tit { color: var(--tpl-navy); text-decoration: underline; text-underline-offset: 5px; }
.tpl-gcards__txt { display: -webkit-box; margin-top: 8px; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 16.5px; line-height: 1.7; }
.tpl-gcards__date { display: block; margin-top: 12px; font-size: 14.5px; color: var(--tpl-mute); }
.tpl-gview { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; margin-top: 40px; }
.tpl-gview figure { overflow: hidden; background: var(--tpl-pale); }
.tpl-gview figure:first-child { grid-row: span 2; aspect-ratio: 4 / 3; }
.tpl-gview img { width: 100%; height: 100%; object-fit: cover; }

/* 채용 : 인재상 3줄 */
.tpl-talent li { display: grid; grid-template-columns: 80px 260px minmax(0, 1fr); gap: 24px; align-items: baseline; padding: 30px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-talent li:first-child { border-top: 2px solid var(--tpl-navy); }
.tpl-talent b { font-size: 28px; font-weight: 700; color: var(--tpl-orange-tx); }
.tpl-talent strong { font-size: 22px; font-weight: 700; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-talent p { font-size: 17px; line-height: 1.75; }

/* 회원 : 로그인 상자(좁음) · 단계 · 가입 완료 · 계정 찾기 */
.tpl-mbox { width: min(100%, 480px); margin: 0 auto; }
.tpl-mbox__title { font-size: 30px; font-weight: 700; letter-spacing: -.045em; color: var(--tpl-ink); text-align: center; }
.tpl-mbox__txt { margin-top: 10px; font-size: 16.5px; color: var(--tpl-mute); text-align: center; }
.tpl-mbox form { display: grid; gap: 10px; margin-top: 36px; }
.tpl-mbox .tpl-btn { width: 100%; height: 56px; margin-top: 8px; font-size: 17px; }
.tpl-mbox__opt { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.tpl-mbox__links { display: flex; justify-content: center; gap: 0; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--tpl-line); font-size: 16px; }
.tpl-mbox__links a { padding: 0 18px; color: var(--tpl-text); }
.tpl-mbox__links a + a { border-left: 1px solid var(--tpl-line); }
.tpl-mbox__links a:hover { color: var(--tpl-navy); text-decoration: underline; text-underline-offset: 4px; }
.tpl-msteps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 56px; border-bottom: 1px solid var(--tpl-line); }
.tpl-msteps li { position: relative; padding: 0 0 18px; font-size: 17px; font-weight: 500; text-align: center; color: var(--tpl-mute); }
.tpl-msteps li b { margin-right: 8px; font-weight: 700; }
.tpl-msteps li[aria-current] { font-weight: 700; color: var(--tpl-navy); }
.tpl-msteps li[aria-current]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--tpl-orange); }
.tpl-done { padding: 72px 40px; border-top: 2px solid var(--tpl-navy); border-bottom: 1px solid var(--tpl-line); text-align: center; }
.tpl-done__title { font-size: 32px; font-weight: 700; letter-spacing: -.045em; color: var(--tpl-ink); }
.tpl-done__title b { color: var(--tpl-navy); }
.tpl-done p { margin-top: 14px; font-size: 17.5px; line-height: 1.8; }
.tpl-done .tpl-table { max-width: 640px; margin: 36px auto 0; text-align: left; }
.tpl-done .tpl-btns { margin-top: 40px; }
.tpl-find { display: grid; gap: 72px; }
.tpl-find .tpl-subtit { margin-bottom: 8px; }
.tpl-find .tpl-note { margin: 0 0 24px; }

/* 약관 · 정책 */
.tpl-doc { font-size: 17px; line-height: 1.9; }
.tpl-doc__date { padding: 20px 24px; border-top: 2px solid var(--tpl-navy); background: var(--tpl-pale); font-size: 16px; color: var(--tpl-mute); }
.tpl-doc__date b { color: var(--tpl-ink); }
.tpl-doc h4 { margin-top: 48px; padding-bottom: 12px; border-bottom: 1px solid var(--tpl-line); font-size: 21px; font-weight: 700; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-doc p, .tpl-doc ol, .tpl-doc .tpl-tablewrap { margin-top: 14px; }
.tpl-doc ol { padding-left: 22px; list-style: decimal; }
.tpl-doc ol li + li { margin-top: 4px; }
.tpl-doc .tpl-table { font-size: 16px; }

/* ---------- 새 부품 반응형 ---------- */
@media (max-width: 1280px) {
  .tpl-dcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-org__row--5 ul { padding: 14px; font-size: 15px; }
}
@media (max-width: 1200px) {
  .tpl-hist, .tpl-mission { grid-template-columns: minmax(0, 1fr); }
  .tpl-hist__era { position: static; margin-bottom: 32px; }
  .tpl-vision { grid-template-columns: minmax(0, 1fr); }
  .tpl-vision > div + div { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .2); }
  .tpl-hist__era::after { margin-top: 18px; }
  .tpl-intro, .tpl-centers > li { gap: 32px 48px; }
}
@media (max-width: 1024px) {
  .tpl-gap { margin-top: 72px; }
  .tpl-org__row--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .tpl-org__row--5::before, .tpl-org__row--5 > li::before { display: none; }
  .tpl-org__row--5 { padding-top: 0; margin-top: 36px; }
  .tpl-nums, .tpl-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-nums li:nth-child(3) { border-left: 0; }
  .tpl-nums li:nth-child(n+3) { border-top: 1px solid var(--tpl-line); }
  .tpl-nums--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tpl-nums--3 li:nth-child(3) { border-left: 1px solid var(--tpl-line); border-top: 0; }
  .tpl-steps li:nth-child(3) { border-left: 0; }
  .tpl-steps li:nth-child(n+3) { border-top: 1px solid var(--tpl-line); }
  .tpl-info { grid-template-columns: minmax(0, 1fr); }
  .tpl-info > div, .tpl-info > div + div { padding: 22px 0; border-left: 0; }
  .tpl-info > div + div { border-top: 1px solid var(--tpl-line); }
  .tpl-intro, .tpl-centers > li, .tpl-dview { grid-template-columns: minmax(0, 1fr); }
  .tpl-dview figure { width: min(100%, 360px); }
  .tpl-values { grid-template-columns: minmax(0, 1fr); }
  .tpl-values li:nth-child(2) { border-top: 1px solid var(--tpl-line); }
  .tpl-certs, .tpl-gcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-navybox { grid-template-columns: minmax(0, 1fr); padding: 36px 32px; }
  .tpl-talent li { grid-template-columns: 64px minmax(0, 1fr); }
  .tpl-talent p { grid-column: 2; }
  .tpl-bbs .tpl-bbs__hide { display: none; }
}
@media (max-width: 768px) {
  .tpl-subtit { font-size: 22px; }
  .tpl-gap { margin-top: 60px; }
  .tpl-lead { font-size: 17px; }
  .tpl-table { font-size: 15.5px; }
  .tpl-table th, .tpl-table td { padding: 14px 12px; }
  .tpl-tablewrap .tpl-table { min-width: 640px; }
  .tpl-tablewrap .tpl-table.tpl-tt { min-width: 760px; }
  .tpl-hist__era strong { font-size: 34px; }
  .tpl-hist__list > li { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 22px 0; }
  .tpl-hist__list ul li { font-size: 16.5px; }
  .tpl-mission__big { padding-left: 20px; font-size: 25px; }
  .tpl-mission__txt { padding-left: 24px; font-size: 17px; }
  .tpl-vision > div { padding: 32px 24px; }
  .tpl-vision strong { font-size: 22px; }
  .tpl-values li { grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 28px 0; }
  .tpl-values b { font-size: 24px; }
  .tpl-values strong { font-size: 20px; }
  .tpl-org__box { min-width: 0; width: 100%; }
  .tpl-org__row--3 { grid-template-columns: minmax(0, 1fr); padding-top: 0; margin-top: 16px; gap: 10px; }
  .tpl-org__row--3::before, .tpl-org__row--3 > li::before { display: none; }
  .tpl-org__row--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .tpl-nums li { padding: 22px 16px; }
  .tpl-nums strong { font-size: 30px; }
  .tpl-nums small { font-size: 15px; }
  .tpl-nums--3 { grid-template-columns: minmax(0, 1fr); }
  .tpl-nums--3 li + li, .tpl-nums--3 li:nth-child(3) { border-left: 0; border-top: 1px solid var(--tpl-line); }
  .tpl-locmap { height: 460px; }
  .tpl-rows > div { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 22px 0; }
  .tpl-centers h4 { font-size: 24px; }
  .tpl-centers dl div { grid-template-columns: 88px minmax(0, 1fr); }
  .tpl-steps { grid-template-columns: minmax(0, 1fr); }
  .tpl-steps li + li { border-left: 0; border-top: 1px solid var(--tpl-line); }
  .tpl-steps li { padding: 24px 20px; }
  .tpl-navybox { padding: 32px 24px; }
  .tpl-navybox strong { font-size: 22px; }
  .tpl-navybox__tel { font-size: 34px; }
  .tpl-filter { padding: 20px 16px; }
  .tpl-filter .tpl-select, .tpl-filter .tpl-input { flex: 1 1 100%; }
  .tpl-filter .tpl-btn { flex: 1 1 100%; }
  .tpl-cats a { height: 40px; padding: 0 14px; font-size: 15px; }
  .tpl-dcards { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .tpl-dview__name { font-size: 32px; }
  .tpl-dview__field { font-size: 17px; }
  .tpl-blist em { display: block; min-width: 0; }
  .tpl-certs, .tpl-gcards { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .tpl-gcards { gap: 44px; }
  .tpl-certs li { padding: 24px 22px; }
  .tpl-form__row { grid-template-columns: minmax(0, 1fr); }
  .tpl-form__row > .tpl-form__lbl { padding: 14px 16px; }
  .tpl-form__field { padding: 14px 0; }
  .tpl-form__field > .tpl-input--s { flex: 1 1 100%; }
  .tpl-bbs-top { flex-direction: column; align-items: stretch; }
  .tpl-search { width: 100%; }
  .tpl-search .tpl-select { flex-basis: 104px; }
  .tpl-bbs { font-size: 16px; }
  .tpl-bbs thead { display: none; }
  .tpl-bbs tr { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 18px 4px; border-bottom: 1px solid var(--tpl-line); }
  .tpl-bbs td { padding: 0; border: 0; font-size: 14.5px; }
  .tpl-bbs .tpl-bbs__num { display: none; }
  .tpl-bbs .tpl-bbs__num:has(.tpl-tag) { display: block; }
  .tpl-bbs .tpl-bbs__subj { flex: 1 1 100%; max-width: none; order: -1; }
  .tpl-bbs tr.is-notice { background: #f8f9fb; }
  .tpl-bbs tr.is-notice td { background: none; }
  .tpl-view__title { font-size: 23px; }
  .tpl-view__body { padding: 36px 0 48px; font-size: 17px; overflow-wrap: anywhere; }
  .tpl-answer { padding: 28px 20px; }
  .tpl-prevnext li { grid-template-columns: 72px minmax(0, 1fr); padding: 16px 4px; gap: 12px; }
  .tpl-prevnext span { display: none; }
  .tpl-faq summary { grid-template-columns: 32px minmax(0, 1fr) 20px; padding: 20px 4px; font-size: 16.5px; }
  .tpl-faq summary small { display: none; }
  .tpl-faq__a { grid-template-columns: 32px minmax(0, 1fr); padding: 22px 12px 26px 4px; font-size: 16px; }
  .tpl-gview { grid-template-columns: minmax(0, 1fr); }
  .tpl-gview figure:first-child { grid-row: auto; }
  .tpl-gview figure { aspect-ratio: 4 / 3; }
  .tpl-talent li { grid-template-columns: 44px minmax(0, 1fr); gap: 8px 12px; }
  .tpl-talent b { font-size: 22px; }
  .tpl-talent strong { font-size: 19px; }
  .tpl-msteps li { font-size: 14.5px; }
  .tpl-msteps li b { display: block; margin: 0 0 2px; }
  .tpl-done { padding: 52px 8px; }
  .tpl-done__title { font-size: 24px; }
  .tpl-doc { font-size: 16px; }
  .tpl-doc h4 { margin-top: 36px; font-size: 19px; }
  .tpl-btn--lg { padding: 0 28px; }
}
[hidden] { display: none !important; }

/* ==========================================================================
   연결부 : 그누보드 연결 · 올웹 로고 · 상단 메뉴(「쓴 메뉴 조합」 biz037) · 퀵메뉴 · 팝업 · 고정 배경입니다.
   위의 원본 CSS 는 고치지 않았습니다. 색 · 글꼴은 원본 common.css 의 토큰(남색 · 주황 · 연회색)을 씁니다.
   ========================================================================== */

/* ---------- 로고 : 올웹 로고입니다(지침 3-1). 원 색은 템플릿 강조색과 상관없이 CI 색 그대로 둡니다 ---------- */
.tpl-logo { --accent: #12c29a; }
.logo-svg { display: block; height: 30px; width: auto; }
.logo-img { display: block; height: 30px; width: auto; max-width: 220px; object-fit: contain; }
.tpl-drawer__head .logo-svg { height: 26px; }
/* 콘솔에서 밝은 바탕용 · 어두운 바탕용 로고를 둘 다 올리면, 머리글이 투명할 때(맨 위)만 어두운 바탕용을 냅니다. 스크롤하거나 메뉴가 열리면 원본처럼 흰 바탕입니다 */
.tpl-header .logo-img--dark { display: none; }
.tpl-header:not(.is-scrolled):not(.is-mega-open) .tpl-logo .logo-img:not(.logo-img--dark) { display: none; }
.tpl-header:not(.is-scrolled):not(.is-mega-open) .tpl-logo .logo-img--dark { display: block; }
@media (max-width: 768px) {
  .logo-svg, .logo-img { height: 26px; }
}

/* ---------- 고정 배경 : 스크롤해도 사진은 멈춰 있고 내용만 움직입니다. PC 에서만 켭니다(지침 3-4) ---------- */
@media (min-width: 1025px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  .tpl-care__bg { background-attachment: fixed; }
}

/* ---------- 지도 : 카카오맵(allweb_tpl_map_html)이 #allweb-map 에 그립니다. 키가 없으면 지도 자리에 단추만 나옵니다 ---------- */
.tpl-contact__map .biz-map, .tpl-locmap .biz-map { position: absolute; inset: 0; overflow: hidden; }
.biz-map iframe.biz-map__frame { position: absolute; left: -420px; top: 0; width: calc(100% + 420px); max-width: none; height: 100%; border: 0; filter: none; }
.biz-map > .loc-map-go { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.loc-map-go { display: inline-flex; align-items: center; height: 50px; padding: 0 24px; background: var(--tpl-navy); font-size: 15.5px; font-weight: 500; color: #fff; white-space: nowrap; transition: background-color .25s; }
.loc-map-go:hover { background: var(--tpl-navy-dk); }
.loc-map-foot { display: none; }   /* 키가 있을 때 지도 아래 링크 — 원본은 지도 오른쪽 아래 「카카오맵 큰 지도 보기」 단추가 같은 일을 합니다 */
.tpl-contact__maplink, .tpl-locmap__link { z-index: 2; }

/* ---------- 그누보드 화면(전체검색 · 새글 · 기본 스킨)을 템플릿 폭 안에 넣습니다 ---------- */
.allweb-gnu { width: calc(100% - var(--tpl-side) * 2); max-width: 1440px; margin: 0 auto; padding-top: 120px; padding-bottom: 120px; }
.allweb-gnu .btn_submit, .allweb-gnu .btn_b01, .allweb-gnu .btn_b02 { border-radius: 0; background: var(--tpl-navy); color: #fff; }
/* 자동등록방지 : 리셋의 img{display:block} 때문에 그림 · 입력칸 · 단추가 두 줄이 됩니다(지침 3-2) */
#captcha #captcha_img { display: inline-block; vertical-align: middle; }
#captcha #captcha_key { height: 52px; padding: 0 14px; border: 1px solid #c3ccd5; vertical-align: middle; font: 400 16px var(--tpl-font); }
#captcha button { vertical-align: middle; }
#captcha #captcha_info { display: block; margin-top: 6px; font-size: 14px; color: var(--tpl-mute); }
.tpl-form__field #captcha { margin: 0; }
.tpl-find__captcha { margin-top: 28px; }

/* ---------- 게시판 · 회원 화면 중 시안에 없는 그누보드 부품 ---------- */
.tpl-bbs td.tpl-bbs__empty { padding: 60px 0; text-align: center; color: var(--tpl-mute); white-space: normal; }
.tpl-gcards__empty { padding: 60px 0; border-top: 2px solid var(--tpl-navy); border-bottom: 1px solid var(--tpl-line); text-align: center; color: var(--tpl-mute); }
.tpl-view__body img { max-width: 100%; height: auto; }
.tpl-view__body iframe { max-width: 100%; }
.tpl-view__body > p > img { display: block; width: 100%; height: auto; }   /* 정화기가 figure 를 지운 예시 글 사진입니다 */
.tpl-files { margin-bottom: 0; }
.tpl-answer + .tpl-answer { margin-top: 16px; }
.tpl-cmt { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--tpl-line); }
.tpl-cmt__tit { font-size: 19px; font-weight: 700; color: var(--tpl-ink); }
.tpl-cmt__tit b { color: var(--tpl-orange-tx); }
.tpl-cmt__list { margin-top: 14px; }
.tpl-cmt__list li { padding: 18px 0; border-bottom: 1px solid var(--tpl-line); font-size: 16.5px; }
.tpl-cmt__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 15px; color: var(--tpl-mute); }
.tpl-cmt__meta strong { color: var(--tpl-ink); }
.tpl-cmt__meta a, .tpl-answer__head a { text-decoration: underline; text-underline-offset: 3px; }
.tpl-cmt__form { display: grid; gap: 10px; margin-top: 20px; }
.tpl-cmt__form .tpl-textarea { height: 120px; }
.tpl-cmt__form .tpl-btn { justify-self: end; }
/* 회원 정보 입력 : 주소 · 정보 수신 동의 · 본인확인 · 회원 사진처럼 원본에 없는 그누보드 칸 */
.mb-addr { display: grid; gap: 10px; width: 100%; }
.mb-addr__zip { display: flex; flex-wrap: wrap; gap: 10px; }
.mb-addr__zip .tpl-input { width: min(100%, 180px); }
.mb-addr .tpl-btn { height: 52px; padding: 0 20px; }
.mb-textarea { height: 120px; }
.mb-consent { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; width: 100%; }
.mb-consent + .mb-consent, .mb-consent__sub + .mb-consent { margin-top: 10px; }
.mb-consent__more { padding: 0; border: 0; background: none; font: 500 14.5px var(--tpl-font); color: var(--tpl-navy); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.mb-consent__sub { display: flex; flex-wrap: wrap; gap: 8px 24px; width: 100%; margin-top: 10px; padding-left: 28px; }
.mb-file-now { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.mb-file-now img { max-width: 120px; height: auto; }
.mb-cert { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; }
.tpl-form__field .mb-cert { justify-content: flex-start; margin-top: 0; }
.tpl-input[readonly] { background: var(--tpl-pale); }
/* 원본은 약관 동의 아래에서 「회원 정보 입력」 제목을 띄웠습니다. 그누보드는 정보 입력이 다음 화면이라 맨 위에서는 띄우지 않습니다 */
#fregisterform > .tpl-subtit:first-of-type { margin-top: 0; }
/* 자주 묻는 질문 : 모양은 원본 sub.css 의 .tpl-faq 그대로이고, 답이 여러 문단이거나 질문이 없을 때만 더합니다 */
.tpl-faq__a p + p { margin-top: .6em; }
.tpl-faq__a a { color: var(--tpl-navy); text-decoration: underline; text-underline-offset: 3px; }
.tpl-faq__empty { padding: 48px 0; text-align: center; color: var(--tpl-mute); }

/* ---------- 채용 공고 상세 : 공고명을 누르면 뜨는 창(dialog)입니다. 창 안은 시안의 글 보기 모양입니다 ---------- */
.cs-job-dialog { width: min(760px, calc(100% - 40px)); max-height: calc(100% - 80px); padding: 40px 44px 36px; border: 0; border-top: 3px solid var(--tpl-navy); background: #fff; color: var(--tpl-text); overflow-y: auto; }
.cs-job-dialog::backdrop { background: rgba(9, 20, 33, .6); }
.cs-job-dialog .tpl-view__head { padding-top: 0; border-top: 0; }
.cs-job-dialog .tpl-view__body { padding: 32px 0 8px; }
.cs-job-dialog .tpl-btns { margin-top: 24px; }
@media (max-width: 768px) {
  .cs-job-dialog { padding: 28px 22px 24px; }
}

/* ---------- 상단 메뉴 : 「쓴 메뉴 조합」 biz037(가 4 · 나 1 · 다 1 · 라 2 · 마 3, 대표 지시 2026-11-08, 지침 3-4). 1차 · 2차 이름과 순서는 원본 그대로이고 효과와 패널 모양만 바꿨습니다.
   가 4 : 1차에 올리면 그 칸 위쪽 끝에서 주황 띠(4px)가 아래로 내려옵니다(원본의 글자 아래 주황 막대 자리). 서브페이지 현재 메뉴도 같은 띠이고, 다른 1차에 올리면 거둡니다(띠는 늘 하나).
   나 1 : 원본처럼 1차마다 열을 세우는 전체 메가이고, 열 사이를 가는 세로선으로 나눕니다(선은 2차 목록 상자 안이라 패널과 같은 clip-path 로 함께 드러납니다).
   다 1 : 원본 그대로 흰 바탕 패널입니다.
   라 2 : 평소 1차 칸은 조금 좁게 모여 있다가, 메뉴가 열리면 원본 칸 폭(--tpl-gnb-w, 1360px 이하는 128px)으로 가로로 펴지고 2차가 한 줄씩 차례로 나타납니다. 열 폭은 늘 1차 칸 폭과 같습니다.
   마 3 : 2차에 올리면 원본처럼 주황 밑줄이 그어집니다. ---------- */
.tpl-header { --tpl-gnb-gather: 12px; }
.tpl-header.is-mega-open { --tpl-gnb-gather: 0px; }
.tpl-gnb__item { width: calc(var(--tpl-gnb-w) - var(--tpl-gnb-gather)); transition: width .45s var(--tpl-ease); }
/* 원본은 1280px 이하에서 칸(112 · 104 · 98px)이 좁아 긴 2차(외래 진료 시간표 · 온라인 진료예약 …)가 두 줄로 꺾였습니다. 메뉴가 열릴 때는 칸을 1440px 원본 폭(128px) 이상으로 펴서
   가장 긴 2차가 한 줄에 들게 하고, 줄이 꺾이지 않게 둡니다(로고 · 유틸과의 간격은 1025px 에서도 24px 이상, 실측). */
.tpl-header.is-mega-open .tpl-gnb__item { width: max(var(--tpl-gnb-w), 128px); }
.tpl-gnb__sub a { white-space: nowrap; }
.tpl-gnb__link::after { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 4px; transform: scaleY(0); transform-origin: 50% 0; }
.tpl-gnb__item:hover .tpl-gnb__link::after, .tpl-gnb__item:focus-within .tpl-gnb__link::after, .tpl-gnb__link:focus-visible::after, .tpl-gnb__link[aria-current]::after { transform: scaleY(1); }
.tpl-gnb__list:hover .tpl-gnb__item:not(:hover) .tpl-gnb__link[aria-current]::after,
.tpl-gnb__list:focus-within .tpl-gnb__item:not(:focus-within) .tpl-gnb__link[aria-current]::after { transform: scaleY(0); }
.tpl-gnb__item + .tpl-gnb__item .tpl-gnb__sub { box-shadow: inset 1px 0 0 var(--tpl-line); }
.tpl-gnb__sub li { opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s; }
.is-mega-open .tpl-gnb__sub li { opacity: 1; transform: none; transition: opacity .35s ease, transform .35s var(--tpl-ease); }
.is-mega-open .tpl-gnb__sub li:nth-child(2) { transition-delay: .05s; }
.is-mega-open .tpl-gnb__sub li:nth-child(3) { transition-delay: .1s; }
.is-mega-open .tpl-gnb__sub li:nth-child(4) { transition-delay: .15s; }
.is-mega-open .tpl-gnb__sub li:nth-child(n+5) { transition-delay: .2s; }
@media (max-width: 1360px) { .tpl-header { --tpl-gnb-gather: 10px; } .tpl-header.is-mega-open { --tpl-gnb-gather: 0px; } }
@media (max-width: 1200px) { .tpl-header { --tpl-gnb-gather: 4px; } .tpl-header.is-mega-open { --tpl-gnb-gather: 0px; } }
@media (prefers-reduced-motion: reduce) {
  .tpl-gnb__item, .tpl-gnb__link::after, .tpl-gnb__sub li { transition: none !important; }
}

/* ---------- 퀵메뉴 : 「쓴 조합」 biz037(배치 3 · 효과 4). 오른쪽 가운데에 흰 동그라미(가는 회청 선 · 남색 아이콘)를 8px 씩 띄워 쌓습니다.
   올리거나 키보드로 가면 동그라미가 위로 4px 뜨고 아래에 남색 그림자가 생기며 테두리가 남색이 됩니다. 이름은 늘 <span> 에 있어 화면 낭독기가 읽고, 화면에는 아이콘만 보입니다.
   남은 조합이 3-4 · 6-2 뿐이라 3-4 를 받아들였습니다(「쓴 조합」 표). 지름은 본문 좌우 여백 안에 들어가게 폭마다 줄입니다(1681px↑ 48px · 1025~1680px 34px).
   맨 위에서는 숨고 내려가면 나타납니다(js/main.js 의 is-show). 1024px 이하는 44px 동그라미로 오른쪽 아래에 서고 누르면 바로 이동합니다 ---------- */
.tpl-quick { --qd: 48px; position: fixed; right: 20px; top: 50%; z-index: 95; display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: 0; visibility: hidden; transform: translate(10px, -50%); transition: opacity .3s, transform .35s var(--tpl-ease), visibility 0s linear .35s; }
.tpl-quick.is-show { opacity: 1; visibility: visible; transform: translate(0, -50%); transition-delay: 0s; }
.tpl-quick ul { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.tpl-quick a { display: grid; place-items: center; width: var(--qd); height: var(--qd); border: 1px solid #c3ccd5; border-radius: 50%; background: #fff; color: var(--tpl-navy); box-shadow: 0 0 0 rgba(15, 34, 54, 0); transition: transform .3s var(--tpl-ease), box-shadow .3s, border-color .3s; }
.tpl-quick a .tpl-ico, .tpl-quick__img { width: calc(var(--qd) * .42); height: calc(var(--qd) * .42); stroke-width: 1.6; }
.tpl-quick__img { object-fit: contain; }
.tpl-quick a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tpl-quick a:focus-visible { transform: translateY(-4px); border-color: var(--tpl-navy); box-shadow: 0 8px 16px rgba(15, 34, 54, .22); outline-offset: 3px; }
@media (hover: hover) {
  .tpl-quick a:hover { transform: translateY(-4px); border-color: var(--tpl-navy); box-shadow: 0 8px 16px rgba(15, 34, 54, .22); }
}
/* 맨 위로 : 퀵메뉴 맨 아래 칸에 붙은 남색 칠 정사각입니다(「쓴 조합」 biz037 의 맨 위로 「정사각 · 대표색 칠 · 퀵메뉴 맨 아래 칸」, 원본 .tpl-totop 의 남색 정사각).
   짙은 남색 푸터 위에서도 보이게 바깥에 옅은 흰 테두리(1px)를 둡니다. */
.tpl-quick .tpl-totop { position: static; display: grid; place-items: center; width: var(--qd); height: var(--qd); margin-top: 4px; background: var(--tpl-navy); color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); opacity: 1; visibility: inherit; transform: none; transition: background-color .25s; }
.tpl-quick .tpl-totop .tpl-ico { width: calc(var(--qd) * .36); height: calc(var(--qd) * .36); stroke-width: 1.8; }
.tpl-quick .tpl-totop:hover, .tpl-quick .tpl-totop:focus-visible { background: var(--tpl-navy-dk); }
@media (max-width: 1680px) { .tpl-quick { --qd: 34px; right: 3px; gap: 6px; } .tpl-quick ul { gap: 6px; } }
/* 낮은 화면 : 8칸이 위아래로 넘치지 않게 칸 사이를 줄입니다 */
@media (min-width: 1025px) and (max-height: 700px) { .tpl-quick, .tpl-quick ul { gap: 3px; } .tpl-quick .tpl-totop { margin-top: 2px; } }
@media (max-width: 1024px) {
  .tpl-quick { --qd: 44px; top: auto; bottom: 20px; right: 14px; transform: translateY(12px); }
  .tpl-quick.is-show { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tpl-quick, .tpl-quick * { transition: none !important; }
}

/* ---------- 팝업 : 흰 직각 판 · 윗변 남색 3px 선 · 제목 앞 주황 가로 막대(원본 라벨 18×3) · 남색 면 단추 · 연회색 아래 띠(닫기는 올리면 남색 면) ---------- */
.tpl-pop__item { border-top: 3px solid var(--tpl-navy); background: #fff; box-shadow: 0 20px 48px rgba(9, 20, 33, .34); }
.tpl-pop__body { padding: 30px 32px; }
.tpl-pop__title { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 22px; font-weight: 700; line-height: 1.4; letter-spacing: -.045em; color: var(--tpl-ink); }
.tpl-pop__title::before { content: ''; flex: none; width: 18px; height: 3px; background: var(--tpl-orange); }
.tpl-pop__text { margin: 0; font-size: 16px; line-height: 1.75; color: var(--tpl-text); }
.tpl-pop__more { display: inline-flex; align-items: center; height: 50px; margin-top: 22px; padding: 0 24px; border: 1px solid var(--tpl-navy); background: var(--tpl-navy); font-size: 16px; font-weight: 500; color: #fff; transition: background-color .25s, border-color .25s; }
.tpl-pop__more:hover, .tpl-pop__more:focus-visible { background: var(--tpl-navy-dk); border-color: var(--tpl-navy-dk); }
.tpl-pop__more:first-child { margin-top: 0; }
.tpl-pop__foot { border-top: 1px solid var(--tpl-line); background: var(--tpl-pale); }
.tpl-pop__foot button { min-height: 50px; padding: 0 12px; border: 0; background: transparent; font-size: 14.5px; color: var(--tpl-mute); transition: background-color .25s, color .25s; }
.tpl-pop__foot button + button { border-left: 1px solid var(--tpl-line); color: var(--tpl-navy); font-weight: 700; }
.tpl-pop__foot button:hover, .tpl-pop__foot button:focus-visible { background: var(--tpl-navy); color: #fff; }
