header{
    background-color: var(--neutral-color);
    max-height: 80px;
    overflow: hidden; 
    transition: max-height 0.6s ease 0s;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}
header li>a:hover{
    color: var(--point-color-2);
}
header.on {
    background-color: rgba(255, 255, 255, 0.6); 
    backdrop-filter: blur(15px); /* 숫자를 맞추는 게 자연스러워요 */
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    /* 아래 한 줄 추가: 애니메이션 시 끊김 방지 */
    will-change: background-color, backdrop-filter;
}

header:hover{
    max-height: 500px;
}
header .wrap{
    margin: 0 2rem;
    display: flex;
    justify-content: space-between;
    margin-bottom: 70px;
}
header .logo{
    height: 80px;
    line-height: 0;
}
header .logo a{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
header .logo img{
    height: 60px;
}
header .gnb{
    display: flex;
    gap: 5.55rem;
}
.gnb>li>a{
    height: 80px;
    display: flex;
    justify-content: flex-start ;
    align-items: center;
    font-weight: 700;
}
header .lnb{
    display: flex;
    height: 80px;
    align-items: center;
    gap: 10px ;
    font-size: 16px;
}
.gnb .depth2{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.header-smart{display: none;}
.menu-smart-hidden{display: none;}
.gnb-smart>li>a>span{
    display: none;
}

@media (max-width:1440px){
    header{display: none;}
    .menu-smart-hidden{
        transform: translateX(100%);
        /* filter: blur(50px); */
        /* opacity: 1; */
        pointer-events: none;
        transition: all 0.7s ease 0s;
    }
    .menu-smart-hidden.on{
        transform: translateX(0%);
        filter: blur(0px);
        /* opacity: 1; */
        pointer-events: auto;
    }
    .header-smart{
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1000;
        width: 100%;
        background-color: var(--neutral-color);
        border-bottom: 1px solid var(--main-color);
    
    }
    .menu-smart-hidden .menu-top{
       
    }
    .header-smart .common-frame{
        display: flex;
        justify-content: space-between;
        position: relative;
        align-items: center;
        height: 70px;
    }
    .header-smart .logo img{
        height:3.125rem;
    }
    .header-smart .btn-menu img{
        height: 1.2rem;
    }

    .menu-smart-hidden{
        display: block;
        position: fixed;
        width:100%;
        height:100%;
        left:0;
        top:0;
        background-color: var(--neutral-color);
        z-index: 3000;
        overflow-y: auto;
    }
    .menu-top{
        margin-bottom: 1.5rem;
    }
    .menu-top .logo img{
        height:3.125rem;
    }
    .menu-top .btn-close img{
        height: 1.2rem;
        width: 1.2rem;
    }
    .menu-top .common-frame{
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 80px;
    }
    .menu-lnb{
        display: flex;
        gap: 8px;
        color: var(--point-color-2);
        justify-content: flex-end;
        margin-bottom: 5rem;
    }
    .gnb-smart{
        width: 639px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }
    .gnb-smart>li>a{
        padding: 10px;
        display: block;
        border-bottom: 2px solid var(--main-color);
        margin-bottom: 2rem;
        font-size: var(--heading-2);
        font-weight: var(--bold-weight);
    }
    .gnb-smart>li>.nm{
        margin-bottom: 0;
    }
    .gnb-smart .depth2{
        display: flex;
        flex-direction: column;
        gap: 1rem;
        font-size: 20px;
    }
    .menu-content{
        margin: 3rem;
    }
    .menu-sns {
        text-align: center;
        display: flex;
        justify-content: end;
        width: 639px;
        margin: 0 auto;
    }
    .menu-sns .sns{
        width: 639px;
        justify-content: flex-end;
    }
    .btn-close,.btn-menu{
        cursor: pointer;
    }
    
}


@media (max-width:768px){

    .menu-lnb {
        color: var(--point-color-1);
        justify-content: center;
        margin-bottom: 3rem;
    }
    .menu-content {
        margin: 1rem 0;
    }
    .menu-top {
        margin-bottom: 1rem;
    }
    .gnb-smart {
        width: 100%;
    }
    .gnb-smart>li{
        max-height: 50px;
        overflow: hidden;
        position: relative;
    }
    .menu-sns .sns {
        width: 100%;
        margin: 3rem 2rem;
    }
    header .common-frame {
        margin: 1rem;
       
    }
    .header-smart .common-frame {
        height: 50px;
    }
    .gnb-smart>li.on{
        max-height: 500px;
    }
    .menu-top .common-frame {
        height: 50px;
    }
    .gnb-smart>li>a {
        text-align: start;
    }
    .gnb-smart>li>a>span{
        display: block;
        width: 24px;
        aspect-ratio: 1/1;
    }
    .gnb-smart>li .btn-more img {
        transition: all .5s ease 0s;
        width: 24px;
        height: 24px;
    }
    .gnb-smart>li.on .btn-more img{
        transform: rotate(180deg);
    }
    .btn-more{
        position: absolute;
        padding-left: 20px;
        height:40px;
        right:0;
        top:0;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
    }
    .gnb-smart .depth2 {
        font-size: var(--body-1);
    }
}

@media (max-width:350px){
    .gnb-smart>li>a {
        font-size: var(--heading-4);
    }
    .common-frame {
        width: auto;
        margin: 0 1rem;
    }
}