@charset "utf-8";

/*---------- 全ページ共通 ----------*/
body{
	font-family: '游ゴシック','Yu Gothic',sans-serif;
}

#wrap{
	max-width: 100%;
	height: auto;
	margin: auto;
}

img{
	max-width: 100%;
	height: auto;
}

/*モバイル*/
@media screen and (max-width:640px){
	#wrap{
		width:100%;
		height: auto;
	}
}
/*---------- ヘッダー ----------*/

#header{
	height: 300px;
}

/* モバイル */
@media screen and (max-width:640px){
	#header{
		width: 100%;
		height: auto;
	}
}

.header_top{
	width: 100%;
	height: auto;
	text-align: left;
}

@media screen and (max-width: 640px){
	.header_top{
		text-align: center;
	}
}

.header_bottom{
	width: 100%;
	height: auto;
	text-align: center;
}

#header a{
	text-decoration: none;
}

/*---------- グローバルナビ ----------*/
#gnav{
	width: 100%;
	height: auto;
}

/* モバイル */
@media screen and (max-width:640px){
	#gnav{
		width: 100%;
		height: auto;
	}
}

#gnav ul{
	overflow: hidden;
}

#gnav li{
	float: left;
	width: 33.125%;
	height: auto;
	font-size: 20px;
	border: 1px solid #c0c0ff;
	font-family: 'Kosugi Maru', sans-serif;
	list-style: none;
}

/* モバイル */
@media screen and (max-width:960px){
	#gnav li{
		float: left;
		box-sizing: border-box;
		width: 33.125%;
		height: auto;
		border: #cacaff 1px solid;
		font-size: 15px;
		font-family: 'Kosugi Maru', sans-serif;
		list-style: none;
	}
}



#gnav a{
	display: block;
	padding: 20px 0;
	text-align: center;
	text-decoration: none;
	color: #000;
}

/* モバイル */
@media screen and (max-width:960px){
	#gnav a{
		display: block;
		padding: 20px 0;
		text-align: center;
		text-decoration: none;
		color: #000;
	}
}

#gnav a:hover{
	background-color: #8c8c8c;
	color: #fff;
	opacity: 0.7;
}

/* モバイル */
@media screen and (max-width:960px){
	#gnav a:hover{
		background-color: #8c8c8c;
		color: #fff;
		opacity: 0.7;
	}
}

/*---------- フッター ----------*/


#footer p{
	text-align: center;
}

@media screen and (max-width: 640px){
	#footer{
		text-align: center;
	}
}