#header{
    position: fixed;
    left:0;
    top:0;
    z-index: 1000;
    color:#fff;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    transition: 0.75s all;
}
#header.SlideF{
    box-shadow: 1px 1px 6px 1px rgb(39 39 39 / 40%);
    background: rgba(255, 255, 255, 1);
}
#header.SlideF.active{
    background: none;
    box-shadow: none;
}
#header .nav{
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
    width: 100%;
    align-items: center;
}
#header .left .logo{
    transition: 1s all;
    position: relative;
    display: block;
    width: 100%;
}
#header.SlideF .left .logo{
    width: 120px;
}
#header .left .logo img{
    width: 100%;
}
#header .left .logo:hover{
    opacity: 0.7;
}
#header .left .logo .front{
    position: relative;
    transition: 0.75s all;
}
#header .left .logo .back{
    position: absolute;
    left:0;
    top:0;
    width:100%;
    height: 100%;
    transition: 0.75s all;
    opacity: 0;
}
#header.--color .left .logo .front,
#header.--logocolor .left .logo .front{
    opacity: 0;
}
#header.--color .left .logo .back,
#header.--logocolor .left .logo .back{
    opacity: 1;
}
/* #header.--color .left .logo{
    filter: invert(1);
}
#header.--logocolor .left .logo{
    filter: invert(1);
} */
#header .right{
    color:#fff;
    position: relative;
    display: inline-flex;
    align-items: flex-end;
    gap: 30px;
}
#header .right .register{
    font-family: "Montserrat", sans-serif;
    color:#fff;
    font-size: 18px;
    font-weight: 300;
    position: relative;
    transition: 0.5s all;
}
#header.--color .right .register,
#header.--color .right .call{
    color:#111;
}
#header.active .right .register,
#header.active .right .call{
    opacity: 0;
    display: none;
}
#header .right .register:after{
    content:"";
    width:0;
    height: 1px;
    position: absolute;
    bottom:-10px;
    transition: 0.5s all;
    left: 0;
    background: #fff;
}
#header.--color .right .register:after{
    background: #111;
}
#header .right .register:hover:after{
    width:100%;
}
#header .right .call{
    font-weight: 800;
    font-size: 30px;
    font-family: "Montserrat", sans-serif;
    line-height: 100%;
    display: inline-block;
    transform: translateY(5px);
    transition: 0.5s all;
}
#menuOpen_btn {
    width: auto;
    background-color: transparent;
    cursor: pointer;
    border: none;
    padding: 0;
    outline: none;
    transition: 0.75s all;
    display: flex;
    align-items: center;
}
#menuOpen_btn span {
    display: block;
    width: 100%;
    height: 1px;
    background-color: #fff;
    font-size: 0;
    transition: 0.75s;
}
header.--color #menuOpen_btn span{
    background-color: #000;
}
#menuOpen_btn .menu_title{
    font-size: 16px;
    color: #fff;
    transition: 0.5s all;
    letter-spacing: 0;
    margin-right: 15px;
}
header.active #menuOpen_btn .menu_title{
    opacity: 0;
    display: none;
}

#menuOpen_btn .hambeg{
    display: flex;
    flex-direction: column;
    width: 45px;
    height: 25px;
    justify-content: space-between;
}
header.active #menuOpen_btn span {
    margin: 0 auto;
    transition: background-color 0.3s 0s, opacity 0.3s 0.3s, margin 0.3s 0.3s, transform 0.3s 0s;
    background-color: #000;
    width: 100%;
}
header.active #menuOpen_btn span:nth-child(1) {
    transform: translateY(10px) rotate(-45deg);
}

header.active #menuOpen_btn span:nth-child(2) {
    display: none;
}

header.active #menuOpen_btn span:nth-child(3) {
    transform: translateY(-14px)  rotate(45deg);
}
#Allmenu{
    background-color: rgba(0,0,0,0.6);
    position: fixed;
    left:0;
    top:0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: flex-end;
    color: #333;
    transform: translate(100vw);
    transition: 0.5s all;
    z-index: 100;
}
#Allmenu.active{
    transform: translate(0);
}
#Allmenu .box_wrap{
    background: #d9d6cb;
    padding: 100px 5% 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 400px;
    align-items: center;
    opacity: 0;
}
#Allmenu.active .box_wrap{
    animation: fadeIn 1s 0.5s forwards;
}
#Allmenu .box_wrap .gnbWrap{width: 100%;text-align: center;}
#Allmenu .box_wrap .gnb_list{
    margin-bottom: 20px;
    border-bottom: 1px solid #aba89f;
    padding-bottom: 20px;
}
#Allmenu .box_wrap .gnb_list:last-child(1){
    margin-bottom: 0;
    border: none;
}
#Allmenu .box_wrap .gnb_list .mainname{
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -1px;
    cursor: pointer;
    transition: 0.5s all;
    font-family: var(--en);
    font-weight: 500;
}
#Allmenu .box_wrap .gnb_list .mainname:hover{
    opacity: 0.5;
}
#Allmenu .box_wrap .gnb_list .mainname.active{
    margin-bottom: 20px;
}
#Allmenu .box_wrap .gnb_list .linkWrap{
    display: inline-flex;
    flex-direction: column;
    gap: 10px;
    font-size: 19px;
    align-items: flex-start;
    margin-left: 20px;
    overflow: hidden;
    display: none;
}
#Allmenu .box_wrap .gnb_list .link{
    position: relative;
    transition: 0.5s all;
    padding-left: 10px;
}
#Allmenu .box_wrap .gnb_list .link:before{
    content:"";
    width: 3px;
    height: 3px;
    position: absolute;
    left:0;
    top:50%;
    transform: translateY(-50%);
    background: #000;
    border-radius: 50%;
}
#Allmenu .box_wrap .gnb_list .link:after{
    content:"";
    width:0;
    height: 1px;
    position: absolute;
    bottom:-7.5px;
    transition: 0.5s all;
    left: 0;
    background: #000;
}
#Allmenu .box_wrap .gnb_list .link:hover:after{
    width:100%;
}
#Allmenu .box_wrap .logo{
    
}

@media(max-width:1080px){
    #header{
        padding: 0 2.5%;
        height: 80px;
    }
    #header.SlideF{
        height: 60px;
    }
    #header.active .left .logo{
        display: none;
    }
    #header .nav{
        padding: 0;
        align-items: center;
    }
    #header .left .logo{
        display: inline-flex;
        align-items: center;
        width: clamp(50px, 20vw, 90px);
    }
    #header.SlideF .left .logo{
        width: clamp(50px, 20vw, 90px);
    }
    #header.SlideF .left .logo{
        transform: scale(0.85);
    }
    #header .left .logo img{
        width: 100%;
        max-width: max-content;
    }
    #header .right{
        align-items: center;
    }
    #header .right .register, 
    #header .right .call{
        display: none;
    }
    #menuOpen_btn span{
        background: #fff;
    }
    #menuOpen_btn .hambeg{
        width: 35px;
        height: 20px;
    }
    header.active #menuOpen_btn span:nth-child(1) {
        transform: translateY(5px) rotate(-45deg);
    }
    #Allmenu .box_wrap{
        width: 100%;
        padding-top: 80px;
    }
    #Allmenu .box_wrap .logo{
        width: 12.5%;
    }
    #Allmenu .box_wrap .logo img{
        width: 100%;
        max-width: max-content;
    }
    #Allmenu .box_wrap .gnb_list .mainname{
        font-size: 22px;
    }
}