@charset "UTF-8";

/* online_genken
----------------------------------------*/
.online-genken-page {
	--og-main: #ff941f;
	--og-sub: #ffe960;
	--og-accent: #0a7c6e;
	--og-white: #ffffff;
	--og-font: #333333;
	--og-dark: #041b14;
	--og-pink: #e6007e;
	--og-width: 1040px;
	--og-s-0: 0;
	--og-s-4: 4px;
	--og-s-8: 8px;
	--og-s-16: 16px;
	--og-s-24: 24px;
	--og-s-32: 32px;
	--og-s-40: 40px;
	--og-s-48: 48px;
	--og-s-64: 64px;
	--og-s-80: 80px;
	font-family: "Noto Sans JP", sans-serif;
	color: var(--og-font);
	letter-spacing: 0.08em;
	overflow: hidden;
}

/* 固定ヘッダー分のオフセット（pc.css の padding-top:0 を打ち消す） */
@media screen and (min-width: 768px) {
	.main-content.online-genken-page {
		padding-top: 60px; /* 768–900: SPヘッダー表示時 */
	}
}

@media screen and (min-width: 901px) {
	.main-content.online-genken-page {
		padding-top: 105px; /* PCヘッダー（logo + gnav）※TOP .sec-mv と同値 */
	}
}

.online-genken-page .og-inner {
	width: 100%;
	max-width: var(--og-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
	box-sizing: border-box;
}

.online-genken-page .og-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.online-genken-page img {
	max-width: 100%;
	height: auto;
	vertical-align: top;
}

/* Typography
----------------------------------------*/
.online-genken-page .og-h1 {
	font-size: 28px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.08em;
	color: var(--og-font);
}

.online-genken-page .og-h2 {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.08em;
	color: var(--og-font);
}

.online-genken-page .og-h3 {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.08em;
	color: var(--og-font);
}

.online-genken-page .og-h4 {
	font-size: 18px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.08em;
	color: var(--og-font);
}

.online-genken-page .og-h5 {
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.08em;
	color: var(--og-font);
}

.online-genken-page .og-p {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.8;
	letter-spacing: 0.08em;
	color: var(--og-font);
}

.online-genken-page .og-p-sm {
	font-size: 12px;
	font-weight: 400;
	line-height: 1.8;
	letter-spacing: 0.08em;
	color: var(--og-font);
}

.online-genken-page .og-bold {
	font-weight: 700;
}

.online-genken-page .og-note {
	margin: 0;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0.08em;
	color: var(--og-font);
}

.online-genken-page .og-note--right {
	text-align: right;
}

.online-genken-page .og-note--center {
	text-align: center;
}

/* CTA
----------------------------------------*/
.online-genken-page .og-cta {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 616px;
	margin-left: auto;
	margin-right: auto;
	padding-top: var(--og-s-48);
	box-sizing: border-box;
}

.online-genken-page .og-cta__btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--og-s-4);
	width: 100%;
	padding: 16px 24px 16px 40px;
	box-sizing: border-box;
	background: var(--og-accent);
	border-radius: 7px;
	text-decoration: none;
	color: var(--og-white);
	transition: opacity 0.3s;
}

.online-genken-page .og-cta__btn:hover {
	opacity: 0.5;
}

.online-genken-page .og-cta__label {
	flex: 1 0 0;
	max-width: 480px;
	min-width: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.08em;
	text-align: center;
	color: var(--og-white);
}

.online-genken-page .og-cta__arrow {
	display: block;
	width: 18px;
	height: 17px;
	flex-shrink: 0;
}

.online-genken-page .og-cta__badge {
	position: absolute;
	left: -10px;
	top: -36px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	box-sizing: border-box;
	padding-bottom: 4px;
	background: url(/images/online_genken/badge_free.svg) center / contain no-repeat;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0.08em;
	text-align: center;
	color: var(--og-accent);
	filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.25));
	pointer-events: none;
}

.online-genken-page .og-cta__date {
	width: 100%;
	margin: 0;
	padding-top: var(--og-s-8);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.8;
	letter-spacing: 0.08em;
	text-align: center;
	color: var(--og-font);
}

/* CTA FV variant
----------------------------------------*/
.online-genken-page .og-cta--fv {
	max-width: 335px;
	padding-top: 40px;
}

.online-genken-page .og-cta--fv .og-cta__btn {
	padding: 14px 16px 14px 36px;
}

.online-genken-page .og-cta--fv .og-cta__label {
	font-size: 15px;
}

.online-genken-page .og-cta--fv .og-cta__arrow {
	width: 18px;
	height: 17px;
}

.online-genken-page .og-cta--fv .og-cta__badge {
	left: -14px;
	top: -28px;
	width: 72px;
	height: 72px;
	font-size: 16px;
	background-image: url(/images/online_genken/badge_free_fv.svg);
}

.online-genken-page .og-cta--fv .og-cta__date {
	font-size: 13px;
	color: var(--og-white);
}

/* MV
----------------------------------------*/
.online-genken-page .og-mv {
	overflow: hidden;
}

.online-genken-page .og-mv__inner {
	position: relative;
	margin: 0 auto;
	container-type: inline-size;
}

.online-genken-page .og-mv__pic {
	display: block;
	width: 100%;
}

.online-genken-page .og-mv__pic img {
	display: block;
	width: 100%;
	height: auto;
}

.online-genken-page .og-mv__cta {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: 82%;
	bottom: auto;
	width: 90%;
	max-width: 335px;
	margin: 0;
	padding-top: 9.55cqw; /* 32/335 — Figma SP */
	box-sizing: border-box;
	z-index: 2;
	container-type: inline-size; /* 1cqw = CTA幅の1%（SP吹き出し用） */
}

/* SP MV CTA — Figma 8095:1646（ピル型吹き出し＋ボタン） */
.online-genken-page .og-mv__cta .og-cta__badge {
	position: absolute;
	top: -5vw;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: auto;
	height: auto;
	box-sizing: border-box;
	padding: 2.99cqw 9.55cqw; /* 10 32 */
	background: var(--og-sub);
	background-image: none;
	border-radius: 8.96cqw; /* 30/335 */
	font-size: 5.97cqw; /* 20/335 */
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0.08em;
	text-align: center;
	color: var(--og-accent);
	white-space: nowrap;
	filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.25));
	pointer-events: none;
	z-index: 1;
}

.online-genken-page .og-mv__cta .og-cta__badge::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 100%;
	transform: translateX(-50%);
	margin-top: -2.99cqw; /* -10/335 重なり */
	width: 0;
	height: 0;
	border-left: 2.24cqw solid transparent; /* 7.5/335 */
	border-right: 2.24cqw solid transparent;
	border-top: 5.37cqw solid var(--og-sub); /* 18/335 */
}

.online-genken-page .og-mv__cta .og-cta__btn {
	gap: 2.39cqw; /* 8/335 */
	padding: 7.16cqw 5.97cqw 5.97cqw 9.55cqw; /* 24 20 20 32 */
}

.online-genken-page .og-mv__cta .og-cta__label {
	font-size: 5.97cqw; /* 20/335 */
}

.online-genken-page .og-mv__cta .og-cta__arrow {
	width: 6.27cqw; /* 21/335 */
	height: 5.97cqw; /* 20/335 */
}

.online-genken-page .og-mv__cta .og-cta__date {
	font-size: 4.78cqw; /* 16/335 */
	font-weight: 700;
}

/* Check
----------------------------------------*/
.online-genken-page .og-check {
	padding: 56px 0 40px;
	background: var(--og-white);
}

.online-genken-page .og-check__ttl {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin: 0 0 24px;
	text-align: center;
}

.online-genken-page .og-check__sub {
	position: relative;
	display: block;
	width: 130px;
	height: 40px;
}

.online-genken-page .og-check__sub img {
	position: absolute;
	display: block;
	max-width: none;
}

.online-genken-page .og-check__sub-shadow {
	left: 12.03%;
	top: 0;
	width: 75.41%;
	height: 85.86%;
}

.online-genken-page .og-check__sub-main {
	left: 13.85%;
	top: 5.94%;
	width: 71.76%;
	height: 74.01%;
}

.online-genken-page .og-check__sub-l {
	left: 1.26%;
	top: 21.39%;
	width: 12.58%;
	height: 74.47%;
}

.online-genken-page .og-check__sub-r {
	right: 1.26%;
	left: auto;
	top: 21.39%;
	width: 12.59%;
	height: 74.47%;
}

.online-genken-page .og-check__ttl-txt {
	display: block;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.08em;
	color: var(--og-font);
}

.online-genken-page .og-check__list {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.online-genken-page .og-check__item {
	display: flex;
	flex-direction: column;
	width: 100%;
	overflow: hidden;
}

.online-genken-page .og-check__img {
	width: 100%;
	aspect-ratio: 330 / 200;
	overflow: hidden;
}

.online-genken-page .og-check__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.online-genken-page .og-check__txt {
	flex: 1;
	display: flex;
	align-items: center;
	margin: 0;
	padding: 16px;
	background: var(--og-main);
	box-sizing: border-box;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.04em;
	color: var(--og-white);
}

.online-genken-page .og-check .og-note {
	margin-top: 16px;
}

/* 3STEP
----------------------------------------*/
.online-genken-page .og-step {
	padding: 64px 0 0; /* 下余白は og-step__body 側へ */
}

.online-genken-page .og-step__ttl {
	display: flex;
	justify-content: center;
	margin: 0 auto 0px;
	max-width: 320px;
	padding: 0 20px;
	box-sizing: border-box;
}

.online-genken-page .og-step__ttl-img {
	display: block;
	width: 100%;
	height: auto;
}

.online-genken-page .og-step__body {
	width: 100%;
	background: var(--og-sub); /* #ffe960 */
	padding: 32px 0 40px;
	box-sizing: border-box;
}

.online-genken-page .og-step__img-wrap {
	position: relative;
	container-type: inline-size;
}

.online-genken-page .og-step__pic,
.online-genken-page .og-step__pic img {
	display: block;
	width: 100%;
	height: auto;
}

/* Figma flow_sp 10418:2108 — top 18.19% / left 27.84% / 150×26.34 @335 */
.online-genken-page .og-step__btn {
	position: absolute;
	top: 18.19%;
	left: 27.84%;
	width: 58.78%;
	height: 8.09%;
	margin: 0;
}

.online-genken-page .og-step__btn a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.2em;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	padding: 0 0.55em 0 0.35em;
	background: var(--og-accent);
	border-radius: 7px;
	font-size: clamp(12px, 4.18cqw, 15px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.08em;
	color: var(--og-white);
	text-decoration: none;
	transition: opacity 0.3s;
}

.online-genken-page .og-step__btn-label {
	flex: 1 1 auto;
	min-width: 0;
	text-align: center;
	white-space: nowrap;
}

.online-genken-page .og-step__btn-arrow {
	display: block;
	width: auto;
	height: clamp(12px, 4.18cqw, 15px);
	flex-shrink: 0;
}

.online-genken-page .og-step__btn a:hover {
	opacity: 0.5;
}

.online-genken-page .og-step .og-note {
	margin-top: 12px;
}

/* CTA section
----------------------------------------*/
.online-genken-page .og-cta-sec {
	padding: 40px 20px 56px;
	background: var(--og-white);
	box-sizing: border-box;
}

/* SP bottom CTA — Figma 10418:2145 */
@media screen and (max-width: 767px) {
	.online-genken-page .og-cta-sec .og-cta {
		max-width: 370px;
		padding-top: 32px;
		container-type: inline-size;
	}

	.online-genken-page .og-cta-sec .og-cta__badge {
		top: 0;
		left: 50%;
		transform: translate(-50%, calc(-100% + 2.99cqw));
		width: auto;
		height: auto;
		padding: 2.99cqw 9.55cqw; /* 10 32 / 335 */
		background: var(--og-sub);
		background-image: none;
		border-radius: 8.96cqw; /* 30/335 */
		font-size: 5.97cqw; /* 20/335 */
		line-height: 1.1;
		white-space: nowrap;
		filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.25));
	}

	.online-genken-page .og-cta-sec .og-cta__badge::after {
		content: "";
		position: absolute;
		left: 50%;
		top: 100%;
		transform: translateX(-50%);
		margin-top: -2.99cqw; /* -10/335 */
		width: 0;
		height: 0;
		border-left: 2.24cqw solid transparent; /* 7.5/335 */
		border-right: 2.24cqw solid transparent;
		border-top: 5.37cqw solid var(--og-sub); /* 18/335 */
	}

	.online-genken-page .og-cta-sec .og-cta__btn {
		gap: 2.39cqw; /* 8/335 */
		padding: 7.16cqw 5.97cqw 5.97cqw 9.55cqw; /* 24 20 20 32 */
	}

	.online-genken-page .og-cta-sec .og-cta__label {
		min-width: 71.64cqw; /* 240/335 */
		font-size: 5.97cqw; /* 20/335 */
	}

	.online-genken-page .og-cta-sec .og-cta__arrow {
		width: 6.27cqw; /* 21/335 */
		height: 5.97cqw; /* 20/335 */
	}

	.online-genken-page .og-cta-sec .og-cta__date {
		font-size: 4.78cqw; /* 16/335 */
		font-weight: 700;
	}
}

/* PC
----------------------------------------*/
@media screen and (min-width: 768px) {
	.online-genken-page .og-inner {
		padding-left: 0;
		padding-right: 0;
	}

	.online-genken-page .og-h1 {
		font-size: 40px;
	}

	.online-genken-page .og-h2 {
		font-size: 32px;
	}

	.online-genken-page .og-h3 {
		font-size: 28px;
	}

	.online-genken-page .og-h4 {
		font-size: 24px;
	}

	.online-genken-page .og-h5 {
		font-size: 20px;
	}

	.online-genken-page .og-p {
		font-size: 16px;
	}

	.online-genken-page .og-p-sm {
		font-size: 14px;
	}

	.online-genken-page .og-note {
		font-size: 14px;
	}

	.online-genken-page .og-cta__btn {
		padding: var(--og-s-24) var(--og-s-40) var(--og-s-24) var(--og-s-64);
	}

	.online-genken-page .og-cta__label {
		min-width: 300px;
		font-size: 32px;
	}

	.online-genken-page .og-cta__arrow {
		width: 28px;
		height: 27px;
	}

	.online-genken-page .og-cta__badge {
		left: -18px;
		top: -48px;
		width: 106px;
		height: 106px;
		font-size: 28px;
	}

	.online-genken-page .og-cta__date {
		font-size: 24px;
	}

	.online-genken-page .og-cta--fv {
		max-width: 454px;
		padding-top: var(--og-s-48);
	}

	.online-genken-page .og-cta--fv .og-cta__btn {
		padding: var(--og-s-24) var(--og-s-24) var(--og-s-24) var(--og-s-48);
	}

	.online-genken-page .og-cta--fv .og-cta__label {
		min-width: 0;
		font-size: 24px;
		letter-spacing: 0.08em;
	}

	.online-genken-page .og-cta--fv .og-cta__arrow {
		width: 24px;
		height: 23px;
	}

	.online-genken-page .og-cta--fv .og-cta__badge {
		left: -47px;
		top: -38px;
		width: 96px;
		height: 96px;
		font-size: 24px;
	}

	.online-genken-page .og-cta--fv .og-cta__date {
		font-size: 20px;
		color: var(--og-white);
	}

	/* MV PC — オレンジパネル中央にリキッド配置 */
	.online-genken-page .og-mv__cta {
		left: 22.9%;
		transform: translateX(-50%);
		top: 63%;
		bottom: auto;
		width: 31.5%;
		max-width: 600px;
		padding-top: clamp(24px, 3.33cqw, 64px);
		container-type: normal; /* PCは .og-mv__inner 基準のcqwに戻す */
	}

	.online-genken-page .og-mv__cta .og-cta__btn {
		padding: 1em 2.5em; /* 左右対称 + 矢印分の余白 */
		justify-content: center;
	}

	.online-genken-page .og-mv__cta .og-cta__label {
		flex: 0 1 auto;
		width: 100%;
		font-size: clamp(14px, 1.67cqw, 34px);
		text-align: center;
	}

	.online-genken-page .og-mv__cta .og-cta__arrow {
		position: absolute;
		right: 1em;
		top: 50%;
		transform: translateY(-50%);
		width: 1em;
		height: auto;
	}

	.online-genken-page .og-mv__cta .og-cta__badge {
		top: unset;
		bottom: 1.5vw;
		left: -3.26cqw;
		transform: none;
		width: clamp(64px, 6.67cqw, 136px);
		height: clamp(64px, 6.67cqw, 136px);
		padding: 0;
		padding-bottom: 4px;
		border-radius: 0;
		background: url(/images/online_genken/badge_free_fv.svg) center / contain no-repeat;
		font-size: 0; /* HTML「参加無料」1行を隠し、::beforeで2行表示 */
		filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.25));
		white-space: normal;
	}

	.online-genken-page .og-mv__cta .og-cta__badge::before {
		content: "参加\A無料";
		white-space: pre;
		font-size: clamp(14px, 1.67cqw, 34px);
		font-weight: 700;
		line-height: 1.1;
		letter-spacing: 0.08em;
		text-align: center;
		color: var(--og-accent);
	}

	.online-genken-page .og-mv__cta .og-cta__badge::after {
		display: none; /* SP三角を非表示 */
	}

	.online-genken-page .og-mv__cta .og-cta__date {
		font-size: clamp(12px, 1.39cqw, 28px);
		font-weight: 500;
	}

	/* Check PC */
	.online-genken-page .og-check {
		padding: var(--og-s-80) 0 0;
	}

	.online-genken-page .og-check__ttl {
		margin-bottom: 0;
		padding-bottom: 40px;
	}

	.online-genken-page .og-check__ttl-txt {
		font-size: 40px;
		letter-spacing: 0.08em;
	}

	.online-genken-page .og-check__list {
		flex-direction: row;
		gap: 24px;
		align-items: stretch;
	}

	.online-genken-page .og-check__item {
		flex: 1 1 0;
		min-width: 0;
		max-width: 375px;
	}

	.online-genken-page .og-check__txt {
		font-size: 20px;
		min-height: 116px;
	}

	.online-genken-page .og-check .og-note {
		margin-top: 8px;
	}

	/* 3STEP PC */
	.online-genken-page .og-step {
		padding: 72px 0 0;
		position: relative;
	}

	.online-genken-page .og-step__ttl {
		max-width: none;
		margin-bottom: 0px;
		padding: 0;
	}

	.online-genken-page .og-step__ttl-img {
		max-width: 432px; /* SVG原寸 */
	}

	.online-genken-page .og-step__body {
		padding: 40px 0 48px;
	}

	/* Figma flow 10418:1583 — top 64.69% / left 5.02% / 194×34 @1040 */
	.online-genken-page .og-step__btn {
		top: 64.69%;
		left: 5.02%;
		width: 18.67%;
		height: 22.48%;
	}

	.online-genken-page .og-step__btn a {
		width: 100%;
		height: 100%;
		padding: 0 0.55em 0 0.35em;
		gap: 0.2em;
		font-size: clamp(10px, 1.35cqw, 14px);
		line-height: 1;
		letter-spacing: 0.08em;
	}

	.online-genken-page .og-step__btn-arrow {
		height: clamp(10px, 1.35cqw, 14px);
	}

	.online-genken-page .og-cta-sec {
		padding: 40px 0 100px;
	}
}
