@charset "UTF-8";

/* HOME */

/* メインビジュアル画像 */
.main_visual {
	background: url(../images/visual.jpg) center center no-repeat #fff;
	background-size: cover; /* 縦横比は保持して、背景領域を完全に覆う最小サイズになるように背景画像を拡大縮小する */
	height: 400px;
	overflow: hidden;
}
/* メインビジュアルのテキスト、背景グラデーション */
.main_visual p .visual_title {
	display: block;
	line-height: 400px;
	font-size: 362.5%; /* 58px */
	color: #2EA686;
	font-weight: 700;
	letter-spacing: 10px;
	text-align: center;
	background: linear-gradient(to right, rgba(255,255,255,0.1) 0%,rgba(255,255,255,0.75) 30%,rgba(255,255,255,0.86) 50%,rgba(255,255,255,0.75) 70%,rgba(255,255,255,0.1) 100%);
}
@media screen and (max-width: 768px) {
	.main_visual p .visual_title {
		font-size: 237%; /* 38px */
		letter-spacing: 2px;
	}
}

/* サブページバナー */
#home_contents {
	display: flex;
	flex-flow: row;
	justify-content: space-around;
	margin: 0 30px;
}
@media screen and (max-width: 768px) {
	#home_contents {
		flex-flow: column;
		justify-content: center;
		margin: 0 20px;
	}
}
#home_contents li {
	flex: 1 1 auto;
	margin-right: 30px;
	position: relative;
}
#home_contents li:last-child {
	margin-right: 0;
}
@media screen and (max-width: 768px) {
	#home_contents li,
	#home_contents li:last-child {
	margin-right: 0px;
	margin-bottom: 20px; 
	}
}
/* サブページバナー：画像 */
#home_contents li img {
	display: inline-block;
	width: 100%;
}
/* サブページバナー：タイトル */
#home_contents li p {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	color: #fff;
	text-shadow:2px 2px 2px #0b0e0d;
}
#home_contents li p .title1 {
	font-size: 212%; /* 34px */
}
#home_contents li p .title2 {
	font-size: 150%; /* 24px */
}
#home_contents li p .title3 {
	font-size: 125%; /* 20px */
}
@media screen and (max-width: 768px) {
	#home_contents li p .title1 {
		font-size: 250%; /* 40px */
	}
	#home_contents li p .title2 {
		font-size: 175%; /* 28px */
	}
	#home_contents li p .title3 {
		font-size: 137%; /* 22px */
	}
}
