@charset "UTF-8";
.page_visual {
  background: url("../img/page_visual.webp") no-repeat bottom center/cover;
}
.pc_block {display: block;}
.sp_block {display: none;}
.mt_20 {margin-top: 20px;}

.loan_sec {
  position: relative;
  background: #F0F0F0;
  padding: 48px 0 104px;
  .loan_hgroup {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-bottom: 32px;
    p {
      font: 900 4.2rem / 59px var(--font-family-en);
      letter-spacing: 0px;
      color: var(--main-color);
    }
    h2 {
      color: var(--main-color);
      font: bold 1.6rem / 24px var(--font-family-jp);
      letter-spacing: 3.2px;
      display: flex;
      justify-content: center;
      align-items: center;
    }
  }
}
.flow_block {
  .flow_block--inner {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 1024px;
    margin: 0 auto 104px;
    padding: 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 64px;
    &::before {
      content: '';
      position: absolute;
      background: url(../img/under_arrow.png)no-repeat center;
      background-size: contain;
      width: 60px;
      height: 60px;
      bottom: -8.2em;
      right: 0;
      left: 0;
      margin: auto;
    }
    &:last-child {
      margin-bottom: 0;
      &::before {display: none;}
    }
  }
}

.step_txt {
  width: 134px;
  height: 158px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: var(--font-family-en);
  font-weight: 900;
  background: transparent linear-gradient(90deg, #003463 0%, #00458F 100%) 0% 0% no-repeat padding-box;
  color: #fff;
  span:first-child {
    font-size: 2.8rem;
  }
  span:last-child {
    font-size: 5rem;
    margin-top: -24px;
  }
}

.flow_right {
  width: calc(100% - 198px);
  p {
    line-height: 1.6;
  }
}
.link_flex {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  margin-top: 20px;
  a {
    position: relative;
    width: 100%;
    max-width: 240px;
    height: 60px;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    display: flex;
    justify-content: center;
    align-items: center;
    &::before {
      content: '';
      position: absolute;
      background: url(../img/arrow.png)no-repeat center;
      background-size: contain;
      width: 11px;
      height: 7px;
      top: 0;
      bottom: 0;
      right: 10px;
      margin: auto;
    }
  }
}

.loan_note {
  position: relative;
  width: 90%;
  max-width: 676px;
  margin: 72px auto 0;
  background: url(../img/loan_note.webp)no-repeat center;
  background-size: cover;
  a {
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    line-height: 1.7;
    display: block;
    width: 100%;
    height: 100%;
    padding: 32px 5%;
  }
}

@media screen and (max-width: 767px) {
  .pc_block {display: none;}
  .sp_block {display: block;}

  .flow_block {
    .flow_block--inner {
      flex-direction: column;
      gap: 20px;
    }
  }
  .link_flex {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    a {
      height: auto;
      padding: 10px;
    }
  }
  .step_txt {
    flex-direction: row;
    width: 100%;
    height: 56px;
    justify-content: flex-start;
    align-items: center;
    padding: 10px;
    gap: 10px;
    span:first-child {font-size: 2rem;}
    span:last-child {font-size: 3.2rem;margin-top: 0px;}
  }
  .flow_right {
    width: 100%;
  }
}