/* 새 로고 시안(2026-11-24): 공통. 짙은 초록 #1C6B3A = 로고·글자·버튼, 라임 #8BC34A = 장식. 이름은 받은 로고 글자를 그대로 쓴다(벡터). */
@font-face { font-family: "NSNeo"; font-weight: 400; font-display: swap; src: url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-bRg.woff) format("woff"); }
@font-face { font-family: "NSNeo"; font-weight: 700; font-display: swap; src: url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-cBd.woff) format("woff"); }
@font-face { font-family: "NSNeo"; font-weight: 800; font-display: swap; src: url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-dEb.woff) format("woff"); }
:root { --g: #1C6B3A; --g2: #175a31; --lime: #8BC34A; --k: #1C1C1C; --paper: #f4f2e9; --muted: #55695b; --gut: clamp(20px, 5vw, 72px); --hh: max(calc(100svh - 38px), 560px); --ease: cubic-bezier(.45, 0, .15, 1); }
@media (min-width: 1024px) { :root { --gut: 96px; } }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--g); font: 400 16px/1.7 "NSNeo", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; word-break: keep-all; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.icon { width: 1.2em; height: 1.2em; fill: currentColor; flex: none; }
:focus-visible { outline: 2px solid var(--g); outline-offset: 3px; }

/* 위쪽 띠 */
.bar { position: relative; z-index: 60; display: flex; align-items: center; gap: 4px 14px; min-height: 38px; padding: 6px var(--gut); background: #121417; color: #a9b1ba; font-size: .8125rem; line-height: 1.5; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.bar::-webkit-scrollbar { display: none; }
.bar b { color: #fff; font-weight: 800; }
.bar a:hover { color: #fff; }
.bar__in { display: flex; gap: 12px; padding-left: 14px; border-left: 1px solid #3a4048; }
.bar__in i { font-style: normal; color: #5d6670; }
.bar__in a[aria-current="page"] { color: #fff; font-weight: 800; text-decoration: underline; text-underline-offset: .35em; }
.bar__re { margin-left: auto; padding-left: 14px; text-decoration: underline; text-underline-offset: .3em; }
.bar__note { padding-left: 14px; }
@media (max-width: 899px) { .bar__note { display: none; } }
@media (max-width: 899px) { .bar { padding-inline: 16px; font-size: .75rem; } }

/* 머리글 */
.site { position: absolute; z-index: 30; left: 0; right: 0; top: 38px; }
.site__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 20px; padding: 14px var(--gut) 0; }
.lg svg { height: 27px; width: auto; }
.site__nav { order: 3; width: 100%; display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; font-size: .9375rem; font-weight: 700; }
.site__nav::-webkit-scrollbar { display: none; }
.site__nav a { flex: none; padding: 10px 0 12px; white-space: nowrap; transition: opacity .25s; }
.site__nav a:hover { opacity: .6; }
.site__tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 559px) { .site__tel span { display: none; } }
@media (min-width: 900px) {
  .site__in { flex-wrap: nowrap; gap: 40px; padding-top: 0; min-height: 88px; }
  .lg svg { height: 32px; }
  .site__nav { order: 0; width: auto; margin-left: auto; gap: clamp(22px, 2.6vw, 40px); overflow: visible; }
  .site__nav a { padding: 8px 0; }
}

/* 버튼, 안내 */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border: 1px solid transparent; border-radius: 999px; font: 700 .9375rem/1 "NSNeo", "Malgun Gothic", sans-serif; white-space: nowrap; transition: background-color .3s, border-color .3s; }
.btn--main { background: var(--g); color: #fff; }
.btn--main:hover { background: var(--g2); }
.btn--sub { border-color: rgb(28 107 58 / .42); background: var(--btn-bg, transparent); }
.btn--sub:hover { border-color: var(--g); }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.meta { display: grid; justify-items: center; gap: 18px; text-align: center; }
.meta p { font-size: 1.0625rem; line-height: 1.6; }
.meta b { display: block; font-weight: 800; }
.meta span { color: var(--muted); }

/* 첫 화면 */
.hero { position: relative; min-height: var(--hh); overflow: hidden; }
.wm, .mk { width: 100%; height: auto; overflow: visible; }
.c { display: grid; justify-items: center; align-content: center; gap: clamp(26px, 5.6vh, 60px); min-height: var(--hh); padding: 132px var(--gut) 64px; }
@media (max-width: 899px) { .c { padding: 150px 20px 96px; } .meta { width: 100%; } .meta .btns { width: 100%; display: grid; grid-template-columns: 1fr 1fr; } .btn { padding: 0 14px; } }
.ph { position: absolute; inset: 0; display: block; }
.ph img { width: 100%; height: 100%; object-fit: cover; }

/* 빠른 연락 */
.quick { position: fixed; z-index: 50; display: grid; background: #fff; color: #16202b; box-shadow: 0 8px 28px rgb(0 0 0 / .16); border-radius: 18px; overflow: hidden; }
.quick a { display: grid; justify-items: center; gap: 5px; padding: 10px 4px 9px; font: 800 .6875rem/1.2 "NSNeo", "Malgun Gothic", sans-serif; }
.quick a .icon { width: 20px; height: 20px; }
.quick a.q-kakao { background: #FEE500; color: rgb(0 0 0 / .85); }
.quick a.q-kakao .icon { color: #000; }
.quick a.q-naver { background: #03C75A; color: #fff; }
.quick a.q-blog .icon { width: 24px; height: 24px; margin-block: -2px; }
@media (min-width: 900px) { .quick { right: 20px; bottom: 20px; width: 74px; } .quick a + a { border-top: 1px solid rgb(0 0 0 / .06); } .quick a { padding: 14px 4px 12px; } }
@media (max-width: 899px) { .quick { left: 0; right: 0; bottom: 0; grid-template-columns: repeat(3, 1fr) 1.4fr; padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -1px 0 rgb(0 0 0 / .1); border-radius: 0; } }

/* 시작 장면: 새 로고의 블록 네 개가 제자리로 맞춰지고 이름이 한 글자씩 나온 뒤, 블록은 왼쪽 위 로고 자리로 옮겨 붙는다. 창마다 한 번. */
.intro { position: fixed; inset: 0; z-index: 80; display: none; place-items: center; background: var(--paper); }
.js .intro { display: grid; }
.no-intro .intro { display: none; }
.intro__in { display: grid; justify-items: center; width: min(62vw, 420px); }
.intro__mk { width: 50.65%; height: auto; margin-bottom: 4.09%; overflow: visible; }
.intro__wm { width: 100%; height: auto; overflow: visible; }
.intro .t { transform-box: fill-box; transform-origin: center; opacity: 0; transform: translateY(var(--dy)) rotate(var(--r)); }
.intro.play .t { opacity: 1; transform: none; transition: opacity .35s ease var(--d), transform 1.15s var(--ease) var(--d); }
.intro .g { opacity: 0; transform: translateY(26px); }
.intro.play .g { opacity: 1; transform: none; transition: opacity .5s ease var(--d), transform .7s cubic-bezier(.2, .8, .2, 1) var(--d); }
.intro.out { background: rgb(244 242 233 / 0); pointer-events: none; transition: background-color .7s ease .15s; }
/* 옮겨 오는 동안 제자리의 로고와 이름은 감춰 둔다 */
.pre .lg svg, .pre .hero .wm { visibility: hidden; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ---- 17회차 (6-6 수정본, body.r2): 가로형 로고, 메뉴 여섯 개, 빠른 메뉴는 네이버 예약을 맨 위에 가장 크게 ---- */
.r2 .lg svg { height: 23px; }
@media (min-width: 900px) {
  .r2 .lg svg { height: 28px; }
  .r2 .site__in { gap: 28px; }
  .r2 .site__nav { gap: clamp(16px, 2.1vw, 34px); }
}
/* 메뉴가 여섯 개라 좁은 PC 화면에서는 전화번호 글자를 접는다 (아이콘은 남고, 빠른 메뉴에도 전화가 있다) */
@media (min-width: 900px) and (max-width: 1199px) { .r2 .site__tel span { display: none; } }
.quick--r2 a.q-kakao { background: #fff; color: #16202b; }
.quick--r2 a.q-kakao .icon { width: 26px; height: 26px; padding: 5px; margin-block: -3px; border-radius: 8px; background: #FEE500; color: #000; }
@media (min-width: 900px) {
  .quick--r2 { width: 84px; }
  .quick--r2 a.q-naver { gap: 7px; padding: 20px 4px 17px; font-size: .75rem; }
  .quick--r2 a.q-naver .icon { width: 24px; height: 24px; }
}
@media (max-width: 899px) {
  .quick--r2 { grid-template-columns: repeat(3, 1fr) 1.7fr; }
  .quick--r2 a.q-naver { order: 4; font-size: .8125rem; }
  /* 12/1 원장님 요청: 전화·네이버 톡톡·카카오톡·블로그·네이버 예약 다섯 개를 같은 폭으로 (네이버 예약은 초록 바탕 그대로) */
  .quick--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .quick--5 a { padding-inline: 2px; white-space: nowrap; }
  .quick--5 a.q-naver { order: 5; font-size: .6875rem; }
}
.quick a.q-talk .icon { width: 24px; height: 24px; margin-block: -2px; }
@media (max-width: 899px) { .q-pc { display: none; } .quick a.q-way { display: none; } }      /* 12/4: '오시는 길'은 PC 빠른 메뉴에만, 휴대폰 아래 버튼은 다섯 개 그대로 */      /* 12/2: '네이버 톡톡'은 PC 빠른 메뉴에서만, 휴대폰 아래 버튼은 '톡톡' 그대로 */

/* ---- 위의 검은 띠가 없는 화면 (body.nobar: 원장님께 그대로 보내는 수정본). 띠 높이 38px 만큼 잡아 둔 자리를 되돌린다 ---- */
.nobar { --hh: max(100svh, 560px); }
.nobar .site { top: 0; }
/* 상단 공지 띠배너 (예시): 머리글 위 한 줄. 누르면 원장님이 정한 네이버 플레이스 소식이나 블로그 공지 글로 간다 */
.note { position: relative; z-index: 60; display: flex; align-items: center; justify-content: center; gap: 12px; height: 38px; padding: 0 var(--gut); background: var(--g); color: #fff; font-size: .875rem; line-height: 1; white-space: nowrap; }
.note b { flex: none; padding: 5px 8px 4px; border: 1px solid rgb(255 255 255 / .55); font-size: .75rem; font-weight: 700; }
.note span { overflow: hidden; text-overflow: ellipsis; }
.note i { flex: none; font-style: normal; text-decoration: underline; text-underline-offset: .3em; opacity: .85; }
.note:hover i { opacity: 1; }
@media (max-width: 599px) { .note { justify-content: flex-start; gap: 8px; padding: 0 16px; font-size: .8125rem; } .note i { display: none; } }
