@charset "utf-8";
/* ------------------------------------------------------------------
/////////////////////////////////////////////////////////////////////
main services
/////////////////////////////////////////////////////////////////////
------------------------------------------------------------------ */

#mainServices {
	margin: 0;
	padding: 100px 0;
}
#mainServices div.inner {
	width: 1140px;
	margin: 0 auto;
	padding: 0;
	position: relative;
}
#mainServices h2 span.title {
	margin: 0 0 20px;
	letter-spacing: 0.2em;
	display: inline-block;
	position: relative;
}
#mainServices h2 span.title:after {
	content: '';
	width: 150px;
	height: 1px;
	background-color: #f71a46;
	position: absolute;
	top: 50%;
	right: -170px;
}
#mainServices ul {
	margin: 60px 0 0;
	padding: 0;
	list-style: none;
}
#mainServices ul li {
	width: 300px;
	margin: 0 30px;
	padding: 0;
	display: inline-block;
	position: relative;
	transition: 0.1s linear;
}
#mainServices ul li p.title {
	width: 100%;
	padding: 20px;
	letter-spacing: 0.2em;
	background-color: rgba(255,255,255,0.8);
	border-top: 1px solid #f71a46;
	border-bottom: 1px solid #f71a46;
	position: absolute;
	top: 0;
	left: 30px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	transition: 0.1s linear;
}
#mainServices ul li p.title a {
	color: #f71a46;
}
#mainServices ul li p.title a:hover {
	text-decoration: none;
}
#mainServices ul li p.title em {
	letter-spacing: 0;
}
#mainServices ul li:hover p.title {
	letter-spacing: 0;
	background-color: #fee8ec;
	left: 0;
	transition: 0.1s linear;
}
#mainServices ul li:hover p.title a span {
	padding: 0 20px 0 0;
	background-image: url(../img/common/ar/01.png);
	background-position: right;
	background-repeat: no-repeat;
	background-size: 14px;
}
#mainServices ul li img {
	margin: 30px 0 10px;
	display: block;
}
#mainServices p.btn {
	width: 150px;
	height: 40px;
	position: absolute;
	top: 0;
	right: 0;
}
#mainServices p.btn a {
	width: 150px;
	height: 40px;
	padding: 9px 0;
	color: #f71a46;
	letter-spacing: 0.2em;
	display: block;
	background-color: #fff;
	border: 2px solid #f71a46;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#mainServices p.btn a:hover {
	letter-spacing: 0;
	text-decoration: none;
	color: #FFF;
	background-color: #f71a46;
	transition: 0.1s linear;	
}
#mainServices p.btn a:hover span {
	padding: 0 20px 0 0;
	background-image: url(../img/common/ar/01.png);
	background-position: right;
	background-repeat: no-repeat;
	background-size: 14px;
}

@media (max-width: 1200px) {
	#mainServices div.inner {
		width: auto;
		margin: 0 20px;
	}
}
@media (max-width: 1140px) {
	#mainServices ul li {
		width: auto;
		overflow: hidden;
		margin: 0 0 30px;
		display: block;
	}
	#mainServices ul li:last-child {
		margin: 0;
	}
	#mainServices ul li p.title {
		letter-spacing: 0;
		position: relative;
		left: auto;
	}
	#mainServices ul li img {
		float: left;
	}
	#mainServices ul li p.text {
		width: calc(100% - 330px);
		margin: 30px 0 0 30px;
		float: left;
	}
}
@media (max-width: 950px) {
	#mainServices h2 span.title {
		font-size: 32px;
	}
}
@media (max-width: 560px) {
	#mainServices h2 {
		text-align: center;
		line-height: 1.5;
	}
	#mainServices h2 span.title {
		width: 100%;
		margin: 0;
		padding: 0 0 25px;
		display: block;
		line-height: 1;
		position: relative;
		z-index: 2;
	}
	#mainServices h2 span.title:after {
		width: 100%;
		height: 40px;
		top: auto;
		bottom: 0;
		right: 0;
		background-color: #fee8ec;
		-webkit-border-radius: 20px;
		-moz-border-radius: 20px;
		border-radius: 20px;	
		z-index: -1;
	}
	#mainServices ul li img {
		margin: 30px auto 0;
		display: block;
		float: none;
	}
	#mainServices ul li p.text {
		width: 100%;
		margin: 20px 0 0;
		float: none;
	}
}
@media (max-width: 560px) {
	#mainServices p.btn {
		margin: 40px auto 0;
		position: relative;
		top: auto;
		right: auto;
	}
}
	
	
