@charset 'UTF-8';
/*----------------------------------------

	- about_regist
		- about_head
		- flow
		- btn_box
		- gray_box

-----------------------------------------*/

/*----------------------------------------
common
-----------------------------------------*/

@media screen and (max-width: 800px) {
	footer {
		padding-bottom: 116px;
	}
}

/*----------------------------------------
about_regist
-----------------------------------------*/

.about_regist {
	margin-top: 48px;
	max-width: 800px;
	margin-inline: auto;
}

@media screen and (max-width: 800px) {
	.about_regist {
		margin-top: 32px;
		max-width: 640px;
	}
}

/*----------------------------------------
about_head
-----------------------------------------*/

.about_head {
	display: flex;
	align-items: center;
	gap: 28px;
}

.about_head .color_sapphire {
	display: flex;
	gap: 11px;
	align-items: center;
}

.about_head .color_sapphire::before,
.about_head .color_sapphire::after {
	content: "";
	height: 1.35rem;
	width: 1.35rem;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

.about_head .color_sapphire::before {
	background-image: url(/about_regist/img/d01_line-l.svg);
}
.about_head .color_sapphire::after {
	background-image: url(/about_regist/img/d01_line-r.svg);
}

@media screen and (max-width: 800px) {
	.about_head {
		display: grid;
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.about_head .heading_l1 {
		font-size: var(--font-size28);
		text-align: left;
	}

	.about_head .font21 {
		justify-content: center;
		text-align: center;
		font-size: var(--font-size18);
	}
}

/*----------------------------------------
flow
-----------------------------------------*/
.flow {
	margin-top: 48px;
	display: grid;
	grid-template-columns: 1fr;
	gap: 48px;
}

.flow li {
	display: grid;
	grid-template-columns: 208px 1fr;
	gap: 48px;
}

.flow .flow_left {
	display: flex;
	align-items: flex-start;
}

.flow .flow_left .step {
	display: block;
	width: 184px;
	height: 70px;
	background-position: left center;
	background-repeat: no-repeat;
	background-size: contain;
}

/* D01 */
.flow.about_flow li:nth-of-type(1) .flow_left .step {
	background-image: url(/about_regist/img/d01_step01.svg);
}

.flow.about_flow li:nth-of-type(2) .flow_left .step {
	background-image: url(/about_regist/img/d01_step02-faded.svg);
}

.flow.about_flow li:nth-of-type(3) .flow_left .step {
	background-image: url(/about_regist/img/d01_step03-faded.svg);
}

.flow.about_flow li:nth-of-type(4) .flow_left .step {
	background-image: url(/about_regist/img/d01_step04-faded.svg);
}

.flow .flow_left .icon_box {
	height: 100%;
	position: relative;
}

.flow .flow_left .icon {
	display: block;
	width: 24px;
	height: 24px;
	background-color: var(--color_cmn-line);
	border-radius: 50%;
	margin-top: calc(35px - 12px);
	position: relative;
	z-index: 1;
}

.flow:not(:has(li.current)) .flow_left .icon {
	background-color: var(--color_aquamarine-500);
}

.flow li.current .flow_left .icon,
.flow li:not(.current ~ li) .flow_left .icon {
	background-color: var(--color_aquamarine-500);
}

.flow li.current .flow_left .icon::after,
.flow:has(.current) li:not(.current ~ li) .flow_left .icon::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	margin-inline: auto;
	width: 100%;
	height: 100%;
	background-color: var(--color_white);
	mask-image: var(--ic_check-mark);
	mask-repeat: no-repeat;
	mask-size: auto;
	mask-position: center;
	z-index: 2;
}

.flow li:not(:last-of-type) .flow_left .icon_box::before {
	content: "";
	position: absolute;
	top: 36px;
	left: 0;
	right: 0;
	margin-inline: auto;
	width: 4px;
	height: calc(100% + 48px);
	background-color: var(--color_cmn-line);
}

.flow .flow_right {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

.flow .flow_right .heading_m2 {
	margin-top: calc(35px - 19px);
}

@media screen and (max-width: 800px) {
	.flow {
		margin-top: 32px;
		gap: 32px;
	}

	.flow li {
		grid-template-columns: 117px 1fr;
		gap: 12px;
	}

	.flow .flow_left .step {
		display: block;
		height: 40px;
	}

	.flow .flow_left .icon {
		margin-top: calc(20px - 12px);
	}

	.flow li:not(:last-of-type) .flow_left .icon_box::before {
		top: 20px;
		height: calc(100% + 32px);
	}

	.flow .flow_right {
		gap: 10px;
	}

	.flow .flow_right .heading_m2 {
		margin-top: calc(20px - 13.5px);
		font-size: var(--font-size18);
	}

	.flow .flow_right .font16 {
		font-size: var(--font-size14);
	}
}

/*----------------------------------------
btn_box
-----------------------------------------*/
.btn_box {
	margin-top: 80px;
	display: flex;
	justify-content: center;
	width: 100%;
}

@media screen and (max-width: 800px) {
	.btn_box {
		margin-top: 0;
		position: fixed;
		bottom: 0;
		left: 0;
		z-index: 3;
		background-color: var(--color_white);
		padding: 16px 24px;
	}

	.btn_box p:has([class*="btn_"]) {
		width: 100%;
		max-width: 352px;
	}

	.btn_box .btn_l {
		width: 100%;
		--font-size: var(--font-size24);
	}
}

/*----------------------------------------
gray_box
-----------------------------------------*/
.gray_box {
	margin-top: 80px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	padding: 46px 32px;
}

.gray_box p {
	text-align: center;
}

.gray_box p span {
	display: inline-block;
}

@media screen and (max-width: 800px) {
	.gray_box {
		margin-top: 64px;
		padding: 32px 24px;
	}

	.gray_box p:has([class*="btn_"]) {
		width: 100%;
		max-width: 304px;
	}

	.gray_box .btn_m2 {
		width: 100%;
	}
}
