@charset "utf-8";
/*------------------------------------------------
サービスフロー
------------------------------------------------*/

.main-content {
  padding: 50px 0 25px;
}

@media print, screen and (min-width: 769px) {
  .main-content {
    padding: 50px 0;
  }
}

/*========== サービスフロー ==========*/
.flow {}

.flow-inner {
  padding: 0 15px;
}

.flow-list {
  padding: 15px;
}

.flow-item {
  width: 100%;
  padding: 25px 20px;
  background-color: #ccd6e5;
}

.flow-item:not(:last-of-type) {
  margin-bottom: 44px;
  position: relative;
}

.flow-item:not(:last-of-type)::after {
  content: "";
  display: block;
  background-image: url(../../images/flow/icon_arrow.png);
  background-size: contain;
  width: 61px;
  height: 44px;
  position: absolute;
  left: 50%;
  bottom:  -44px;
  margin-left: -41px;
}

.flow-item-title {
  color: #223149;
  font-size: 2rem;
  font-weight: 900;
  margin: 5px auto 10px;
  padding-bottom: 2px;
  border-bottom: 2px solid #223149;
}

.flow-item-pic {
  width: 100%;
}

.flow-item-pic > img{
  width: 100%;
}

.flow-item-text {
  color: #223149;
  font-size: 1.3rem;
  line-height: 2;
}


@media print, screen and (min-width: 769px) {
  .flow-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 25px 0;
  }
  .flow-inner {
    width: 920px;
    margin: auto;
    padding: 0;
  }
  .flow-item {
    height: 257px;
    padding: 25px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: flex-start;
  }
  .flow-item:not(:last-of-type) {
    margin-bottom: 88px;
  }
  .flow-item:not(:last-of-type)::after {
    width: 122px;
    height: 88px;
    bottom:  -88px;
    margin-left: -88px;
  }
  .flow-item-title {
    width: 500px;
    font-size: 2.5rem;
  }
  .flow-item-text {
    font-size: 1.4rem;
    font-weight: 700;
    width: 500px;
  }
  .flow-item-pic {
    width: 334px;
    height: 202px;
    margin-right: 25px;
  }
}
