header{
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: all .5s ease-in-out;
    box-shadow: 0 19px 35px rgba(0,0,0,0.11);
    font-family: "Noto Sans KR Regular";
    color: #fff;
    border-bottom: 1px solid #fff;
}
.logo_default{
    display: none;
}
.logo_wh{
    display: block;
}
header.on .logo_wh{
    display: none;
}
header.on .logo_default{
    display: block;
}
header.on{
    box-shadow: 0 19px 35px rgba(0,0,0,0.11);
    background: #fff;
    color: #000;
    border-radius: 30px;
    width: 98%;
    top: 1%;
}
header.on .menu-wrap svg .header_btn{
    stroke: #000 !important;
}
header.on .gnb2 > li:first-child >span{
    border: 1px solid #000;
}
header.on .header_in_wrap{
    height: 80px;
}
.h_top {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: .5px solid #D8D8D8;
}
.h_logo{
    max-width: 300px;
}
.header_in_wrap{
    height: 90px;
    margin: 0 auto;
    width: 95%;
    max-width: 1600px;
    display: flex;
    justify-content: space-between;
    align-items:center ;
    transition: all .5s ease-in-out;
}
.header_in_wrap .h_logo{
    max-width: 300px; 
    margin-right: 30px;
}
.header_in_wrap nav{
    display: flex;
    align-items: center;
}
.header_in_wrap .gnb{
    display: flex;
    height: 100%;
    font-size: 17px;
    font-weight: 400;
    height: 100%;
}
.header_in_wrap .gnb li {
    position: relative;
}
.header_in_wrap .gnb li a {
    transition: all .5s ease ;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.header_in_wrap .gnb li:hover a{
    color: #fff;
}
header.on .header_in_wrap .gnb li:hover a{
    color: #000;
}
.header_in_wrap .gnb li:hover a::before {
    transform: translate(-50%, -50%) scale(1);
}

.header_in_wrap .gnb li.active a {
    font-family: "Noto Sans KR Medium";
    position: relative;
}
.header_in_wrap .gnb li a::after{
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    transform-origin: left center;
    width: 100%;
    height: 10px;
    background: rgb(3, 110, 184,0.3);
    transition: transform 0.3s ease;
    z-index: -1;
}
.header_in_wrap .gnb li.active a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%) scaleX(1);
    transform-origin: left center;
    width: 100%;
    height: 10px;
    background: rgb(3, 110, 184,0.3);
    transition: transform 0.3s ease;
    z-index: -1;
}
.header_in_wrap .gnb a {
    height: 100%;
    display: block;
    position: relative;
    /* overflow: hidden; */
    height: 21px;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}
.header_in_wrap .gnb li{
    padding: 0 2rem;
}
.gnb a span {
    display: block;
    transition: transform 0.3s ease;
    line-height: 1.2;
}
.gnb a span:first-child {
    transform: translateY(0);
}
.gnb a span:last-child {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    transform: translateY(0);
}

.gnb a:hover span:first-child {
    transform: translateY(-100%);
}

.gnb a:hover span:last-child {
    transform: translateY(-100%);
}

.header_in_wrap .gnb2{
    display: flex;
    gap: 30px;
    align-items: center;
}
.gnb2 > li:first-child >span{
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    padding: 2px 7px;
    border: 1px solid #fff;
    border-radius: 50px;
}
.gnb2 p{
    width: 21px;
    height: 21px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background: #8B50A4;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}
.gnb2 > li:last-child{
    font-size: 20px;
    font-family: "Noto Sans KR Medium";
}
.header_in_wrap .header_link{
    display: flex;
    align-items: center;
    font-weight: bold;
    color: #000;
}

.link_img{margin-right: 1rem;}
/* .header_link p{
font-size: 1.5rem;
}
.header_link span{
font-size: 2.6rem;
} */
.header_in_wrap .header_link{display: none;}
/* 모바일메뉴 */
.menu-wrap{
    /* display: none; */
    position: relative;
    width: 35px;
    height: auto;
    cursor: pointer;
}
@media (min-width:0px) and (max-width:1680px){
    .gnb2 > li:first-child >span, .gnb2 > li:last-child{
        display: none;
    }
}
@media (min-width:0px) and (max-width:1280px){
     .header_in_wrap .h_logo{
        max-width: 270px;
    }
    .header_in_wrap .gnb li{
        padding: 0 1rem;
    }
}
@media (min-width:0px) and (max-width:1080px){
    header.on{
        border-radius: 0px;
        width: 100%;
        top: 0;
    }
    .header_in_wrap .gnb li a::after{
        display: none;
    }
    .menu-wrap{
        display: block;
    }
    /* header */
    header .header_in_wrap{
        height: 60px;
        /* justify-content: space-between; */
    }
    header.on .header_in_wrap{
        height: 80px;
        
    }
    .header_in_wrap .header_link{
        display: flex;
    }
    .link_img {
        width: 40px;
    }
    /* mobile menu */
    .header_in_wrap nav.menu_open {
        /* display: block; */
        height: auto;
    }
    .header_in_wrap .h_logo{
        max-width: 220px;
    }
    .header_in_wrap nav {
        display: block;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #005B98;
        height: 0px;
        overflow: hidden;
        transition: all .5s ease;
    }
    .header_in_wrap .gnb {
        font-size: 1.6rem;
    }
    header.on .header_in_wrap nav {
        top: 80px;
    }
    header.on .header_in_wrap nav .gnb{
        font-size: 1.6rem;
        color: #000;
    }
    header .header_in_wrap nav .gnb{
        flex-direction: column;
        text-align: center;
    }
    header .header_in_wrap nav .gnb a{
        line-height: 4rem;
        color: #fff;
        border-bottom: 1px solid #fff;
        display: flex;
        align-items: center;
        padding: 0 2rem;
        justify-content: center;
        height: 40px;
    }
    header .header_in_wrap nav .gnb a::before{
        display: none
    }
    header .header_in_wrap nav .gnb .active a{
        background: #fff;
        font-weight: 800;
        color: #005B98;
    }.header_in_wrap .gnb li{
        padding: 0;
    }
    .gnb a span {
        transform: translateY(0) !important;
    }
    .gnb a:hover span:first-child,
    .gnb a:hover span:last-child {
        transform: translateY(0) !important;
    }
}
@media (min-width:0px) and (max-width:500px){
    .h_logo{width: 220px;}
    
}

