header{
    font-size: 0.9rem;
    overflow: hidden;/*서브메뉴가 헤더 밖으로 나가지 않게*/
    max-height: 120px;/*기본 높이 제한*/
    transition: all 0.5s ease-out 0s; /*높이 변화 애니메이션*/
    background-color: #fff;
    position: fixed;/*before, after의 기준점*/
    left: 0;
    top: 0;
    width: 100%;
    z-index: 1000;
    /* transition: all 0.6s ease 0s; */
}
/* header:after{
    content: "";
    position: absolute;
    width: 100%;
    border-top: 2px solid red;
    left: 0;
    top: 120px;
} */
 /* header.fold{
    transform: translateY(-106px);
 } */
header::before{
    content: ""; /*가상요소생성*/
    position: absolute;
    width: 100%;
    height: 0;
    background-color: var(--Midnight-Whisper-main-color);
    left: 0;
    top: 6rem;
    transition: height 0.5s ease-out;
    z-index: 0;
    pointer-events: none;
} 
header:hover::before{
    height: 600px;
    /* 호버시 배경확장  */
} 
header:hover{
    /* 헤더호버시 전체 높이 확장 */
    max-height: 600px;
}
/* header .common-frame{
    border: 1px solid blue;
} */
 /* 헤더상단 lnb */
.header-top{
    display: flex;
    justify-content: flex-end;
}
.lnb{
    display: flex;
    gap: var(--space-normal);
    font-size: 0.8rem;
}
.header-bottom{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: var(--space-x-large);
    position: relative;
    z-index:10;
}
.gnb{
    display: flex;
    flex: 1;
    gap: 5rem;
    align-items: flex-start;
    padding-top: 1.4rem;
    height: 350px;
}
.gnb>li>a{
    display: block;
    padding: var(--space-x-small) 0;
    font-weight: var(--font-strong);
}
.gnb1{
    justify-content: flex-start;
    text-align: left;
    flex: 1;
}
.gnb2{
    justify-content: flex-end;
    text-align: right;
}
.gnb2>li{
    text-align: left;
}
.gnb li ul{
    gap: var(--space-normal);
    display: flex;
    flex-direction: column;
    font-size: 0.8rem;
    max-width: var(--space-3x-large);
    padding-top: var(--space-x-large);
    color: #fff;
    width: 150px;
}
.gnb li ul li a{
    white-space: nowrap; /* 줄바꿈 방지 */
}
/* 서브메뉴 호버 */
header .gnb ul a:hover{
    color: var(--Midnight-Whisper-color-100);
    font-size: 0.9rem;
    max-width: 8rem;
}
/* .sns img{
    height: 1.2rem;
    나중에 푸터할때사요옹
} */
.header-smart{
    display: none;
}
.hidden-lnb{
    display: none;
}
.hidden-gnb{
    display: none;        
}
@media(max-width:1440px){
    .pc{
        display: none;
        /* 설정해놓은 pc용 메뉴를 숨김처리 */
    }
    .header-smart{
        display: block;
        background-color: #fff;
        position: fixed;
        width: 100%;
        left: 0;
        top: 0;
        z-index: 1000;
    }
    .header-smart .common-frame{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .header-smart .common-frame::before{
        content: "";
        flex: 1;

    }
    .header-smart .common-frame>*{
        flex: 1;
    }
    .header-smart .logo{
        text-align: center;
    }
    .btn-all-menu{
        text-align: right;
    }
    .hidden-lnb{
        display: block;
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: var(--Midnight-Whisper-main-color);
        transform: translateX(120%);
        transition: all 0.7s ease 0s;
        z-index: 200000;
    }
    .hidden-lnb.on{
        transform: translateX(0%);
    }
    /* .hidden-lnb>*{
        
    } */
    .hl1{
        /* display: flex;
        justify-content: space-between;
        align-items: center; */
        padding: 1rem 0;
    }
    .close{
        text-align: right;
    }
    .logo{
        object-fit: cover;
    }
    .logolnb{
        display: flex;
        justify-content: space-between;
        height: 100%;
    }
    .logolnb ul{
        display: flex;
        gap: 1rem;
        color: #fff;
        align-items: center;
    }
    /* .slider-container{
        width: 221px;
    } */
    .logolnb ul li a{
        display: block;
        padding: 1rem 0;
        font-size: 0.8rem;
    }
    .gnb-smart{
        color: white;
        display: grid;
        grid-template-columns: repeat(5,1fr);
        gap: var(--space-normal);
    }
    .gnb-smart>li{
        display: flex;
        flex-direction: column;
        gap: var(--space-x-large);
    }
    .gnb-smart ul{
        display: flex;
        flex-direction: column;
        gap: var(--space-normal,1rem);
        font-size: 0.8rem;
    }
    .gnb-smart>li>a{
        font-weight: var(--font-strong);
        font-size: 0.9rem;
    }
}
@media (max-width:768px) {
    .gnb-smart{
        display: block;
    }
    .gnb-smart>li{
        border-bottom: 1px solid #fff;
        max-height: 40px;
        overflow: hidden;
        gap: var(--space-normal);
        transition: all 0.5s ease-in 0;
    }
    .gnb-smart>li>a{
        height: 40px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-sizing: border-box;
    }
    .gnb-smart>li>a::after{
        content: "";
        height: 1.2rem;
        aspect-ratio: 1/1;
        background: url("../img/Arrow\ down.svg") no-repeat 50% 50% / contain;
    }
    .gnb-smart>li.on{
        max-height: 300px;
    }
    .gnb-smart>li.on>a::after{
        background: url("../img/Arrow\ open.svg") no-repeat 50% 50% / contain;
    }
}