/*ご利用の流れ*/
#flow h2 {
  font-size: 4rem;
  text-align: center;
  color: #0075C1;
  margin-top: 6rem;
  position: relative;
  font-weight: normal;
  line-height: 120%;
  font-weight: 700;
}
#flow h2::before, #flow h2::after {
  display: inline-block;
  width: .3rem;
  height: 3rem;
  margin-top: .4rem;
  content: "";
  background-color: #0075C1;
}
#flow h2::before {
  margin-right: 1.5rem;
  transform: rotate(-35deg);
}
#flow h2::after {
  margin-left: 1.5rem;
  transform: rotate(35deg);
}
#flow h3 {
  font-size: 4.6rem;
  font-weight: bold;
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 8rem;
  line-height: 130%;
}
#flow h3 span {
  color: #0075C1;
}
#flow h4 {
  font-size: 2.2rem;
  font-weight: bold;
  position: relative;
  padding-left: 30px;
  line-height: 22px;
  margin-bottom: 1rem;
}
#flow h4::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background-color: #0075C1;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(173, 216, 230, 0.6);
}
#flow h4::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 45%;
  width: 6px;
  height: 11px;
  border-right: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform: translateY(-50%) rotate(45deg);
}
#flow p, #flow ul {
  font-size: 1.6rem;
}
#flow .flow01, #flow .flow02, #flow .flow03 {
  background: #EFF7FF;
  padding: 4rem 2rem;
  margin-bottom: 7rem;
  display: flex;
  gap: 10px;
  align-items: center;
  position: relative;
  filter: drop-shadow(0 10px 5px rgba(0, 0, 0, 0.1));
}
#flow .flow01, #flow .flow02, #flow .flow03 {
  min-height: 230px;
}
#flow .flow01 {
  background: #E6EFF3;
}
#flow .flow02 {
  background: #D2E3EC;
}
#flow .flow03 {
  background: #C1DAE6;
  margin-bottom: .5rem;
}
#flow .flow01 .arrow-down, #flow .flow02 .arrow-down, #flow .flow03 .arrow-down {
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-top: 30px solid #0075C1;
  position: absolute;
  bottom: -30px;
  left: 50%;
  margin-left: -30px;
}
#flow .img img {
  top: -25px;
  right: 2%;
  width: 280px;
  position: absolute;
}
#flow .num {
  width: 15%;
  text-align: center;
  vertical-align: middle;
}
#flow .num img {
  width: 50%;
}
#flow .num p {
  color: #0075C1;
}
#flow .text {
  width: 50%;
  vertical-align: top;
}
#flow .text ul {
  margin-top: .5rem;
  color: #0075C1;
  font-weight: bold;
}
#flow .text span {
  width: 36px;
  height: 36px;
  display: inline-block;
  padding: .5rem;
  background: #FFFFFF;
  border-radius: 36px;
  border: 1px solid #666;
  margin: 0 .5rem;
  text-align: center;
}
#flow .text img.icon {
  vertical-align: middle;
  width: 16px;
}
#flow .url {
  margin-top: .5rem;
}
#flow .url a {
  text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
    transition: 0.3s;
    display: block;
    color: #ffffff;
    padding: .75rem 2rem;
    min-width: 220px;
   max-width: 300px;
    text-align: center;
    border-radius: 20px;
    border: 1px solid #6fc2ec;
    background: #0075C1;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    padding-right: 35px;
}
#flow .url a::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    transform: translateY(-50%) rotate(45deg);
    transition: all 0.3s ease;
    opacity: 0.8;
}
#flow .url a:hover::after {
  right: 12px;
  opacity: 1;
}
#flow .img {
  width: 320px;
  text-align: center;
  vertical-align: top;
}
#flow .spec {
  margin: 5rem 0;
  font-size: 1.4rem;
  padding: 2rem 4rem;
  background: #fff;
  box-shadow: 0 4px 15px 0 rgba(173, 216, 230, 0.5);
  border-radius: 2rem;
}
#flow .spec p {
  margin-bottom: .6rem;
  font-weight: bold;
}
#flow .spec dl {
  display: flex;
  gap: 20px;
  align-items: center;
}
#flow .spec dt {
  width: 20%;
  background: #0075C1;
  color: #fff;
  text-align: center;
}
#flow .spec dt span {
  padding: 1rem 1rem;
  display: block;
}
#flow .spec dd {
  width: 80%;
}
#flow .spec dl ul li {
  display: inline-block;
}
#flow .spec dl ul li {
  list-style: none;
  position: relative;
  padding-left: 1.2em;
  margin-right: .5rem;
}
#flow .spec dl ul li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: #0075C1;
}
#flow .attention {
  font-size: 1.3rem;
  margin-top: 2rem;
}

#flow h5 {
 font-size: 2rem;
 border-bottom: 1px solid #ccc;
 margin-bottom: 1.5rem;
}

@media (max-width: 767px) {
  /* 画面サイズが768px未満の場合の設定 */
  /*ご利用の流れ*/
  #flow {
    margin: 0 2rem;
  }
  #flow h2 {
    font-size: 3rem;
  }
  #flow h3 {
    margin-top: 0rem;
    font-size: 3.4rem;
    margin-bottom: 3rem;
  }
  #flow h4 {
    font-size: 2rem;
    line-height: 140%;
  }
  #flow p, #flow dt span {
    font-size: 1.4rem;
  }
  #flow ul {
    font-size: 1.6rem;
  }
  #flow .flow01, #flow .flow02, #flow .flow03 {
    gap: 0px;
    flex-wrap: wrap;
    align-items: baseline;
    padding: 2rem 3rem;
  }
  #flow .num {
    width: 100% !important;
    flex: none;
    font-size: 2rem;
  }
  #flow .num img {
    width: 50px;
    margin-bottom: 2rem;
  }
  #flow .text {
    width: 100% !important;
  }
  #flow .img {
    width: 100% !important;
    flex: none;
    order: 1;
  }
  #flow .img img {
    top: 0px;
    right: none;
    max-width: 280px;
    position: inherit;
  }
  #flow .url {
    margin-bottom: 2rem;
  }
  #flow .img {
    width: auto;
  }
  #flow .spec {
    margin: 5rem 0;
    font-size: 1.6rem;
    padding: 2rem 2rem;
  }
  #flow .spec dl {
    display: block;
  }
  #flow .spec dt {
    width: auto;
    margin-bottom: 1rem;
  }
  #flow .spec dt span {
    padding: .5rem 1rem;
    display: block;
  }
  #flow .spec dd ul {
    width: 100%;
    font-size: 1.2rem;
  }
  #flow .attention {
    font-size: 1.3rem;
    margin-top: 2rem;
  }
}