/* Astra Child — Elementor 料金バナー ウィジェット
 * ------------------------------------------------------------------ */

.acpb-banner {
	display: flex;
	align-items: stretch;
	background: #12203a;
	border-radius: 16px;
	overflow: hidden;
	color: #ffffff;
}

.acpb-banner.acpb-no-image {
	padding: 2.5rem 3rem;
	gap: 2rem;
	flex-wrap: wrap;
}

/* 画像カラム（左）
 * ------------------------------------------------------------------ */

.acpb-image-col {
	position: relative;
	flex: 0 0 32%;
	min-width: 140px;
	overflow: hidden;
}

.acpb-image-col img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 220px;
	object-fit: cover;
	-webkit-mask-image: linear-gradient(to right, #000 35%, transparent 100%);
	mask-image: linear-gradient(to right, #000 35%, transparent 100%);
}

/* 価格カラム（中央）
 * ------------------------------------------------------------------ */

.acpb-price-col {
	flex: 1 1 260px;
	min-width: 0;
	padding: 2.5rem 1.5rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.acpb-no-image .acpb-price-col {
	padding: 0;
}

.acpb-price-row {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
}

.acpb-price-label {
	font-size: 1rem;
	font-weight: 500;
	color: inherit;
}

.acpb-price-value {
	font-size: 2.4rem;
	font-weight: 700;
	line-height: 1.2;
}

.acpb-price-note {
	font-size: 0.9rem;
	font-weight: 400;
	margin-left: 0.3rem;
}

.acpb-sub-price {
	margin-top: 0.6rem;
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0.6rem;
	font-size: 0.95rem;
}

.acpb-sub-price-value {
	font-weight: 700;
}

/* 注意書き・ボタンカラム（右）
 * ------------------------------------------------------------------ */

.acpb-info-col {
	flex: 0 0 300px;
	padding: 2.5rem 3rem 2.5rem 1.5rem;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: center;
	gap: 1rem;
	text-align: right;
}

.acpb-no-image .acpb-info-col {
	padding: 0;
}

.acpb-footnote {
	margin: 0;
	font-size: 0.78rem;
	line-height: 1.6;
}

.acpb-badges {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.acpb-badge {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.85rem;
	justify-content: flex-end;
}

.acpb-badge i,
.acpb-badge svg {
	font-size: 1.1rem;
	width: 1em;
	height: 1em;
	flex-shrink: 0;
}

.acpb-button {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 700;
	font-size: 0.95rem;
	padding: 0.85rem 1.8rem;
	border-radius: 999px;
	text-decoration: none;
	transition: background-color 0.2s ease;
	white-space: nowrap;
}

.acpb-button:hover,
.acpb-button:focus {
	text-decoration: none;
}

.acpb-button i,
.acpb-button svg {
	font-size: 0.85em;
	width: 1em;
	height: 1em;
}

@media (max-width: 767px) {
	.acpb-banner {
		flex-direction: column;
		align-items: stretch;
	}

	.acpb-image-col {
		flex-basis: auto !important;
		min-height: 160px;
	}

	.acpb-image-col img {
		min-height: 160px;
		-webkit-mask-image: none;
		mask-image: none;
	}

	.acpb-price-col,
	.acpb-info-col {
		padding: 1.5rem 1.75rem;
		text-align: center;
	}

	.acpb-info-col {
		align-items: center;
	}

	.acpb-price-row,
	.acpb-sub-price {
		justify-content: center;
	}

	.acpb-badge {
		justify-content: center;
	}
}
