/* CSS Document */


.tab{
	display: flex;
	flex-wrap: wrap;
	padding-left: 0px;
	justify-content: center;
}

.tab li{
	position: relative;
	top:0;
	z-index: 2;
}


.tab li a{
	display: block;
	color:#fff;
	margin:0 2px;
    box-shadow: 0 0 15px #D18FAA;
	border-bottom: none;
	background: #D18FAA;
	font-size: 1.5rem;
	padding: 10px;
    font-weight: 600;
	border-radius: 30px;
	width: 250px;
	text-align: center;
}

.tab li.active a {
	display: block;
	color:#D18FAA;
	background: #fff;
	position: relative;
}


.tab li.active a::before {
	width: 55px;
	content: '';
	display: block;
	position: absolute;
	border-bottom: 1px dashed #D18FAA;
	height: 2px;
	left: 50%;
	transform: translateX(-50%);
	bottom: 10px;
}

.tab li.active a {
	cursor: auto;
}

.area {
	z-index: 1;
	display: none;
	opacity: 0;
	background: #fff;
	padding:50px;
}

.area.is-active {
    display: block;
    animation-name: displayAnime;
    animation-duration: 2s;
    animation-fill-mode: forwards;
	box-shadow: 0 0 15px #D18FAA;
    border-radius: 30px;
}

@keyframes displayAnime{
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}



/* detail design */

.flow-item{
	display: flex;
    flex-direction: column;
}

.flow-item-top{
	width: 100%;
	display: flex;
	flex-direction: row;
}


.flow-item-time{
	width: 100px;
	text-align: center;
	background: #D18FAA;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 500;
    padding: 2px 5px;
    margin-right: 30px;
    border-radius: 10px;
    letter-spacing: 0.15rem!important;
}

.flow-item-title{
	font-size: 1.35rem;
    font-weight: 600;
	color: #BA6E82 !important;
	letter-spacing: 0.15rem;
}

.flow-item-down {
	display: flex;
	flex-direction: row;
	position: relative;
}

.flow-item-down::before{
	position: absolute;
	display: block;
	content: '';
	height: 100%;
	width: 3px;
	border-right:3px dashed #fff;
	left: 48px;
	 background-image : linear-gradient(to right, #BA6E82 3px, transparent 8px);
	 background-size: 10px 3px;
	 background-repeat: repeat-y; 
	 background-position: left bottom;
}

.flow-item-last::before{
	display: none;
}

.flow-item-down span{
	width: 100px;
	display: block;
	margin-right: 30px;
	min-height: 30px;
	height: 100%;
}

.flow-item-down ul{
	width: 100%;
	margin: 20px 0;
	padding: 20px;
	background: #fff3f6;
	border-radius: 20px;
}

.flow-item-down ul li{
	font-size: 1.2rem;
	letter-spacing: 0.1rem;
	list-style: circle;
	margin-left: 20px;
	line-height: 2rem;
}



@media(max-width:1000px){
	
	.area {
		padding: 20px;
	}

	.area.is-active {
		border-radius: 20px;
	}
	
	.flow-item-time {
		width: 80px;
		font-size: 1.2rem;
		padding: 1px 3px;
		margin-right: 20px;
	}
	
	.flow-item-title {
		font-size: 1.2rem;
		letter-spacing: 0.1rem;
		padding: 1px;
	}
	
	.flow-item-down::before {
    	width: 2px;
    	border-right: 2px dashed #fff;
		left: 37px;
	}
	
	.flow-item-down span {
		width: 70px;
		min-height: 26px;
	}
	
	.flow-item-down ul li {
    	font-size: 1.02rem;
    	letter-spacing: 0.05rem;
    	margin-left: 15px;
		line-height: 1.7rem;
	}
	
	.flow-item-down ul {
    	margin: 10px 0;
		padding: 15px 20px;
	}
	
	
	.tab li a {
    	padding: 5px;
    	border-radius: 50px;
    	width: 200px;
    	font-size: 1.3rem;
	}

	
	.tab li.active a::before {
    	width: 40px;
    	height: 2px;
    	bottom: 4px;
	}
	
}

@media(max-width:800px){
	
	.tab {
		justify-content: center;
	}

}

@media(max-width:500px){

	.area {
        padding: 5px;
    }
	
	.area.is-active {
		border:none;
		padding: 30px 5px 30px 20px ;
	}
	
	.tab {
    	padding-left: 0;
	}
	
	
	.tab li a {
		font-size: 1.1rem;
        border-radius: 10px;
		border:none;
	}
	
	.tab li {
		position: relative;
		z-index: 2;
		width: 50%;
		max-width: 150px;
	}
	
	.flow-item-down::before {
    	left: 22px;
	}
	
	.flow-item-down span {
		width: 60px;
		margin-right: 0;
	}
	
	.tab li a {
		width: 100%;
	}
	
	.flow-item-time {
		width: 45px;
		height: 45px;
        font-size: 0.75rem;
        padding: 0px 3px;
        margin-right: 5px;
		letter-spacing: 0;
		display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
	}
	
	.flow-item-title {
		font-size: 1.05rem;
		display: flex;
        justify-content: center;
        align-items: flex-start;
		flex-direction: column;
	}

	.flow-item-down ul li {
        font-size: 0.95rem;
        letter-spacing: 0.03rem;
        margin-left: 15px;
        line-height: 1.4rem;
    }
	
	.flow-item-title span{
		display: inline-block;
	}
	
}





