@charset "utf-8";
/* CSS Document */

.yon_top{
  margin-bottom: 136px;
  background: url("../img/purchase/ph_topbg.jpg") center top;
}
.yon_topbox{
  width: 800px;
  height: 464px;
  margin: auto;
  padding: 45px 30px 0;
  text-align: center;
  background-color: #FFFFFF;
}
.yon_topbox h1{
  margin-bottom: 30px;
  font-size: 3.125rem;
  font-weight: bold;
  color: #222222;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.25s linear;
}
.yon_topbox div{
  position: relative;
  width: 360px;
  margin: 0 auto 32px;
  font-size: 1.875rem;
  font-weight: bold;
  color: #394384;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.25s linear;
}
.yon_topbox div b{
  position: relative;
  z-index: 10;
}
.yon_topbox div::after{
  content: "";
  position: absolute;
  display: block;
  bottom: 5px;
  left: 0;
  width: 0;
  height: 5px;
  background-color: #FCE98D;
  z-index: 1;
  transition: all 0.5s linear 0.3s;
}
.yon_topbox p{
  line-height: 2;
  font-size: 1.125rem;
  color: #333333;
  text-shadow: 2px 2px #FFFFFF, 1px 2px #FFFFFF, 0 2px #FFFFFF, -1px 2px #FFFFFF, -2px 2px #FFFFFF, -2px -1px #FFFFFF, -2px 0 #FFFFFF, -2px -1px #FFFFFF, -2px -2px #FFFFFF, -1px -2px #FFFFFF, 0 -2px #FFFFFF, 1px -2px #FFFFFF, 2px -2px #FFFFFF, 2px -1px #FFFFFF, 2px 0 #FFFFFF, 2px 1px #FFFFFF;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.25s linear;
}

/*animation*/
.yon_topbox.active h1,
.yon_topbox.active div,
.yon_topbox.active p{
  transform: none;
  opacity: 1;
}
.yon_topbox.active div::after{width: 100%;}




.yon_merit{margin-bottom: 88px;}
.yon_merit h2{
  margin-bottom: 56px;
  font-size: 3.75rem;
  font-weight: bold;
  text-align: right;
  color: #394384;
}
.yon_merit h2 i{
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.25s linear 0.25s;
}
.yon_merit h2::after{
  content: "";
  display: inline-block;
  width: 0;
  margin-left: 24px;
  vertical-align: middle;
  border-top: 3px solid #394384;
  transition: all 0.25s linear;
}
.yon_list{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.yon_list div{
  width: 310px;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
}
.yon_list div:nth-of-type(1){transition: all 0.25s linear;}
.yon_list div:nth-of-type(2){transition: all 0.25s linear 0.1s;}
.yon_list div:nth-of-type(3){transition: all 0.25s linear 0.2s;}
.yon_list div:nth-of-type(4){transition: all 0.25s linear 0.3s;}
.yon_list div:nth-of-type(5){transition: all 0.25s linear 0.4s;}
.yon_list div:nth-of-type(6){transition: all 0.25s linear 0.5s;}
.yon_list div img{margin-bottom: 10px;}
.yon_list div p{
  font-size: 1.5rem;
  font-weight: bold;
  color: #222222;
}
.yon_list div p i{
  font-size: 1rem;
  vertical-align:baseline;
}


.yon_list div p span{color: #EB6060;}

/*animation*/
.yon_merit.active h2 i{
  transform: none;
  opacity: 1;
}
.yon_merit.active h2::after{width: calc(646px + (100% - 1040px)/2);}




.yon_system{position: relative;}
.yon_system h2{
  position: absolute;
  width: 100%;
  top: -54px;
  right: 0;
  font-size: 3.75rem;
  font-weight: bold;
  color: #394384;
}
.yon_system h2 i{
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.25s linear 0.25s;
}
.yon_system h2::before{
  content: "";
  display: inline-block;
  width: 0;
  margin-right: 24px;
  vertical-align: middle;
  border-top: 3px solid #394384;
  transition: all 0.25s linear;
}
.yon_flow{
  padding: 124px 0 96px;
  background-color: #F5F5F5;
  text-align: center;
}
.yon_flow img:last-of-type{display: none;}

/*animation*/
.yon_system.active h2 i{
  transform: none;
  opacity: 1;
}
.yon_system.active h2::before{width: calc(798px + (100% - 1040px)/2);}
@media screen and (min-width:769px){
  .yon_list.active div{
    opacity: 1;
    transform: none;
  }
}

.yon_fee{
  padding: 80px 0 96px;
  background-image: url("../img/borrow/ph_bgimg01.png");
  background-position: center top 136px;
  background-repeat: repeat-x;
}
.yon_fee h3{
  margin-bottom: 48px;
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  color: #394384;
}
.yon_fee h3 i{
  vertical-align: baseline;
  font-size: 1.25rem;
}
.yon_innerbox{
  width: 500px;
  margin: auto;
}
.yon_fee table{
  border: 1px solid #586197;
  background-color: #FFFFFF;
}
.yon_fee th{
  height: 40px;
  text-align: center;
  vertical-align: middle;
  font-size: 1.125rem;
  font-weight: bold;
  color: #FFFFFF;
  background: #586197;
}
.yon_fee th:first-of-type{width: 260px;}
.yon_fee th:last-of-type{width: 240px;}
.yon_fee td{
  height: 48px;
  vertical-align: middle;
  border-bottom: 1px solid #AEB2CC;
}
.yon_fee td:first-of-type{
  text-align: right;
  padding-right: 40px;
}
.yon_fee td:last-of-type{padding-left: 60px;}
.yon_teri{
  text-align: right;
  font-size: 0.875rem;
}
.yon_innerbox h4{
  margin-bottom: 12px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
}
.yon_txtex{
  margin-bottom: 12px;
  font-size: 1.125rem;
  color: #333;
}
.yon_txtres{
  margin-bottom: 30px;
  font-size: 1.125rem;
  font-weight: bold;
  color: #333333;
}
.yon_txtres span{
  display: block;
  color: #C87373;
}
.yon_fee li{
  display: flex;
  align-items: stretch;
  height: 50px;
  margin-bottom: 12px;
}
.yon_fee li:first-of-type{border: 1px solid #586197;}
.yon_fee li:last-of-type{border: 1px solid #C87373;}
.yon_fee li b{
  display: inline-block;
  width: 150px;
  margin-right: 25px;
  padding-top: 5px;
  text-align: center;
  font-size: 1.5rem;
  color: #FFFFFF;
}
.yon_fee li:first-of-type b{background-color: #586197;}
.yon_fee li:last-of-type b{background-color: #C87373;}
.yon_fee li span{
  display: inline-block;
  padding-top: 3px;
  font-size: 1.5rem;
  color: #333333;
}
.yon_fee li:last-of-type span{
  margin-left: 8px;
  font-weight: bold;
  color: #C87373;
}
.yon_fee li i{
  display: inline-block;
  margin-left: 12px;
  vertical-align: baseline;
  font-size: 1rem;
}




.yon_exam{
  padding: 100px 0 150px;
  background-color: #F5F5F5;
}
.yon_exam h3{
  margin-bottom: 32px;
  text-align: center;
  font-size: 1.625rem;
  font-weight: bold;
  color: #394384;
}

.yon_caselist{
  width: 830px;
  margin: auto;
  border: 1px solid #C9C9C9;
  border-radius: 8px;
  background-color: #FFFFFF;
}
.yon_caselist>li{
  padding: 30px 64px 50px;
  border-bottom: 1px solid #C9C9C9;
}
.yon_caselist li:last-of-type{border-bottom: none;}
.yon_caselist li h4{
  margin-bottom: 24px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #333333;
}
.yon_caselist li .yon_txt05{
  margin-bottom: 10px;
  font-size: 1.125rem;
  color: #333333;
}
.yon_caselist li .yon_txt06{
  margin-bottom: 30px;
  font-size: 0.875rem;
  color: #333333;
}
.yon_caselist li h5{
  margin-bottom: 30px;
  font-size: 1.125rem;
  font-weight: bold;
  color: #333333;
}
.yon_caselist li h5 span{color: #C87373;}


.yon_caselist li>ul{
  margin-bottom: 40px;
  font-size: 0.875rem;
  color: #333333;
}
.yon_caselist li img{margin: 0 0 10px 0;}
.yon_caselist li img:last-of-type{display: none;}
.yon_caselist li hr{
  margin: 16px 0 30px;
  border: none;
  border-bottom: 2px dotted #C9C9C9
}




.yon_itemlist{
  position: relative;
  margin-bottom: 75px;
  z-index: 1;
}
.yon_itemlist h2{
  margin-top: -54px;
  margin-bottom: 64px;
  text-align: right;
  font-size: 3.75rem;
  font-weight: bold;
  color: #394384;
}
.yon_itemlist h2 i{
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.25s linear 0.25s;
}
.yon_itemlist h2::after{
  content: "";
  display: inline-block;
  width: 0;
  margin-left: 24px;
  vertical-align: middle;
  border-bottom: 3px solid #394384;
  transition: all 0.25s linear;
}
.yon_itemlist ul{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 1000px;
  margin-bottom: 64px;
}
.yon_itemlist li{
  width: 150px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
}
.yon_itemlist li:nth-of-type(1){transition: all 0.25s linear;}
.yon_itemlist li:nth-of-type(2){transition: all 0.25s linear 0.1s;}
.yon_itemlist li:nth-of-type(3){transition: all 0.25s linear 0.2s;}
.yon_itemlist li:nth-of-type(4){transition: all 0.25s linear 0.3s;}
.yon_itemlist li:nth-of-type(5){transition: all 0.25s linear 0.4s;}
.yon_itemlist li:nth-of-type(6){transition: all 0.25s linear 0.5s;}
.yon_itemlist li:nth-of-type(7){transition: all 0.25s linear 0.6s;}
.yon_itemlist li:nth-of-type(8){transition: all 0.25s linear 0.7s;}
.yon_itemlist li:nth-of-type(9){transition: all 0.25s linear 0.8s;}
.yon_itemlist li:nth-of-type(10){transition: all 0.25s linear 0.9s;}
.yon_itemlist li:nth-of-type(11){transition: all 0.25s linear 1s;}
.yon_itemlist li:nth-of-type(12){transition: all 0.25s linear 1.1s;}
.yon_itemlist li:nth-of-type(13){transition: all 0.25s linear 1.2s;}
.yon_itemlist li:nth-of-type(14){transition: all 0.25s linear 1.3s;}
.yon_itemlist li:nth-of-type(15){transition: all 0.25s linear 1.4s;}
.yon_itemlist li:nth-of-type(16){transition: all 0.25s linear 1.5s;}
.yon_txt03{
  margin-bottom: 5px;
  text-align: center;
  font-weight: bold;
  font-size: 1.875rem;
  color: #222222;
}
.yon_txt04{
  margin-bottom: 16px;
  text-align: center;
  font-size: 1.25rem;
  color: #C72A2A;
}


/*animation*/
.yon_itemlist.active h2 i{
  transform: none;
  opacity: 1;
}
.yon_itemlist.active h2::after{width: calc(546px + ((100% - 1040px)/2));}
.yon_itemlist.active li{
  transform: none;
  opacity: 1;
}











/*-----------------------------------------*/
/*--------------レスポンシブ---------------*/
/*-----------------------------------------*/
@media screen and (max-width:768px){
  .yon_top{
    text-align: center;
    background-size: contain;
  }
  .yon_topbox{
    width: auto;
    display: inline-block;
  }
  .yon_topbox h1{margin-bottom: 10px;}
  .yon_topbox div{
    display: inline-block;
    width: auto;
    margin: 0 auto 48px;
    font-size: 1.25rem;
  }
  .yon_topbox p{font-size: 0.875rem;}

  .yon_merit.active h2::after{
    width: 46%;
    margin-left: 12px;
  }
  .yon_list{justify-content: space-around;}
  .yon_list div:nth-of-type(1){transition: all 0.25s linear;}
  .yon_list div:nth-of-type(2){transition: all 0.25s linear 0.1s;}
  .yon_list div:nth-of-type(3){transition: all 0.25s linear;}
  .yon_list div:nth-of-type(4){transition: all 0.25s linear 0.1s;}
  .yon_list div:nth-of-type(5){transition: all 0.25s linear;}
  .yon_list div:nth-of-type(6){transition: all 0.25s linear 0.1s;}
  .yon_list div.active{
    opacity: 1;
    transform: none;
  }

  .yon_system.active h2::before{
    width: 62%;
    margin-right: 12px;
  }
  .yon_exam{padding: 100px 20px 150px}
  .yon_caselist{width: 100%}

  .yon_itemlist.active h2::after{
    width: 30%;
    margin-left: 12px;
  }
  .yon_itemlist ul{
    justify-content: space-around;
    width: 100%;
    padding: 0 10px;
  }

}
@media screen and (max-width:420px){
  .yon_top{
    height: auto;
    margin-bottom: 56px;
    background-image: url("../img/borrow/ph_topbg_sp.jpg");
    background-size: auto;
    background-repeat: no-repeat;
  }
  .yon_topbox{
    height: auto;
    padding: 32px 0 0;
    background: none;
  }
  .yon_topbox h1{font-size: 1.875rem;}
  .yon_topbox p{max-width: 350px;}
  .yon_topbox p br{display: none;}
  .yon_topbox p span{display: inline-block;}

  .yon_merit h2{font-size: 1.875rem;}
  .yon_list div{width: 45%;}
  .yon_list div p{font-size: 1rem;}

  .yon_system h2{
    top: -26px;
    font-size: 1.875rem;
  }
  .yon_flow{padding: 80px 0 50px;}
  .yon_flow img:first-of-type{display: none;}
  .yon_flow img:last-of-type{display: inline;}

  .yon_fee{padding: 40px 20px 56px}
  .yon_fee h3{font-size: 1.75rem;}
  .yon_innerbox{width: 100%;}
  .yon_fee table{width: 100%;}
  .yon_fee td:first-of-type{padding-right: 30px;}
  .yon_fee td:last-of-type{padding-left: 40px;}
  .yon_fee li{height: 40px;}
  .yon_fee li b{
    width: 120px;
    margin-right: 8px;
    padding-top: 9px;
    font-size: 0.875rem;
  }
  .yon_fee li span{
    padding-top: 7px;
    font-size: 1rem;
  }
  .yon_fee li:last-of-type span{margin-left: 0;}
  .yon_fee li i{font-size: 0.875rem;}


  .yon_caselist>li{padding: 20px 10px;}
  .yon_caselist li h4{font-size: 1rem;}
  .yon_caselist li h5{font-size: 1rem;}
  .yon_caselist li .yon_txt05{font-size: 0.875rem;}
  .yon_caselist li>ul{font-size: 0.75rem;}
  .yon_caselist li img:first-of-type{display: none;}
  .yon_caselist li img:last-of-type{display: inline;}


  .yon_itemlist h2{
    margin-top: -26px;
    margin-bottom: 40px;
    font-size: 1.875rem;
  }
  .yon_itemlist ul{margin-bottom: 40px;}
  .yon_itemlist li{width: 30%;}
  .yon_itemlist li img{width: 100%;}

  .yon_txt03{font-size: 1rem;}
  .yon_txt04{
    padding: 0 20px;
    text-align: left;
    font-size: 0.875rem;
  }


}
@media screen and (max-width:375px){}
@media screen and (max-width:360px){}
@media screen and (max-width:320px){}

