/* ================================
  flow
============================== */

/*共通パーツ*/
#wrap {
  width: 100%;
  overflow: hidden
}
#topBox {
  overflow: hidden;
}
#topBox h1 {
  background: #f3f1e7;
  margin: 140px 0 40px;
  padding: 0;
  display: flex;
  align-items: center;
  position: relative;
  height: 130px;
  margin-left: 5%;
  padding-left: 5%;

}
#topBox h1 .title {
  font-size: clamp(24px, 4vw, 40px);
  display: block;
  font-weight: bold;
font-family: YuMincho, "Hiragino Mincho ProN", serif;	
  position: relative;
  z-index: 2;
  margin-left: 2%;
}
#topBox h1 .deco {
  font-size: 54px;
  display: block;
  font-weight: normal;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #ffffffa1;
  line-height: 1;
}
@media screen and (min-width: 768px), print {
  #topBox h1 {
    margin: 140px 0 40px;
    height: 160px;
    margin-left: 5%;
    padding-left: 5%;
  }
  #topBox h1 .title br {
    display: none;
  }
  #topBox h1 .deco {
    font-size: 64px;
  }
}
@media screen and (min-width: 980px), print {
  #topBox h1 {
    margin: 140px auto 40px;
    height: 220px;
    max-width: 960px;
    padding-left: 5%;
    position: relative;
  }
  #topBox h1::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 4000px;
    height: 220px;
    background: #f3f1e7;
  }
  #topBox h1 .deco {
    font-size: 90px;
    padding-bottom: 10px;
  }
}
/*共通パーツここまで*/

#leadBox {
  max-width: 960px;
  margin: 0 3.6%;
}

#leadBox h2{
font-size: clamp(20px, 4vw, 36px);
display: block;
font-weight: bold;
font-family: YuMincho, "Hiragino Mincho ProN", serif;
padding: 0;
	text-align: center;
    margin-left: -1em;
    margin-right: -1em;	
}

#leadBox h2 span{
	display: inline-block;
	vertical-align: middle;	
}

#leadBox h2:before,
#leadBox h2:after{
    display: inline-block;
    content: "～";

}

#leadBox h2:after{

}

#leadBox p {
  margin: 1rem 0 0;
	margin-left: 1em; 
text-indent: -1em; 
}

@media screen and (min-width: 980px), print {
  #leadBox {
    max-width: 960px;

  }
  #leadBox p {

  }
  #leadBox .fBox figure figcaption {
    font-size: 16px;
  }
}
/*-------------*/

#commitment {
  margin: 0 5% 4rem;
}
#commitment h3 {
font-size: clamp(18px, 4vw, 24px);
display: block;
font-weight: bold;
font-family: YuMincho, "Hiragino Mincho ProN", serif;
position: relative;
z-index: 2;
padding: 0;
margin-bottom: 1.2em;
}

#commitment .inBox {
  padding: 3rem 0;
}

.flowList{
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.flowList li{
    display: flex;
    align-items:flex-start;
    justify-content: space-between;
	position: relative;
}

.flowList .flowNum{
width: 13.5vw;
height:13.5vw;
line-height:13.5vw;
border-radius: 50%;
background-color: #f3f1e7;
border: #b8b8b8 solid 1px;
text-align: center;
color: #b8b8b8;
  font-family: "Century Gothic", sans-serif;
font-size: clamp(14px, 4vw, 50px);
	position: relative;
}

.flowList li:before{
left:6.6vw;
top:7vw;
height: 0;
/*height: calc(100% - 3.5vw);	*/	
content: "";
display: block;
width: 0;
position: absolute;
border-left: 1px solid #b8b8b8;
z-index:-1;	
transition: height 1.4s linear;		
}

.flowList li.nm-active:before{
height: calc(100% - 3.5vw);	
}

.flowList li:last-child:before{
border: none;
}


.flowList .flowDtl{
	width: calc(95% - 13.5vw);
	padding: 1.2rem 0;
	position: relative;
} 

.flowList .flowDtl p{
	margin-top: 1em;
}

.txPer{
 display: flex;
  justify-content: flex-end;

}

.txPer span{
	border-top:#b8b8b8 solid 1px;
	border-bottom: #b8b8b8 solid 1px;
	padding: 0.6rem 3rem;	
	margin-top: 1.5rem;
	display: inline-block;	
	color: #7E7E7E;
	font-size: 115%;
	background-color: #fff;
}

#flow02 .flowDtl:after,
#flow04 .flowDtl:after,
#flow06 .flowDtl:after,
#flow09 .flowDtl:after{
content: '';
width:70%;
min-height: 160px;
position: absolute;
right: -60px;
top: 20px;
background-repeat: no-repeat;
background-position: right bottom;
background-size: contain;
z-index: -1;

}
#flow02 .flowDtl:after{
	background-image: url("../img/img_flow/flow_bg_02.jpg");
}
#flow04 .flowDtl:after{
	background-image: url("../img/img_flow/flow_bg_04.jpg");	
}
#flow06 .flowDtl:after{
	background-image: url("../img/img_flow/flow_bg_06.jpg");
}
#flow09 .flowDtl:after{
	background-image: url("../img/img_flow/flow_bg_09.jpg");	
}



@media screen and (min-width: 980px), print {
  #commitment {
    max-width: 960px;
    margin: 0 auto;
  }
  #commitment .inBox {
    padding: 3rem 0;
  }
	
.flowList .flowNum{
width: 144px;
height:144px;
line-height:144px;
}	
	
.flowList .flowDtl {
    width: calc(95% - 144px);
padding: 3.5rem 0;	
}	
	
.txPer span {
    padding: 0.6rem 4rem;
}	
	
	
.flowList li:before {
    left: 72px;
}	
#flow02 .flowDtl:after,
#flow04 .flowDtl:after,
#flow06 .flowDtl:after,
#flow09 .flowDtl:after{
width:342px;
min-height: 260px;
right: -100px;
top: -20px;
}	
	
	
}