/* =========================
   スクロール矢印（固定表示）
========================= */
/* 矢印ラッパー */
.scroll-wrapper {
  position: relative;  /* hero内で絶対配置 */
  top: 10px;       /* heroの下端から少し下 */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 矢印本体 */
.scroll-down svg {
  width: 180px;
  height: 120px;
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(20px); }
}

/* SCROLL文字アニメーション */
.scroll-letter {
  opacity: 0;
  display: inline-block;
  animation: scrollLetterAnim 2.5s infinite;
  font-size: 30px;
  font-weight: 700;
  color: #ff6a00;
}

.scroll-letter:nth-child(1) { animation-delay: 0s; }
.scroll-letter:nth-child(2) { animation-delay: 0.2s; }
.scroll-letter:nth-child(3) { animation-delay: 0.4s; }
.scroll-letter:nth-child(4) { animation-delay: 0.6s; }
.scroll-letter:nth-child(5) { animation-delay: 0.8s; }
.scroll-letter:nth-child(6) { animation-delay: 1s; }

@keyframes scrollLetterAnim {
  0%   { opacity: 0; transform: translateY(-3px); }
  20%  { opacity: 1; transform: translateY(0); }
  80%  { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-3px); }
}


/* =========================
   スマホ
========================= */
@media (max-width: 768px) {
  .scroll-down svg { width: 120px; height: 90px; }
  .scroll-letter { font-size: 25px; }
}

/* =========================
   タブレット対応
========================= */
@media (min-width: 769px) and (max-width: 1024px) {
     /* スクロール矢印 */
  .scroll-down svg {
    width: 150px;
    height: 100px;
  }
  .scroll-letter {
    font-size: 28px;
  }
}