#nav-toggle {
    position: fixed;
    top: 0;
    right: 0;
    height: 80px;
    width: 80px;
    cursor: pointer;
    z-index: 10000;
    background: #000;
    text-align: center;
}

#nav-toggle div::after {
    content: "OPEN";
    opacity: 1;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    font-style: italic;
    position: absolute;
    top: 23px;
    left: 50%;
    transform: translate(-50%, 0);
}

#nav-toggle div::before {
    content: "CLOSE";
    opacity: 0;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    font-style: italic;
    position: absolute;
    top: 23px;
    left: 50%;
    transform: translate(-50%, 0);
}

#nav-toggle > div {
    position: relative;
    width: 30px;
    margin: 25px auto 0 auto;
}

#nav-toggle span {
    width: 100%;
    height: 1px;
    left: 0;
    display: block;
    background: #fff;
    position: absolute;
    transition: transform 0.3s ease-in-out, top 0.5s ease;
    border-radius: 2px;
}

#nav-toggle span:nth-child(1) {
    top: 0;
}

#nav-toggle span:nth-child(2) {
    top: 5px;
}

#nav-toggle span:nth-child(3) {
    top: 10px;
}

#nav-toggle:hover span:nth-child(1) {
    top: -2px;
}

#nav-toggle:hover span:nth-child(3) {
    top: 12px;
}

.open #nav-toggle div::after {
    content: "OPEN";
    opacity: 0;
}

.open #nav-toggle div::before {
    content: "CLOSE";
    opacity: 1;
}

.open #nav-toggle span {
    background: #fff;
}

.open #nav-toggle span:nth-child(1) {
    top: 5px;
    transform: rotate(45deg);
    height: 2px;
}

.open #nav-toggle span:nth-child(2) {
    top: 5px;
    width: 0;
    left: 50%;
}

.open #nav-toggle span:nth-child(3) {
    top: 5px;
    transform: rotate(-45deg);
    height: 2px;
}

#gloval-nav {
    background-color: #000;
    /*
    background-image: url(/pc/img/bg.jpg);
    background-position: 50%;
    background-repeat: repeat;
*/
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    visibility: hidden;
    /*
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
*/
    opacity: 0;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    z-index: 9999;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

@media all and (-ms-high-contrast: none) {
    #gloval-nav #nav-in {
        position: relative;
        width: 100%;
        height: 100%;
        overflow-x: hidden;
    }
}

#gloval-nav #nav-in {
    position: relative;
    width: 100%;
    height: 100%;
}

#gloval-nav #nav-in #nav {
    position: relative;
    top: 50%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
    overflow-x: hidden;
    overflow-y: auto;
}

#gloval-nav ul {
    position: relative;
    padding: 50px 0;
    height: 100%;
}

#gloval-nav a {
    display: block;
    position: relative;
    padding: 10px 0;
    transition: color 0.6s ease;
}

#gloval-nav ul li {
    opacity: 0;
    transform: translateY(50px);
    transition: transform 0.3s ease, opacity 0.1s ease;
}

#gloval-nav ul li:nth-child(1) {
    transition-delay: 0;
}

#gloval-nav ul li:nth-child(2) {
    transition-delay: 0.1s;
}

#gloval-nav ul li:nth-child(3) {
    transition-delay: 0.2s;
}

#gloval-nav ul li:nth-child(4) {
    transition-delay: 0.3s;
}

#gloval-nav ul li:nth-child(5) {
    transition-delay: 0.4s;
}

#gloval-nav ul li:nth-child(6) {
    transition-delay: 0.5s;
}

#gloval-nav ul li:nth-child(7) {
    transition-delay: 0.6s;
}

#gloval-nav ul li:nth-child(8) {
    transition-delay: 0.7s;
}

#gloval-nav ul li:nth-child(9) {
    transition-delay: 0.8s;
}

#gloval-nav ul li:nth-child(10) {
    transition-delay: 0.9s;
}

#gloval-nav ul li:nth-child(11) {
    transition-delay: 1s;
}

#gloval-nav ul li:nth-child(12) {
    transition-delay: 1.1s;
}

#gloval-nav ul li.menu-list a {
    display: inline-block;
    padding: 10px 20px;
}

#gloval-nav ul li.menu-list a span.en {
    display: block;
    /*
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-style: italic;
*/
    font-family: 'Sorts Mill Goudy', sans-serif;
    font-weight: 500;
    font-size: 24px;
    transform: skewX(-8deg);
    /*
    color: rgba(255, 255, 255, 0);
    background: linear-gradient(90deg, #a15d64, #c79896, #a15d64);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
*/
    color: #8c8c8c;
    transition: 0.3s ease;
    opacity: 1;

}
#gloval-nav ul li.menu-list a.active span.en{
    color: #a15d64;
}
#gloval-nav ul li.menu-list a:hover span.en {
    opacity: 0;
    transform: skewX(-8deg);
}

#gloval-nav ul li.menu-list a b.ja {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) skewX(-8deg);
    width: 100%;
    opacity: 0;
    font-size: 15px;
    letter-spacing: 0;
    transition: 0.3s ease;
    color: #a15d64;
}

#gloval-nav ul li.menu-list a:hover b.ja {
    opacity: 1;
    transform: translate(-50%, -50%) skewX(-8deg);

}

#gloval-nav ul li.menu-logo {
    width: 240px;
    margin: 0 auto;
}

#gloval-nav ul li.menu-logo svg {
    width: 100%;
}

#gloval-nav ul li.menu-logo img {
    width: 100%;
}

#gloval-nav ul li.menu-tel {
    max-width: 360px;
    margin: 20px auto;
}

#gloval-nav ul li.menu-tel a img {
    width: 100%;
}

#gloval-nav ul li.menu-login {
    position: relative;
    width: 90%;
    max-width: 360px;
    margin: 0 auto
}

#loginFormArea dl.loginForm {
    position: relative;
    text-align: center;
    padding: 20px 0 0 0;
}

#loginFormArea dl.loginForm dt {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 16px;
    line-height: 1;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #333;
    color: #8c8c8c;
    letter-spacing: 0;
}

#loginFormArea dl.loginForm dd {
    display: block;
}

#loginFormArea dl.loginForm dd:last-child {
    clear: both;
}

#loginFormArea dl.loginForm dd.formTxtArea input[type="text"] {
    width: 48%;
    margin: 0 1%;
    padding: 12px 20px;
    background: #282828;
    text-align: center;
    font-size: 16px;
    color: #fafafa;
    transition: 0.3s ease;
    line-height: 1;
    border: 1px solid #333;
    float: left;
    border-radius: 1px;
}

#loginFormArea dl.loginForm dd.formTxtArea input[placeholder="ID"],
#loginFormArea dl.loginForm dd.formTxtArea input[placeholder="PASSWORD"] {
    color: #b0b0b0;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}

#loginFormArea dl.loginForm dd.formTxtArea input[placeholder="ID"]:focus,
#loginFormArea dl.loginForm dd.formTxtArea input[placeholder="PASSWORD"]:focus {
    border-radius: 1px;
    border: 1px solid #4b4b4b;
}

#loginFormArea dl.loginForm span.formBtnArea {
    display: block;
    margin-top: 65px;
}

#loginFormArea dl.loginForm span.formBtnArea input.button {
    background: #aeaeae;
    width: 100px;
    padding: 13px 16px;
    line-height: 1;
    cursor: pointer;
    color: #383838;
    font-family: 'Roboto', sans-serif;
    transition: 0.3s ease;
    font-size: 16px;
    margin: 0 1% 0 auto;
    display: block;
    border-radius: 1px;
    border: 1px solid #333;
    font-weight: 700;
    letter-spacing: 0;
}

#loginFormArea dl.loginForm span.formBtnArea input.button:hover {
    background: #fafafa;
    color: #333;
}

#loginFormArea dl.loginForm dd.formNotice {
    position: relative;
    display: block;
    font-weight: normal;
    font-size: 10px;
    margin-top: 20px;
}

#returnPublic {
    position: relative;
    text-align: center;

}

#returnPublic form .p_button {
    background: #000;
    padding: 14px 20px;
    cursor: pointer;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    transition: 0.3s ease;
    letter-spacing: 2px;
    display: inline-block;
    font-weight: 700;
    font-style: italic;
}


#returnPublic form .p_button:hover {
    background: #fff;
    color: #000;
}

/* open */
.open {
    overflow: hidden;
}

.open #gloval-nav {
    visibility: visible;
    opacity: 1;
    overflow: auto;
}

.open #gloval-nav li {
    opacity: 1;
    transform: translateX(0);
    transition: transform 0.3s ease, opacity 0.9s ease;
}

svg {
    width: 100%;
}

svg path {
    fill: url(#grad1);
}

#stop1 {
    animation: change-color1 2s ease-in-out infinite alternate;
    transform: skewX(-45deg);
}

#stop2 {
    animation: change-color2 2s ease-in-out infinite alternate;
    transform: skewX(-45deg);
}

@keyframes change-color1 {
    0% {
        stop-color: #2f9dca;
    }

    100% {
        stop-color: #312399;
    }
}

@keyframes change-color2 {
    0% {
        stop-color: #4eb2a0;
    }

    100% {
        stop-color: #7b1f2e;
    }
}

/*
@keyframes change-color1 {
    0% {
        stop-color: #2f9dca;
    }

    100% {
        stop-color: #8e6c37;
    }
}

@keyframes change-color2 {
    0% {
        stop-color: #4eb2a0;
    }

    100% {
        stop-color: #ffe9b7;
    }
}
*/
@media all and (-ms-high-contrast: none) {
    svg {
        width: 0%;
    }

    svg path {
        display: none;
    }

    #gloval-nav ul li.menu-logo {
        width: 240px;
        margin: 0 auto;
        overflow: hidden;
        background-image: url(/pc/img/ageha.svg);
        background-repeat: no-repeat;
        background-size: cover;
    }

    #gloval-nav {
        overflow-x: hidden;
        width: 100%;
    }
}
