@charset "utf-8";

#nav-toggle {
    position: fixed;
    top: 25px;
    right: 25px;
    height: 32px;
    cursor: pointer;
}
#nav-toggle > div {
    position: relative;
    width: 32px;
}
#nav-toggle span {
    width: 100%;
    height: 1px;
    left: 0;
    display: block;
    background: #333;
    position: absolute;
    transition: transform 0.6s ease-in-out, top 0.5s ease;
}
#nav-toggle span:nth-child(1) {
    top: 0;
}
#nav-toggle span:nth-child(2) {
    top: 14px;
}
#nav-toggle span:nth-child(3) {
    top: 28px;
}
#nav-toggle:hover span:nth-child(1) {
    top: 4px;
}
#nav-toggle:hover span:nth-child(3) {
    top: 23px;
}

/*.open #nav-toggle span {
  background: #999;
}*/
.open #nav-toggle span:nth-child(1) {
    top: 15px;
    transform: rotate(45deg);
}
.open #nav-toggle span:nth-child(2) {
    top: 15px;
    width: 0;
    left: 50%;
}
.open #nav-toggle span:nth-child(3) {
    top: 15px;
    transform: rotate(-45deg);
}

/* z-index */
#nav-toggle {
    z-index: 1000;
}

#container {
    z-index: 900;
}

#gloval-nav {
    width: 260px;
    background: #141149;
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 990;
    text-align: left;
    /*padding-top: 50px;*/
    visibility: hidden;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    overflow: scroll;
    -webkit-overflow-scrolling: touch!important;
}
.submenu li a{
    display: block;
    color: #dcdcdc!important;
  /*padding-left: 5px;*/
}
.submenu {
	margin-left: 20px;
	font-size: 13px;
    font-weight: normal;
}
/*#gloval-nav img {
  margin-top: 80px;
  margin-left: 50px;
}*/
#gloval-nav a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 8px 0;
    transition: color 0.6s ease;
    border-bottom: 1px #666 dashed;
}
#gloval-nav a:hover {
    color: #666;
}
#gloval-nav ul {
    list-style: none;
  

}
.main-Menu li a {
    font-size: 14px;
    font-weight: normal;
}
.main-Menu {
    width: 90%;
    margin-top: 30px;
    margin-bottom: 30px;
    margin-left: 15px;
    font-weight: bold;
}
#nav-img {
    text-align: center;
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: #f8f8ff;
}
#nav-img img {
    width: 80px;
}

/*#gloval-nav ul li {
  opacity: 0;
  transform: translateX(200px);
  transition: transform 0.6s ease, opacity 0.2s ease;
}
#gloval-nav ul li:nth-child(2) {
  transition-delay: 0.15s;
}
#gloval-nav ul li:nth-child(3) {
  transition-delay: 0.3s;
}
#gloval-nav ul li:nth-child(4) {
  transition-delay: 0.45s;
}
#gloval-nav ul li:nth-child(5) {
  transition-delay: 0.6s;
}
#gloval-nav ul li:nth-child(6) {
  transition-delay: 0.75s;
}
#gloval-nav ul li:nth-child(7) {
  transition-delay: 0.9s;
}*/

/* open */
.open {
    overflow: hidden;
}
.open #gloval-nav {
    visibility: visible;
    opacity: 1;
}
.open #gloval-nav li {
    opacity: 1;
    transform: translateX(0);
transition: transform 1s ease, opacity 0.9s ease;
}

.close {
    display: none;
}







@media screen and (min-width:681px) {
    #nav-sp {
        display: none;
    }
    #nav-wrapper {
        width: 100%;
        margin: 0 auto;

        background-color: #141149;
        /*  max-width: 1040px;*/
        margin: 0 auto;
        /*padding-bottom: 1px;*/
        position: relative;
        z-index: 99999;
    }



    .menu {
        position: relative;
        width: 100%;
        line-height: 50px;
        height: 50px;
        max-width: 1200px;
        margin: 0 auto;
        z-index: 999999;

    }

    .menu > li {
        float: left;
        width: 12%;
        
    }

    .menu > li a {
        display: block;
        color: white;
        font-size: 0.7em;
        text-align: center;
        line-height: 50px;
        
        /*border-bottom: solid 3px white;*/
    }

    .menu > li a:hover {
        background-color: gainsboro;
        /*border-bottom: solid 1px #141149;*/
        color: #141149;
        /*padding-bottom: 2px;*/
        font-size: 1em;
        transition: 0.5s;
    }

    ul .menu__second-level {
        width: 250px;
        margin-left: 10px;
        visibility: hidden;
        opacity: 0;
        z-index: 1;
    }
    .menu__second-level li {
        width: 200px;
        background: #141149;

    }
    .menu > li:hover {
        background: #141149;
        -webkit-transition: all .3s;
        transition: all .3s;
        

    }
    .menu__second-level li a {
        color: #FFF;
    }

    .menu__second-level li a:hover {
        font-size: 1em;


    }


/* 下矢印 */
    .init-bottom:after {
        content: '';
        display: inline-block;
        width: 6px;
        height: 6px;
        margin: 0 0 0 15px;
        border-right: 1px solid #FFF;
        border-bottom: 1px solid #FFF;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    .menu > li.menu__single {
        position: relative;
    }

    li.menu__single ul.menu__second-level {
        position: absolute;
        top: 40px;
        width: 100%;
        background: gainsboro;
        -webkit-transition: all .2s ease;
        transition: all .2s ease;
    }

    li.menu__single:hover ul.menu__second-level {
        top: 50px;
        visibility: visible;
        opacity: 1;
    }

}

@media screen and (min-width:881px){
    .menu > li a {

        font-size: 0.9em;
        
    }
}





@media screen and (max-width:682px){



    #nav-pc {
        display: none;
    }
}

