@charset "utf-8";
/* CSS Document */
.navi-inner {
	width: 920px;
	margin: 0 auto;
}
.main-visual { height:60px;}
/* header */
#top-head {
	font-size: 1rem;
	width: 100%;
	line-height: 1;
	z-index: 999;
	background-color: #ffffff;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	padding-top: 0px;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0;
	height:60px;
	border-top:#05b3de solid 5px;
	    display: block;
   }

#top-head a,
#top-head {
	color: #ffffff;
	text-decoration: none;
}
#top-head .navi-inner {
	position: relative;
}
#top-head .logo-img {
	color:#666666;
	position: absolute;
	left: 0px;
	top:10px;
	width:160px;

}
#global-nav ul {
	list-style: none;
	position: absolute;
	right: 0px;
	top:10px;

	font-size: 14px;
}
#global-nav ul li {
	float: left;
	position: relative;
	background-color:#221816;
	margin-right:5px;
	}
#global-nav ul li.blue {background-color:#05b3de;}
#global-nav ul li a {
	padding: 8px 12px;
	display:block;
}
#global-nav ul li a:hover {
	background-color: #666666;
}




/* Transition */
/*
#top-head,
#top-head .logo,
#global-nav ul li,
#global-nav ul li a {
	transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
}
*/



/* Toggle Button */
#nav-toggle {
	display: none;
	position: absolute;
	right: 12px;
	top: 14px;
	width: 34px;
	height: 36px;
	cursor: pointer;
	z-index: 101;
}

#nav-toggle div {
	position: relative;
}
#nav-toggle span {
	display: block;
	position: absolute;
	height: 4px;
	width: 100%;
	background: #666;
	left: 0;
	-webkit-transition: .35s ease-in-out;
	-moz-transition: .35s ease-in-out;
	transition: .35s ease-in-out;
}
#nav-toggle span:nth-child(1) {
	top: 0;
}
#nav-toggle span:nth-child(2) {
	top: 11px;
}
#nav-toggle span:nth-child(3) {
	top: 22px;
}




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

	#top-head,
	.navi-inner {
		width: 100%;
		padding: 0;
		
	}
	#top-head {
		top: 0;
		margin-top: 0;
	}
	/* Fixed reset */
	#top-head.fixed {
		padding-top: 0;
		background: transparent;
	}


	#mobile-head {
		background: #fff;
		width: 100%;
		height: 56px;
		z-index: 999;
		position: relative;
	}
	#top-head.fixed .logo-img,
	#top-head .logo-img {
		position: absolute;
		left: 10px;
		top: 10px;
		color: #333;
		font-size: 26px;
	}

	#global-nav {
		position: absolute;
		/* 開いてないときは画面外に配置 */
		top: -500px;
		background: #333;
		width: 100%;
		text-align: center;
		padding: 0;
		-webkit-transition: .5s ease-in-out;
		-moz-transition: .5s ease-in-out;
		transition: .5s ease-in-out;
	}
	#global-nav ul {
		list-style: none;
		position: static;
		right: 0;
		bottom: 0;
		font-size: 11px;
	}
	#global-nav ul li {
		float: none;
		position: static;
		border-bottom:1px solid #ffffff;
		margin-right:0px;
	}
	#global-nav ul li:after  {
		display: none;
	}
	#top-head #global-nav ul li a,
	#top-head.fixed #global-nav ul li a {
		width: 100%;
		display: block;
		color: #fff;
		padding: 18px 0;
		font-size:1rem;
	}
	#nav-toggle {
		display: block;
	}
	/* #nav-toggle 切り替えアニメーション */
	.open #nav-toggle span:nth-child(1) {
		top: 11px;
		-webkit-transform: rotate(315deg);
		-moz-transform: rotate(315deg);
		transform: rotate(315deg);
	}
	.open #nav-toggle span:nth-child(2) {
		width: 0;
		left: 50%;
	}
	.open #nav-toggle span:nth-child(3) {
		top: 11px;
		-webkit-transform: rotate(-315deg);
		-moz-transform: rotate(-315deg);
		transform: rotate(-315deg);
	}
	/* #global-nav スライドアニメーション */
	.open #global-nav {
		/* #global-nav top + #mobile-head height */
		-moz-transform: translateY(556px);
		-webkit-transform: translateY(556px);
		transform: translateY(556px);
	}


}
