@charset "UTF-8";

/*=====================================================
*
*	features.css
*   Since 2019.1.28
*
========================================================*/

#main_middle {
	width: 100% !important;
}

#featurespage h2 {
	font-family: 'Noto Serif JP', serif;
  font-weight: 700;
	font-size: 15px; font-size: 1.5rem;
	color: #013c74;
	line-height: 70px;
	vertical-align: middle;
	text-align: center;
	margin: 0 0 30px;
}
#featurespage h2 span {
	font-size: 35px; font-size: 3.5rem;
	color: #000;
	vertical-align: middle;
}
#featurespage h2:before,
#featurespage h2:after {
	display: inline-block;
	content: " ";
	background: url("../img/features/ttl_bg.svg") no-repeat;
	background-size: contain;
	width: 95px; height: 40px;
	margin: 0 0 -23px;
}
#featurespage h2:before {
	margin-right: -30px;
	transform: scale(-1, 1);
}
#featurespage h2:after {
	margin-left: -10px;
}
#featurespage h3 {
	margin: 0;
}
h3 span.nums {
	font-family: serif;
  font-weight: bold;
	position: absolute; z-index: 2;
	display: block;
	background: url("../img/features/num_bg.svg") no-repeat;
	background-size: contain;
	width: 85px; height: 85px;
	text-align: center;
	text-indent: -0.2em;
	line-height: 85px;
	font-size: 55px; font-size: 5.5rem;
	color: #fff;
	font-style: italic;
	top: -20px;
	left: 0;
}
#featurespage h3 {
	font-size: 24px; font-size: 2.4rem;
	padding-left: 90px;
	font-weight: normal;
}
#featurespage h3 span.str {
	font-size: 28px; font-size: 2.8rem;
	font-weight: bold;
	line-height: 1.4rem;
	background: linear-gradient(transparent 65%, #ffde00 0%);
	padding: 0 0.15em;
}
#featurespage h3 span.narrow {
	margin: 0 -0.15em;
}
#features {
	display: flex;
	flex-flow: wrap;
	padding: 0 20px;
}
#features .feature {
	position: relative;
	width: calc(50% - 20px);
	margin-bottom: 40px;
}
#features .feature:nth-child(odd) {
	margin-right: 20px;
} 
#features .feature:nth-child(even) {
	margin-left: 20px;
}
.f-imgs {
	position: relative;
	margin-top: 6px;
}
.f-imgs img {
	position: relative; z-index: 0;
	display: block;
	border-top: 4px solid #000;
	width: 100%;
}
.f-imgs:before,
.f-imgs:after {
	position: absolute; z-index: 1;
	display: block;
	content: " ";
	width: 30%; height: 100%;
	background: -moz-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	background: -webkit-linear-gradient(left, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
	background: linear-gradient(to right, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=1 );
}
.f-imgs:before {
	left: 0; top: 0;
}
.f-imgs:after {
	right: -1px; top: 0;
	transform: scale(-1, 1);
}
.f-imgs p {
	position: absolute;
	left: 0; bottom: 0;
	margin: 0;
	width: 100%;
	font-weight: bold;
	font-size: 20px; font-size: 2rem;
	color: #fff;
	text-align: center;
	background: rgba(0,0,0,0.6);
	padding: 0.4em 1em;
}
.feature ul {
	margin: 0.7em 0.3em;
}
.feature ul li {
	display: inline-block;
	background: url("../img/features/check.svg") no-repeat;
	background-position: left top;
	font-family: 'Noto Serif JP', serif;
  font-weight: 700;
	font-size: 16px; font-size: 1.6rem;
	padding: 0.1em 12px 0.2em 24px;
}


@media (max-width:768px){
	#featurespage h2 {
    margin: 0 0 10px;
	}
	#featurespage h2 span {
		font-size: 25px; font-size: 2.5rem;
	}
	#featurespage h2:before,
	#featurespage h2:after {
		width: 60px; height: 25px;
		margin: 0 0 -17px;
	}
	#featurespage h2:before {
		margin-right: -20px;
	}
	#featurespage h2:after {
		margin-left: -5px;
	}
	h3 span.nums {
		width: 50px; height: 50px;
		line-height: 50px;
		font-size: 32px; font-size: 3.2rem;
		top: 0; left: -6px;
	}
	#featurespage h3 {
		font-size: 20px; font-size: 2rem;
		padding-left: 50px;
	}
	#featurespage h3 span.str {
		font-size: 24px; font-size: 2.4rem;
	}
}


@media (max-width: 640px) {
	#features {
		display: block;
		padding: 0 10px;
	}
	#features .feature {
		width: 100%;
		margin-right: 0 !important;
		margin-left: 0 !important;
	}
}


@media (max-width: 550px) {
	.f-imgs p {
		position: relative;
		background: rgba(0,0,0,1);
		font-size: 16px; font-size: 1.6rem;
	}
}


@media (max-width: 320px) {
	.f-imgs:before,
	.f-imgs:after {
		width: 15%;
	}
	.feature ul li {
		font-size: 14px; font-size: 1.4rem;
		padding: 0.1em 12px 0.2em 24px;
	}
}