@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: 40px 50px 0;
  text-align: center;
  background-color: #FFFFFF;
}
.yon_topbox h1{
  margin-bottom: 32px;
  font-size: 3.125rem;
  font-weight: bold;
  color: #222222;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.25s linear;
}
.yon_topbox p{
  line-height: 2;
  margin-bottom: 1.5em;
  font-size: 1.125rem;
  color: #333333;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.25s linear;
}
.yon_topbox p a{color: #333333;}
.yon_topbox ul{
  display: flex;
  justify-content: space-between;
}
.yon_topbox li{
  background: #FFFFFF;
  border: 3px solid #394384;
  opacity: 0;
  transform: translateY(20px);
}
.yon_topbox li:first-of-type{transition: all 0.25s linear 0.1s;}
.yon_topbox li:nth-of-type(2){transition: all 0.25s linear 0.2s;}
.yon_topbox li:last-of-type{transition: all 0.25s linear 0.3s;}
.yon_topbox li a{
  display: block;
  width: 220px;
  height: 50px;
  padding-top: 10px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: bold;
  color: #394384;
}

/*animation*/
.yon_topbox.active h1,
.yon_topbox.active p,
.yon_topbox.active li{
  transform: none;
  opacity: 1;
}




.yon_faqcontent{margin-bottom: 56px;}
.yon_faqcontent h2{
  margin-bottom: 64px;
  text-align: right;
  font-size: 3.75rem;
  font-weight: bold;
  color: #394384;
}
.yon_faqcontent h2 i{
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.25s linear 0.25s;
}
.yon_faqcontent 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_faqcontent dl{
  width: 872px;
  margin: 0 auto 40px;
}
.yon_faqcontent dl dt{
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.yon_faqcontent dl dt p:last-of-type{
  width: calc(100% - 75px);
  margin-left: 15px;
  font-size: 1.25rem;
  font-weight: bold;
  color: #000;
}
.yon_faqcontent dl dd{display: flex;}
.yon_faqcontent dl dd p:last-of-type{
  width: calc(100% - 75px);
  line-height: 1.75;
  margin-left: 15px;
  padding: 20px;
  color: #666666;
  background-color: #F7F7F7;
}
.yon_iconq{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 57px;
  height: 57px;
  border-radius: 100%;
  background-color: #394384;
}
.yon_icona{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 56px;
  height: 56px;
  border-radius: 100%;
  background-color: #FFFFFF;
  border: 3px solid #394384;
}

/*animation*/
.yon_union.active h2 i,
.yon_purchase.active h2 i,
.yon_borrow.active h2 i{
  opacity: 1;
  transform: none;
}
.yon_union.active h2::after{width: calc(420px + (100% - 1040px)/2);}
.yon_purchase.active h2::after{width: calc(663px + (100% - 1040px)/2);}
.yon_borrow.active h2::after{width: calc(548px + (100% - 1040px)/2);}




@media screen and (min-width:768px){
  .yon_topbox li a:hover{opacity: 0.5;}
}



















/*-----------------------------------------*/
/*--------------レスポンシブ---------------*/
/*-----------------------------------------*/
@media screen and (max-width:768px){
  .yon_top{
    text-align: center;
    background-size: auto 100%;
    background-repeat: no-repeat;
  }
  .yon_topbox{
    display: inline-block;
    width: auto;
    height: auto;
  }
  .yon_topbox div div{
    width: 408px;
    font-size: 1.25rem;
  }
  .yon_topbox p{
    padding: 0 40px;
    font-size: 0.875rem;
  }
  .yon_topbox li a{
    width: 152px;
    height: 46px;
    padding-top: 12px;
    font-size: 0.875rem;
  }

  .yon_union.active h2::after{width: 15%;}
  .yon_purchase.active h2::after{width: 45%;}
  .yon_borrow.active h2::after{width: 29%;}

  .yon_faqcontent dl{
    width: 100%;
    padding: 0 20px;
  }




}
@media screen and (max-width:420px){
  .yon_top{
    height: auto;
    margin-bottom: 40px;
    background: none;
  }
  .yon_topbox{
    position: relative;
    display: block;
    padding: 0;
  }
  .yon_spbg{
    padding: 10px 14px 0;
    background: url("../img/faq/ph_topbg_sp.jpg") center top no-repeat;
  }
  .yon_topbox div div{
    display: inline;
    width: auto;
  }
  .yon_topbox h1{font-size: 1.875rem;}
  .yon_topbox p span{display: block;}
  .yon_topbox ul{padding: 0 14px;}
  .yon_topbox li {border: 2px solid #394384;}
  .yon_topbox li a{
    width: 108px;
    height: 34px;
    padding-top: 8px;
    font-size: 0.625rem;
  }

  .yon_faqcontent h2{font-size: 1.75rem;}

  .yon_iconq,
  .yon_icona{
    width: 32px;
    height: 32px;
  }
  .yon_iconq img,
  .yon_icona img{width: 10px;}
  .yon_faqcontent dl dt p:last-of-type,
  .yon_faqcontent dl dd p:last-of-type{width: calc(100% - 47px);}
  .yon_faqcontent dl dt p:last-of-type{font-size: 1rem;}
  .yon_faqcontent dl dd p:last-of-type{
    padding: 10px;
    font-size: 0.875rem;
  }
}
@media screen and (max-width:375px){}
@media screen and (max-width:360px){}
@media screen and (max-width:320px){}


























