:root {
  --gold: #baa073;
  --viewport: 750;
}

.flow .contents {
  max-width: 1180px;
  margin: 0 auto;
}

.flow-wrap {
  padding: calc(100vw / var(--viewport) * 72) 0;
}


@media screen and (min-width:768px) {
  .flow-wrap {
    padding: 73px 0 102px;
  }
  .flow .title {
    margin-bottom: 46px;
  }
}

@media screen and (min-width: 834px) {
  .pc_flex {
      display: flex;
      justify-content: space-between;
  }
}

.contents-sp {
  padding-right: 5.3vw;
  padding-left: 5.3vw;
}
@media screen and (min-width: 768px) {
  .contents-sp {
      padding: 0 40px;
  }
}



.flow-cta:nth-child(2){
  width: calc(100vw / var(--viewport) * 645);
}

@media screen and (min-width:768px) {
  .flow-cta.cta2:nth-child(2){
    width: 774px;
  }
  .ctaArea .flow-cta.cta2:nth-child(2){
    margin-bottom: 0;
  }
  .case .ctaArea .flow-cta.cta2:nth-child(2){
    margin-bottom: 66px;
  }
}


.flow-cta{
  margin-bottom: 8vw;
}



.flow .title{
  margin: 0 auto 50.6px;
  color: #000;
  font-weight: 900;
  font-size: 5.6vw;
  line-height: 1.38;
  text-align: center;
  margin-bottom: calc(100vw / var(--viewport) * 38);
}
.flow-wrap{
  padding: 71px 0 79px;
}
@media screen and (min-width: 768px) {
  .flow .title {
    font-size: 34px;
  }
}


@media screen and (min-width: 834px){
  .flow .title{
    margin-bottom: 46.8px;
  }
  .flow-wrap{
    padding: 100px 0 64px;
  }
  .flow-cta{
    display: block;
    margin-bottom: 88.7px;
  }
}

.flow-box{
  margin-bottom: calc(100vw / var(--viewport) * 47);
}
.flow-box.no-margin{
  margin-bottom: 0;
}
@media screen and (min-width: 834px){
  .flow-box{
    display: flex;
    flex-direction: column;
    width: 48.25%;
    margin-bottom: 37px;
  }
  .flow-box.no-margin02{
    margin-bottom: 0;
  }
}

.flow-midashi{
  display: flex;
  justify-content: space-between;
  color: #fff;
}

.flow-number{
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100vw / var(--viewport) * 79.02);
  max-width: 79.02px;
  height: calc(100vw / var(--viewport) * 79.02);
  max-height: 79.02px;
  margin-right: 1.4vw;
  color: var(--gold);
  font-weight: 900;
  font-size: 5.733vw;
  line-height: 1.39;
  background: #000;
}
.flow-title{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: calc(100vw / var(--viewport) * 79.02);
  max-height: 79.02px;
  font-size: 4.533vw;
  line-height: 1.36;
  letter-spacing: 0;
  background: #000;
}

@media screen and (min-width: 768px){
  .flow-number{
    font-size: 43px;
  }
  .flow-title{
    font-size: 34px;
  }
}
@media screen and (min-width: 834px){
  .flow-number{
    width: 63px;
    height: 63px;
    margin-right: 5px;
    font-size: 35px;
  }
  .flow-title{
    height: 63px;
    font-size: 27px;
  }
  .flow-title.title01{
    letter-spacing: -1px;
  }
}
@media screen and (min-width: 960px){
  .flow-number{
    margin-right: 8px;
  }
  .flow-title.title01{
    letter-spacing: 0;
  }
}

.flow-area{
  display: flex;
  justify-content: space-between;
  color: #000;
}
.flow-area-left{
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  justify-content: center;
  width: 52%;
  padding: 0 calc(100vw / var(--viewport) * 20) 0 calc(100vw / var(--viewport) * 26);
  line-height: 1.54;
  text-align: left;
  /* background: #EFEFEF; */
  background: #FFFFFF;
}
.flow-area-right{
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  justify-content: center;
  width: 48%;
  padding-left: 1.24vw;
}
.flow-img{
  width: 100%;
  height: 100%;
}

@media screen and (min-width: 834px){
  .flow-area{
    flex: 1;
  }
  .flow-area-left{
    padding: 5px 3px;
  }
  .flow-area-right{
    padding-left: 0;
  }
}
@media screen and (min-width: 960px){
  .flow-area-left{
    padding: 0 1vw;
  }
  .flow-area-right{
    padding-left: 0.4vw;
  }
}
@media screen and (min-width: 1480px){
  .flow-area-left{
    padding: 0 19px;
  }
  .flow-area-right{
    padding-left: 7.3px;
  }
}

.flow-text01{
  margin-bottom: 7px;
  font-size: 2.533vw;
  line-height: 1.157;
  letter-spacing: 0;
}
.flow-text-box{
  width: 100%;
  margin-top: 2px;
  padding: 3px 0;
  font-size: 2.667vw;
  line-height: 1.45;
  letter-spacing: 0.1em;
  text-align: center;
  background: #BBA170;
}
.flow-text-box a{
  color: #fff;
}
.flow-text02{
  font-size: 4.933vw;
  line-height: 1.51;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.flow-text03{
  font-size: 3.067vw;
  line-height: 1.39;
  letter-spacing: 0.1em;
}
.flow-text04{
  font-size: 2.933vw;
  line-height: 1.54;
  letter-spacing: 0;
}

@media screen and (min-width: 768px){
  .flow-text01{
    font-size: 19px;
  }
  .flow-text-box{
    font-size: 20px;
  }
  .flow-text02{
    font-size: 37px;
  }
  .flow-text03{
    font-size: 23px;
  }
  .flow-text04{
    font-size: 22px;
  }
}
@media screen and (min-width: 834px){
  .flow-text01{
    font-size: 15px;
    letter-spacing: -1px;
  }
  .flow-text-box{
    font-size: 15px;
    letter-spacing: 0;
  }
  .flow-text02{
    font-size: 24px;
    letter-spacing: 0.07em;
  }
  .flow-text03{
    font-size: 18px;
    letter-spacing: 0;
  }
  .flow-text04{
    font-size: 16px;
  }
}
@media screen and (min-width: 960px){
  .flow-text01{
    letter-spacing: 0;
  }
  .flow-text-box{
    letter-spacing: 0.1em;
  }
  .flow-text02{
    font-size: 29px;
    letter-spacing: 0.02em;
  }
  .flow-text03{
    letter-spacing: 0.03em;
  }
}
@media screen and (min-width: 1040px){
  .flow-text02{
    letter-spacing: 0.07em;
  }
  .flow-text03{
    letter-spacing: 0.05em;
  }
}
@media screen and (min-width: 1140px){
  .flow-text02{
    letter-spacing: 0.1em;
  }
  .flow-text03{
    letter-spacing: 0.1em;
  }
}
