@font-face {
	font-family: Oswald;
	src: url(../../../common/font/Oswald-Bold.ttf);
}

body {
	padding-top: 80px;
}

h1 {
	position: absolute;
	top: 50%;
	-webkit-transform: translateY( -50% );
	-moz-transform: translateY( -50% );
	transform: translateY( -50% );
	width: 100%;
	padding: 0 20px;
	text-align: center;
	text-shadow: 0 0 10px black, 0 0 10px black;
	font-size: 45px;
	font-weight: bold;
	background: rgb(0 0 0 / 50%);
	color: white;
}
h1 span {
	display: block;
	font-size: .6em;
	font-weight: bold;
}
h2 {
	margin-bottom: 30px;
	text-align: center;
	font-family: Oswald;
	font-size: 45px;
}
h2 span {
	display: block;
	font-size: 1rem;
	font-weight: bold;
}
h3 {
	margin-bottom: 10px;
	text-align: center;
	font-size: 30px;
	font-weight: bold;
}
h4 {
	margin-bottom: 3px;
	padding-left: 5px;
	font-size: 1.2rem;
	font-weight: bold;
	text-align: left;
	border-left: solid 8px red;
}


aside {
	position: fixed;
	top: 50%;
	right: 0;
	-webkit-transform: translateY( -50% );
	-moz-transform: translateY( -50% );
	transform: translateY( -50% );
	z-index: 1;
}
aside ul {
	border: solid 1px #2d2d2d;
}
aside ul li {
	background: white;
}
aside ul li.current {
	background: #2d2d2d;
}
aside ul li:not(:last-child) {
	border-bottom: solid 1px #2d2d2d;
}
aside ul li a {
	display: block;
	padding: 1em .3em;
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
}
aside ul li.current a {
	color: white;
}


.top_area {
	position: relative;
}


article:not(.top) section {
	position: relative;
	padding: 30px calc((100% - 1000px) / 2);
}
article:not(.top) section::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	-webkit-transform: translateX( -50% );
	-moz-transform: translateX( -50% );
	transform: translateX( -50% );
	display: block;
	width: 100%;
	max-width: 1000px;
	border-bottom: solid 1px #2d2d2d;
}

/*.lead {
	margin-bottom: 50px;
	text-align: center;
	font-size: 1.2em;
	line-height: 1.8;
}*/
.lead {
	max-width: 720px;
	margin: 0 auto 50px;
	padding: 30px 20px 0;
}
.lead p {
	font-size: 1.2em;
	line-height: 1.8;
}


.contact_btn {
	display: block;
	margin-top: 50px;
	padding: .5em 2em;
	text-align: center;
	font-size: 1.2em;
	background: #e7402b;
	color: white;
	border-radius: 1.5em;
}
.detail_btn {
	display: block;
	width: 100%;
	max-width: 500px;
	margin: auto;
	padding: .5em 2em;
	text-align: center;
	font-size: 1.2em;
	background: #2d2d2d;
	color: white;
	border-radius: 1.5em;
}


.wrap_banner {
	display: flex;
	flex-wrap: wrap;
	padding: 30px calc((100% - 1000px) / 2) 20px;
	/*padding: 50px 50px 20px;*/
}
.wrap_banner .wrap_img {
	width: calc((100% - 60px) / 3);
	margin-bottom: 30px;
}
.wrap_banner .wrap_img:not(:nth-child(3n)) {
	margin-right: 30px;
}
.wrap_banner .wrap_img.current {
	background: #2d2d2d;
	pointer-events: none;
}
.wrap_banner .wrap_img.current img {
	opacity: .3;
}
.wrap_banner .wrap_img a {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
}
.wrap_banner .wrap_img a p {
	position: absolute;
	top: 50%;
	-webkit-transform: translateY( -50% );
	-moz-transform: translateY( -50% );
	transform: translateY( -50% );
	width: 100%;
	text-align: center;
	text-shadow: 0 0 5px black, 0 0 5px black;
	font-size: 1.2em;
	font-weight: bold;
	color: white;
}


pre {
	display: none;
}


@media (max-width: 1100px) {
	article:not(.top) section {
		padding: 30px 20px;
	}
	article:not(.top) section::after {
		width: calc(100% - 40px);
	}
	.wrap_banner {
		margin-top: 30px;
		padding: 0 20px;
	}
}


@media (max-width: 860px) {
	h1 {
		font-size: 35px;
	}
	
	
	.wrap_banner .wrap_img {
		width: calc((100% - 30px) / 2);
	}
	.wrap_banner .wrap_img:not(:nth-child(3n)) {
		margin-right: 0;
	}
	.wrap_banner .wrap_img:nth-child(2n - 1) {
		margin-right: 30px;
	}
}


@media (max-width: 460px) {
	h1 {
		font-size: 20px;
	}
	h2 {
		font-size: 1.8rem;
	}
	h3 {
		font-size: 1.5rem;
	}
	
	
	.wrap_banner .wrap_img {
		width: 100%;
	}
	.wrap_banner .wrap_img:nth-child(2n - 1) {
		margin-right: 0;
	}
}
