@media screen and (min-width:1001px){
    #g-nav, .openbtn{
        display: none;
    }
}
@media screen and (max-width:1000px) {
    #g-nav {
        position: fixed;
        z-index: 999;
        top: -120%;
        left: 0;
        width: 100%;
        height: 100vh;
        color: #4f6b8e;
        font-weight: 600;
        background:#fff;
        transition: all 0.6s;
    }
    #g-nav.panelactive {
        top: 0;
    }
    #g-nav.panelactive #g-nav-list {
        position: fixed;
        z-index: 999;
        width: 100%;
        height: 100vh;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    #g-nav ul {
        display: none;
        z-index: 999;
    }
    #g-nav.panelactive ul {
        display: block;
        padding-bottom:3em;
    }
    #g-nav li {
        list-style: none;
    }
    #g-nav li a {
        text-decoration: none;
        padding: 12px;
        display: block;
        line-height: 1.3em;
        letter-spacing: 0.1em;
    }
    .openbtn {
        position: fixed;
        z-index: 9999;
        top: 15px;
        right: 10px;
        cursor: pointer;
        width: 50px;
        height: 50px;
    }
    .openbtn span {
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        height: 2px;
        border-radius: 2px;
        background-color: #1D1E22;
        width: 45%;
    }
    .openbtn span:nth-of-type(1) {
        top: 15px;
    }
    .openbtn span:nth-of-type(2) {
        top: 23px;
    }
    .openbtn span:nth-of-type(3) {
        top: 31px;
    }
    .openbtn.active span{
        background-color:#000;
    }
    .openbtn.recruit.active span{
        background-color:#000;
    }
    .openbtn.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }
    .openbtn.active span:nth-of-type(2) {
        opacity: 0;
    }
    .openbtn.active span:nth-of-type(3) {
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }
}