@charset "utf-8";

/*=========================
  改葬のパターン
=========================*/
.pattern_bg {
	background-color: #e8ecdf;
	padding: 20px;
}

.pattern {
	background-color: #fff;
	border: 1px solid #ccc;
}

.pattern dl {
	width: 50%;
	padding: 10px;
	border-top: 1px solid #ccc;
}

.pattern dl:nth-of-type(-n + 2) {
	border-top: none;
}

.pattern dl:nth-of-type(2n + 1) {
	border-right: 1px solid #ccc;
}

.pattern dl dt {
	width: 90px;
}

.pattern dl dd {
	width: calc(100% - 90px);
	padding-left: 10px;
}

.pattern dl dd b {
	color: #70952e;
	display: block;
	font-weight: 900;
}

/*=========================
  改葬とお墓じまいの違い
=========================*/
.difference dl dt {
	width: 190px;
}

.difference dl dd {
	width: calc(100% - 190px);
	padding-left: 10px;
}

/*=========================
  関連サービス
=========================*/
.related_service ul {
	display: flex;
}

.related_service ul li {
	width: calc(94% / 3);
	margin-right: 3%;
}

.related_service ul li b {
	color: #007943;
	font-weight: 900;
	display: block;
	text-align: center;
}

.related_service ul li:last-of-type {
	margin-right: 0;
}

.related_service ul li img {
	margin-bottom: 8px;
}

@media only screen and (max-width: 768px){

/*=========================
  改葬のパターン
=========================*/
.pattern dl {
	width: 100%;
}

.pattern dl:nth-of-type(2) {
	border-top: 1px solid #ccc;
}

.pattern dl:nth-of-type(2n + 1) {
	border-right: none;
}

/*=========================
  改葬とお墓じまいの違い
=========================*/
.difference dl dt {
	margin: 0 auto 10px;
}

.difference dl dd {
	width: 100%;
	padding-left: 0;
}

/*=========================
  関連サービス
=========================*/
.related_service ul {
	overflow-x: scroll;
}

.related_service ul li {
	width: 70%;
	margin-right: 20px;
	flex-shrink: 0;
}

.related_service ul li:last-of-type {
	margin-right: 0;
}

}