@charset "utf-8";
/* CSS Document */
.head_right{
    position: fixed;
    z-index: 20;
}
#openbtn{
 cursor: pointer;
}

#g-nav{
    position: relative;
    padding: 0;
    margin:0;
}
#nav-box{
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    overflow-y: auto;
    display: content;
}
#g-nav ul{
    width: 240px;
    margin: 0;
    padding: 16px 0 66px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    background-image: linear-gradient(90deg, rgba(113,198,212,.9) 60%, rgba(7,107,175,.9) );
}
#g-nav li{
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    padding: 0;
}
#g-nav a{
    display: block;
    width: 100%;
    padding: 13.5px 20px;
    height: 100%;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    border-bottom: 2px solid;
    border-image: linear-gradient(to right, transparent 8%, #FFF 2% 92%, transparent 92%) 1;
}
#g-nav a:hover{
    background-image: linear-gradient(90deg, rgba(7,107,175,.7) 60%, rgba(113,198,212,.7));
    border-image: none;
    border-bottom: 2px solid #fff;
    animation: border-anime .15s ease-out;
}
@keyframes border-anime{
    0%{
        background-image:linear-gradient(90deg, rgba(113,198,212,.7) 50%, rgba(7,107,175,.7));
        border-bottom: 2px solid;
        border-image: linear-gradient(to left, transparent 4%, #fff 90%, transparent 5%) 1;
    }
    50%{
        background-image:linear-gradient(90deg, rgba(7,107,175,.7) , rgba(0,198,212,.7) 30%, rgba(7,107,175,.7));
    }
    100%{
        border-bottom: 2px solid #fff;
        border-image: none;
        background-image: linear-gradient(90deg, rgba(7,107,175,.7) 50%, rgba(113,198,212,.7));
    }
}
#g-nav i{
    color: #fff;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

@media screen and (max-width:1200px){
}

@media screen and (max-width:1060px){

    .head_right{
        margin: 10px 3vw 0;
        width: 10vw;
        min-width: 30px;
        height: 10vw;
        max-height: 80px;
        position: fixed;
        right: 0;
        display: flex;
        justify-content: center;
        align-self: flex-end;
    }
    #openbtn{
        width: 100%;
        height: 100%;
        position: relative;
    }
    .openbtn-area{
        width: 100%;
        height: 100%;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
    }
    .openbtn-area span{
        position: relative;
        width: 80%;
        max-width: 50px;
        height: 3px;
        background-color: #fff;
        box-shadow: rgba(7,107,175,.5) 2px 2px 0 ;
        transition: .4s;
    }
    #openbtn.active .open-line:nth-of-type(1){
        transform: rotate(45deg);
        top: 33%;
    }
    #openbtn.active .open-line:nth-of-type(2){
        opacity: 0;
    }
    #openbtn.active .open-line:nth-of-type(3){
        transform: rotate(-45deg);
        top: -33%;
    }
    nav{
        width: 100%;
    }
    #g-nav{
        width: 70%;
        height: 100vh;
        font-size: 18px;
        position: fixed;
        top: 0;
        right: -150%;
        z-index: 10;
        opacity: 0;
        background-image: linear-gradient(90deg, rgba(77,173,198,.9) 60%, rgba(7,107,175,.9) );
        transition: .4s;
    }
    #g-nav.active{
        right: 0;
        opacity: 1;
    }
    #nav-box{
        display: block;
        height: calc(100% - 100px);
        margin: 100px 0 50px 0;
    }
    #g-nav ul{
        position: absolute;
        right: 0;
        width: 100%;
        min-height: 100vh;
        background-image: none;
        padding-bottom: 20vh;
    }
    #g-nav li{
        width: 100%;
        position: relative;
        left: 50%;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding: 0;
        opacity: 0;
        transition: .5s;
        transition-delay: .5s;
    }
    #g-nav.active li{
        left: 0;
        opacity: 1;
    }
    #g-nav li:nth-of-type(1){
        transition-delay: .1s;
    }
    #g-nav li:nth-of-type(2){
        transition-delay: .2s;
    }
    #g-nav li:nth-of-type(3){
        transition-delay: .3s;
    }
    #g-nav li:nth-of-type(4){
        transition-delay: .4s;
    }   
    #g-nav li:nth-of-type(5){
        transition-delay: .5s;
    }   
    #g-nav li:nth-of-type(6){
        transition-delay: .6s;
    }   
    #g-nav li:nth-of-type(8){
        transition-delay: .7s;
    }
    #g-nav li:nth-of-type(9){
        transition-delay: .8s;
    }
    #g-nav li:nth-of-type(10){
        transition-delay: .9s;
    }
    #g-nav li:nth-of-type(11){
        transition-delay: 1.0s;
    }
    #g-nav li:nth-of-type(12){
        transition-delay: 1.1s;
    }
    #g-nav li:nth-of-type(13){
        transition-delay: 1.2s;
    }
    #g-nav li:nth-of-type(14){
        transition-delay: 1.3s;
    }
    #g-nav li:nth-of-type(15){
        transition-delay: 1.4s;
    }
    
    
    #g-nav a{
        display: block;
        width: 100%;
        padding: 20px 8vw;
        height: 100%;
        text-decoration: none;
        color: #fff;
        font-weight: 500;
        border-bottom: 2px solid;
        border-image: linear-gradient(to right, transparent 8%, #FFF 2% 92%, transparent 92%) 1;
    }
        #g-nav i{
        color: #fff;
        position: absolute;
        right: 10vw;
        top: 50%;
        transform: translateY(-50%);
    }
}

@media screen and (max-width:780px){
    #openbtn{
        padding: 5px;
    }    
    .openbtn-area span{
        height: 2px;
    }
    #g-nav{
        width: 100%;
        font-size: 20px;
    }
}
@media screen and (max-width:412px){
    .openbtn{
        padding: 3px;
    }    


}