body {
  font-size: clamp(14px, 1.8vw, 17px);
  counter-reset: flow 0;
}

/* サブビジュアルの背景位置 */
@media screen and (max-width: 1080px) {
  .sub_mv {
    background-position: 63% 40%;
  }
}

@media screen and (max-width: 720px) {
  .sub_mv {
    background-position: 50% 40%;
  }
}

/* ===============================================
flow message
=============================================== */

#flow_mes {
  margin: 100px 0;
  text-align: center;
}

#flow_mes p {
  width: min(90%, 1200px);
  margin: 8% auto;
  text-align: center;
}

#flow_mes p span {
  display: inline-block;
}

/* 連続スライダー */

/* スライドの動き等速 */

.swiper_flow {
  overflow: hidden;
  margin: 80px 0;
}

.swiper_flow .swiper-wrapper {
  transition-timing-function: linear;
  height: auto;
}

.swiper_flow .swiper-slide {
  border-radius: 10px;
  overflow: hidden;
  margin: 0 5px;
}

.swiper_flow .swiper-slide img {
  height: auto;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

/* ===============================================
main_flow
=============================================== */
.main_flow {
  margin: clamp(60px, 12%, 180px) 0;
}

.main_flow span {
  display: inline-block;
}

.main_flow_ttl {
  width: min(90%, 1200px);
  margin: 0 auto;
  font-size: clamp(22px, 2.8vw, 25px);
  font-family: var(--ff_min);
  text-align: center;
  padding: 25px 0;
  position: relative;
}

.main_flow_ttl::before {
  counter-increment: flow 1;
  content: "0"counter(flow);
  display: inline-block;
  font-family: var(--ff_jp);
  color: #a08c4e;
  font-size: clamp(18px, 2.3vw, 20px);
  position: absolute;
  top: -65px;
  left: 50%;
  transform: translateX(-50%);
}

.main_flow_ttl::after {
  content: "";
  display: inline-block;
  width: 0.5px;
  height: 35px;
  background: var(--cl_bl);
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.main_flow ul li {
  margin-bottom: 120px;
}

.main_flow ul li:last-child {
  margin-bottom: 0;
}

.main_flow ul li div {
  width: min(90%, 1200px);
  margin: 0 auto;
  background: #fbf8ee;
  padding: clamp(20px, 3%, 45px);
  border-radius: 15px;
}

.main_flow ul li div h3 {
  margin-top: 18px;
  font-weight: 700;
  padding-left: 22px;
  text-indent: -22px;
  text-align: justify;
  line-height: 1.7;
}

.main_flow ul li div h3:nth-child(1) {
  margin-top: 0;
}

.main_flow ul li div h3::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--cl_main);
  margin-right: 8px;
  line-height: 1.7;
}

.main_flow p {
  padding-left: 22px;
  text-align: justify;
}

/* ===============================================
flow_mes_bottom
=============================================== */

.flow_mes_bottom {
  width: min(90%, 1200px);
  margin: 0 auto;
  margin-bottom: clamp(80px, 15%, 180px);
  display: flex;
  align-items: center;
  gap: 30px;
}

.flow_mes_bottom .txt {
  width: 50%;

}

.flow_mes_bottom .txt p {
  position: relative;
}

.flow_mes_bottom .txt p::before {
  content: "";
  display: inline-block;
  width: 100px;
  height: auto;
  aspect-ratio: 1/1;
  border-radius: 50%;
  border: 6px solid #00a6cb30;
  position: absolute;
  top: 15%;
  left: -14%;
  z-index: -1;
}

.flow_mes_bottom .txt p::after {
  content: "";
  display: inline-block;
  width: 200px;
  height: auto;
  aspect-ratio: 1/1;
  border-radius: 50%;
  border: 6px solid #ddce9e30;
  position: absolute;
  top: -102px;
  left: -12%;
  z-index: -1;
}

.flow_mes_bottom .img {
  width: 50%;
  height: 470px;
  border-radius: 15px;
  overflow: hidden;
}

.flow_mes_bottom .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 940px) {
  .flow_mes_bottom {
    flex-direction: column-reverse;
    gap: 50px;
    padding-top: 10%;
  }

  .flow_mes_bottom .img {
    width: 100%;
    height: auto;
  }

  .flow_mes_bottom .txt {
    width: 100%;
  }
}