
 /* ビデオプレーヤー全体のコンテナのスタイル */
.video-container {
  display: flex;
  margin-left: auto; /* 横方向中央揃え */
  margin-right: auto; /* 横方向中央揃え */
  flex-direction: column; /* 子要素を縦方向に並べる */
  justify-content: center; /* 縦方向中央揃え */
  position: relative; /* 子要素の絶対位置指定の基準とする */

  /* PC用のビデオの幅 効かない */
  width: 650px;
  
}

/* 20250926近藤追加 PC用のビデオの幅 */
@media screen and (min-width:768px){
.video-container {
  width: 650px !important;
 }
}

 /* ビデオプレーヤー全体のコンテナのスタイル */
.video-container2 {
  display: flex;
  margin-left: auto; /* 横方向中央揃え */
  margin-right: auto; /* 横方向中央揃え */
  flex-direction: column; /* 子要素を縦方向に並べる */
  justify-content: center; /* 縦方向中央揃え */
  position: relative; /* 子要素の絶対位置指定の基準とする */

  /* PC用のビデオの幅 */
  width: 500px; 
  
}

/* 再生時間表示部分の背景 */
.playback_position,
.end_position {
  background-color: rgba(255, 255, 255, 0.35);
}

/* ビデオコントロール全体の背景 */
.video-controls {
  background-color: rgba(255, 255, 255, 0.35);
}

/* 時間表示部分 */
.time-container {
  display: flex;
}

/* 再生バーのコンテナ */
.progress-container {
  display: flex;
  flex-direction: column; /* 子要素を縦方向に並べる */
  position: absolute; /* 親要素(.video-container)を基準に絶対位置指定をする */
  bottom: 62px;
  left: 0;
  right: 0;
}

/* 再生バー */
.progress-slider {
  appearance: none; /* 見た目をリセット */
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.35);
  outline: none; /* アウトラインを消す */
}

/* スライダーのつまみのスタイル */
.progress-slider::-webkit-slider-thumb {
  -webkit-appearance: none; /* 見た目をリセット */
  appearance: none; /* 見た目をリセット */
  width: 12px;
  height: 12px;
  background: #11ff00;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* 影をつける */
}

/* ビデオコントロールの下部分 */
.video-controls-under {
  display: flex;
  position: absolute; /* 親要素(.video-container)を基準に絶対位置指定をする */
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.35);
}

/* ビデオコントロールの下部分のボタン */
.video-controls-under button {
  background-color: transparent; /* 背景を透明にする */
  border: none; /* 枠線を消す */
  outline: none; /* フォーカス時のアウトラインを消す */
  cursor: pointer;
  margin: 0 10px;
  height: 57px;
  width: 57px;
  color: #fff;
  font-size: 20px;
}

/* 音量コントロール部分 */
.volume-control {
  display: flex;
  align-items: center; /* 垂直方向中央揃え */
  margin-left: auto; /* 右寄せにする */
}

/* 音量スライダーのコンテナ */
.volume-slider {
  position: relative;
  width: 80px;
  margin: 0 10px;
}

/* 音量スライダー自体 */
.slider {
  -webkit-appearance: none; /* 標準の見た目をリセット */
  appearance: none; /* 標準の見た目をリセット */
  width: 100%;
  height: 5px;
  background: #4a4a4a;
  outline: none;
  opacity: 0.7;
  -webkit-transition: 0.2s;
  transition: opacity 0.2s;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none; /* 標準の見た目をリセット */
  appearance: none; /* 標準の見た目をリセット */
  width: 16px;
  height: 16px;
  background: #4b4b4b;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: #fff;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* 音量コントロール内のボタン */
.volume-control button {
  height: 30px;
  width: 30px;
  font-size: 18px;
}

/*@media (min-width: 768px){
  body {
    background-color: #6fc1d5;
  }
}*/

/*@media (max-width: 767px) {
  body {
    background-color: rgb(214, 124, 124); 
    background-color: rgb(145, 214, 124); 
  }*/

  .video-container {

    /* スマホ用のビデオの幅 */
    width: 100%;

  }

  .myVideo{
     width: auto;
    }

  /* .video-controls-under {
    width: 100%;
  } */

  .video-controls-under button {
    height: 30px;
    width: 30px;
    font-size: 27px;
    margin: 15px 10px;
  }

  .volume-control {
    display:flex;
    margin-left: 0;
  }

  .volume-control button {
    height: 25px;
    width: 25px;
    font-size: 14px;
  }

  .volume-slider {
    width: 60px;
  }
}