@charset "utf-8";

/* -------------------------------------------------- */
/* PC*/
/* -------------------------------------------------- */

/* サービス紹介 */
/* -------------------------------------------------- */

.pageService {
	background: url(../../img/service/service_title_bg.jpg) no-repeat center center / cover;
}

#serviceBody {
	margin: 50px auto 100px;
}

.linkPath {
	margin: 0;
}

.serviceBox {
	width: 48.19%;
	margin: 0 3.5% 50px 0;
	color: #444444;
}

.serviceBox:nth-of-type(2n) {
	margin: 0;
}

.serviceCont {
	margin-bottom: 50px;
}

.serviceLink {
	display: block;
	width: 100%;
	color: inherit;
}

.serviceFigure {
	border-radius: 15px;
	overflow: hidden;
}

.serviceImg {
	transition: all .3s ease-in-out;
}

.serviceContHead {
	margin: 15px 0px 5px;
	font-size: 2.2rem;
	line-height: 2.2;
	letter-spacing: 0.1em;
}

.serviceContHead:before {
	width: 20px;
	height: 2px;
	margin-right: 15px;
	display: inline-block;
	background: #3EB134;
	content: '';
	vertical-align: 9px;
}

.serviceHead {
	padding: 20px 20px 0;
	position: absolute;
	top: -55px;
	left: 0;
	font-size: 2.2rem;
	line-height: 1.0;
	background: #FFFFFF;
	border-radius: 0 5px 0 0;
}

.serviceTxt {
	margin-bottom: 25px;
	letter-spacing: 0.06em;
	line-height: 1.6;
}

.serviceBtn {
	text-align: right;
}

.serviceBtnIn {
	position: relative;
	padding: 0 3px 10px 3px;
	display: inline-block;
	font-size: 1.4rem;
	line-height: 1.0;
	border-bottom: 1px solid #D8D8D8;
}

.serviceBtnIn:before {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 0;
	height: 1px;
	background: #3EB134;
	transition: all .3s ease-in-out;
}

.serviceBtnIn:after {
	width: 7px;
	height: 7px;
	margin-left: 10px;
	display: inline-block;
	content: '';
	border-top: 1px solid #D5D5D5;
	border-right: 1px solid #D5D5D5;
	transform: rotate(45deg);
	vertical-align: 1px;
}

/* procedure */
/* -------------------------------------------------- */

.procedureFigure {
	position: relative;
	margin-bottom: 50px;
	border-radius: 15px;
	overflow: hidden;
}

.procedureImg {
	width: 100%;
	transition: all .3s ease-in-out;
}

.procedureContTxt {
	position: absolute;
	top: 50%;
	left: 5.5%;
	color: #FFF;
	font-size: 2.4rem;
	letter-spacing: 0.16em;
	line-height: 1;
	transform: translateY(-50%);
	text-shadow: 0px 0px 5px rgba(0,0,0,0.9);
}

.procedureContTxt:after {
	width: 8px;
	height: 8px;
	margin-left: 10px;
	display: inline-block;
	content: '';
	border-top: 2px solid #FFF;
	border-right: 2px solid #FFF;
	transform: rotate(45deg);
	vertical-align: 3.5px;
}

.procedureContTxt ._br:before {
	content: '';
	white-space: inherit;
}


/* WEBお墓 */
/* -------------------------------------------------- */
#searchCont {
	width: 100%;
	padding: 60px 70px;
	background: #F2F4EC;
	border-radius: 10px;
}

.searchContHead {
	margin-bottom: 35px;
	position: relative;
	line-height: 1.0;
	text-align: center;
}

.searchContHead:before {
	width: 100%;
	height: 1px;
	margin-top: -2px;
	position: absolute;
	top: 50%;
	left: 0;
	z-index: 0;
	content: '';
	background: #FFFFFF;
}

.searchContHeadIn {
	padding: 0 15px;
	position: relative;
	display: inline-block;
	font-size: 2.5rem;
	line-height: 1.0;
	background: #F2F4EC;
}

.searchContLeft {
	padding-right: 35px;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	-o-flex-wrap: wrap;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.searchContTxt {
	margin-bottom: 15px;
}

.searchContTxt ._br {
	display: block;
}

.searchContBtn {
	width: 110px;
	margin: 0;
}

.btnSearchLink {
	padding: 7px 0;
	font-size: 1.4rem;
	background: #FFFFFF;
	border-radius: 10px;
	letter-spacing: 0;
}

.btnSearchLink:after {
	width: 7px;
	height: 7px;
	margin-top: -5px;
	right: 9px;
}

.searchContBar {
	position: relative;
}

.searchContBar form,
.searchContBox {
	width: 100%;
	height: 100%;
}

.searchContBox {
	padding: 0 20px;
	font-size: 1.6rem;
	border: none;
	border-radius: 50px;
	outline: none;
}

.btnSearchCont {
	position: absolute;
	top: 50%;
	right: 20px;
	margin-top: -15px;
}


@media screen and (min-width: 1025px) {

	.serviceLink:hover .serviceImg,
	.procedureLink:hover .procedureImg {
		transform: scale(1.05);
	}

	.serviceLink:hover .serviceBtnIn:before,
	.procedureLink:hover {
		width: 100%;
	}
}

/* -------------------------------------------------- */
/* TAB&SP */
/* -------------------------------------------------- */

@media screen and (max-width: 1024px) {
	.serviceImg {
		width: 100%;
	}

	.serviceBox:nth-of-type(2n) {
		margin-bottom: 40px;
	}

	/* procedure */
	/* -------------------------------------------------- */
	.procedureFigure {
		border-radius: 10px;
	}

	.procedureImg {
		object-fit: cover;
	}

	/* WEBお墓 */
	/* -------------------------------------------------- */
	.searchContLeft {
		margin-bottom: 40px;
		padding-right: 0;
	}

	.searchContBox {
		height: 60px;
	}

	.searchContTxt ._br {
		display: none;
	}
}


/* -------------------------------------------------- */
/* TAB(調整) */
/* -------------------------------------------------- */

@media screen and (min-width: 768px) and (max-width: 1024px) {

	/* procedure */
	/* -------------------------------------------------- */
	.procedureContTxt {
		font-size: 1.4rem;
	}
}



/* -------------------------------------------------- */
/* SP(調整) */
/* -------------------------------------------------- */

@media screen and (max-width: 767px) {
	.serviceBox {
		width: 100%;
		margin-bottom: 40px;
		color: #444444;
	}

	/* procedure */
	/* -------------------------------------------------- */
	.procedureImg {
		height: 100px;
	}

	.procedureContTxt {
		font-size: 1.4rem;
		line-height: 1.66;
	}

	/* WEBお墓 */
	/* -------------------------------------------------- */
	#searchCont {
		margin-bottom: 80px;
		padding: 30px 5%;
	}

	.searchContHeadIn {
		font-size: 2.0rem;
	}
}


@media screen and (max-width: 600px) {
	.procedureContTxt ._br:before {
		content: '\A';
		white-space: pre;
	}
}


@media screen and (max-width: 374px) {

	/* procedure */
	/* -------------------------------------------------- */
	.procedureImg {
		object-fit: cover;
		height: 100px;
	}

	.procedureContTxt {
		font-size: 1.6rem;
		line-height: 1.2;
		top: 35%;
	}
}