/*-------------------------------------
			nav
---------------------------------------*/
/* secondnav */
#secondNav {
  background: #343B44;
  border-top: 1px solid #FFF;
  border-bottom: 1px solid #FFF;
  color:#FFF;
  width: 100%;
  min-width: 980px;
  transition:.8s all .1s ease;
  position:absolute;
	z-index: 5;
}
#secondNav.topPage {
  background: #efefef; 
  color: #000;
}
#secondNav .container{
  width: 980px;
  margin: 0 auto;
  border-left: 1px solid #FFF;
  border-right: 1px solid #FFF;
  height: 60px;
}
#secondNav ul {
  float: left;
}
#secondNav li {
  float: left;
  padding:0;
  position: relative;
}
#secondNav li.hide {
  display: none;
}
#secondNav li > span, #secondNav li a, #secondNav li p {
  display: block;
  color: #FFF;
  font-size: 13px;
  height:60px;
  line-height:60px;
  padding:0 25px 0;
	cursor: pointer;
}

#secondNav.fixed li > span, #secondNav.fixed li a, #secondNav.fixed li p{
  padding:0 25px 0;
}

#secondNav.topPage li > span,
#secondNav.topPage li a{
  color: #000;
}

#secondNav>div>ul> li:hover>span,
#secondNav>div>ul> li:hover>a,
#secondNav>div>ul> li:hover> p,
#secondNav li span.active,
#secondNav li a.active ,
#secondNav li p.active {
  background: #00A1E9;
  border: none;
  color: #FFF;
  text-decoration: none;
}
#secondNav .contact{
  float: right;
  border-left: 1px solid #FFF;
  display: block;
}
#secondNav .contact a {
  display: block;
  text-align: center;
  background: url(../images/icon_nav_contact.png) no-repeat center;
  padding: 0;
  height: 60px;
  width: 70px;
  color:#000;
}
#secondNav.topPage .contact a {
  background: url(../images/icon_contact_black.png) no-repeat center;
}
#secondNav.topPage .contact a:hover {
  background: url(../images/icon_nav_contact.png) no-repeat center;
  background-color: #000000;
}
#secondNav.fixed .contact a {
  background: url(../images/icon_nav_contact.png) no-repeat center;
}
#secondNav .contact a span {
  display: none;
}
#secondNav .contact a:hover {
  background-color: #000000;
  border-bottom: none;
}

#secondNav.fixed {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  background: #343B44;
}
#secondNav.fixed .contact,
#secondNav.fixed .hide{
  display:block;
}
#secondNav.fixed li > span,#secondNav.fixed li a, #secondNav.fixed li p{
  color:#FFF;
}

#secondNav ul li ul {
  display: none;
  position: absolute;
  left: 0;
  top: 61px;
  z-index: 10000;
  padding: 0;
}
#secondNav ul li ul * {
  display: block;
}
#secondNav ul li ul li {
  width: 300px;
  padding: 0;
}
#secondNav ul li ul li a,
#secondNav.fixed ul li ul li a {
  border-radius: 0;
  color: #000;
  padding: 12px 22px;
  height:auto;
}

#secondNav ul li ul li a.active,
#secondNav.fixed ul li ul li a.active {
  color: #fff;
}

#secondNav ul li ul li a:hover {
  color: #000;
  text-decoration: none;
}

#secondNav ul li ul li dt {
  background: #ccc !important;
  padding: 5px 22px;
  border: 1px solid #ccc !important;
  font-size: 13px;
  width: 100%;
  box-sizing: border-box;
}

#secondNav ul li ul li dd a, #secondNav ul li ul li a {
  line-height:50px ;
  background:#FFF ;
  color: #333;
  font-size: 16px;
  padding: 12px 22px;
  box-sizing: border-box;
  text-decoration: none;
  border: 1px solid #ccc !important;
  margin-top: -1px;
  width: 100%;
  font-size: 13px;
  line-height: 1.2;
}
#secondNav ul li ul li dd a:hover, #secondNav ul li ul li a:hover {
  background: #000;
  color: #fff;
  text-decoration: underline;
}

#secondNav ul li .newcontent {
    position: absolute;
    top: 3px;
    right: 20px;
    font-size: 75%;
    font-weight: bold;
    color: #DA1717;
    text-transform: uppercase;
}

/* ----レスポンシブメニュー--  */
body.side-open  {
  position: fixed;
  width: 100%;
  height: 100%;
}

/* menu */
nav.menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,.8);
	-webkit-transition: all .5s;
	transition: all .5s;
	visibility: hidden;
	opacity: 0;
	z-index: 121;
}

.side-open nav.menu {
	-webkit-transition: all .5s;
	transition: all .5s;
	visibility: visible;
	opacity: 1;
  padding: 15px 5px;
  box-sizing: border-box;
}

nav.menu ul {
	display: inline-block;
	vertical-align: middle;
	overflow:scroll;
	width: 100%;
	height: 100%;
}

nav.menu li {
	width: 300px;
	margin: 0 auto;
	text-align: center;
	opacity: 0;
}
nav.menu ul li ul {
	display: inline;
	vertical-align: middle;
	overflow:scroll;
}

.side-open nav.menu li {
	opacity: 1;
}

.side-open nav.menu li.lv1:nth-child(1) {
	-webkit-transition: opacity 1s ease .5s;
	transition: opacity 1s ease .5s;
}

.side-open nav.menu li.lv1:nth-child(2) {
	-webkit-transition: opacity 1s ease .6s;
	transition: opacity 1s ease .6s;
}

.side-open nav.menu li.lv1:nth-child(3) {
	-webkit-transition: opacity 1s ease .7s;
	transition: opacity 1s ease .7s;
}

.side-open nav.menu li.lv1:nth-child(4) {
	-webkit-transition: opacity 1s ease .8s;
	transition: opacity 1s ease .8s;
}

.side-open nav.menu li.lv1:nth-child(5) {
	-webkit-transition: opacity 1s ease .9s;
	transition: opacity 1s ease .9s;
}
.side-open nav.menu li.lv1:nth-child(6) {
	-webkit-transition: opacity 1s ease .9s;
	transition: opacity 1s ease .9s;
}

.side-open nav.menu li.lv1:nth-child(7) {
	-webkit-transition: opacity 1s ease .9s;
	transition: opacity 1s ease .9s;
}

.side-open nav.menu li.lv1:nth-child(8) {
	-webkit-transition: opacity 1s ease .9s;
	transition: opacity 1s ease .9s;
}

.side-open nav.menu li.lv1:nth-child(9) {
	-webkit-transition: opacity 1s ease .9s;
	transition: opacity 1s ease .9s;
}

.side-open nav.menu li.lv1:nth-child(10) {
	-webkit-transition: opacity 1s ease .9s;
	transition: opacity 1s ease .9s;
}
nav.menu li.lv1 {
  margin-bottom: 15px;
}
nav.menu li.lv1 a {
	line-height: 2.8;
	font-size: 18px;
	color: #f5f5f5;
	-webkit-transition: all .5s;
	transition: all .5s;
}
nav.menu li.lv1 ul li {
  margin-bottom: 10px;
}
nav.menu li.lv1 ul li a {
	display: block;
	line-height: 1.6;
	font-size: 13px;
	color: #999;
	-webkit-transition: all .5s;
	transition: all .5s;
}


nav.menu li a:hover {
	color: #999;
	text-decoration:  none;
}

/* menu-btn */
.menu-btn {
	position: fixed;
	top: 20px;
	right: 20px;
	width: 70px;
	height: 50px;
	line-height: 50px;
	font-size: 12px;
	text-align: center;
	cursor: pointer;
	z-index: 122;
    background: #555;
    opacity: 0.8;
	display: none;
}

.menu-btn span {
	color: #fff;
}

.menu-btn span:after {
	content: attr(data-txt-open);
}

.side-open .menu-btn span:after {
	content: attr(data-txt-close);
}

.menu-btn:hover span:nth-child(1):after {
	-webkit-animation: anim .5s ease 0s forwards;
	animation: anim .5s ease 0s forwards;
}

.menu-btn:hover span:nth-child(2):after {
	-webkit-animation: anim .5s ease .1s forwards;
	animation: anim .5s ease .1s forwards;
}

.menu-btn:hover span:nth-child(3):after {
	-webkit-animation: anim .5s ease .2s forwards;
	animation: anim .5s ease .2s forwards;
}

.menu-btn:hover span:nth-child(4):after {
	-webkit-animation: anim .5s ease .3s forwards;
	animation: anim .5s ease .3s forwards;
}

.menu-btn:hover span:nth-child(5):after {
	-webkit-animation: anim .5s ease .4s forwards;
	animation: anim .5s ease .4s forwards;
}
.menu-btn:hover span:nth-child(6):after {
	-webkit-animation: anim .5s ease .5s forwards;
	animation: anim .5s ease .5s forwards;
}
.menu-btn:hover span:nth-child(7):after {
	-webkit-animation: anim .5s ease .6s forwards;
	animation: anim .5s ease .6s forwards;
}
.menu-btn:hover span:nth-child(8):after {
	-webkit-animation: anim .5s ease .7s forwards;
	animation: anim .5s ease .7s forwards;
}
.menu-btn:hover span:nth-child(9):after {
	-webkit-animation: anim .5s ease .8s forwards;
	animation: anim .5s ease .8s forwards;
}
.menu-btn:hover span:nth-child(10):after {
	-webkit-animation: anim .5s ease .9s forwards;
	animation: anim .5s ease .9s forwards;
}

@-webkit-keyframes anim {
	0% {-webkit-transform:translateY(0px);transform:translateY(0px);}
	50% {-webkit-transform:translateY(-5px);transform:translateY(-5px);}
	100% {-webkit-transform:translateY(0px);transform:translateY(0px);}
}

@keyframes anim {
	0% {-webkit-transform:translateY(0px);transform:translateY(0px);}
	50% {-webkit-transform:translateY(-5px);transform:translateY(-5px);}
	100% {-webkit-transform:translateY(0px);transform:translateY(0px);}
}
.bx-wrapper .bx-controls-direction a  { z-index: 100;}

/*@media screen and (max-width: 767px) {
  #secondNav{
    display: none;
  }
  .menu-btn {
    display: block;
  }
}
@media screen and (max-width: 480px) {
  .menu-btn {
    right: 10px;
  }
}*/