@charset "UTF-8";

/*
		base
	 1. default
	 2. header
	 3. footer

———————————————————- */

/*  1. default  */

h2 {
	font-size: 35px;
	font-weight: 600;
	color: #00529c;
	display: inline-block;
	margin: 0 auto;
	padding: 0 10px;
	line-height: 2.5em;
	letter-spacing: 0.1em;
	text-align: center;
}

p,li,dt,dd,span,a,h3 {color: #333;}



/*  2. header  */

header {
	padding: 5px 0;
}

.hInner {align-items: center}

h1 {
	padding: 10px 0;
	
}
h1 a {
	color: #00529c;
	font-size: 23px;
	font-weight: bold;
	line-height: 1.2em;
	background: url(../img/logo.png) left center no-repeat;
	-webkit-background-size: contain;
	background-size: contain;
	padding: 20px 0 0 65px;
}
h1 span {
	display: block;
	font-size: 14px;
	font-weight: bold;
	color: #00529c;
	padding-left: 65px;
}

.hNav{
	list-style: none;
}

.hNav ul li a{
	display: block;
	color:#00529c;
	text-align: center;
	width: 140px;
	border-left: 1px solid #00529c;
	-webkit-transition: 0.5s ease-in-out;
	-moz-transition: 0.5s ease-in-out;
	-o-transition: 0.5s ease-in-out;
	transition: 0.5s ease-in-out;
}
.hNav ul li:last-child a {border-right: 1px solid #00529c;}
.hNav ul li a:hover {opacity: 0.6;}


/*  3. footer  */

footer nav li {
	padding: 0 20px;
	border-right: 1px solid #000;
}
footer nav li:first-child {border-left: 1px solid #000;}

footer nav li a {
	-webkit-transition: 0.5s ease-in-out;
	-moz-transition: 0.5s ease-in-out;
	-o-transition: 0.5s ease-in-out;
	transition: 0.5s ease-in-out;
}
footer nav li a:hover {color: #9c9c9c;}

footer .link .fb {width: 82px;border-radius: 10px;overflow: hidden;}


#forTop {
	position: fixed;
	display: none;
}

.topBtn {
	position: relative;
	display: inline-block;
	padding: 0 0 0 16px;
	color: #000;
	vertical-align: middle;
	text-decoration: none;
	font-size: 15px;
}
.topBtn:before,
.topBtn:after {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	content: "";
	vertical-align: middle;
}

.topBtn:before {
	-webkit-border-radius: 50%;
	border-radius: 50%;
	background: rgba(51,51,51,.8);
}
.topBtn:after {
	border-top: 1px solid #fff;
	border-right: 1px solid #fff;
	-webkit-transform: rotate(315deg);
	transform: rotate(315deg);
}


/*	pc	*/
@media screen and (min-width: 813px) {
	
	.spOnly {display: none;}
	
	 h2 {
		margin: 80px auto;
		font-size: 40px;
	}
	
	.hInner,
	.contents {
		width: 95%;
		max-width: 1300px;
		margin: 0 auto;
	}
	
	header {background-color: #ffcf01;}
	
	
	footer {background-color: #ced0d8;padding: 10px 0;}
	footer .fInner {
		width: 95%;
		max-width: 1300px;
		margin: 0 auto;
		padding: 10px 0;
	}
	
	footer .link {
		width: 90%;
		margin-left: auto;
		margin-top: 15px;
	}
	
	footer .link a {
		width: 49%;
		max-width: 327px;
/*		margin-bottom: 10px;*/
	}
	
	footer .link img {width: 100%;}
	
	footer nav .title {
		font-size: 20px;
		font-weight: bold;
		margin-bottom: 10px;
	}
	
	footer .copy {
		width: 100%;
		font-size: 13px;
		text-align: right;
		margin-top: 10px;
	}
	
	
	#forTop {
		width: 50px;
		height: 50px;
		right: 30px;
		bottom: 30px;
		cursor: pointer;
	}
	
	.topBtn:before {
		width: 50px;
		height: 50px;
	}
	.topBtn:after {
		top: 10px;
		left: 15px;
		width: 20px;
		height: 20px;
	}
	
}

/*	sp	*/
@media screen and (max-width: 812px) {
	
	.contents {padding: 0 10px;}
	
	h2 {margin-bottom: 30px;}
	
	span.inline {display: inline-block;}
	
	.hNav,.fNav {display: none;}
	
	header {
		height: 54px;
	}
	h1 {
		padding: 5px 50px 5px 5px;
		width: 100%;
		height: 54px;
		line-height: 54px;
		position: fixed;
		top: 0;
		left: 0;
		background-color: #ffcf01;
		z-index: 200;
		box-shadow: 0px 0px 3px rgba(0,0,0,0.5);
	}
	
	h1 a {
		padding-left: 50px;
		margin-top: -20px;
		display: block;
	}
	
	h1 span {
		line-height: 1.5em;
		padding-left: 50px;
	}
	
	#mNav {
		width: 65vw;
		height: 100vh;
		padding: 74px 30px 30px 15px;
		background-color: rgba(255,255,255,0.8);
		position: fixed;
		top: 0;right: 0;
		display: none;
		overflow-y: auto;
		z-index: 150;
	}
	#mNav li {
		border-bottom: 1px solid #00529c;
		padding-bottom: 3px;
		margin-bottom: 10px;
	}
	#mNav li a {
		color: #00529c;
		font-size: 14px;
	}
	
	
	footer {background-color: #fff;}
	footer .link {
		width: 90%;
		margin: 10px auto;
		background-color: #fff;
		padding-top: 10px;
		-webkit-justify-content:space-around;
		justify-content:space-around;
	}
	footer .link a {margin-bottom: 10px;}
	footer .link img {width: 100%;}
	footer .copy {
		text-align: center;
		font-size: 14px;
		padding: 5px 0;
		width: 100%;
		height: 30px;
		background-color: #ced0d8;
	}
	
	
	#forTop {
		width: 44px;
		height: 44px;
		right: 10px;
		bottom: 10px;
	}
	.topBtn:before {
		width: 44px;
		height: 44px;
	}
	.topBtn:after {
		top: 10px;
		left: 12px;
		width: 20px;
		height: 20px;
	}
	
}


/*	モバイル縦長	*/
@media screen and (max-width: 812px) and (orientation: portrait) {
	
	h1 a {font-size: 18px;}
	
}


/*	モバイル横長	*/
@media screen and (max-width: 812px) and (orientation: landscape) {
	
	footer .link a {width: 48%;}
	
}



