/* 葬儀プラン */
.plan-hero-sp {
	background-color: #9AC143;
	padding: 55px 0 14px;
	margin-bottom: 76px;
}

.plan-hero-sp p:first-of-type {
	font-family: YuKyokasho;
	font-size: 13px;
	color: #000000;
	line-height: 28px;
	font-weight: 500;
	text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
	padding-left: 30px;
}

.plan-hero-sp p:first-of-type span {
	color: #FFFFFF;
	font-size: 18px;
}

.lowest-price {
	font-family: YuKyokasho;
	padding-left: 30px;
	font-size: 48px;
	line-height: 40px;
	color: #FFFFFF;
	padding-top: 12px;
	padding-bottom: 42px;
}

.lowest-price ruby {
	font-size: 24px;
}

.card-descripiton {
	padding: 7px 0 14px;
	font-size: 18px;
	line-height: 27px;
	text-align: center;
	color: #FFFFFF;
}

.credit-cards {
	display: block;
	margin: 0 auto;
	max-width: 269px;
}

.exclude {
	padding-top: 4px;
	font-size: 12px;
	line-height: 18px;
	color: #FFFFFF;
	text-align: center;
}

/* プラン一覧 */
.sp-plan-table-container {
	padding: 19px 12px 45px;
	background-color: #F8F4EB;
}

.sp-plan-table-container h2 {
	display: block;
	margin: 0 auto;
	max-width: 200px;
	margin-bottom: 44px;
}

.sp-plan-table-container div {
	overflow-x: scroll;
}

.sp-plan-table-container img {
	display: block;
	width: 1113px;
	margin-bottom: 40px;
	max-width: none;
}

.sp-plan-compare h2 {
	display: block;
	margin: 0 auto 29px;
	max-width: 200px;
}

.sp-plan-compare {
	padding: 72px 12px 39px;
}

.sp-plan-compare img {
	width: 100%;
	height: auto;
}

@media screen and (min-width: 768px) {
	.plan-hero-pc {
		padding-top: 102px;
		background-image: url(../img/plan/hero-bg-pc.png);
		background-size: cover;
		height: 35vw;
		position: relative;
	}

	.plan-hero-pc h1 {
		font-weight: bold;
		font-size: 64px;
		line-height: 75px;
		color: #000000;
		border-bottom: 4px solid #9AC143;
		margin-bottom: 48px;
		text-align: center;
	}

	.plan-hero-pc>p {
		font-size: 32px;
		line-height: 48px;
		text-align: center;
	}

	.card-info {
		position: absolute;
		display: flex;
		flex-direction: row;
		justify-content: center;
		bottom: 16px;
		right: 0;
		left: 0;
	}

	.card-info img {
		margin: 0;
		object-fit: contain;
	}

	.card-info p {
		font-size: 24px;
		line-height: 36px;
		padding: 4px 58px 4px 0;
		color: #FFFFFF;
	}

	.card-info .exclude {
		text-align: right;
		font-size: 18px;
		line-height: 27px;
	}

	/* 葬儀プラン */
	.plan h2 {
		margin-top: 108px;
	}

	/* プランごとの比較 */
	.pc-plan-compare {
		padding: 66px 106px 68px;
		background: #F8F4EB;
	}

	.pc-plan-compare h2 {
		margin-bottom: 30px;
	}

	.pc-plan-compare p {
		font-size: 32px;
		line-height: 48px;
		text-align: center;
		padding-bottom: 37px;
	}

	.pc-plan-compare img {
		width: 100%;
		height: auto;
	}

	/* プラン詳細 */
	.plan-detail-container {
		padding: 41px 0 61px;
	}

	.plan-details {
		margin-top: 30px;
	}

	.plan-detail {
		position: relative;
		width: 100%;
		margin-bottom: 30px;
	}

	.plan-detail img {
		width: 100%;
		height: auto;
	}

	.plan-detail button {
		position: absolute;
		font-size: 32px;
		line-height: 48px;
		padding: 13px 15px;
		bottom: 110px;
		right: 0;
		color: #333333;
		left: 50%;
		transform: translateX(-50%);
	}

	button.blue {
		background: #E0E4EE;
		border-color: #E0E4EE;
	}

	button.pink {
		background: #F8E7E1;
		border-color: #F8E7E1;
	}

	button.purple {
		background: #D8D1DE;
		border-color: #D8D1DE;
	}

	.to-top {
		margin-bottom: 107px;
	}

	.to-top button {
		font-size: 32px;
		line-height: 48px;
		margin: 0 auto;
		display: block;
		padding: 13px 15px;
	}
}

.plan_jpg {
	text-align: center;
}

.plan-hero-sp {
	margin-bottom: 0;
}