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

.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;
}

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: "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 {
  --color-black: #353535;
  --color-white: #ffffff;
  --color-primary: #3f552a;
  --color-primary-lighter: #7ca24a;
  --color-primary-light: #7ca24a;
  --color-primary-dark: #1a3d10;
  --color-mint: #00d4c5;
  --color-mint-light: #ace9e5;
  --color-mint-dark: #005e58;
  --color-grey: #656565;
  --color-grey-light: #bbbbbb;
  --color-grey-dark: #353535;
}

html {
  scroll-behavior: smooth;
}

/* 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.02em;
}
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)
   ========================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1200;
  background: rgba(10, 16, 25, 0.28);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 0 0 30px 30px;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.02);
  transition:
    border-radius 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.site-header.is-flat {
  background: #ffffff;
  border-radius: 0;
  box-shadow: 0 5px 15px 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: 999999;
  transition: opacity 0.25s ease;
}
.hidden_bg.on {
  opacity: 1;
  pointer-events: auto;
}
.hidden_menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(88vw, 320px);
  max-width: 320px;
  min-width: 280px;
  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;
  justify-content: space-between;
  overflow: scroll;
  border-radius: 20px 0 0 20px;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
  padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
}
.hidden_bg.on .hidden_menu {
  transform: translateX(0);
}

.close_menu {
  margin: 6px 20px 0 auto;
  padding: 12px;
  min-width: 44px;
  min-height: 44px;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.close_menu:hover {
  background: rgba(0, 0, 0, 0.06);
}
.close_menu span {
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1;
  color: #1a1a1a;
}
.close_menu img {
  width: 20px;
  height: 20px;
  opacity: 0.7;
}

.hidden_gnb {
  font-size: 1rem;
  padding: 8px 20px 24px;
  list-style: none;
  margin: 0;
}
.hidden_gnb > li {
  margin: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.hidden_gnb > li > .hidden_depth1,
.hidden_gnb > li > a {
  font-family: "Paperlogy", sans-serif;
  display: block;
  padding: 14px 12px;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  border-radius: 10px;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.hidden_gnb > li > .hidden_depth1:hover,
.hidden_gnb > li > a:hover {
  background: rgba(0, 0, 0, 0.04);
  color: var(--color-primary-dark, #51473e);
}
.hidden_gnb > li.on > .hidden_depth1 {
  color: var(--color-primary-dark, #51473e);
}
.hidden_gnb .top_0 {
  display: none;
  padding: 10px 0;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 12px;
}
.hidden_gnb .top_0 > li > a {
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 5px 12px;
  color: #444;
  display: block;
}
.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 {
  background: #1a1d24;
  padding: 20px 24px;
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
  border-radius: 20px 0 0 0;
}
.hidden_bottom .time_table {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}
.hidden_bottom .time_table li {
  margin-bottom: 6px;
}
.hidden_bottom .time_table b {
  width: 72px;
  flex-shrink: 0;
}
.hidden_bottom .time_table p {
  margin-top: 12px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

.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 클래스가 있는 메뉴의 하위 메뉴만 보여집니다. */
}
.hidden_bottom {
  background: #333;
  color: #fff;
  height: 28vh;
  max-height: 240px;
  width: 100%;
  box-sizing: border-box;
  padding: 1.5rem 2rem;
}
.hidden_bottom > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
.hidden_bottom .call {
  width: 13px;
  margin-right: 5px;
}
.hidden_bottom a {
  color: rgb(52, 62, 71);
  font-weight: bold;
  font-size: 2rem;
  display: flex;
  align-items: center;
  margin-bottom: 0.8rem;
}
.hidden_bottom .time_table {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
}
.hidden_bottom .time_table li {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.hidden_bottom .time_table b {
  width: 80px;
  display: flex;
  justify-content: space-between;
}
.time_table p {
  margin-top: 15px;
  font-size: 1.4rem;
}

/* desktop header */
.header_container {
  width: 100%;
  height: 80px;
}
header {
  width: 100%;
  font-size: 20px;
  font-weight: 500;
  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: 285px;
  line-height: 0;
}

header .h_logo img {
  display: block;
  max-width: 100%;
  height: auto;
  transition: filter 0.3s ease;
  filter: brightness(0) invert(1);
}

.site-header.is-flat .h_logo img {
  filter: none;
}

.site-header.is-flat .gnb > li > a {
  color: var(--color-grey);
}

header .gnb > li > a {
  color: #ffffff;
}

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 동그라미 이벤트 */
.header_menu .gnb > li > a::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-primary-light);
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.3s;
}
.header_menu .gnb > li:hover > a {
  font-weight: 600;
  color: var(--color-primary);
}
.header_menu .gnb > li:hover > a::before {
  transform: translate(-50%, -50%) 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: #fdfffa url("/assets/img/main/gnb_2depth_wrap_bg.png") no-repeat
    95% 50% / 600px;
  width: 100%;
  /* min-height: 370px; */
  left: 0;
  display: flex;
  border-radius: 0 0 30px 30px;
  /* transition:
    opacity 0.25s ease,
    top 0.4s ease; */
}
header:has(.logo-wrap.hide) .header_menu .gnb > li > .gnb_2depth_wrap {
  top: 60px;
}
.depth_2_left {
  width: 50%;
  background: var(--color-primary-light);
  color: #fff;
}
.header_logo_wrap {
  filter: brightness(0) invert(1);
  max-width: 240px;
}
.depth_2_left_cover {
  max-width: 650px;
  margin-left: auto;
  padding: 60px 0;
  margin-right: 75px;
  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;
  max-width: 270px;
}
.h_telnum {
  background: var(--color-white);
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 24px;
  color: var(--color-primary-light);
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 10px;
  letter-spacing: 0.1em;
}
.h_telnum img {
  filter: brightness(0) invert(1);
  width: 1.2em;
}
.depth_2_tit img {
  max-width: 1em;
}
.gnb_2depth_wrap ol li {
  margin-bottom: 5px;
}
.gnb_2depth_wrap ol li strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  font-size: 22px;
  font-weight: 400;
}
.gnb_2depth_wrap ol li span {
  font-weight: 600;
  width: 108px;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
}
.gnb_2depth_wrap ol li .lunch_time {
  /* font-weight: 0; */
  color: var(--color-primary);
}
.gnb_2depth_wrap ol + div {
  color: var(--color-primary);
  font-size: 20px;
  font-weight: 500;
}
.header_menu .gnb_2depth_wrap .depth_2_right {
  padding: 50px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.header_menu .gnb_2depth_wrap .depth_2_right a {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.header_menu .gnb_2depth_wrap ul li:not(:last-of-type) {
  margin-bottom: 20px;
}
.header_menu .gnb_2depth_wrap ul li {
  font-weight: 400;
  color: #8e8e8e;
}
.header_menu .gnb_2depth_wrap ul li:hover {
  color: var(--color-primary-dark);
  font-weight: 600;
}

.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: var(--color-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}
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 {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 0;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  }
  .site-header.is-flat {
    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 {
    height: 28px;
    width: auto;
    object-fit: contain;
    filter: none;
  }
  .site-header .gnb > li > a {
    color: #1a1a1a;
  }
  /* 햄버거: 터치 영역 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;
  }
}

.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 - 원형 퀵메뉴 (회색 톤, 버튼별 원형 + 그림자) */
aside {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

aside ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-height: 0;
  opacity: 0;
  transition:
    max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease;
}

aside ul.active {
  max-height: 500px;
  opacity: 1;
}

aside ul li {
  padding: 0;
}

aside ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 65px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  padding: 16px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

aside ul li a {
  background: rgba(174, 174, 174, 0.7);
  backdrop-filter: blur(10px);
}
aside ul li a img {
  filter: brightness(0) invert(1);
}

aside ul li a:hover {
  transform: scale(1.06);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}
aside ul li a:hover {
  background: var(--color-grey);
}

aside ul li a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

aside ul li a img:nth-of-type(2) {
  display: none;
}
aside ul li a:hover img:nth-of-type(1) {
  opacity: 0.9;
}

aside .quick-btn-wrap {
  display: none;
}

/* 위로가기: 밝은 회색 원, 진한 아이콘, 그림자 강조 */
aside .to-top {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 65px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  padding: 16px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

aside .to-top:hover {
  background: #f0f0f0;
  transform: scale(1.06);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

aside .to-top img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) saturate(100%);
  opacity: 0.75;
}
/* 푸터 */
.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: 20px;
}
.footer-name {
  margin-bottom: 10px;
}
.site-footer .footer-address {
  max-width: 700px;
  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.5;
  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: 1290px) {
  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) {
  aside {
    bottom: 0;
    right: 0;
    flex-direction: row;
    width: 100%;
    gap: 0;
    align-items: stretch;
  }
  aside ul {
    flex: 8;
    flex-direction: row;
    gap: 0;
    background: rgba(174, 174, 174, 0.7);
    backdrop-filter: blur(10px);
  }
  aside ul li {
    flex: 1;
  }
  aside ul li a,
  aside .to-top {
    aspect-ratio: unset;
    width: auto;
    height: 100%;
    padding: 16px;
    border-radius: 0;
    box-shadow: none;
    background: none;
    backdrop-filter: none;
  }
  aside .to-top {
    background: var(--color-grey);
    backdrop-filter: blur(10px);
    height: auto;
  }
  aside .to-top img {
    filter: brightness(0) invert(1);
    max-width: 35px;
  }
  aside img {
    max-width: 40px;
  }
  aside .to-top {
    flex: 1;
  }
  /* 푸터 */
  .site-footer {
    padding: 40px 0 100px;
    text-align: right;
  }
}
@media (max-width: 640px) {
  p {
    font-size: 3.8vw;
  }
  .inner-top {
    padding-top: 60px;
  }
  .inner-bottom {
    padding-bottom: 60px;
  }
  /* 푸터 */
  .footer-info {
    font-size: 3.2vw;
  }
  .footer-links {
    font-size: 3.6vw;
  }
  .footer-copyright p {
    font-size: 2.8vw;
  }
}
