/* ラッパー */
.fv-swiper-wrap {
  padding: 24px 0;
  position: relative;
  overflow: hidden;
}
.fv-swiper {
  width: 100%;
}

/* スライド */
.fv-swiper .swiper-slide {
  height: 40vh;                /* FVらしく */
  min-height: 450px;           /* モバイルでも崩さない */
  max-height: 820px;
}

/* サムネ */
.fv-slide {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}
.fv-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* グラデ・タイトル */
.fv-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  /* padding: clamp(14px, 4vw, 28px); */
  color: #a2e4ff;
  pointer-events: none;
}
.fv-title {
  width: 100%;
  font-weight: 800;
  line-height: 1.35;
  font-size: clamp(14px, 3.2vw, 22px);
  padding: 14px;
  text-shadow: 0 3px 14px rgba(0,0,0,.45);
  background-color: #333;
}


.swiper-button-next,.swiper-button-prev {
  color: #ffffff !important;
  background-color: rgb(75, 105, 255);
  padding: 15px;
  font-size: 10px !important;
  border-radius: 999px;
  top: var(--swiper-navigation-top-offset,30%) !important;
}

/* 位置 */
.fv-nav {
  position: absolute;
  top: 50%;
  z-index: 20;
  transform: translateY(-50%);
}
.fv-prev { left: 14px; }
.fv-next { right: 14px; }

/* 丸円ボタン本体 */
.fv-nav {
  width: 64px;
  height: 64px;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  background-color: rgba(0, 115, 255, 0.8);
  color: #fff;
  box-shadow: 0 3px 12px rgba(0,0,0,.25);
  backdrop-filter: blur(4px);
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, opacity .2s ease, box-shadow .2s ease;
  font-size: 16px;
}

/* ホバー＆アクティブ */
.fv-nav:hover { background: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.3); color: rgba(0, 115, 255, 0.8);}
.fv-nav:active { transform: translateY(-50%) scale(.96); }

/* キーボード操作のフォーカス見える化 */


/* 無効（ループOFF時など） */
/* .fv-nav.swiper-button-disabled {
  opacity: .38;
  cursor: default;
  pointer-events: none;
} */

/* モバイルは少し大きめに ＆ 余白確保 */

/* FVオーバーレイより前面へ */
.fv-overlay { z-index: 10; }


/* スナップ感のあるイージング */
#fv-swiper .swiper-wrapper {
  transition-timing-function: cubic-bezier(.22,.61,.36,1); /* Power1っぽい */
}

/* 低速回線や配慮 */
@media (prefers-reduced-motion: reduce) {
  #fv-swiper .swiper-wrapper {
    transition-timing-function: linear;
  }
}

@media (max-width: 760px) {
  .fv-swiper-wrap {
    padding: 0 0 15px 0;
  }
  .fv-swiper .swiper-slide {
    height: 32vh;
    min-height: 280px;
  }
  .fv-nav { width: 28px; height: 28px; }
  .fv-prev { left: 4px; }
  .fv-next { right: 4px; }
  .fv-title {
    padding: 10px;
  }
  .fv-arrow{
    width: 20px;
    height: 20px;
  }
}


