/*------------------------------------------------------------
common
------------------------------------------------------------*/
body {
  font-family: 'Noto Sans JP', 'Century Gothic', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 游ゴシック体, YuGothic, "Yu Gothic Medium", 游ゴシック, 'Yu Gothic', メイリオ, Meiryo, sans-serif;
}

#flow {
  font-size: 13px;
  font-weight: 500;
  color: #313131;
  overflow: hidden;
  background: #fff;
  position: relative;
}

#flow * {
  box-sizing: border-box;
}

#flow a {
  transition: opacity .3s;
}

#flow a[href^="tel:"] {
  display: inline-block;
  transition: none;
}

#flow a:hover {
  text-decoration: none;
}

#flow a:focus-visible {
  outline: none;
}

#flow img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

#flow .js-fadein {
  opacity: 0;
  transform: translate(0, 20px);
  transition-property: opacity, transform;
  transition-duration: 1s;
}

#flow .scroll-in {
  opacity: 1;
  transform: translate(0, 0);
}

#flow .pc-br {
  display: none;
}

#flow .sp-br {
  display: inline;
}

#flow .txt{
  font-size: 14px;
  line-height: 1.78;
}

#flow .font-hand{
  font-family: adobe-handwriting-ernie, sans-serif;
  font-weight: 400;
  font-style: normal;
}

#flow .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 #flow .font-pen{
    font-weight: 500;
    text-stroke: 1px #fff;
    -webkit-text-stroke: 1px #fff;
  }
}

#flow .font-kaku{
  font-weight: 700;
}

#flow .font-cen{
  font-family: century-gothic, sans-serif;
  font-weight: 700;
  font-style: normal;
}

#flow .inner {
  width: calc(100% - 44px);
  min-width: 330px;
  max-width: 1160px;
  margin: 0 auto;
}

@media print, screen and (max-width: 340px){
  #flow .inner{
    min-width: auto;
  }
}

#flow .main-block{
  position: relative;
  z-index: 0;
  padding: 165px 0 0;
}

#flow .main-block::before{
  position: absolute;
  content: "";
  width: calc(100% - 50px);
  height: 200px;
  right: 0;
  top: 0;
  background: url("../images/flow/flow_mainimg_sp.jpg")no-repeat bottom right / cover;
  z-index: -1;
}

#flow .main-txt{
  position: relative;
  height: 70px;
  padding: 40px 0 0 50px;
  z-index: 0;
}

#flow .main-txt::before{
  position: absolute;
  content: "";
  background-color: #fff;
  width: 250px;
  height: 70px;
  top: 0;
  left: 0;
  z-index: -1; 
}

#flow .main-txt .en{
  display: block;
  color: #60B459;
  font-size: 23px;
}

#flow .main-txt .en .amp{
  padding: 0 3px 0 5px;
  font-size: 13px;
  font-weight: 700;
}

#flow .main-txt .ja{
  display: block;
  font-size: 20px;
}

#flow .flow-content-wrapper{
  margin: 75px 0 50px;
}

#flow .flow-ttl{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 125px);
  margin: 0 auto;
  padding-bottom: 10px;
  height: 65px;
  background-color: #fff;
  font-size: 20px;
  z-index: 0;
  xtransform: translateY(-67px);
}

#flow .flow-ttl .en {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #DFF0DE;
  font-size: 60px;
  transform: rotate(-10deg);
  z-index: -1;
}

#flow #flow01 {
  padding-top: 0;
}

#flow #flow01 .flow-bg{
  padding-bottom: 50px;
  background-color: #F7FCF5;
}

#flow .flow-list{
  margin: 50px 0 0;
  background-color: #fff;
  overflow: hidden;
}

#flow .flow-item{
  position: relative;
  padding: 50px 25px;
  z-index: 2;
}

#flow .flow-item::before{
  position: absolute;
  content: "";
  width: calc(100% - 51px);
  height: 20px;
  left: 50%;
  bottom: -20px;
  transform: translateX(-50%);
  background-color: #fff;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  z-index: 1;
}

#flow .flow-item:first-of-type{
  padding-top: 30px;
}

#flow .flow-item:nth-of-type(2n-1){
  background-color: #E8F4E5;
  z-index: 1;
}

#flow .flow-item:nth-of-type(2n-1)::before{
  background-color: #E8F4E5;
}

#flow .flow-item-txt-block{
  margin-top: 15px;
}

#flow .flow-item-ttl{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

#flow .point-num{
  width: 75px;
  margin-bottom: 15px;
  padding-left: 10px;
  color: #60B459;
  font-size: 20px;
  line-height: 1;
  transform: rotate(-20deg);
}

#flow .point-num .num{
  position: relative;
  display: block;
  font-size: 40px;
  z-index: 0;
}

#flow .point-num .num::before{
  position: absolute;
  content: "";
  width: 70px;
  height: 30px;
  background: url("../images/flow/flow_bg01.png")no-repeat center center / contain;
  bottom: 0;
  left: -18px;
  transform: rotate(20deg);
  z-index: -1;
}

#flow .flow-item-ttl .ttl{
  width: calc(100% - 90px);
  font-size: 16px;
  line-height: 1.5625;
}

#flow .flow-note{
  margin-top: 15px;
}

#flow .note-ttl{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  border-bottom: solid 2px #60B459;
}

#flow .note-ttl .note{
  position: relative;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  padding: 2px 5px 0 10px;
  background-color: #60B459;
  color: #fff;
  font-size: 14px;
}

#flow .note-ttl.line2 .note{
  height: 40px;
  line-height: 1.285;
}

#flow .note-ttl .note::before{
  position: absolute;
  content: "";
  width: 16px;
  height: calc(100% + 1px);
  background-color: #60B459;
  clip-path: polygon(0 0, 0 100%, 100% 100%);
  right: -15px;
  top: 0;
}

#flow .note-ttl .ttl{
  font-size: 14px;
}

#flow .note-txt{
  margin-top: 2px;
  font-size: 12px;
}

#flow #flow02 .flow-bg{
  position: relative;
  margin-top: 75px;
}

#flow #flow02 .flow-bg::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 125px;
  background: url("../images/flow/flow_faq_main_sp.jpg") no-repeat center center / cover;
}

#flow #flow02 .flow-ttl{
  margin-bottom: 110px;
}

#flow #flow02 .flow-ttl .en {
  color: #FCDAC0;
}

#flow #flow02 .inner{
  width: calc(100% - 24px);
}

#flow .faq-content:first-of-type{
  margin-bottom: 60px;
}

#flow .faq-content-ttl{
  position: relative;
  margin-bottom: 38px;
  font-size: 18px;
  text-align: center;
  z-index: 0;
}

#flow .faq-content-ttl::before{
  position: absolute;
  content: "";
  width: 24px;
  height: 2px;
  bottom: -5px;
  left: calc(50% - 12px);
  /*background: url("../images/flow/flow_bg02.png")no-repeat center center / contain;*/
  background-color: #FD8C34;
  z-index: -1;
}

#flow .faq-content:nth-of-type(2) .faq-content-ttl::before{
  /*background-image: url("../images/flow/flow_bg03.png");*/
  background-color: #FA5145;
}

#flow .faq-item{
  margin-bottom: 10px;
  padding: 15px 10px;
  background-color: #FCF9F5;
}

#flow .faq-content:nth-of-type(2) .faq-item{
  background-color: #FFEDEC;
}

#flow .faq-item:last-of-type{
  margin-bottom: 0;
}

#flow .faq-ttl{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#flow .faq-ttl .q,
#flow .faq-txt .a{
  width: 26px;
  color: #FD8C34;
  font-size: 23px;
  line-height: 1;
}

#flow .faq-content:nth-of-type(2) .faq-ttl .q,
#flow .faq-content:nth-of-type(2) .faq-txt .a{
  color: #FA5145;
}

#flow .faq-ttl .ttl{
  width: calc(100% - 36px);
  margin-bottom: 15px;
  font-size: 18px;
  line-height: 1.55;
}

#flow .faq-txt{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 15px 10px;
  background-color: #fff;
}

#flow .faq-txt .txt{
  width: calc(100% - 41px);
}

@media print, screen and (min-width: 768px) {
  
  #flow .sp-br {
    display: none;
  }
  
  #flow .pc-br {
    display: inline;
  }
  
  #flow .txt{
    font-size: 18px;
    line-height: 2;
  }
  
  #flow .main-block{
  padding: 220px 0 0;
  }

  #flow .main-block::before{
    width: calc(100vw / 1920 * 1700);
    height: 400px;
    background: url("../images/flow/flow_mainimg_pc.jpg")no-repeat center center / cover;
  }

  #flow .main-txt{
    max-width: 1160px;
    margin: 0 auto;
    width: calc(100% - 40px);
    height: 180px;
    padding: 74px 0 0;
  }

  #flow .main-txt::before{
    width: calc(50vw - 60px);
    height: 180px;
    left: calc(580px - 50vw);
  }

  #flow .main-txt .en{
    font-size: 46px;
  }
  
  #flow .main-txt .en .amp{
    padding: 0 14px 0 20px;
    font-size: 26px;
  }

  #flow .main-txt .ja{
    font-size: 36px;
  }
  
  #flow .flow-content-wrapper{
    margin: 120px 0 100px;
  }
  
  #flow .flow-ttl{ 
    width: calc(100% - 240px);
    max-width: 960px;
    margin: 0 auto;
    padding-bottom: 20px;
    height: 160px;
    font-size: 36px;
    /*transform: translateY(-165px);*/
  }

  #flow .flow-ttl .en{
    font-size: 150px;
    transform: none;
  }
  
  #flow .flow-bg{
    padding-bottom: 120px;
  }
  
  #flow #flow01 .flow-bg{
    padding-bottom: 80px;
  }

  #flow .flow-list{
    margin: 120px 0 0;
  }

  #flow .flow-item{
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 80px 40px 60px;
  }

  #flow .flow-item::before{
    width: 600px;
    height: 40px;
    bottom: -40px;
  }

  #flow .flow-item:first-of-type{
    padding-top: 60px;
  }

  #flow .flow-item-img{
    width: calc(50% - 40px);
  }
  
  #flow .flow-item-txt-block{
    width: calc(50% + 20px);
    margin-top: 0;
  }

  #flow .point-num{
    width: auto;
    margin-bottom: 30px;
    font-size: 40px;
  }

  #flow .point-num .num{
    font-size: 80px;
  }

  #flow .point-num .num::before{
    width: 150px;
    height: 60px;
    bottom: -2px;
    left: -40px;
  }

  #flow .flow-item-ttl{
    padding-left: 20px;
  }
  
  #flow .flow-item-ttl .ttl{
    width: calc(100% - 160px);
    padding-bottom: 20px;
    font-size: 24px;
    line-height: 1.75;
  }

  #flow .flow-note{
    margin-top: 20px;
  }

  #flow .note-ttl .note{
    height: 30px;
    margin-right: 40px;
    padding: 2px 10px 0 20px;
    font-size: 16px;
  }

  #flow .note-ttl.line2 .note{
    height: 30px;
  }

  #flow .note-ttl .note::before{
    width: 21px;
    right: -20px
  }

  #flow .note-ttl .ttl{
    font-size: 18px;
  }

  #flow .note-txt{
    margin: 0 0 0 148px;
    font-size: 16px;
  }

  #flow #flow02 .flow-bg{
    margin-top: 120px;
  }

  #flow #flow02 .flow-bg::before {
    height: 360px;
    background-image: url("../images/flow/flow_faq_main_pc.jpg");
  }

  #flow #flow02 .flow-ttl{
    margin-bottom: 320px;
  }

  #flow .faq-content:first-of-type{
    margin-bottom: 118px;
  }

  #flow .faq-content-ttl{
    margin-bottom: 94px;
    font-size: 36px;
  }

  #flow .faq-content-ttl::before{
    width: 30px;
    height: 4px;
    bottom: -10px;
    left: calc(50% - 15px);
  }

  #flow .faq-item{
    padding: 24px 20px 20px;
  }

  #flow .faq-ttl .q,
  #flow .faq-txt .a{
    width: 40px;
    font-size: 36px;
  }

  #flow .faq-ttl .ttl{
    width: calc(100% - 50px);
    margin-bottom: 20px;
    font-size: 24px;
  }

  #flow .faq-txt{
    padding: 24px 80px 30px 30px;
  }

  #flow .faq-txt .txt{
    width: calc(100% - 50px);
  }
}
