/* ==========================================================================
   올웹 병원 템플릿 5 — 원본 00_병원템플릿샘플용/05_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{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}
[hidden]{display:none!important}

/* ===== common.css ===== */
/* ==========================================================================
   common.css — 글꼴 · 색 · 헤더 · 1차별 드롭다운(B) · 드로어 · 푸터 · 빠른 메뉴 · 빠른 상담 창 · 등장 효과
   참고 샘플 : example/zeroclinic0_com.png (흰 헤더 · 먹색 상자 · 회청 버튼 · 짙은 회색 푸터)
   ========================================================================== */
@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:500;font-display:swap;src:url('../fonts/Pretendard-Medium.subset.woff2') format('woff2')}
@font-face{font-family:'Pretendard';font-weight:700;font-display:swap;src:url('../fonts/Pretendard-Bold.subset.woff2') format('woff2')}
@font-face{font-family:'Pretendard';font-weight:800;font-display:swap;src:url('../fonts/Pretendard-ExtraBold.subset.woff2') format('woff2')}
@font-face{font-family:'Jost';font-weight:300 700;font-display:swap;src:url('../fonts/Jost-Variable.subset.woff2') format('woff2')}
@font-face{font-family:'Nanum Pen Script';font-weight:400;font-display:swap;src:url('../fonts/NanumPenScript-Regular.subset.woff2') format('woff2')}

:root{
  --ink:#232629;          /* 본문 · 제목 */
  --mute:#5f6368;         /* 흰 바탕 위 6.1:1 */
  --soft:#8a8f94;         /* 큰 글자 보조 — 흰 바탕 위 3.4:1(24px 이상만) */
  --teal:#2e5868;         /* 버튼 · 빠른 상담 — 흰 글자 7.6:1 */
  --char:#262829;         /* 먹색 상자 */
  --foot:#2b3237;         /* 푸터 */
  --line:#e2e4e6;
  --gray:#f3f4f5;
  --white:#fff;

  --fs-body:17px;
  --max:1500px;
  --gut:clamp(20px,4vw,60px);
  --sec:clamp(90px,8.6vw,150px);
  --header-h:100px;
  --en:'Jost','Pretendard',sans-serif;
  --pen:'Nanum Pen Script','Pretendard',sans-serif;
  --ease:cubic-bezier(.22,.8,.2,1);
  --ease-io:cubic-bezier(.76,0,.24,1);
}

html{scroll-behavior:smooth;scroll-padding-top:calc(var(--header-h) + 10px)}
body{font-family:'Pretendard',system-ui,sans-serif;font-size:var(--fs-body);line-height:1.7;color:var(--ink);background:var(--white);word-break:keep-all;overflow-wrap:break-word;-webkit-font-smoothing:antialiased;letter-spacing:-.02em}
.tpl-sprite{position:absolute;width:0;height:0;overflow:hidden}
.tpl-ico{width:20px;height:20px;flex:none}
.tpl-skip{position:fixed;left:16px;top:-60px;z-index:300;background:var(--ink);color:var(--white);padding:10px 16px;transition:top .2s}
.tpl-skip:focus{top:16px}
:focus-visible{outline:2px solid var(--teal);outline-offset:3px}
.tpl-wrap{max-width:calc(var(--max) + var(--gut)*2);margin:0 auto;padding:0 var(--gut)}
.tpl-en{font-family:var(--en)}
.tpl-m-br{display:none}

/* ----- 공통 제목 · 버튼 ----- */
.tpl-tit{text-align:center;margin-bottom:56px}
.tpl-tit__pre{font-size:clamp(26px,2.3vw,38px);font-weight:300;color:#444;line-height:1.3}
.tpl-tit__en{font-family:var(--en);font-size:clamp(40px,3.1vw,52px);font-weight:600;line-height:1.15;letter-spacing:-.01em;color:var(--ink)}
.tpl-tit__desc{margin-top:10px;font-size:17px;font-weight:500;color:#333}
.tpl-btn{display:inline-flex;align-items:center;gap:12px;height:46px;padding:0 22px;border-radius:4px;background:var(--ink);color:var(--white);font-size:16px;font-weight:500;transition:background .3s}
.tpl-btn svg{width:16px;height:16px}
.tpl-btn:hover{background:var(--teal)}
.tpl-arrows{display:flex;gap:28px}
.tpl-arrows button{width:48px;height:48px;display:grid;place-items:center;color:var(--ink);transition:transform .3s var(--ease)}
.tpl-arrows button svg{width:40px;height:40px}
.tpl-arrows button:hover{transform:translateX(var(--dx,4px))}
.tpl-arrows button:first-child{--dx:-4px}
.tpl-dots{display:flex;justify-content:center;gap:6px}
.tpl-dots span,.tpl-dots button{width:5px;height:5px;border-radius:3px;background:#cfd2d5;transition:width .4s var(--ease),background .4s}
.tpl-dots .is-on,.tpl-dots [aria-selected="true"]{width:36px;background:#9aa1a7}

/* ----- 헤더 ----- */
.tpl-header{position:fixed;left:0;right:0;top:0;z-index:100;height:var(--header-h);background:var(--white);border-bottom:1px solid #ececec;transition:transform .45s var(--ease)}
.tpl-header.is-hide{transform:translateY(-100%)}
.tpl-header__in{height:100%;max-width:1920px;margin:0 auto;padding:0 clamp(20px,5.2vw,100px);display:flex;align-items:center;gap:28px}
.tpl-logo img{width:150px;height:auto}
.tpl-gnb{flex:1;display:flex;justify-content:center;height:100%}
.tpl-gnb__list{display:flex;height:100%}
.tpl-gnb__item{position:relative;display:flex;align-items:center;padding:0 clamp(10px,1.32vw,25px)}
.tpl-gnb__link{position:relative;display:flex;align-items:center;height:100%;font-size:18px;font-weight:500;white-space:nowrap;color:#333}
.tpl-gnb__link::after{content:"";position:absolute;left:0;right:0;bottom:34px;height:2px;background:var(--ink);transform:scaleX(0)}
/* 선은 그을 때만 움직이고 거둘 때는 바로 사라집니다(옮겨 가는 동안 선 2개가 겹쳐 보이지 않게) */
.tpl-gnb__item.is-open .tpl-gnb__link::after{transform:scaleX(1);transition:transform .4s var(--ease)}
/* 서브페이지 : 현재 1차 표시선, 다른 1차에 올리면 거둡니다 */
.tpl-gnb__link[aria-current]::after{transform:scaleX(1);transition:transform .4s var(--ease)}
.tpl-gnb__list:hover .tpl-gnb__item:not(.is-open) .tpl-gnb__link[aria-current]::after,
.tpl-gnb__list:focus-within .tpl-gnb__item:not(.is-open) .tpl-gnb__link[aria-current]::after{transform:scaleX(0);transition:none}
/* 1차별 드롭다운 : 흰 둥근 패널이 위→아래로 열리며 글자도 함께 보입니다(열 배경색 없음) */
.tpl-gnb__sub{position:absolute;left:0;top:calc(100% - 14px);min-width:calc(100% + 40px);background:var(--white);border:1px solid #e6e6e6;border-radius:8px;clip-path:inset(0 0 100% 0 round 8px);visibility:hidden;transition:clip-path .36s var(--ease),visibility 0s .36s}
.tpl-gnb__item.is-open .tpl-gnb__sub{clip-path:inset(0 0 0 0 round 8px);visibility:visible;transition:clip-path .4s var(--ease),visibility 0s}
.tpl-gnb__sub ul{padding:20px 26px 22px 16px}
.tpl-gnb__sub a{display:block;padding:5px 0;font-size:16px;color:#555;white-space:nowrap;transition:color .25s}
.tpl-gnb__sub a:hover,.tpl-gnb__sub a:focus-visible,.tpl-gnb__sub a[aria-current]{color:var(--ink);font-weight:700}
.tpl-util{display:flex;align-items:center;gap:26px;font-family:var(--en);font-size:15px;font-weight:500;letter-spacing:.02em}
.tpl-util a:hover{color:var(--teal)}
.tpl-menu-btn{display:none;width:44px;height:44px;margin-left:auto;flex-direction:column;justify-content:center;gap:6px;padding:0 9px}
.tpl-menu-btn span{display:block;height:2px;background:var(--ink)}

/* ----- 드로어 ----- */
.tpl-drawer{position:fixed;inset:0;z-index:150;background:rgba(0,0,0,0);transition:background .4s}
.tpl-drawer.is-open{background:rgba(0,0,0,.45)}
.tpl-drawer__panel{position:absolute;right:0;top:0;bottom:0;width:min(88vw,400px);background:var(--white);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;gap:18px;height:72px;padding:0 20px 0 24px;border-bottom:1px solid #eee;font-family:var(--en);font-size:16px;font-weight:500}
.tpl-drawer__close{margin-left:auto;width:44px;height:44px;display:grid;place-items:center}
.tpl-drawer__list>li{border-bottom:1px solid #eee}
.tpl-drawer__list>li>button{display:flex;align-items:center;justify-content:space-between;width:100%;padding:18px 24px;font-size:18px;font-weight:500;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 24px 16px}
.tpl-drawer__list ul a{display:block;padding:8px 0 8px 12px;font-size:16px;color:#555}
.tpl-drawer__list ul a[aria-current]{color:var(--ink);font-weight:700}
.tpl-drawer__tel{display:block;padding:24px;font-family:var(--en);font-size:22px;font-weight:600}

/* ----- 오른쪽 빠른 메뉴(원형 버튼) ----- */
.tpl-side{position:fixed;right:clamp(10px,.8vw,16px);top:50%;z-index:90;transform:translateY(-50%);display:flex;flex-direction:column;gap:6px}
.tpl-side a,.tpl-side button{width:62px;height:62px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border-radius:50%;background:var(--teal);color:var(--white);font-size:11px;font-weight:500;letter-spacing:-.04em;line-height:1.2;transition:background .3s,transform .3s var(--ease)}
.tpl-side svg{width:22px;height:22px}
.tpl-side a:hover,.tpl-side button:hover{background:var(--ink);transform:translateX(-3px)}
.tpl-side__top{opacity:0;pointer-events:none;transition:opacity .3s!important}
body:not(.is-top) .tpl-side__top{opacity:1;pointer-events:auto}
.tpl-mbar{display:none}

/* ----- 빠른 상담 창(오른쪽 아래 고정, 닫을 수 있음) ----- */
.tpl-qform{position:fixed;right:clamp(90px,6vw,110px);bottom:30px;z-index:91;width:330px;border-radius:14px;overflow:hidden;background:var(--white);box-shadow:0 0 0 1px rgba(0,0,0,.06);opacity:0;visibility:hidden;transform:translateY(20px);transition:opacity .4s,transform .5s var(--ease),visibility 0s .5s}
.tpl-qform.is-on{opacity:1;visibility:visible;transform:none;transition:opacity .4s,transform .5s var(--ease),visibility 0s}
.tpl-qform__head{position:relative;padding:22px 22px 18px;background:var(--teal);color:var(--white)}
.tpl-qform__brand{display:block;font-family:var(--en);font-size:17px;font-weight:500;letter-spacing:.12em}
.tpl-qform__tel{display:flex;align-items:baseline;gap:10px;margin-top:10px;font-size:16px;font-weight:700}
.tpl-qform__tel b{font-family:var(--en);font-size:28px;font-weight:600;letter-spacing:-.01em}
.tpl-qform__close{position:absolute;right:12px;top:12px;width:40px;height:40px;display:grid;place-items:center;color:var(--white)}
.tpl-qform__close .tpl-ico{width:26px;height:26px}
.tpl-qform form{padding:18px 20px 0}
.tpl-qform__lead{font-size:13px;color:#444;margin-bottom:10px}
.tpl-qform input[type=text],.tpl-qform input[type=tel],.tpl-qform select{display:block;width:100%;height:40px;margin-bottom:8px;padding:0 12px;border:1px solid #cfd2d5;border-radius:3px;background:var(--white);font-size:14px}
.tpl-qform select{border-width:0 0 2px;border-color:var(--ink);border-radius:0;padding-left:2px;font-weight:500}
/* 견본 폼을 눌렀을 때 안내(common.js) */
.tpl-demo-msg{margin-top:10px;font-size:14px;font-weight:500;color:var(--teal);text-align:center}
.tpl-demo-msg:empty{display:none}
.tpl-qform__agree{display:flex;align-items:center;gap:8px;margin:12px 0 16px;font-size:13px}
.tpl-qform__agree input{width:18px;height:18px;accent-color:var(--teal)}
.tpl-qform__agree a{padding:1px 6px;border-radius:2px;background:var(--teal);color:var(--white);font-size:12px}
.tpl-qform__submit{display:block;width:calc(100% + 40px);margin:0 -20px;height:56px;background:var(--teal);color:var(--white);font-size:18px;font-weight:700}
.tpl-qform__submit:hover{background:var(--ink)}

/* ----- 푸터 ----- */
.tpl-footer{background:var(--foot);color:#d5d9dc;padding:100px 0 110px}
.tpl-footer__in{max-width:1500px;margin:0 auto;padding:0 clamp(20px,9.5vw,200px);display:grid;grid-template-columns:1fr auto;align-items:end;gap:40px}
.tpl-footer__logo img{width:190px;height:auto;margin-bottom:46px}
.tpl-footer__addr{font-style:normal;font-size:15px;line-height:1.9;color:#e7eaec}
.tpl-footer__addr span{margin-left:12px}
.tpl-footer__copy{margin-top:12px;font-size:12px;letter-spacing:.01em;color:#b8bec2}
.tpl-footer__links{display:flex;flex-wrap:wrap;margin-top:44px;font-size:15px}
.tpl-footer__links li{border-left:1px solid #5d666c;padding:0 16px;line-height:1.1}
.tpl-footer__links li:last-child{border-right:1px solid #5d666c}
.tpl-footer__links a:hover{color:var(--white)}
.tpl-footer__links b{color:var(--white)}
.tpl-footer__cta{display:inline-flex;align-items:center;height:56px;margin-top:44px;padding:0 28px;border-radius:6px;background:var(--teal);color:var(--white);font-size:18px;font-weight:700;transition:background .3s}
.tpl-footer__cta:hover{background:#3b6d80}
.tpl-footer__sns{display:flex}
.tpl-footer__sns li{border-left:1px solid #5d666c}
.tpl-footer__sns a{width:58px;height:38px;display:grid;place-items:center;color:#c4c9cc;transition:color .3s}
.tpl-footer__sns a:hover{color:var(--white)}
.tpl-footer__sns svg{width:24px;height:24px}

/* ----- 스크롤 등장 ----- */
.js [data-aos]{opacity:0;transform:translateY(40px);transition:opacity 1s var(--ease),transform 1.1s var(--ease)}
.js [data-aos="fade"]{transform:none}
.js [data-aos="left"]{transform:translateX(-50px)}
.js [data-aos="right"]{transform:translateX(50px)}
.js [data-aos].is-in{opacity:1;transform:none}

/* ----- 반응형 ----- */
@media (max-width:1440px) and (min-width:1280px){
  .tpl-header__in{gap:24px}
  .tpl-gnb__item{padding:0 clamp(6px,.75vw,14px)}
  .tpl-gnb__link{font-size:17px}
  .tpl-logo img{width:128px}
  .tpl-util{gap:16px;font-size:14px}
}
/* 1차 메뉴 9개가 한 줄에 17px 로 들어가지 않는 폭에서는 전체 메뉴 버튼(드로어)으로 바꿉니다 */
@media (max-width:1279px){
  .tpl-gnb,.tpl-util{display:none}
  .tpl-menu-btn{display:flex}
}
@media (max-width:1024px){
  :root{--header-h:72px}
  .tpl-logo img{width:128px}
  .tpl-side{display:none}
  .tpl-qform{left:12px;right:12px;bottom:76px;width:auto;max-width:420px;margin-left:auto}
  .tpl-mbar{position:fixed;left:0;right:0;bottom:0;z-index:95;display:grid;grid-template-columns:repeat(4,1fr);height:64px;background:var(--teal);color:var(--white)}
  .tpl-mbar a,.tpl-mbar button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:13px;color:var(--white)}
  .tpl-mbar>*+*{border-left:1px solid rgba(255,255,255,.18)}
  .tpl-mbar svg{width:22px;height:22px}
  body{padding-bottom:64px}
  .tpl-footer{padding:80px 0}
  .tpl-footer__in{grid-template-columns:1fr}
  .tpl-footer__sns li:first-child{border-left:0}
}
@media (max-width:768px){
  .tpl-m-br{display:inline}
  .tpl-tit{margin-bottom:36px}
  .tpl-footer__logo img{width:160px;margin-bottom:30px}
  .tpl-footer__addr{font-size:14px}
  .tpl-footer__addr span{display:block;margin-left:0}
  .tpl-footer__links{row-gap:10px;font-size:14px}
  .tpl-footer__links li:first-child{padding-left:0;border-left:0}
  .tpl-footer__links li:last-child{border-right:0}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  .js [data-aos]{opacity:1;transform:none}
}

/* ===== main.css ===== */
/* ==========================================================================
   main.css — 메인 섹션(서브페이지 아래쪽 공통 섹션도 여기 있습니다)
   ========================================================================== */
.tpl-blind{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.tpl-pen{font-family:var(--pen);font-size:1.45em;font-weight:400;letter-spacing:0}

/* ===== 메인 비주얼 : 화면 폭을 채우고(최대 1900px) 고정 배경 없이 넘깁니다 ===== */
.tpl-visual{padding-top:var(--header-h)}
.tpl-visual__frame{position:relative;max-width:1900px;margin:0 auto;height:calc(100vh - var(--header-h));height:calc(100svh - var(--header-h));min-height:560px;max-height:1060px;overflow:hidden;background:#e9e7e4;color:var(--ink)}
.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 var(--ease-io) 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 0 0 0)}}
@keyframes tpl-wipe-b{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 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){animation:tpl-zoom 9s 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(250,249,247,.92) 0,rgba(250,249,247,.78) 34%,rgba(250,249,247,0) 62%)}
.tpl-visual__slide--dark{color:var(--white)}
.tpl-visual__slide--dark .tpl-visual__media::after{background:linear-gradient(90deg,rgba(20,24,27,.72) 0,rgba(20,24,27,.45) 45%,rgba(20,24,27,.15) 80%)}
.tpl-visual__yt{position:absolute;inset:0;overflow:hidden;background:#222}
.tpl-visual__yt iframe{position:absolute;left:50%;top:50%;width:max(100%,calc((100svh - 100px)*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:clamp(96px,9.4vw,180px);top:50%;transform:translateY(-50%);max-width:min(720px,52%)}
.tpl-visual__label{font-size:clamp(17px,1.35vw,24px);font-weight:700;letter-spacing:-.02em}
.tpl-visual__label.tpl-en{font-size:clamp(14px,1.05vw,18px);font-weight:500;letter-spacing:.06em}
.tpl-visual__title{margin-top:8px;font-size:clamp(36px,3.5vw,62px);font-weight:800;line-height:1.2;letter-spacing:-.04em}
.tpl-visual__big{display:block;font-size:clamp(64px,7.6vw,140px);font-weight:700;line-height:.95;letter-spacing:-.03em;margin-bottom:12px}
.tpl-visual__desc{margin-top:18px;font-size:clamp(17px,1.2vw,21px);font-weight:500}
.tpl-visual__btn{display:inline-flex;align-items:center;height:50px;margin-top:30px;padding:0 26px;border-radius:4px;background:var(--ink);color:var(--white);font-size:16px;font-weight:500;transition:background .3s}
.tpl-visual__slide--dark .tpl-visual__btn{background:var(--white);color:var(--ink)}
.tpl-visual__btn:hover{background:var(--teal);color:var(--white)}
.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 .1s,transform 1s .1s var(--ease)}
.tpl-visual__slide.is-shown .tpl-visual__title{opacity:1;transform:none;transition:opacity .9s .28s,transform 1.1s .28s var(--ease)}
.tpl-visual__slide.is-shown .tpl-visual__desc{opacity:1;transform:none;transition:opacity .9s .46s,transform 1s .46s var(--ease)}
.tpl-visual__slide.is-shown .tpl-visual__btn{opacity:1;transform:none;transition:opacity .9s .62s,transform 1s .62s var(--ease),background .3s}
.tpl-visual__arrow{position:absolute;z-index:5;top:50%;width:64px;height:96px;margin-top:-48px;display:grid;place-items:center;color:rgba(40,44,47,.55);transition:color .3s}
.tpl-visual__arrow svg{width:56px;height:56px}
.tpl-visual__arrow:hover{color:var(--ink)}
.tpl-visual__arrow--prev{left:clamp(16px,2.2vw,44px)}
.tpl-visual__arrow--next{right:clamp(84px,6.6vw,128px)}
.tpl-visual__slide--dark.is-active~.tpl-visual__arrow,.tpl-visual__slide--dark.is-active~.tpl-visual__bar{color:var(--white)}
.tpl-visual__bar{position:absolute;z-index:5;left:clamp(96px,9.4vw,180px);bottom:clamp(32px,6vh,60px);display:flex;align-items:center;gap:18px;font-family:var(--en);font-size:15px;color:#3a3f43}
.tpl-visual__count strong{font-weight:500}
.tpl-visual__track{position:relative;width:130px;height:1px;background:currentColor;opacity:.9}
.tpl-visual__track::before{content:"";position:absolute;inset:0;background:rgba(255,255,255,.5)}
.tpl-visual__progress{position:absolute;inset:-1px 0;background:currentColor;transform-origin:left;transform:scaleX(0)}
.tpl-visual__pause{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;border:1px solid currentColor;opacity:.8}
.tpl-visual__pause .tpl-ico{width:14px;height:14px}

/* ===== 불필요한 지방은 비우고(먹색 상자) ===== */
.tpl-zero{padding:clamp(70px,6vw,110px) 0 0}
.tpl-zero__box{max-width:1900px;margin:0 auto;background:var(--char);text-align:center;overflow:hidden}
.tpl-zero__text{position:relative;z-index:1;padding:clamp(80px,8vw,150px) var(--gut) 20px}
.tpl-zero__pre{font-size:clamp(24px,2.3vw,40px);font-weight:300;color:#a3aaaf;line-height:1.3}
.tpl-zero__big{margin-top:6px;font-size:clamp(110px,11.2vw,200px);font-weight:600;line-height:.95;letter-spacing:-.02em;color:#8c969c}
.tpl-zero__pen{margin-top:24px;font-family:var(--pen);font-size:clamp(32px,2.9vw,50px);line-height:1.2;color:#9aa2a7;letter-spacing:.02em}
.tpl-zero__desc{margin-top:34px;font-size:17px;line-height:1.9;color:#b3b9bd}
.tpl-zero__img{width:100%;height:auto;margin-top:-6%;-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 38%);mask-image:linear-gradient(180deg,transparent 0,#000 38%)}

/* ===== 리얼 후기(갤러리) ===== */
.tpl-real{padding:var(--sec) 0}
.tpl-real__grid{columns:6 170px;column-gap:18px;max-width:1300px;margin:0 auto}
.tpl-real__grid li{break-inside:avoid;margin-bottom:22px}
.tpl-real__img{display:block;border-radius:14px;overflow:hidden;background:#eee}
.tpl-real__img img{width:100%;transition:transform .8s var(--ease)}
.tpl-real__grid a:hover img{transform:scale(1.05)}
.tpl-real__cap{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin-top:9px;padding:0 4px;font-size:14px;line-height:1.55;color:#4b5055}
.tpl-real__note{margin-top:28px;text-align:center;font-size:14px;color:var(--mute)}

/* ===== 시그니처 ===== */
.tpl-sig{position:relative;padding:var(--sec) 0;overflow:hidden}
.tpl-sig__flow{position:absolute;left:0;top:calc(var(--sec) + 205px);display:flex;white-space:nowrap;font-size:clamp(48px,4.6vw,80px);font-weight:400;letter-spacing:.72em;color:#eef0f1;pointer-events:none;animation:tpl-flow 60s linear infinite}
@keyframes tpl-flow{to{transform:translateX(-50%)}}
.tpl-sig__head{position:relative;z-index:2;max-width:calc(var(--max) + var(--gut)*2);margin:0 auto;padding:0 var(--gut)}
.tpl-sig__pre{font-size:22px;font-weight:600}
.tpl-sig__title{font-size:clamp(46px,3.6vw,62px);font-weight:600;line-height:1.1}
.tpl-sig__desc{margin-top:16px;font-size:16px;color:#444}
.tpl-sig__body{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) clamp(300px,26vw,440px);gap:clamp(30px,3.4vw,60px);max-width:1900px;margin:-150px auto 0;padding-right:var(--gut)}
.tpl-sig__view{overflow:hidden}
.tpl-sig__track{display:flex;align-items:flex-end;gap:26px;height:clamp(420px,40vw,640px);transition:transform .9s var(--ease)}
.tpl-sig__card{flex:none;width:clamp(200px,20.6vw,400px);height:70%;transition:height .9s var(--ease)}
.tpl-sig__card.is-on{height:100%}
.tpl-sig__card a{display:block;height:100%;border-radius:12px;overflow:hidden;background:#e7e2dd}
.tpl-sig__card img{width:100%;height:100%;object-fit:cover}
.tpl-sig__info{align-self:end;padding-bottom:10px}
.tpl-sig__num{font-size:18px;font-weight:500}
.tpl-sig__num b{font-size:34px;font-weight:600}
.tpl-sig__en{margin-top:2px;font-size:24px;font-weight:500}
.tpl-sig__sub{margin-top:40px;font-size:20px;font-weight:700}
.tpl-sig__name{font-size:clamp(32px,2.5vw,42px);font-weight:800;letter-spacing:-.04em;line-height:1.25}
.tpl-sig__text{margin-top:16px;font-size:16px;color:#444}
.tpl-sig__more{margin-top:30px}
.tpl-sig__info .tpl-arrows{margin-top:60px}

/* ===== 전후 사진 ===== */
.tpl-ba{padding:var(--sec) 0;overflow:hidden}
.tpl-ba .tpl-tit__en{margin-bottom:4px}
.tpl-ba__tabs{display:flex;justify-content:center;flex-wrap:wrap;gap:18px;margin:-10px 0 54px}
.tpl-ba__tabs button{min-width:92px;height:40px;padding:0 20px;border:1px solid #333;border-radius:20px;font-size:16px;transition:background .3s,color .3s}
.tpl-ba__tabs button[aria-pressed="true"],.tpl-ba__tabs button:hover{background:var(--foot);border-color:var(--foot);color:var(--white)}
.tpl-ba__slider{position:relative;--w:clamp(290px,34vw,740px)}
.tpl-ba__view{overflow:hidden}
.tpl-ba__track{display:flex;gap:clamp(40px,7vw,130px);transition:transform .9s var(--ease)}
.tpl-ba__item{flex:none;width:var(--w);opacity:.35;transition:opacity .6s}
.tpl-ba__item.is-on{opacity:1}
.tpl-ba__pic{position:relative;display:block;aspect-ratio:1.6;border-radius:14px;overflow:hidden;background:#e5e5e5}
.tpl-ba__pic img{width:100%;height:100%;object-fit:cover}
.tpl-ba__stamp{position:absolute;left:50%;top:50%;width:118px;height:118px;margin:-59px 0 0 -59px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border-radius:50%;background:var(--foot);color:var(--white);font-size:15px;font-weight:700;box-shadow:0 0 0 6px rgba(43,50,55,.25)}
.tpl-ba__stamp svg{width:24px;height:24px}
.tpl-ba__ba{position:absolute;left:0;right:0;bottom:14px;display:flex;justify-content:space-around;font-family:var(--en);font-size:13px;letter-spacing:.12em;color:var(--white)}
.tpl-ba__ba em{font-style:normal}
.tpl-ba__info{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-top:16px;font-size:13px;color:#888}
.tpl-ba__mid{display:flex;flex-wrap:wrap;justify-content:center;column-gap:12px;font-size:14px;color:#555;text-align:center}
.tpl-ba__mid b{flex-basis:100%;font-size:19px;font-weight:500;color:var(--ink)}
.tpl-ba__arrow{position:absolute;top:calc(var(--w) / 3.2 - 24px);z-index:2;width:48px;height:48px;display:grid;place-items:center;color:var(--ink)}
.tpl-ba__arrow svg{width:40px;height:40px}
.tpl-ba__arrow--prev{left:calc(50% - var(--w)/2 - clamp(34px,4.4vw,80px) - 24px)}
.tpl-ba__arrow--next{right:calc(50% - var(--w)/2 - clamp(34px,4.4vw,80px) - 24px)}
.tpl-ba__dots{margin-top:40px}
.tpl-ba__note{margin-top:42px;text-align:center;font-size:13px;color:#777}

/* ===== 이벤트 ===== */
.tpl-event{padding:clamp(40px,4vw,70px) 0 var(--sec);overflow:hidden}
.tpl-event__in{display:flex;gap:25px;max-width:calc(var(--max) + var(--gut)*2);margin:0 auto;padding-left:var(--gut)}
.tpl-event__lead{flex:none;width:clamp(240px,18.4vw,390px);aspect-ratio:1;display:flex;flex-direction:column;padding:clamp(26px,2.4vw,42px);border-radius:12px;background:var(--foot);color:var(--white)}
.tpl-event__pre{font-size:clamp(24px,2vw,34px);font-weight:300;line-height:1.3}
.tpl-event__lead strong{margin-top:6px;font-size:clamp(36px,2.8vw,48px);font-weight:600;line-height:1.1}
.tpl-event__desc{margin-top:8px;font-size:14px;color:#cdd2d5}
.tpl-event__more{margin-top:auto;display:flex;align-items:center;gap:8px;font-size:15px}
.tpl-event__more svg{width:16px;height:16px}
.tpl-event__view{flex:1;min-width:0;margin-right:calc((100vw - min(100vw,var(--max) + var(--gut)*2))/-2)}
.tpl-event__track{display:flex;gap:25px;transition:transform .8s var(--ease)}
.tpl-evc{flex:none;width:clamp(240px,18.4vw,390px)}
.tpl-evc a,.tpl-evc--grid{position:relative;display:flex;flex-direction:column;aspect-ratio:1;padding:clamp(18px,1.6vw,28px);border-radius:12px;overflow:hidden;background:#e4edf0;color:var(--ink)}
.tpl-evc--2 a,.tpl-evc--2.tpl-evc--grid{background:#eceef2}
.tpl-evc--3 a,.tpl-evc--3.tpl-evc--grid{background:#efebe6}
.tpl-evc--4 a,.tpl-evc--4.tpl-evc--grid{background:#e6ecef}
.tpl-evc--5 a,.tpl-evc--5.tpl-evc--grid{background:#ebeeea}
.tpl-evc__top{position:relative;z-index:2;text-align:center}
.tpl-evc__brand{display:block;font-size:11px;letter-spacing:.14em;color:#55606a}
.tpl-evc__pre{display:block;margin-top:6px;font-size:13px;font-weight:500;color:#333}
.tpl-evc__name{display:block;font-size:clamp(19px,1.5vw,26px);font-weight:800;letter-spacing:-.04em;line-height:1.25}
.tpl-evc__name em{font-style:normal;color:var(--teal)}
.tpl-evc__img{position:relative;flex:1;min-height:0;margin:12px 8% 0;border-radius:8px 8px 0 0;overflow:hidden}
.tpl-evc__img img{width:100%;height:100%;object-fit:cover}
.tpl-evc__price{position:relative;z-index:2;display:flex;align-items:center;gap:6px;margin:-26px 4% 0;padding:10px 16px;border-radius:8px;background:var(--white)}
.tpl-evc__opt{flex:1;font-size:13px;font-weight:700;color:#333}
.tpl-evc__price b{font-size:clamp(30px,2.4vw,40px);font-weight:600;line-height:1;color:var(--teal)}
.tpl-evc__price small{font-size:14px;font-weight:700;color:var(--teal)}
.tpl-event__ctrl{display:flex;align-items:center;justify-content:space-between;max-width:calc(var(--max) + var(--gut)*2);margin:26px auto 0;padding:0 var(--gut)}
.tpl-event__ctrl>button{width:48px;height:48px;display:grid;place-items:center}
.tpl-event__ctrl>button svg{width:40px;height:40px}
.tpl-event__ctrl>button:first-child{margin-left:clamp(150px,15vw,320px)}

/* ===== 프리미엄 시스템 ===== */
.tpl-prem{padding:var(--sec) 0}
.tpl-prem__in{display:grid;grid-template-columns:16.4% 23% minmax(0,1fr);column-gap:5.2%;max-width:1900px;margin:0 auto;align-items:stretch}
.tpl-prem__ghost{position:relative;overflow:hidden}
.tpl-prem__ghost img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:right center;opacity:.3;transition:opacity .6s}
.tpl-prem__head{display:flex;flex-direction:column;justify-content:center;padding:60px 0;border-top:1px solid #bbb;border-bottom:1px solid #bbb}
.tpl-prem__pre{font-size:13px;font-weight:600;letter-spacing:.04em}
.tpl-prem__title{margin-top:6px;font-size:clamp(44px,3.4vw,62px);font-weight:600;line-height:1}
.tpl-prem__ko{margin-top:30px;font-size:clamp(24px,1.8vw,32px);font-weight:800;line-height:1.3;letter-spacing:-.04em}
.tpl-prem__desc{margin-top:30px;font-size:16px;line-height:1.95;color:#333}
.tpl-prem__view{position:relative;overflow:hidden}
.tpl-prem__track{display:flex;transition:transform .9s var(--ease)}
.tpl-prem__item{flex:none;width:67%;opacity:.3;transition:opacity .6s}
.tpl-prem__item.is-on{opacity:1}
.tpl-prem__pic{position:relative;aspect-ratio:1.28;overflow:hidden}
.tpl-prem__pic img{width:100%;height:100%;object-fit:cover}
.tpl-prem__no{position:absolute;left:46px;bottom:-12px;font-size:clamp(48px,3.8vw,70px);font-weight:600;color:var(--white);line-height:1}
.tpl-prem__txt{padding:40px 46px 48px;background:#f3f3f3}
.tpl-prem__txt .tpl-en{font-size:14px;color:#666}
.tpl-prem__txt h3{font-size:clamp(23px,1.75vw,30px);font-weight:800;letter-spacing:-.04em;line-height:1.3}
.tpl-prem__txt h3+p{margin-top:16px;font-size:16px;color:#444}
.tpl-prem__arrow{position:absolute;z-index:2;top:calc(67% / 1.28 / 2 - 26px);width:52px;height:52px;display:grid;place-items:center;border-radius:50%;background:var(--foot);color:var(--white);transition:background .3s}
.tpl-prem__view .tpl-prem__arrow{top:calc((100% - 230px) / 2)}
.tpl-prem__arrow svg{width:28px;height:28px}
.tpl-prem__arrow:hover{background:var(--teal)}
.tpl-prem__arrow--prev{left:-26px}
.tpl-prem__arrow--next{left:calc(67% - 26px)}

/* ===== 의료진 ===== */
.tpl-doc{padding:var(--sec) 0}
.tpl-doc__in{display:grid;grid-template-columns:1fr minmax(0,560px);gap:clamp(40px,7vw,140px);align-items:center}
.tpl-doc__pre{font-size:15px;font-weight:500;letter-spacing:.3em;color:var(--mute)}
.tpl-doc__title{margin-top:14px;font-size:clamp(28px,2.4vw,40px);font-weight:800;line-height:1.35;letter-spacing:-.04em}
.tpl-doc__desc{margin-top:26px;max-width:620px;color:#444}
.tpl-doc__career{margin:28px 0 36px;padding-top:26px;border-top:1px solid var(--line);columns:2;column-gap:30px}
.tpl-doc__career li{position:relative;padding-left:14px;font-size:16px;font-weight:500}
.tpl-doc__career li::before{content:"";position:absolute;left:0;top:.8em;width:4px;height:4px;border-radius:50%;background:var(--ink)}
.tpl-doc__pic{border-radius:16px;overflow:hidden;background:#d9e1e7}
.tpl-doc__pic img{width:100%}

/* ===== 프로그램 진행 과정 ===== */
.tpl-step{padding:var(--sec) 0;background:var(--gray)}
.tpl-step__head{text-align:center;margin-bottom:54px}
.tpl-step__title{font-size:clamp(32px,2.6vw,44px);font-weight:800;letter-spacing:-.04em}
.tpl-step__time{display:flex;justify-content:center;flex-wrap:wrap;gap:6px 24px;margin-top:18px;font-size:20px;font-weight:700}
.tpl-step__list{display:grid;grid-template-columns:repeat(5,1fr);gap:22px}
.tpl-step__img{display:block;aspect-ratio:1.5;border-radius:10px;overflow:hidden;background:#ddd}
.tpl-step__img img{width:100%;height:100%;object-fit:cover}
.tpl-step__no{margin-top:22px;padding-top:16px;border-top:1px solid #c9cdd0;font-size:15px;font-weight:600}
.tpl-step__list h3{margin-top:4px;font-size:19px;font-weight:800;letter-spacing:-.03em}
.tpl-step__list h3+p{margin-top:8px;font-size:15px;color:#555}

/* ===== 비움 TV · 소식 ===== */
.tpl-media{padding:var(--sec) 0}
.tpl-media__in{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);grid-template-rows:auto 1fr;column-gap:clamp(30px,4vw,70px)}
.tpl-media__head{grid-column:1/-1;display:flex;align-items:flex-end;gap:24px;margin-bottom:40px}
.tpl-media__pre{font-size:15px;font-weight:500;letter-spacing:.3em;color:var(--mute)}
.tpl-media__title{font-size:clamp(32px,2.6vw,44px);font-weight:800;letter-spacing:-.04em;line-height:1.2}
.tpl-media__head>div,.tpl-media__head>p{flex:none}
.tpl-media__all{margin-left:auto;display:flex;align-items:center;gap:6px;font-size:15px;font-weight:500}
.tpl-media__all svg{width:16px;height:16px}
.tpl-media__head{flex-wrap:wrap}
.tpl-media__pre{flex-basis:100%}
.tpl-media__video{position:relative;display:block;border-radius:12px;overflow:hidden;aspect-ratio:1.6;background:#ccc}
.tpl-media__video img{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease)}
.tpl-media__video:hover img{transform:scale(1.04)}
.tpl-media__video::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(20,24,27,.7) 0,rgba(20,24,27,0) 55%)}
.tpl-media__play{position:absolute;z-index:2;left:50%;top:44%;width:76px;height:76px;margin:-38px 0 0 -38px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.92);color:var(--ink)}
.tpl-media__play svg{width:28px;height:28px;margin-left:4px}
.tpl-media__cap{position:absolute;z-index:2;left:30px;right:30px;bottom:26px;color:var(--white);font-size:15px}
.tpl-media__cap b{display:block;font-size:clamp(19px,1.5vw,24px)}
.tpl-media__list{border-top:2px solid var(--ink)}
.tpl-media__list a{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:16px;padding:26px 6px;border-bottom:1px solid var(--line);transition:background .3s}
.tpl-media__list a:hover{background:var(--gray)}
.tpl-media__tag{grid-row:1/3;align-self:center;padding:3px 10px;border-radius:3px;background:var(--foot);color:var(--white);font-size:13px}
.tpl-media__list b{font-size:18px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tpl-media__list time{font-family:var(--en);font-size:14px;color:var(--mute)}

/* ===== 빠른 상담 · 예약 ===== */
.tpl-quick{padding:0 0 var(--sec)}
.tpl-quick__list{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.tpl-quick__list a{position:relative;display:flex;flex-direction:column;align-items:flex-start;height:100%;padding:40px clamp(20px,2vw,36px) 42px;transition:background .3s}
.tpl-quick__list li+li a{border-left:1px solid var(--line)}
.tpl-quick__list a:hover{background:var(--gray)}
.tpl-quick__h{font-size:clamp(21px,1.6vw,26px);font-weight:800;letter-spacing:-.04em}
.tpl-quick__p{margin-top:8px;font-size:15px;color:#555;line-height:1.6}
.tpl-quick__tel{margin-top:auto;padding-top:22px;font-size:clamp(28px,2.2vw,36px);font-weight:600;line-height:1}
.tpl-quick__btn{margin-top:auto;display:inline-flex;align-items:center;height:46px;padding:0 22px;border-radius:23px;background:var(--foot);color:var(--white);font-size:15px;font-weight:500;transition:background .3s}
.tpl-quick__p+.tpl-quick__btn{margin-top:22px}
.tpl-quick__list a:hover .tpl-quick__btn{background:var(--teal)}
.tpl-quick__ico{position:absolute;right:clamp(18px,1.8vw,32px);top:40px;width:38px;height:38px;color:var(--ink)}

/* ===== 진료시간 · 오시는 길 ===== */
.tpl-contact{padding:var(--sec) 0}
.tpl-contact__in{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:clamp(40px,6vw,110px);align-items:center;max-width:1240px}
.tpl-map{position:relative;height:clamp(360px,32vw,500px);border-radius:16px;overflow:hidden;background:#eef0f1}
.tpl-map iframe{position:absolute;top:0;bottom:0;left:-420px;width:calc(100% + 420px);height:100%;max-width:none;border:0}
/* 지도를 불러오는 동안 : 화면 안 고정 위치에 투명하게 세워 둡니다(main.js 지도 부분). 등장 효과의 transform 이 있으면 fixed 가 그 상자 기준이 되므로 그동안만 풉니다 */
iframe.is-parking{position:fixed!important;top:0!important;left:0!important;bottom:auto!important;width:var(--pw)!important;height:var(--ph)!important;opacity:0;pointer-events:none;z-index:-1}
[data-aos]:has(iframe.is-parking){transform:none!important;transition:none!important}
.tpl-contact__en{font-size:13px;font-weight:500;letter-spacing:.02em;color:#444}
.tpl-contact__tel{margin-top:4px;font-size:clamp(26px,2.2vw,36px);font-weight:800;letter-spacing:-.04em;line-height:1.3}
.tpl-contact__tel a{font-weight:600;letter-spacing:-.01em}
.tpl-contact__h{margin-top:32px;font-size:22px;font-weight:800;letter-spacing:-.03em}
.tpl-contact__hours{margin-top:10px}
.tpl-contact__hours div,.tpl-contact__way div{display:flex;gap:16px;font-size:16px;font-weight:500}
.tpl-contact__hours dt{width:74px;font-weight:700}
.tpl-contact__hours dt::after{content:"›";margin-left:12px;color:#999}
.tpl-contact__note{margin-top:4px;font-size:14px;color:#555}
.tpl-contact__way{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:10px}
.tpl-contact__way div{flex-direction:column;gap:0}
.tpl-contact__way dt{font-size:17px;font-weight:800}
.tpl-contact__addr{margin:14px 0 26px;font-size:16px;font-weight:500}

/* ===== 인테리어 띠(고정 배경) ===== */
.tpl-place{padding:0 0 clamp(90px,8vw,140px)}
.tpl-place__box{position:relative;max-width:1900px;margin:0 auto;overflow:hidden;color:var(--white);text-align:center}
.tpl-place__bg{position:absolute;inset:0;background:url('../img/band.jpg') center/cover no-repeat}
.tpl-place__bg::after{content:"";position:absolute;inset:0;background:rgba(18,20,22,.55)}
@media (min-width:1025px) and (hover:hover) and (prefers-reduced-motion:no-preference){
  .tpl-place__bg{background-attachment:fixed}
}
.tpl-place__in{position:relative;padding:clamp(130px,12vw,210px) var(--gut)}
.tpl-place__pre{font-size:14px;font-weight:500;letter-spacing:.4em}
.tpl-place__title{margin-top:12px;font-size:clamp(30px,3.4vw,56px);font-weight:500;letter-spacing:.32em;line-height:1.2}
.tpl-place__desc{margin-top:26px;font-size:17px}
.tpl-place__btn{margin-top:36px}

/* ===== 반응형 ===== */
@media (max-width:1280px){
  .tpl-media__in{grid-template-columns:1fr}
  .tpl-media__video{margin-bottom:30px}
  .tpl-step__list{grid-template-columns:repeat(3,1fr);row-gap:40px}
}
@media (max-width:1024px){
  .tpl-visual__text{left:100px;max-width:60%}
  .tpl-visual__arrow--next{right:16px}
  .tpl-visual__bar{left:100px}
  .tpl-sig__body{grid-template-columns:1fr;margin-top:30px;padding:0 var(--gut)}
  .tpl-sig__flow{top:calc(var(--sec) + 150px)}
  .tpl-sig__track{height:440px}
  .tpl-sig__info{padding-bottom:0}
  .tpl-sig__sub{margin-top:20px}
  .tpl-sig__info .tpl-arrows{margin-top:24px}
  .tpl-prem__in{grid-template-columns:1fr;padding:0 var(--gut);row-gap:40px}
  .tpl-prem__ghost{display:none}
  .tpl-prem__head{padding:40px 0}
  .tpl-doc__in{grid-template-columns:1fr}
  .tpl-doc__pic{max-width:520px}
  .tpl-quick__list{grid-template-columns:1fr 1fr}
  .tpl-quick__list li:nth-child(3) a{border-left:0}
  .tpl-quick__list li:nth-child(n+3) a{border-top:1px solid var(--line)}
  .tpl-contact__in{grid-template-columns:1fr}
}
@media (max-width:768px){
  .tpl-visual__frame{height:calc(86svh - var(--header-h));min-height:560px}
  .tpl-visual__media::after{background:linear-gradient(0deg,rgba(250,249,247,.95) 0,rgba(250,249,247,.82) 45%,rgba(250,249,247,.1) 75%)}
  .tpl-visual__slide--dark .tpl-visual__media::after{background:linear-gradient(0deg,rgba(20,24,27,.8) 0,rgba(20,24,27,.4) 55%,rgba(20,24,27,.15) 100%)}
  .tpl-visual__text{left:22px;right:22px;top:auto;bottom:96px;transform:none;max-width:none}
  .tpl-visual__title{font-size:30px}
  .tpl-visual__big{font-size:58px}
  .tpl-visual__desc{margin-top:12px;font-size:16px}
  .tpl-visual__btn{margin-top:20px;height:46px}
  .tpl-visual__bar{left:22px;bottom:34px}
  .tpl-visual__arrow{top:36%;width:44px;height:64px}
  .tpl-visual__arrow svg{width:40px;height:40px}
  .tpl-visual__arrow--prev{left:2px}
  .tpl-visual__arrow--next{right:2px}
  .tpl-zero__desc{font-size:15px}
  .tpl-real__grid{columns:2;column-gap:12px}
  .tpl-real__cap{font-size:13px}
  .tpl-sig__flow{font-size:40px}
  .tpl-sig__track{height:360px;gap:14px}
  .tpl-sig__card{width:58vw}
  .tpl-ba__slider{--w:76vw}
  .tpl-ba__track{gap:20px}
  .tpl-ba__arrow{top:calc(var(--w) / 3.2 - 22px);width:44px;height:44px;background:rgba(255,255,255,.85);border-radius:50%}
  .tpl-ba__arrow svg{width:28px;height:28px}
  .tpl-ba__arrow--prev{left:calc(12vw - 22px)}
  .tpl-ba__arrow--next{right:calc(12vw - 22px)}
  .tpl-ba__stamp{width:92px;height:92px;margin:-46px 0 0 -46px;font-size:13px}
  .tpl-ba__info{flex-wrap:wrap;justify-content:center}
  .tpl-ba__date{order:2}
  .tpl-ba__mid{order:1;flex-basis:100%}
  .tpl-ba__tabs{gap:8px}
  .tpl-ba__tabs button{min-width:0;padding:0 16px;font-size:15px}
  .tpl-event__in{flex-direction:column;padding-right:var(--gut)}
  .tpl-event__lead{width:100%;aspect-ratio:auto;min-height:220px}
  .tpl-event__view{margin-right:calc(var(--gut) * -1)}
  .tpl-evc{width:68vw}
  .tpl-event__ctrl>button:first-child{margin-left:0}
  .tpl-prem__item{width:86%}
  .tpl-prem__txt{padding:28px 22px 30px}
  .tpl-prem__no{left:22px}
  .tpl-prem__arrow{width:44px;height:44px}
  .tpl-prem__arrow--prev{left:6px}
  .tpl-prem__arrow--next{left:calc(86% - 50px)}
  .tpl-prem__view .tpl-prem__arrow{top:calc(86vw / 1.28 / 2 - 22px)}
  .tpl-doc__career{columns:1}
  .tpl-step__list{grid-template-columns:1fr 1fr;gap:28px 14px}
  .tpl-step__list h3{font-size:17px}
  .tpl-step__time{font-size:17px}
  .tpl-media__list b{font-size:16px}
  .tpl-media__cap{left:18px;right:18px;bottom:16px}
  .tpl-quick__list{grid-template-columns:1fr}
  .tpl-quick__list li+li a{border-left:0;border-top:1px solid var(--line)}
  .tpl-quick__list a{padding:30px 4px}
  .tpl-quick__ico{right:4px;top:30px}
  .tpl-contact__way{grid-template-columns:1fr}
  .tpl-map{height:320px}
  .tpl-place__title{letter-spacing:.14em}
  .tpl-place__desc{font-size:15px}
}

/* ===== sub.css ===== */
/* ==========================================================================
   sub.css — 서브페이지 : 서브 비주얼 · 위치 · 2차 탭 · 소개형 · 시술 상세형 · 게시판형 · 양식
   ========================================================================== */
.tpl-s{padding:var(--sec) 0}
.tpl-eyebrow{font-size:15px;font-weight:600;letter-spacing:.04em;color:#444}
.tpl-h2{margin-top:6px;font-size:clamp(32px,2.8vw,46px);font-weight:800;line-height:1.3;letter-spacing:-.04em}
.tpl-h3{font-size:clamp(26px,2.1vw,36px);font-weight:800;line-height:1.35;letter-spacing:-.04em}
.tpl-lead{margin-top:22px;font-size:clamp(20px,1.5vw,25px);font-weight:300;line-height:1.5;color:#333}
.tpl-tags{margin-top:24px;font-size:16px;font-weight:700;color:#333}
.tpl-btn--round{border-radius:24px;padding:0 26px}

/* ----- 서브 비주얼 : 사진 + 어두운 막(정지) ----- */
.tpl-sv{position:relative;height:clamp(380px,31vw,460px);margin-top:var(--header-h);overflow:hidden;background:#3a3f43;color:var(--white)}
.tpl-sv__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tpl-sv::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(22,26,29,.72) 0,rgba(22,26,29,.5) 45%,rgba(22,26,29,.25) 100%)}
.tpl-sv__in{position:relative;z-index:2;max-width:calc(var(--max) + var(--gut)*2);margin:0 auto;padding:clamp(60px,5.6vw,92px) var(--gut) 0}
.tpl-sv__label{font-size:14px;font-weight:500;letter-spacing:.42em}
.tpl-sv__title{margin-top:14px;font-size:clamp(30px,2.7vw,44px);font-weight:800;line-height:1.3;letter-spacing:-.04em}
.tpl-sv__title .tpl-en{font-size:.8em;font-weight:500;letter-spacing:0}
.tpl-sv__desc{margin-top:16px;max-width:640px;font-size:16px;line-height:1.75;color:#e8ebed}
.tpl-sv__ko{margin-top:22px;font-size:18px;font-weight:700;color:#d9dde0}
.tpl-sv__ko:empty{display:none}
.tpl-sv__word{position:absolute;z-index:2;left:var(--gut);right:0;bottom:-.2em;font-size:clamp(62px,9vw,150px);font-weight:600;line-height:1;letter-spacing:.02em;white-space:nowrap;color:rgba(255,255,255,.9)}
@media (min-width:1601px){.tpl-sv__word{left:calc((100vw - var(--max))/2)}}

/* ----- 위치 · 2차 탭 ----- */
.tpl-snb{border-bottom:1px solid var(--line);background:var(--white)}
.tpl-snb__in{display:flex;align-items:center;justify-content:space-between;gap:24px}
.tpl-snb__path{display:flex;align-items:center;font-size:14px;color:var(--mute);white-space:nowrap}
.tpl-snb__path span::before{content:"›";margin:0 10px;color:#aaa}
.tpl-snb__tabs{display:flex;gap:clamp(20px,2.4vw,44px);overflow-x:auto;scrollbar-width:none}
.tpl-snb__tabs::-webkit-scrollbar{display:none}
/* 오른쪽 빠른 메뉴(1025px 이상 고정)가 마지막 탭 글자를 덮지 않도록 그 폭만큼 비웁니다 */
@media (min-width:1025px) and (max-width:1800px){.tpl-snb__tabs{margin-right:52px}}
.tpl-snb__tabs a{position:relative;display:flex;align-items:center;height:66px;font-size:17px;font-weight:500;color:#555;white-space:nowrap}
.tpl-snb__tabs a::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--ink);transform:scaleX(0);transition:transform .35s var(--ease)}
.tpl-snb__tabs a[aria-current]{color:var(--ink);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-plist{padding:var(--sec) 0}
.tpl-plist__pre{font-size:14px;font-weight:600;letter-spacing:.08em}
.tpl-plist__ko{margin-top:4px;font-size:clamp(22px,1.7vw,28px);font-weight:800;letter-spacing:-.04em}
.tpl-plist__list{max-width:1500px;margin:0 auto;padding-right:var(--gut)}
.tpl-plist__list li{display:grid;grid-template-columns:minmax(0,50%) minmax(0,1fr);gap:clamp(30px,4vw,80px);align-items:center;margin-top:44px}
.tpl-plist__pic{aspect-ratio:2.05;border-radius:0 18px 18px 0;overflow:hidden;background:#dfe4e8}
.tpl-plist__pic img{width:100%;height:100%;object-fit:cover}
.tpl-plist__txt{padding:30px 0;border-top:1px solid #bbb}
.tpl-plist__no{font-size:clamp(36px,2.8vw,48px);font-weight:600;line-height:1}
.tpl-plist__en{margin-top:16px;font-size:14px;color:#555}
.tpl-plist__txt h3{margin-top:10px;font-size:clamp(20px,1.5vw,24px);font-weight:800;letter-spacing:-.03em}
.tpl-plist__txt h3+p{margin-top:10px;font-size:15px;color:#555}

/* ----- 비움의원 ----- */
.tpl-motto__head{max-width:760px}
.tpl-motto__cols{display:grid;grid-template-columns:1fr 1fr;gap:clamp(30px,4vw,80px);margin-top:50px;font-size:16px;line-height:1.95;color:#444}
.tpl-motto__cols b{color:var(--ink)}
.tpl-pair{display:grid;grid-template-columns:1fr 1fr;padding:0}
.tpl-pair__pic{min-height:clamp(380px,34vw,560px)}
.tpl-pair__pic img{width:100%;height:100%;object-fit:cover}
.tpl-pair__txt{display:flex;flex-direction:column;justify-content:center;padding:60px clamp(30px,6vw,120px);background:var(--foot);color:var(--white)}
.tpl-pair__txt p:first-child{font-size:clamp(24px,2vw,34px);font-weight:800;line-height:1.45;letter-spacing:-.04em}
.tpl-pair__en{margin-top:36px;font-size:14px;font-weight:500;letter-spacing:.32em;color:#c3c9cd}
.tpl-prog .tpl-h2{margin-bottom:30px}
.tpl-prog__row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,560px);gap:clamp(30px,5vw,100px);align-items:center;padding:40px 0}
.tpl-prog__row+.tpl-prog__row{border-top:1px solid var(--line)}
.tpl-prog__row h3{font-size:clamp(22px,1.7vw,28px);font-weight:800;letter-spacing:-.03em}
.tpl-prog__row h3+p{margin-top:14px;color:#444}
.tpl-prog__row img{width:100%;aspect-ratio:2;object-fit:cover;border-radius:16px}
.tpl-prog__btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.tpl-quote,.tpl-hours,.tpl-band,.tpl-no{position:relative;padding:0;color:var(--white);overflow:hidden}
.tpl-quote__bg,.tpl-hours__bg,.tpl-band__bg,.tpl-no__bg{position:absolute;inset:0;background-size:cover;background-position:center}
.tpl-quote__bg::after,.tpl-hours__bg::after,.tpl-band__bg::after,.tpl-no__bg::after{content:"";position:absolute;inset:0;background:rgba(18,21,24,.62)}
@media (min-width:1025px) and (hover:hover) and (prefers-reduced-motion:no-preference){
  .tpl-quote__bg,.tpl-hours__bg,.tpl-band__bg,.tpl-no__bg{background-attachment:fixed}
}
.tpl-quote__in{position:relative;max-width:900px;margin:0 auto;padding:clamp(90px,8vw,140px) var(--gut);text-align:center}
.tpl-quote__mark{font-family:var(--en);font-size:80px;line-height:.6;color:#d7dcdf}
.tpl-quote__in h2{margin:20px 0;font-size:clamp(26px,2.4vw,40px);font-weight:800;letter-spacing:-.04em}
.tpl-quote__in h2+p{font-size:16px;line-height:1.9;color:#e3e6e8;margin-bottom:30px}

/* ----- 의료진 ----- */
.tpl-greet .tpl-wrap,.tpl-dcard .tpl-wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,500px);gap:clamp(40px,6vw,120px);align-items:start}
.tpl-greet__txt p{margin-top:18px;font-size:16px;color:#444}
.tpl-greet__txt b{color:var(--ink)}
.tpl-greet__sign{margin-top:34px!important;font-size:17px!important}
.tpl-greet__pic,.tpl-dcard__pic{border-radius:18px;overflow:hidden;background:#d9e1e7}
.tpl-greet__pic img,.tpl-dcard__pic img{width:100%}
.tpl-dcard{padding-top:0}
.tpl-dcard__txt{padding-top:40px;border-top:1px solid #bbb}
.tpl-dcard__txt .tpl-eyebrow{letter-spacing:.42em;font-size:13px}
.tpl-dcard__txt ul{margin-top:26px;columns:2;column-gap:30px}
.tpl-dcard__txt li{position:relative;padding-left:14px;margin-bottom:6px;font-size:16px;font-weight:500}
.tpl-dcard__txt li::before{content:"";position:absolute;left:0;top:.8em;width:4px;height:4px;border-radius:50%;background:var(--ink)}
.tpl-promise{text-align:center;padding-top:0}
.tpl-promise p:first-child{font-size:clamp(24px,2.1vw,34px);font-weight:800;line-height:1.45;letter-spacing:-.04em}
.tpl-promise__en{margin-top:14px;font-size:15px;letter-spacing:.3em;color:var(--mute)}

/* ----- 인테리어 갤러리 ----- */
.tpl-gal__main{position:relative;aspect-ratio:1.6;max-height:760px;margin:0 auto;border-radius:16px;overflow:hidden;background:#ddd}
.tpl-gal__main img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .6s}
.tpl-gal__main img.is-on{opacity:1}
.tpl-gal__arrow{position:absolute;z-index:2;top:50%;width:60px;height:60px;margin-top:-30px;display:grid;place-items:center;border-radius:50%;background:rgba(43,50,55,.78);color:var(--white)}
.tpl-gal__arrow svg{width:30px;height:30px}
.tpl-gal__arrow--prev{left:20px}.tpl-gal__arrow--next{right:20px}
.tpl-gal__count{position:absolute;z-index:2;right:24px;bottom:20px;padding:4px 14px;border-radius:14px;background:rgba(43,50,55,.78);color:var(--white);font-size:15px}
.tpl-gal__thumbs{display:flex;gap:12px;margin-top:16px;overflow-x:auto;padding-bottom:6px}
.tpl-gal__thumbs li{flex:none;width:clamp(110px,10vw,170px)}
.tpl-gal__thumbs button{display:block;width:100%;aspect-ratio:1.5;border-radius:8px;overflow:hidden;opacity:.45;transition:opacity .3s;outline-offset:-2px}
.tpl-gal__thumbs button[aria-current],.tpl-gal__thumbs button:hover{opacity:1}
.tpl-gal__thumbs img{width:100%;height:100%;object-fit:cover}

/* ----- 진료안내 / 오시는 길 ----- */
.tpl-g3__list{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(20px,3vw,50px)}
.tpl-g3__list li{position:relative;padding:34px 0 0;border-top:2px solid var(--ink)}
.tpl-g3__list h2{font-size:clamp(22px,1.7vw,28px);font-weight:800;letter-spacing:-.04em}
.tpl-g3__list h2+p{margin-top:8px;font-size:15px;color:#555}
.tpl-g3__tel{display:block;margin-top:24px;font-size:clamp(32px,2.6vw,42px);font-weight:600;line-height:1}
.tpl-g3__s{margin-top:8px;font-size:14px;color:var(--mute)}
.tpl-g3__list .tpl-btn{margin-top:26px}
.tpl-g3__ico{position:absolute;right:0;top:34px;width:44px;height:44px}
.tpl-hours__in{position:relative;padding-top:clamp(80px,7vw,120px);padding-bottom:clamp(80px,7vw,120px)}
.tpl-hours__in h2{font-size:clamp(26px,2.2vw,36px);font-weight:800;letter-spacing:-.04em}
.tpl-hours__in h2+p{margin-top:8px;color:#dfe3e6}
.tpl-hours__in dl{margin-top:30px}
.tpl-hours__in dl div{display:flex;gap:20px;font-size:19px;font-weight:700}
.tpl-hours__in dt{width:90px}
.tpl-hours__s{margin-top:10px;font-size:15px;color:#dfe3e6}
.tpl-way__lead{margin-top:8px;color:#555}
.tpl-way__addr{margin-top:20px;font-size:18px;font-weight:800}
.tpl-way__map{position:relative;height:clamp(360px,34vw,520px);margin-top:20px;border-radius:16px;overflow:hidden;background:#eef0f1}
.tpl-way__map iframe{position:absolute;top:0;bottom:0;left:-420px;width:calc(100% + 420px);height:100%;max-width:none;border:0}
.tpl-way__cols{display:grid;grid-template-columns:1fr 1fr;gap:40px;margin-top:36px}
.tpl-way__cols h3{font-size:19px;font-weight:800}
.tpl-way__cols h3+p{margin-top:8px;font-size:16px;color:#444}

/* ----- 게시판 머리 ----- */
.tpl-bhead{position:relative;padding-left:clamp(22px,2vw,34px);margin-bottom:56px}
.tpl-bhead::before{content:"";position:absolute;left:0;top:6px;bottom:6px;width:2px;background:#aaa}
.tpl-bhead__label{font-size:13px;font-weight:500;letter-spacing:.42em}
.tpl-bhead__en{margin-top:10px;font-size:clamp(40px,3.4vw,60px);font-weight:500;line-height:1.05;letter-spacing:.14em}
.tpl-bhead__ko{margin-top:16px;font-size:clamp(26px,2.1vw,34px);font-weight:800;letter-spacing:-.04em}
.tpl-bhead__desc{margin-top:6px;font-size:16px;color:#444}
.tpl-bcat{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px 18px;margin-bottom:40px;padding:16px 0;border-bottom:1px solid var(--line)}
.tpl-bcat button{font-size:16px;color:#555}
.tpl-bcat button:hover{color:var(--ink)}
.tpl-bcat button[aria-pressed="true"]{color:var(--teal);font-weight:700}
.tpl-bl{width:100%;border-collapse:collapse;border-top:2px solid var(--ink);font-size:16px;text-align:center}
.tpl-bl th{padding:18px 8px;border-bottom:1px solid #bbb;font-weight:700}
.tpl-bl td{padding:20px 8px;border-bottom:1px solid var(--line);color:#555}
.tpl-bl__no{width:90px}
.tpl-bl td.tpl-bl__t{text-align:left;color:var(--ink);font-weight:500}
.tpl-bl th:nth-child(3),.tpl-bl th:nth-child(4){width:140px}
.tpl-pager{display:flex;justify-content:center;gap:6px;margin-top:50px}
.tpl-pager span{min-width:32px;height:32px;display:grid;place-items:center;border-radius:50%;font-size:14px;background:var(--foot);color:var(--white)}
.tpl-bsearch{display:flex;justify-content:center;gap:8px;margin-top:30px}
.tpl-bsearch select,.tpl-bsearch input{height:42px;padding:0 12px;border:1px solid #ccc;border-radius:2px;background:var(--white);font-size:14px}
.tpl-bsearch select{width:110px}
.tpl-bsearch input{width:min(320px,52vw)}
.tpl-bsearch button{height:42px;padding:0 24px;background:var(--foot);color:var(--white);font-size:15px}
/* 분류 · 검색 결과 안내(sub.js) */
.tpl-bresult{margin-top:24px;font-size:15px;text-align:center;color:var(--ink)}
.tpl-board__note{margin-top:24px;font-size:14px;color:var(--mute);text-align:center}
.tpl-board--cont{padding-top:0}
.tpl-vcard{display:grid;grid-template-columns:repeat(3,1fr);gap:40px 24px}
.tpl-vcard__img{position:relative;display:block;aspect-ratio:1.6;border-radius:12px;overflow:hidden}
.tpl-vcard__img img{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease)}
.tpl-vcard b{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin-top:14px;font-size:18px;font-weight:700;line-height:1.45}
.tpl-vcard time{font-family:var(--en);font-size:14px;color:var(--mute)}

/* ----- 이벤트 · 후기 게시판 ----- */
.tpl-evgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:28px 22px}
.tpl-evgrid .tpl-evc{width:auto}
.tpl-rtab{display:flex;margin:-20px 0 40px}
.tpl-rtab a{display:flex;align-items:center;justify-content:center;width:150px;height:44px;border:1px solid #bbb;font-size:16px}
.tpl-rtab li+li a{border-left:0}
.tpl-rtab a[aria-current]{background:var(--foot);border-color:var(--foot);color:var(--white);font-weight:700}
.tpl-bthumb{display:grid;grid-template-columns:repeat(5,1fr);gap:30px 18px}
.tpl-bthumb__img{position:relative;display:block;aspect-ratio:1.6;border-radius:10px;overflow:hidden}
.tpl-bthumb__img img{width:100%;height:100%;object-fit:cover}
.tpl-bthumb .tpl-ba__stamp{width:76px;height:76px;margin:-38px 0 0 -38px;font-size:12px;box-shadow:none}
.tpl-bthumb .tpl-ba__stamp svg{width:18px;height:18px}
.tpl-bthumb b{display:block;margin-top:10px;font-size:15px;font-weight:700;color:#7a5b2e}
.tpl-bthumb small{font-size:13px;color:var(--mute)}
.tpl-ba--sub{padding-top:20px}
.tpl-rbest__t{margin:10px 0 22px;font-size:22px;font-weight:800}
.tpl-rbest{position:relative;margin-bottom:70px}
.tpl-rbest__view{overflow:hidden}
.tpl-rbest .tpl-slide__track{display:flex;gap:20px;transition:transform .7s var(--ease)}
.tpl-rbest .tpl-rcard li{flex:none;width:calc((100% - 80px)/5)}
.tpl-rbest .tpl-arrows{justify-content:flex-end;margin-top:18px}
.tpl-rcard--grid{display:grid;grid-template-columns:repeat(4,1fr);gap:34px 20px}
.tpl-rcard a{position:relative;display:block}
.tpl-rcard__img{position:relative;display:block;aspect-ratio:.8;border-radius:12px;overflow:hidden;background:#ddd}
.tpl-rcard__img img{width:100%;height:100%;object-fit:cover}
.tpl-rcard b{display:block;margin-top:12px;font-size:17px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tpl-rcard small{font-size:14px;color:var(--mute)}
.tpl-rcard__lock{display:flex;align-items:center;gap:6px;margin-top:6px;font-size:13px;color:var(--teal);font-weight:500}
.tpl-rcard__lock svg{width:14px;height:14px}

/* ----- 프리미엄 시스템 · 개발 스토리 ----- */
.tpl-pintro .tpl-wrap{display:grid;grid-template-columns:1fr 1fr;gap:clamp(30px,5vw,100px);align-items:end}
.tpl-pintro h3{font-size:clamp(22px,1.8vw,30px);font-weight:800;line-height:1.4;letter-spacing:-.04em}
.tpl-pintro h3+p{margin-top:16px;color:#444}
.tpl-ps{padding-top:0}
.tpl-ps__item{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(30px,5vw,100px);align-items:center;padding:60px 0;border-top:1px solid var(--line)}
.tpl-ps__item--rev .tpl-ps__pic{order:2}
.tpl-ps__pic{aspect-ratio:1.5;border-radius:16px;overflow:hidden}
.tpl-ps__pic img{width:100%;height:100%;object-fit:cover}
.tpl-ps__no{font-size:clamp(40px,3.2vw,56px);font-weight:600;line-height:1}
.tpl-ps__en{margin-top:12px;font-size:14px;color:#555}
.tpl-ps__txt h3{margin-top:6px;font-size:clamp(23px,1.8vw,30px);font-weight:800;letter-spacing:-.04em}
.tpl-ps__txt h3+p{margin-top:12px;color:#444}
.tpl-ps__steps,.tpl-ps__three{display:grid;gap:10px;margin-top:24px}
.tpl-ps__steps li,.tpl-ps__three li{padding:14px 18px;border-radius:8px;background:var(--gray);font-size:16px;font-weight:700}
.tpl-ps__steps b{display:block;font-size:13px;color:var(--teal)}
.tpl-ps__steps span,.tpl-ps__three li{font-weight:500}
.tpl-ps__steps span{display:block;font-size:14px;color:#555}
.tpl-ps__three b{display:block;font-weight:800}
.tpl-ps__time{display:flex;flex-wrap:wrap;gap:6px 20px;margin-top:20px;font-size:18px;font-weight:800}
.tpl-only{text-align:center;background:var(--gray)}
.tpl-only__en{font-size:clamp(40px,3.4vw,60px);font-weight:600;color:var(--teal)}
.tpl-only h2{margin-top:10px;font-size:clamp(26px,2.3vw,40px);font-weight:800;line-height:1.35;letter-spacing:-.04em}
.tpl-only h2+p{margin-top:18px;color:#444}
.tpl-story .tpl-wrap{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(30px,5vw,100px)}
.tpl-story__q{font-size:clamp(20px,1.5vw,25px);font-weight:800;letter-spacing:-.03em}
.tpl-story__body p+p{margin-top:16px;color:#444}
.tpl-dev{padding-top:0}
.tpl-dev__list{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;margin-top:40px}
.tpl-dev__list li{padding:30px 26px 34px;border-radius:12px;background:var(--gray)}
.tpl-dev__list b{font-size:34px;font-weight:600;color:var(--teal);line-height:1}
.tpl-dev__list h3{margin-top:16px;font-size:20px;font-weight:800}
.tpl-dev__list h3+p{margin-top:10px;font-size:15px;color:#555}
.tpl-why .tpl-wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,520px);gap:clamp(30px,5vw,100px);align-items:center}
.tpl-why h2{font-size:clamp(26px,2.3vw,38px);font-weight:800;line-height:1.35;letter-spacing:-.04em}
.tpl-why h2+p{margin-top:18px;color:#444}
.tpl-why ul{margin-top:26px;padding:26px 30px;border:1px solid #bbb;border-radius:12px}
.tpl-why li{position:relative;padding-left:20px;font-size:16px;font-weight:700}
.tpl-why li+li{margin-top:8px}
.tpl-why li::before{content:"!";position:absolute;left:0;color:var(--teal)}
.tpl-why__pic{border-radius:16px;overflow:hidden}

/* ----- 시술 상세 ----- */
.tpl-dintro .tpl-wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,520px);gap:clamp(30px,5vw,100px);align-items:center}
.tpl-dintro__sub{margin-top:30px;font-size:clamp(21px,1.6vw,27px);font-weight:300;line-height:1.45}
.tpl-dintro__name{font-size:clamp(30px,2.5vw,42px);font-weight:800;letter-spacing:-.04em}
.tpl-dintro__name+p{margin-top:18px;max-width:660px;color:#444}
.tpl-dintro__pic{border-radius:18px;overflow:hidden}
.tpl-dintro__pic img{width:100%}
.tpl-worry{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:0;background:var(--char);color:var(--white)}
.tpl-worry__txt{display:flex;flex-direction:column;justify-content:center;padding:80px clamp(30px,6vw,140px)}
.tpl-worry__s{font-size:clamp(19px,1.4vw,23px);font-weight:700;line-height:1.5;color:#cfd4d8}
.tpl-worry__txt h2{margin-top:20px;font-size:clamp(28px,2.4vw,42px);font-weight:800;line-height:1.3;letter-spacing:-.04em}
.tpl-worry__txt h2+p{margin-top:24px;font-size:16px;color:#c9ced2}
.tpl-worry__pics{display:grid;grid-template-columns:1fr 1fr;min-height:clamp(420px,38vw,640px)}
.tpl-worry__pics img{width:100%;height:100%;object-fit:cover}
.tpl-five .tpl-wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,440px);gap:clamp(30px,5vw,100px);align-items:center}
.tpl-five__pics{display:grid;grid-template-columns:1fr 1.3fr 1fr;gap:12px;align-items:center}
.tpl-five__pics img{width:100%;aspect-ratio:.7;object-fit:cover;border-radius:12px}
.tpl-five__pics img:nth-child(2){aspect-ratio:.6}
.tpl-five__txt h2{font-size:clamp(28px,2.4vw,40px);font-weight:800;line-height:1.3;letter-spacing:-.04em}
.tpl-five__s{margin-top:12px;font-size:15px;color:#555}
.tpl-five__txt ul{margin:16px 0}
.tpl-five__txt li{position:relative;padding-left:14px;font-size:17px;font-weight:700}
.tpl-five__txt li::before{content:"";position:absolute;left:0;top:.75em;width:5px;height:5px;border-radius:50%;background:var(--ink)}
.tpl-five__txt .tpl-btn{margin-top:26px}
.tpl-pledge{background:var(--gray);padding:var(--sec) 0}
.tpl-pledge__txt{max-width:calc(var(--max) + var(--gut)*2);margin:0 auto;padding:0 var(--gut)}
.tpl-pledge__s{font-size:18px;font-weight:700;color:var(--teal)}
.tpl-pledge__txt h2{margin-top:8px;font-size:clamp(28px,2.5vw,42px);font-weight:800;line-height:1.3;letter-spacing:-.04em}
.tpl-pledge__txt ul{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:40px}
.tpl-pledge__txt li{display:flex;flex-direction:column;padding:26px 24px;border-radius:12px;background:var(--white)}
.tpl-pledge__txt li svg{width:30px;height:30px;color:var(--teal)}
.tpl-pledge__txt li b{margin-top:14px;font-size:19px;font-weight:800;letter-spacing:-.03em}
.tpl-pledge__txt li span{margin-top:6px;font-size:15px;color:#555}
.tpl-pledge__n{margin-top:22px;font-size:14px;color:var(--mute)}
.tpl-band__in,.tpl-no__in{position:relative;padding-top:clamp(90px,8vw,140px);padding-bottom:clamp(90px,8vw,140px)}
.tpl-band__s,.tpl-no__s{font-size:clamp(19px,1.5vw,25px);font-weight:700;line-height:1.45;color:#dce1e4}
.tpl-band__in h2{margin-top:6px;font-size:clamp(30px,2.6vw,44px);font-weight:800;letter-spacing:-.04em}
.tpl-band__in h2+p{margin-top:18px;font-size:16px;color:#e3e6e8}
.tpl-band__in .tpl-tags{color:#e3e6e8}
.tpl-proc__lead{margin-top:10px;color:#555}
.tpl-proc__list{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;margin-top:40px}
.tpl-proc__list li{padding:34px 26px 38px;border:1px solid var(--line);border-radius:12px;text-align:center}
.tpl-proc__n{display:block;font-size:44px;font-weight:600;line-height:1;color:#b7bec3}
.tpl-proc__list h3{margin-top:18px;font-size:19px;font-weight:800}
.tpl-proc__list h3+p{margin-top:8px;font-size:15px;color:#555}
.tpl-cmp{padding-top:0}
.tpl-cmp__t{width:100%;margin-top:34px;border-collapse:collapse;text-align:center;font-size:16px}
.tpl-cmp__t th,.tpl-cmp__t td{padding:18px 12px;border-bottom:1px solid var(--line)}
.tpl-cmp__t thead th{border-bottom:2px solid var(--ink);font-weight:800}
.tpl-cmp__t thead th:last-child,.tpl-cmp__t td:last-child{color:var(--teal);font-weight:700}
.tpl-cmp__t tbody th{font-weight:700}
.tpl-target{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);padding:0;background:var(--foot);color:var(--white)}
.tpl-target__pic{min-height:clamp(420px,36vw,600px)}
.tpl-target__pic img{width:100%;height:100%;object-fit:cover}
.tpl-target__txt{display:flex;flex-direction:column;justify-content:center;padding:70px clamp(30px,6vw,130px)}
.tpl-target__txt h2{font-size:clamp(28px,2.3vw,40px);font-weight:800;letter-spacing:-.04em;color:#c6ccd0}
.tpl-target__txt ol{margin-top:28px}
.tpl-target__txt li{display:flex;gap:18px;padding:6px 0;font-size:16px;font-weight:500}
.tpl-target__txt li b{font-weight:500;color:#aab2b7}
.tpl-target__txt ol+p{margin-top:26px;font-size:15px;color:#b9c0c4}
.tpl-area .tpl-wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(30px,5vw,100px);align-items:center}
.tpl-area__txt p{margin-top:14px;color:#444}
.tpl-area__list{display:flex;flex-wrap:wrap;gap:12px}
.tpl-area__list li span{display:inline-flex;align-items:center;height:48px;padding:0 24px;border:1px solid #9aa2a7;border-radius:24px;font-size:16px;font-weight:700}
.tpl-step--sub{background:var(--gray)}
.tpl-no__big{font-size:clamp(80px,7.4vw,130px);font-weight:600;line-height:1;color:#c5ccd1}
.tpl-no__in h2{margin-top:16px;font-size:clamp(26px,2.2vw,38px);font-weight:800;line-height:1.35;letter-spacing:-.04em}
.tpl-no__in h2+p{margin-top:16px;font-size:16px;color:#e3e6e8}

/* ----- 양식 ----- */
.tpl-privbox{margin-bottom:40px}
.tpl-privbox h3{font-size:18px;font-weight:800}
.tpl-privbox__in{height:190px;margin-top:12px;padding:20px 22px;overflow-y:auto;border:1px solid #ccc;font-size:14px;line-height:1.8;color:#555}
.tpl-privbox__in p+p{margin-top:12px}
.tpl-privbox__ok{display:flex;align-items:center;gap:8px;margin-top:12px;font-size:15px}
.tpl-privbox__ok input{width:18px;height:18px;accent-color:var(--teal)}
.tpl-form{display:grid;gap:18px;max-width:900px}
.tpl-form--narrow{max-width:520px;margin:0 auto}
.tpl-form__row{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.tpl-field{display:grid;gap:8px}
.tpl-field>span{font-size:15px;font-weight:700}
.tpl-field input,.tpl-field select,.tpl-field textarea{width:100%;min-height:50px;padding:12px 14px;border:1px solid #c6cacd;border-radius:3px;background:var(--white);font-size:16px}
.tpl-field textarea{resize:vertical}
.tpl-form__warn{font-size:14px;color:#a33d2d}
.tpl-form__row--spam{grid-template-columns:auto 1fr;align-items:end}
.tpl-form__spam{display:grid;place-items:center;width:150px;height:50px;border-radius:3px;background:var(--gray);font-size:24px;font-weight:600;letter-spacing:.1em}
.tpl-form__chk{display:flex;flex-wrap:wrap;gap:10px 22px;padding:0;border:0;margin:0}
.tpl-form__chk legend{margin-bottom:10px;font-size:15px;font-weight:700}
.tpl-form__chk label,.tpl-form__agree label{display:flex;align-items:center;gap:8px;font-size:15px}
.tpl-form__chk input,.tpl-form__agree input{width:18px;height:18px;accent-color:var(--teal)}
.tpl-form__agree--box{display:grid;gap:10px;padding:20px;border:1px solid #ccc}
.tpl-form__agree a{color:var(--teal);text-decoration:underline}
.tpl-form__submit{height:58px;background:var(--teal);color:var(--white);font-size:18px;font-weight:700;transition:background .3s}
.tpl-form__submit:hover{background:var(--ink)}
.tpl-form__note{font-size:14px;color:var(--mute);text-align:center}
.tpl-member__links{display:flex;justify-content:center;gap:28px;font-size:15px}
.tpl-member__links a:hover{text-decoration:underline}
.tpl-howto{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.tpl-howto li{padding:30px 26px;border-radius:12px;background:var(--gray)}
.tpl-howto b{font-size:30px;font-weight:600;color:var(--teal)}
.tpl-howto h3{margin-top:12px;font-size:20px;font-weight:800}
.tpl-howto h3+p{margin-top:8px;color:#555}
.tpl-howto__cta{margin-top:40px;text-align:center}
.tpl-howto__cta p{margin-bottom:18px;color:#444}
.tpl-policy article+article{margin-top:34px}
.tpl-policy h3{font-size:19px;font-weight:800}
.tpl-policy h3+p{margin-top:8px;color:#444}

/* ----- 반응형 ----- */
@media (max-width:1280px){
  .tpl-bthumb{grid-template-columns:repeat(4,1fr)}
  .tpl-rbest .tpl-rcard li{width:calc((100% - 60px)/4)}
}
@media (max-width:1024px){
  .tpl-snb__in{flex-direction:column;align-items:stretch;gap:0}
  .tpl-snb__path{padding-top:14px}
  .tpl-snb__tabs a{height:56px;font-size:16px}
  .tpl-motto__cols,.tpl-pair,.tpl-worry,.tpl-target,.tpl-pintro .tpl-wrap,.tpl-story .tpl-wrap,.tpl-area .tpl-wrap{grid-template-columns:1fr}
  .tpl-greet .tpl-wrap,.tpl-dcard .tpl-wrap,.tpl-dintro .tpl-wrap,.tpl-why .tpl-wrap,.tpl-five .tpl-wrap,.tpl-prog__row{grid-template-columns:1fr}
  .tpl-greet__pic,.tpl-dcard__pic,.tpl-dintro__pic,.tpl-why__pic{max-width:520px}
  .tpl-dcard__pic{order:-1}
  .tpl-plist__list li{grid-template-columns:1fr;gap:16px;padding:0 var(--gut);margin-top:40px}
  .tpl-plist__list{padding-right:0}
  .tpl-plist__pic{border-radius:14px}
  .tpl-ps__item{grid-template-columns:1fr;gap:24px}
  .tpl-ps__item--rev .tpl-ps__pic{order:0}
  .tpl-g3__list,.tpl-howto{grid-template-columns:1fr}
  .tpl-evgrid{grid-template-columns:repeat(2,1fr)}
  .tpl-vcard{grid-template-columns:repeat(2,1fr)}
  .tpl-bthumb{grid-template-columns:repeat(3,1fr)}
  .tpl-rcard--grid{grid-template-columns:repeat(3,1fr)}
  .tpl-rbest .tpl-rcard li{width:calc((100% - 40px)/3)}
  .tpl-dev__list,.tpl-proc__list,.tpl-pledge__txt ul{grid-template-columns:repeat(2,1fr)}
  .tpl-worry__txt,.tpl-target__txt,.tpl-pair__txt{padding:60px var(--gut)}
  .tpl-worry__pics{min-height:420px}
  .tpl-target__pic,.tpl-pair__pic{min-height:360px}
}
@media (max-width:768px){
  .tpl-sv{height:380px}
  .tpl-sv__in{padding-top:48px}
  .tpl-sv__title{font-size:28px}
  .tpl-sv__desc{font-size:15px}
  .tpl-sv__word{font-size:56px}
  .tpl-bhead__en{letter-spacing:.06em}
  .tpl-bl thead,.tpl-bl .tpl-bl__no,.tpl-bl td:nth-child(4){display:none}
  .tpl-bl td{padding:16px 6px;font-size:15px}
  .tpl-bl td:nth-child(3){width:96px;font-size:13px}
  .tpl-evgrid,.tpl-vcard,.tpl-dev__list,.tpl-proc__list,.tpl-pledge__txt ul{grid-template-columns:1fr}
  .tpl-bthumb,.tpl-rcard--grid{grid-template-columns:repeat(2,1fr);gap:24px 12px}
  .tpl-rbest .tpl-rcard li{width:calc((100% - 20px)/2)}
  .tpl-rcard b{font-size:15px}
  .tpl-way__cols,.tpl-form__row{grid-template-columns:1fr}
  .tpl-dcard__txt ul{columns:1}
  .tpl-five__pics{gap:6px}
  .tpl-worry__pics{min-height:300px}
  .tpl-bcat{justify-content:flex-start}
  .tpl-rtab a{width:120px}
  .tpl-cmp__t{font-size:14px}
  .tpl-cmp__t th,.tpl-cmp__t td{padding:14px 6px}
  .tpl-hours__in dl div{font-size:16px;gap:12px}
  .tpl-hours__in dt{width:70px}
  .tpl-form__spam{width:110px}
}
/* 격자 칸이 한 줄 말줄임 글자 때문에 넓어지지 않게 합니다 */
.tpl-rcard li,.tpl-bthumb li,.tpl-evgrid li,.tpl-vcard li{min-width:0}


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

/* ---------- 로고 : 올웹 로고(지침 3-1)입니다. 원본 그림 자리와 같은 폭(머리글 150 · 푸터 190px)이고, 흰 머리글은 진한 글자 판, 짙은 푸터는 흰 글자 판입니다 ---------- */
.tpl-logo { --accent: #2e5868; color: var(--ink); }
.tpl-logo a, .tpl-logo--foot { display: block; }
.tpl-logo .logo-svg, .tpl-logo .logo-img { display: block; width: 150px; height: auto; }
.tpl-logo .logo-img { max-height: 44px; object-fit: contain; object-position: left center; }
.tpl-footer__logo .tpl-logo--foot { --accent: #8fb7c6; color: var(--white); margin-bottom: 46px; }
.tpl-footer__logo .logo-svg, .tpl-footer__logo .logo-img { width: 190px; max-height: none; }
@media (max-width: 1440px) and (min-width: 1280px) { .tpl-header .tpl-logo .logo-svg, .tpl-header .tpl-logo .logo-img { width: clamp(120px, 9.6vw, 150px); } }
@media (max-width: 1024px) { .tpl-header .tpl-logo .logo-svg, .tpl-header .tpl-logo .logo-img { width: 128px; } }
@media (max-width: 768px) { .tpl-footer__logo .tpl-logo--foot { margin-bottom: 30px; } .tpl-footer__logo .logo-svg { width: 160px; } }

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

/* ---------- 그누보드 기본 CSS(default.css)의 입력 칸 파란 그림자를 거둡니다 ---------- */
.tpl-field input:focus, .tpl-field select:focus, .tpl-field textarea:focus, .tpl-bsearch input:focus, .tpl-cmt textarea:focus { box-shadow: none; }

/* ---------- 오른쪽 빠른 메뉴(.tpl-side) : 콘솔 「디자인 > 퀵메뉴」 의 칸입니다. 맨 위에서는 숨고 내려가면 나타납니다(지침 3-4).
   숨어 있을 때는 키보드 · 화면 낭독기도 건너뛰게 visibility 를 함께 끕니다. 이름이 길면(최대 12자) 동그라미 안에서 줄을 바꿉니다 ---------- */
.tpl-side { visibility: hidden; opacity: 0; transition: opacity .35s, visibility 0s linear .35s; }
body:not(.is-top) .tpl-side { visibility: visible; opacity: 1; transition-delay: 0s; }
.tpl-side a span, .tpl-side button span { max-width: 54px; text-align: center; word-break: keep-all; overflow-wrap: anywhere; }
.tpl-side a:focus-visible, .tpl-side button:focus-visible { background: var(--ink); }
.tpl-side .tpl-side__img { width: 22px; height: 22px; flex: none; object-fit: contain; }
@media (prefers-reduced-motion: reduce) { .tpl-side { transition: none; } }

/* ---------- 지도 : 카카오맵(allweb_tpl_map_html)이 .biz-map 에 그립니다. 키가 없을 때의 iframe 은 원본 .tpl-map iframe · .tpl-way__map iframe 이 왼쪽 검색 패널을 잘라 냅니다.
   휴대폰은 카카오가 iframe 을 막아 「카카오맵에서 보기」 단추만 가운데에 섭니다 ---------- */
.tpl-map .biz-map, .tpl-way__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: 4px; background: var(--ink); font-size: 15px; color: var(--white); white-space: nowrap; transition: background .3s; }
.loc-map-go:hover, .loc-map-go:focus-visible { background: var(--teal); }
.loc-map-foot { display: none; }

/* ---------- 게시판 목록 : 원본 카드(영상 · 이벤트 · 성공후기 · 리얼후기)는 원본에 없던 글 보기 링크로 감쌌습니다. 분류 단추(.tpl-bcat)는 게시판 분류 링크입니다 ---------- */
.tpl-vcard a, .tpl-evgrid a { display: block; }
.tpl-vcard a:hover .tpl-vcard__img img { transform: scale(1.05); }
.tpl-bcat a { font-size: 16px; color: #555; }
.tpl-bcat a:hover { color: var(--ink); }
.tpl-bcat a[aria-pressed="true"] { color: var(--teal); font-weight: 700; }
.tpl-bl td.tpl-bl__t a:hover { color: var(--teal); }
.tpl-bl .tpl-ico--s { display: inline-block; width: 15px; height: 15px; margin-right: 4px; vertical-align: -2px; }
.tpl-pager a { min-width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; font-size: 14px; color: #555; transition: background .3s, color .3s; }
.tpl-pager a:hover { background: var(--gray); color: var(--ink); }
.tpl-board__empty { padding: 56px 0; border-bottom: 1px solid var(--line); text-align: center; color: var(--mute); }
.tpl-bl + .tpl-board__empty { border-top: 0; }
.tpl-boardfoot { display: flex; justify-content: flex-end; margin-top: 28px; }
.tpl-boardbtn, .tpl-darkbtn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 26px; border: 0; border-radius: 3px; background: var(--teal); font-size: 16px; font-weight: 700; color: var(--white); cursor: pointer; transition: background .3s; }
.tpl-boardbtn:hover, .tpl-darkbtn:hover, .tpl-darkbtn:focus-visible { background: var(--ink); }
.tpl-linebtn { display: inline-flex; align-items: center; height: 48px; padding: 0 24px; border: 1px solid #c6cacd; border-radius: 3px; background: var(--white); font-size: 15px; color: #333; transition: border-color .3s, color .3s; }
.tpl-linebtn:hover, .tpl-linebtn:focus-visible { border-color: var(--teal); color: var(--teal); }

/* ---------- 글 보기 · 쓰기 · 댓글 : 원본에 없는 화면이라 원본 게시판의 말씨(2px 먹색 윗선 · 회색 선 · 회청 단추)로 그렸습니다 ---------- */
.tpl-view { border-top: 2px solid var(--ink); }
.tpl-view__head { padding: 30px 0 24px; border-bottom: 1px solid var(--line); }
.tpl-tag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 2px; background: var(--teal); font-size: 13px; font-weight: 500; color: var(--white); }
.tpl-view__title { margin-top: 10px; font-size: clamp(22px, 2vw, 30px); font-weight: 700; line-height: 1.4; letter-spacing: -.04em; }
.tpl-view__meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 12px; font-size: 14px; color: var(--mute); }
.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 0 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; }
.tpl-view__body iframe { max-width: 100%; }
.tpl-view__body a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.tpl-locknote { padding: 22px 24px; background: var(--gray); font-size: 16px; color: #444; }
.tpl-locknote a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.tpl-files { display: grid; gap: 8px; padding: 18px 0; 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(--teal); }
.tpl-files span { color: var(--mute); 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 8px; border-bottom: 1px solid var(--line); transition: background .3s; }
.tpl-prevnext a:hover { background: var(--gray); }
.tpl-prevnext span { font-size: 14px; color: var(--mute); }
.tpl-prevnext strong { font-weight: 500; 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; }
.tpl-cmt__tit b { color: var(--teal); }
.tpl-cmt__list { margin-top: 14px; border-top: 2px solid var(--ink); }
.tpl-cmt__list li { padding: 18px 4px; 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(--mute); }
.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: 1px solid var(--line); background: #fafafa; }
.tpl-cmt__form .tpl-view__btns { margin-top: 8px; }
/* 글쓰기 · 회원 폼 : 원본 폼(.tpl-form)을 본문 전체 폭으로 씁니다(지침 3-2). 입력 칸이 여럿인 칸(.tpl-field__in)과 그누보드 편집 · 첨부 · 옵션 칸을 덧붙입니다 */
.tpl-form--board, .tpl-form--member { max-width: none; }
div.tpl-field > span label { font: inherit; }
.tpl-field > span em { font-style: normal; font-size: 13px; color: var(--teal); }
.tpl-field__in > * + * { margin-top: 8px; }
.tpl-field input[type="checkbox"], .tpl-field input[type="radio"] { width: auto; min-height: 0; padding: 0; }
.tpl-field input[type="file"] { padding: 10px 12px; background: var(--white); }
.tpl-field textarea { min-height: 220px; }
.tpl-form__hint { margin-top: 6px; font-size: 13px; color: var(--mute); }
.tpl-form__agree span a { margin-left: 4px; }
.tpl-agreebox input[type="checkbox"] { width: 16px; height: 16px; flex: none; accent-color: var(--teal); }
.tpl-check { display: inline-flex; align-items: center; gap: 8px; margin: 2px 18px 2px 0; font-size: 15px; }
.tpl-check input { flex: none; width: 18px !important; height: 18px; min-height: 0 !important; margin: 0; accent-color: var(--teal); }
.tpl-consent { max-height: 220px; overflow-y: auto; padding: 18px 20px; border: 1px solid var(--line); background: #fafafa; font-size: 14px; color: var(--mute); }
.tpl-consent strong { display: block; margin-bottom: 6px; font-size: 15px; color: var(--ink); }
.tpl-member__links { display: flex; justify-content: center; gap: 22px; font-size: 15px; color: #555; }
.tpl-member__links a:hover { color: var(--teal); }
/* 자동등록방지 : 리셋의 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 #c6cacd; border-radius: 3px; background: var(--white); vertical-align: middle; font-size: 16px; }
#captcha button { vertical-align: middle; }
#captcha #captcha_info { display: block; margin-top: 6px; font-size: 13px; color: var(--mute); }
@media (max-width: 768px) {
  .tpl-prevnext a { grid-template-columns: 64px minmax(0, 1fr); }
  .tpl-cmt__form { padding: 20px 18px; }
}

/* ---------- 회원 화면 : 로그인 · 비밀번호 확인은 원본 login.html 의 좁은 폼(.tpl-form--narrow), 회원가입 · 정보 입력 · 가입 완료는 다른 본문과 같은 전체 폭입니다(지침 3-2) ---------- */
.tpl-member--find .tpl-find { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.tpl-form__title { margin-bottom: 6px; font-size: 20px; font-weight: 700; }
.tpl-find__desc { margin-bottom: 22px; font-size: 15px; color: var(--mute); }
.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: 500; color: var(--teal); 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-field input[readonly] { background: #f1f1f1; }
.tpl-done__info { border-top: 2px solid var(--ink); }
.tpl-done__info > div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
.tpl-done__info dt { color: var(--mute); }
a.tpl-form__submit { display: flex; align-items: center; justify-content: center; }
.tpl-form__submit .tpl-ico, .tpl-form__submit svg { width: 16px; height: 16px; margin-left: 6px; }
@media (max-width: 768px) {
  .tpl-member--find .tpl-find { grid-template-columns: 1fr; }
}

/* ---------- 그누보드 화면(전체 검색 · 새 글 · 기본 스킨)을 원본 본문 폭 안에 넣습니다 ---------- */
.allweb-gnu { max-width: calc(var(--max) + var(--gut) * 2); padding-left: var(--gut); padding-right: var(--gut); }
.allweb-gnu .btn_submit, .allweb-gnu .btn_b01, .allweb-gnu .btn_b02 { border-radius: 3px; background: var(--teal); color: var(--white); }

/* ---------- 팝업 : 흰 직각 판 · 위 회청 4px 선, 제목 위 Jost 「NOTICE」, 회청 단추(올리면 먹색), 옅은 회색 아래 띠 ---------- */
.tpl-pop__item { border-top: 4px solid var(--teal); border-radius: 4px; overflow: hidden; background: var(--white); box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); }
.tpl-pop__body { padding: 30px 30px 28px; }
.tpl-pop__title { margin: 0 0 12px; font-size: 21px; font-weight: 800; line-height: 1.4; letter-spacing: -.04em; color: var(--ink); }
.tpl-pop__title::before { content: "NOTICE"; display: block; margin-bottom: 8px; font-family: var(--en); font-size: 13px; font-weight: 500; letter-spacing: .3em; color: var(--teal); }
.tpl-pop__text { margin: 0; font-size: 16px; line-height: 1.75; color: var(--mute); }
.tpl-pop__more { display: inline-flex; align-items: center; height: 46px; margin-top: 20px; padding: 0 22px; border-radius: 3px; background: var(--teal); font-size: 15px; font-weight: 700; color: var(--white); transition: background .3s; }
.tpl-pop__more:hover, .tpl-pop__more:focus-visible { background: var(--ink); }
.tpl-pop__more:first-child { margin-top: 0; }
.tpl-pop__foot { background: var(--gray); }
.tpl-pop__foot button { min-height: 48px; padding: 0 12px; border: 0; background: transparent; font-size: 14px; color: var(--mute); transition: background .25s, color .25s; }
.tpl-pop__foot button + button { border-left: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.tpl-pop__foot button:hover, .tpl-pop__foot button:focus-visible { background: var(--foot); color: var(--white); }
