@charset "UTF-8";

.inner {
	/* width: 980px; */
	margin: 0 auto;
}
.inner:after {
	content: "";
	clear: both;
	display: block;
}

/* header
------------------------------------------- */
#top-head {
	position: fixed;
	height:199px;
	font-size: 14px;
	width: 100%;
	margin: 100px auto 0;
	padding: 30px 0 0 ;
	padding-top: 0px;
	line-height: 1;
	z-index: 999;
	margin-top: 0;
	top: 0;
	transition: top 0.65s ease-in;
	-webkit-transition: top 0.65s ease-in;
	-moz-transition: top 0.65s ease-in;
	border-bottom:1px solid #FFFFFF;
	background-color:#fff;
}
#top-head a,
#top-head {
	color: #fff;
	text-decoration: none;
}
#top-head .inner {
	position: relative;
}

#mobile-head {
	max-width: 980px;
	width:90%;
	margin:18px auto;
	overflow:hidden;
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
}

/* Logo */
#top-head .logo {
	color: #333;
	width:95%;
	max-width: 640px;
}

#top-head .official ul {
	display:grid;
	grid-template-columns: 1fr auto;
	gap: 5px;
}

#top-head .official a {
	display:block;
	color:#FFFFFF;
	padding:12px 12px 12px 50px;
	background:#010080 url("../img/icn_officialsite01.gif") no-repeat 12px center;
	border-radius:4px;
	-webkit-transition: All 0.3s ease;
	-moz-transition: All 0.3s ease;
	-o-transition: All 0.3s ease;
	-ms-transition: All 0.3s ease;
	transition: All 0.3s ease;
}

@media screen and (max-width: 1000px) {
	#top-head .official a {
		padding:10px 10px 10px 50px;
	}
}

#top-head .official a:hover {
	filter: alpha(opacity=50); /* for IE */
	-moz-opacity: 0.5;
	opacity: 0.5;
}

#top-head .official.eng {
	margin:32px 0 0 0;
}

#navwrap {
	width: auto;
	margin: 0 auto;
}


/* Global Navi */
#global-nav {
	background-color:#010080;
}
	#global-nav ul {
/*
		position: absolute;
		top: 110px;
		left: 0;
		width:100%;
*/
		max-width: 980px;
		width:95%;
		padding-top:10px;
		margin:0 auto;
		text-align:center;
		font-size: 16px;
		background:transparent url("../img/bg_gnavi01.gif") repeat-y right top;
	}
		#global-nav ul li {
/*
			float: left;
			position: relative;
			margin:0px;
*/
			display:inline-block;
			width:326px;
			text-align:center;
			background:transparent url("../img/bg_gnavi01.gif") repeat-y left top;
		}

		@media screen and (max-width: 1000px) {
			#global-nav ul li {
				width:180px;
			}
		}

		#global-nav ul li.first {
			width:324px;
		}
		@media screen and (max-width: 1035px) {
			#global-nav ul li.first {
				width:250px;
			}
		}


		/* for mobile */
		#global-nav ul li.navofficial{
			display:none;
		}
		#global-nav ul li.active {
			background-color:transparent;
			pointer-events:none;
		}
		#global-nav ul li a {
			display: block;
			color: #fff;
			border-radius:5px 5px 0 0;
			padding:48px 0 15px;
			font-size:14px;
			font-weight:bold;
			margin:0 8px;
		}
		#global-nav ul li a:hover {
			color:#010080;
			transition: all 0.4s ease;
			-webkit-transition: all 0.4s ease;
			-moz-transition: all 0.4s ease;
		}
		
		/* Entry */
		#global-nav ul li.entryOff a {
			background:transparent url("../img/icn_gnavi_entry01_off.png") no-repeat center 7px;
		}
		#global-nav ul li.entryOff a:hover {
			background:#fff url("../img/icn_gnavi_entry01_on.png") no-repeat center 7px;
		}
		#global-nav ul li.entryOn a {
			background:transparent url("../img/icn_gnavi_entry01_on.png") no-repeat center 7px;
		}

		/* Faq */
		#global-nav ul li.faqOn a {
			background:transparent url("../img/icn_gnavi_faq01_on.png") no-repeat center 7px;
		}
		#global-nav ul li.faqOff a {
			background:transparent url("../img/icn_gnavi_faq01_off.png") no-repeat center 7px;
		}
		#global-nav ul li.faqOff a:hover {
			background:#fff url("../img/icn_gnavi_faq01_on.png") no-repeat center 7px;
		}

		/* Guide */
		#global-nav ul li.guideOn a {
			background:transparent url("../img/icn_gnavi_guide01_on.png") no-repeat center 7px;
		}
		#global-nav ul li.guideOff a {
			background:transparent url("../img/icn_gnavi_guide01_off.png") no-repeat center 7px;
		}
		#global-nav ul li.guideOff a:hover {
			background:#fff url("../img/icn_gnavi_guide01_on.png") no-repeat center 7px;
		}


		#global-nav ul li.active a {
			color: #010080;
			background-color:#fff;
		}



		/* Btn Hover */

/*
		#global-nav ul li a:after {
			background: #ffffff;
			position: absolute;
			content: "";
			display: block;
			width: 0;
			left:50%;
			bottom:1px;
			height: 4px;
			transition: all 0.4s ease;
			-webkit-transition: all 0.4s ease;
			-moz-transition: all 0.4s ease;
		}
		#global-nav ul li a:hover:after {
			background: #00B4F2;
			bottom:1px;
			left:0px;
			width: 100%;
		}
*/



/* 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: #00007C;
	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 Queries ## */
@media screen and (max-width: 660px) {

	#top-head,
	.inner {
		width: 100%;
		height:55px;
		padding: 0;
	}
	#top-head {
		top: 0;
		position: fixed;
		margin-top: 0;
	}
	#top-head .official a{
		display:none;
	}


	#mobile-head {
		background: #fff;
		width: 100%;
		height: 55px;
		z-index: 999;
		position: relative;
		border-bottom:1px solid #00007C;
		margin-top: 0px;
	}
	#top-head .logo {
		color: #333;
		font-size: 26px;
		padding-left:5px;
	}
	#top-head .logo img{
		height:32px;
	}
	#global-nav {
		position: absolute;
		/* 開いてないときは画面外に配置 */
		top: -500px;
		width: 100%;
		text-align: center;
		padding: 0px 0;
		-webkit-transition: .5s ease-in-out;
		-moz-transition: .5s ease-in-out;
		transition: .5s ease-in-out;
	}
	#global-nav ul {
		padding-top:0px;
		position: static;
		right: 0;
		bottom: 0;
		width:auto;
	}
	#global-nav ul li {
		float: none;
		position: static;
		bottom: 0px;
		margin:0px;
		width:100%;
		border-right:none;
	}
	#global-nav ul li.first {
		width:100%;
		border-left:none;
	}
	/* for mobile */
	#global-nav ul li.navofficial{
		display:inline;
	}

	#global-nav ul li:after  {
		display: none;
	}


	#top-head #global-nav ul li a{
		font-size: 14px;
		font-weight:normal;
		width: 100%;
		display: block;
		color: #fff;
		padding: 24px 0px 6px 0px;
		margin-top:0px;
		background: #00007C;
		border-bottom:1px solid #2b2bb2;
		height:32px;
	}
	#top-head #global-nav ul li:first-child a{
		margin-top:0px;
	}


	#global-nav ul li a:after {
		height:0px;
	}
	#global-nav ul li a:hover:after {
	}


	#global-nav ul li a:hover:after{
		background:#00007C;
	}
	#global-nav ul li.active {
		background:#00007C;
		width:100%;
		pointer-events:auto;
	}

	#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);
	}



}
