/* YouTube Facade styles: thumbnail display, play button overlay, and iframe responsive layout */

/* Facade container */
.yt-facade {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 800px;
}

/* Wrapper to hold thumbnail and play button */
.yt-facade__wrapper {
  position: relative;
  width: 100%;
  cursor: pointer;
  background-color: #000;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

/* Thumbnail image */
.yt-facade__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

/* Dim thumbnail on hover */
.yt-facade__wrapper:hover .yt-facade__thumb {
  opacity: 0.75;
}

/* Play button: CSS-only triangle*/
.yt-facade__play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  background: rgba(23, 23, 23, 0.8);
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Play button triangle using pseudo-element */
.yt-facade__play-btn::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}

/* Hover effect on play button */
.yt-facade__play-btn:hover {
  background-color: #f00;
  transform: translate(-50%, -50%) scale(1.05);
}

/* Embedded iframe container: responsive 16:9 */
.yt-facade--embedded {
  position: relative;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
}

/* YouTube iframe full fill */
.yt-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* YouTube_Cookie対応動画見栄え調整 */
.te_academy-channel__movie {
 padding-top:0 !important;
}

.te_movie-contents {
 padding-top:0 !important;
}