/*------------------------------------------------------------
common
------------------------------------------------------------*/
body {
  font-family: 'Noto Sans JP', 'Century Gothic', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 游ゴシック体, YuGothic, "Yu Gothic Medium", 游ゴシック, 'Yu Gothic', メイリオ, Meiryo, sans-serif;
}

#reason {
  font-size: 13px;
  font-weight: 500;
  color: #313131;
  overflow: hidden;
  background: #fff;
  position: relative;
}

#reason * {
  box-sizing: border-box;
}

#reason a {
  transition: opacity .3s;
}

#reason a[href^="tel:"] {
  display: inline-block;
  transition: none;
}

#reason a:hover {
  text-decoration: none;
}

#reason a:focus-visible {
  outline: none;
}

#reason img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

#reason .js-fadein {
  opacity: 0;
  transform: translate(0, 20px);
  transition-property: opacity, transform;
  transition-duration: 1s;
}

#reason .scroll-in {
  opacity: 1;
  transform: translate(0, 0);
}

#reason .pc-br {
  display: none;
}

#reason .sp-br {
  display: inline;
}

#reason .txt{
  font-size: 14px;
  line-height: 1.78;
}

#reason .font-hand{
  font-family: adobe-handwriting-ernie, sans-serif;
  font-weight: 400;
  font-style: normal;
}

#reason .font-pen{
  font-family: vdl-penletter, sans-serif;
  font-weight: 700;
  font-style: normal;
}

@media print, screen and (min-width: 768px){
_::-webkit-full-page-media, _:future, :root #reason .font-pen{
    font-weight: 500;
    text-stroke: 1px #60B459;
    -webkit-text-stroke: 1px #60B459;
  }
}

#reason .font-kaku{
  font-weight: 700;
}

#reason .font-cen{
  font-family: century-gothic, sans-serif;
  font-weight: 700;
  font-style: normal;
}

#reason .inner {
  width: calc(100% - 44px); 
  max-width: 1200px;
  margin: 0 auto;
}

#reason .main-block{
  position: relative;
  z-index: 0;
  padding: 165px 0 0;
}


#reason .main-block::before{
  position: absolute;
  content: "";
  width: calc(100% - 50px);
  height: 200px;
  right: 0;
  top: 0;
  background: url("../images/reason/reason_mainimg_sp.jpg")no-repeat bottom right / cover;
  z-index: -1;
}

#reason .main-txt{
  position: relative;
  height: 70px;
  padding: 40px 0 0 50px;
  z-index: 0;
}

#reason .main-txt::before{
  position: absolute;
  content: "";
  background-color: #fff;
  width: 250px;
  height: 70px;
  top: 0;
  left: 0;
  z-index: -1; 
}

#reason .main-txt .en{
  display: block;
  color: #60B459;
  font-size: 23px;
}

#reason .main-txt .ja{
  display: block;
  font-size: 20px;
}

#reason .color{
  color: #60B459;
}

#reason .reason-content:nth-of-type(2) .color{
  color: #0394D7;
}

#reason .reason-content:nth-of-type(3) .color{
  color: #FA5145;
}

#reason .reason-content:nth-of-type(4) .color{
  color: #FD8C34;
}

#reason .reason-content-wrapper{
  margin: 75px 0 50px;
} 

#reason .reason-content:not(:last-of-type){
  margin-bottom: 75px;
}

@media print, screen and (min-width: 340px){
  #reason .content-main{
    min-width: 330px;
  }
}

#reason .content-main-block{
  margin-bottom: 50px;
}

#reason .content-main-img{
  margin-bottom: 15px;
}

#reason .content-main-number{
  padding: 0 0 5px 3px;
  color: #BFE1BC;
  font-size: 18px;
  line-height: 1;
}

#reason .reason-content:nth-of-type(2) .content-main-number{
  color: #B1DDF1;
}

#reason .reason-content:nth-of-type(3) .content-main-number{
  color: #FDB9B4;;
}

#reason .reason-content:nth-of-type(4) .content-main-number{
  color: #FCDAC0;
}

#reason .content-main-number .num{
  padding-left: 3px;
  font-size: 20px;
}

#reason .content-main-ttl{
  margin-bottom: 15px;
  font-size: 20px;
  line-height: 1.44;
  overflow: hidden;
}

#reason .content-main-ttl .line{
  position: relative;
  padding-right: 5px;
  z-index: 0;
}

#reason .content-main-ttl .line::before{
  position: absolute;
  content: "";
  width: 100%;
  height: 10px;
  bottom: -2px;;
  left: 0;
  xtransform: translateX(-100%);
  transition: all 1s;
  transition-delay: .5s;
  z-index: -1;
  background-color: #BFE1BC;
}

#reason .reason-content:nth-of-type(2) .content-main-ttl .line::before{
  background-color: #B1DDF1;
}

#reason .reason-content:nth-of-type(3) .content-main-ttl .line::before{
  background-color: #FDB9B4;
}

#reason .reason-content:nth-of-type(4) .content-main-ttl .line::before{
  background-color: #FCDAC0;
}

#reason .scroll-in .content-main-ttl .line::before{
  transform: none;
}

#reason .content-main-txt{
  font-size: 18px;
  line-height: 1.55;
}

#reason .content-block:not(:last-of-type){
  margin-bottom: 30px;
}

#reason .content-img-block{
  position: relative;
  width: calc(100% - 16px);
  margin: 0 -12px 0 auto;
  z-index: 0;
}

#reason .content-img-block::before{
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 10px;
  right: -10px;
  z-index: -1;
  background-color: #60B459;
}

#reason .reason-content:nth-of-type(2) .content-img-block::before{
  background-color: #0394D7;
}

#reason .reason-content:nth-of-type(3) .content-img-block::before{
  background-color: #FA5145;
}

#reason .reason-content:nth-of-type(4) .content-img-block::before{
  background-color: #FD8C34;
}

#reason .content-txt-block{
  position: relative;
  width: calc(100% - 19px);
  margin: -40px auto 0 0;
  padding: 20px 22px 20px 0;
  background-color: #fff;
  z-index: 1;
}

@media print, screen and (min-width: 340px){
  #reason .content-txt-block{
    min-width: 312px;
  }
}

#reason .content-ttl{
  margin-bottom: 15px;
  font-size: 16px;
  letter-spacing: -.05em;
  line-height: 1.5625;
}

#reason .reason-content:nth-of-type(3n+1) .content-block:nth-of-type(2n) .content-img-block,
#reason .reason-content:nth-of-type(3n+2) .content-block:nth-of-type(2n-1) .content-img-block,
#reason .reason-content:nth-of-type(3n+3) .content-block:nth-of-type(2n-1) .content-img-block{
  margin: 0 auto 0 -12px;
}

#reason .reason-content:nth-of-type(3n+1) .content-block:nth-of-type(2n) .content-img-block::before,
#reason .reason-content:nth-of-type(3n+2) .content-block:nth-of-type(2n-1) .content-img-block::before,
#reason .reason-content:nth-of-type(3n+3) .content-block:nth-of-type(2n-1) .content-img-block::before{
  right: auto;
  left: -10px;
}

#reason .reason-content:nth-of-type(3n+1) .content-block:nth-of-type(2n) .content-txt-block,
#reason .reason-content:nth-of-type(3n+2) .content-block:nth-of-type(2n-1) .content-txt-block,
#reason .reason-content:nth-of-type(3n+3) .content-block:nth-of-type(2n-1) .content-txt-block{
  margin: -40px 0 0 auto;
  padding: 20px 0 20px 22px;
}

@media print, screen and (min-width: 768px) {
  _::-webkit-full-page-media, _:future, :root #reason .reason-content:nth-of-type(2) .font-pen{
    font-weight: 500;
    text-stroke: 1px #0394D7;
    -webkit-text-stroke: 1px #0394D7;
  }

  _::-webkit-full-page-media, _:future, :root #reason .reason-content:nth-of-type(3) .font-pen{
    font-weight: 500;
    text-stroke: 1px #FA5145;
    -webkit-text-stroke: 1px #FA5145;
  }

  _::-webkit-full-page-media, _:future, :root #reason .reason-content:nth-of-type(4) .font-pen{
    font-weight: 500;
    text-stroke: 1px #FD8C34;
    -webkit-text-stroke: 1px #FD8C34;
  }

  #reason .sp-br {
    display: none;
  }
  
  #reason .pc-br {
    display: inline;
  }
  
  #reason .txt{
    font-size: 18px;
    line-height: 2;
  }
  
  #reason .main-block{
  padding: 220px 0 0;
  }

  #reason .main-block::before{
    width: calc(100vw / 1920 * 1700);
    height: 400px;
    background: url("../images/reason/reason_mainimg_pc.jpg")no-repeat center right / cover;
  }

  #reason .main-txt{
    max-width: 1160px;
    margin: 0 auto;
    width: calc(100% - 40px);
    height: 180px;
    padding: 74px 0 0;
  }

  #reason .main-txt::before{
    width: calc(50vw - 60px);
    height: 180px;
    left: calc(580px - 50vw);
  }

  #reason .main-txt .en{
    font-size: 46px;
  }

  #reason .main-txt .ja{
    font-size: 36px;
  }
  
  #reason .reason-content-wrapper{
    margin: 120px 0 100px;
  }

  #reason .reason-content:not(:last-of-type){
    margin-bottom: 120px;
  }

  #reason .content-main-block{
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 100px;
    padding: 0;
    height: 470px;
  }
  
  #reason .content-main-block .inner{
    display: flex;
    height: 100%;
    align-items: center;
  }
  
  #reason .content-main-img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  }
  
  #reason .content-main-img img{
    width: 100%;
    height: 470px;
    object-fit: cover;
  }
  
  #reason .content-main{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: calc(50% - 68px);
    height: calc(100% - 80px);
    margin-left: 10px;
    padding: 40px 40px 30px;
    background-color: rgba(255,255,255,.8);
    z-index: 1;
  }
  
  #reason .reason-content:nth-of-type(3n+2) .content-main,
  #reason .reason-content:nth-of-type(3n+3) .content-main{
    margin: 0 10px 0 auto;
  }

  #reason .content-main-number{
    padding: 0 0 0 6px;
    font-size: 36px;
  }

  #reason .content-main-number .num{
    padding-left: 4px;
    font-size: 40px;
  }

  #reason .content-main-ttl{
    margin-bottom: 50px;
    font-size: 32px;
    line-height: 1.5625;
  }

  #reason .content-main-ttl .line{
    padding: 0 10px;
  }

  #reason .content-main-ttl .line::before{
    height: 20px;
    bottom: -4px;
  }

  #reason .content-main-txt{
    font-size: 24px;
    line-height: 1.75;
  }

  #reason .content-block:not(:last-of-type){
    margin-bottom: 80px;
  }
  
  #reason .content-block{
    padding: 0 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  #reason .content-img-block{
    width: calc(50% - 10px);
    height: fit-content;
    margin: 0 10px 0 0;
  }

  #reason .content-img-block::before{
    top: 20px;
    right: -20px;
  }

  #reason .content-txt-block{
    width: calc(50% + 10px);
    margin: 80px -50px 0 40px;
    padding: 50px 50px 0 0;
  }

  #reason .content-ttl{
    margin-bottom: 40px;
    font-size: 24px;
    letter-spacing: 0;
    line-height: 1.75;
  }

  #reason .reason-content:nth-of-type(3n+1) .content-block:nth-of-type(2n-1),
  #reason .reason-content:nth-of-type(3n+2) .content-block:nth-of-type(2n),
  #reason .reason-content:nth-of-type(3n+3) .content-block:nth-of-type(2n){
    flex-direction: row-reverse;
  }
  
  #reason .reason-content:nth-of-type(3n+1) .content-block:nth-of-type(2n) .content-img-block,
  #reason .reason-content:nth-of-type(3n+2) .content-block:nth-of-type(2n-1) .content-img-block,
  #reason .reason-content:nth-of-type(3n+3) .content-block:nth-of-type(2n-1) .content-img-block{
    margin: 0 0 0 10px;
  }

  #reason .reason-content:nth-of-type(3n+1) .content-block:nth-of-type(2n) .content-img-block::before,
  #reason .reason-content:nth-of-type(3n+2) .content-block:nth-of-type(2n-1) .content-img-block::before,
  #reason .reason-content:nth-of-type(3n+3) .content-block:nth-of-type(2n-1) .content-img-block::before{
    left: -20px;
  }
  
  #reason .reason-content:nth-of-type(3n+1) .content-block:nth-of-type(2n) .content-txt-block,
  #reason .reason-content:nth-of-type(3n+2) .content-block:nth-of-type(2n-1) .content-txt-block,
  #reason .reason-content:nth-of-type(3n+3) .content-block:nth-of-type(2n-1) .content-txt-block{
    margin: 80px 40px 0 -50px;
    padding: 50px 0 0 50px;
  }

}
