.video-container {
  width: 960px;
  height: 540px;
  position: relative;
  overflow: hidden;
  margin: auto;
}

.player-overlay {
  background: url(../img/top/youtube.png) center center no-repeat;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  cursor: pointer;
  z-index: 1000;
}

.custom-play-button {
  cursor: pointer;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(222,139,187,0.6) url(../img/top/playbtn.png) center center no-repeat;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  margin: auto;
  padding: 0;
  z-index: 100;
}
.custom-play-button:hover {
  opacity: 0.8;
}
.hidden {
  display: none;
}

.custom-seekbar {
  width: 100%;
  height: 4px; 
  background-color: transparent; 
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 20;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.5s;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background-color: #FF0000;
  transition: width 0.1s linear;
}
.seekbar-active {
  opacity: 1 !important;
  background-color: rgba(255, 255, 255, 0.5);
}

#youtube-player {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  z-index: 5;
  transition: opacity 0.5s;
}
.active-player {
  opacity: 1 !important;
  z-index: 5;
}

@media print, screen and (max-width: 767px) {
    .video-container {
        position: relative; 
        height: auto;
        width: auto;
        margin: 0 20px;
        aspect-ratio: 16 / 9;
    }
    .custom-play-button {
        width: 52px;
        height: 52px;
        background: rgba(222,139,187,0.6) url(../img/top/sp/playbtn.png) center center no-repeat;
        background-size: 20px 17px;
    }
    /* supplement__wrapの指定は不要です */
    .player-overlay {
        background: url(../img/top/sp/youtube.png) center center no-repeat;
        background-size: cover;
    }
    
    .player-overlay,
    #youtube-player {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    #youtube-player div {
        background: unset;
    }
    .supplement__movie {
      padding: 0;
    }
}