
/* header.on */
header.on {
    background: rgb(255, 255, 255,0.7);
    color: #000;
}
header.on .h_logo{
    filter: invert(100%) sepia(100%) saturate(0) hue-rotate(200deg) brightness(200%) contrast(201%);
}
header.on .header_in_wrap .gnb li a path{
    fill:#000;
    /* transition: 0.5s ease-in-out; */
}
header.on .header_in_wrap .gnb li:hover a path,
header.on .header_in_wrap .gnb li.active a path{
    fill: #B49860;
}
header.on .header_in_wrap .gnb li:hover a ,
header.on .header_in_wrap .gnb li.active a {
    color: #B49860;
}
header.on .line{
    stroke: #000;
}
/* header.on .header_in_wrap{
    height: 50px;
} */

header{
    backdrop-filter: blur(3px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    color: #fff;
    transition: all .5s ease-in-out;
}
.h_logo{
    max-width: 115px;
}
.header_in_wrap{
    height: 80px;
    margin: 0 auto;
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items:center ;
    /* transition: all .5s ease-in-out; */
}

.header_in_wrap nav{
    height: 100%;
    display: flex;
    align-items: center;
}
.header_in_wrap .gnb{
    display: flex;
    height: 100%;
    font-size: 16px;
    letter-spacing: 0px;
    font-weight: 600;
    height: 100%;
    align-items: center;
}
.header_in_wrap .gnb li:last-child a::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: #fff;
  transition: width .4s ease;
  z-index: 0;
}
.header_in_wrap .gnb li:last-child a span,
.header_in_wrap .gnb li:last-child a i,
.header_in_wrap .gnb li:last-child a svg {
  position: relative;
  z-index: 1;
}

.header_in_wrap .gnb li:last-child:hover a::before {
  width: 100%;
}

.header_in_wrap .gnb li:last-child:hover a {
  color: #B49860;
}

.header_in_wrap .gnb li:last-child a svg path {
  fill: #fff;
  transition: fill .3s ease;
}
.header_in_wrap .gnb li:last-child:hover a svg path {
  fill: #B49860;
}
.header_in_wrap .gnb li:last-child a i{
    height: 13px;
}
.header_in_wrap .gnb li:last-child a{
    position: relative;
    overflow: hidden;
    background: #B49860;
    width: 96px;
    color: #fff;
    border-radius: 8px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    transition: color .3s ease;
}

.header_in_wrap .gnb li a path{
    fill:#F2F8FC;
    transition: 0.5s ease-in-out .2s;
}

.header_in_wrap .gnb a {
    position: relative;
    padding-left: 10px;
    margin: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    line-height: 1;
}
.header_in_wrap .gnb a span{
    position: relative;
    overflow: hidden;
    height: 1.2em;
}
.header-arrow{
    width: 25px;
    height: auto;
}
.header_in_wrap .gnb a span i{
    display: block;
    transition: transform 0.3s ease;
    line-height: 1.2em;
}
.header_in_wrap .gnb a span i:first-child {
    transform: translateY(0);
    transition: .3s ease;
}
.header_in_wrap .gnb a span i:last-child {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    transform: translateY(0);
    transition: .3s ease;
}
.header_in_wrap .gnb li:hover a span i:first-child ,
.header_in_wrap .gnb li.active a span i:first-child {
    transform: translateY(-100%);
}
.header_in_wrap .gnb li:hover a span i:last-child ,
.header_in_wrap .gnb li.active a span i:last-child {
    transform: translateY(-100%);
}
.link_img{margin-right: 1rem;}

.header_in_wrap .header_link{
    display: flex;
    align-items: center;
    font-weight: bold;
    color: #000;
}
.header_in_wrap .header_link{display: none;}

/* 모바일메뉴 */
.menu-wrap{
    /* display: none; */
    position: relative;
    height: auto;
    cursor: pointer;
}
.gnb2{
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}
.gnb2 > div:first-child{
    display: flex;
    gap: 5px;
}
.gnb2 > div:nth-of-type(2){
    display: flex;
    flex-direction: column;
    gap: 0px;
    justify-content: center;
}
.gnb2 > div:nth-of-type(2) div:first-child{
    font-size: 14px;
    line-height: 1;
}
.gnb2 > div:nth-of-type(2) div:nth-of-type(2){
    font-size: 18px;
    font-family: "Pretendard";
    font-weight: 900;
    line-height: 1;
}
.menu {
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    padding: 0;
}

.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);
}
.line1 {
    stroke-dasharray: 60 207;
    stroke-width: 6;
}
.line2 {
    stroke-dasharray: 60 60;
    stroke-width: 6;
}
.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:1280px){
    .header_in_wrap {
        width: 95%;
    }
    .header_in_wrap .gnb {
        font-size: 17px;
    }
}
@media (min-width:0px) and (max-width:1080px){
    header{
        height: 70px;
    }
    .header_in_wrap .gnb li a::after{
        display: none;
    }
    .menu-wrap{
        display: block;
    }
    header .header_in_wrap{
        height: 100%;
    }
    .header-wh{
        width: 98%;
        height: 100%;
        margin: 0 auto;
        justify-content: space-between;
        flex-direction: row;
    }
    .header-nav-wrap{
        height: auto;
    }
    header .header_in_wrap nav .gnb li:last-of-type a{
        border: none;
    }
    .header_in_wrap .header_link{
        display: flex;
    }
    .link_img {
        width: 40px;
    }
    /* mobile menu */
    .header_in_wrap nav.menu_open {
        height: auto;
    }
    .header_in_wrap .h_logo{
        max-width: 100px;
        margin-bottom: 0;
    }
    .header_in_wrap nav {
        display: block;
        position: absolute !important;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.9);
        height: 0px;
        overflow: hidden;
        transition: all .5s ease;
        position: relative;
    }
    .header_in_wrap .gnb {
        font-size: 2rem;
    }
    header .header_in_wrap nav .gnb{
        flex-direction: column;
        text-align: center;
    }
    header .header_in_wrap nav .gnb a{
        width: 100%;
        line-height: 4rem;
        color: #fff;
        border-bottom: 1px solid #fff;
        display: flex;
        align-items: center;
        padding: 0 2rem;
        justify-content: center;
        height: 70px;
    }
    header .header_in_wrap nav .gnb a::before{
        display: none
    }
    header .header_in_wrap nav .gnb .active a{
        background: #fff;
        font-weight: 800;
        color: #0F3768;
    }.header_in_wrap .gnb li{
        width: 100%;
        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;
    }
    .main_before{
        height: 70px;
    }
    .header_in_wrap .gnb li:last-child a{
        width: 100%;
        line-height: 4rem;
        color: #fff;
        border-bottom: 1px solid #fff;
        display: flex;
        align-items: center;
        padding: 0 2rem;
        justify-content: center;
        height: 70px;
        background: initial;
    }
    .header_in_wrap .gnb li:last-child a i{
        height: 34px;
    }
     .header_in_wrap .gnb li:last-child .header-arrow{
        transform: rotate(90deg);
     }
     .header_in_wrap .gnb a{
        margin: 0px;
     }
}
@media (min-width:0px) and (max-width:500px){
    .h_logo{width: 210px;}

}