@charset "utf-8";
/*共通*/
.pagevisual {
  background: url("../img/mv.png")no-repeat center;
  background-size: cover;
}
.description .sec_title {
  color: #000;
}

/*description*/
.description {
  padding: 64px 0 88px;
}
.bg {
  background: url("../img/description.png")no-repeat center;
  background-size: cover;
  width: 100%;
  height: 468px;
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bg div {
  width: 100%;
  max-width: 590px;
  margin: 0 auto;
  margin-left: 4em;
  background: rgba(255, 255, 255, 0.55);
  padding: 24px;
}
.bg div p {
  margin-bottom: 32px;
  line-height: 1.8;
}
.bg div p:last-child {
  margin-bottom: 0;
}

/*flow*/
.flow h2 {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto -8px;
  background: #000;
  height: 88px;
  font-size: 3.2rem;
  font-weight: bold;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}
.flow_parts {
  position: relative;
  padding: 40px 0;
  margin-bottom: 110px;
}
.flow_parts.first {
  background: url("../img/bg01.png")no-repeat center;
  background-size: cover;
}
.flow_parts.second {
  background: url("../img/bg02.png")no-repeat center;
  background-size: cover;
}
.flow_parts.third {
  background: url("../img/bg03.png")no-repeat center;
  background-size: cover;
  margin-bottom: 0;
}
.flow_parts::before {
  content: "";
  display: block;
  position: absolute;
  width: 52px;
  height: 52px;
  background: #F10215;
  left: 0;
  right: 0;
  bottom: -80px;
  margin: auto;
}
.flow_parts::after {
  content: "";
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 19px 16px 0 16px;
  border-color: #ffffff transparent transparent transparent;
  left: 0;
  right: 0;
  bottom: -66px;
  margin: auto;
}
.flow_parts.third::before,
.flow_parts.third::after {
  display: none;
}

.flow_parts div {
  width: 100%;
  max-width: 1024px;
  margin: 48px auto;
  background: #fff;
  padding-bottom: 64px;
}
.flow_parts.first div {
  margin-bottom: 0;
}
.flow_parts h3 {
  font-size: 2.8rem;
  font-weight: bold;
  border-top: 3px solid #F10215;
  display: flex;
  align-items: center;
  gap: 1em;
  height: 70px;
}
.flow_parts span {
  background: #F10215;
  color: #fff;
  font-size: 3rem;
  width: 70px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.flow_flex {
  width: 100%;
  max-width: 844px;
  margin: 16px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.flow_flex p {
  width: 100%;
  max-width: 490px;
  margin: auto;
  line-height: 1.8;
}

.flow_parts .flow_detail {
  max-width: 512px;
  padding: 12px;
  border: 1px solid #0073BD;
  margin: 64px auto 0;
}
.flow_detail section {
  background: url("../img/flow_detail.png")no-repeat center;
  background-size: cover;
  padding: 24px 5%;
}
/*.flow_detail section::before {
  content: '';
  position: absolute;
  background: url("../img/employee.png")no-repeat center;
  background-size: cover;
  width: 223px;
  height: 242px;
  right: 2em;
  bottom: 0;
}*/
.flow_detail h4 {
  width: 100%;
  margin: auto;
  margin-left: 0;
  font-size: 2.4rem;
  font-weight: bold;
  padding-bottom: 32px;
  text-align: center;
}
.flow_detail .detail_btn {
  max-width: 100%;
}

@media screen and (max-width: 1200px) {}

/*タブレット（縦）*/
@media screen and (orientation: portrait) and (min-width: 768px){}

@media screen and ( max-width: 767px ){
  /*description*/
  .description {
    padding: 64px 0;
  }
  .bg div {
    max-width: 90%;
    margin: 0 auto;
  }
  .bg div p {
    margin-bottom: 24px;
  }

  /*flow*/
  .flow h2 {
    max-width: 90%;
    height: 48px;
    font-size: 2.4rem;
    margin: 40px auto -20px;
  }
  .flow_parts {
    padding: 20px 0;
  }
  .flow_parts::before {
    width: 40px;
    height: 40px;
    bottom: -77px;
  }
  .flow_parts::after {
    border-width: 15px 12px 0 12px;
  }
  .flow_parts div {
    max-width: 90%;
    padding-bottom: 40px;
  }
  .flow_parts h3 {
    font-size: 2rem;
    height: 48px;
  }
  .flow_parts span {
    font-size: 2.4rem;
    width: 50px;
  }
  .flow_flex {
    max-width: 90%;
    flex-direction: column-reverse;
    align-items: center;
    gap: 24px;
  }
  
  .flow_parts .flow_detail {
    max-width: 90%;
    margin-top: 48px;
  }
  /*.flow_detail section {
    padding-bottom: 260px;
  }*/
  .flow_detail h4 {
    margin: auto;
    font-size: 2rem;
  }
}