/*------------------------------------------------------------
common
------------------------------------------------------------*/
body {
  font-family: 'Noto Sans JP', 'Century Gothic', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 游ゴシック体, YuGothic, "Yu Gothic Medium", 游ゴシック, 'Yu Gothic', メイリオ, Meiryo, sans-serif;
}

#referralForm {
  font-size: 13px;
  font-weight: 500;
  color: #231815;
  overflow: visible;
  background: #fff;
  position: relative;
}

#referralForm * {
  box-sizing: border-box;
}

#referralForm a {
  transition: opacity .3s;
  color: initial;
}

#referralForm a[href^="tel:"] {
  display: inline-block;
  transition: none;
}

#referralForm a:hover {
  text-decoration: none;
}

#referralForm a:focus-visible {
  outline: none;
}

#referralForm img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

#referralForm .js-fadein {
  opacity: 0;
  transform: translate(0, 20px);
  transition-property: opacity, transform;
  transition-duration: 1s;
}

#referralForm .scroll-in {
  opacity: 1;
  transform: translate(0, 0);
}

#referralForm .pc-br {
  display: none;
}

#referralForm .sp-br {
  display: inline;
}

#referralForm .font-hel{
  font-family: "helvetica-lt-pro", sans-serif;
  font-style: normal;
  font-weight: 700;
}

#referralForm .inline-block{
  display: inline-block;
}

#referralForm .inner {
  width: calc(100% - 24px);
  max-width: 1200px;
  margin: 0 auto;
}

#referralForm .inner-inside{
  width: calc(100% - 26px);
  margin: 0 auto;
}

#referralForm .txt{
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
}

#referralForm .red {
  color: #CC2936;
}


#referralForm .menu-list{
  width: 250px;
  margin: 60px auto;
}

#referralForm .menu-list .list-item{
  margin-bottom: 12px;
  border-top: solid 1px #EEEEEE;
  border-bottom: solid 1px #EEEEEE;
}

#referralForm .menu-list .list-item:last-of-type{
  margin-bottom: 0;
}

#referralForm .menu-list .list-item a{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 56px 8px 0;
  font-size: 14px;
  font-weight: 700;
}

#referralForm .menu-list .list-item a::before,
#referralForm .menu-list .list-item a::after{
  position: absolute;
  content: "";
  width: 25px;
  height: 25px;
  top: calc(50% - 12.5px);
  right: 25px;
  background: #EBA9AF;
  border-radius: 50%;
  z-index: 1;
}

#referralForm .menu-list .list-item a::after{
  background: url("../images/referral/arrow_white_down.svg")no-repeat center center / 12px 12px;
  z-index: 2;
}

#referralForm .common-ttl {
  padding-top: 38px;
}

#referralForm .common-ttl .en {
  display: block;
  font-size: 45px;
  line-height: 1;
  color: #F5D4D7;
  -webkit-text-stroke: 0.5px #D6545E;
  /*text-shadow: -1px -1px 0 #D6545E, 1px -1px 0 #D6545E, -1px 1px 0 #D6545E, 1px 1px 0 #D6545E;*/
  margin-bottom: 8px;
}

#referralForm .common-ttl .ja {
  display: block;
  font-size: 22px;
  line-height: 1.4;
}

#referralForm .common-ttl02 .en{
  padding: 2px 5px;
  background-color: #CC2936;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

#referralForm .common-ttl02 .ja{
  display: block;
  margin-top: 4px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .15em;
  line-height: 1;
  white-space: nowrap;
}

#referralForm .about{
  padding: 80px 0 60px;
}

#referralForm .about .common-ttl02{
  margin-bottom: 36px;
}

#referralForm .common-sub{
  position: relative;
  margin-bottom: 16px;
  padding-left: 20px;
  font-size: 20px;
  font-weight: 700;
}

#referralForm .common-sub::before{
  position: absolute;
  content: "";
  width: 12px;
  height: 12px;
  top: calc(50% - 6px);
  left: 0;
  background-color: #D6545E;
  border-radius: 50%;
}

#referralForm .overview.txt{
  margin-bottom: 36px;
}

#referralForm .about-merit{
  margin-bottom: 36px;
}

#referralForm .about-merit .txt-block{
  margin-bottom: 24px;

}
#referralForm .about-merit img{
  border-radius: 12px;
}

#referralForm .about-flow-list{
  display: flex;
  flex-direction: column;
  gap: 35px;
  width: 315px;
  margin: 36px auto 0;
}

#referralForm .about-flow-list .list-item{
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border: solid 2px #E07F86;
  border-radius: 8px;
}

#referralForm .about-flow-list .list-item:not(:last-of-type)::before{
  position: absolute;
  content: "";
  width: 25px;
  height: 25px;
  bottom: -32px;
  left: calc(50% - 12.5px);
  background: url("../images/referral/arrow_white_down.svg")no-repeat center center / 12px 12px;
  background-color: #B1B1B1;
  border-radius: 50%;
}

#referralForm .about-flow-list .icon{
  width: 65px;
}

#referralForm .about-flow-list .txt-block{
  width: calc(100% - 77px);
}

#referralForm .about-flow-list .flow-num{
  color: #CC2936;
  font-size: 30px;
  font-weight: 700;
  opacity: .2;
  line-height: 1;
}

#referralForm .about-flow-list .flow-txt{
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

#referralForm .about-flow-list .flow-txt .small{
  display: inline-block;
  line-height: 1.5;
  font-size: 14px;
}

#referralForm .note{
  padding: 40px 0;
  background: #F0F3F6;
}

#referralForm .note-inner{
  width: calc(100% - 50px);
  max-width: 960px;
  margin: 0 auto;
}

#referralForm .note-item:not(:last-of-type){
  margin-bottom: 16px;
}

#referralForm .note .red{
  margin-bottom: 4px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}
@media print, screen and (min-width: 768px) {
  
  #referralForm .sp-br {
    display: none;
  }
  
  #referralForm .pc-br {
    display: inline;
  }

  #referralForm .txt{
    font-size: 18px;
  }

  #referralForm .menu-list{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    width: 100%;
    max-width: 1200px;
    margin: 120px auto 200px;
  }

  #referralForm .menu-list .list-item{
    margin-bottom: 0;
    border: none;
    border-left: solid 1px #EEEEEE;
  }

  #referralForm .menu-list .list-item:last-of-type{
    border-right: solid 1px #EEEEEE;
  }

  #referralForm .menu-list .list-item a{
    padding: 5px 112px 5px 0;
    font-size: 18px;
    transition: letter-spacing .3s;
  }

  #referralForm .menu-list .list-item a::before,
  #referralForm .menu-list .list-item a::after{
    width: 26px;
    height: 26px;
    top: calc(50% - 13px);
    right: 62px;
  }

  #referralForm .common-ttl .en {
    font-size: 80px;
    -webkit-text-stroke: 1px #D6545E;
    margin-bottom: 16px; 
  }

  #referralForm .common-ttl .ja {
    font-size: 40px;
  }
  
  #referralForm .common-ttl02 .en{
    font-size: 16px;
  }

  #referralForm .common-ttl02 .ja{
    margin-top: 8px;
    font-size: 36px;
    letter-spacing: .1em;
  }
  
  #referralForm .about{
    padding: 160px 0 120px;
  }

  #referralForm .about .common-ttl02{
    margin-bottom: 72px;
  }

  #referralForm .common-sub{
    margin-bottom: 32px;
    padding-left: 28px;
    font-size: 26px;
  }

  #referralForm .common-sub::before{
    left: 4px;
  }

  #referralForm .overview.txt{
    margin-bottom: 72px;
  }

  #referralForm .about-merit{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 72px;
  }

  #referralForm .about-merit .txt-block{
    width: calc(100% - 584px);
  }
  
  #referralForm .about-merit .img-block{
    width: 560px;
  }
  
  #referralForm .about-merit img{
    border-radius: 24px;
  }

  #referralForm .about-flow-list{
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 50px;
    width: 100%;
    margin-top: 72px;
  }

  #referralForm .about-flow-list .list-item{
    flex-direction: column;
    padding: 14px 0;
    border-width: 4px;
    border-radius: 16px;
    text-align: center;
  }

  #referralForm .about-flow-list .list-item:not(:last-of-type)::before{
    width: 26px;
    height: 26px;
    bottom: calc(50% - 13px);
    left: calc(100% + 16px);
    transform: rotate(-90deg);
  }

  #referralForm .about-flow-list .icon{
    order: 1;
    width: 100px;
  }

  #referralForm .about-flow-list .txt-block{
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    width: 100%;
  }

  #referralForm .about-flow-list .flow-num{
    font-size: 40px;
  }

  #referralForm .about-flow-list .flow-txt{
    margin: auto 0;
    font-size: 18px;
  }

  #referralForm .note{
    padding: 80px 0;
  }
  
  #referralForm .note-item:not(:last-of-type){
    margin-bottom: 32px;
  }

  #referralForm .note .red{
    margin-bottom: 8px;
    font-size: 22px;
  }
}

@media print, screen and (min-width: 1201px){
  
  #referralForm .menu-list .list-item a:hover{
    letter-spacing: .2em;
  }
  
  #referralForm .menu-list .list-item a::before{
    transition: color .3s,transform .3s;
  }
  
  #referralForm .menu-list .list-item a:hover::before{
    background: #D6545E;
    transform: scale(1.38);
  }
}








#banner-page .main-block{
  position: relative;
}

#banner-page .inner{
  width: calc(100% - 24px);
  max-width: 1200px;
  margin: 0 auto;
}

#banner-page .main-block .main-ttl-block{
  position: relative;
  height: 80px;
  background: #fff;
  border-radius: 12px 12px 0 0;
  text-align: center;
  padding-top: 16px;
  margin-top: -80px;
}

#banner-page .main-block .main-ttl .ja{
  display: block;
  padding-left: .3em;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: .3em;
  line-height: 1.8;
}

#banner-page .main-block .main-ttl .en{
  display: block;
  font-size: 15px;
  line-height: 1;
  color: #CC2936;
  font-family: "helvetica-lt-pro", sans-serif;
  font-style: normal;
  font-weight: 700;
}

#referralArea .common-ttl02 .en{
  padding: 2px 5px;
  background-color: #CC2936;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

#referralArea .common-ttl02 .ja{
  display: block;
  margin-top: 4px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .3em;
  line-height: 1;
}

#referralArea .about{
  padding: 80px 0 60px;
}

#referralArea .about .common-ttl02{
  margin-bottom: 36px;
}
  
#referralArea .common-ttl02 {
  text-align: center;
}
#referralArea .common-ttl02 .ja {
  line-height: 1.2;
}
#referralArea .form-step {
  position: relative;
  width: 250px;
  display: flex;
  justify-content: space-between;
  margin: 28px auto;
  z-index: 0;
}
#referralArea .form-step::before {
  position: absolute;
  content: "";
  width: calc(100% - 20px);
  height: 1px;
  top: calc(50% - .5px);
  left: 10px;
  background: #CCCCCC;
  z-index: -1;
}
#referralArea .form-step-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ECECEC;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}
#referralArea .form-step-item.current {
  background: #505050;
  color: #fff;
}
#referralArea .form-step-item .num {
  display: block;
  font-size: 20px;
  line-height: 1;
}
#referralArea .form-note {
  width: calc(100% - 35px);
  margin: 0 auto 32px;
}
@media print, screen and (min-width: 768px) {
  
  #banner-page .main-block .main-img {
    height: calc(100vw / 1920 * 600);
    min-height: 600px;
  }
  
  #banner-page .main-block .main-img img {
    height: 100%;
    object-fit: cover;
  }

  #banner-page .main-block .main-ttl-block{
    height: 160px;
    border-radius: 24px 24px 0 0;
    padding-top: 32px;
    margin-top: -160px;
  }

  #banner-page .main-block .main-ttl .ja{
    font-size: 46px;
  }

  #banner-page .main-block .main-ttl .en{
    font-size: 30px;
  }
  
  #referralArea .sp-br{
    display: none;
  }
  
  #referralArea .common-ttl02 .en{
    font-size: 16px;
  }

  #referralArea .common-ttl02 .ja{
    margin-top: 8px;
    font-size: 36px;
    letter-spacing: .1em;
  }
  
  #referralArea .about{
    padding: 160px 0 120px;
  }

  #referraArea .about .common-ttl02{
    margin-bottom: 72px;
  }
  #referralArea .common-ttl02 .ja {
    font-size: 42px;
  }
  #referralArea .form-step {
    width: 400px;
    margin: 48px auto
  }
  #referralArea .form-step-item {
    width: 70px;
    height: 70px;
    font-size: 18px;
  }
  #referralArea .form-step-item .num {
    font-size: 22px;
  }
  #referralArea .form-note {
    width: 800px;
    margin: 0 auto 64px;
    font-weight: 500;
  }
}