/* ==========================================================================
   올웹 병원 템플릿 7 — 원본 00_병원템플릿샘플용/07_hospital 의 reset.css · common.css · main.css · sub.css 를 그 차례대로 한 파일로 모았습니다.
   원본 CSS 는 고치지 않았습니다. 그누보드 연결 · 올웹 로고 · 게시판 · 회원 화면 · 지도 · 팝업은 맨 아래 「연결부」 에 덧붙였습니다.
   ========================================================================== */

/* ===== reset.css ===== */
/* reset.css — 최소 리셋입니다. */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body,h1,h2,h3,h4,p,figure,dl,dd,ul,ol,table{margin:0;padding:0}
ul,ol{list-style:none}
img,svg,iframe{display:block;max-width:100%}
img{height:auto}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit;color:inherit;letter-spacing:inherit}
button{background:none;border:0;padding:0;cursor:pointer}
table{border-collapse:collapse;border-spacing:0}
[hidden]{display:none!important}

/* ===== common.css ===== */
/* common.css — 글꼴 · 색 · 헤더(1차별 드롭다운 B) · 오른쪽 빠른 메뉴 · 드로어 · 푸터 · 공용 부품 */
@font-face{font-family:'Pretendard';font-weight:300;font-display:swap;src:url('../fonts/Pretendard-Light.subset.woff2') format('woff2')}
@font-face{font-family:'Pretendard';font-weight:400;font-display:swap;src:url('../fonts/Pretendard-Regular.subset.woff2') format('woff2')}
@font-face{font-family:'Pretendard';font-weight:600;font-display:swap;src:url('../fonts/Pretendard-SemiBold.subset.woff2') format('woff2')}
@font-face{font-family:'Pretendard';font-weight:700;font-display:swap;src:url('../fonts/Pretendard-Bold.subset.woff2') format('woff2')}

:root{
  --ink:#16191d; --text:#333a42; --gray:#5d6670; --line:#e3e7ec; --soft:#f5f7fa; --ice:#f1f6fb;
  --navy:#0e3a66; --blue:#2f76b9; --deep:#1a56b0; --accent:#0f6fae; --pale:#e8f1fa;
  --side:80px; --head:80px; --wrap:1200px;
  --ease:cubic-bezier(.22,.61,.36,1);
}
html{scroll-padding-top:calc(var(--head) + 10px)}
body{font-family:'Pretendard',-apple-system,'Apple SD Gothic Neo','Malgun Gothic',sans-serif;font-size:17px;line-height:1.65;color:var(--text);background:#fff;letter-spacing:-.02em;word-break:keep-all;overflow-wrap:break-word;padding-top:var(--head)}
.tpl-wrap{width:100%;max-width:calc(var(--wrap) + 80px);margin:0 auto;padding:0 40px}
.tpl-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.tpl-skip{position:fixed;left:16px;top:-60px;z-index:200;background:var(--navy);color:#fff;padding:10px 16px;border-radius:4px}
.tpl-skip:focus{top:12px}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.tpl-ico{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}
.tpl-m-br{display:none}
@media (max-width:768px){.tpl-m-br{display:inline}}

/* ----- 공용 버튼 : 둥근 테두리 View More ----- */
.tpl-more{display:inline-flex;align-items:center;gap:12px;height:48px;padding:0 22px 0 24px;border:1px solid currentColor;border-radius:24px;font-size:15px;font-weight:600;white-space:nowrap;transition:background .3s,color .3s}
.tpl-more .tpl-ico{width:16px;height:16px;transition:transform .3s}
.tpl-more:hover .tpl-ico{transform:translateX(4px)}
.tpl-more--dark{color:var(--ink)} .tpl-more--dark:hover{background:var(--ink);color:#fff}
.tpl-more--light{color:#fff} .tpl-more--light:hover{background:#fff;color:var(--navy)}
.tpl-eyebrow{font-size:17px;font-weight:700;color:var(--ink);margin-bottom:16px}
.tpl-h2{font-size:clamp(32px,3.3vw,44px);line-height:1.3;font-weight:700;color:var(--ink);letter-spacing:-.04em}
.tpl-h2 em{font-style:normal;color:var(--accent)}
.tpl-lead{font-size:17px;color:var(--gray);margin-top:20px}

/* ===== 헤더 ===== */
.tpl-header{position:fixed;left:0;right:0;top:0;z-index:60;height:var(--head);background:#fff;border-bottom:1px solid var(--line)}
.tpl-header__in{height:100%;display:flex;align-items:center;padding:0 40px}
.tpl-logo{flex:none;margin:0}
.tpl-logo a{display:block}
.tpl-logo img{width:161px;height:40px}
.tpl-gnb{flex:1;display:flex;justify-content:center;height:100%;margin:0 24px;min-width:0}
.tpl-gnb__list{display:flex;height:100%}
.tpl-gnb__item{position:relative;height:100%;padding:0 clamp(5px,calc(1.6vw - 12px),20px)}
.tpl-gnb__link{position:relative;display:flex;align-items:center;height:100%;font-size:17px;font-weight:600;color:var(--ink);white-space:nowrap}
.tpl-gnb__link::after{content:'';position:absolute;left:0;right:0;bottom:24px;height:2px;background:var(--navy);transform:scaleX(0);transition:transform .3s var(--ease)}
.tpl-gnb__link[aria-current]::after{transform:scaleX(1)}
@media (hover:hover){
  .tpl-gnb__item:hover .tpl-gnb__link::after,.tpl-gnb__item.is-open .tpl-gnb__link::after{transform:scaleX(1)}
  .tpl-gnb__list:hover .tpl-gnb__item:not(:hover) .tpl-gnb__link[aria-current]::after{transform:scaleX(0)}
}
.tpl-gnb__item.is-open .tpl-gnb__link::after{transform:scaleX(1)}
.tpl-gnb__list.has-open .tpl-gnb__item:not(.is-open) .tpl-gnb__link[aria-current]::after{transform:scaleX(0)}
/* 흰 패널 : clip-path 로 위→아래로 열려 패널 밖에는 아무것도 그려지지 않습니다 */
.tpl-gnb__sub{position:absolute;left:50%;top:100%;min-width:100%;transform:translateX(-50%);background:#fff;border:1px solid var(--line);border-top:0;box-shadow:0 10px 20px rgba(14,58,102,.08);clip-path:inset(0 -30px 100% -30px);visibility:hidden;transition:clip-path .38s var(--ease),visibility 0s .38s}
.tpl-gnb__item.is-open .tpl-gnb__sub{clip-path:inset(0 -30px -30px -30px);visibility:visible;transition:clip-path .38s var(--ease),visibility 0s}
.tpl-gnb__sub ul{padding:22px 28px}
.tpl-gnb__sub a{display:block;padding:6px 0;font-size:15px;line-height:1.45;color:var(--text);text-align:center;white-space:nowrap;transition:color .2s}
.tpl-gnb__sub a:hover,.tpl-gnb__sub a[aria-current]{color:var(--accent);font-weight:600}
.tpl-util{flex:none;display:flex;align-items:center;gap:18px;font-size:15px;font-weight:600;color:var(--ink);white-space:nowrap}
.tpl-util__branch{height:32px;display:inline-flex;align-items:center;padding:0 14px;border:1px solid var(--navy);border-radius:16px;color:var(--navy);font-size:14px}
.tpl-util__branch:hover{background:var(--navy);color:#fff}
.tpl-util a:not(.tpl-util__branch):hover{color:var(--accent)}
.tpl-menu-btn{flex:none;width:44px;height:44px;margin-left:18px;display:none;align-items:center;justify-content:center;color:var(--ink)}
.tpl-menu-btn .tpl-ico{width:26px;height:26px}

/* PC 넓은 폭 : 오른쪽 빠른 메뉴 칸만큼 헤더 · 본문을 줄입니다 */
@media (min-width:1280px){
  body{padding-right:var(--side)}
  .tpl-header{right:var(--side)}
  .tpl-menu-btn{display:flex;position:fixed;top:0;right:0;width:var(--side);height:var(--head);margin:0;background:var(--navy);color:#fff;z-index:62}
}
@media (max-width:1279px){
  .tpl-header__in{padding:0 24px}
  .tpl-menu-btn{display:flex}
  .tpl-util__branch{display:none}
}
@media (max-width:1199px){
  .tpl-logo img{width:136px;height:34px}
  .tpl-util{gap:12px;font-size:14px}
  .tpl-menu-btn{margin-left:10px}
}
@media (max-width:1024px){
  :root{--head:64px}
  .tpl-gnb,.tpl-util{display:none}
  .tpl-header__in{justify-content:space-between;padding:0 20px}
  .tpl-wrap{padding:0 24px}
}
@media (max-width:768px){.tpl-wrap{padding:0 20px}.tpl-h2{font-size:30px}.tpl-eyebrow{font-size:15px;margin-bottom:10px}}

/* ===== 오른쪽 빠른 메뉴(≥1280) · 아래 빠른 메뉴 띠(<1280) ===== */
.tpl-side{position:fixed;z-index:58;background:var(--navy);color:#fff}
.tpl-side ul{display:flex}
.tpl-side a,.tpl-side button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;font-size:12px;font-weight:600;line-height:1.3;text-align:center;color:#fff;transition:background .25s}
.tpl-side a:hover{background:rgba(255,255,255,.1)}
.tpl-side .tpl-ico{width:24px;height:24px}
.tpl-side__top{background:var(--blue)!important}
@media (min-width:1280px){
  .tpl-side{top:0;right:0;bottom:0;width:var(--side);display:flex;flex-direction:column;justify-content:center;padding-top:var(--head)}
  .tpl-side ul{flex-direction:column}
  .tpl-side a{height:88px}
  .tpl-side__top{position:absolute;left:0;right:0;bottom:0;height:80px;width:100%}
}
@media (max-width:1279px){
  body{padding-bottom:60px}
  .tpl-side{left:0;right:0;bottom:0;height:60px}
  .tpl-side ul{height:100%}
  .tpl-side li{flex:1}
  .tpl-side a{height:60px;gap:3px;font-size:11px}
  .tpl-side .tpl-ico{width:20px;height:20px}
  .tpl-side__top{display:none!important}
}

/* ===== 드로어 ===== */
.tpl-drawer{position:fixed;inset:0;z-index:90;background:rgba(10,20,32,.5);opacity:0;transition:opacity .4s}
.tpl-drawer.is-open{opacity:1}
.tpl-drawer__panel{position:absolute;top:0;right:0;bottom:0;width:min(420px,100%);background:#fff;overflow-y:auto;transform:translateX(100%);transition:transform .45s var(--ease)}
.tpl-drawer.is-open .tpl-drawer__panel{transform:none}
.tpl-drawer__head{display:flex;align-items:center;justify-content:space-between;height:72px;padding:0 20px 0 24px;border-bottom:1px solid var(--line)}
.tpl-drawer__head img{width:136px;height:34px}
.tpl-drawer__close{width:44px;height:44px;display:flex;align-items:center;justify-content:center}
.tpl-drawer__close .tpl-ico{width:24px;height:24px}
.tpl-drawer__member{display:flex;gap:8px;padding:18px 24px}
.tpl-drawer__member a{flex:1;height:44px;display:flex;align-items:center;justify-content:center;border:1px solid var(--navy);color:var(--navy);font-weight:600;font-size:15px;border-radius:4px}
.tpl-drawer__member a:first-child{background:var(--navy);color:#fff}
.tpl-drawer__list{padding:0 24px 40px}
.tpl-drawer__list>li{border-bottom:1px solid var(--line)}
.tpl-drawer__list>li>button{width:100%;display:flex;align-items:center;justify-content:space-between;height:58px;font-size:18px;font-weight:700;color:var(--ink);text-align:left}
.tpl-drawer__list>li>button .tpl-ico{transition:transform .3s}
.tpl-drawer__list>li>button[aria-expanded="true"] .tpl-ico{transform:rotate(180deg)}
.tpl-drawer__list ul{padding:0 0 16px}
.tpl-drawer__list ul a{display:block;padding:7px 4px;font-size:16px;color:var(--text)}
.tpl-drawer__list ul a[aria-current]{color:var(--accent);font-weight:600}

/* ===== 푸터 : 지점 3칸(사진 + 파란 막) · 아래 정보 ===== */
.tpl-branch{display:grid;grid-template-columns:repeat(3,1fr);color:#fff}
.tpl-branch__item{position:relative;padding:60px 56px 56px;overflow:hidden;isolation:isolate}
.tpl-branch__bg{position:absolute;inset:0;z-index:-2;background-size:cover;background-position:center}
.tpl-branch__item::before{content:'';position:absolute;inset:0;z-index:-1;background:rgba(34,98,170,.86)}
.tpl-branch__item:nth-child(2)::before{background:rgba(14,46,88,.9)}
.tpl-branch__item:nth-child(3)::before{background:rgba(52,110,160,.88)}
.tpl-branch__name{font-size:24px;font-weight:700;margin-bottom:16px}
.tpl-branch__addr{font-size:15px;line-height:1.65;color:#eef4fa;margin-bottom:24px}
.tpl-branch__hours{display:grid;grid-template-columns:76px 1fr;row-gap:6px;font-size:15px}
.tpl-branch__hours dt{color:#dfe9f4}
.tpl-branch__hours dd{font-weight:600}
.tpl-branch__tel{display:inline-flex;align-items:center;gap:10px;margin-top:30px;font-size:26px;font-weight:700;letter-spacing:0}
.tpl-branch__tel .tpl-ico{width:22px;height:22px}
.tpl-footer{background:#f5f6f8;color:var(--gray);font-size:14px}
.tpl-footer__top{display:flex;align-items:center;justify-content:space-between;padding:30px 0;border-bottom:1px solid #dfe2e6}
.tpl-footer__call{font-size:15px;font-weight:600;color:var(--ink)}
.tpl-footer__call b{font-size:18px;margin-left:8px;letter-spacing:0}
.tpl-footer__logo img{width:161px;height:40px}
.tpl-footer__mid{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:26px 0 8px}
.tpl-footer__links{display:flex;flex-wrap:wrap;gap:6px 22px;font-size:15px;color:var(--text)}
.tpl-footer__links a:first-child{font-weight:700;color:var(--ink)}
.tpl-footer__links a:hover{color:var(--accent)}
.tpl-footer__sns{display:flex;gap:12px}
.tpl-footer__sns a{width:42px;height:42px;border-radius:50%;background:#e4e7eb;display:flex;align-items:center;justify-content:center;color:#4a525b}
.tpl-footer__sns a:hover{background:var(--navy);color:#fff}
.tpl-footer__info{padding:10px 0 4px;line-height:1.8}
.tpl-footer__info span{display:inline-block;margin-right:14px}
.tpl-footer__copy{padding:8px 0 40px;font-size:13px}
@media (max-width:1024px){
  .tpl-branch{grid-template-columns:1fr}
  .tpl-branch__item{padding:40px 24px}
  .tpl-branch__tel{margin-top:20px;font-size:22px}
}
@media (max-width:768px){
  .tpl-footer__top,.tpl-footer__mid{flex-direction:column;align-items:flex-start}
  .tpl-footer__top{gap:16px}
}

/* ===== 스크롤 등장 ===== */
.js [data-aos]{opacity:0;transform:translateY(40px);transition:opacity .9s var(--ease),transform .9s var(--ease)}
.js [data-aos="fade"]{transform:none}
.js [data-aos].is-in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  .js [data-aos]{opacity:1;transform:none;transition:none}
  *,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}

/* ===== 빠른 상담 폼(메인 · 서브 푸터 공용) ===== */
.tpl-qform{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap}
.tpl-qform__t{flex:none;width:100%;font-size:20px;font-weight:700;color:var(--ink);margin-bottom:8px}
.tpl-qform label.tpl-qform__f{flex:1;min-width:150px;display:block}
.tpl-qform input[type=text],.tpl-qform input[type=tel],.tpl-qform select{width:100%;height:48px;border:0;border-bottom:2px solid #3d4752;background:transparent;font-size:16px;color:var(--ink);padding:0 4px;border-radius:0}
.tpl-qform select{appearance:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M0 0h12L6 8z' fill='%2316191d'/%3E%3C/svg%3E") no-repeat right 6px center}
.tpl-qform input::placeholder{color:#6b737c}
.tpl-qform__btn{flex:none;height:48px;padding:0 38px;border-radius:24px;background:var(--accent);color:#fff;font-weight:700;font-size:16px}
.tpl-qform__btn:hover{background:var(--navy)}
.tpl-qform__agree{width:100%;display:flex;justify-content:flex-end;align-items:center;gap:14px;font-size:14px;color:var(--gray);margin-top:6px}
.tpl-qform__agree label{display:inline-flex;align-items:center;gap:6px;cursor:pointer}
.tpl-qform__agree input{width:16px;height:16px;accent-color:var(--accent)}
.tpl-qform__agree a{text-decoration:underline;text-underline-offset:3px}
@media (max-width:768px){.tpl-qform label.tpl-qform__f{flex:1 1 calc(50% - 8px);min-width:0}.tpl-qform__btn{width:100%}.tpl-qform__agree{justify-content:flex-start;flex-wrap:wrap}}

/* ===== 공용 부품 : 넘김 조작 · 배지 · 표 · 아코디언 · 안내문 ===== */
.tpl-ctrl{display:flex;align-items:center;gap:10px;flex:none}
.tpl-ctrl__num{display:flex;align-items:center;gap:12px;margin-right:14px;font-size:14px;font-weight:600;color:var(--gray);letter-spacing:0}
.tpl-ctrl__num b{color:var(--accent)}
.tpl-ctrl__num i{position:relative;width:170px;height:2px;background:var(--line)}
.tpl-ctrl__num i span{position:absolute;inset:0;background:var(--accent);transform-origin:left;transform:scaleX(.1);transition:transform .6s var(--ease)}
.tpl-ctrl__btn{width:44px;height:44px;display:grid;place-items:center;color:var(--ink);border-radius:50%;transition:background .25s}
.tpl-ctrl__btn:hover{background:var(--soft)}
.tpl-ctrl__btn .tpl-ico{width:24px;height:24px}
@media (max-width:768px){.tpl-ctrl__num i{width:110px}}
.tpl-badge{flex:none;display:inline-flex;align-items:center;justify-content:center;height:26px;padding:0 12px;border-radius:13px;background:var(--navy);color:#fff;font-size:12px;font-weight:700}
.tpl-note{margin-top:24px;font-size:14px;color:var(--gray)}
.tpl-note::before{content:'* '}
.tpl-table{overflow-x:auto;border-radius:12px;border:1px solid var(--line)}
.tpl-table__t{width:100%;min-width:860px;font-size:15px;text-align:center}
.tpl-table__t thead th{background:var(--navy);color:#fff;font-weight:700;font-size:17px;padding:20px 12px;border-left:1px solid rgba(255,255,255,.15)}
.tpl-table__t thead th:first-child{border-left:0;width:120px}
.tpl-table__t thead small{display:block;font-size:13px;font-weight:400;color:#dbe6f1;margin-top:2px}
.tpl-table__t tbody th{background:var(--ice);color:var(--navy);font-weight:700;padding:18px 10px}
.tpl-table__t td{padding:18px 18px;border-left:1px solid var(--line);line-height:1.6}
.tpl-table__t tbody tr+tr th,.tpl-table__t tbody tr+tr td{border-top:1px solid var(--line)}
.tpl-table__t tbody tr:nth-child(even) td{background:#fafbfd}
.tpl-acc{border-top:2px solid var(--ink)}
.tpl-acc details{border-bottom:1px solid #d8dee5}
.tpl-acc summary{display:flex;align-items:center;gap:20px;min-height:62px;padding:14px 14px;cursor:pointer;list-style:none;font-size:16px;font-weight:600;color:var(--ink)}
.tpl-acc summary::-webkit-details-marker{display:none}
.tpl-acc summary b{flex:none;color:var(--accent);font-size:16px;letter-spacing:0}
.tpl-acc summary span{flex:1}
.tpl-acc summary .tpl-ico{width:22px;height:22px;transition:transform .3s}
.tpl-acc details[open] summary .tpl-ico{transform:rotate(45deg)}
.tpl-acc details p{padding:0 54px 24px 56px;color:var(--gray);font-size:16px}
@media (max-width:768px){.tpl-acc summary{gap:12px;font-size:15px}.tpl-acc details p{padding:0 10px 20px 40px;font-size:15px}}
.tpl-form__done{flex-basis:100%;margin:12px 0 0;font-size:15px;color:var(--ink)}

/* ===== main.css ===== */
/* main.css — 메인 화면 섹션 */

/* ===== 메인 비주얼 : 화면 높이에서 헤더를 뺀 만큼(약 91%) ===== */
.tpl-visual{position:relative}
.tpl-visual__frame{position:relative;height:calc(100vh - var(--head));height:calc(100svh - var(--head));min-height:520px;overflow:hidden;background:#06182c;color:#fff}
.tpl-visual__slide{position:absolute;inset:0;visibility:hidden;z-index:1}
.tpl-visual__slide.is-active,.tpl-visual__slide.is-leaving{visibility:visible}
.tpl-visual__slide.is-active{z-index:3}
.tpl-visual__slide.is-leaving{z-index:2}
.tpl-visual__slide.is-entering{animation:tpl-wipe 1.2s cubic-bezier(.76,0,.24,1) both}
.tpl-visual__slide.is-entering.is-back{animation-name:tpl-wipe-b}
@keyframes tpl-wipe{from{clip-path:inset(0 0 0 100%)}to{clip-path:inset(0)}}
@keyframes tpl-wipe-b{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0)}}
.tpl-visual__media{position:absolute;inset:0;overflow:hidden}
.tpl-visual__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tpl-visual__slide.is-active .tpl-visual__media>img:not(.tpl-visual__cover),.tpl-visual__slide.is-leaving .tpl-visual__media>img:not(.tpl-visual__cover){animation:tpl-zoom 12s linear forwards}
@keyframes tpl-zoom{from{transform:scale(1.08)}to{transform:scale(1)}}
.tpl-visual__media::after{content:"";position:absolute;inset:0;z-index:2;background:linear-gradient(90deg,rgba(5,20,40,.82) 0,rgba(5,20,40,.55) 42%,rgba(5,20,40,.15) 75%,rgba(5,20,40,.05) 100%)}
.tpl-visual__yt{position:absolute;inset:0;overflow:hidden}
.tpl-visual__yt iframe{position:absolute;left:50%;top:50%;width:max(100%,calc((100svh - 80px)*1.7778));height:max(100%,56.25vw);max-width:none;transform:translate(-50%,-50%) scale(1.15);border:0;pointer-events:none}
.tpl-visual__cover{z-index:1;transition:opacity .5s}
.tpl-visual__cover.is-gone{opacity:0}
.tpl-visual__text{position:absolute;z-index:4;left:10%;right:10%;top:50%;transform:translateY(-58%)}
.tpl-visual__label{font-size:clamp(24px,2.6vw,44px);font-weight:300;line-height:1.3;letter-spacing:-.03em}
.tpl-visual__title{margin-top:10px;font-size:clamp(30px,3.4vw,52px);font-weight:700;line-height:1.25;letter-spacing:-.04em}
.tpl-visual__desc{margin-top:28px;font-size:clamp(17px,1.4vw,21px);color:#e8eef5}
.tpl-visual__btn{margin-top:44px}
.tpl-visual__label,.tpl-visual__title,.tpl-visual__desc,.tpl-visual__btn{opacity:0;transform:translateY(30px)}
.tpl-visual__slide.is-shown .tpl-visual__label{opacity:1;transform:none;transition:opacity .8s .15s,transform 1s .15s var(--ease)}
.tpl-visual__slide.is-shown .tpl-visual__title{opacity:1;transform:none;transition:opacity .9s .32s,transform 1.1s .32s var(--ease)}
.tpl-visual__slide.is-shown .tpl-visual__desc{opacity:1;transform:none;transition:opacity .9s .52s,transform 1s .52s var(--ease)}
.tpl-visual__slide.is-shown .tpl-visual__btn{opacity:1;transform:none;transition:opacity .9s .7s,transform 1s .7s var(--ease),background .3s,color .3s}
.tpl-visual__arrow{position:absolute;z-index:5;top:50%;width:64px;height:96px;margin-top:-48px;display:grid;place-items:center;color:#fff;opacity:.8;transition:opacity .3s}
.tpl-visual__arrow .tpl-ico{width:44px;height:44px;stroke-width:1.2}
.tpl-visual__arrow:hover{opacity:1}
.tpl-visual__arrow--prev{left:2%}
.tpl-visual__arrow--next{right:2%}
.tpl-visual__bar{position:absolute;z-index:5;left:10%;bottom:16.5%;display:flex;align-items:center;gap:16px;font-size:14px;font-weight:600;letter-spacing:0}
.tpl-visual__track{position:relative;width:196px;height:2px;background:rgba(255,255,255,.35)}
.tpl-visual__progress{position:absolute;inset:0;background:#fff;transform-origin:left;transform:scaleX(0)}
.tpl-visual__pause{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;border:1px solid rgba(255,255,255,.6);margin-left:6px}
.tpl-visual__pause .tpl-ico{width:14px;height:14px}
.tpl-visual__scroll{position:absolute;z-index:5;left:50%;bottom:28px;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:8px;font-size:13px;font-weight:700}
.tpl-visual__scroll i{width:24px;height:36px;border:2px solid #fff;border-radius:12px;position:relative}
.tpl-visual__scroll i::after{content:'';position:absolute;left:50%;top:7px;width:3px;height:7px;margin-left:-1.5px;border-radius:2px;background:#fff;animation:tpl-wheel 1.6s infinite}
@keyframes tpl-wheel{0%{transform:translateY(0);opacity:1}80%{transform:translateY(12px);opacity:0}100%{opacity:0}}
@media (max-width:768px){
  .tpl-visual__frame{height:calc(92svh - var(--head));min-height:560px}
  .tpl-visual__text{left:24px;right:24px;top:auto;bottom:150px;transform:none}
  .tpl-visual__media::after{background:linear-gradient(0deg,rgba(5,20,40,.85) 0,rgba(5,20,40,.5) 55%,rgba(5,20,40,.2) 100%)}
  .tpl-visual__desc{margin-top:14px}
  .tpl-visual__btn{margin-top:24px;height:44px}
  .tpl-visual__bar{left:24px;bottom:84px}
  .tpl-visual__track{width:120px}
  .tpl-visual__arrow{top:34%;width:44px;height:64px;margin-top:-32px}
  .tpl-visual__arrow .tpl-ico{width:32px;height:32px}
  .tpl-visual__arrow--prev{left:2px}.tpl-visual__arrow--next{right:2px}
  .tpl-visual__scroll{bottom:20px}
  .tpl-visual__scroll span{display:none}
}

/* ===== 빠른 상담 ===== */
.tpl-quick{padding:90px 0 40px}
.tpl-wrap--narrow{max-width:1040px}

/* ===== 의료진 인사 ===== */
.tpl-team{padding:80px 0 120px;text-align:center;overflow:hidden}
.tpl-team__head{max-width:880px;margin:0 auto}
.tpl-team__head .tpl-lead{max-width:760px;margin:24px auto 0}
.tpl-team__pic{position:relative;max-width:820px;margin:70px auto 0;padding:70px 0 0}
.tpl-team__pic img{position:relative;z-index:1;width:100%;aspect-ratio:16/11;object-fit:cover;object-position:center 20%}
.tpl-team__word{position:absolute;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:clamp(48px,7vw,104px);font-weight:300;line-height:1;letter-spacing:-.02em;color:#e4e9ef}
.tpl-team__word--top{top:0;z-index:0}
.tpl-team__word--bottom{bottom:-30px;z-index:2;color:rgba(255,255,255,.82);text-shadow:0 0 1px rgba(14,58,102,.15)}

/* ===== 장비 소개 ===== */
.tpl-equip{background:var(--blue);color:#fff;padding:130px 0 140px}
.tpl-equip__grid{display:grid;grid-template-columns:5fr 7fr;gap:40px}
.tpl-equip__sticky{position:sticky;top:calc(var(--head) + 60px)}
.tpl-equip__eyebrow{font-size:17px;font-weight:700;margin-bottom:20px}
.tpl-equip__title{font-size:clamp(32px,3.3vw,48px);line-height:1.15;font-weight:700;color:#d3e2f1;letter-spacing:-.03em;margin-bottom:44px}
.tpl-equip__list li{padding:9px 0;color:#d3e2f1;transition:color .35s}
.tpl-equip__list li strong{display:block;font-size:20px;font-weight:700;line-height:1.4}
.tpl-equip__list li small{display:block;font-size:13px;color:#e6eef7;margin-top:2px}
.tpl-equip__list li.is-on{color:#fff}
.tpl-equip__list li.is-on strong{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px}
.tpl-equip__right{position:relative;padding-top:20px}
.tpl-equip__right::before{content:'';position:absolute;left:50%;top:70px;bottom:0;width:1px;background:rgba(255,255,255,.55)}
.tpl-equip__glance{position:relative;z-index:1;display:flex;width:max-content;margin:0 auto 60px;background:var(--blue)}
.tpl-equip__line li{position:relative;width:50%;padding:0 0 70px 44px;margin-left:50%}
.tpl-equip__line li:nth-child(even){margin-left:0;padding:0 44px 70px 0;text-align:right}
.tpl-equip__line li::before{content:'';position:absolute;left:-4px;top:60px;width:8px;height:8px;border-radius:50%;background:#fff}
.tpl-equip__line li::after{content:'';position:absolute;left:0;top:64px;width:36px;height:1px;background:rgba(255,255,255,.55)}
.tpl-equip__line li:nth-child(even)::before{left:auto;right:-4px}
.tpl-equip__line li:nth-child(even)::after{left:auto;right:0}
.tpl-equip__line img{width:100%;aspect-ratio:16/10;object-fit:cover;background:#fff}
.tpl-equip__line figcaption{margin-top:14px;font-size:14px;line-height:1.55;color:#eef4fa}
.tpl-equip__line figcaption strong{display:block;font-size:16px;color:#fff}

/* ===== 특화센터 ===== */
.tpl-center{padding:130px 0 120px;overflow:hidden}
.tpl-center__head .tpl-lead{max-width:760px}
.tpl-center__tabs{display:grid;grid-template-columns:repeat(4,1fr);max-width:1040px;margin:60px auto 50px;border-bottom:1px solid var(--line)}
.tpl-center__tabs button{position:relative;height:56px;font-size:17px;font-weight:700;color:#6b7480;white-space:nowrap;transition:color .3s}
.tpl-center__tabs button::after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--accent);transform:scaleX(0);transition:transform .35s var(--ease)}
.tpl-center__tabs button[aria-selected="true"]{color:var(--accent)}
.tpl-center__tabs button[aria-selected="true"]::after{transform:scaleX(1)}
.tpl-center__panel{display:grid;grid-template-columns:5fr 4fr 3fr;align-items:center;gap:40px;animation:tpl-fade .6s var(--ease)}
@keyframes tpl-fade{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
.tpl-center__pic img{width:100%;aspect-ratio:5/3;object-fit:cover}
.tpl-center__txt h3{font-size:30px;font-weight:700;color:var(--ink)}
.tpl-center__txt p{margin:16px 0 36px;color:var(--gray)}
.tpl-center__ring{width:400px;aspect-ratio:1;border-radius:50%;overflow:hidden;margin-right:-160px;justify-self:end;background:var(--pale)}
.tpl-center__ring img{width:100%;height:100%;object-fit:cover;opacity:.55}

/* ===== 서밋 ===== */
.tpl-summit{background:var(--navy);color:#fff;padding:120px 0 90px;overflow:hidden}
.tpl-summit__en{text-align:center;font-size:14px;font-weight:600;letter-spacing:.62em;word-spacing:.9em;color:#dbe6f1}
.tpl-summit__big{text-align:center;font-size:clamp(56px,8vw,112px);font-weight:300;line-height:1.2;margin-top:24px;letter-spacing:-.01em}
.tpl-summit__copy{margin-top:90px;max-width:780px}
.tpl-summit__title{font-size:40px;line-height:1.35;font-weight:700;margin-bottom:28px;letter-spacing:-.04em}
.tpl-summit__title em{font-style:normal;color:#8cc3f0}
.tpl-summit__copy p{color:#d9e4ef;font-size:16px;margin-top:14px}
.tpl-summit__slider{margin-top:70px;padding-left:max(40px,calc((100% - 1200px)/2))}
.tpl-summit__track{display:flex;gap:16px;transition:transform .8s var(--ease)}
.tpl-summit__track li{flex:none;width:min(560px,70vw);aspect-ratio:3/2;position:relative;overflow:hidden}
.tpl-summit__track img{width:100%;height:100%;object-fit:cover}
.tpl-summit__track li::after{content:'';position:absolute;inset:0;background:rgba(14,58,102,.55);transition:opacity .6s}
.tpl-summit__track li.is-on::after{opacity:0}
.tpl-summit__tabs{display:flex;justify-content:center;gap:clamp(16px,3vw,44px);margin-top:70px}
.tpl-summit__tabs button{position:relative;padding-top:14px;font-size:15px;color:#b9cce0;white-space:nowrap;transition:color .3s}
.tpl-summit__tabs button::before{content:'';position:absolute;left:50%;top:0;width:6px;height:6px;margin-left:-3px;border-radius:50%;background:#5c86b0}
.tpl-summit__tabs button[aria-selected="true"]{color:#fff;font-weight:700;font-size:17px}
.tpl-summit__tabs button[aria-selected="true"]::before{background:#8cc3f0}

/* ===== 의료진 ===== */
.tpl-doc{padding:130px 0 120px;overflow:hidden}
.tpl-doc__head,.tpl-career__head{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:50px}
.tpl-doc__view,.tpl-career__view{overflow:visible}
.tpl-doc__track,.tpl-career__track{display:flex;gap:24px;transition:transform .7s var(--ease)}
.tpl-doc__track li{flex:none;width:calc((100% - 72px)/4)}
.tpl-doc__pic{display:block;background:#eef1f4;overflow:hidden}
.tpl-doc__pic img{width:100%;aspect-ratio:3/4;object-fit:cover;transition:transform .6s var(--ease)}
.tpl-doc__card:hover img{transform:scale(1.04)}
.tpl-doc__meta{display:block;padding-top:18px}
.tpl-doc__meta small{display:inline-block;font-size:13px;font-weight:700;color:#fff;background:var(--navy);border-radius:12px;padding:2px 10px}
.tpl-doc__meta strong{display:block;margin-top:10px;font-size:22px;font-weight:700;color:var(--ink)}
.tpl-doc__meta strong em{font-style:normal;font-size:16px;font-weight:600;color:var(--gray);margin-left:4px}
.tpl-doc__meta>span{display:block;font-size:15px;color:var(--gray);margin-top:4px}

/* ===== 숫자 띠 : 가로 100% 사진 띠 → PC 고정 배경 ===== */
.tpl-num{position:relative;padding:130px 0;color:#fff;isolation:isolate;overflow:hidden}
.tpl-num__bg{position:absolute;inset:0;z-index:-2;background-size:cover;background-position:center}
.tpl-num::before{content:'';position:absolute;inset:0;z-index:-1;background:rgba(18,72,160,.82)}
@media (min-width:1025px) and (hover:hover) and (prefers-reduced-motion:no-preference){.tpl-num__bg,.tpl-reveal__bg{background-attachment:fixed}}
.tpl-num__in{display:grid;grid-template-columns:5fr 7fr;gap:40px;align-items:start}
.tpl-num__en{font-size:20px;font-weight:700;margin-bottom:24px}
.tpl-num__title{font-size:40px;line-height:1.35;font-weight:700;letter-spacing:-.04em}
.tpl-num__list{display:grid;grid-template-columns:1fr 1fr;column-gap:30px}
.tpl-num__list li{border-top:1px solid rgba(255,255,255,.4);padding:34px 10px 40px}
.tpl-num__list .tpl-ico{width:26px;height:26px;color:#cfe0f4}
.tpl-num__list p{margin-top:14px;font-size:50px;font-weight:700;line-height:1.1;letter-spacing:-.02em}
.tpl-num__list small{font-size:15px;margin-left:6px;font-weight:600}
.tpl-num__list span{display:block;margin-top:12px;font-size:15px;font-weight:600;color:#e6eef7}

/* ===== 커리어 ===== */
.tpl-career{padding:130px 0;overflow:hidden}
.tpl-career__track li{flex:none;width:calc((100% - 48px)/3.2)}
.tpl-career__pic{display:block;overflow:hidden}
.tpl-career__pic img{width:100%;aspect-ratio:3/2;object-fit:cover;transition:transform .6s var(--ease)}
.tpl-career__card:hover img{transform:scale(1.04)}
.tpl-career__card strong{display:block;margin-top:22px;font-size:19px;font-weight:700;color:var(--ink);line-height:1.45;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tpl-career__card p{margin-top:10px;font-size:15px;line-height:1.65;color:var(--gray);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* ===== 전립선 띠 · 비교표 ===== */
.tpl-compare{padding:40px 0 140px}
.tpl-reveal{position:relative;height:clamp(420px,42vw,600px);margin:0 auto;color:#fff;isolation:isolate;overflow:hidden;clip-path:inset(0 var(--inset,8%))}
.tpl-reveal__bg{position:absolute;inset:0;z-index:-2;background-size:cover;background-position:center}
.tpl-reveal::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(3,10,20,.85),rgba(3,10,20,.45) 60%,rgba(3,10,20,.3))}
.tpl-reveal__txt{position:absolute;left:max(14%,calc((100% - 1200px)/2 + 60px));top:50%;transform:translateY(-50%)}
.tpl-reveal__t{font-size:clamp(28px,3vw,42px);font-weight:300;line-height:1.35}
.tpl-reveal__b{font-size:clamp(28px,3vw,42px);font-weight:700;line-height:1.35;margin-bottom:40px}
.tpl-compare__head{text-align:center;margin:140px 0 60px}

/* ===== 유담 TV ===== */
.tpl-tv{background:var(--soft);padding:130px 0}
.tpl-tv__head{text-align:center}
.tpl-tv__more{margin-top:30px}
.tpl-ico--fill use{fill:none}
.tpl-tv__grid{display:grid;grid-template-columns:11fr 9fr;gap:56px;margin-top:70px}
.tpl-tv__thumb{position:relative;display:block;border-radius:12px;overflow:hidden}
.tpl-tv__thumb img{width:100%;aspect-ratio:16/9;object-fit:cover}
.tpl-tv__play{position:absolute;left:50%;top:50%;width:72px;height:52px;margin:-26px 0 0 -36px;border-radius:14px;background:rgba(14,58,102,.9);display:grid;place-items:center;color:#fff}
.tpl-tv__play .tpl-ico{width:26px;height:26px;fill:#fff;stroke:none}
.tpl-tv__main strong{display:block;margin-top:18px;font-size:19px;font-weight:700;color:var(--ink)}
.tpl-tv__list li+li{margin-top:16px}
.tpl-tv__list a{display:grid;grid-template-columns:150px 1fr;gap:22px;align-items:center}
.tpl-tv__s img{width:150px;aspect-ratio:16/9;object-fit:cover;border-radius:6px}
.tpl-tv__list strong{font-size:16px;font-weight:700;color:var(--ink);line-height:1.5}
.tpl-tv__list a:hover strong,.tpl-tv__main:hover strong{color:var(--accent)}
.tpl-ctrl--tv{margin-top:30px;justify-content:flex-end}

/* ===== 유담소식 ===== */
.tpl-news{padding:140px 0}
.tpl-news__grid{display:grid;grid-template-columns:6fr 2.2fr 2.2fr;gap:16px;align-items:stretch}
.tpl-news__board{margin-right:40px}
.tpl-news__head{display:flex;align-items:center;justify-content:space-between;padding-bottom:22px;border-bottom:2px solid var(--ink)}
.tpl-news__title{font-size:30px;font-weight:700;color:var(--ink)}
.tpl-news__list a{display:flex;align-items:center;gap:14px;height:60px;border-bottom:1px solid var(--line);padding:0 10px}
.tpl-news__list strong{flex:1;min-width:0;font-size:16px;font-weight:600;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tpl-news__list a:hover strong{color:var(--accent)}
.tpl-news__list time{font-size:13px;color:var(--gray);letter-spacing:0}
.tpl-news__tile{display:flex;flex-direction:column;align-items:center;padding:90px 20px 0;background:var(--blue);color:#fff;transition:background .3s}
.tpl-news__tile--deep{background:var(--navy)}
.tpl-news__tile:hover{background:var(--deep)}
.tpl-news__ico{width:76px;height:76px;fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.tpl-news__tile strong{margin-top:30px;font-size:21px;font-weight:700}
.tpl-news__tile span{margin-top:auto;align-self:stretch;display:flex;justify-content:space-between;align-items:center;border-top:1px solid rgba(255,255,255,.45);padding:20px 0 24px;font-size:14px}
.tpl-news__tile span .tpl-ico{width:16px;height:16px}

/* ===== FAQ ===== */
.tpl-faqsec{background:var(--ice);padding:140px 0 150px}
.tpl-faqsec__head{text-align:center;margin-bottom:60px}

/* ===== 협력 의료기관 ===== */
.tpl-partner{padding:140px 0 120px}
.tpl-partner__head{text-align:center}
.tpl-partner__head .tpl-lead{max-width:640px;margin:20px auto 0}
.tpl-partner__list{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;max-width:1080px;margin:40px auto 0}
.tpl-partner__card{border:1px solid var(--line);border-radius:12px;padding:16px;background:#fff}
.tpl-partner__top{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:600;gap:6px}
.tpl-partner__loc{background:var(--soft);padding:3px 8px;border-radius:4px;color:var(--text)}
.tpl-partner__tag{color:var(--accent);display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
.tpl-partner__tag::before{content:'';width:7px;height:7px;border-radius:50%;background:var(--accent)}
.tpl-partner__logo{margin:14px 0;height:54px;display:flex;align-items:center;justify-content:center;gap:8px;border-radius:8px;background:#f7f9fb;box-shadow:0 2px 6px rgba(14,58,102,.06);font-size:15px;font-weight:700;color:var(--navy);white-space:nowrap}
.tpl-partner__logo i{width:24px;height:24px;border-radius:50%;background:var(--navy);color:#fff;font-style:normal;font-size:12px;display:grid;place-items:center}
.tpl-partner__desc{font-size:13px;line-height:1.6;color:var(--gray);padding-bottom:14px;border-bottom:1px solid var(--line)}
.tpl-partner__btn{margin-top:14px;height:34px;display:flex;align-items:center;justify-content:center;gap:2px;border:1px solid var(--line);border-radius:6px;background:var(--ice);font-size:13px;font-weight:700;color:var(--navy)}
.tpl-partner__btn .tpl-ico{width:14px;height:14px}
.tpl-refer{max-width:1080px;margin:60px auto 0;border:1px solid var(--line);border-radius:12px;padding:40px 30px 30px;text-align:center}
.tpl-refer__en{font-size:12px;font-weight:700;color:var(--accent);letter-spacing:.02em}
.tpl-refer__title{margin-top:8px;font-size:28px;font-weight:700;color:var(--ink)}
.tpl-refer__steps{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:30px}
.tpl-refer__steps li{background:var(--soft);border-radius:8px;padding:26px 14px 24px;display:flex;flex-direction:column;align-items:center}
.tpl-refer__steps b{width:28px;height:28px;border-radius:50%;background:var(--accent);color:#fff;display:grid;place-items:center;font-size:13px}
.tpl-refer__steps strong{margin-top:14px;font-size:17px;color:var(--ink)}
.tpl-refer__steps span{margin-top:8px;font-size:14px;line-height:1.6;color:var(--gray)}

/* ===== 반응형 ===== */
@media (max-width:1199px){
  .tpl-center__panel{grid-template-columns:1fr 1fr}
  .tpl-center__ring{display:none}
}
@media (max-width:1279px){
  .tpl-partner__list{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:1024px){
  .tpl-equip__grid,.tpl-num__in,.tpl-tv__grid{grid-template-columns:1fr}
  .tpl-equip__sticky{position:static}
  .tpl-center__panel{grid-template-columns:1fr 1fr}
  .tpl-center__ring{display:none}
  .tpl-doc__track li{width:calc((100% - 48px)/3)}
  .tpl-career__track li{width:calc((100% - 24px)/2.2)}
  .tpl-news__grid{grid-template-columns:1fr 1fr}
  .tpl-news__board{grid-column:1/-1;margin:0 0 30px}
  .tpl-news__tile{padding-top:50px;min-height:300px}
  .tpl-refer__steps{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:768px){
  .tpl-quick{padding:60px 0 20px}
  .tpl-team{padding:60px 0 80px}
  .tpl-team__pic{margin-top:40px;padding-top:40px}
  .tpl-team__word--bottom{bottom:-14px}
  .tpl-equip,.tpl-center,.tpl-summit,.tpl-doc,.tpl-num,.tpl-career,.tpl-tv,.tpl-news,.tpl-faqsec,.tpl-partner{padding-top:80px;padding-bottom:80px}
  .tpl-equip__title{font-size:40px;margin-bottom:24px}
  .tpl-equip__list{display:none}
  .tpl-equip__right::before{left:12px}
  .tpl-equip__glance{margin:0 0 40px}
  .tpl-equip__line li,.tpl-equip__line li:nth-child(even){width:auto;margin-left:0;padding:0 0 44px 44px;text-align:left}
  .tpl-equip__line li::before,.tpl-equip__line li:nth-child(even)::before{left:8px;right:auto}
  .tpl-equip__line li::after,.tpl-equip__line li:nth-child(even)::after{left:12px;right:auto;width:24px}
  .tpl-center__tabs{grid-template-columns:repeat(2,1fr);margin:40px 0 30px}
  .tpl-center__tabs button{font-size:15px}
  .tpl-center__panel{grid-template-columns:1fr;gap:24px}
  .tpl-summit__copy{margin-top:50px}
  .tpl-summit__title{font-size:28px}
  .tpl-summit__slider{padding-left:20px;margin-top:40px}
  .tpl-summit__tabs{flex-wrap:wrap;gap:14px 20px;margin-top:40px}
  .tpl-doc__head,.tpl-career__head{flex-direction:column;align-items:flex-start;margin-bottom:30px}
  .tpl-doc__track li{width:calc((100% - 16px)/1.6)}
  .tpl-doc__track,.tpl-career__track{gap:16px}
  .tpl-num__title{font-size:28px}
  .tpl-num__list{column-gap:16px}
  .tpl-num__list p{font-size:32px}
  .tpl-career__track li{width:82%}
  .tpl-reveal{height:440px;clip-path:none}
  .tpl-reveal__txt{left:24px;right:24px}
  .tpl-compare{padding-top:0;padding-bottom:80px}
  .tpl-compare__head{margin:80px 0 36px}
  .tpl-tv__grid{margin-top:40px;gap:36px}
  .tpl-tv__list a{grid-template-columns:120px 1fr;gap:14px}
  .tpl-tv__s img{width:120px}
  .tpl-tv__list strong{font-size:15px}
  .tpl-news__grid{gap:10px}
  .tpl-news__list a{flex-wrap:wrap;height:auto;padding:14px 4px;row-gap:4px}
  .tpl-news__list strong{flex-basis:calc(100% - 60px)}
  .tpl-news__list time{padding-left:58px}
  .tpl-news__tile{min-height:240px;padding-top:36px}
  .tpl-news__ico{width:56px;height:56px}
  .tpl-news__tile strong{font-size:18px;margin-top:18px}
  .tpl-partner__list{grid-template-columns:1fr 1fr}
  .tpl-refer{padding:30px 16px 16px}
  .tpl-refer__title{font-size:22px}
  .tpl-refer__steps{grid-template-columns:1fr}
}
@media (max-width:480px){.tpl-summit__en{letter-spacing:.42em;word-spacing:.4em}}

/* ===== sub.css ===== */
/* sub.css — 서브페이지 공통(비주얼 · 위치 · 2차 탭) 과 화면 유형별 부품 */

/* ===== 서브 비주얼 : 사진 + 어두운 막, 정지 ===== */
.tpl-svis{position:relative;height:420px;display:flex;align-items:center;color:#fff;isolation:isolate;overflow:hidden}
.tpl-svis__bg{position:absolute;inset:0;z-index:-2;background-size:cover;background-position:center}
.tpl-svis::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(5,24,48,.82),rgba(5,24,48,.55) 60%,rgba(5,24,48,.4))}
.tpl-svis .tpl-wrap{text-align:center}
.tpl-svis__en{font-size:14px;font-weight:600;letter-spacing:.14em;color:#dbe6f1}
.tpl-svis__title{margin-top:14px;font-size:clamp(32px,3.4vw,48px);font-weight:700;letter-spacing:-.04em;line-height:1.25}
.tpl-svis__desc{margin-top:14px;font-size:17px;color:#e8eef5}

/* ===== 위치 · 2차 탭 ===== */
.tpl-snb{border-bottom:1px solid var(--line);background:#fff}
.tpl-snb__path{display:flex;gap:8px;padding:18px 0 0;font-size:13px;color:var(--gray)}
.tpl-snb__path li+li::before{content:'>';margin-right:8px;color:#9aa3ad}
.tpl-snb__path li:last-child{color:var(--navy);font-weight:700}
.tpl-snb__tabs{display:flex;gap:30px;overflow-x:auto;scrollbar-width:thin;white-space:nowrap;margin-top:6px}
.tpl-snb__tabs a{position:relative;display:block;padding:14px 0 16px;font-size:16px;font-weight:600;color:#5d6670}
.tpl-snb__tabs a::after{content:'';position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--navy);transform:scaleX(0);transition:transform .3s var(--ease)}
.tpl-snb__tabs a[aria-current]{color:var(--navy);font-weight:700}
.tpl-snb__tabs a[aria-current]::after{transform:scaleX(1)}
@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-ssec{padding:100px 0}
.tpl-ssec+.tpl-ssec{padding-top:20px}
.tpl-ssec--soft,.tpl-ssec+.tpl-ssec--soft{background:var(--soft);padding:100px 0;margin-top:80px}
.tpl-ssec--soft+.tpl-ssec{padding-top:100px}
.tpl-ssec--t0{padding-top:0!important}
.tpl-shead{margin-bottom:44px}
.tpl-shead--c{text-align:center}
.tpl-shead--c .tpl-lead{max-width:760px;margin-left:auto;margin-right:auto}
.tpl-sh2{font-size:clamp(26px,2.5vw,36px);line-height:1.4;font-weight:700;color:var(--ink);letter-spacing:-.04em}
.tpl-sh2--blue{color:var(--accent);font-weight:600}
.tpl-sh3{font-size:clamp(24px,2.2vw,30px);line-height:1.4;font-weight:700;color:var(--ink);letter-spacing:-.03em}
.tpl-sh4{font-size:21px;font-weight:700;color:var(--ink)}
.tpl-small{font-size:14px;color:var(--gray);margin-top:10px}
.tpl-dots li{position:relative;padding-left:12px;font-size:15px;line-height:1.7;color:var(--text)}
.tpl-dots li::before{content:'';position:absolute;left:0;top:.8em;width:4px;height:4px;border-radius:50%;background:var(--navy)}
.tpl-infobar{display:flex;gap:10px;align-items:flex-start;background:var(--ice);border-radius:8px;padding:16px 20px;font-size:15px;font-weight:600;color:var(--navy);margin-top:30px}
.tpl-infobar .tpl-ico{width:18px;height:18px;margin-top:3px;color:var(--accent)}
.tpl-notebar{background:var(--soft);border-radius:8px;padding:18px 20px;text-align:center;font-size:14px;color:var(--gray)}
.tpl-badge--sky{background:var(--blue)}

/* ----- 소개 : 제목 한 줄 → 글 + 그림 ----- */
.tpl-intro2__grid{display:grid;grid-template-columns:7fr 5fr;gap:60px;align-items:center;margin-top:30px}
.tpl-intro2__p{font-size:17px;line-height:1.8;color:var(--text)}
.tpl-intro2__art{background:var(--ice);border-radius:12px;padding:30px;display:flex;justify-content:center}
.tpl-intro2__art--pic{position:relative;padding:0;overflow:hidden;background:none}
.tpl-intro2__art--pic img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px}
.tpl-intro2__fig{position:absolute;right:16px;bottom:16px;width:42%;background:rgba(255,255,255,.95);border-radius:10px;padding:8px}
.tpl-organ,.tpl-stepsvg{width:100%;max-width:300px;height:auto;fill:none;stroke:var(--navy);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.tpl-intro3{display:grid;grid-template-columns:7fr 5fr;gap:60px;align-items:center}
.tpl-intro3 p{margin-top:18px;color:var(--text)}
.tpl-intro3>img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:4px}
.tpl-wide img{width:min(560px,100%);margin:0 auto;aspect-ratio:16/10;object-fit:cover}
.tpl-wide--sm img{width:min(420px,100%)}

/* ----- 질환형 ----- */
.tpl-types{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.tpl-types li{text-align:left}
.tpl-types .tpl-organ{max-width:none;background:var(--soft);padding:24px;border-radius:4px;aspect-ratio:4/3}
.tpl-types strong,.tpl-exams strong,.tpl-treat strong{display:block;margin-top:16px;font-size:18px;color:var(--ink)}
.tpl-types p,.tpl-exams p,.tpl-treat p{margin-top:6px;font-size:15px;color:var(--gray);line-height:1.6}
.tpl-sym{display:grid;grid-template-columns:5fr 7fr;gap:60px}
.tpl-sym__l p{margin-top:16px;color:var(--gray)}
.tpl-sym__g+.tpl-sym__g{margin-top:34px}
.tpl-sym__g h3{font-size:18px;font-weight:700;color:var(--ink);margin-bottom:12px}
.tpl-sym__g li{display:flex;align-items:center;gap:12px;background:var(--ice);border-radius:6px;padding:12px 16px;font-size:15px;color:var(--ink)}
.tpl-sym__g li+li{margin-top:8px}
.tpl-sym__g .tpl-ico{width:22px;height:22px;padding:4px;border-radius:50%;background:var(--navy);color:#fff;stroke-width:2.4}
.tpl-exams{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.tpl-exams img,.tpl-treat img{width:100%;aspect-ratio:4/3;object-fit:cover}
.tpl-treat{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;max-width:1000px;margin:0 auto}
.tpl-ctiles{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.tpl-ctile{position:relative;display:block;aspect-ratio:4/3;overflow:hidden;color:#fff}
.tpl-ctile img{width:100%;height:100%;object-fit:cover;transition:transform .6s var(--ease)}
.tpl-ctile::after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(14,58,102,.88),rgba(14,58,102,.2) 70%)}
.tpl-ctile strong,.tpl-ctile span{position:absolute;z-index:1;left:24px}
.tpl-ctile strong{bottom:56px;font-size:21px}
.tpl-ctile span{bottom:24px;display:flex;align-items:center;gap:8px;font-size:14px}
.tpl-ctile span .tpl-ico{width:16px;height:16px}
.tpl-ctile:hover img{transform:scale(1.05)}

/* ----- 시술형 ----- */
.tpl-what{margin:16px 0 50px;color:var(--text);max-width:900px}
.tpl-sh4+.tpl-feats{margin-top:20px}
.tpl-feats{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}
.tpl-feats li{background:var(--ice);border-radius:6px;padding:30px 10px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px}
.tpl-feats .tpl-ico{width:30px;height:30px;color:var(--navy)}
.tpl-feats span{font-size:13px;color:var(--gray)}
.tpl-feats strong{font-size:16px;color:var(--navy)}
.tpl-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:30px}
.tpl-steps__art{background:var(--ice);aspect-ratio:4/3;display:grid;place-items:center;border-radius:4px}
.tpl-steps strong{display:block;margin-top:16px;font-size:17px;color:var(--ink)}
.tpl-steps strong b{color:var(--accent)}
.tpl-care{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:30px}
.tpl-care img{width:100%;aspect-ratio:4/3;object-fit:cover}
.tpl-care p{margin-top:12px;font-size:15px;color:var(--text);line-height:1.6}
.tpl-manage{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:30px}
.tpl-manage li{background:#fff;border-radius:8px;padding:26px 22px;box-shadow:0 2px 8px rgba(14,58,102,.05)}
.tpl-manage small{font-size:13px;font-weight:700;color:var(--accent)}
.tpl-manage strong{display:block;margin-top:8px;font-size:17px;color:var(--ink)}
.tpl-manage p{margin-top:8px;font-size:14px;color:var(--gray);line-height:1.6}
.tpl-acc--round{border-top:0;max-width:900px;margin:0 auto}
.tpl-acc--round details{border:0;background:var(--soft);border-radius:30px;margin-bottom:10px}
.tpl-acc--round summary{padding:12px 24px;min-height:56px}
.tpl-acc--round details p{padding:0 30px 20px 64px}

/* ----- 센터형 ----- */
.tpl-cband{background:linear-gradient(180deg,#1f6ec0,#1a56b0 60%,#164a99);color:#fff;padding:100px 0}
.tpl-cband__in{display:grid;grid-template-columns:7fr 5fr;gap:60px;align-items:center}
.tpl-cband__lead{font-size:22px;font-weight:700}
.tpl-cband__circle{width:200px;height:200px;border-radius:50%;margin:36px 0;background:radial-gradient(circle at 30% 30%,#4fb3d6,#2a8bbf);display:flex;align-items:center;justify-content:center;gap:4px}
.tpl-cband__circle b{font-size:44px;letter-spacing:-.02em}
.tpl-cband__circle small{font-size:16px;font-weight:700;margin-top:14px}
.tpl-cband__h{font-size:clamp(22px,2vw,28px);font-weight:700;line-height:1.45}
.tpl-cband__txt>p:last-child{margin-top:18px;color:#e6eef7;font-size:16px}
.tpl-cband__pic img{width:100%;aspect-ratio:4/5;object-fit:cover}
.tpl-core,.tpl-eqrow{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.tpl-core li{position:relative;overflow:hidden;aspect-ratio:4/3;color:#fff}
.tpl-core img{width:100%;height:100%;object-fit:cover}
.tpl-core li::after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(14,58,102,.9),rgba(14,58,102,0) 65%)}
.tpl-core span{position:absolute;z-index:1;left:20px;right:20px;bottom:18px;font-weight:700;font-size:16px;line-height:1.5}
.tpl-core small{display:block;font-size:12px;color:#cfe0f4}
.tpl-core b{display:block;font-weight:700}
.tpl-eqrow{grid-template-columns:repeat(4,1fr)}
.tpl-eqrow img{width:100%;aspect-ratio:1;object-fit:cover;background:var(--soft)}
.tpl-eqrow strong{display:block;margin-top:10px;font-size:15px;color:var(--ink)}
.tpl-flowsec{background:#2c3946;color:#fff;padding:100px 0;margin-top:80px}
.tpl-flowsec__h{text-align:center;font-size:clamp(24px,2.2vw,30px);font-weight:700}
.tpl-flowsec__p{text-align:center;max-width:760px;margin:16px auto 0;color:#dfe5eb;font-size:15px}
.tpl-flow{display:grid;grid-template-columns:1fr 1fr;gap:24px;max-width:860px;margin:50px auto 0}
.tpl-flow__col{background:#3a4856;border-radius:12px;padding:30px 30px 0;text-align:center;clip-path:polygon(0 0,100% 0,100% 82%,50% 100%,0 82%)}
.tpl-flow__col--b{background:#1a56b0}
.tpl-flow__col h3{font-size:16px;font-weight:700;margin-bottom:20px}
.tpl-flow__col ol li{border-radius:16px;background:#141b22;padding:6px;font-size:14px;font-weight:600}
.tpl-flow__col--b ol li{background:#fff;color:var(--navy)}
.tpl-flow__col ol li.tpl-flow__plus{background:none;padding:2px;color:#8fd0f0}
.tpl-flow__end{padding:24px 0 80px;font-size:15px;font-weight:700;color:#fff}
.tpl-flow__col--b .tpl-flow__end{color:#fff}
.tpl-std li{display:grid;grid-template-columns:5fr 7fr;gap:50px;align-items:center;max-width:900px;margin:0 auto}
.tpl-std li+li{margin-top:40px}
.tpl-std img{width:100%;aspect-ratio:16/10;object-fit:cover}
.tpl-std small{font-size:13px;font-weight:700;color:var(--accent)}
.tpl-std strong{display:block;margin-top:8px;font-size:21px;color:var(--ink);line-height:1.45}
.tpl-std p{margin-top:10px;color:var(--gray);font-size:15px}
.tpl-mcards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.tpl-mcard{display:block;background:#fff}
.tpl-mcard img{width:100%;aspect-ratio:4/3;object-fit:cover}
.tpl-mcard strong{display:block;padding:18px 18px 4px;font-size:18px;color:var(--ink)}
.tpl-mcard span{display:flex;align-items:center;gap:6px;padding:0 18px 20px;font-size:14px;color:var(--accent);font-weight:600}
.tpl-mcard span .tpl-ico{width:16px;height:16px}

/* ----- 특별함 ----- */
.tpl-sp1{text-align:center}
.tpl-sp1__pic img{width:min(560px,100%);margin:40px auto 0;aspect-ratio:16/10;object-fit:cover}
.tpl-sp2{text-align:center;max-width:900px;margin:0 auto}
.tpl-sp2__mark{width:84px;height:84px;margin:0 auto 20px;border-radius:20px;background:var(--navy);color:#fff;font-size:48px;font-weight:700;display:grid;place-items:center}
.tpl-sp2__en{font-size:14px;font-weight:700;color:var(--ink);margin-bottom:8px}
.tpl-sp2__sub{margin-top:12px;font-size:20px;font-weight:700;color:var(--ink)}
.tpl-sp2__p{margin-top:24px;color:var(--gray)}
.tpl-sp2__circles{display:flex;justify-content:center;margin-top:50px}
.tpl-sp2__circles li{width:200px;height:200px;border-radius:50%;background:var(--navy);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:18px;font-weight:700;line-height:1.4;padding:24px;margin:0 -8px}
.tpl-sp2__circles li:nth-child(2){background:var(--blue)}
.tpl-sp2__circles li:nth-child(3){background:#102c4c}
.tpl-sp2__circles small{font-size:11px;font-weight:600;color:#dbe6f1;margin-bottom:6px}
.tpl-sp3{position:relative;max-width:900px;margin:0 auto}
.tpl-sp3 img{width:100%;aspect-ratio:16/9;object-fit:cover}
.tpl-sp3__word{margin-top:-0.55em;text-align:center;font-size:clamp(44px,6vw,90px);font-weight:300;color:#d6dde5;line-height:1}
.tpl-sp4{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);padding-top:40px}
.tpl-sp4__l{padding-right:40px;border-right:1px solid var(--line)}
.tpl-sp4__l p{margin-top:16px;color:var(--gray)}
.tpl-sp4__r{padding-left:40px}
.tpl-sp4__list{columns:2;margin-top:20px}
.tpl-sp4__list li{font-size:14px;color:#6b7480;padding:3px 0;break-inside:avoid}
.tpl-sp4__pics{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-top:40px}
.tpl-sp4__pics img{width:100%;aspect-ratio:1;object-fit:cover}
.tpl-sp4__pics li:nth-child(even){margin-top:30px}
.tpl-spnum{background:var(--deep);color:#fff;padding:100px 0;margin-top:80px}
.tpl-spnum__t{text-align:center;font-size:20px;font-weight:700;color:#9cc8f2;margin-bottom:50px}
.tpl-spnum__grid{display:grid;grid-template-columns:1fr 1fr;gap:60px}
.tpl-spnum__y{font-size:13px;color:#dbe6f1}
.tpl-spnum__h{margin-top:8px;font-size:clamp(24px,2.2vw,30px);font-weight:700}
.tpl-spnum__p{margin-top:16px;font-size:15px;color:#e6eef7}
.tpl-spnum__list li{display:flex;justify-content:space-between;align-items:center;padding:20px 0;border-bottom:1px solid rgba(255,255,255,.25)}
.tpl-spnum__list span{display:flex;align-items:center;gap:10px;font-size:15px}
.tpl-spnum__list b{font-size:30px}
.tpl-spnum__list small{font-size:13px;margin-left:4px}
.tpl-ctabs__tabs,.tpl-btab__tabs{display:flex;justify-content:center;border-bottom:1px solid var(--line);margin-bottom:50px;overflow-x:auto}
.tpl-ctabs__tabs button,.tpl-btab__tabs button{position:relative;flex:0 0 auto;min-width:160px;height:54px;padding:0 20px;font-size:17px;font-weight:700;color:#6b7480;white-space:nowrap}
.tpl-ctabs__tabs button::after,.tpl-btab__tabs button::after{content:'';position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--accent);transform:scaleX(0);transition:transform .3s var(--ease)}
.tpl-ctabs__tabs button[aria-selected="true"],.tpl-btab__tabs button[aria-selected="true"]{color:var(--accent)}
.tpl-ctabs__tabs button[aria-selected="true"]::after,.tpl-btab__tabs button[aria-selected="true"]::after{transform:scaleX(1)}
.tpl-ctabs__panel{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center}
.tpl-ctabs__panel img{width:100%;aspect-ratio:5/3;object-fit:cover}
.tpl-ctabs__panel h3{font-size:28px;color:var(--ink)}
.tpl-ctabs__panel p{margin:14px 0 30px;color:var(--gray)}

/* ----- 의료진 ----- */
.tpl-dband{position:relative;background:var(--deep);color:#fff;text-align:center;padding:100px 0 0;overflow:hidden}
.tpl-dband__h{font-size:clamp(26px,2.5vw,36px);font-weight:700;line-height:1.4}
.tpl-dband__h em{font-style:normal;color:#b8d8f6}
.tpl-dband__s{margin-top:24px;font-size:19px;font-weight:700}
.tpl-dband__p{max-width:760px;margin:14px auto 0;font-size:15px;color:#e6eef7}
.tpl-dband__pic{position:relative;z-index:1;max-width:820px;margin:50px auto 0}
.tpl-dband__pic img{width:100%;aspect-ratio:16/8;object-fit:cover}
.tpl-dband__word{position:absolute;left:0;right:0;bottom:30px;font-size:clamp(36px,5vw,72px);font-weight:300;white-space:nowrap;color:rgba(255,255,255,.22);z-index:2}
.tpl-dlead{text-align:center;max-width:700px;margin:0 auto}
.tpl-dlead img{width:min(420px,100%);margin:0 auto 40px;aspect-ratio:4/3;object-fit:cover}
.tpl-dlead p{margin:14px 0 30px;color:var(--gray)}
.tpl-drows{max-width:980px;margin:0 auto}
.tpl-drow{display:grid;grid-template-columns:300px 1fr;gap:56px;padding:50px 0;border-bottom:1px solid var(--line)}
.tpl-drow>img{width:100%;aspect-ratio:3/4;object-fit:cover;background:#eef1f4}
.tpl-drow h3{margin-top:12px;font-size:26px;color:var(--ink)}
.tpl-drow h3 small{font-size:17px;color:var(--gray);font-weight:600}
.tpl-drow__field{margin-top:6px;font-size:15px;color:var(--accent);font-weight:600}
.tpl-drow h4{margin:26px 0 10px;font-size:16px;color:var(--ink)}
.tpl-drow__more summary{display:inline-flex;align-items:center;gap:4px;margin-top:14px;font-size:14px;font-weight:600;color:var(--gray);cursor:pointer;list-style:none}
.tpl-drow__more summary::-webkit-details-marker{display:none}
.tpl-drow__more summary .tpl-ico{width:16px;height:16px}
.tpl-drow__more ul{margin-top:10px}

/* ----- 진료안내 ----- */
.tpl-hours__head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}
.tpl-hours__head a{display:flex;align-items:center;gap:8px;color:var(--navy);font-weight:700}
.tpl-hours__head a span{font-size:15px}
.tpl-hours__head a b{font-size:24px;letter-spacing:0;margin-left:8px}
.tpl-hours__list{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.tpl-hours__list li{background:var(--ice);border-radius:6px;padding:30px 14px 26px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px}
.tpl-hours__list .tpl-ico{width:34px;height:34px;color:#8fa6bf}
.tpl-hours__list strong{font-size:20px;color:var(--ink);letter-spacing:0}
.tpl-hours__list small{font-size:13px;color:var(--gray)}
.tpl-schs{margin-top:60px}
.tpl-sch{display:grid;grid-template-columns:180px 1fr;gap:40px;padding:36px 0;border-bottom:1px solid var(--line)}
.tpl-sch>img{width:100%;aspect-ratio:3/4;object-fit:cover;background:#eef1f4}
.tpl-sch h4{margin:10px 0 16px;font-size:22px;color:var(--ink)}
.tpl-sch h4 small{font-size:15px;color:var(--gray)}
.tpl-sch>div{min-width:0}
.tpl-sch__t{overflow-x:auto}
.tpl-sch table{width:100%;min-width:520px;text-align:center;font-size:14px;border:1px solid var(--line);border-radius:8px}
.tpl-sch th,.tpl-sch td{padding:10px 6px;border-bottom:1px solid var(--line)}
.tpl-sch thead th{background:var(--soft);font-weight:700;color:var(--ink)}
.tpl-sch tbody th{font-weight:700;color:var(--ink)}
.tpl-st{display:inline-block;padding:2px 10px;border-radius:10px;font-weight:600;font-size:13px}
.tpl-st--on{color:var(--accent)}
.tpl-st--op{color:#fff;background:var(--navy)}
.tpl-st--off{color:#5d6670;background:#e7eaee}

/* ----- 장비 ----- */
.tpl-eqgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px 16px}
.tpl-eqcard__pic{display:block;background:#f0f1f3;overflow:hidden}
.tpl-eqcard__pic img{width:100%;aspect-ratio:1;object-fit:cover}
.tpl-eqgrid strong{display:block;margin-top:10px;font-size:15px;color:var(--ink)}

/* ----- 게시판 공통 ----- */
.tpl-btop{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px;font-size:15px}
.tpl-btop b{color:var(--accent)}
.tpl-search{display:flex;align-items:center;border-bottom:1px solid #9aa3ad;width:min(280px,60%)}
.tpl-search input{flex:1;min-width:0;height:40px;border:0;background:none;font-size:14px;padding:0 4px}
.tpl-search button{width:36px;height:40px;display:grid;place-items:center}
.tpl-search .tpl-ico{width:18px;height:18px}
.tpl-paging{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;margin-top:50px}
.tpl-paging a{min-width:34px;height:34px;display:grid;place-items:center;border-radius:50%;font-size:14px;color:var(--text)}
.tpl-paging a[aria-current]{background:var(--navy);color:#fff;font-weight:700}
.tpl-paging .is-arrow .tpl-ico{width:16px;height:16px}
.tpl-ggrid{display:grid;grid-template-columns:repeat(3,1fr);gap:40px 24px;border-top:2px solid var(--ink);padding-top:30px}
.tpl-gcard__pic{display:block;overflow:hidden}
.tpl-gcard__pic img{width:100%;aspect-ratio:16/10;object-fit:cover;transition:transform .6s var(--ease)}
.tpl-gcard:hover img{transform:scale(1.04)}
.tpl-gcard strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:14px;font-size:17px;color:var(--ink);line-height:1.5}
.tpl-gcard time{display:block;margin-top:8px;font-size:13px;color:var(--gray)}
.tpl-blist{border-top:2px solid var(--ink)}
.tpl-blist a{display:flex;align-items:center;gap:20px;min-height:56px;padding:10px 14px;border-bottom:1px solid var(--line);font-size:15px}
.tpl-blist a:hover strong{color:var(--accent)}
.tpl-blist__n{flex:none;width:60px;text-align:center;color:var(--gray);font-size:13px}
.tpl-blist strong{flex:1;min-width:0;font-weight:600;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:flex;align-items:center;gap:6px}
.tpl-blist strong .tpl-ico{width:15px;height:15px;color:var(--gray)}
.tpl-blist time,.tpl-blist__w{flex:none;font-size:13px;color:var(--gray)}
.tpl-blist__c{flex:none;color:var(--navy);font-weight:600;font-size:14px}
.tpl-state{flex:none;padding:2px 10px;border-radius:12px;background:#e65c2e;color:#fff;font-size:12px;font-weight:700}
.tpl-state--wait{background:#6b7480}
.tpl-qnote{margin-bottom:50px}
.tpl-qnote__t{font-size:19px;font-weight:700;color:var(--ink);display:flex;align-items:center;gap:8px}
.tpl-qnote p+p{margin-top:8px;color:var(--gray);font-size:15px}
.tpl-qnote .tpl-more{margin-top:22px;height:44px}
.tpl-bwrite{display:flex;justify-content:flex-end;margin-top:24px}
.tpl-rnote{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:40px;font-size:15px;color:var(--gray)}
.tpl-rnote p{display:flex;align-items:center;gap:8px}
.tpl-rgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:30px 20px}
.tpl-rcard{display:block}
.tpl-rcard__pic{position:relative;display:block;overflow:hidden;background:var(--soft)}
.tpl-rcard__pic img{width:100%;aspect-ratio:600/760;object-fit:cover}
.tpl-rcard__lock{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:6px;padding:8px 14px;border-radius:18px;background:rgba(14,58,102,.88);color:#fff;font-size:13px;font-weight:700;white-space:nowrap}
.tpl-rcard__lock .tpl-ico{width:15px;height:15px}
.tpl-rcard .tpl-badge{margin-top:14px;height:22px;font-size:11px}
.tpl-rcard strong{display:block;margin-top:8px;font-size:15px;color:var(--ink)}
.tpl-rcard small{font-size:13px;color:var(--gray)}

/* ----- 오시는길 ----- */
.tpl-loc1{display:grid;grid-template-columns:7fr 5fr;gap:60px;align-items:center;margin-bottom:80px}
.tpl-loc1 p{margin-top:16px;color:var(--gray)}
.tpl-loc1>img{width:100%;aspect-ratio:4/3;object-fit:cover}
.tpl-loc2{margin-top:80px}
.tpl-loc2 .tpl-sh4{margin-bottom:20px}
.tpl-map{position:relative;height:460px;overflow:hidden;background:var(--soft)}
.tpl-map iframe{position:absolute;top:0;left:-420px;width:calc(100% + 420px);height:100%;max-width:none;border:0}
.tpl-map iframe.is-parking{position:fixed;top:0;left:0;width:var(--pw);height:var(--ph);opacity:0;pointer-events:none;z-index:-1}
.tpl-loc2__addr{margin-top:20px;font-size:20px;font-weight:700;color:var(--ink);line-height:1.5}
.tpl-loc2__btns a{display:inline-flex;align-items:center;gap:6px;margin-top:14px;height:34px;padding:0 14px;border:1px solid var(--line);border-radius:17px;font-size:13px;font-weight:600}
.tpl-loc2__btns .tpl-ico{width:15px;height:15px}
.tpl-loc3{margin-top:80px}
.tpl-loc3 ul{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;margin-top:24px}
.tpl-loc3 li>.tpl-ico{width:48px;height:48px;padding:12px;border-radius:50%;background:var(--ice);color:var(--navy)}
.tpl-loc3 strong{display:block;margin-top:14px;font-size:17px;color:var(--ink)}
.tpl-loc3 p{margin-top:8px;font-size:14px;color:var(--gray);line-height:1.7}
.tpl-chip{display:inline-block;padding:1px 10px;border-radius:10px;background:#2f8a4b;color:#fff;font-size:12px;font-weight:700;margin-right:4px}
.tpl-chip--b{background:var(--deep)}

/* ----- 제증명 · 비급여 ----- */
.tpl-certbr{margin-top:30px;border-top:1px solid var(--ink)}
.tpl-certbr a{display:flex;align-items:center;gap:14px;padding:18px 4px;border-bottom:1px solid var(--line)}
.tpl-certbr strong{font-size:19px;color:var(--ink)}
.tpl-certbr span{flex:1;font-size:13px;color:var(--gray)}
.tpl-certbr .tpl-ico{width:30px;height:30px;padding:6px;border-radius:50%;border:1px solid var(--line)}
.tpl-certform{display:grid;grid-template-columns:4fr 8fr;gap:40px}
.tpl-certform .tpl-infobar{margin-top:0}
.tpl-certform>div>p{margin-top:14px;color:var(--gray);font-size:15px}
.tpl-certform__btns{display:flex;gap:10px;flex-wrap:wrap}
.tpl-certform__btns a{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 18px;border:1px solid var(--ink);border-radius:20px;font-size:14px;font-weight:600;color:var(--ink)}
.tpl-certform__btns .tpl-ico{width:16px;height:16px}
.tpl-certform .tpl-sh4{margin-top:40px}
.tpl-numlist{margin-top:16px}
.tpl-numlist li{display:flex;align-items:center;gap:14px;padding:14px 16px;background:var(--soft);border-radius:6px;font-size:15px}
.tpl-numlist li+li{margin-top:8px}
.tpl-numlist b{width:26px;height:26px;border-radius:50%;background:var(--navy);color:#fff;display:grid;place-items:center;font-size:13px;flex:none}
.tpl-ctable,.tpl-ptable{overflow-x:auto;margin-top:30px}
.tpl-ctable table{width:100%;min-width:560px;font-size:15px}
.tpl-ctable thead th{background:var(--navy);color:#fff;padding:14px;border-radius:0}
.tpl-ctable thead th:last-child{background:var(--blue)}
.tpl-ctable tbody th{width:200px;background:var(--soft);color:var(--ink);padding:20px;border-bottom:1px solid var(--line)}
.tpl-ctable td{padding:20px 30px;border-bottom:1px solid var(--line)}
.tpl-ctable thead small{font-size:12px;font-weight:400;color:#e6eef7}
.tpl-ptable table{width:100%;min-width:720px;font-size:14px;text-align:center}
.tpl-ptable thead th{background:#dcebf6;color:var(--ink);padding:12px 8px;font-weight:700}
.tpl-ptable td{padding:11px 8px;border-bottom:1px solid var(--line)}
.tpl-ptable__n{text-align:left}
.tpl-ptable__v{text-align:right;padding-right:20px!important;letter-spacing:0}

/* ----- 회원 · 약관 ----- */
.tpl-member{max-width:460px;margin:0 auto;text-align:center}
.tpl-member--wide{max-width:640px}
.tpl-form{margin-top:36px;text-align:left}
.tpl-field{display:block;margin-bottom:16px}
.tpl-field span{display:block;font-size:14px;font-weight:700;color:var(--ink);margin-bottom:6px}
.tpl-field input{width:100%;height:50px;border:1px solid #c9d0d8;border-radius:6px;padding:0 14px;font-size:16px;background:#fff}
.tpl-check{display:flex;align-items:center;gap:8px;font-size:15px;color:var(--text);margin:10px 0}
.tpl-check input{width:18px;height:18px;accent-color:var(--accent)}
.tpl-check a{margin-left:auto;font-size:13px;text-decoration:underline;color:var(--gray)}
.tpl-agree{border:1px solid var(--line);border-radius:8px;padding:16px 20px;margin:0 0 24px}
.tpl-agree legend{font-size:15px;font-weight:700;color:var(--ink);padding:0 6px}
.tpl-form__submit{width:100%;height:54px;margin-top:16px;border-radius:6px;background:var(--navy);color:#fff;font-size:17px;font-weight:700}
.tpl-form__submit:hover{background:var(--accent)}
.tpl-member__links{display:flex;justify-content:center;gap:24px;margin-top:20px;font-size:14px;color:var(--gray)}
.tpl-member__links a:hover{color:var(--accent)}
.tpl-form .tpl-small{text-align:center}
.tpl-policy{max-width:900px;margin:0 auto}
.tpl-policy h3{font-size:19px;color:var(--ink);margin-top:34px}
.tpl-policy h3:first-child{margin-top:0}
.tpl-policy p{margin-top:10px;color:var(--text);font-size:16px}

/* ===== 서브 푸터 앞 상담 띠(옅은 바탕) ===== */
.tpl-sconsult{background:var(--ice);padding:60px 0 50px}

/* ===== 반응형 ===== */
@media (max-width:1199px){.tpl-core{grid-template-columns:1fr}.tpl-core li{aspect-ratio:21/8}}
@media (max-width:1024px){
  .tpl-intro2__grid,.tpl-intro3,.tpl-sym,.tpl-cband__in,.tpl-loc1,.tpl-spnum__grid,.tpl-certform{grid-template-columns:1fr;gap:36px}
  .tpl-exams,.tpl-care,.tpl-manage,.tpl-mcards,.tpl-hours__list,.tpl-rgrid,.tpl-eqgrid,.tpl-eqrow{grid-template-columns:repeat(2,1fr)}
  .tpl-feats{grid-template-columns:repeat(3,1fr)}
  .tpl-ggrid{grid-template-columns:repeat(2,1fr)}
  .tpl-cband__pic img{aspect-ratio:16/9}
  .tpl-drow{grid-template-columns:220px 1fr;gap:30px}
  .tpl-sp4{grid-template-columns:1fr}
  .tpl-sp4__l{border-right:0;padding:0 0 30px}
  .tpl-sp4__r{padding:0}
}
@media (max-width:768px){
  .tpl-svis{height:300px}
  .tpl-svis__desc{font-size:15px}
  .tpl-snb__tabs{gap:22px}
  .tpl-snb__tabs a{font-size:15px}
  .tpl-ssec{padding:64px 0}
  .tpl-ssec--soft,.tpl-ssec+.tpl-ssec--soft{padding:64px 0;margin-top:50px}
  .tpl-ssec--soft+.tpl-ssec{padding-top:64px}
  .tpl-types,.tpl-treat,.tpl-ctiles,.tpl-steps,.tpl-core,.tpl-loc3 ul,.tpl-ggrid{grid-template-columns:1fr}
  .tpl-exams,.tpl-care,.tpl-manage,.tpl-mcards,.tpl-hours__list,.tpl-rgrid,.tpl-eqgrid,.tpl-eqrow,.tpl-feats{grid-template-columns:repeat(2,1fr)}
  .tpl-std li{grid-template-columns:1fr;gap:16px}
  .tpl-flow{grid-template-columns:1fr}
  .tpl-cband,.tpl-flowsec,.tpl-spnum{padding:64px 0}
  .tpl-cband__circle{width:150px;height:150px;margin:24px 0}
  .tpl-cband__circle b{font-size:34px}
  .tpl-drow,.tpl-sch{grid-template-columns:1fr;gap:20px}
  .tpl-drow>img{max-width:260px}
  .tpl-sch>img{max-width:140px}
  .tpl-sp2__circles{flex-wrap:wrap;gap:8px}
  .tpl-sp2__circles li{width:150px;height:150px;font-size:15px;margin:0}
  .tpl-sp4__list{columns:1}
  .tpl-sp4__pics{grid-template-columns:repeat(3,1fr)}
  .tpl-sp4__pics li:nth-child(n+4){display:none}
  .tpl-ctabs__panel{grid-template-columns:1fr;gap:20px}
  .tpl-ctabs__tabs,.tpl-btab__tabs{justify-content:flex-start;margin-bottom:30px}
  .tpl-ctabs__tabs button,.tpl-btab__tabs button{min-width:0;font-size:15px;padding:0 14px}
  .tpl-blist a{flex-wrap:wrap;gap:6px 12px}
  .tpl-blist__n{width:auto}
  .tpl-blist strong{flex-basis:100%;order:-1}
  .tpl-rnote,.tpl-btop{flex-direction:column;align-items:flex-start}
  .tpl-search{width:100%}
  .tpl-map{height:340px}
  .tpl-paging{gap:2px}
  .tpl-paging a{min-width:30px;height:30px}
  .tpl-hours__head{flex-direction:column;align-items:flex-start;gap:8px}
  .tpl-dband__word{bottom:10px}
  .tpl-acc--round details p{padding:0 20px 18px 30px}
  .tpl-intro2__fig{width:50%}
}


/* ==========================================================================
   연결부 — 그누보드로 옮기며 덧붙인 것입니다. 위 원본 CSS 는 고치지 않고 여기서만 더하거나 되돌립니다.
   ========================================================================== */

/* ---------- 로고 : 올웹 로고(지침 3-1)입니다. 원본 그림 자리와 같은 폭(머리글 161 · 1199px 이하 136px)이고, 흰 머리글 · 드로어는 진한 글자 판, 짙은 푸터는 흰 글자 판입니다 ---------- */
.tpl-logo { --accent: var(--blue); color: var(--ink); }
.tpl-logo .logo-svg, .tpl-logo .logo-img { display: block; width: 161px; height: auto; }
.tpl-logo .logo-img { max-height: 40px; object-fit: contain; object-position: left center; }
.tpl-drawer__head .tpl-logo .logo-svg, .tpl-drawer__head .tpl-logo .logo-img { width: 136px; }
.tpl-footer__logo .tpl-logo--foot { --accent: #8fb9e0; display: block; color: #fff; }
.tpl-footer__logo .logo-svg, .tpl-footer__logo .logo-img { width: 161px; }
@media (max-width: 1199px) { .tpl-header .tpl-logo .logo-svg, .tpl-header .tpl-logo .logo-img { width: 136px; } }

/* ---------- 숨은 칸(자동 프로그램만 채우는 꿀통 칸) ---------- */
.tpl-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 빠른 상담 폼 : 고르는 칸의 첫 보기(질환명 · 내원 지점)는 빈 값이라 원본처럼 이름표 글자로 보입니다 ---------- */
.tpl-qform select:invalid, .tpl-qform select option[value=""] { color: var(--gray); }

/* ---------- 오른쪽 빠른 메뉴(.tpl-side) : 콘솔 「디자인 > 퀵메뉴」 의 칸입니다. 맨 위에서는 칸이 숨고 내려가면 나타납니다(지침 3-4).
   짙은 남색 띠 자체와 그 위 메뉴 단추는 원본처럼 늘 있습니다. 숨어 있을 때는 키보드 · 화면 낭독기도 건너뛰게 visibility 를 함께 끕니다 ---------- */
.tpl-side ul, .tpl-side__top { visibility: hidden; opacity: 0; transition: opacity .35s, visibility 0s linear .35s, background .25s; }
body:not(.is-top) .tpl-side ul, body:not(.is-top) .tpl-side__top { visibility: visible; opacity: 1; transition-delay: 0s; }
.tpl-side a span { max-width: 72px; word-break: keep-all; overflow-wrap: anywhere; }
.tpl-side a:focus-visible { background: rgba(255, 255, 255, .16); outline-offset: -3px; }
.tpl-side .tpl-side__img { width: 24px; height: 24px; flex: none; object-fit: contain; }
@media (max-width: 1279px) { .tpl-side .tpl-side__img { width: 20px; height: 20px; } }
@media (prefers-reduced-motion: reduce) { .tpl-side ul, .tpl-side__top { transition: none; } }

/* ---------- 지도 : 카카오맵(allweb_tpl_map_html)이 지점마다 .biz-map 에 그립니다. 키가 없을 때의 iframe 은 원본 .tpl-map iframe 이 왼쪽 검색 패널을 잘라 냅니다.
   휴대폰은 카카오가 iframe 을 막아 「카카오맵에서 보기」 단추만 가운데에 섭니다 ---------- */
.tpl-map .biz-map { position: absolute; inset: 0; overflow: hidden; }
.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: 48px; padding: 0 24px; border-radius: 24px; background: var(--navy); font-size: 15px; font-weight: 600; color: #fff; white-space: nowrap; transition: background .3s; }
.loc-map-go:hover, .loc-map-go:focus-visible { background: var(--accent); }

/* ---------- 게시판 목록 : 원본 검색 줄 · 목록 · 카드를 그대로 쓰고, 빈 목록 · 질문 답 · 후기(회원)만 덧붙입니다 ---------- */
.tpl-board__empty { padding: 56px 0; border-bottom: 1px solid var(--line); text-align: center; color: var(--gray); }
.tpl-blist + .tpl-board__empty, .tpl-ggrid + .tpl-board__empty, .tpl-rgrid + .tpl-board__empty { border-top: 0; }
.tpl-blist strong .tpl-sr + .tpl-ico { margin-left: 2px; }
.tpl-rcard.is-open .tpl-rcard__pic img { filter: none; }
.tpl-acc__a { padding: 0 30px 20px 64px; color: var(--gray); font-size: 16px; }
.tpl-acc__a > * + * { margin-top: .6em; }
.tpl-acc--round details .tpl-acc__a p { padding: 0; }
.tpl-acc__admin a { font-size: 14px; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 768px) { .tpl-acc__a { padding: 0 20px 18px 30px; font-size: 15px; } }

/* ---------- 글 보기 · 쓰기 · 댓글 : 원본에 없는 화면이라 원본 게시판의 말씨(2px 먹색 윗선 · 회색 선 · 남색 단추 · 둥근 꼬리표)로 그렸습니다 ---------- */
.tpl-darkbtn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 26px; border: 0; border-radius: 6px; background: var(--navy); font-size: 16px; font-weight: 700; color: #fff; cursor: pointer; transition: background .3s; }
.tpl-darkbtn:hover, .tpl-darkbtn:focus-visible { background: var(--accent); }
.tpl-linebtn { display: inline-flex; align-items: center; height: 48px; padding: 0 24px; border: 1px solid #c9d0d8; border-radius: 6px; background: #fff; font-size: 15px; font-weight: 600; color: var(--text); cursor: pointer; transition: border-color .3s, color .3s; }
.tpl-linebtn:hover, .tpl-linebtn:focus-visible { border-color: var(--navy); color: var(--navy); }
.tpl-view { border-top: 2px solid var(--ink); }
.tpl-view__head { padding: 30px 14px 24px; border-bottom: 1px solid var(--line); }
.tpl-view__title { margin-top: 10px; font-size: clamp(22px, 2vw, 30px); font-weight: 700; line-height: 1.4; letter-spacing: -.04em; color: var(--ink); }
.tpl-view__meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 12px; font-size: 14px; color: var(--gray); }
.tpl-view__meta span + span::before { content: ""; display: inline-block; width: 1px; height: 11px; margin-right: 18px; background: var(--line); vertical-align: -1px; }
.tpl-view__body { padding: 40px 14px 48px; border-bottom: 1px solid var(--line); line-height: 1.85; }
.tpl-view__body > * + * { margin-top: 1em; }
.tpl-view__body ul, .tpl-view__body ol { padding-left: 1.3em; }
.tpl-view__body ul { list-style: disc; }
.tpl-view__body ol { list-style: decimal; }
.tpl-view__body img { max-width: 100%; height: auto; }
.tpl-view__body > p > img { display: block; width: 100%; max-width: 960px; border-radius: 8px; }
.tpl-view__body iframe { max-width: 100%; }
.tpl-view__body a:not(.tpl-more) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.tpl-files { display: grid; gap: 8px; padding: 18px 14px; border-bottom: 1px solid var(--line); }
.tpl-files a { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.tpl-files a:hover { color: var(--accent); }
.tpl-files span { color: var(--gray); font-size: 13px; }
.tpl-prevnext { margin-top: 28px; border-top: 1px solid var(--line); }
.tpl-prevnext a { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; padding: 18px 14px; border-bottom: 1px solid var(--line); transition: background .3s; }
.tpl-prevnext a:hover { background: var(--soft); }
.tpl-prevnext span { font-size: 14px; color: var(--gray); }
.tpl-prevnext strong { font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tpl-view__btns { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.tpl-view__btns > span { display: flex; flex-wrap: wrap; gap: 10px; margin-left: auto; }
.tpl-cmt { margin-top: 48px; }
.tpl-cmt__tit { font-size: 20px; font-weight: 700; color: var(--ink); }
.tpl-cmt__tit b { color: var(--accent); }
.tpl-cmt__list { margin-top: 14px; border-top: 2px solid var(--ink); }
.tpl-cmt__list li { padding: 18px 14px; border-bottom: 1px solid var(--line); font-size: 16px; }
.tpl-cmt__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; color: var(--gray); }
.tpl-cmt__meta strong { color: var(--ink); }
.tpl-cmt__meta a { text-decoration: underline; text-underline-offset: 3px; }
.tpl-cmt__form { margin-top: 20px; padding: 26px 28px; border-radius: 8px; background: var(--ice); }
.tpl-cmt__form .tpl-view__btns { margin-top: 8px; }
.tpl-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
/* 글쓰기 · 회원 폼 : 원본 폼(.tpl-form · .tpl-field)을 그대로 쓰고, 고르는 칸 · 글 상자 · 여러 칸 · 첨부 · 옵션 칸을 원본 입력 칸 모양으로 덧붙입니다 */
.tpl-field > span label { font: inherit; color: inherit; }
.tpl-field > span em { font-style: normal; font-size: 13px; color: var(--accent); }
.tpl-field select, .tpl-field textarea { width: 100%; border: 1px solid #c9d0d8; border-radius: 6px; padding: 0 14px; font-size: 16px; background: #fff; }
.tpl-field select { height: 50px; }
.tpl-field textarea { min-height: 220px; padding: 12px 14px; line-height: 1.7; }
.tpl-field__in > * + * { margin-top: 8px; }
.tpl-field input[type="checkbox"], .tpl-field input[type="radio"] { width: auto; height: auto; padding: 0; }
.tpl-field input[type="file"] { height: auto; padding: 12px 14px; }
.tpl-field input[readonly] { background: var(--soft); }
.tpl-form__hint { margin-top: 6px; font-size: 13px; color: var(--gray); }
.tpl-form__agree { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.tpl-form__agree label { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.tpl-form__agree input { width: 18px !important; height: 18px !important; accent-color: var(--accent); }
.tpl-agreebox { margin: 8px 0 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; color: var(--gray); }
.tpl-agreebox h3 { margin-bottom: 6px; font-size: 15px; color: var(--ink); }
.tpl-agreebox label { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 10px; color: var(--text); }
.tpl-agreebox input { width: 18px; height: 18px; accent-color: var(--accent); }
.tpl-agreebox a { text-decoration: underline; }
.tpl-check input { flex: none; }
.tpl-consent { max-height: 220px; overflow-y: auto; margin-bottom: 20px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; color: var(--gray); }
.tpl-consent strong { display: block; margin-bottom: 6px; font-size: 15px; color: var(--ink); }
/* 자동등록방지 : 리셋의 img{display:block} 때문에 그림 · 입력칸 · 단추가 두 줄이 됩니다(지침 3-2) */
#captcha #captcha_img { display: inline-block; vertical-align: middle; }
#captcha #captcha_key { width: 140px; height: 50px; padding: 0 14px; border: 1px solid #c9d0d8; border-radius: 6px; background: #fff; vertical-align: middle; font-size: 16px; }
#captcha button { vertical-align: middle; }
#captcha #captcha_info { display: block; margin-top: 6px; font-size: 13px; color: var(--gray); }
@media (max-width: 768px) {
  .tpl-prevnext a { grid-template-columns: 64px minmax(0, 1fr); }
  .tpl-cmt__form { padding: 20px 18px; }
  .tpl-form__row { grid-template-columns: 1fr; }
}

/* ---------- 회원 화면 : 로그인 · 비밀번호 확인은 원본 login.html 의 좁은 상자(.tpl-member), 회원가입 · 정보 입력 · 가입 완료는 다른 본문과 같은 전체 폭입니다(지침 3-2) ---------- */
.tpl-member--wide { max-width: none; }
.tpl-member--wide .tpl-form { text-align: left; }
.tpl-member--find { max-width: 960px; }
.tpl-member--find .tpl-find { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; margin-top: 36px; text-align: left; }
.tpl-find .tpl-form { margin-top: 0; padding: 28px; border: 1px solid var(--line); border-radius: 8px; }
.tpl-form__title { margin-bottom: 6px; font-size: 20px; font-weight: 700; color: var(--ink); }
.tpl-find__desc { margin-bottom: 22px; font-size: 15px; color: var(--gray); }
.tpl-find__captcha { margin-top: 24px; text-align: center; }
.mb-cert { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; }
.tpl-field__in .mb-cert { justify-content: flex-start; margin-top: 0; }
.mb-addr { display: grid; gap: 8px; }
.mb-addr__zip { display: flex; gap: 8px; }
.mb-addr__zip input { max-width: 200px; }
.mb-textarea { min-height: 110px !important; }
.mb-consent { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.mb-consent + .mb-consent, .mb-consent__sub + .mb-consent { margin-top: 10px; }
.mb-consent__more { padding: 0; border: 0; background: none; font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.mb-consent__sub { display: flex; flex-wrap: wrap; gap: 8px 24px; 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; }
.tpl-done__info { margin-top: 36px; border-top: 2px solid var(--ink); text-align: left; }
.tpl-done__info > div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 14px; border-bottom: 1px solid var(--line); font-size: 16px; }
.tpl-done__info dt { color: var(--gray); }
a.tpl-form__submit { display: flex; align-items: center; justify-content: center; }
@media (max-width: 768px) { .tpl-member--find .tpl-find { grid-template-columns: 1fr; } }

/* ---------- 그누보드 화면(전체 검색 · 새 글 · 기본 스킨)을 원본 본문 폭 안에 넣습니다 ---------- */
.allweb-gnu { max-width: calc(var(--wrap) + 80px); margin: 0 auto; padding: 80px 40px; }
.allweb-gnu .btn_submit, .allweb-gnu .btn_b01, .allweb-gnu .btn_b02 { border-radius: 6px; background: var(--navy); color: #fff; }
@media (max-width: 1024px) { .allweb-gnu { padding: 60px 24px; } }

/* ---------- 팝업 : 흰 판 · 8px 모서리 · 위 남색 머리띠 안에 흰 「YUDAM NOTICE」, 둥근 테두리 View More 단추, 옅은 하늘색 아래 띠(올리면 남색) ---------- */
.tpl-pop__item { border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 10px 30px rgba(14, 58, 102, .18); }
.tpl-pop__body { padding: 28px 30px 28px; }
.tpl-pop__item::before { content: "YUDAM NOTICE"; display: block; padding: 12px 30px; background: var(--navy); font-size: 12px; font-weight: 600; letter-spacing: .22em; color: #fff; }
.tpl-pop__title { margin: 0 0 12px; font-size: 21px; font-weight: 700; line-height: 1.4; letter-spacing: -.04em; color: var(--ink); }
.tpl-pop__text { margin: 0; font-size: 16px; line-height: 1.75; color: var(--gray); }
.tpl-pop__more { display: inline-flex; align-items: center; height: 44px; margin-top: 20px; padding: 0 22px; border: 1px solid var(--navy); border-radius: 22px; font-size: 15px; font-weight: 600; color: var(--navy); transition: background .3s, color .3s; }
.tpl-pop__more:hover, .tpl-pop__more:focus-visible { background: var(--navy); color: #fff; }
.tpl-pop__more:first-child { margin-top: 0; }
.tpl-pop__foot { background: var(--ice); }
.tpl-pop__foot button { min-height: 48px; padding: 0 12px; border: 0; background: transparent; font-size: 14px; color: var(--gray); transition: background .25s, color .25s; }
.tpl-pop__foot button + button { border-left: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.tpl-pop__foot button:hover, .tpl-pop__foot button:focus-visible { background: var(--navy); color: #fff; }
