@charset "utf-8";


body{ width: 100%;}
.mt0{margin-top: 0 !important;}

#wrap{ width: 100%; margin: 0 auto; position: relative;min-width: 1200px;}

/* 메인만 푸터 일부 안보이게 */
#wrap.main #footer .site-list {display: none;}

#wrap.main #footer .footer-inquiry {display: none;}

/* 메인만 헤더 예약버튼 삭제 */
#wrap.main .topLeft{display: none;}

/* header */
#header{
    width:100%;
    position: fixed;
    height: 147px;
    min-width: 1200px;
    z-index: 1000;
    background-color: #fff;
    transition: all 0.3s;
}
.head-top {
    background: rgba(0, 0, 0, 0.87);
    height: 42px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}
.head-top a {
    color: #fff;
    font-size: var(--f12);
}
.head-top .language {
    display: flex;
    gap: 30px;
}
.head-top .login {
    text-transform: uppercase;
    display: flex;
    gap: 24px;
}
.head-top .login a {
    position: relative;
}
.head-top .login a:first-child::before {
    display: none;
}
/* 로그아웃은 form 안의 링크라 first-child 가 되므로 구분선을 다시 보이게 */
.head-top .login form a::before {
    display: block;
}
.head-top .login a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -12px;
    transform: translateY(-50%);
    width: 1px;
    height: 6px;
    background: #fff;
}
.head-con {
    position: relative;
}

.topLeft {
    padding: 30px 38px;
}
.topLeft a {
    display: flex;
    gap: 13px;
    align-items: center;
    font-family: var(--se);
    color: #1F1F1F;
}
.topLeft a span {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--main-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

#header .topCenter{
    position: absolute;
    top: 30px;
    transform: translateX(-50%);
    left: 50%;
}
#header .topCenter .sub {
    display: none;
}
#header.scroll .topCenter .sub {
    display: block;
}
#header.scroll .topCenter .default {
    display: none;
}

#header .topRight{
    display: flex;
    gap: 120px;
    align-items: flex-start;
    font-family: var(--mj);
    position: absolute;
    top: 35px;
    right: 38px;
}
.topCenter img{
    display: block;
    width: auto;
}


/* header - main */
#header.main{
    background:transparent;
    border-bottom: none;
}

.mem {
    text-transform: uppercase;
    font-weight: 500;
    color: #fff;
    margin-top: 4px;
}
/* // header main */


/* header - scroll */
#header.scroll{
    background: #fff;
    border-bottom: 1px solid #E8E8E8;
    transition: all 0.3s;
}
#header.scroll .mem{
    color: var(--text);
}
#header.scroll .menu-btn{
    background: var(--main-color);
}
#header.scroll .menu-btn span {
    background: #fff;
}
#header.scroll .menu-list li{
    color: var(--text);
}


/*---햄버거메뉴---*/
.menu-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

/* 눌렀을 때 */
.menu-btn.active span:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
}
.menu-btn.active span:nth-child(2) {
    transform: translateY(-3px) rotate(-45deg);
}

/* 메뉴 */
/* .menu-list {
    position: absolute;
    top: 4px;
    right: 51px;
    text-align: right;
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
	min-width: 100px;
    transition: 0.4s;
} */

.menu-list li {
    font-size: var(--f14);
    color: #fff;
    /* margin-bottom: 3px; */
    cursor: pointer;
    opacity: 1;
    transform: translateY(2px);
}

/* 열렸을 때 */
/* .menu-list.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
} */

.menu-list.active li:nth-child(1) { transition: 0.3s 0.1s; }
.menu-list.active li:nth-child(2) { transition: 0.3s 0.2s; }
.menu-list.active li:nth-child(3) { transition: 0.3s 0.3s; }


/* ===== 헤더: 메뉴 열렸을 때 ===== */
#header.gnb-open { color: #fff; box-shadow: none; }
#header.gnb-open .menu-wrap{display: none;}

/* ===== 햄버거 → X ===== */
.menu-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
}
.menu-btn span {
    width: 17px; height: 1px; background: #fff;
    transition: top .5s cubic-bezier(.77,0,.18,1), transform .5s cubic-bezier(.77,0,.18,1);
    margin: 2px 0;
}

.menu-btn.active span {
    left: 0;
}
/*.menu-btn.active span:nth-child(1) { top: 50%; transform: rotate(45deg); }
.menu-btn.active span:nth-child(2) { top: 50%; transform: rotate(-45deg); } */

/* ===== GNB ===== */
.gnb {
    position: fixed; inset: 0; z-index: 1100; color: #fff;   /* 900 → 1100 */
    visibility: hidden; pointer-events: none;
    opacity: 0;
    transition: opacity .8s ease, visibility 0s .8s;
    height: calc(100% - 42px);
    top: 42px;
}

/* GNB 닫기 버튼 */
.gnb-close {
    position: absolute;
    top: 30px;
    left: calc(min(1380px, 100%) - 70px);   /* 베이지 영역 우측 상단 */
    z-index: 3;
    width: 40px; height: 40px;
    border: 0; border-radius: 50%;
    background: var(--main-color);
    cursor: pointer;
    opacity: 0;
    transform: rotate(-90deg);
    transition: opacity .5s ease, transform .6s cubic-bezier(.77,0,.18,1), background .3s;
}
.gnb.open .gnb-close {
    opacity: 1;
    transform: rotate(0);
    transition-delay: .4s;
}
.gnb-close:hover { background: rgba(255,255,255,.3); }
.gnb-close span {
    position: absolute; top: 50%; left: 50%;
    width: 15px; height: 2px; background: #fff;
    border-radius: 30px;
}
.gnb-close span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.gnb-close span:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }

.gnb.open {
    visibility: visible; pointer-events: auto;
    opacity: 1;
    transition: opacity .8s ease;
}
.gnb-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transform: scale(1.15);
    transition: transform 1.8s cubic-bezier(.19,1,.22,1), background-image .6s ease;
}
.gnb.open .gnb-bg { transform: scale(1); }
.gnb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(164, 142, 130, 0.9);
    z-index: 1;
    max-width: 1380px;
}

.gnb-container {
    position: relative; z-index: 2;
    display: flex; align-items: center;
    max-width: 1400px; height: 100%; margin: 0 auto; padding: 0 60px;
}
.gnb a { color: inherit; text-decoration: none; }

/* 왼쪽: 1뎁스 */
.left-panel { min-width: 300px; width: 340px; }
.left-panel nav + nav { margin-top: 60px; }
.nav-title {
    display: block;
    font-family: var(--old);
    font-size: var(--f14);
    letter-spacing: -2%;
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
}
.left-panel nav > ul > li {
    position: relative;
    font-size: var(--f22);
    line-height: 2.8rem;
    cursor: pointer;
    opacity: 0;
    color: #fff;
    transition: color .4s ease;
    letter-spacing: -2%;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.left-panel nav > ul > li > a { font-weight: 300; }
.left-panel nav > ul > li.other-item { color: rgba(255,255,255,0.5); }
.left-panel nav > ul > li.hovered-item > a { color: #fff; font-weight: 700; }

/* 2뎁스: 해당 메뉴 옆으로 빠짐 */
.gnb-sub {
    display: none;
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    padding-left: 24px;
    overflow: hidden;
    white-space: nowrap;
}
/* hover 시 메뉴 → 하위메뉴 연결선 */
.left-panel nav > ul > li:has(.gnb-sub)::after {
    content: '';
    flex: 1;
    height: 0;
    margin-left: 30px;
    border-top: 1px dotted rgba(255,255,255,.8);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .9s cubic-bezier(.77,0,.18,1);
}
.left-panel nav > ul > li.hovered-item::after {
    transform: scaleX(1);
}

.left-panel nav > ul > li.hovered-item > .gnb-sub { display: block; }
.gnb-sub li {
    font-size: var(--f16);
    line-height: 2.8rem;
    font-weight: 300;
    text-transform: none;
    color: rgba(255,255,255,.8);
    opacity: 0;
    transition: color .3s;
}
.gnb-sub li a:hover { color: #fff; }
.gnb-sub li span {
    position: relative;
    text-transform: uppercase;
    transition: all 0.3s;
}
.gnb-sub li a:hover span {
    font-weight: 700;
    transition: all 0.3s;
}
/*.gnb-sub li span::after {
	content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px;
	background: #fff; transform: scaleX(0); transform-origin: right;
	transition: transform .5s cubic-bezier(.77,0,.18,1);
} 
.gnb-sub li a:hover span::after { transform: scaleX(1); transform-origin: left; }*/

/* 애니메이션 */
@keyframes gnbItemIn {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: none; }
}
.gnb.open .left-panel nav > ul > li {
    animation: gnbItemIn .9s cubic-bezier(.19,1,.22,1) both;
}

@keyframes menuFade {
    0%   { opacity: 0; transform: translate(-100%); }
    100% { opacity: 1; transform: translate(0); }
}
.gnb.open .left-panel li.hovered-item .gnb-sub li {
    animation: menuFade 1s ease-in-out forwards;
}

/* 닫히는 동안 글자가 먼저 사라지지 않게 */
.gnb.closing .left-panel nav > ul > li,
.gnb.closing .left-panel li.hovered-item .gnb-sub li { opacity: 1; }
/*---//햄버거메뉴끝---*/
/*---//메뉴끝---*/


#contents{ width: 100%; background-color: #fff; position: relative;}

/*footer*/
#footer{
    width: 100%;
    position: relative;
    background-color: #1A1A1A;
    font-size: 14px;
    color: #fff;
    text-align: center;
}

.site-list {
    background: #303030;
    padding: 86px 0 73px;
}
.f-img-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 83px;
}
.f-text-list {
    display: flex;
    justify-content: center;
    text-align: left;
    gap: 55px;
    margin-top: 80px;
    font-family: var(--pre);
}
.f-text-list ul {
    line-height: 32px;
}
.f-text-list ul li {
    position: relative;
    padding-left: 20px;
}
.f-text-list ul li::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 8px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #fff;
}

.footer-layout{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding:114px 109px 110px 116px;
}
.footer-info{
    display: flex;
    text-align: left;
    gap: 85px;
    align-items: center;
}
.footer-info .list {
    line-height: 24px;
}
.logo-area{
    font-size: var(--f20);
    letter-spacing: -0.5px;
}
.logo-area ul{
    line-height: 24px;
}

.family-site {
    position: relative;
    max-width: 150px;
}
.footer-box {
    display: flex;
    gap: 60px;
}

.terms-list {
    margin-top: 8px;
    display: flex;
    gap: 30px;
}
.terms-list a {
    font-size: var(--f14);
    color: #fff;
    font-weight: 500;
    letter-spacing: -0.5%;
}

.footer-box select{
    border: none;
    width: 100%;
    font-size: var(--f14);
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    border-radius: 27.5px;
    color: #373737;
    cursor: pointer;
    background: #fff;
    transition:all 0.4s;
    outline: none;
    font-weight: 400;
    appearance: none;
    height: 38px;
}
.family-site::after {
    content: "";
    position: absolute;
    top: 20%;
    right: 20px;
    width: 10px;
    height: 16px;
    background: url(/images/more.svg) no-repeat center / contain;
    transition: transform 0.4s;
    pointer-events: none;
    transform: translateY(-50%);
}
.family-site:hover::after {
    transform: translateY(-50%) rotate(90deg);
}
.footer-box .link{
    display: flex;
    gap: 20px;
    margin-top: 16px;
}
.footer-box .link li{
    cursor: pointer;
}

.copy-line{
    width: 100%;
    line-height: 24px;
    border-top: 1px solid #ADA199;
    padding: 10px 0;
    text-transform: uppercase;
}

/* footer - inquiry */
.footer-inquiry {
    background: #414141;
    color: #fff;
    padding: 75px 0;
    text-align: center;
    font-family: var(--pre);
}
.footer-inquiry h1 {
    font-weight: 600;
    font-size: var(--f14);
}
.footer-inquiry h2 {
    font-weight: 300;
    font-size: var(--f35);
    margin-top: 14px;
}
.footer-inquiry p {
    margin-top: 20px;
}
.footer-inquiry .view-more {
    min-width: 207px;
    background: var(--main-color);
    color: #fff;
    padding: 12px 0;
    font-size: var(--f14);
    text-align: center;
    margin-top: 50px;
    display: inline-block;
    font-weight: 400;
    position: relative;
}
.footer-inquiry .view-more img {
    position:absolute;
    top:8px;
    right:8px;
    transition:all 0.4s;
}
.footer-inquiry .view-more:hover img {
    transform:translate(2px, -2px);
}

/* 모바일 */
@media (max-width: 1200px) {
    #wrap{
        min-width: 0;
    }
    #header{
        min-width: 0;
        height: 94px;
    }

    .head-con {
        height: 64px;
    }

    .head-top {
        height: 30px;
        padding: 0 15px;
    }
    .head-top .language {
        gap: 20px;
    }
    .head-top .login {
        gap: 12px;
    }
    .head-top .login a::before {
        left: -6px;
    }

    .topLeft a {
        font-size: 0;
        position: absolute;
        top: 50%;
        left: 15px;
        transform: translateY(-50%);
    }
    .topLeft a img {
        width: 60%;
    }
    .topLeft a span {
        width: 24px;
        height: 24px;
    }

    #header .topCenter{
        top: 12px;
        transform: translateX(-50%);
    }
    .mem{
        font-size: var(--f12);
        margin-top: 2px;
    }
    #header .topRight{
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }
    .topCenter img{
        width: 35px;
    }
    .menu-btn{
        width: 24px;
        height: 24px;
    }

    .menu-list{
        display: none;
    }
    .menu-list li{
        font-size: var(--f12);
        margin-bottom: 0;
    }

    .menu-btn span {
        width: 10px;
    }
    .menu-btn.active span:nth-child(1){
        transform: translateY(2px) rotate(45deg);
    }
    .menu-btn.active span:nth-child(2){
        transform: translateY(-3px) rotate(-45deg);
    }

    /* gnb */
    .gnb {
        top: 0;
        height: 100%;
    }
    .gnb::after { max-width: none; }
    .gnb-close { top: 20px; left: auto; right: 20px; width: 34px; height: 34px; }
    .gnb-container {
        padding: 0 24px 30px;
        align-items: flex-start;
        height: 580px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        margin-top: 94px;
        overflow-y: scroll;
    }
    .left-panel { width: 100%; min-width: 0; }
    .left-panel nav + nav { margin-top: 36px; }
    .nav-title { font-size: 13px; margin-bottom: 4px; }
    .left-panel li { font-size: 28px; }
    .left-panel li.other-item { color: #fff; }
    .right-panel { display: none; }

    /* 1뎁스 */
    .left-panel nav > ul > li {
        display: block;
        font-size: 18px;
        line-height: 2.1;
    }
    .left-panel nav > ul > li::after { display: none; }
    .left-panel nav > ul > li.other-item { color: rgba(255,255,255,.7); }

    /* 2뎁스 */
    .gnb-sub {
        position: relative;
        top: auto; left: auto;
        transform: none;
        padding: 10px 0;
        margin: 4px 0 8px;
        white-space: normal;
    }
    .gnb-sub::before,
    .gnb-sub::after {
        content: '';
        position: absolute; left: 0;
        width: 70%;
        border-top: 1px dotted rgba(255,255,255,.8);
    }
    .gnb-sub::before { top: 0; }
    .gnb-sub::after { bottom: 0; }
    .gnb-sub li {
        font-size: 13px;
        line-height: 1.9;
        text-transform: uppercase;
    }

    /* 닫기 버튼 */
    .gnb-close { top: 20px; left: auto; right: 20px; width: 38px; height: 38px; }
    /* nav end */

    /* 푸터 */
    .footer-inquiry .text {
        width: 86%;
        margin: 0 auto;
    }
    .footer-inquiry h1 {
        font-size: var(--f10);
    }
    .footer-inquiry h2 {
        font-size: var(--f24);
    }
    .footer-inquiry p {
        font-size: var(--f13);
    }

    .footer-inquiry .view-more {
        margin-top: 32px;
        padding: 18px 0;
    }

    .footer-layout {
        padding: 40px 0 50px 20px;
        flex-direction: column;
        width: 94%;
    }
    .site-list {
        display: none;
    }
    .footer-info{
        flex-direction: column;
        gap: 26px;
        align-items: flex-start;
    }
    .footer-box select{
        width: 100px;
        height: 25px;
        padding: 2px 12px;
    }

    .logo-area{
        font-size: var(--f14);
    }
    .logo-area img{
        width: 70px;
    }

    .footer-info .list{
        font-size: var(--f12);
    }
    .footer-info .list li {
        text-transform: uppercase;
    }

    .footer-box{
        margin-top: 32px;
        flex-direction: column;
        gap: 30px;
    }
    .terms-list {
        flex-direction: column;
        gap: 10px;
        text-align: left;
    }
    .terms-list a {
        font-size: var(--f12);
    }
    .family-site {
        display: flex;
        align-items: center;
        gap: 18px;
        max-width: 100%;
    }
    .family-site::after {
        top: 15px;
        left: 80px;
    }
    .footer-box .link {
        margin-top: 0;
        gap: 12px;
    }
    .footer-box .link li img {
        width: 25px;
        vertical-align: middle;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gnb, .gnb-bg, .gnb.open .left-panel li, .gnb.open .right-panel li { transition: none !important; animation: none !important; opacity: 1; }
}
