@charset "utf-8";
#flow {
  padding: 60px 0 80px;
}
#flow .contents {
  width: calc(33.33% - 40px);
  margin-bottom: 105px;
  display: flex;
  flex-direction: column;
  position: relative;
}
#flow .contents::before {
  content: "";
  background: #C8D0DB;
  width: 150%;
  height: 1px;
  position: absolute;
  top: 110px;
  left: 0;
  z-index: -1;
}
#flow .contents:nth-child(3n)::before {
  width: 100%;
}
#flow .contents .img-area {
  width: 110px;
  margin: 0 auto 15px;
}
#flow .contents .number {
  margin-bottom: 10px;
  z-index: 1;
  text-align: center;
}
#flow .contents .number p {
  font-size: 13px;
  font-size: 1.3rem;
  font-weight: 500;
  color: #0064A8;
  text-align: center;
  line-height: 20px;
  letter-spacing: 0.1rem;
  background: #fff;
  display: inline-block;
  padding: 0 5px;
}
#flow .contents .number p span {
  font-size: 31px;
  font-size: 3.1rem;
}
#flow .contents .txt-area {
  padding: 30px 25px;
  background: #FAFAFA;
  flex-grow: 1;
}
#flow .contents .txt-area h3 {
  font-size: 23px;
  font-size: 2.3rem;
  margin-bottom: 30px;
  letter-spacing: 0.1rem;
  color: #1A1A1A;
  font-weight: bold;
  text-align: center;
}
#flow .contents .txt-area p {
  line-height: 28px;
  font-family: "Noto Sans JP";
}
@media screen and (max-width: 1265px) {
  #flow .contents {
    width: calc(33.33% - 20px);
  }
}
@media screen and (max-width: 1165px) {
  #flow .contents .txt-area h3 {
    font-size: 21px;
    font-size: 2.1rem;
  }
}
@media screen and (max-width: 768px) {
  #flow .contents {
    width: 100%;
    margin-bottom: 45px;
  }
  #flow .contents::before {
    width: 100%;
    top: 100px;
  }
  #flow .contents .img-area {
    width: 95px;
  }
  #flow .contents .txt-area {
    padding: 20px 15px;
  }
  #flow .contents .txt-area h3 {
    margin-bottom: 11px;
  }
  #flow .contents .txt-area p {
    line-height: 30px;
  }
}