@charset "utf-8";
/* CSS Document */
:root {
	--accent: #520059;
}
.fv-catch {
	background: var(--accent);
}
.sec-title span {
	color: var(--accent);
}
.cate {
	padding: 60px 0;
}
.cate-txt {
	font-size: 16px;
	line-height: 1.8;
}
#choose,
#flow,
#points {
	background-color: var(--bg-gray);
}
#faq {
	background-color: #fff;
}

/*=========================
宗派に合わせたお坊さんを手配できます
=========================*/
#monk-service {
	margin-top: 40px;
	background-color: #f5f5f5;
}
#monk-service .cate-txt {
	text-align: center;
}
.monk-service-list {
	margin-top: 40px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 30px;
}
.monk-service-card {
	width: calc((100% - 60px) / 3);
	padding: 24px 20px;
	border-radius: 4px;
	border: 1px solid #ddd;
	background-color: #fff;
	transition: .3s;
}
.monk-service-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.monk-service-icon {
	max-width: 150px;
	width: 90%;
	margin: 0 auto;
	text-align: center;
}
.monk-service-title {
	margin-top: 15px;
	text-align: center;
	font-size: 22px;
	color: var(--main-color);
}
.monk-service-txt {
	margin-top: 10px;
	color: #555;
	line-height: 1.8;
}

/*=========================
対応している主な宗派
=========================*/
#sects .cate-txt {
	text-align: center;
}
.sects-list {
	margin-top: 40px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 30px;
}
.sect-card {
	width: calc((100% - 60px) / 3);
}
.sect-card a {
	display: block;
	padding: 24px 20px;
	border-radius: 4px;
	border: 1px solid #ddd;
	background-color: #fff;
	transition: .3s;
}
.sect-card a:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.sect-icon {
	max-width: 120px;
	width: 100%;
	margin: 0 auto 15px;
	text-align: center;
}
.sect-title {
	text-align: center;
	font-size: 22px;
	font-weight: bold;
	color: var(--main-color);
	padding-bottom: 10px;
	margin-bottom: 12px;
	border-bottom: 2px solid var(--accent);
}
.sect-txt {
	font-size: 15px;
	color: #555;
	line-height: 1.7;
}

/*=========================
宗派に合わせたお坊さんへ依頼する理由
=========================*/
#choose .cate-txt {
	text-align: center;
}
.choose-box {
	margin-top: 40px;
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
}
.choose-card {
	width: calc((100% - 60px) / 3);
	padding: 24px 20px;
	border-radius: 4px;
	border: 1px solid #ddd;
	background: #fff;
	transition: .3s;
}
.choose-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.choose-icon {
	max-width: 150px;
	width: 100%;
	margin: 0 auto 15px;
}
.choose-title {
	text-align: center;
	font-size: 22px;
	color: var(--main-color);
	margin-bottom: 15px;
}
.choose-txt {
	font-size: 15px;
	color: #555;
	line-height: 1.7;
}
.unknown-sect {
	margin-top: 40px;
	padding: 40px 50px;
	border-radius: 4px;
	border: 1px solid #ddd;
	background: #fff;
}
.unknown-sect-title {
	font-size: 22px;
	font-weight: bold;
	color: var(--main-color);
	padding-bottom: 10px;
	border-bottom: 2px solid var(--accent);
	margin-bottom: 20px;
}
.unknown-sect-content {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 30px;
}
.unknown-sect-txt {
	width: calc(65% - 30px);
	line-height: 1.8;
}
.unknown-sect-img {
	width: 35%;
}

/*=========================
対応できる供養・法要
=========================*/
#ceremony .cate-txt {
	text-align: center;
}
.ceremony-list {
	margin-top: 40px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 30px;
}
.ceremony-card {
	width: calc((100% - 60px) / 3);
}
.ceremony-card a {
	display: block;
	padding: 24px 20px;
	border-radius: 4px;
	border: 1px solid #ddd;
	transition: .3s;
}
.ceremony-card a:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.ceremony-label {
	display: inline-block;
	padding: 5px 15px;
	border-radius: 999px;
	background: var(--accent);
	font-size: 12px;
	color: #fff;
	margin-bottom: 10px;
}
.ceremony-img {
	width: 100%;
	overflow: hidden;
	border-radius: 4px;
}
.ceremony-img img {
	transition: .3s;
}
.ceremony-card a:hover .ceremony-img img {
	transform: scale(1.05);
}
.ceremony-title {
	font-size: 22px;
	text-align: center;
	margin-top: 15px;
	padding-bottom: 10px;
	margin-bottom: 15px;
	border-bottom: 2px solid var(--accent);
	color: var(--main-color);
}
.ceremony-txt {
	font-size: 15px;
	line-height: 1.8;
	color: #555;
	margin-top: 15px;
}
.ceremony-btn {
	margin-top: 20px;
	text-align: center;
	padding: 15px;
	border-radius: 4px;
	border: 2px solid var(--accent);
	position: relative;
	transition: .3s ease;
	color: var(--accent);
	font-weight: bold;
}
.ceremony-btn::before {
	content: "";
	position: absolute;
	top: 50%;
	right: 15px;
	margin: auto;
	background-color: var(--accent);
	width: 15px;
	height: 15px;
	clip-path: polygon(40% 0, 90% 50%, 40% 100%, 30% 90%, 70% 50%, 30% 10%);
	transform: translateY(-50%);
	transition: transform .3s ease;
}
.ceremony-card a:hover .ceremony-btn::before {
	transform: translate(4px, -50%);
	background-color: #fff;
}
.ceremony-card a:hover .ceremony-btn {
	color: #fff;
	background: var(--accent);
}


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

/*=========================
よくある質問
=========================*/
.faq-icon::before,
.faq-icon::after {
	background-color: var(--accent);
}
.faq-item summary::before {
	color: var(--accent);
}

/*=========================
CTA
=========================*/
.cta {
	padding: 40px 0 0 0;
}
#faq + .cta {
	padding-top: 0;
	padding-bottom: 60px;
}


/* =====================================
SP
===================================== */
@media screen and (max-width:768px){
	#monk-service .cate-txt,
	#sects .cate-txt,
	#choose .cate-txt,
	#ceremony .cate-txt,
	#flow .cate-txt,
	#price .cate-txt,
	#points .cate-txt {
		text-align: left;
	}
	.monk-service-card,
	.sect-card,
	.choose-card,
	.unknown-sect-txt,
	.unknown-sect-img,
	.ceremony-card,
	#price .price-card,
	#price .option-card{
		width: 100%;
	}
	.flow-list {
		grid-template-columns: 1fr;
	}
	.unknown-sect {
		padding: 24px 20px;
	}
	#points .cate-box {
		display: block;
		padding: 24px 20px;
	}
	#points .cate-box .box-txt {
		margin-bottom: 20px;
	}
	#points .cate-box .box-title {
		font-size: 20px;
	}
	
}