@charset "UTF-8";
@import url(color.css);

.flow-banner {
  position: relative;
  background-image: url("../images/flow/banner_pc.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  height: 0;
  padding-bottom: calc(320 / 1920 * 100%);
}
@media screen and (max-width: 767px) {
  .flow-banner {
    background-image: url("../images/flow/banner_sp.png");
    padding-bottom: calc(200 / 375 * 100%);
  }
}
.flow-banner .banner-content {
  display: flex;
  position: absolute;
  left: 0px;
  right: 0px;
  top: 0px;
  bottom: 0px;
  justify-content: flex-start;
  align-items: center;
}
@media screen and (max-width: 767px) {
  .flow-w-100p {
    width: 100%;
  }
}
@media screen and (max-width: 767px) {
  .flow-txt-01 {
    font-weight: normal;
  }
}
@media screen and (max-width: 767px) {
  .flow-txt-02 {
    font-size: 1.2rem;
  }
}
.flow-box {
  display: flex;
  flex-wrap: wrap;
  padding: 4rem;
  border: 0.5rem solid var(--lightgray2);
  margin-top: 18rem;
  border-radius: 0.8rem;
  align-items: flex-end;
}
@media screen and (max-width: 767px) {
  .flow-box {
    max-width: 34.5rem;
    padding: 1.5rem;
    border: 0.3rem solid var(--lightgray2);
    margin: 0 auto;
  }
}
.flow-box .box-img {
  width: 40%;
  position: relative;
}
@media screen and (max-width: 767px) {
  .flow-box .box-img {
    width: 27%;
  }
}
.flow-box .box-img img {
  position: absolute;
  right: 0;
  bottom: -4rem;
  width: 100%;
  max-width: 30.9rem;
  margin-right: 2.3rem;
}
@media screen and (max-width: 767px) {
  .flow-box .box-img img {
    position: static;
    max-width: 12rem;
    margin-right: 0;
  }
}
.flow-box .box-details {
  width: 60%;
  max-width: 50rem;
}
@media screen and (max-width: 767px) {
  .flow-box .box-details {
    width: 73%;
    padding-left: 2%;
  }
}
.flow-box .title {
  font-size: 3.1rem;
  font-weight: bold;
  text-align: center;
  line-height: normal;
}
@media screen and (max-width: 767px) {
  .flow-box .title {
    width: 100%;
    font-size: 2rem;
    line-height: normal;
    text-align: center;
    margin-bottom: -2.8rem;
  }
}
@media screen and (max-width: 767px) {
  .flow-box .sub {
    text-align: left;
  }
}
.flow-box .btn-b {
  line-height: normal;
  margin: 0;
}
@media screen and (max-width: 767px) {
  .flow-box .btn-b {
    font-size: 1.2rem;
  }
}

.step-flow {
  counter-reset: step_flow_counter;
}
.step-flow-item {
  counter-increment: step_flow_counter 1;
  display: flex;
  justify-content: space-between;
}
.step-flow-item:not(last-child) {
  margin-bottom: 8rem;
}
@media screen and (max-width: 375px) {
  .step-flow-item:not(last-child) {
    margin-bottom: 3rem;
  }
}
.step-flow-item .list-comment li {
  font-size: 1.8rem;
  color: #333333;
}
.step-flow .col-img {
  position: relative;
  width: 20rem;
  margin-right: 5rem;
}
@media screen and (max-width: 767px) {
  .step-flow .col-img {
    width: 16.1rem;
    margin-right: 1.5rem;
  }
}
.step-flow .col-img img {
  width: 100%;
}
.step-flow .col {
  width: 100%;
  max-width: 93rem;
}
.step-flow .title {
  display: flex;
  align-items: flex-end;
  border-bottom: 0.3rem solid var(--lightgray2);
}
@media screen and (max-width: 767px) {
  .step-flow .title {
    align-items: flex-start;
    flex-direction: column;
  }
}
.step-flow .item-no {
  color: var(--primary-color);
  width: 10rem;
}
.step-flow .item-no:before {
  content: "STEP";
  position: relative;
  font-size: 1.8rem;
  font-weight: bold;
  margin-right: 0.3rem;
}
@media screen and (max-width: 767px) {
  .step-flow .item-no:before {
    font-size: 1.5rem;
  }
}
.step-flow .item-no:after {
  content: counter(step_flow_counter);
  font-size: 3.2rem;
  font-weight: bold;
}
@media screen and (max-width: 767px) {
  .step-flow .item-no:after {
    font-size: 2.5rem;
  }
}
.step-flow .arrow {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) rotate(225deg);
  display: block;
  margin: 2.7rem auto;
  width: 2.5rem;
  height: 2.5rem;
  border-top: 0.3rem solid var(--primary-color);
  border-left: 0.3rem solid var(--primary-color);
}
@media screen and (max-width: 767px) {
  .step-flow .arrow {
    width: 2rem;
    height: 2rem;
    top: 50%;
    left: 50%;
  }
}
.step-flow .arrow::after {
  content: "";
  display: block;
  width: 0.3rem;
  height: 4rem;
  background-color: var(--primary-color);
  transform: rotate(-45deg) translate(1.3rem, 0.4rem);
  left: 0;
  top: 0;
}
@media screen and (max-width: 767px) {
  .step-flow .arrow::after {
    height: 3rem;
    transform: rotate(-45deg) translate(0.9rem, 0.4rem);
  }
}

.contact-box-middle-btn {
  width: 50rem;
  height: 10rem;
}
@media screen and (max-width: 767px) {
  .contact-box-middle-btn {
    width: 100%;
    height: 5rem;
    font-size: 1.2rem;
  }
}
@media screen and (min-width: 768px) {
  .contact-box-middle-img {
    position: relative;
    top: 1rem;
  }
}

@media screen and (max-width: 550px) {
  .arrow {
    bottom: -3rem;
  }
}