* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  word-break: keep-all;
  letter-spacing: inherit;
  line-height: inherit;
  letter-spacing: -0.02em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
  font-weight: inherit;
  font-style: normal;
  font-size: inherit;
}

i,
em,
address {
  font-style: normal;
}

b {
  font-weight: 700;
}

p {
  font-size: 20px;
  line-height: 1.6;
}
section {
  overflow: hidden;
  width: 100%;
}

img,
video {
  max-width: 100%;
}
/* font */
@font-face {
  font-family: "Paperlogy";
  src: url("/assets/font/Paperlogy-3Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Paperlogy";
  src: url("/assets/font/Paperlogy-4Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Paperlogy";
  src: url("/assets/font/Paperlogy-6SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Paperlogy";
  src: url("/assets/font/Paperlogy-7Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Paperlogy";
  src: url("/assets/font/Paperlogy-8ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Paperlogy";
  src: url("/assets/font/Paperlogy-9Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "continuous";
  src: url("/assets/font/continuous.ttf") format("truetype");
  font-style: normal;
  font-display: swap;
}
/* 나눔스퀘어 */
@font-face {
  font-family: "NanumSquare";
  src: url("/assets/font/NanumSquareL.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "NanumSquare";
  src: url("/assets/font/NanumSquareR.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "NanumSquare";
  src: url("/assets/font/NanumSquareB.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "NanumSquare";
  src: url("/assets/font/NanumSquareEB.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
/* 마루부리 */
@font-face {
  font-family: "MaruBuri";
  src: url("/assets/font/MaruBuri-ExtraLight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "MaruBuri";
  src: url("/assets/font/MaruBuri-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "MaruBuri";
  src: url("/assets/font/MaruBuri-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "MaruBuri";
  src: url("/assets/font/MaruBuri-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "MaruBuri";
  src: url("/assets/font/MaruBuri-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "MaruBuri";
  src: url("/assets/font/MaruBuri-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
/* 프리텐다드 */
@font-face {
  font-family: "Pretendard";
  src: url("/assets/font/PretendardVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  /* ──────────────────────────────────────────
     공덕마디탄탄의원 컬러 시스템 (사용 빈도 순)
     1) Primary : Deep Navy  (#1D1D4F) — 브랜드/타이틀/메인
     2) Point   : Dark Red   (#910E0E) — CTA/긴급/전화
     3) Accent  : Orange     (#F39800) — 액티브/마이크로 강조
     4) Sub     : Teal       (#02B8B8) — 서브 액센트/청량
     ────────────────────────────────────────── */
  --color-black: #2a2e33;
  --color-white: #ffffff;

  /* 1) Primary — Deep Navy */
  --color-primary: #1d1d4f;
  --color-primary-light: #4a4a8a;
  --color-primary-lighter: #d4d4e6;
  --color-primary-dark: #10102e;

  /* 2) Point — Dark Red (CTA/긴급) */
  --color-point: #b31d1d;
  --color-point-light: #c54545;
  --color-point-dark: #6e0808;

  /* 3) Accent — Orange */
  --color-accent: #f39800;
  --color-accent-light: #ffb84d;
  --color-accent-dark: #c47600;

  /* 4) Sub — Teal */
  --color-sub: #02b8b8;
  --color-sub-light: #4ddede;
  --color-sub-lighter: #cdf5f5;
  --color-sub-dark: #017070;

  /* Backward compatibility — 기존 mint 변수는 sub(Teal) 으로 매핑 */
  --color-mint: #02b8b8;
  --color-mint-light: #cdf5f5;
  --color-mint-dark: #017070;

  --color-grey: #656565;
  --color-grey-light: #bbbbbb;
  --color-grey-dark: #353535;
}

html {
  scroll-behavior: smooth;
  color: var(--color-black);
}

/* Scrollbar 스타일 - Webkit 브라우저 (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 10px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary-light);
}

/* Scrollbar 스타일 - Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary) #f1f1f1;
}

body {
  margin: 0;
  font-family: "Paperlogy", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: var(--color-black);
  background: var(--color-white);
  line-height: 1.5;
  letter-spacing: -0.04em;
}
main {
  width: 100%;
}

.inner {
  width: 95%;
  max-width: 1280px;
  margin: 0 auto;
}

.inner-top {
  padding-top: 140px;
}

.inner-bottom {
  padding-bottom: 140px;
}

/* =========================
  Header (position only, 상세 스타일은 sub.css)
   ========================= */
/* 기본: 투명 + 배경 블러 (페이지 최상단, hover 전) */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1200;
  background: rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(12px) brightness(1.1);
  -webkit-backdrop-filter: blur(12px) brightness(1.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: none;
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    backdrop-filter 0.35s ease;
}

/* 솔리드 전환 조건:
   1) GNB 호버 (.is-flat / :hover)
   2) 스크롤 후 (.is-scrolled) */
.site-header:hover,
.site-header.is-flat,
.site-header.is-scrolled {
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid #ececec;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* =========================
  New Header UI (mobile hidden_gnb + desktop mega menu)
   ========================= */
/* hidden_gnb (공통: 모바일 메뉴 스타일 — 뷰포트 늘어나도 동일 유지) */
.hidden_bg {
  opacity: 0;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  width: 100%;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1300;
  transition: opacity 0.25s ease;
}
.hidden_bg.on {
  opacity: 1;
  pointer-events: auto;
}
.hidden_menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1;
  width: min(90vw, 340px);
  max-width: 340px;
  min-width: 290px;
  background: #fff;
  height: 100vh;
  height: 100dvh;
  box-sizing: border-box;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 20px 0 0 20px;
  box-shadow: -8px 0 32px rgba(29, 29, 79, 0.12);
  padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
}
.hidden_bg.on .hidden_menu {
  transform: translateX(0);
}
.hidden_menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
  padding: 14px 16px 12px;
  border-bottom: 1px solid rgba(29, 29, 79, 0.08);
  background: #fff;
}
.hidden_menu__logo {
  display: inline-flex;
  line-height: 0;
  text-decoration: none;
}
.hidden_menu__logo img {
  height: 26px;
  width: auto;
}
.hidden_menu__quick {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  padding: 12px 16px 4px;
}
.hidden_menu__quick-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 8px;
  border-radius: 10px;
  border: 1px solid rgba(29, 29, 79, 0.1);
  background: #fff;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(29, 29, 79, 0.05);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}
.hidden_menu__quick-btn:hover {
  border-color: rgba(29, 29, 79, 0.2);
  transform: translateY(-1px);
}
.hidden_menu__quick-btn--tel {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.hidden_menu__quick-btn--tel:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}
.hidden_menu__scroll {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.hidden_menu__label {
  margin: 0;
  padding: 12px 20px 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #9aa3b5;
}
.hidden_top {
  overflow: visible;
  flex: 1;
}
.hidden_nav {
  overflow: visible;
}
.close_menu {
  flex-shrink: 0;
  margin: 0;
  padding: 10px;
  min-width: 40px;
  min-height: 40px;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.close_menu:hover {
  background: #f5f5f5;
}
.close_menu__icon {
  position: relative;
  width: 14px;
  height: 14px;
}
.close_menu__icon::before,
.close_menu__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: #333;
  border-radius: 1px;
}
.close_menu__icon::before {
  transform: translateY(-50%) rotate(45deg);
}
.close_menu__icon::after {
  transform: translateY(-50%) rotate(-45deg);
}

.hidden_gnb {
  font-size: 1rem;
  padding: 0 12px 16px;
  list-style: none;
  margin: 0;
}
.hidden_gnb > li {
  margin: 0 0 6px;
  border: 1px solid rgba(29, 29, 79, 0.07);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(29, 29, 79, 0.04);
}
.hidden_gnb > li.on {
  border-color: rgba(2, 184, 184, 0.3);
  box-shadow: 0 4px 12px rgba(2, 184, 184, 0.08);
}
.hidden_gnb > li > .hidden_depth1,
.hidden_gnb > li > a {
  font-family: "Paperlogy", sans-serif;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.hidden_gnb > li > .hidden_depth1:hover,
.hidden_gnb > li > a:hover {
  background: rgba(29, 29, 79, 0.03);
}
.hidden_gnb > li.on > .hidden_depth1 {
  background: linear-gradient(
    90deg,
    rgba(2, 184, 184, 0.1) 0%,
    transparent 100%
  );
}
.hidden_depth1__label {
  flex: 1;
  min-width: 0;
}
.hidden_depth1__chevron {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #999;
  border-bottom: 1.5px solid #999;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform 0.2s ease;
}
.hidden_gnb > li.on .hidden_depth1__chevron {
  transform: rotate(225deg);
  margin-top: 3px;
  border-color: var(--color-primary);
}
.hidden_gnb .top_0 {
  display: none;
  margin: 0;
  padding: 4px 10px 12px;
  list-style: none;
  border-top: 1px dashed rgba(29, 29, 79, 0.1);
  background: rgba(248, 250, 252, 0.9);
}
.hidden_gnb .top_0 > li > a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 8px;
  color: #555;
  text-decoration: none;
  border-radius: 8px;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.hidden_gnb .top_0 > li > a:hover {
  background: #fff;
  color: var(--color-primary);
}
.top_0__dot {
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d1d5db;
  transition: background 0.2s ease;
}
.hidden_gnb .top_0 > li > a:hover .top_0__dot {
  background: #02b8b8;
}
.hidden_gnb .top_0 > li > ul {
  padding-left: 10px;
  padding-bottom: 10px;
  font-size: 0.9em;
}
.hidden_gnb .top_0 > li > ul > li:not(:last-child) {
  margin-bottom: 0.5rem;
}
.hidden_gnb .top_0 li:last-of-type a {
  margin-bottom: 0;
}

.hidden_bottom {
  position: relative;
  margin-top: 8px;
  padding: 18px 20px 24px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(160deg, #1d1d4f 0%, #16163a 100%);
}
.hidden_bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 2px;
  background: #02b8b8;
  border-radius: 0 0 2px 2px;
}
.mobile-schedule__title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.mobile-schedule__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.mobile-schedule__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: 13px;
  line-height: 1.45;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-schedule__list li:last-child {
  border-bottom: none;
}
.mobile-schedule__label {
  flex-shrink: 0;
  width: 58px;
  color: #a8b4ff;
  font-weight: 700;
}
.mobile-schedule__value {
  flex: 1;
  min-width: 0;
  color: rgba(255, 255, 255, 0.92);
}
.mobile-schedule__tag {
  display: inline-flex;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(243, 152, 0, 0.22);
  color: #ffd08a;
  font-size: 10px;
  font-weight: 700;
  vertical-align: middle;
  white-space: nowrap;
}
.mobile-schedule__notes {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
}
.mobile-schedule__notes p {
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}
.mobile-schedule__notes p + p {
  margin-top: 3px;
}
body.is-mobile-nav-open {
  overflow: hidden;
}

.gnb-plus-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin: 0 4px;
}
.gnb-plus-icon svg {
  display: block;
}
.hidden_gnb .on .top_0 {
  display: block; /* on 클래스가 있는 메뉴의 하위 메뉴만 보여집니다. */
}

/* desktop header */
.header_container {
  width: 100%;
  height: 80px;
}
header {
  width: 100%;
  font-size: 20px;
  font-weight: 600;
  position: fixed;
  transition: all 0.5s ease;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.logo-wrap {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-bottom: 1px solid #d4d4d4;
  transition:
    height 0.4s ease,
    opacity 0.4s ease;
  overflow: hidden;
}
.logo-wrap.hide {
  height: 0;
  opacity: 0;
}
.h_logo {
  max-width: 240px;
  line-height: 0;
}

header .h_logo img {
  display: block;
  max-width: 100%;
  height: auto;
  transition: filter 0.3s ease;
}

/* 기본 투명 헤더: 텍스트 흰색 / 로고 화이트로 반전 */
header .gnb > li > a {
  color: #ffffff;
  transition: color 0.3s ease;
}
.site-header .h_logo img {
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

/* 솔리드 전환 시: 텍스트 짙게 / 로고 원본 컬러로 */
.site-header:hover .gnb > li > a,
.site-header.is-flat .gnb > li > a,
.site-header.is-scrolled .gnb > li > a {
  color: var(--color-grey-dark);
}
.site-header:hover .h_logo img,
.site-header.is-flat .h_logo img,
.site-header.is-scrolled .h_logo img {
  filter: none;
}

.header_menu .gnb > li:hover > a {
  color: var(--color-primary);
}

header .h_left {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 5rem;
}
header .header_inner {
  margin: 0 auto;
  width: 95%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header_menu {
  display: flex;
}
.header_menu .gnb {
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  white-space: nowrap;
}
.header_menu .gnb > li {
  flex: 1;
  height: 100%;
}
.header_menu .gnb > li > a {
  display: flex;
  align-items: center;
  position: relative;
  height: 100%;
  width: 100%;
  text-align: center;
  line-height: 80px;
  padding: 0 30px;
}
.header_menu .gnb > li > a img {
  width: 30px;
  height: 30px;
  line-height: 0px;
}
/* ─────────────────────────────────────────────
   1뎁스 hover 이벤트
   - 기본: A) 가운데→양쪽으로 그어지는 그라디언트 underline (spring)
   - 대체: B) 슬라이드 underline + 끝에 통통 점 / C) Pill 배경
   ───────────────────────────────────────────── */

/* [A] 가운데→양쪽 언더라인 (spring) */
.header_menu .gnb > li > a {
  transition:
    color 0.25s ease,
    font-weight 0.25s ease,
    letter-spacing 0.3s ease;
}
.header_menu .gnb > li > a::before {
  content: "";
  position: absolute;
  bottom: 22px;
  left: 50%;
  width: 0;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    var(--color-primary) 0%,
    var(--color-point) 75%,
    var(--color-accent) 100%
  );
  transform: translateX(-50%);
  transition: width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.header_menu .gnb > li:hover > a {
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.01em;
}
.header_menu .gnb > li:hover > a::before {
  width: calc(100% - 50px);
}

/* ─────────────────────────────────────────────
   [B] 좌→우 sweep 언더라인 + 끝에 액센트 점 (사용 시 [A] 블록 주석 처리)
   ─────────────────────────────────────────────
.header_menu .gnb > li > a::before {
  content: "";
  position: absolute;
  bottom: 22px;
  left: 30px;
  right: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.header_menu .gnb > li > a::after {
  content: "";
  position: absolute;
  bottom: 19px;
  right: 26px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0;
  transform: scale(0);
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) 0.35s,
    opacity 0.2s ease 0.35s;
}
.header_menu .gnb > li:hover > a::before { transform: scaleX(1); }
.header_menu .gnb > li:hover > a::after  { opacity: 1; transform: scale(1); }
   ───────────────────────────────────────────── */

/* ─────────────────────────────────────────────
   [C] 알약(pill) 배경 확장 (사용 시 [A] 블록 주석 처리)
   ─────────────────────────────────────────────
.header_menu .gnb > li > a { isolation: isolate; }
.header_menu .gnb > li > a::before {
  content: "";
  position: absolute;
  inset: 18px 14px;
  background: linear-gradient(135deg,
    rgba(29, 52, 97, 0.08),
    rgba(200, 169, 126, 0.12));
  border-radius: 999px;
  opacity: 0;
  transform: scale(0.85);
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: -1;
}
.header_menu .gnb > li:hover > a::before {
  opacity: 1;
  transform: scale(1);
}
   ───────────────────────────────────────────── */

.header_menu .gnb > li:hover .gnb_2depth_wrap {
  opacity: 1;
  pointer-events: auto;
  overflow: hidden;
}
.header_menu .gnb > li > .gnb_2depth_wrap {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 80px;
  background: #ffffff url("/assets/img/main/gnb_2depth_wrap_bg.png") no-repeat
    98% 50% / 380px;
  width: 100%;
  left: 0;
  display: flex;
  box-shadow: 0 8px 24px rgba(29, 52, 97, 0.08);
}
header:has(.logo-wrap.hide) .header_menu .gnb > li > .gnb_2depth_wrap {
  top: 60px;
}
.depth_2_left {
  width: 50%;
  background: linear-gradient(135deg, #eef0fa 0%, #f7f8fc 100%);
  color: var(--color-primary);
  /* border-right: 1px solid rgba(29, 29, 79, 0.1); */
}
.header_logo_wrap {
  max-width: 220px;
}
.header_logo_wrap img {
  width: 100%;
  height: auto;
  display: block;
}
.depth_2_left_cover {
  max-width: 650px;
  margin-left: auto;
  padding: 50px 0;
  margin-right: 60px;
  width: 100%;
  height: 100%;
  display: flex;
  gap: 50px;
  justify-content: center;
}
.depth_2_left_cover > div {
  width: 100%;
}
.depth_2_left_l {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  max-width: 220px;
}
.h_telnum {
  background: var(--color-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 8px;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.h_telnum:hover {
  background: var(--color-point-dark);
  transform: translateY(-1px);
}
.depth_2_tit img {
  max-width: 1em;
}

/* 진료시간 리스트 */
.gnb_2depth_wrap .schedule-list {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.gnb_2depth_wrap .schedule-list li {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.4;
}
.gnb_2depth_wrap .schedule-list li span {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 70px;
  flex-shrink: 0;
  color: var(--color-primary-dark);
  font-weight: 700;
}
.gnb_2depth_wrap .schedule-list li em {
  color: #2a2e33;
  font-weight: 500;
  font-style: normal;
}
.gnb_2depth_wrap .schedule-note {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #7b8591;
}
.gnb_2depth_wrap .schedule-note strong,
.gnb_2depth_wrap .schedule-note b {
  color: var(--color-accent-dark);
  font-weight: 600;
}

/* 우측 메뉴 (2열 그리드) */
.header_menu .gnb_2depth_wrap .depth_2_right {
  padding: 50px 60px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 50%;
}
.header_menu .gnb_2depth_wrap .depth_2_right ul {
  display: grid;
  grid-template-rows: repeat(4, auto);
  grid-auto-flow: column;
  max-width: 600px;
  column-gap: 60px;
  row-gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.header_menu .gnb_2depth_wrap .depth_2_right a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  font-size: 20px;
  position: relative;
}
.header_menu .gnb_2depth_wrap ul li {
  max-width: 200px;
  font-weight: 500;
  color: #7b8591;
  transition:
    color 0.2s ease,
    font-weight 0.2s ease;
}
.header_menu .gnb_2depth_wrap ul li:hover {
  color: var(--color-primary-dark);
  font-weight: 700;
}
.header_menu .gnb_2depth_wrap ul li:hover a::after {
  content: "";
  display: inline-block;
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  vertical-align: middle;
}

.h_right {
  display: none;
  align-items: center;
  gap: 1rem;
}
header .open_menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  background: none;
  border: none;
  width: 26px;
  height: 19px;
  gap: 5px;
}
header .open_menu span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: background-color 0.3s ease;
  transition: all 0.3s ease;
}
.site-header:hover .open_menu span,
.site-header.is-flat .open_menu span,
.site-header.is-scrolled .open_menu span,
.site-header.m-nav-open .open_menu span {
  background-color: var(--color-primary);
}
header .open_menu:hover span {
  background-color: var(--color-primary-dark);
}

@media (max-width: 1520px) {
  .header_container {
    height: 65px;
  }
  header .header_inner {
    height: 65px;
  }
  .header_menu .gnb > li > .gnb_2depth_wrap {
    top: 65px;
  }
  .header_menu .gnb > li > a {
    padding: 0 10px;
  }
  .header_menu .gnb_2depth_wrap .depth_2_right {
    padding: 60px;
    padding-bottom: 0;
  }
  .header_menu .gnb > li > .gnb_2depth_wrap {
    background-size: 28%;
  }
  .depth_2_left_l {
    max-width: 240px;
  }
  .h_telnum {
    font-size: 22px;
  }
  .depth_2_left_cover {
    gap: 40px;
    width: 90%;
    margin-left: 5%;
  }
}

/* ========== 모바일 헤더 (1290px 이하) ========== */
@media (max-width: 1290px) {
  .header_inner .header_menu .gnb {
    display: none !important;
  }
  .header_menu {
    display: none !important;
  }
  header .open_menu {
    display: flex !important;
  }
  .h_right {
    display: flex !important;
    align-items: center;
    gap: 1rem;
  }
  main {
    padding-top: 60px;
  }
  /* 모바일 상단 바 */
  .site-header,
  .site-header:hover,
  .site-header.is-flat,
  .site-header.is-scrolled {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 0;
    border-bottom: 1px solid rgba(29, 29, 79, 0.08);
    box-shadow: 0 2px 12px rgba(29, 29, 79, 0.05);
  }
  .site-header.is-flat,
  .site-header.m-nav-open {
    background: rgba(255, 255, 255, 0.98);
  }
  .header_container {
    height: 60px;
    padding: 0 20px;
  }
  header .header_inner {
    height: 60px;
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
  .site-header .h_logo {
    max-width: 190px;
  }
  /* 모바일에선 로고/텍스트는 항상 원본 컬러 (투명 헤더 토글 무효화) */
  .site-header .h_logo img,
  .site-header:hover .h_logo img,
  .site-header.is-flat .h_logo img,
  .site-header.is-scrolled .h_logo img {
    height: 28px;
    width: auto;
    object-fit: contain;
    filter: none;
  }
  .site-header .gnb > li > a,
  .site-header:hover .gnb > li > a,
  .site-header.is-flat .gnb > li > a,
  .site-header.is-scrolled .gnb > li > a {
    color: #1a1a1a;
  }
  /* 햄버거 라인도 모바일에선 항상 짙은 컬러 */
  header .open_menu span,
  .site-header:hover .open_menu span,
  .site-header.is-flat .open_menu span,
  .site-header.is-scrolled .open_menu span {
    background-color: var(--color-primary);
  }
  /* 햄버거: 터치 영역 44px, 라운드 */
  header .open_menu {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: background 0.2s ease;
  }
  header .open_menu:hover {
    background: rgba(0, 0, 0, 0.06);
  }
  header .open_menu span {
    width: 20px;
    height: 2px;
    border-radius: 2px;
    transition:
      transform 0.22s ease,
      opacity 0.2s ease;
  }
  .site-header.m-nav-open .open_menu {
    background: rgba(29, 29, 79, 0.06);
  }
  .site-header.m-nav-open .open_menu span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .site-header.m-nav-open .open_menu span:nth-child(2) {
    opacity: 0;
  }
  .site-header.m-nav-open .open_menu span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
}

.header-contact-phone-block {
  margin-bottom: 10px;
}

.header-contact-phone {
  color: var(--color-grey-dark);
  margin-bottom: 15px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -1.2px;
}

.header-contact-hours li {
  display: flex;
  gap: 30px;
  font-size: 20px;
  margin-bottom: 10px;
  color: #51473e;
}

.header-contact-hours .label {
  display: inline-block;
  width: 80px;
  font-weight: 800;
}

.header-contact-hours .value {
  flex: 1;
  font-weight: 700;
}
.header-contact-hours .value b {
  font-weight: 800;
}

.header-contact-note {
  color: var(--color-grey-dark);
  font-size: 16px;
  font-weight: 400;
  opacity: 0.75;
}

.m-nav-close {
  display: none;
}
/* 모바일 네비게이션 버튼 */
.m-nav-btn {
  display: none;
  width: 32px;
  height: 26px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.m-nav-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-grey-dark);
  border-radius: 999px;
}

/* 모바일 메뉴 기본 숨김 (JS에서 .m-nav-open 클래스로 제어) */
.m-nav {
  display: none;
}

/* aside - 퀵메뉴 (흰색 패널 + 라벨 + Close) */
.quick-menu {
  position: fixed;
  right: 24px;
  bottom: 5vw;
  z-index: 999;
  width: 96px;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  padding: 18px 0 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transform: translateX(0);
  transition:
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.quick-menu.is-collapsed {
  transform: translateX(calc(100% + 5vw));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* 닫혀 있을 때 나타나는 Quick 열기 버튼: Close 버튼(패널 우하단)과 동일 위치 */
.quick-open {
  position: fixed;
  right: 24px;
  bottom: 5vw;
  z-index: 999;
  width: 80px;
  height: 80px;
  border: none;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  padding: 6px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 16px;
  color: #7b8591;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(calc(100% + 40px));
  transition:
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease 0.05s,
    visibility 0.3s ease,
    box-shadow 0.2s ease;
}

.quick-open img {
  max-width: 30px;
  object-fit: contain;
  display: flex;
  pointer-events: none;
  transition: filter 0.2s ease;
}

.quick-open:hover {
  background: var(--color-mint);
  color: var(--color-white);
  box-shadow: 0 14px 30px rgba(2, 184, 184, 0.35);
  transform: translateX(0) translateY(-2px);
}

.quick-open:hover img {
  filter: brightness(0) invert(1);
}

.quick-open.is-visible {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* 재사용: 섹션 진입 시 줄 단위 등장 + 강조 줄 쉬머 (JS: .motion-reveal + .is-visible) */
.motion-reveal {
  overflow: visible;
}
h3.motion-reveal {
  display: block;
}
h3.motion-reveal .motion-reveal__line em {
  font-style: normal;
}
/* br 없는 h3: 마크업 유지, 타이틀 전체에만 등장 모션 */
.motion-reveal--inline:not(.is-visible) {
  opacity: 0;
  transform: translate3d(-14px, 22px, 0);
  filter: blur(5px);
}
.motion-reveal--inline.is-visible {
  animation: motionRevealIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.motion-reveal__line {
  display: block;
  opacity: 0;
  transform: translate3d(-14px, 22px, 0);
  filter: blur(5px);
  will-change: transform, opacity, filter;
}
.motion-reveal.is-visible .motion-reveal__line {
  animation: motionRevealIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.motion-reveal.is-visible .motion-reveal__line:nth-child(1) {
  animation-delay: 0s;
}
.motion-reveal.is-visible .motion-reveal__line:nth-child(2) {
  animation-delay: 0.2s;
}
.motion-reveal__line--accent {
  position: relative;
}
.motion-reveal__line--accent b {
  display: inline-block;
  font-weight: 700;
}
.motion-reveal.is-visible .motion-reveal__line--accent b {
  animation: motionRevealSoftShine 2.2s ease 0.75s 1 forwards;
}
/* 밝은 배경용: motion-reveal--on-light */
.motion-reveal--on-light.is-visible .motion-reveal__line--accent b {
  animation-name: motionRevealSoftShineLight;
}
@keyframes motionRevealIn {
  0% {
    opacity: 0;
    transform: translate3d(-14px, 22px, 0);
    filter: blur(5px);
  }
  58% {
    opacity: 1;
    transform: translate3d(5px, -3px, 0);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}
@keyframes motionRevealSoftShine {
  0%,
  100% {
    opacity: 1;
    text-shadow: none;
  }
  50% {
    opacity: 1;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.14);
  }
}
@keyframes motionRevealSoftShineLight {
  0%,
  100% {
    opacity: 1;
    text-shadow: none;
  }
  50% {
    opacity: 1;
    text-shadow: 0 0 16px rgba(29, 29, 79, 0.1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .motion-reveal--inline:not(.is-visible),
  .motion-reveal--inline.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none;
  }
  .motion-reveal__line {
    opacity: 1;
    transform: none;
    filter: none;
  }
  .motion-reveal.is-visible .motion-reveal__line,
  .motion-reveal.is-visible .motion-reveal__line--accent b {
    animation: none;
  }
  .motion-reveal.is-visible .motion-reveal__line--accent b {
    text-shadow: none;
  }
}

.quick-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0 0 18px;
}

.quick-list li {
  padding: 0;
}

.quick-list li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  text-decoration: none;
  color: var(--color-black);
  transition: transform 0.2s ease;
}

.quick-list li a:hover {
  transform: translateY(-2px);
}

.quick-icon {
  --quick-icon-bg: #f0f2f5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--quick-icon-bg);
  color: var(--color-mint);
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.quick-icon svg {
  width: 28px;
  height: 28px;
}

/* TALK 등 아이콘 내부의 cutout(구분선): 배경색과 동일하게 처리해 분리감 표현 */
.quick-icon .qi-cut {
  stroke: var(--quick-icon-bg);
  transition: stroke 0.2s ease;
}

/* hover & 현재 페이지(active) 상태 */
.quick-list li a:hover .quick-icon,
.quick-list li.is-active .quick-icon {
  --quick-icon-bg: var(--color-mint);
  color: var(--color-white);
}

.quick-list li.is-active .quick-label {
  color: var(--color-mint);
  font-weight: 600;
}

.quick-label {
  font-size: 13px;
  font-weight: 500;
  color: #333;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.quick-close {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 14px 12px;
  border: none;
  border-top: 1px solid #ececec;
  background: transparent;
  color: #555;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
}

.quick-close:hover {
  background: #f7f7f7;
  color: var(--color-mint);
}

.quick-close-arrow {
  font-size: 16px;
  line-height: 1;
  transition: transform 0.25s ease;
}

.quick-menu.is-collapsed .quick-close-arrow {
  transform: rotate(180deg);
}
/* 푸터 */
.site-footer {
  background: #333;
  color: var(--color-white);
  padding: 60px 0;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 50px;
}
.site-footer .footer-logo {
  width: 216px;
}
.site-footer .footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.footer-info {
  text-align: right;
  font-size: 18px;
}
.footer-name {
  margin-bottom: 10px;
}
.site-footer .footer-address {
  max-width: 760px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 20px;
}
.site-footer hr {
  margin: 20px 0;
}
.footer-bottom {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
}
.footer-copyright p {
  font-size: 18px;
  font-weight: 300;
}
.footer-links {
  font-size: 17px;
  font-style: normal;
  font-weight: 500;
  opacity: 0.85;
  display: flex;
  gap: 20px;
}

/* 반응형 */
@media (max-width: 1520px) {
  .gnb > ul {
    font-size: 18px;
  }
  .inner-top {
    padding-top: 120px;
  }

  .inner-bottom {
    padding-bottom: 120px;
  }
  .footer-info {
    text-align: right;
    font-size: 17px;
  }
}
@media (max-width: 1300px) {
  p {
    font-size: 18px;
  }
  .inner-top {
    padding-top: 100px;
  }
  .inner-bottom {
    padding-bottom: 100px;
  }
  .logo {
    width: auto;
  }
  .header-top-inner {
    height: 70px;
  }

  .gnb {
    display: none;
  }

  .m-nav-btn {
    display: flex;
  }

  .header-bottom {
    display: none !important;
  }

  /* 모바일 전체 헤더 배경 */
  .site-header {
    background: var(--color-white);
    z-index: 1200;
  }

  /* 모바일 GNB 패널 */
  .m-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(82vw, 380px);
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f7f3ec 40%, #f2e8dd 100%);
    border-left: 1px solid #e5e7eb;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    padding: 10px 0 24px;
    z-index: 110;
    display: block;
    opacity: 0;
    transform: translateX(100%);
    pointer-events: none;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }

  .m-nav ul {
    list-style: none;
  }

  .m-nav > ul {
    padding-top: 50px;

    flex: 1;
    overflow-y: auto;
    padding-bottom: 8px;
  }
  .m-nav > ul > li + li {
    margin-top: 6px;
  }

  .m-nav .m-depth1 {
    display: block;
    padding: 14px 20px 10px;
    font-size: 15px;
    font-weight: 700;
    color: var(--color-grey-dark);
    cursor: pointer;
    position: relative;
  }

  .m-nav .m-depth1::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #b29a7d;
    border-bottom: 2px solid #b29a7d;
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.2s ease;
  }

  .m-nav > ul > li.m-open .m-depth1::after {
    transform: translateY(-50%) rotate(225deg);
  }

  .m-nav .m-sub {
    display: none;
    padding: 0 16px 8px;
  }

  .m-nav .m-sub li + li {
    margin-top: 4px;
  }

  .m-nav .m-sub a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-grey-dark);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.9);
  }

  .m-nav .m-sub a:hover {
    background: linear-gradient(90deg, #f6e9da 0%, #f1e1d0 100%);
    color: var(--color-primary-dark);
    border-color: rgba(209, 213, 219, 0.9);
    box-shadow: 0 4px 10px rgba(148, 118, 84, 0.18);
  }

  .m-nav .m-sub a::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--color-primary-light);
  }

  /* 1뎁스(li)에 .m-open이 붙었을 때만 2뎁스 노출 */
  .m-nav > ul > li.m-open .m-sub {
    display: block;
  }

  /* 모바일 진료시간 카드 */
  .m-nav-hours {
    margin: 10px 16px 10px;
    padding: 14px 16px 16px;
    border-radius: 14px;
    background: #f5eee3;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    color: #51473e;
  }

  .m-nav-hours-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #a0896f;
    margin-bottom: 6px;
  }

  .m-nav-hours-phone {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.06em;
    margin-bottom: 10px;
  }

  .m-nav-hours-list {
    list-style: none;
    margin: 0 0 6px;
    padding: 0;
    font-size: 13px;
  }

  .m-nav-hours-list li {
    display: flex;
    gap: 10px;
    margin-bottom: 3px;
  }

  .m-nav-hours-list .label {
    display: inline-block;
    width: 60px;
    font-weight: 700;
    color: #7b6856;
  }

  .m-nav-hours-list .value {
    flex: 1;
  }

  .m-nav-hours-note {
    font-size: 11px;
    color: #7b6856;
    line-height: 1.4;
  }

  /* 열렸을 때 */
  .site-header.m-nav-open .m-nav {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  /* 햄버거 버튼 애니메이션 */
  .site-header.m-nav-open .m-nav-btn span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header.m-nav-open .m-nav-btn span:nth-child(2) {
    opacity: 0;
  }

  .site-header.m-nav-open .m-nav-btn span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .m-nav-btn span {
    transition:
      transform 0.2s ease,
      opacity 0.2s ease;
  }

  /* 모바일 딤드 */
  .m-nav-dim {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    z-index: 105;
  }

  .site-header.m-nav-open .m-nav-dim {
    opacity: 1;
    pointer-events: auto;
  }

  /* 메뉴 열렸을 때 햄버거 숨김 (닫기 버튼만 보이게) */
  .site-header.m-nav-open .m-nav-btn-wrap {
    visibility: hidden;
    pointer-events: none;
  }

  .m-nav-btn {
    position: relative;
  }

  /* 모바일 전용 닫기 버튼 (패널과 형제라 z-index로 위에 표시) */
  .m-nav-close {
    display: none;
    position: fixed;
    top: 24px;
    right: 20px;
    z-index: 120;
    width: 32px;
    height: 26px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }

  .site-header.m-nav-open .m-nav-close {
    display: flex;
    opacity: 1;
    pointer-events: auto;
  }

  .m-nav-close span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-grey-dark);
    border-radius: 999px;
    transition:
      transform 0.2s ease,
      opacity 0.2s ease;
  }

  .m-nav-close span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .m-nav-close span:nth-child(2) {
    opacity: 0;
  }

  .m-nav-close span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  /* 푸터 */
  .footer-info {
    font-size: 15px;
    font-size: 15px;
    width: 100%;
  }
  .footer-copyright p {
    font-size: 14px;
  }
}
@media (max-width: 1024px) {
  .inner-top {
    padding-top: 80px;
  }
  .inner-bottom {
    padding-bottom: 80px;
  }
  /* 푸터 */
  .footer-logo {
    display: none;
  }
  .site-footer .footer-address {
    width: 100%;
    max-width: 100%;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
  }
}
@media (max-width: 768px) {
  .quick-menu {
    top: auto;
    bottom: 0;
    right: 0;
    left: 0;
    transform: none;
    width: 100%;
    border-radius: 0;
    padding: 0;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
  }
  .quick-menu.is-collapsed {
    transform: translateY(100%);
  }
  .quick-list {
    flex-direction: row;
    gap: 0;
    padding: 5px 0;
  }
  .quick-list li {
    flex: 1;
  }
  .quick-list li a {
    gap: 4px;
    padding: 6px 4px;
  }
  .quick-icon {
    width: 42px;
    height: 42px;
  }
  .quick-icon svg {
    width: 22px;
    height: 22px;
  }
  .quick-label {
    font-size: 12px;
  }
  .quick-close {
    display: none;
  }
  .quick-open {
    top: auto;
    bottom: 16px;
    right: 16px;
    width: 64px;
    height: 64px;
    transform: translateY(calc(100% + 40px));
  }
  .quick-open.is-visible {
    transform: translateY(0);
  }
  /* 푸터 */
  .site-footer {
    padding: 40px 0 100px;
    text-align: right;
  }
}
@media (max-width: 640px) {
  p {
    font-size: min(3.8vw, 16px);
  }
  .inner-top {
    padding-top: 60px;
  }
  .inner-bottom {
    padding-bottom: 60px;
  }
  /* 푸터 */
  .footer-info {
    font-size: min(3.2vw, 14px);
  }
  .footer-links {
    font-size: min(3.6vw, 15px);
  }
  .footer-copyright p {
    font-size: min(2.8vw, 13px);
  }
}
