.video-container {
  /* 動画を中央寄せにする */
  display: flex;
  justify-content: center;
  margin-bottom: 24px; /* 下のリストとの余白 */
}

.video-container video {
  /* 横幅の最大値を決める（これ重要！） */
  max-width: 320px; /* スマホくらいの幅にする */
  
  /* 角を丸くする（スマホっぽく見せる） */
  border-radius: 12px;
  
  /* 影をつけて浮き上がらせる（任意） */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  
  /* 幅は親要素に合わせるが、max-width以上にはならない */
  width: 100%;
  height: auto;
  
   /* ▼ これを追加すると、Safariでも確実に角が丸くなります */
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  
  
}


.hero-slider {
  position: relative;
  text-align: center;
}

.slider-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(0, 0, 0, 0.4);
  padding: 8px 20px;
  border-radius: 50px;
  backdrop-filter: blur(6px);
}

.nav-btn {
  all: unset; /* bootstrapリセット */
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: white;
  color: black;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.nav-btn:hover {
  background: black;
  color: white;
  transform: scale(1.1);
}

#counter {
  font-size: 14px;
  color: white;
  font-weight: 500;
}