@charset "UTF-8";

.tel_box{
  padding: 0 60px 30px 60px;
}

.tel_box .headTxt{
  border-bottom: 1px #ccc solid;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.lead{
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.lead p{
  font-size: 2.2rem;
}
.lead .sub{
    font-size: 1.5rem;
    color: #666;
    margin-left: 1em;
}

/*tab --------*/
[hidden] { display: none !important; }
.tabs{
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.tabs .tab{
  background: #fff;
  border: none;
  font-size: 2rem;
  padding: 17px 0;
  position: relative;
  margin-bottom: 25px;
  color: var(--color-d-blue);
  border-radius: 40px;
  font-weight: 700;
  border: 1px solid;
  border-color: var(--color-d-blue);
}
.tabs .is-active::after{
  content: '';
  background: url('../../img/page/flow/arrow-on.svg') no-repeat center center;
  width: 22px;
  height: 17px;
  position: absolute;
  bottom: -16px; 
  margin: 0 auto;
  right: 0;
  left: 0;  
}
.tabs .is-active{
  background: var(--color-l-blue);
  color: #fff;
}

/*flow list --------*/
.flow .list span{
  font-weight: 700;
  font-size: 2.5rem;
  margin-right: 0.5rem;
  vertical-align:bottom;
}
.flow .list{
  padding: 15px;
  font-size: 1.8rem;
  position: relative;
  height: 100%;
  text-align: center;
}
.flow h4{
  font-weight: 500;
}
.flow li{
  position: relative;
  margin-bottom: 3em;
}
.flow > li::after{
  content: '';
  background: url('../../img/page/flow/arrow-down.svg') no-repeat center center;
  width: 41 px;
  height: 14px;
  position: absolute;
  bottom: -30px; 
  margin: 0 auto;
  right: 0;
  left: 0;
}
.flow > li:last-child::after{
  background: none;
}
.notes{
  display: inline-block;
  margin: 15px auto 0 auto;
  text-align: left;
}
.notes li{
  background: none;
  margin-bottom: 0;
  color: #000;
  line-height: 1.5em;
  text-indent: -0.5em;
}
.flow {
  margin-top: 10px;
}
.flow .flow_c{
  background: #eaf7f5;
  color: var(--color-e-green);
  border: 1px solid;
  border-color:var(--color-e-green) ;
} 
.flow .flow_n{
  background: #f0f4fa;
  color: var(--color-n-blue);
  border: 1px solid;
  border-color:var(--color-n-blue) ;
} 
.flow .flow_a{
  background: #f2f2f2;
  color: #1a1a1a;
  border: 1px solid;
  border-color:#ccc ;
} 

@media screen and (max-width: 767px) {
  .tel_box .headTxt{
    padding-top: 20px;
    margin-bottom: 10px;

  }
  .lead .sub{
      margin-left: 0.5em;
      font-size: 1.2rem;
  }
  .lead p{
    font-size: 1.5rem;
  }
  .tabs{
    gap: 10px;
  }
  .tabs .tab{
    border-radius: 30px;
    font-size: 1.7rem;
    padding: 10px 0;
  }
  .flow .list{
    font-size: 1.5rem;
    padding: 5px;    
  }
  .tel_box{
    padding: 0 10px 30px 10px;
  }
  .flow .list span{
    font-size: 1.8rem;
  }
  .flow .list{
    text-align: left;
    text-indent: -1.5em;
    padding-left: 2.5em;
  }
  .tabs .tab{
    margin-bottom: 15px;
  }
  .tabs .is-active::after{
    content: '';
    background: url('../../img/page/flow/arrow-on.svg') no-repeat center center;  
  }
}