/* 全体レイアウト */
body {
  margin: 0;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* 動画サイズを固定比率・中央に */
.video-container {
  position: relative;
  width: 90%;
  max-width: 600px;
  aspect-ratio: 16 / 9;
  /* background: black; ← ❌黒背景削除 */
}

/* 動画本体 */
video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  touch-action: manipulation;
  /* border-radius: 12px; ← ❌角丸削除 */
}

/* 再生ボタン */
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  color: black;
  cursor: pointer;
  z-index: 2;
}

.play-button.hidden {
  display: none;
}

/* 巻き戻しバー */
.seek-bar {
  position: absolute;
  bottom: 10px;
  left: 5%;
  width: 90%;
  height: 30px;
  -webkit-appearance: none;
  appearance: none;
  background: #ddd;
  border-radius: 10px;
  outline: none;
  display: none;
  z-index: 2;
}

.seek-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #555;
  cursor: pointer;
}

.seek-bar.visible {
  display: block;
}
