@charset "UTF-8";

/* サブページメインビジュアル
------------------------------------------------------------*/
.submainv {
	width: 100%;
	height: 0;
	padding-top: 35%;/* (画像の高さ 300 ÷ 画像の横幅 2000px) × 100 */
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	position: relative;
}

/* 見出し
------------------------------------------------------------*/
.submainv h2 {
	background-color: #FFF;
	padding: 10px 20px;
	position: absolute;
	right: 10%;
	bottom: -30px;
	font-size: 240%;
	font-weight: 400;
}
.submainv h2 span {
	font-size: 50%;
	font-weight: normal;
	display: block;
}
.submainv h2 span:after {
	display: block;
	width: 60px;
	height: 2px;
	background: #ccc;
	margin: 10px 0 0 0;
	content: "";
}

#inner h3 {
	color: #241473;
	font-size: 20px;
	padding: 4px 0;
	border-bottom: 3px solid #241473;
	
	margin-bottom: 20px;
}

#inner h4 {
	font-size: 16px;
	border-left: 5px solid #241473;
	padding: 7px 15px;
	background: #ebe8f6;
	
	margin-bottom: 20px;
}

#inner h5 {
	font-size: 16px;
	border-left: 5px solid #241473;
	padding: 1px 10px 2px;

	margin-bottom: 20px;
}




@media (max-width: 999px) {
.submainv h2 {
	bottom: 0;
	right: 0;
	width: 100%;
	font-size: 21px;
	text-align: left;
	line-height: 1.3;
	margin-bottom: -20px;
}
}
@media (max-width: 480px) {
.submainv {
	padding-top: 55%;
}
.submainv h2 {
	font-size: 19px;
}
}