@charset "UTF-8";

.page-mv-under__txt span::after {
	display: inline-block;
	width: 4em;
	height: 1px;
	margin-left: 0.5em;
	vertical-align: middle;
	background: #fff;
	content: "";
}

.sec-flow {
	margin-bottom: 230px;
}

.sec-flow__ttl {
	margin-bottom: 3.5em;
	font-size: 2.9rem;
	line-height: 1.7;
	text-align: center;
}

.sec-flow__ttl span {
	display: inline-block;
	border-bottom: 1px solid #ddd;
}

.step-box {
	position: relative;
	border-right: 1px solid #808080;
	border-left: 1px solid #808080;
}

.step-box:not(:last-child) {
	margin-bottom: 150px;
}

.step-box::before,
.step-box::after {
	position: absolute;
	left: 0;
	width: 100%;
	height: 1px;
	background: linear-gradient(to right, #808080 0%, #ccc 50%, #808080 100%);
	content: "";
}

.step-box::before {
	top: 0;
}

.step-box::after {
	bottom: 0;
}

.step-box__inner {
	position: relative;
	padding: 35px 200px 50px;
}

.step-box__inner::before,
.step-box__inner::after {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	content: "";
}

.step-box__inner::before {
	z-index: 1;
	width: 260px;
	height: 1px;
	background: #253a4b;
}

.step-box:not(:last-child) .step-box__inner::after {
	width: 19px;
	height: 117px;
	background: url(../img/flow/step_arrow.png) no-repeat center/contain;
}

.step-box__ttl {
	margin-bottom: 1em;
}

.step-box__ttl::after {
	width: 100%;
}

.step-box__num {
	color: #7ca0b5;
	position: absolute;
	top: 0.5em;
	left: -0.85em;
	font-size: 6rem;
	line-height: 1;
	transform: rotate(180deg);
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
}

.step-box__txt {
	line-height: 1.6;
}

.step-box__link {
	display: block;
	margin-top: 0.3em;
	color: #fff;
	line-height: 1.5;
	text-align: center;
	background: #253a4b;
	border: 1px solid #253a4b;
}

.step-box__list-item {
	display: flex;
}

.step-box__list-item:not(:last-child) {
	margin-bottom: 30px;
}

.step-box__list-img {
	width: 330px;
}

.step-box__list-cnt {
	flex: 1;
	padding-left: 30px;
	line-height: 1.7;
}

@media screen and (min-width: 897px) {

	.step-box__link {
		transition: 0.3s;
	}

	.step-box__link:hover {
		color: #253a4b;
		background: #fff;
	}
}

@media screen and (max-width: 1600px) {

	.step-box__inner {
		padding-right: 100px;
		padding-left: 100px;
	}
}

@media screen and (max-width: 1200px) {

	.step-box__inner {
		padding-right: 30px;
		padding-left: 30px;
	}
}

@media screen and (max-width: 896px) {

	.sec-flow {
		margin-bottom: 100px;
	}

	.sec-flow__ttl {
		font-size: 2rem;
	}

	.step-box {
		margin-left: 20px;
	}

	.step-box:not(:last-child) {
		margin-bottom: 80px;
	}

	.step-box__inner {
		padding-right: 10px;
		padding-left: 10px;
	}

	.step-box__inner::before {
		width: 180px;
	}

	.step-box:not(:last-child) .step-box__inner::after {
		width: 10px;
		height: 58px;
	}

	.step-box__num {
		font-size: 3rem;
	}

	.step-box__list-item {
		display: block;
	}

	.step-box__list-cnt {
		padding-top: 1em;
		padding-left: 0;
	}
}

/* フッターギャラリー */
.parts-gallery {
	background-image: url(../img/flow/gallery_bg.jpg);
}
