@charset "utf-8";
@import url('reset.css');
@import url('general.css');
@import url(./font-awesome.min.css);
@import url(https://fonts.googleapis.com/earlyaccess/notosansjp.css);

html {
	font-size: 62.5%;
}
body {
	width:100%;
	font-size: 10px;
	font-size: 1.0rem;
	line-height: 1.8;
	color:#222;
	font-family:"Noto Sans JP", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif, "游ゴシック", "ヒラギノ角ゴ ProN W3";
	-webkit-text-size-adjust:100%;
	overflow:hidden;
	background-repeat:no-repeat;
	background-position:center;
	background-size:cover;
	background-attachment:fixed;
}

h1,h2,h3,h4 {
	margin:0;
}
h2 {
	text-align:center;
	font-size:400%;
	font-weight:600;
	letter-spacing:5px;
	margin-left:5px;
}
p {
	font-size:180%;
	margin:1em 0;
}
img {
	display:block;
	max-width:100%;
	height:auto;
	margin:0;
	padding:0;
}
ul {
	list-style-type:none;
}
strong {
	font-weight:bold;
}

a,a:visited,a:hover {
	color:#034988;
	transition-property: all;
	transition: 0.1s linear;
}
a:hover {
	text-decoration:none;
	opacity: 0.7;
	filter: alpha(opacity=70);
	-ms-filter: "alpha(opacity=70)";
	-moz-opacity: 0.7;
	-khtml-opacity: 0.7;
}

.btn,.btn:visited,.btn:hover {
	display:inline-block;
	min-width:290px;
	text-align:center;
	font-size:160%;
	font-weight:600;
	text-decoration:none;
	border:1px solid #222;
	padding:5px;
	background-color:#fff;
	margin-top:30px;
}
a.btn,a.btn:visited,a.btn:hover {
	color:#222;
}

.sp {
	display:none;
}

header {
	width:100%;
	position:relative;
}
a.logo,
a.logo:visited,
a.logo:hover {
	display:block;
	position:absolute;
	top:0;
	left:30px;
	z-index:10000;
}


header nav {
	width:100%;
	padding:0;
	position:fixed;
	top:0;
	left:0;
	z-index:9999;
	-moz-transition: all 0.3s;
	-o-transition: all 0.3s;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
}
header nav ul {
	text-align:right;
	padding-right:30px;
}
header nav li {
	display:inline-block;
	text-align:center;
	font-size:160%;
	letter-spacing:2px;
	margin-left:1.5em;
}
header nav li a,
header nav li a:visited,
header nav li a:hover {
	display:block;
	font-weight:600;
	color:#fff;
	padding:20px 0 26px;
	text-decoration:none;
}
header nav li:first-child {
	display:none;
	float:left;
	max-width:375px;
}
header nav.white {
	background:url(../images/bg3.png) no-repeat bottom center #fff;
}
header nav.white li:first-child {
	display:block;
}
header nav.white li a,
header nav.white li a:visited,
header nav.white li a:hover {
	color:#222;
}


	.sp-open,.sp-open span,
	.sp-open-fix,.sp-open-fix span {
		display: inline-block;
		transition: all .4s;
		box-sizing: border-box;
	}
	a.sp-open,a.sp-open-fix {
		display:none;
		position: relative;
		width: 70px;
		height: 70px;
		padding:10px;
		border-radius:35px;
		float:right;
		text-decoration:none;
		background-color:rgba(0,0,0,0.6);
		opacity: 1;
		filter: alpha(opacity=100);
		-ms-filter: "alpha(opacity=100)";
		-moz-opacity: 1;
		-khtml-opacity: 1;
		margin:6px 12px 0 0;
	}
	a.sp-open-fix {
		display:none;
		/*position:fixed;
		top:12px;
		right:12px;
		float:none;
		background-color:rgba(0,0,0,0.75);
		margin:0;*/
	}
	.sp-open span,.sp-open-fix span {
		position: absolute;
		left: 15px;
		width: 39px;
		height: 3px;
		background-color: #fff;
		border-radius: 3px;
	}
	.sp-open-fix span {
		background-color: #fff;
	}
	.sp-open span:nth-of-type(1),
	.sp-open-fix span:nth-of-type(1) {
		top: 24px;
	}
	.sp-open span:nth-of-type(2),
	.sp-open-fix span:nth-of-type(2) {
		top: 33px;
	}
	.sp-open span:nth-of-type(3),
	.sp-open-fix span:nth-of-type(3) {
		top: 42px;
	}
	.sp-open.active span:nth-of-type(1),
	.sp-open-fix.active span:nth-of-type(1) {
		-webkit-transform: translateY(10px) rotate(-45deg);
		transform: translateY(10px) rotate(-45deg);
	}
	.sp-open.active span:nth-of-type(2),
	.sp-open-fix.active span:nth-of-type(2) {
		opacity: 0;
	}
	.sp-open.active span:nth-of-type(3),
	.sp-open-fix.active span:nth-of-type(3) {
		-webkit-transform: translateY(-8px) rotate(45deg);
		transform: translateY(-8px) rotate(45deg);
	}
	.sp-menu {
	}
	p.close {
		display:none;
	}
	.modal-overlay {
		z-index:1;
		display:none;
		position:fixed;
		top:0;
		left:0;
		width:100%;
		height:120%;
		background-color:rgba(0,0,0,0.6);
	}
	.modal-wrap {
		z-index:3;
		display:none;
		position:fixed;
		top:0;
		left:0;
		width:100%;
		height:100%;
		overflow:auto;
	}
	.modal-close.btn:before {
		content:'\f00d';
		font-family:'FontAwesome';
		margin-right:5px;
	}

.container {
	max-width:1200px;
	padding-top:7%;
	margin:0 auto;
}
.frame {
	width:800px;
	max-width:100%;
	margin:30px auto 0;
}

.mid {
	font-size:500%;
	font-weight:600;
	letter-spacing:5px;
	padding-left:5px;
	margin-bottom:5%;
}
.mid span {
	display:block;
	font-size:50%;
	position:relative;
}
.mid span:before {
	content:'\2022';
	font-size:170%;
	position:absolute;
	top:-1.1em;
	left:50%;
	margin-left:-.25em;
}
.mid br {
	display:none;
}

.mid2 {
	font-size:300%;
	font-weight:600;
	color:#034988;
	letter-spacing:2px;
	padding-left:2px;
	margin-bottom:5%;
}

.bg {
	background-position:bottom center;
	background-repeat:no-repeat;
	padding-bottom:160px;
}
.bg1 {
	background-image:url(../images/bg1.png)
}
.bg2 {
	background-image:url(../images/bg2.png)
}
.bg3 {
	background-image:url(../images/bg3.png)
}
.bgblue {
	background-color:#d4eaf3;
}
.bggray {
	background-color:#e0dec8;
}

.pankuzu.container {
	padding-bottom:0;
}
.pankuzu li {
	display:inline-block;
	font-size:14px;font-size:1.4rem;
}

footer {
	color:#fff;
	background:url(../images/bg3.png) no-repeat top center #676765;
	padding:0 0 5%;
}
footer ul {
	display:flex;
	justify-content:center;
	margin-bottom:2em;
}
footer li {
	font-size:180%;
	margin:0 1em;
}
footer a,
footer a:visited,
footer a:hover {
	color:#fff;
}
footer img {
	max-width:130px;
	margin:0 auto;
}

.pagetop {
	position:fixed;
	bottom:5%;
	right:5%;
	z-index:9999;
}
.pagetop a,
.pagetop a:visited,
.pagetop a:hover {
	display:block;
	width:68px;
	-ms-writing-mode:tb-rl;
	writing-mode:vertical-rl;
	font-size:300%;
	font-weight:600;
	color:#222;
	line-height:68px;
	text-decoration:none;
}
.pagetop a img {
	display:inline-block;
	margin-bottom:10px;
}

/*page*/
#p-header {
	width:100%;
	height:400px;
	background-repeat:no-repeat;
	background-position:center;
	background-size:cover;
	position:relative;
}
#p-header h1 {
	max-width:1100px;
	min-width:500px;
	text-align:center;
	font-family:'Noto Serif', serif;
	font-size:34px;font-size:3.4rem;
	color:#5667a9;
	letter-spacing:.5em;
	background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 20%, rgba(255,255,255,0.9) 80%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,0.9) 20%,rgba(255,255,255,0.9) 80%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(255,255,255,0.9) 20%,rgba(255,255,255,0.9) 80%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#00ffffff',GradientType=1 ); /* IE6-9 */
	padding:100px;
	position:absolute;
	top:50%;
	left:50%;
	-webkit-transform:translate(-50%,-50%);
	-moz-transform:translate(-50%,-50%);
	transform :translate(-50%,-50%);
}

@media only screen and (max-width: 1200px) {
	.container {
		max-width:1000px;
	}
}
@media only screen and (max-width: 1050px) {
	body {
		line-height:1.5;
	}
	p {
		font-size:160%;
	}
	h2 {
		font-size:300%;
	}
	.container {
		padding:30px 5%;
	}
	header nav {
		left:auto;
		right:0;
		background:none !important;
	}
	header nav ul {
		text-align:center;
		flex-wrap:wrap;
		justify-content:space-between;
		padding-right:0;
	}
	header nav ul li {
		width:31%;
		border-bottom:1px solid #ccc;
		padding:0;
		margin:0 1%;
	}
	header nav li:first-child {
		display:block !important;
		float:none;
		max-width:100%;
		width:50%;
		margin:0 auto;
	}
	header nav li a,
	header nav li a:visited,
	header nav li a:hover {
		color:#222;
	}
	a.sp-open,a.sp-open-fix {
		display:inline;
	}
	.sp-menu {
		position: relative;
		display: none;
		width: 86%;
		margin: 7%;
		padding: 30px 0;
		background-color: rgb(255,255,255);
	}
	p.close {
		display: block;
		width: 80%;
		text-align: center;
		margin-left: auto;
		margin-right: auto;
	}
	p.close.btn {
		margin-top:0;
	}
	p.close a,p.close a:visited,p.close a:hover {
		width:30%;
		min-width:0;
	}
	ul+p.close a,ul+p.close a:visited,ul+p.close a:hover {
		width:80%;
	}
	.bg {
		padding-bottom:80px;
	}
}
@media only screen and (max-width: 900px) {
	html {
		font-size:50%;
	}
	body::before {
		content: "";
		background-repeat:no-repeat;
		background-position:center;
		background-size: cover;
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		width: 100vw;
		height: 100vh;
		z-index: -1;
		transform: translateZ(0);
	}
	a:hover {
		text-decoration:none;
		opacity: 1;
		filter: alpha(opacity=100);
		-ms-filter: "alpha(opacity=100)";
		-moz-opacity: 1;
		-khtml-opacity: 1;
	}
	.mid {
		font-size:350%;
		letter-spacing:2px;
		padding-left:2px;
	}
}
@media only screen and (max-width: 600px) {
	.pc {
		display:none;
	}
	.sp {
		display:block;
	}
	a.logo,
	a.logo:visited,
	a.logo:hover {
		left:10px;
	}
	a.logo img {
		max-height:9vh;
	}
	header nav ul li,
	header nav li:first-child {
		width:80%;
	}
	p.close a,p.close a:visited,p.close a:hover {
		width:50%;
	}
}