.c-flow-step {
	position: relative;
	display: flex;
	align-items: center;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--color-text);
}

.c-flow-step::after {
	content: "";
	position: absolute;
	bottom: -1px;
	left: 50%;
	transform: translateX(-50%) translateY(100%);
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-top: 8px solid var(--color-text);
}

.c-flow-step--last::after {
	content: none;
}

.c-flow-step__badge {
	position: relative;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 117px;
	height: 53px;
	padding-right: 17px;
	/* 右側の三角(約17px)を除外して文字を中央配置するための余白 */
	background: var(--color-primary);
	color: #fff;
	clip-path: polygon(0 0, calc(100% - 17px) 0, 100% 50%, calc(100% - 17px) 100%, 0 100%);
	flex-shrink: 0;
}

.c-flow-step__badge-inner {
	display: flex;
	align-items: flex-end;
	gap: 6px;
}

.c-flow-step__badge-label {
	font-size: var(--fs-sm);
	font-weight: var(--font-weight-bold);
	border-bottom: 2px solid #fff;
	padding-bottom: 6px;
	line-height: 1;
}

.c-flow-step__badge-num {
	font-size: var(--fs-lg);
	font-weight: var(--font-weight-bold);
	line-height: 1;
}

.c-flow-step__text {
	flex: 1;
	padding-right: 117px;
	/* バッジ幅分だけ右側に余白を持たせて、全体の中央に見せる */
	text-align: center;
}

.c-flow-step__title {
	margin: 0;
	font-size: var(--fs-base);
	font-weight: var(--font-weight-bold);
	color: var(--color-text);
}

.c-flow-step__body {
	margin: 8px 0 0;
	font-size: var(--fs-sm);
	line-height: var(--line-height-body);
	color: var(--color-text);
}

/* スマホ表示の調整 */
@media (max-width: 767px) {
	.c-flow-step {
		padding-bottom: 20px;
	}

	.c-flow-step__badge {
		width: 76px;
		height: 36px;
		padding-right: 12px;
		clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
	}

	.c-flow-step__badge-inner {
		gap: 4px;
	}

	.c-flow-step__badge-label {
		font-size: var(--fs-xs);
		border-bottom: 1px solid #fff;
		padding-bottom: 2px;
	}

	.c-flow-step__text {
		padding-right: 0;
		padding-left: 12px;
		text-align: left;
	}
}
