header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #fff;
    transition: all .5s ease-in-out;
    box-shadow: 0 19px 35px rgba(0,0,0,0.11);
    font-family: 'Pretendard Variable';
    font-weight: 500;
    color: var(--color-logo-black);
}

.h_logo{
    max-width: 280px;
}
.header_in_wrap{
    height: 100px;
    margin: 0 auto;
    width: 95%;
    max-width: 1700px;
    display: flex;
    justify-content: space-between;
    align-items:center ;
    transition: all .5s ease-in-out;
}

.header_in_wrap nav{
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
}
.header_in_wrap .gnb{
    display: flex;
    height: 100%;
    font-size: 20px;
}
.header_in_wrap .gnb li {
    position: relative;
    padding: 0 25px;
}
.header_in_wrap .gnb li a {
    transition: all .5s ease ;
    position: relative;
    cursor: pointer;
}
.header_in_wrap .gnb li:hover a{
    color: var(--color-logo-red);
}

.header_in_wrap .gnb li.active a {
    position: relative;
    color: var(--color-logo-red);
}

.header_in_wrap .gnb a {
    height: 100%;
    display: block;
    position: relative;
    align-items: center;
    justify-content: center;
}

.gnb a span {
    display: block;
    transition: transform 0.3s ease;
}
/* 1뎁스 hover 동그라미 */
.gnb > li > a{
  position: relative;
  display: inline-block;
  height: 100%;
  transition: color .3s ease;
}

/* 동그라미 */
.gnb > li > a::before{
  content: '';
  position: absolute;
  top: -13px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-logo-navy);
  transform: translate3d(-50%,0,0) scale(0);
  transition: transform .3s ease;
}
/* 밑줄 */
.gnb > li > a::after{
  content: '';
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 100%;
  height: 3px;
  background: var(--color-logo-red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .3s ease;
}

/* 동그라미 hover + active */
.gnb > li:hover > a::before,
.gnb > li.active > a::before{
  transform: translate3d(-50%,0,0) scale(1);
}

/* 밑줄 hover + active */
.gnb > li:hover > a::after,
.gnb > li.active > a::after{
  transform:scaleX(1);
}

/* 모바일메뉴 */
.header_in_wrap .header_link{
    display: flex;
    align-items: center;
    font-weight: bold;
    color: #222;
}

.link_img{margin-right: 1rem;}

.header_in_wrap .header_link{display: none;}


.menu-wrap{
    /* display: none; */
    position: relative;
    height: auto;
    cursor: pointer;
}

.menu {
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    padding: 0;
}

.header_link .line {
    fill: none;
    stroke: #fff;
    stroke-width: 6;
    transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
    stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}
.header_link .line1 {
    stroke-dasharray: 60 207;
    stroke-width: 6;
}
.header_link .line2 {
    stroke-dasharray: 60 60;
    stroke-width: 6;
}
.header_link .line3 {
    stroke-dasharray: 60 207;
    stroke-width: 6;
}
.opened .line1 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
    stroke-width: 6;
}
.opened .line2 {
    stroke-dasharray: 1 60;
    stroke-dashoffset: -30;
    stroke-width: 6;
}
.opened .line3 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
    stroke-width: 6;
}

@media (min-width:0px) and (max-width:1550px){
    
    .header_in_wrap .gnb li {
        padding: 0 1.2rem;
    }
}

@media (min-width:0px) and (max-width:1280px){
    .header_in_wrap .h_logo{
        max-width: 200px;
    }
    .header_in_wrap .gnb li{
        padding: 0 1.7rem;
    }
    .gnb2 span{
        display: block;
        width: 30px;
    }
    .header_in_wrap .gnb{
        font-size: 17px;
    }
    .gnb2 > div:nth-of-type(2) div:nth-of-type(2){
        font-size: 15px;
    }
    .gnb2{
        gap: 5px;
    }
    .gnb > li > a::before{
        top: -12px;
        width: 5px;
        height: 5px;
    }

    
}
@media (min-width:0px) and (max-width:1220px){
    .header_in_wrap .gnb li {
        padding: 0 1rem;
    }
    .header_in_wrap{
        width: 97%;
    }
}

@media (min-width:0px) and (max-width:1080px){
    .main_before {
    height: 70px;
}
    .header_in_wrap .gnb li a::after{
        display: none;
    }
    .menu-wrap{
        display: block;
    }
    
    /* header */
    header .header_in_wrap{
        height: 70px;
        /* justify-content: space-between; */
    }

    .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: 200px;
        margin-bottom: 0;
    }
    .header_in_wrap nav {
        display: block;
        position: absolute !important;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgb(192, 192, 192);
        backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
        height: 0px;
        overflow: hidden;
        transition: all .5s ease;
        position: relative;
    }
    .header_in_wrap .gnb {
        font-size: 1.6rem;
    }

    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: 2px solid #fff;
        display: flex;
        align-items: center;
        padding: 0 2rem;
        justify-content: center;
        height: 60px;
    }
       header .header_in_wrap nav .gnb a:hover{
        color: #fff;
       }
    
    header .header_in_wrap nav .gnb a::before{
        display: none
    }
    header .header_in_wrap nav .gnb .active a{
        background: #fff;
        font-weight: 800;
    }.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;
    }
    .gnb2{
        display: none;
    }
    .header_link .line{
        stroke: #000;
    }
        .gnb > li::after{
        display: none;
    }
}
@media (min-width:0px) and (max-width:900px){
    header{
        box-shadow: 0 19px 35px rgba(0,0,0,0.11);
        background: #fff;
        color: #222;
        border-radius: 0px;
        width: 100%;
        top: 0px;
        height:70px;
    }
    header .line{
        stroke: #222;
    }
    
    header .menu-wrap svg .header_btn{
        stroke: #222 !important;
    }

    header .logo_wh{
        display: none;
    }
    header .logo_default{
        display: block;
    }
    header .header_in_wrap{
        height: 70px;
    }
}

@media (min-width:0px) and (max-width:500px){
    .h_logo{width: 220px;}
    
}

