header#pc-nav{
    width: 90%;
    height: 5rem;
    background-color: #d8ff9a;
    border-radius: 8px;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    top: 10px;
    z-index: 50;
}
.nav-wrap{
    height: 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
}
.nav-logo{
    width: 160px;
}
.gnb{
    display: flex;
    justify-content: space-between;
    gap: 5px;
}
.main-nav>a{
    display: block;
    width: 180px;
    height: 5rem;
    text-align: center;
    line-height: 5rem;
    /* background-color: aliceblue; */
}
.main-nav{
    position: relative;
}
.sub-nav{
    background-color: #b8e077;
    position: absolute;
    top: 100%;
    left: 0;
    border-radius: 0 0 10px 10px;
    /* opacity: 0.8; */

    display: none;
}
.sub-nav li{
    width: 160px;
    height: 50px;
    transition: 0.3s;
    color: #333;
}
.sub-nav li a{
    display: inline-block;
    width: 100%;
    height: 100%;
    line-height: 50px;
    font-size: 0.8rem;
    position: relative;
    text-align: center;
}
.sub-nav li:hover{
    background-color: #7bbf78;
    color: #fff;
}

.sub-nav li:last-child:hover{
    border-radius: 0 0 8px 8px;
}
.main-nav:hover .sub-nav{
    display: block;
}


/* #pc-nav{
    display: none;
} */




/* 모바일 메뉴 */
header#mobile-nav{
    width: 100%;
    height: 5rem;
    background-color: #d8ff9a;
    display: flex;
    justify-content: center;

    display: none;
    position: fixed;
    z-index: 200;

    padding: 0 10px;
    box-sizing: border-box;
}
.fullNav{
    width: 95%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.open{
    width: 100px;
    height: 100%;
    position: relative;
    transition: 0.3s;
}
.point{
    display: block;
    width: 20px;
    height: 3px;
    border-radius: 50px;
    background-color: #e46417;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.open::before,.open::after{
    content: '';
    display: block;
    width: 30px;
    height: 3px;
    border-radius: 50px;
    background-color: #432a18;
    position: absolute;
    right: 0;
}
.open::before{
    top: 25px;
}
.open::after{
    bottom: 25px;
}
.fullNav-gnb{
    width: 60%;
    height: 100%;
    background-color: #7bbf78;
    position: fixed;
    z-index: 100;
    right: -60%;
}
.full-main-nav{
    width: 100%;
    /* background-color: #d8ff9a; */
    padding: 5px 20px;
    border-bottom: 1px solid #d8ff9a;
    box-sizing: border-box;
}
.full-main-nav a{
    display: inline-block;
    width: 100%;
    height: 40px;
    line-height: 40px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #c8ff6f;
}
.full-sub-nav{
    display: none;
    flex-direction: column;
}
.full-sub-nav li{
    width: 100%;
    height: 40px;
}
.full-sub-nav li a{
    display: inline-block;
    width: 100%;
    height: 100%;
    font-size: 0.9rem;
    color: #d8ff9a;
}

/* x 아이콘 스타일 */
.open.active::before {
    top: 48.8%;
    transform: translateY(50%) rotate(-45deg);
}

.open.active::after {
    bottom: 40.8%;
    transform: translateY(-50%) rotate(45deg);
}





@media screen and (max-width:1400px) {
    header#pc-nav{
        width: 95%;
    }
}
@media screen and (max-width:860px) {
    header#pc-nav{
        display: none;
    }
    header#mobile-nav{
        display: block;
    }
    .fullNav{
        width: 100%;
    }
    .nav-logo{
        width: 130px;
    }
    .open::before,.open::after{
        border-radius: 0px !important;
    }
}
@media screen and (max-width:550px) {
    .nav-logo{
        width: 110px;
    }
    .point{
        height: 2px;
        width: 15px;
    }
    .open::before, .open::after{
        width: 25px;
        height: 2px;
        border-radius: 0;
    }
    .open::before{
        top: 28px;
    }
    .open::after{
        bottom: 28px;
    }
    .open.active::after,.open.active::before{
        border-radius: 0;
    }
    
    .open.active::after{
        bottom: 47.5%;
    }
    .open.active::before{
        top: 47%;
    }
}