#g-nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 70px;
    padding: 0 3%;
    background-color: rgba(255, 255, 255, 0.9);
    transition: all 0.4s ease;
}

.nav-hd {
    display: flex;
    align-items: center;
    gap: 30px;
    height: 100%;
}
.nav-hd .hd-logo {
    font-size: 0;
    display: block;
    width: 245px;
    margin-bottom: 0;
}

#g-nav .g-nav-list {
    display: flex;
    gap: 2em;
    margin: 0;
    padding: 0;
}
#g-nav .g-nav-list li {
    list-style: none;
    position: relative;
    margin: 0;
    padding: 0;
}
#g-nav .g-nav-list li:last-child { margin-bottom: 0; }
#g-nav .g-nav-list li a {
	color: #313233;
    font-size: 17px;
    font-weight: 500;
    line-height: 70px;
	text-decoration: none;
    display: flex;
    align-items: center;
    gap: 7px;
	padding: 0;
}

/*--- OPEN NAVI ---*/
#g-nav.panelactive {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    display: flex;
    width: 100%;
}
@-webkit-keyframes appear {
    0% { opacity: 0 }
    100% { opacity: 1 }
}
@keyframes appear {
    0% { opacity: 0 }
    100% { opacity: 1 }
}
#g-nav.panelactive .g-nav-list {
    animation: nav-move .5s forwards;
}
@keyframes nav-move {
    0% { opacity: 0; visibility: hidden; }
    100% { opacity: 1; visibility: visible; }
}
@keyframes nav-move-t {
    0% { opacity: 1; visibility: visible; }
    100% { opacity: 0; visibility: hidden; }
}

/*--- MENU / CLOSE BTN ---*/
.openbtn {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 70px;
    background-color: transparent;
}
.openbtn::before {
    content: "MENU";
    color: #333;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.07em;
    position: absolute;
    top: 40px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}
.openline {
    display: block;
    width: 40px;
    height: 28px;
    position: relative;
	cursor: pointer;
    display: flex;
    align-items: center;
    background-color: transparent;
    border: none;
    border-radius: 0;
    transition-duration: .4s;
    transition-timing-function: ease-in-out;
    transition-property: width,background-color,border-color,color,fill,opacity;
}
.openbtn span {
    display: inline-block;
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 100%;
    height: 3px;
    border-radius: 10px;
	background-color: #333;
    transition-duration: .4s;
    transition-timing-function: ease-in-out;
    transition-property: width,background-color,border-color,color,fill,opacity;
  }
.openbtn span:nth-of-type(1) { top: 0; }
.openbtn span:nth-of-type(2) { top: 10px; }

/* OPEN Anime */
#g-nav.panelactive .openbtn::before {
    content: "CLOSE";
    color: #333 !important;
    top: 45px;
}
.openbtn.active { top: 10px; right: 15px; }
.openbtn.active span { width: 50px !important; }
.openbtn.active span:nth-of-type(1) { top: 3px!important; }
.openbtn.active span:nth-of-type(2) { top: 12px!important; }
.openbtn span:nth-of-type(1) { animation: menu07-bar01 .75s forwards; }
@keyframes menu07-bar01 {
    0% { -webkit-transform: translate(-50%, 5px); transform: translate(-50%, 5px) rotate(20deg); }
    50% { -webkit-transform: translate(-50%, 5px); transform: translate(-50%, 5px) rotate(0); }
    100% { -webkit-transform: translate(-50%, 0); transform: translate(-50%, 0) rotate(0); }
}
.openbtn span:nth-of-type(3) { animation: menu07-bar02 .75s forwards; }
@keyframes menu07-bar02 {
    0% { -webkit-transform: translate(-50%, -5px); transform: translate(-50%, -5px) rotate(-20deg); }
    50% { -webkit-transform: translate(-50%, -5px); transform: translate(-50%, -5px) rotate(0); }
    100% { -webkit-transform: translate(-50%, 0); transform: translate(-50%, 0) rotate(0); }
}
/* CLOSE Anime */
.openbtn.active span:nth-of-type(1) { animation: active-menu07-bar01 .75s forwards; }
@keyframes active-menu07-bar01 {
    0% { -webkit-transform: translate(-50%, 0); transform: translate(-50%, 0) rotate(0); }
    50% { -webkit-transform: translate(-50%, 5px); transform: translate(-50%, 5px) rotate(0); }
    100% { -webkit-transform: translate(-50%, 5px); transform: translate(-50%, 5px) rotate(20deg); }
}
.openbtn.active span:nth-of-type(2) { animation: active-menu07-bar03 .75s forwards; }
@keyframes active-menu07-bar03 {
    0% { -webkit-transform: translate(-50%, 0); transform: translate(-50%, 0) rotate(0); }
    50% { -webkit-transform: translate(-50%, -5px); transform: translate(-50%, -5px) rotate(0); }
    100% { -webkit-transform: translate(-50%, -5px); transform: translate(-50%, -5px) rotate(-20deg); }
}


/* --------------------------------------------
    Responsive
-------------------------------------------- */
@media screen and (min-width: 991px) {
    #g-nav {
        display: flex;
        justify-content: space-between;
    }
    .openbtn { display: none; }
    .g-nav-list { opacity: 1; visibility: visible; }
/*
    .g-nav-list-box {
        display: flex;
        align-items: center;
        -webkit-transition: all 0.3s ease;
        -moz-transition: all 0.3s ease;
        -o-transition: all 0.3s ease;
        transition: all 0.3s ease;
    }
    .g-nav-list-box > dd { position: relative; padding: 0 0.92em; }
    .g-nav-list-box > dd:last-child { padding-right: 0; }
    .g-nav-list-box > dd:not(:last-of-type):before {
        content: '';
        position: absolute;
        top: calc(50% - 0.5em);
        right: 0;
        z-index: 0;
        width: 1px;
        height: 1em;
        background-color: #313233;
        opacity: 0.8;
    }
*/
}
@media screen and (max-width: 991px) {
    #g-nav .g-nav-list {
        opacity: 0;
        visibility: hidden;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1000;
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 100%;
        height: auto;
        padding: 80px 5vw;
        text-align: center;
        background-color: #fff;
        overflow-y: auto;
        transform: translateX(0);
    }
    #g-nav .g-nav-list li a { font-size: 16px; line-height: 60px; justify-content: center; }
    #g-nav .g-nav-list li a::before {
        content: '';
        position: absolute;
        top: 100%;
        left: calc(50% - 1rem);
        z-index: 0;
        width: 2rem;
        height: 2px;
        background-color: #313233;
        opacity: 0.8;
        transform: scaleX(0);
        -webkit-transition: all 0.4s;
        transition: all 0.4s;
    }
    #g-nav .g-nav-list li a:hover::before { transform: scaleX(1); }
}
@media screen and (max-width: 767px) {
    #g-nav { height: 67px; }
    .nav-hd .hd-logo { width: 216px; }
}