@charset "utf-8";

.text-red_2{
	color: #E03538;
}
.jc_center{
	justify-content: center;
}
.jc_left{
	justify-content: left;
}
.jc_right{
	justify-content: right;
}
@media (max-width: 768px) {
	.jc_md_center{
		justify-content: center;
	}
}

.flex-center-middle {
	display: flex;
	justify-content: center;
	align-items: center;
}

.steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: auto;
	gap: 30px 50px;
}
.steps li {
	position: relative;
	border: solid 2px #ddd;
}
.steps li::after {
	position: absolute;
	bottom: 50%;
	right: -73px;
	content: "";
	display: block;
	border: solid 35px rgba(255, 255, 255, 0);
	border-left: solid 20px #ddd;
	transform: translateY(50%);
}
.steps li:last-child::after {
	display: none;
}

.steps-ttl {
	margin-bottom: 20px;
	display: flex;
	border-bottom: solid 2px #ddd;
	background-color: #f5f5f5;
}
.steps-num {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-shrink: 0;
	background-color: #E03538;
}
.steps-ttl-txt {
	padding: 10px;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #E03538;
	line-height: 1.2;
	font-size: 20px;
	font-weight: bold;
}
.steps-ttl-txt a{
	font-size: 20px;
}
.steps-content {
	padding: 10px 20px;
}


@media (max-width: 768px) {
	.steps {
		display: block;
	}
	.steps li {
		margin-bottom: 50px;
	}
	.steps li:last-child{
		margin-bottom: 0;
	}
	.steps li::after {
		bottom: -80px;
		right: 50%;
		border: solid 45px rgba(255, 255, 255, 0);
		border-top: solid 20px #ddd;
		transform: translateX(50%);
	}

	.steps-num {
		width: 20%;
	}
	.steps-ttl-txt {
		font-size: 18px;
	}
	.steps-ttl-txt a{
		font-size: 18px;
	}
}