@charset "utf-8";
#flow {
  background-color: #f0f0f0;
  padding: 2.5rem 1.5rem;
  margin: 1rem 0;
}
.flow_contents:not(:last-child) {
  margin-bottom: 2.25rem;
}
.contents_title {
  background-image: linear-gradient(90deg, #202020, #525252);
  font-size: 20px;
  color: #fff;
  font-weight: 700;
  padding: 26px 8rem;
  padding-right: 43px;
  position: relative;
}
.contents_title::after {
  position: absolute;
  top: -25%;
  left: 0;
}
.contents_title.step_01::after {
  content: url(../images/flow/step-01.png);
}
.contents_title.step_02::after {
  content: url(../images/flow/step-02.png);
}
.contents_title.step_03::after {
  content: url(../images/flow/step-03.png);
}
.contents_title.step_04::after {
  content: url(../images/flow/step-04.png);
}
.contents_title.step_05::after {
  content: url(../images/flow/step-05.png);
}
.contents_title::before {
  position: absolute;
  content: url(../images/flow/page-style.png);
  top: 0;
  right: 0;
  line-height: 0;
}
.contents_main {
  background-color: #fff;
  padding: 2rem 1.5rem;
  border: 1px solid #535353;
  border-top: none;
  box-shadow: 0px 5px 0px 0px #878787;
}
.contents_main p {
  font-size: 16px;
  line-height: 1.5;
  flex: 1;
}
#flow .flow_contents {
  border: none;
}
/************レスポンシブ************/
@media screen and (max-width: 660px) {
  .contents_title {
    padding: 26px 7rem;
    padding-right: 43px;
  }
  .contents_main p {
    font-size: 15px;
  }
}
@media screen and (max-width: 570px) {
  #flow {
    padding: 32px 16px;
  }
  .flow_wrap {
    display: flex;
    flex-direction: column;
  }
  .step_img {
    text-align: center;
  }
  .contents_main {
    flex-direction: column-reverse;
    padding: 24px 16px;
  }
  .contents_main p {
    margin-top: 10px;
  }
  .contents_title.step_01::after {
    content: none;
  }
  .contents_title.step_02::after {
    content: none;
  }
  .contents_title.step_03::after {
    content: none;
  }
  .contents_title.step_04::after {
    content: none;
  }
  .contents_title.step_05::after {
    content: none;
  }
  .contents_title {
    padding: 1.25rem;
    padding-right: 45px;
    font-size: 18px;
    line-height: 1.4;
  }
  .contents_title::before {
  position: absolute;
  content: url(../images/flow/page_style_sp.png);
  top: 0;
  right: 0;
  }
  .flow_contents:not(:last-child) {
  margin-bottom: 1rem;
  }
}
