/* ヒーロー背景 */
.plan-hero {
	background-image: url('../img/plan/hero.jpg');
	background-size: cover;
	background-position: center top;
}

/* プランのご案内ページ */

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

/* イントロ */
.plan-intro-section {
	background: #fff;
}

.plan-intro-text {
	font-size: 16px;
	line-height: 2;
	text-align: center;
	margin-bottom: 40px;
}

.plan-nav {
	display: flex;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}

.plan-nav-btn {
	display: inline-flex;
	align-items: center;
	gap: 22px;
	font-size: 24px;
	font-weight: bold;
	padding: 14px 32px;
	border-radius: 40px;
	text-decoration: none;
	color: #fff;
	transition: opacity 0.2s;
}

.plan-nav-btn:hover { opacity: 0.85; color: #fff; }
.plan-nav-btn--orange { background: #f18849; }
.plan-nav-btn--green  { background: #4da487; }
.plan-nav-btn--red    { background: #c06061; }

/* プランセクション */

.plan-section--orange { border-color: #f18849; background: #fffcf8; }
.plan-section--green  { border-color: #4da487; background: #f5fbf8; }
.plan-section--red    { border-color: #c06061; background: #fdf5f5; }

/* プラン名 + 画像 + おすすめ */
.plan-head {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: start;
	margin-bottom: 40px;
}
.plan-head-right {
	margin-top: 100px;
}

.plan-name {
	font-size: 42px;
	font-weight: bold;
	padding-bottom: 16px;
	border-bottom: 2px solid;
	margin-bottom: 30px;
}

.plan-section--orange .plan-name { color: #f18849; border-color: #f18849; }
.plan-section--green  .plan-name { color: #4da487; border-color: #4da487; }
.plan-section--red    .plan-name { color: #c06061; border-color: #c06061; }

.plan-desc {
	font-size: 18px;
	line-height: 1.8;
	color: #333;
	margin-bottom: 20px;
}

.plan-tags--top {
	margin-bottom: 12px;
}

.plan-tag--top {
	font-size: 15px;
	font-weight: bold;
	padding: 6px 20px;
	border-radius: 40px;
	color: #fff;
	border: none;
	background: #f18849;
}

.plan-section--green .plan-tag--top  { background: #4da487; }
.plan-section--red   .plan-tag--top  { background: #c06061; }

.plan-tags--bottom {
	margin-top: 12px;
	margin-bottom: 32px;
}

.plan-price {
	font-size: 20px;
	font-weight: bold;
	line-height: 1.2;
	margin-bottom: 10px;
}

.plan-section--orange .plan-price { color: #f18849; }
.plan-section--green  .plan-price { color: #4da487; }
.plan-section--red    .plan-price { color: #c06061; }

.plan-price-num {
	font-size: 54px;
	font-weight: bold;
}

.plan-price-tax {
	font-size: 14px;
	font-weight: normal;
}

.plan-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
}

.plan-tag {
	font-size: 13px;
	padding: 4px 14px;
	border-radius: 20px;
	border: 1px solid #ccc;
	color: #555;
}

.plan-section--orange .plan-tag { border-color: #f18849; background: #fff5ee; }
.plan-section--green  .plan-tag { border-color: #4da487; background: #edf7f3; }
.plan-section--red    .plan-tag { border-color: #c06061; background: #fdf0f0; }

.plan-img {
	width: 100%;
	height: 300px;
	object-fit: cover;
	border-radius: 12px;
	display: block;
}

.plan-recommend-title {
	display: inline-block;
	font-size: 22px;
	font-weight: bold;
	color: #fff;
	background: #f18849;
	padding: 8px 24px;
	border-radius: 40px;
	margin-bottom: 20px;
	margin-top: 50px;
}

.plan-section--orange .plan-recommend-title { background: #f18849; }
.plan-section--green .plan-recommend-title { background: #4da487; }
.plan-section--red   .plan-recommend-title { background: #c06061; }

.plan-services-title {
	display: inline-block;
	font-size: 22px;
	font-weight: bold;
	color: #fff;
	background: #f18849;
	padding: 6px 20px;
	border-radius: 20px;
	margin-bottom: 24px;
	margin-top: 32px;
}
.plan-section--orange .plan-services-title { background: #f18849; }
.plan-section--green .plan-services-title { background: #4da487; }
.plan-section--red   .plan-services-title { background: #c06061; }

.plan-services-title--extra {
	background: #888;
}

.plan-services-extras {
	margin-top: 8px;
}

.plan-recommend-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.plan-recommend-item {
	padding: 16px 0;
	border-bottom: 1px solid #e0d8cf;
}

.plan-recommend-item:first-child {
	padding-top: 0;
}

.plan-recommend-head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 6px;
}

.plan-recommend-check {
	display: inline-block;
	width: 26px;
	height: 26px;
	border: 2px solid #f18849;
	border-radius: 6px;
	flex-shrink: 0;
	position: relative;
}

.plan-recommend-check::after {
	content: '';
	position: absolute;
	top: 4px;
	left: 4px;
	width: 16px;
	height: 9px;
	border-left: 2px solid #f18849;
	border-bottom: 2px solid #f18849;
	transform: rotate(-45deg);
}

.plan-section--green .plan-recommend-check { border-color: #4da487; }
.plan-section--green .plan-recommend-check::after { border-color: #4da487; }
.plan-section--red   .plan-recommend-check { border-color: #c06061; }
.plan-section--red   .plan-recommend-check::after { border-color: #c06061; }

.plan-recommend-item-title {
	font-size: 20px;
	font-weight: bold;
	color: #f18849;
	line-height: 1.3;
}

.plan-section--green .plan-recommend-item-title { color: #4da487; }
.plan-section--red   .plan-recommend-item-title { color: #c06061; }

.plan-recommend-desc {
	line-height: 1.8;
	color: #333;
	margin: 0;
	padding-left: 36px;
}

/* サービスアイコン */
.plan-icons {
	display: grid;
	grid-template-columns: repeat(8, 2fr);
	gap: 10px;
}

.plan-icon-item img {
	width: 100%;
	height: auto;
	display: block;
}

/* 含まれる内容とサービス（アイコン） */
.plan-services-icons {
	margin-bottom: 40px;
}

/* その他に含まれるサービス */
.plan-services-extra {
	margin-bottom: 32px;
}

.plan-services-list {
	list-style: none;
	padding: 0;
	margin: 0 0 12px;
	display: grid;
	grid-template-columns: repeat(2, 2fr);
	gap: 4px 16px;
}

.plan-services-list li {
	font-size: 20px;
	line-height: 1.8;
	padding-left: 26px;
	position: relative;
	display: flex;
	align-items: center;
}

.plan-services-list li::before {
	content: '●';
	position: absolute;
	left: 0;
	font-size: 20px;
	line-height: 1.4;
}
.plan-section--orange {
	.plan-services-list li::before {
		color: #f18849;
	}
}
.plan-section--green {
	.plan-services-list li::before {
		color: #4da487;
	}
}
.plan-section--red {
	.plan-services-list li::before {
		color: #c06061;
	}
}

.plan-services-note {
	font-size: 12px;
	color: #888;
}

/* 詳細ボタン */
.plan-detail-btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 16px;
	font-weight: bold;
	padding: 14px 48px;
	border-radius: 40px;
	text-decoration: none;
	color: #fff;
	transition: opacity 0.2s;
}

.plan-section--orange .plan-detail-btn { background: #f18849; }
.plan-section--green  .plan-detail-btn { background: #4da487; }
.plan-section--red    .plan-detail-btn { background: #c06061; }

.plan-detail-btn:hover { opacity: 0.85; color: #fff; }

/* 電話CTA + 会員プランボタン */
.plan-cta-section {
	background: #fff;
}

.plan-cta-section .section-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 32px;
	padding-top: 60px;
	padding-bottom: 60px;
}

/* 吹き出し */
.plan-consult-bubble {
	background: #c49a2e;
	color: #fff;
	border-radius: 16px;
	padding: 38px 20px;
	text-align: center;
	position: relative;
	max-width: 500px;
	width: 100%;
}

.plan-consult-bubble p {
	font-size: 20px;
	line-height: 2;
	margin: 0;
}

.plan-consult-bubble::after {
	content: '';
	position: absolute;
	bottom: -20px;
	left: 50%;
	transform: translateX(-50%);
	border: 21px solid transparent;
	border-top-color: #c49a2e;
	border-bottom: none;
}

/* CTAバナー */
.plan-cta-section .home-cta-tel {
	width: 100%;
	max-width: 640px;
}

.plan-cta-section .home-cta-tel a {
	display: block;
}

.plan-cta-section .home-cta-tel img {
	width: 100%;
}

/* 会員プランボタン */
.plan-member-btn-wrap {
	text-align: center;
}

.plan-member-btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	background: #c49a2e;
	color: #fff;
	font-size: 20px;
	font-weight: bold;
	padding: 16px 48px;
	border-radius: 40px;
	text-decoration: none;
	transition: opacity 0.2s;
}

.plan-member-btn:hover {
	opacity: 0.85;
	color: #fff;
}

.plan-member-btn span {
	font-size: 22px;
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
	.plan-name {
		font-size: 32px;
		font-weight: bold;
		margin-bottom: 16px;
	}
	.plan-nav {
		flex-direction: column;
		align-items: stretch;
	}

	.plan-head {
		grid-template-columns: 1fr;
		margin-top: 40px;
	}

	.plan-img {
		height: 220px;
	}

	.plan-icons {
		grid-template-columns: repeat(3, 1fr);
	}

	.plan-services-list {
		grid-template-columns: repeat(1, 1fr);
	}

	.plan-detail-btn {
		width: 100%;
		justify-content: center;
	}
	.plan-consult-bubble {
		border-radius: 24px;
		padding: 24px 10px;
	}
	.plan-consult-bubble p {
		font-size: 18px;
		line-height: 2;
		margin: 0;
	}
	.plan-head-right {
		margin-top: 0;
	}
	.plan-tags {
		margin-bottom: 30px;
	}
}
