/* ===== FLOW ===== */
.flow {
  position: relative;
  background-color: rgb(217, 242, 240);
  padding: 12rem 0 19.6rem;
}

.flowInner {
  position: relative;
}

.flowTtl01 {
  font-size: 3.2rem;
  font-weight: 500;
  line-height: 1;
  color: rgb(28, 44, 67);
  margin-bottom: 2.4rem;
}

.flowTxt01 {
  font-size: 1.5rem;
  line-height: 1.8;
  color: rgb(28, 44, 67);
  margin-bottom: 6rem;
  max-width: 700px;
}

/* ===== PC：全幅表示 ===== */
.flowImg {
  width: 100%;
  margin-bottom: 6rem;
}

.flowImg img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== SP 横スクロール用ラッパー ===== */
.flowImgScroll {
  display: none;
}

.flowImgScrollInner {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgb(43, 185, 176) rgba(43, 185, 176, 0.2);
}

.flowImgScrollInner::-webkit-scrollbar {
  height: 4px;
}

.flowImgScrollInner::-webkit-scrollbar-track {
  background: rgba(43, 185, 176, 0.2);
  border-radius: 2px;
}

.flowImgScrollInner::-webkit-scrollbar-thumb {
  background: rgb(43, 185, 176);
  border-radius: 2px;
}

.flowImgScrollInner img {
  display: block;
  height: auto;
}

.scrollHint {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0 4px;
  margin-bottom: 2.66667vw;
  font-size: 3.2vw;
  color: rgba(28, 44, 67, 0.5);
}

.scrollHintArrow {
  display: inline-block;
  width: 4vw;
  height: 4vw;
  border-top: 0.5vw solid rgba(28, 44, 67, 0.5);
  border-right: 0.5vw solid rgba(28, 44, 67, 0.5);
  transform: rotate(45deg);
  animation: none;
}

@keyframes scrollArrowBounce {
  0%, 100% { transform: rotate(45deg) translateX(0); }
  50% { transform: rotate(45deg) translateX(1.5vw); }
}

/* ===== タブレット（〜1024px）===== */
@media screen and (max-width: 1024px) {
  .flow {
    padding: 10rem 0 16rem;
  }
}

/* ===== モバイル（〜767px）===== */
@media screen and (max-width: 767px) {
  .flow {
    padding: 17.3333vw 0 32vw;
  }

  .flowTtl01 {
    font-size: 6.93333vw;
    margin-bottom: 5.33333vw;
  }

  .flowTxt01 {
    font-size: 3.73333vw;
    margin-bottom: 8vw;
  }

  /* PC用 flowImg を非表示にして SP 用スクロールを表示 */
  .flowImg {
    display: none;
  }

  .flowImgScroll {
    display: block;
    margin-bottom: 8vw;
  }

  .flowImgScrollInner img {
    /* 画像本来の幅を維持してはみ出させる（横スクロール） */
    width: auto;
    min-width: 160vw;
    max-width: none;
    height: auto;
  }
}
