/* 喪服レンタルページ */

.page-template-page-mourning-rental #content.site-content {
	flex-direction: column;
}

/* ヒーロー背景画像（グローバルの .page-hero に上書き） */
.rental-hero {
	background: url('../img/mourning-rental/hero.jpg') center / cover no-repeat;
}

/* メリット */
.rental-merits-section {
	background: #fdf8f0;
}

.rental-section-title {
	font-size: 24px;
	font-weight: bold;
	text-align: center;
	color: #333;
	margin-bottom: 40px;
}

.rental-section-title em {
	font-style: normal;
	color: #f18849;
	font-size: 48px;
}

.rental-merits-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
}

.rental-merit-card {
	background: #fff;
	padding: 32px;
	border-radius: 8px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.merit-badge {
	display: inline-block;
	background: #f18849;
	color: #fff;
	font-size: 22px;
	font-weight: bold;
	padding: 4px 20px;
	border-radius: 20px;
	margin-bottom: 16px;
}

.merit-title {
	font-size: 20px;
	font-weight: bold;
	color: #f18849;
	margin-bottom: 12px;
	line-height: 1.4;
}

.merit-text {
	font-size: 14px;
	line-height: 1.9;
	color: #555;
	margin: 0;
}

/* ラインナップ */
.rental-lineup-section {
	background: #fff;
}

.rental-items-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	align-items: start;
	margin-bottom: 32px;
}

.rental-item-img {
	margin-bottom: 16px;
}

.rental-item-img img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	display: block;
}

.rental-item-name {
	font-size: 16px;
	font-weight: bold;
	text-align: center;
	color: #333;
	margin-bottom: 16px;
	line-height: 1.5;
}

.rental-plan {
	margin-bottom: 24px;
}

.rental-plan-title {
	font-size: 14px;
	font-weight: bold;
	text-align: center;
	color: #555;
	margin-bottom: 10px;
}

/* 価格テーブル */
.rental-price-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 8px;
	font-size: 14px;
}

.rental-price-table td {
	padding: 8px 10px;
	border: 1px solid #e0e0e0;
	vertical-align: middle;
}

.rental-price-table .label {
	background: #f5f5f5;
	color: #666;
	white-space: nowrap;
	width: 38%;
}

.rental-price-table .member-row td {
	background: #fff8f0;
}

.rental-price-table .member-row .label {
	background: #fff0e0;
	color: #f18849;
	font-weight: bold;
}

.rental-price-table .member-row strong {
	color: #f18849;
	font-size: 16px;
}

.price-tax {
	font-size: 12px;
	color: #888;
	margin-left: 2px;
}

.rental-item-note {
	font-size: 12px;
	color: #888;
	line-height: 1.7;
	margin: 4px 0 0;
}

.rental-other-items {
	color: #555;
	line-height: 1.8;
	background: #f9f9f9;
	padding: 16px 24px;
	border-radius: 4px;
}

/* CTA */
.rental-cta-message-wrap {
	background: #fff;
	padding: 56px 20px 0;
	text-align: center;
}

.rental-cta-message {
	display: inline-block;
	position: relative;
	background: #c09a50;
	border-radius: 16px;
	padding: 28px 40px;
	max-width: 600px;
	width: 100%;
}

.rental-cta-message::after {
	content: '';
	position: absolute;
	bottom: -22px;
	left: 50%;
	transform: translateX(-50%);
	border-width: 22px 18px 0;
	border-style: solid;
	border-color: #c09a50 transparent transparent;
}

.rental-cta-message p {
	font-size: 18px;
	font-weight: bold;
	color: #fff;
	line-height: 1.9;
	margin: 0;
	text-align: center;
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
	.rental-merits-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.rental-items-grid {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.rental-item-img img {
		aspect-ratio: 4 / 3;
		max-height: 280px;
	}

	.rental-cta-message {
		padding: 24px;
	}

	.rental-cta-message p {
		font-size: 16px;
	}
}
