@charset "utf-8";


/* header */
#top-head {
	top: -100px;
	position: absolute;
	width: 100%;
	line-height: 1;
	z-index: 999;
	margin-top: 100px;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0;	

}
#top-head a,#top-head {
	text-decoration: none;
}
#top-head .inner {
	position: relative;
	width: 100%;
	padding-right: 20px;
	padding-left: 20px;
}
#top-head .logo{
	top: 0px;
}

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

}
#global-nav ul li {
	float: left;
	font-weight: 600;
	font-family: "Lora", serif;
	text-align: center;
	padding-right: 20px;
	padding-left: 20px;
}

@media (max-width: 1400px) {
#global-nav ul li {
	padding-right: 15px;
	padding-left: 15px;
}

}


#global-nav ul li p{
	font-size: 9px;
	display: block;
	font-weight: normal;
	color: #0062B8;
}

#global-nav ul li span{
	font-size: 16px;
	display: block;
	margin-bottom: 10px;

}






.top{	padding-top: 40px;}

.top li a {
	color: #0062B8;

}
.base{	padding-top: 35px;}
.base li a {
	color: #0062B8;
	padding: 20px;
	text-align: center;	transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
}

/* Btn Hover */

.base li:after {
	position: absolute;
	content: "";
	display: block;
	width: 100%;
	transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;

}


.base li:hover {
	font-size: 20px;		
}


/* Fixed */

#top-head.fixed {
	margin-top: 0;
	top: 0;
	position: fixed;
	padding-top: 10px;
	height: 80px;
	transition: top 0.65s ease-in;
	-webkit-transition: top 0.65s ease-in;
	-moz-transition: top 0.65s ease-in;
	background-color: rgba(0,98,184,0.8);
}

#top-head.fixed  ul{
	list-style: none;
	position: absolute;
	right: 30px;
	top: 20px;
	padding-top: 0px;
}

#top-head.fixed .logo{
	display: block;
}

#top-head .logo img{
	height: auto;
	width: 300px;
	margin-top: 25px;
}
#top-head.fixed .logo img{
	height: auto;
	width: 240px;
	margin-top: 0px;
}
#top-head.fixed #global-nav ul li a {
	padding: 0 15px;

}

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

#nav-toggle div {
	position: relative;
}
#nav-toggle span {
	display: block;
	position: absolute;
	height: 1px;
	width: 100%;
	background: #0062B8;
	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:15px; 
}
#nav-toggle span:nth-child(2) {
  top:23px;
}
#nav-toggle span:nth-child(3) {
  top:31px;
}



@media (max-width: 1200px) {
	article {
		padding: 0 30px;
	}
	.inner, .inner2 {
		width: 100%;
		padding: 0 0px;
	}
	
#global-nav ul {

	padding-top: 0px;
}
	
#global-nav ul li a {
		padding: 0 20px;
	}
	
#top-head.fixed #global-nav ul li a,#top-head_top.fixed #global-nav ul li a {
		padding: 0 15px;
	}

.inner {
	width: 100%;
	padding-top: 0;
	padding-right: 0px;
	padding-bottom: 0;
	padding-left: 0px;
}

#top-head .inner,#top-head_top .inner {
	width: 100%;
	padding: 0;
}

#top-head,#top-head_top {
		top: 0;
		position: fixed;
		margin-top: 0;
		padding: 0;
}

/* Fixed reset */
#top-head.fixed,#top-head_top.fixed {
		padding-top: 0;
		background: transparent;
	}

#mobile-head_top {
	background: #0062B8;
	width: 100%;
	height: 56px;
	z-index: 999;
	position: relative;
	background-color: rgba(255,255,255,0.4);
}
#mobile-head {
	width: 100%;
	height: 56px;
	z-index: 999;
	position: relative;
	background-color: rgba(255,255,255,0.4);
}
#top-head.fixed .logo,#top-head .logo,#top-head_top.fixed .logo,#top-head_top .logo {
	position: absolute;
	left: 5px;
	top: 6px;
	display: block;
	}

#top-head.fixed .logo img, #top-head .logo img{
	height: auto;
	width: 180px;
	margin-top: 0px;
}

#global-nav {
	position: absolute;
	/* 開いてないときは画面外に配置 */
	top: 0px;
	width: 100%;
	text-align: center;
	padding-right: 0;
	padding-left: 0;
	height: 100vh;
	display: none;
}
	
#top-head.fixed #global-nav ul,#top-head #global-nav ul{
		list-style: none;
		position: static;
		right: 0;
		bottom: 0;
		font-size: 20px;
	display: block;
	}
#top-head.fixed #global-nav ul li,#top-head #global-nav ul li  {
		float: none;
		position: static;
	}
#top-head.fixed #global-nav ul li:after , #top-head #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: #0062B8;
	padding-top: 20px;
	padding-right: 0;
	padding-bottom: 20px;
	padding-left: 0;

	}

	#nav-toggle {
		display: block;
	}
	/* #nav-toggle 切り替えアニメーション */
	.open #nav-toggle span:nth-child(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 40%;
}
	.open #nav-toggle span:nth-child(2) {
  opacity: 0;
}
	.open #nav-toggle span:nth-child(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 40%;
}
	/* #global-nav スライドアニメーション */
	.open #global-nav {
	/* #global-nav top + #mobile-head height */

	display: block;	
background-color: rgba(255,255,255,0.9);	
	padding-top: 70px;
  animation-name: fadein;
  animation-duration: 1.5s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}


}
