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

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-face {
  font-family: "Paperlogy";
  src: url("/assets/font/Paperlogy-4Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

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

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

@font-face {
  font-family: "continuous";
  src: url("/assets/font/continuous.ttf") format("truetype");
  font-style: normal;
}
/* 나눔스퀘어 */
@font-face {
  font-family: "NanumSquare";
  src: url("/assets/font/NanumSquareL.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "NanumSquare";
  src: url("/assets/font/NanumSquareR.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "NanumSquare";
  src: url("/assets/font/NanumSquareB.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "NanumSquare";
  src: url("/assets/font/NanumSquareEB.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
}
/* 마루부리 */
@font-face {
  font-family: "MaruBuri";
  src: url("/assets/font/MaruBuri-ExtraLight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
}
@font-face {
  font-family: "MaruBuri";
  src: url("/assets/font/MaruBuri-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "MaruBuri";
  src: url("/assets/font/MaruBuri-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "MaruBuri";
  src: url("/assets/font/MaruBuri-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "MaruBuri";
  src: url("/assets/font/MaruBuri-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "MaruBuri";
  src: url("/assets/font/MaruBuri-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
}
/* 프리텐다드 */
@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: #3a3a3a;
  --color-white: #ffffff;
  --color-primary: #877666;
  --color-primary-lighter: #806c59;
  --color-primary-light: #b6a595;
  --color-primary-dark: #51473e;
  --color-grey: #595757;
  --color-grey-dark: #2f2e2e;
}

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: "NanumSquare", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: var(--color-black);
  background: var(--color-white);
  line-height: 1.5;
  letter-spacing: -0.002em;
}
main {
  width: 100%;
  padding-top: 80px;
}

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

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

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

/* =========================
  Header
   ========================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1200;
}
.header-top {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition:
    box-shadow 0.35s ease,
    background 0.35s ease;
}

.header-top-inner {
  width: 95%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  width: 30%;
}

.gnb {
  width: 70%;
  height: 100%;
}
.logo img {
  display: block;
  height: 40px;
  transition: transform 0.3s ease;
}
.logo a:hover img {
  transform: scale(1.04);
}

.gnb > ul {
  height: 100%;
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: 600;
}

.gnb > ul > li {
  width: 200px;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.gnb > ul > li > a {
  width: 100%;
  height: 100%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.25s ease;
}
.gnb .mega-list {
  text-align: center;
  padding-top: 20px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  font-size: 18px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease;
  pointer-events: none;
}
.gnb .mega-list li {
  color: var(--color-grey);
  opacity: 0;
  transform: translateY(-6px);
  transition:
    color 0.2s ease,
    font-weight 0.2s ease,
    opacity 0.35s ease,
    transform 0.35s ease;
}
.gnb .mega-list li:hover {
  color: var(--color-primary-dark);
  font-weight: 800;
}

.site-header.gnb-open .gnb .mega-list li {
  opacity: 0.75;
  transform: translateY(0);
}
.site-header.gnb-open .gnb .mega-list li:hover {
  opacity: 1;
}
.gnb .mega-list li:nth-child(1) {
  transition-delay: 0s;
}
.gnb .mega-list li:nth-child(2) {
  transition-delay: 0.04s;
}
.gnb .mega-list li:nth-child(3) {
  transition-delay: 0.08s;
}
.gnb .mega-list li:nth-child(4) {
  transition-delay: 0.12s;
}
.gnb .mega-list li:nth-child(5) {
  transition-delay: 0.16s;
}

.mega-list a {
  display: block;
  padding: 10px 0;
}

/* JS에서 .site-header.gnb-open 클래스를 토글해서 2뎁스 + 하단 영역 노출 */
.site-header.gnb-open .gnb .mega-list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.site-header.gnb-open .header-bottom {
  opacity: 1;
  visibility: visible;
  max-height: 350px;
}

.gnb > ul > li::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 0;
  height: 4px;
  background: var(--color-primary-light);
  border-radius: 0 0 2px 2px;
  transition:
    width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gnb > ul > li:hover::after {
  width: 100%;
  left: 0;
}

/* 하단 영역 (헤더 하단 배너 + GNB 전체 2뎁스 영역) */
.header-bottom {
  background: rgba(255, 255, 255, 0.9);
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition:
    max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.35s ease,
    visibility 0.35s ease;
}

.header-bottom-inner {
  background: rgba(238, 230, 223, 0.95);
  width: 30%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 30px 10px;
  overflow: hidden;
}
.header-bottom-inner-left {
  position: absolute;
  left: 0;
  line-height: 0;
  top: 50%;
  height: calc(100% + 40px);
  transform: translate(-100%, -50%);
}
.header-bottom-inner-right {
  position: absolute;
  right: 0;
  line-height: 0;
  top: 50%;
  height: calc(100% + 40px);
  transform: translate(100%, -50%) rotate(180deg);
}
.header-bottom-inner-left img,
.header-bottom-inner-right img {
  height: 100%;
  object-fit: contain;
}
.header-contact {
  position: relative;
}

.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 {
  width: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  border-radius: 50px;
  background: rgba(238, 238, 238, 0.5);
  transition:
    max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease;
  padding: 20px 0;
}

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

aside ul li {
  padding: 10px 6px;
}

/* 이미지 컨테이너를 Grid로 만들어 겹치게 배치 (absolute 대신 사용) */
aside ul li a {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  align-items: start;
  justify-items: center;
  gap: 8px;
  font-weight: 400;
  font-size: 14px;
  color: rgba(102, 102, 102, 0.9);
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
}

aside ul li a img {
  grid-column: 1;
  grid-row: 1;
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

/* 기본 이미지와 active 이미지 전환 */
aside ul li a img:nth-of-type(1) {
  opacity: 1;
}
aside ul li a img:nth-of-type(2) {
  opacity: 0;
}
aside ul li a:hover img:nth-of-type(1) {
  opacity: 0;
}
aside ul li a:hover img:nth-of-type(2) {
  opacity: 1;
}

aside ul li a:hover {
  color: #37480f;
  font-weight: 700;
}

aside ul li a span {
  grid-column: 1;
  grid-row: 2;
  transition:
    color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    font-weight 0.3s ease;
}

aside ul li a:hover span {
  color: var(--color-primary-dark);
}

aside .quick-btn-wrap {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  justify-items: center;
  aspect-ratio: 1/1;
  background: var(--color-primary);
  box-shadow: 0 0 13.5px 0 rgba(0, 0, 0, 0.25);

  color: var(--color-white);
  border-radius: 50%;
  cursor: pointer;
  width: 80px;
  padding: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

aside .quick-btn-wrap:hover {
  background: #fff;
  color: #37480f;
  box-shadow: 0 0 10px rgba(55, 72, 15, 0.2);
  transform: scale(1.05);
}

aside .quick-btn-wrap:hover img {
  animation: rotateIcon 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

aside .quick-btn-wrap img {
  grid-column: 1;
  grid-row: 1;
  width: 30px;
  height: 30px;
  object-fit: contain;
  transition:
    opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

aside .quick-btn-wrap.active img {
  animation: rotateIcon 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes rotateIcon {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

aside .quick-btn-wrap span {
  font-size: 14px;
  grid-column: 1;
  grid-row: 2;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

aside .to-top {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  aspect-ratio: 1/1;
  background: #fff;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
  border-radius: 50%;
  cursor: pointer;
  width: 80px;
}
/* 푸터 */
.site-footer {
  background: var(--color-primary-dark);
  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: 1000px;
  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: 700;
  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;
  }
  main {
    padding-top: 70px;
  }
  .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;
  }
  .footer-copyright p {
    font-size: 14px;
  }
}
@media (max-width: 1024px) {
  .inner-top {
    padding-top: 80px;
  }
  .inner-bottom {
    padding-bottom: 80px;
  }
  /* 푸터 */
  .footer-logo {
    display: none;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
  }
}
@media (max-width: 768px) {
  aside {
    bottom: 0;
    right: 0;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    gap: 0;
  }
  aside ul {
    flex-direction: row;
    width: 100%;
    gap: 0;
    border-radius: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.85);
  }
  aside ul li {
    width: 100%;
    height: auto;
    padding: 10px;
  }
  aside ul li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--color-primary-dark);
    font-weight: 600;
  }
  aside ul li a img {
    width: 30px;
    height: 30px;
  }
  /* 모바일에서 첫 번째 이미지 숨기고 active(두 번째) 이미지만 표시 */
  aside ul li a img:nth-of-type(1) {
    display: none !important;
  }
  aside ul li a img:nth-of-type(2) {
    display: block !important;
    opacity: 1 !important;
  }
  /* 모바일에서 퀵메뉴 일부 항목 숨김  */
  aside .quick-btn-wrap {
    display: none;
  }
  aside .to-top {
    border-radius: 0;
    box-shadow: none;
    padding: 10px;
    align-self: stretch;
    background: var(--color-primary);
  }
  aside .to-top img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(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;
  }
}
