@charset "utf-8";

/* ========================================================
	flow.css
======================================================== */

/* .category_tab
============================================================================================================ */
.category_tab {
	margin-bottom: 30px;
}
.category_tab a {
	font-size: 1.4rem;
}
@media screen and (max-width: 767px) {
	.category_tab li {
		width: auto;
		flex-grow: 1;
	}
}
@media screen and (min-width: 768px), print {
	.category_tab {
		margin-bottom: 72px;
		width: 400px;
	}
}


/* flow_fix_ele
============================================================================================================ */
#flow {
	position: relative;
}
.flow_fix_ele {
	width: 100%;
	top: 0;
}
.flow_fix_ele.fix {
	position: fixed;
}
.flow_fix_ele.abs {
	position: absolute;
	top: auto;
	bottom: 0;
}

/* flow_wrap
============================================================================================================ */
.flow_wrap {
	position: relative;
	padding-inline: 30px;
}
.flow_wrap > * {
	position: absolute;
	top: -9999px;
	left: -9999px;
	width: 100%;
	opacity: 0;
	transform: translateY(20px);
}
.flow_wrap > *.active {
	transition: opacity .5s, transform .4s ease-out;
	position: relative;
	top: 0;
	left: 0;
	transform: translateY(0);
	opacity: 1;
}
.flow_wrap .scroll {
	position: absolute;
	right: 5vw;
	font-size: 1.2rem;
	pointer-events: none;
	transform: translateY(50%);
}
.flow_wrap .scroll .line {
	position: absolute;
	overflow: hidden;
	top: 0;
	bottom: 0;
	left: -40px;
	width: 32px;
}
.flow_wrap .scroll .line::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	border-top: 1px solid;
	-webkit-animation: scroll 1.5s ease-in-out infinite;
	animation: scroll 1.5s ease-in-out infinite;
}
@keyframes -webkit-animation {
	0% {
		left: -102%;
	}
	25% {
		left: 0;
	}
	70% {
		left: 0;
	}
	100% {
		left: 130%;
	}
}
@keyframes scroll {
	0% {
		left: -102%;
	}
	25% {
		left: 0;
	}
	70% {
		left: 0;
	}
	100% {
		left: 130%;
	}
}
@media screen and (max-width: 767px) {
	.flow_wrap .scroll {
		bottom: calc((80vw * (406 / 672)) / 2);
	}
}
@media screen and (min-width: 768px), print {
	.flow_wrap .scroll {
		right: 30px;
		bottom: calc(365px / 2);
		font-size: 1.6rem;
		text-align: right;
	}
	.flow_wrap .scroll > span {
		position: relative;
		display: inline-block;
		margin-right: -10px;
	}
}


/* flow_list
============================================================================================================ */
.flow_list {
	position: relative;
	display: flex;
	justify-content: center;
	margin-bottom: 50px;
	padding: 0 10px;
	text-align: center;
	font-size: 1.2rem;
	line-height: 1.4;
	letter-spacing: 0;
}
.flow_list::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 20px;
	border-top: 1px solid #e9edf5;
	z-index: -1;
}
.flow_list li {
	width: 100%;
	display: flex;
	justify-content: center;
	padding: 0 5px;
}
.flow_list a {
	display: block;
	position: relative;
	text-decoration: none;
}
.flow_list .num {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 40px;
	height: 40px;
	margin: 0 auto 5px;
	background-color: #e9edf5;
	border-radius: 100%;
	font-size: 1.4rem;
	color: #3e5faa;
	line-height: 1;
}
.init .flow_list .num {
	transition: background .3s ease-in-out, color .3s ease-in-out;
}
.flow_list .active .num {
	background-color: #3e5faa;
	color: #fff;
}
@media screen and (max-width: 767px) {
	/* .flow_list a {
		min-height: calc(1em * (1.4 * 3) + 40px + 5px);
	} */
}
@media screen and (min-width: 768px), print {
	.flow_list {
		margin-bottom: 50px;
		padding: 0 10px;
		font-size: 1.5rem;
	}
	.flow_list::before {
		top: 30px;
	}
	.flow_list li {
		width: 156px;
	}
	.flow_list .num {
		width: 60px;
		height: 60px;
		margin-bottom: 10px;
		font-size: 2rem;
	}
	.flow_list a {
		min-height: calc(1em * (1.4 * 2) + 60px + 10px);
	}
	.flow_list a:hover .num {
		background-color: #3e5faa;
		color: #fff;
	}
}

.flow_contents {
	position: relative;
	overflow: hidden;
}
.flow_contents > div {
	display: flex;
}
@media screen and (max-width: 767px) {
	.flow_contents > div {
		width: 500% !important;
		padding: 0 !important;
	}
	.flow_contents section {
		width: 20% !important;
	}
}
@media screen and (min-width: 768px), print {
	.flow_contents > div {
		justify-content: space-between;
	}
}
.flow_contents .step {
	display: inline-block;
	padding-bottom: 5px;
	border-bottom: 1px solid;
	font-size: 1.4rem;
	line-height: 1;
}
.flow_contents .step span {
	font-size: 200%;
}
.flow_contents h3 {
	margin: 15px 0 10px;
	font-size: 2rem;
	line-height: 1.5;
}
.flow_contents .btn {
	margin-top: 30px;
}
@media screen and (max-width: 767px) {
	.flow_contents section {
		display: flex;
		flex-direction: column;
		padding: 0 10vw;
	}
	.flow_contents .contents {
		margin-bottom: 20px;
	}
	.flow_contents .ph {
		margin-top: auto;
	}
}
@media screen and (min-width: 768px), print {
	.flow_contents section {
		display: flex;
		justify-content: space-between;
		margin: 0;
	}
	.flow_contents .contents {
		width: calc(50% - 40px);
	}
	.flow_contents .ph {
		width: 50%;
	}
	.flow_contents .step {
		font-size: 2rem;
	}
	.flow_contents h3 {
		margin: 25px 0 20px;
		font-size: 2.8rem;
	}
	.flow_contents .btn {
		margin-top: 50px;
	}
	.flow_contents .btn a {
		margin-left: 0;
	}
}

.flow_content{
	max-width: 1182px;
	margin-inline: auto;
	border-radius: 24px;
	background-color: #ECEFF7;
	padding: 88px 48px 77px 87px;
}

.flow_items{
	counter-reset: number 0;
	position: relative;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 55px;
}

.flow_items::after{
	content: "";
	position: absolute;
	height: 85%;
	width: 2px;
	background-color: #fff;
	top: 0;
	left: 2.8%;
}

.flow_item .item{
	counter-increment: number 1;
	display: flex;
	flex-direction: row;
	gap: 33px;
	align-items: flex-start;
}

.flow_item .item_head{
	display: flex;
	flex-direction: row;
	gap: 31px;
	width: 14%;
	z-index: 1;
}

.flow_item .item_head p{
	letter-spacing: -1px;
	position: relative;
}

.flow_item .item_head p::after{
	content: counter(number, decimal-leading-zero);
	position: absolute;
	top: 10px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 33px;
}

.item_content{
	width: 100%;
}

.item_content h3{
	font-size: 2.4rem;
    letter-spacing: 1px;
    line-height: 1.25;
	margin-bottom: 8px;
}

.item_content p{
	letter-spacing: 0px;
    font-size: 1.5rem;
}

.item_content.col{
	display: flex;
	flex-direction: column;
	gap: 25px;
}

.item_content.col a{
	margin: 0;
}

@media screen and (max-width: 767px), print {
	.flow_content{
		margin-inline: auto;
		border-radius: 24px;
		background-color: #ECEFF7;
		padding: 30px;
	}
	
	.flow_items{
		counter-reset: number 0;
		position: relative;
		width: 100%;
		display: flex;
		flex-direction: column;
		gap: 40px;
	}
	
	.flow_items::after{
		display: none;
	}
	
	.flow_item .item{
		counter-increment: number 1;
		flex-direction: column;
		gap: 15px;
		align-items: flex-start;
	}
	
	.flow_item .item_head{
		gap: 15px;
		width: 100%;
		z-index: 1;
	}
	
	.flow_item .item_head p{
		letter-spacing: -1px;
		position: relative;
	}
	
	.flow_item .item_head p::after{
		content: counter(number, decimal-leading-zero);
		position: absolute;
		top: 10px;
		left: 50%;
		transform: translateX(-50%);
		font-size: 33px;
	}
	
	.item_content{
		width: 100%;
	}
	
	.item_content h3{
		font-size: 2.4rem;
		letter-spacing: 1px;
		line-height: 1.25;
		margin-bottom: 15px;
	}
	
	.item_content p{
		letter-spacing: 0px;
		font-size: 1.5rem;
	}
	
	.item_content.col{
		display: flex;
		justify-content: space-between;
		flex-direction: column;
		gap: 15px;
	}
}