@charset "UTF-8";
/* 헤더 · 내비게이션 · 푸터
   모바일 : 가운데 로고 + 오른쪽 메뉴 버튼 → 오른쪽에서 열리는 패널(아코디언) — 모바일판
   데스크톱 : 가운데 로고 + 아래 줄 메뉴 6개, 마우스를 올리면 모든 하위 메뉴가 한 번에 펼쳐짐 — PC판 */

.site-header { position: fixed; left: 0; right: 0; top: 0; z-index: 100; color: #fff; transition: background .3s, box-shadow .3s; }
.site-header::before { content: ""; position: absolute; inset: 0 0 auto; height: calc(var(--header-h) + 40px); z-index: -1; pointer-events: none;
    background: linear-gradient(180deg, rgba(34, 27, 24, .72) 0%, rgba(34, 27, 24, .38) 55%, rgba(34, 27, 24, 0) 100%); transition: opacity .3s; }
.site-header.is-solid { background: rgba(46, 37, 33, .97); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.site-header.is-solid::before { opacity: 0; }

.site-header__bar { position: relative; display: flex; align-items: center; justify-content: center; height: 60px; }
.logo a { display: block; padding: 6px; }
.logo img { width: 66px; }
.util { display: none; }

.menu-btn { position: absolute; right: calc(var(--gutter) - 12px); top: 8px; width: 44px; height: 44px; z-index: 120; }
.menu-btn i, .menu-btn i::before, .menu-btn i::after { position: absolute; left: 12px; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease), background .3s; }
.menu-btn i { top: 21px; }
.menu-btn i::before, .menu-btn i::after { content: ""; left: 0; }
.menu-btn i::before { top: -7px; }
.menu-btn i::after { top: 7px; }
.menu-btn[aria-expanded="true"] i { background: transparent; }
.menu-btn[aria-expanded="true"] i::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i::after { transform: translateY(-7px) rotate(-45deg); }

/* 모바일 패널 */
.gnb { position: fixed; right: 0; top: 0; z-index: 110; display: flex; flex-direction: column; width: min(86vw, 360px); height: 100vh; height: 100svh; height: 100dvh; padding-bottom: env(safe-area-inset-bottom, 0px); overflow-y: auto; overscroll-behavior: contain;
    background: var(--c-brown); visibility: hidden; transform: translateX(100%); transition: transform .35s var(--ease), visibility 0s .35s; }
.gnb.is-open { visibility: visible; transform: none; transition: transform .35s var(--ease); }
.gnb__head { padding: 22px 20px 20px; }
.gnb__head img { width: 66px; }
.gnb__welcome { margin-top: 18px; font-size: var(--fs-14); color: var(--c-on-dark-2); }
.gnb__list { border-top: 8px solid var(--c-brown-2); }
.gnb__item { border-bottom: 8px solid var(--c-brown-2); }
.gnb__link { display: none; }
.gnb__toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 56px; padding: 0 20px; font-size: var(--fs-16); font-weight: 700; color: #fff; text-align: left; }
.gnb__toggle svg { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.gnb__toggle[aria-expanded="true"] { color: var(--c-main); }
.gnb__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.gnb__sub { display: none; padding: 4px 0 12px; }
.gnb__sub.is-open { display: block; }
.gnb__sub a { display: block; padding: 12px 20px 12px 32px; font-size: var(--fs-15); color: rgba(255, 255, 255, .78); }
.gnb__sub a:hover, .gnb__sub a[aria-current="page"] { color: var(--c-main); }
.gnb__util { display: flex; justify-content: flex-end; gap: 4px; margin-top: auto; padding: 20px; }
.gnb__util a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; font-size: var(--fs-14); color: #fff; }
.gnb-dim { position: fixed; inset: 0; z-index: 105; background: rgba(0, 0, 0, .6); opacity: 0; transition: opacity .3s; }
.gnb-dim.is-on { opacity: 1; }
/* 메뉴가 열린 동안 본문 고정 : top 은 JS 가 -scrollY 로 넣고, 닫을 때 같은 위치로 되돌린다 */
body.is-locked { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }

@media (min-width: 1024px) {
    .site-header__bar { height: 64px; }
    .logo img { width: 80px; }
    .menu-btn, .gnb__head, .gnb__toggle, .gnb-dim, .gnb__util { display: none; }
    .util { position: absolute; right: var(--gutter); top: 50%; display: flex; gap: 4px; transform: translateY(-50%); }
    .util a { padding: 6px 10px; font-size: var(--fs-13); color: rgba(255, 255, 255, .85); }
    .util a:hover, .util a[aria-current="page"] { color: #fff; }

    .gnb { position: static; display: block; width: auto; height: auto; overflow: visible; background: none; visibility: visible; transform: none; transition: none; }
    .gnb__list { display: flex; justify-content: center; border: 0; }
    .gnb__item { width: 150px; border: 0; text-align: center; }
    .gnb__link { display: flex; align-items: center; justify-content: center; height: 52px; font-size: var(--fs-16); font-weight: 700; letter-spacing: .02em; }
    .gnb__item:hover .gnb__link, .gnb__item:focus-within .gnb__link, .gnb__link.is-active { color: var(--c-main); }
    .gnb__sub { display: block; max-height: 0; padding: 0; overflow: hidden; transition: max-height .35s var(--ease), padding .35s var(--ease); }
    .gnb__sub a { padding: 8px 0; font-size: var(--fs-14); color: rgba(255, 255, 255, .72); }
    .site-header.is-expanded { background: rgba(46, 37, 33, .97); }
    .site-header.is-expanded::before { opacity: 0; }
    .site-header.is-expanded .gnb__sub { max-height: 260px; padding: 10px 0 26px; }
    .site-header.is-expanded .gnb { border-top: 1px solid rgba(255, 255, 255, .08); }
}

@media (min-width: 1280px) {
    .gnb__item { width: 168px; }
}

/* 푸터 */
.site-footer { padding: 48px 0 40px; background: var(--c-brown); color: var(--c-on-dark-2); font-size: var(--fs-13); }
.site-footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.site-footer__logo { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer__logo img { width: 72px; }
.policy { display: flex; gap: 18px; }
.policy a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--fs-13); font-weight: 700; color: #fff; }
.site-footer address { margin-top: 22px; line-height: 1.8; }
.site-footer__bottom { display: flex; flex-direction: column; gap: 20px; margin-top: 24px; }
.sns { display: flex; gap: 10px; }
.sns a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; color: #fff; transition: border-color .25s, color .25s; }
.sns a:hover { border-color: var(--c-main); color: var(--c-main); }
.sns svg { width: 18px; height: 18px; }
.family { position: relative; width: 100%; }
.family__btn { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 46px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .3); font-size: var(--fs-13); color: #fff; }
.family__btn svg { width: 18px; height: 18px; transition: transform .3s; }
.family__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.family__list { position: absolute; left: 0; right: 0; bottom: 100%; padding: 6px 0; border: 1px solid rgba(255, 255, 255, .3); border-bottom: 0; background: var(--c-brown); }
.family__list[hidden] { display: none; }
.family__list a { display: flex; align-items: center; min-height: 44px; padding: 0 16px; color: rgba(255, 255, 255, .8); }
.family__list a:hover { color: var(--c-main); }
.copy { margin-top: 28px; font-family: var(--ff-en); font-size: var(--fs-12); letter-spacing: .05em; color: rgba(255, 255, 255, .5); }

@media (min-width: 768px) {
    .site-footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; }
    .family { width: 220px; }
}

.to-top { position: fixed; right: 16px; bottom: 16px; z-index: 90; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--c-main); color: var(--c-brown);
    font-family: var(--ff-en); font-size: var(--fs-12); font-weight: 700; box-shadow: 0 6px 16px rgba(0, 0, 0, .2); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s, visibility 0s .3s; }
.to-top.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s; }
@media (min-width: 1024px) {
    .to-top { right: 28px; bottom: 28px; width: 54px; height: 54px; }
}
