@charset "UTF-8";

/*****************************************************************

Copyright C 그누위즈 테마 All rights reserved.
gnuwiz@naver.com & master@gnuwiz.com
본 페이지는 유료콘텐츠 그누위즈 테마 CSS입니다. 불법복제시 법적인 제제를 받으실 수 있습니다.
라이센스를 삭제하지 마세요. 라이센스 삭제시 불법 사용으로 간주될 수 있습니다.

******************************************************************/
/*페이지 로딩*/
#loading-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.spinner {
    border: 2px solid rgba(0, 0, 0, .1);
    border-top-color: var(--main-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 0.5s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#hd {
    width: 100vw;
    transition: all .3s;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 9999;
}

#hd_wrapper {
    position: relative;
    margin: 0 auto;
    width: 100%;
    zoom: 1
}

#hd_wrapper .gnb-container {
    height: 100px;
}

.logo {
    z-index: 100;
    width: 300px;
    height: 40px;
    transition: all .3s;
}

#logo>a {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
}

#logo>a>img {
    position: absolute;
    top: 50%;
    left: 40px;
    transform: translateY(-50%);
    transition: opacity .3s ease;
}

#logo>a .light-mode-logo {
    opacity: 1;
}

#logo>a .dark-mode-logo {
    opacity: 0;
}

.hd_login {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    text-transform: uppercase;
    font-size: 14px;
    transition: all .3s;
}

.hd_login li {
    float: left;
    margin: 0 5px;
    line-height: 13px
}

.hd_login li:first-child>a {
    color: #000;
    background: #fff;
    border: 1px solid #fff;
    transition: all .3s;
}

.hd_login a {
    padding: 4px 22px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all .3s;
}

#gnb {
    position: relative;
    display: flex;
    align-items: center;
    place-content: center;
    height: 100%;
    transition: all .3s;
}

#gnb_1dul {
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#gnb .gnb_1da,
.gnb_1da {
    padding: 0;
    color: #fff !important;
    font-size: 18px;
    font-family: 'NotoKr_M', sans-serif;
    -webkit-text-stroke: 0.4px currentColor; /* GNB 글자 살짝 진하게 */
    transition: all .3s;
}

#gnb .gnb_1dli {
    padding: 0;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    place-content: center;
    text-align: center;
    width: 180px;
    transition: all .3s;
}

#gnb .gnb_1dli:before {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #B99772;
    transition: all .3s;
    transform-origin: center;
}

.gnb_1dli.gnb_al_li_plus .gnb_1da {
    padding: 0;
    transition: all .3s;
}

#gnb .gnb_1dli:hover>a,
#hd.black #gnb .gnb_1dli:hover>a,
#hd.on #gnb .gnb_1dli:hover>a {
    color: var(--main-color) !important;
}

/* 헤더 화면 로딩 완료 후 움직임 */
#hd.load {
    transform: translateY(0) !important;
}

#hd.black {
    background: #fff;
    border-bottom: 1px solid #ddd;
}

#hd.black #gnb .gnb_1da,
#hd.black .gnb_1da {
    color: #000 !important;
}

#hd.black .hd_login li:first-child>a {
    color: #fff;
    background: #000;
    border: 1px solid #000;
}

#hd.black .hd_login a {
    color: #000;
    border: 1px solid rgba(0, 0, 0, 0.8);
}

#hd.black #logo .dark-mode-logo {
    opacity: 1 !important;
}

#hd.black #logo .light-mode-logo {
    opacity: 0 !important;
}

/* 헤더 드롭다운 활성화 시 */
#hd.on {
    background: #fff;
    border-bottom: 1px solid #ddd;
}

#hd.on #gnb .gnb_1da,
#hd.on .gnb_1da {
    color: #000 !important;
}

#hd.on .hd_login li:first-child>a {
    color: #fff;
    background: #000;
    border: 1px solid #000;
}

#hd.on .hd_login a {
    color: #000;
    border: 1px solid rgba(0, 0, 0, 0.8);
}

#hd.on #logo .dark-mode-logo {
    opacity: 1 !important;
}

#hd.on #logo .light-mode-logo {
    opacity: 0 !important;
}

/*네비게이션메뉴*/
#gnb .gnb_wrap {
    position: relative;
    transition: all .3s;
}

#gnb_2dul {
    display: flex;
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
}

#gnb_2dul:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: -100%;
    width: 200vw;
    height: 0;
    border-top: 1px solid #ddd;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
}

#gnb_2dul .gnb-depth02 {
    text-align: center;
    width: 210px;
    z-index: 200;
    border-right: 1px solid #ddd;
    height: 0;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
}

#gnb .gnb_1dli {
    position: relative;
}

#gnb_2dul .gnb-depth02:first-child {
    border-left: 1px solid #ddd;
}

#gnb_2dul .gnb-depth02>ul {
    padding: 24px 0;
}

#gnb_2dul .gnb-depth02>ul>li {
    position: relative;
}

#gnb_2dul .gnb-depth02>ul>li>a {
    padding: 6px 15px;
    display: block;
    font-size: 16px;
    color: #444; /* 2차 메뉴 살짝 진하게 */
    font-family: "NotoKr_M", sans-serif;
    -webkit-text-stroke: 0.3px currentColor;
    transition: color 0.2s ease;
}

#gnb_2dul .gnb-depth02>ul>li>a:hover {
    color: #000;
}

#gnb_2dul .gnb-depth02>ul>li>a>span {
    position: relative;
    display: inline-block;
}

#gnb_2dul .gnb-depth02>ul>li>a>span:before {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    position: absolute;
    bottom: -5px;
    left: 0;
    background: #ddd;
    transition: all .3s;
}

#gnb_2dul .gnb-depth02>ul>li>a>span:hover:before {
    width: 100%;
}

/* 1차 메뉴에 마우스 올렸을 때*/
#gnb.on .gnb_1dli {
    width: 210px;
}

#gnb.on #gnb_2dul:before {
    height: 100%;
    opacity: 1;
    visibility: visible;
}

#gnb.on #gnb_2dul .gnb-depth02 {
    height: auto;
    opacity: 1;
    visibility: visible;
}

#gnb .gnb_1dli.on:before {
    width: 100%;
}

#gnb #gnb_2dul .gnb-depth02.on {
    background: #f8f8f8;
}

#menu-btn {
    display: block;
    width: 100px;
    height: 100px;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1000;
    cursor: pointer;
    transition: all .3s;
    background: #B99772;
}

#menu-btn>div {
    height: 16px;
    width: 25px;
}

#menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    position: absolute;
    transition: all 0.3s;
}

#menu-btn span:nth-child(1) {
    top: 0;
}

#menu-btn span:nth-child(2) {
    top: 6px;
}

#menu-btn span:nth-child(3) {
    top: 12px;
}

#menu-btn.active span:nth-child(2) {
    opacity: 0;
}

#menu-btn.active span:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
}

#menu-btn.active span:nth-child(3) {
    top: 10px;
    transform: rotate(-45deg);
}

#mob-gnb {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 100;
    max-width: 100vw;
    width: 100%;
    height: 100vh;
    background: #fff;
    transition: all 0.5s;
}

#mob-gnb .menu-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#mob-gnb .menu-bg {
    display: flex;
    height: 100%;
}

#mob-gnb .menu-bg>li {
    position: relative;
    flex: 1;
    height: 100%;
}

#mob-gnb .menu-bg>li:before {
    content: "";
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    width: 1px;
    height: 100%;
    background: #ddd;
}

#mob-gnb .menu-bg>li:after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #B99772;
    transition: width 0.4s ease-in-out;
}

#mob-gnb .menu-list {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
}

#mob-gnb .menu-list>ul {
    display: flex;
}

#mob-gnb .menu-list>ul>li {
    flex: 1;
    position: relative;
}

#mob-gnb .menu-list>ul>li>.dep01 {
    padding: 20px 15%;
    position: relative;
    display: block;
    width: 100%;
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.4s;
}

#mob-gnb .dep02>li {
    width: 100%;
}

#mob-gnb .dep02>li a {
    padding: 10px 15%;
    position: relative;
    display: block;
    width: 100%;
    color: #666;
    font-family: 'NotoKr_M', sans-serif;
    transition: all 0.4s ease-in-out;
}

#mob-gnb .dep02>li a>span {
    position: relative;
    z-index: 1;
}

#mob-gnb .dep02>li a:before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: #B99772;
    transition: all 0.4s ease-in-out;
}

#mob-gnb .dep02>li a:hover {
    color: #fff;
}

#mob-gnb .dep02>li a:hover:before {
    width: 100%;
}

#mob-gnb .menu-list>ul>li>.dep01:hover {
    color: var(--main-color);
}

#mob-gnb.on {
    opacity: 1;
    visibility: visible;
    z-index: 999;
}

#mob-gnb.on .menu-bg>li:after {
    width: 0;
}


/* 스크롤에 따른 메뉴 나타남, 사라짐 */
#hd.off {
    transform: translateY(-100%) !important;
}

/*다크모드*/
body.dark-mode #hd {
    background: #000;
    border-bottom: 1px solid #222;
}

body.dark-mode #gnb {
    background: #000;
}

body.dark-mode #gnb .gnb_1dli:hover>a {
    color: rgba(255, 255, 255, 1);
}

body.dark-mode #gnb_2dul:before {
    border-top: rgba(255, 255, 255, 1);
    background: #000;
}

body.dark-mode .hd_login li:last-child a {
    color: rgba(255, 255, 255, 0.6);
}

body.dark-mode #gnb #gnb_2dul .gnb-depth02.on {
    background: #111;
}

body.dark-mode #hd.on #logo .dark-mode-logo {
    opacity: 1 !important;
}

body.dark-mode #hd.on #logo .light-mode-logo {
    opacity: 0 !important;
}

body.dark-mode #hd.on .gnb_1da {
    color: rgba(255, 255, 255, 0.6) !important;
}

body.dark-mode #hd.on .hd_login li:first-child>a {
    color: #000;
    background: #fff;
    border: 1px solid #fff;
}

body.dark-mode #hd.on .hd_login a {
    color: #fff;
    border: 1px solid #ddd;
}
/* ==========================================================================
   헤더 GNB 좌측 이동 + 검색 버튼/패널
   ========================================================================== */
/* GNB 좌측 이동 배치 (피그마 50:2 기준 로고 우측 시작점 정렬 및 로고 겹침/투명화 방지) */
#logo {
    width: 190px;
}
#hd.black #logo .light-mode-logo,
#hd.on #logo .light-mode-logo,
body.dark-mode #hd.on #logo .light-mode-logo {
    opacity: 1 !important;
}
#gnb {
    justify-content: flex-start;
    padding-left: clamp(210px, 13.4vw, 257px);
    padding-right: 0;
}
#gnb .gnb_1dli,
#gnb_2dul .gnb-depth02,
#gnb.on .gnb_1dli {
    width: 170px;
}
#gnb_2dul:before {
    left: -200vw;
    width: 400vw;
}

#hd-sch-btn {
    position: absolute; top: 0; right: 100px; z-index: 1000;
    width: 100px; height: 100px; padding: 0; border: 0; background: transparent;
    color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: color .3s;
}
#hd.black #hd-sch-btn, #hd.on #hd-sch-btn, body.hd-sch-open #hd-sch-btn { color: #000; }
#hd-sch-btn:hover { color: var(--main-color); }
#hd-sch-btn .ico-close { display: none; }
body.hd-sch-open #hd-sch-btn .ico-search { display: none; }
body.hd-sch-open #hd-sch-btn .ico-close { display: block; }

#hd-sch-panel {
    position: absolute; left: 0; top: 100%; width: 100%; z-index: 999;
    background: #fff; border-top: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    padding: 40px 20px;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: all .3s;
}
body.hd-sch-open #hd-sch-panel { opacity: 1; visibility: visible; transform: translateY(0); }
body.hd-sch-open #hd { background: #fff; }
body.hd-sch-open #hd .gnb_1da { color: #000 !important; }
.hd-sch-form { position: relative; max-width: 760px; margin: 0 auto; }
.hd-sch-form input[type="text"] {
    width: 100%; height: 60px; padding: 0 70px 0 28px;
    border: 2px solid #B99772; border-radius: 30px;
    font-size: 17px; color: #333; background: #fff; outline: none;
}
.hd-sch-form input[type="text"]:focus { box-shadow: 0 0 0 4px rgba(185, 151, 114, .2); }
.hd-sch-submit {
    position: absolute; right: 7px; top: 50%; transform: translateY(-50%);
    width: 46px; height: 46px; border: 0; border-radius: 50%;
    background: #B99772; color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.hd-sch-submit:hover { background: #7F4F21; }
.hd-sch-dim {
    position: fixed; left: 0; top: 0; width: 100%; height: 100vh; z-index: 9998;
    background: rgba(0, 0, 0, .4); opacity: 0; visibility: hidden; transition: all .3s;
}
body.hd-sch-open .hd-sch-dim { opacity: 1; visibility: visible; }

/* 태블릿·모바일 (헤더 60px) */
@media (max-width: 1024px) {
    #hd-sch-btn {
        width: 48px; height: 60px; right: 44px;
        padding-top: env(safe-area-inset-top, 0px);
    }
    #hd-sch-panel { padding: 20px 16px; }
    .hd-sch-form input[type="text"] { height: 52px; font-size: 16px; padding: 0 62px 0 20px; }
    .hd-sch-submit { width: 42px; height: 42px; right: 5px; }
}