@charset "utf-8";
/* CSS Document */
/*=========================
僧侶を指定して依頼できます
=========================*/
#priests {
	margin-top: 40px;
	background-color: #f5f5f5;
}
#priests .cate-txt {
	text-align: center;
}
.priests-list {
	margin-top: 40px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 30px;
}
.priests-card {
	width: calc((100% - 60px) / 3);
	padding: 24px 20px;
	border-radius: 4px;
	border: 1px solid #ddd;
	text-align: center;
	background-color: #fff;
	transition: .3s;
}
.priests-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.priests-img {
	max-width: 150px;
	width: 100%;
	margin: 0 auto 15px;
}
.priests-title {
	font-size: 22px;
	color: var(--main-color);
	padding-bottom: 10px;
	border-bottom: 2px solid var(--accent);
	margin-bottom: 15px;
}
.priests-txt {
	text-align: left;
	font-size: 15px;
	color: #555;
	line-height: 1.7;
}

/*=========================
こんなお悩みありませんか？
=========================*/
#concerns .cate-txt {
	text-align: center;
}
.concerns-list {
	margin-top: 40px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 30px;
}
.concerns-card {
	width: calc((100% - 60px) / 3);
	padding: 24px 20px;
	border-radius: 4px;
	border: 1px solid #ddd;
	text-align: center;
	background-color: #fff;
	transition: .3s;
}
.concerns-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.concerns-img {
	width: 100%;
	margin-bottom: 15px;
	border-radius: 4px;
	overflow: hidden;
}
.concerns-title {
	font-size: 22px;
	color: var(--main-color);
	padding-bottom: 10px;
	border-bottom: 2px solid var(--accent);
	margin-bottom: 15px;
}
.concerns-txt {
	text-align: left;
	font-size: 15px;
	color: #555;
	line-height: 1.7;
}

/*=========================
選ばれる理由
=========================*/
#reason .cate-txt {
	text-align: center;
}
.reason-inner {
	margin-top: 40px;
	padding: 60px 40px;
	border-radius: 4px;
	border: 1px solid #ddd;
	background-color: #fff;
}
.reason-box {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 40px;
	padding: 60px 0;
	border-bottom: 1px solid #ddd;
}
.reason-box:first-of-type {
	padding-top: 0;
}
.reason-box:last-of-type {
	padding-bottom: 0;
	border-bottom: none;
}
.reason-txt-box {
	width: calc(60% - 40px);
}
.reason-box:nth-of-type(2) .reason-txt-box {
	order: 2;
}
.reason-number {
	font-weight: bold;
	color: var(--accent);
	font-size: 3em;
	line-height: 1.2;
}
.reason-title {
	font-size: 24px;
	font-weight: bold;
	color: var(--main-color);
	margin-bottom: 15px;
	line-height: 1.5;
}
.reason-txt {
	font-size: 16px;
	line-height: 1.8;
}
.reason-img-box {
	width: 40%;
}
.reason-box:nth-of-type(2) .reason-img-box {
	order: 1;
}

/*=========================
ご利用の流れ
=========================*/
#services .cate-txt {
	text-align: center;
}
.service-list {
	margin-top: 40px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 30px;
}
.service-card {
	width: calc(50% - 15px);
	padding: 24px 20px;
	border-radius: 4px;
	border: 1px solid #ddd;
	background: #fff;
	display: flex;
	align-items: center;
	gap: 20px;
}
.service-txt-box {
	width: calc(70% - 20px);
}
.service-title {
	font-size: 20px;
	color: var(--main-color);
	padding-bottom: 10px;
	border-bottom: 2px solid var(--accent);
	margin-bottom: 15px;
}
.service-txt {
	font-size: 14px;
	line-height: 1.7;
	color: #555;
}
#services .more-btn {
	margin-top: 10px;
	text-align: right;
}
#services .more-btn a {
	padding-right: 25px;
	position: relative;
	font-size: 16px;
	font-weight: bold;
	color: var(--accent);
}
#services .more-btn a::before {
	content: "";
	position: absolute;
	top: 48%;
	right: 5px;
	margin: auto;
	background-color: var(--accent);
	width: 13px;
	height: 13px;
	clip-path: polygon(40% 0, 90% 50%, 40% 100%, 30% 90%, 70% 50%, 30% 10%);
	transform: translateY(-50%);
	transition: transform .25s ease;
}
#services .more-btn a:hover::before {
	transform: translateY(-50%) translateX(4px);
}
.service-img-box {
	width: 30%;
	border-radius: 4px;
	overflow: hidden;
}

/*=========================
ご利用の流れ
=========================*/
#flow .cate-txt {
	text-align: center;
}
.flow-list {
	margin-top: 40px;
	display: grid;
	grid-template-columns: repeat(5,1fr);
	gap: 20px;
}
.flow-card {
	border-radius: 4px;
	border: 1px solid #ddd;
	background-color: #fff;
	text-align: center;
	padding: 20px;
	position: relative;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.flow-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
#flow .step-txt {
	display: inline-block;
	padding: 3px 10px;
	background-color: var(--accent);
	border-radius: 999px;
	color: #fff;
	font-weight: bold;
	letter-spacing: 1px;
	margin-bottom: 8px;
	font-size: 13px;
}
#flow .flow-title {
	font-size: 18px;
	font-weight: bold;
	color: var(--main-color);
	letter-spacing: 1px;
	margin-bottom: 10px;
}
#flow .flow-icon {
	width: 100px;
	shape-margin: 100px;
	border-radius: 50%;
	background-color: var(--bg-light);
	margin: 0 auto 10px;
	line-height: 90px;
}
#flow .flow-icon img {
	width: 80px;
}
#flow .flow-txt {
	font-size: 13px;
	line-height: 1.8;
	letter-spacing: 0.5px;
	color: #555;
}

/*=========================
料金について
=========================*/
#price .cate-txt {
	text-align: center;
}
#price .price-box {
	margin-top: 40px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 30px;
}
#price .price-card {
	width: calc((100% - 60px) / 3);
	padding: 24px 20px;
	border-radius: 4px;
	border: 1px solid #ddd;
	background: #fff;
}
#price .price-title {
	font-size: 20px;
	text-align: center;
	color: var(--main-color);
}
#price .price-txt {
	margin-top: 15px;
	text-align: center;
	font-weight: bold;
	font-size: 24px;
	color: #d9534f;
}
#price .price-card:first-of-type .price-txt,
#price .price-card:nth-of-type(2) .price-txt {
	font-size: 18px;
	color: #333;
}
#price .price-txt span {
	font-size: 1.8em;
	color: #d9534f;
	font-weight: bold;
	padding-right: 3px;
}
#price .price-sub-txt {
	margin-top: 15px;
	font-size: 14px;
	line-height: 1.7;
	color: #555;
}
#price .price-option-box {
	margin-top: 40px;
}
#price .price-option-title {
	font-size: 22px;
	font-weight: bold;
	color: var(--main-color);
	padding-bottom: 10px;
	border-bottom: 2px solid var(--accent);
	margin-bottom: 15px;
}
#price .option-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 20px;
}
#price .option-card {
	width: calc((100% - 60px) / 4);
	padding: 24px 20px;
	border-radius: 4px;
	border: 1px solid #ddd;
	background-color: #fff;
}
#price .option-title {
	text-align: center;
	font-size: 18px;
	color: var(--main-color)
}
#price .option-txt {
	text-align: center;
	margin-top: 15px;
	font-weight: bold;
}
#price .option-txt span {
	font-size: 1.8em;
	color: #d9534f;
	font-weight: bold;
	padding-right: 3px;
}
#price .option-sub-txt {
	margin-top: 15px;
	font-size: 14px;
	line-height: 1.7;
	color: #555;
}
#price .caution-txt {
	margin-top: 15px;
	font-size: 14px;
	color: #555;
}

/*=========================
確認しておきたいこと
=========================*/
#points .cate-txt {
	text-align: center;
}
.point-box {
	display: flex;
	align-items: center;
	gap: 60px;
	margin-top: 40px;
	padding: 40px 50px;
	border: 1px solid #ddd;
	border-radius: 4px;
	background-color: #fff;
}
.point-box:nth-of-type(even) {
	flex-direction: row-reverse;
}
.point-txt-box {
	flex: 1;
}
.point-number {
	font-weight: bold;
	color: var(--accent);
	font-size: 3em;
	line-height: 1.2;
}
.point-title {
	font-size: 24px;
	font-weight: bold;
	color: var(--main-color);
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 2px solid var(--accent);
}
.point-txt {
	line-height: 1.8;
	font-size: 16px;
}
.point-img {
	width: 300px;
	flex-shrink: 0;
}
.point-img img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 4px;
}


/* =====================================
SP
===================================== */
@media screen and (max-width:768px){
	#priests .cate-txt,
	#concerns .cate-txt,
	#reason .cate-txt,
	#flow .cate-txt,
	#price .cate-txt,
	#services .cate-txt,
	#points .cate-txt{
		text-align: left;
	}
	.priests-card,
	.concerns-card,
	.reason-txt-box,
	.reason-img-box,
	#price .price-card,
	#price .option-card,
	.service-card,
	.service-txt-box {
		width: 100%;
	}
	.reason-inner {
		padding: 24px 20px;
	}
	.reason-box {
		padding: 40px 0;
	}
	.reason-box:nth-of-type(2) .reason-txt-box {
		order: 1;
	}
	.reason-box:nth-of-type(2) .reason-img-box {
		order: 2;
	}
	.flow-list {
		grid-template-columns: 1fr;
	}
	.service-card {
		flex-wrap: wrap;
	}
	.service-txt-box {
		order: 2;
	}
	.service-img-box {
		width: 80%;
		margin: 0 auto;
		order: 1;
	}
	.point-box {
		display: block;
		padding: 20px;
	}
	.point-txt-box {
		margin-bottom: 30px;
	}
	.point-img {
		max-width: 300px;
		width: 90%;
		margin: 0 auto;
		text-align: center;
	}
}