.ogpm-wrap,
.ogpm-wrap * {
	box-sizing: border-box;
}

.ogpm-wrap {
	width: 100%;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	line-height: 1.6;
	color: #181818;
}

.ogpm-campaign {
	max-width: 960px;
	margin: 0 auto 36px;
	text-align: center;
}

.ogpm-campaign-inner {
	position: relative;
	overflow: hidden;
	padding: 24px 28px 26px;
	border: 3px solid var(--ogpm-campaign-border-color, #f4b400);
	border-radius: 14px;
	background: var(--ogpm-campaign-bg-color, #fff);
	color: var(--ogpm-campaign-text-color, #181818);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}

.ogpm-campaign-inner::before,
.ogpm-campaign-inner::after {
	position: absolute;
	content: "";
	width: 130px;
	height: 130px;
	border-radius: 50%;
	background: var(--ogpm-campaign-border-color, #ffd300);
	opacity: 0.15;
}

.ogpm-campaign-inner::before {
	top: -75px;
	left: -55px;
}

.ogpm-campaign-inner::after {
	right: -55px;
	bottom: -75px;
}

.ogpm-campaign-eyebrow {
	position: relative;
	z-index: 1;
	display: inline-block;
	margin-bottom: 8px;
	padding: 5px 18px;
	border-radius: 999px;
	background: var(--ogpm-campaign-badge-bg-color, #222);
	color: var(--ogpm-campaign-badge-text-color, #fff);
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.ogpm-campaign-headline {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 14px;
	flex-wrap: wrap;
}

.ogpm-campaign-target {
	color: var(--ogpm-campaign-text-color, #181818);
	font-size: clamp(22px, 3vw, 34px);
	font-weight: 900;
}

.ogpm-campaign-discount {
	color: var(--ogpm-campaign-accent-color, #ed6b00);
	font-size: clamp(38px, 6vw, 64px);
	font-weight: 900;
	line-height: 1.1;
	letter-spacing: -0.04em;
}

.ogpm-campaign-description {
	position: relative;
	z-index: 1;
	margin: 10px 0 0;
	color: var(--ogpm-campaign-text-color, #181818);
	font-size: 14px;
	font-weight: 600;
}

.ogpm-campaign-closed-message {
	margin: 0;
	padding: 20px 24px;
	border: 2px solid #555;
	border-radius: 10px;
	background: #f3f3f3;
	font-size: clamp(18px, 3vw, 24px);
	font-weight: 800;
}

.ogpm-campaign-image img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 auto;
}

/* LP layout */
.ogpm-layout-lp {
	max-width: 960px;
}

.ogpm-layout-lp .ogpm-campaign-inner {
	border-color: var(--ogpm-campaign-border-color, #f06b00);
}

.ogpm-layout-lp .ogpm-campaign-eyebrow {
	background: var(--ogpm-campaign-badge-bg-color, #303030);
	color: var(--ogpm-campaign-badge-text-color, #fff);
}

.ogpm-lp-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 36px 16px;
	align-items: stretch;
}

.ogpm-course-card {
	overflow: visible;
	min-width: 0;
	border-radius: 7px;
	background: #fff;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

.ogpm-course-card.is-featured {
	outline: 3px solid #f06b00;
	outline-offset: 2px;
}

.ogpm-course-catchphrase {
	position: relative;
	padding: 8px 10px;
	border-radius: 6px 6px 0 0;
	background: #303030;
	color: #fff;
	text-align: center;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.35;
}

.ogpm-course-catchphrase::after {
	position: absolute;
	bottom: -10px;
	left: 50%;
	width: 0;
	height: 0;
	border-top: 10px solid #303030;
	border-right: 13px solid transparent;
	border-left: 13px solid transparent;
	content: "";
	transform: translateX(-50%);
}

.ogpm-course-body {
	display: flex;
	min-height: 282px;
	padding: 16px 12px 12px;
	flex-direction: column;
	text-align: center;
}

.ogpm-course-name {
	margin: 0 0 13px;
	font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, sans-serif;
	font-size: 23px;
	font-weight: 700;
	line-height: 1.3;
}

.ogpm-course-name span {
	margin-left: 2px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
}

.ogpm-price-block {
	position: relative;
	min-height: 90px;
}

.ogpm-regular-price {
	color: #777;
	font-size: 13px;
	font-weight: 600;
	text-decoration: line-through;
}

.ogpm-discount-badge {
	display: inline-block;
	margin-left: 5px;
	padding: 1px 7px;
	border-radius: 999px;
	background: #fff0e3;
	color: #d85d00;
	font-size: 12px;
	font-weight: 800;
}

.ogpm-main-price {
	margin-top: 4px;
	font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, sans-serif;
	font-size: clamp(30px, 3vw, 36px);
	font-weight: 800;
	line-height: 1.15;
}

.ogpm-main-price span {
	margin-left: 2px;
	font-family: inherit;
	font-size: 12px;
}

.ogpm-per-session {
	margin-bottom: 9px;
	font-size: 13px;
	font-weight: 700;
}

.ogpm-per-session span {
	display: block;
	font-size: 12px;
}

.ogpm-per-session strong {
	color: #ed6b00;
	font-size: 17px;
}

.ogpm-course-description {
	display: flex;
	min-height: 56px;
	margin: auto 0 0;
	padding: 8px;
	align-items: center;
	background: #eee;
	text-align: left;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.45;
}

.ogpm-validity {
	margin: 14px 2px 0;
	text-align: right;
	font-size: 11px;
}

/* HP layout */
.ogpm-layout-hp {
	max-width: 820px;
}

.ogpm-layout-hp .ogpm-campaign {
	max-width: 620px;
}

.ogpm-layout-hp .ogpm-campaign-inner {
	border-color: var(--ogpm-campaign-border-color, #ffd300);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.ogpm-layout-hp .ogpm-campaign-discount {
	color: var(--ogpm-campaign-accent-color, #111);
	text-decoration: underline;
	text-decoration-color: var(--ogpm-campaign-border-color, #ffd300);
	text-decoration-thickness: 8px;
	text-underline-offset: -2px;
}

.ogpm-hp-table-wrap {
	max-width: 590px;
	margin: 0 auto;
}

.ogpm-hp-table-wrap.has-campaign-prices {
	max-width: 760px;
}

.ogpm-hp-table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid #222;
	background: #fff;
	font-size: 16px;
}

.ogpm-hp-table th,
.ogpm-hp-table td {
	padding: 19px 12px;
	border: 1px solid #ddd;
	vertical-align: middle;
}

.ogpm-hp-table thead th {
	padding: 18px 12px;
	border-color: #666;
	background: #050505;
	color: #fff;
	font-size: 20px;
	font-weight: 800;
	text-align: left;
}

.ogpm-hp-table thead th:last-child {
	text-align: center;
}

.ogpm-hp-table.has-campaign-prices thead th:nth-child(2) {
	text-align: center;
}

.ogpm-hp-table .ogpm-hp-campaign-heading {
	background: #ffd300;
	color: #111;
	text-align: center;
}

.ogpm-hp-campaign-heading span {
	display: block;
	font-size: 16px;
	line-height: 1.25;
}

.ogpm-hp-table .ogpm-hp-campaign-heading small {
	display: block;
	margin-top: 4px;
	color: #111;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.3;
}

.ogpm-hp-table tbody tr:nth-child(odd) {
	background: #fafafa;
}

.ogpm-hp-table tbody th {
	width: 59%;
	text-align: left;
}

.ogpm-hp-table tbody td {
	width: 41%;
	text-align: center;
}

.ogpm-hp-table.has-campaign-prices tbody th {
	width: 42%;
}

.ogpm-hp-table.has-campaign-prices tbody td {
	width: 29%;
}

.ogpm-hp-table.has-campaign-prices .ogpm-hp-campaign-price {
	background: #fffdf3;
}

.ogpm-hp-table.has-campaign-prices .ogpm-hp-campaign-price strong {
	color: #111;
}

.ogpm-hp-not-applicable {
	color: #999;
	font-size: 18px;
	font-weight: 500;
	text-align: center;
}

.ogpm-hp-course-name,
.ogpm-hp-table td strong {
	display: block;
	font-size: 22px;
	font-weight: 800;
}

.ogpm-hp-table small {
	display: block;
	margin-top: 2px;
	color: #777;
	font-size: 12px;
	font-weight: 500;
}

.ogpm-hp-regular {
	display: block;
	color: #777;
	font-size: 12px;
	text-decoration: line-through;
}

.ogpm-hp-badge,
.ogpm-hp-badge-placeholder {
	display: inline-block;
	min-width: 50px;
	height: 18px;
	margin: 2px 0 4px;
	line-height: 16px;
}

.ogpm-hp-badge {
	padding: 1px 7px;
	border-radius: 999px;
	background: #ffd300;
	color: #111;
	font-size: 11px;
	font-weight: 800;
}

.ogpm-hp-admission-row {
	background: #fff8eb !important;
}

.ogpm-tax-note {
	margin: 26px 0 0;
	text-align: center;
	font-size: 13px;
}


/* Other fees */
.ogpm-other-fees {
	max-width: 760px;
	margin: 28px auto 0;
}

.ogpm-other-fees-heading {
	margin-bottom: 12px;
	text-align: center;
	font-size: 14px;
	font-weight: 800;
}

.ogpm-other-fees-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
}

.ogpm-other-fee-card {
	padding: 18px 16px;
	border: 2px solid #e8e8e8;
	border-radius: 10px;
	background: #fff;
	text-align: center;
}

.ogpm-layout-hp .ogpm-other-fee-card {
	border-color: #ffd300;
}

.ogpm-layout-lp .ogpm-other-fee-card {
	border-color: #f06b00;
}

.ogpm-other-fee-card h3 {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 800;
}

.ogpm-other-fee-price {
	font-size: 28px;
	font-weight: 900;
}

.ogpm-other-fee-card p {
	margin: 8px 0 0;
	font-size: 12px;
}

/* Benefits */
.ogpm-benefits {
	max-width: 760px;
	margin: 42px auto 0;
}

.ogpm-benefits-heading {
	margin-bottom: 12px;
	text-align: center;
	font-size: 14px;
	font-weight: 800;
}

.ogpm-benefits-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.ogpm-benefit-card {
	position: relative;
	padding: 22px 16px 18px;
	border: 2px solid #e8e8e8;
	border-radius: 10px;
	background: #fff;
	text-align: center;
}

.ogpm-layout-hp .ogpm-benefit-card {
	border-color: #ffd300;
}

.ogpm-layout-lp .ogpm-benefit-card {
	border-color: #f06b00;
}

.ogpm-benefit-card h3 {
	margin: 0 0 10px;
	font-size: 18px;
	font-weight: 800;
}

.ogpm-benefit-prices {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
}

.ogpm-benefit-regular {
	color: #777;
	font-size: 14px;
	text-decoration: line-through;
}

.ogpm-benefit-arrow {
	font-weight: 800;
}

.ogpm-benefit-prices strong {
	color: #ed6b00;
	font-size: 30px;
	font-weight: 900;
}

.ogpm-layout-hp .ogpm-benefit-prices strong {
	display: inline-block;
	color: #111;
	background: linear-gradient(to bottom, transparent 68%, #ffd300 68%);
	line-height: 1.15;
	text-decoration: none;
}

.ogpm-layout-hp .ogpm-other-fee-price {
	display: table;
	margin-right: auto;
	margin-left: auto;
	background: linear-gradient(to bottom, transparent 68%, #ffd300 68%);
	line-height: 1.15;
}

.ogpm-benefit-saving {
	display: inline-block;
	margin-top: 7px;
	padding: 2px 10px;
	border-radius: 999px;
	background: #fff0e3;
	color: #d85d00;
	font-size: 12px;
	font-weight: 800;
}

.ogpm-benefit-card p {
	margin: 10px 0 0;
	font-size: 12px;
}

@media (max-width: 782px) {
	.ogpm-campaign {
		margin-bottom: 26px;
	}

	.ogpm-campaign-inner {
		padding: 20px 14px 22px;
	}

	.ogpm-lp-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ogpm-hp-table th,
	.ogpm-hp-table td {
		padding: 15px 9px;
	}

	.ogpm-hp-table.has-campaign-prices th,
	.ogpm-hp-table.has-campaign-prices td {
		padding-right: 7px;
		padding-left: 7px;
	}
}

@media (max-width: 560px) {
	.ogpm-lp-grid,
	.ogpm-benefits-grid {
		grid-template-columns: 1fr;
	}

	.ogpm-course-body {
		min-height: auto;
	}

	.ogpm-course-description {
		margin-top: 12px;
	}

	.ogpm-hp-table {
		font-size: 14px;
	}

	.ogpm-hp-table thead th {
		font-size: 16px;
	}

	.ogpm-hp-course-name,
	.ogpm-hp-table td strong {
		font-size: 17px;
	}

	.ogpm-hp-table.has-campaign-prices thead th {
		padding: 12px 5px;
		font-size: 13px;
	}

	.ogpm-hp-campaign-heading span {
		font-size: 12px;
	}

	.ogpm-hp-table .ogpm-hp-campaign-heading small {
		font-size: 9px;
	}

	.ogpm-hp-table.has-campaign-prices th,
	.ogpm-hp-table.has-campaign-prices td {
		padding: 13px 5px;
	}

	.ogpm-hp-table.has-campaign-prices .ogpm-hp-course-name,
	.ogpm-hp-table.has-campaign-prices td strong {
		font-size: 15px;
	}

	.ogpm-hp-table.has-campaign-prices small {
		font-size: 10px;
	}

	.ogpm-hp-table.has-campaign-prices .ogpm-hp-badge {
		padding: 1px 5px;
		font-size: 9px;
	}
}
