@charset "UTF-8";
/* CSS Document */


h3{
font-size: 1em !important;
    line-height: 180%;
    margin-bottom: 5px;
    border-left: 5px red solid;
    padding-left: 5px;
    font-weight: 700;
}

.youtube-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  overflow: hidden;
}

.youtube-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 64px;
  color: white;
  text-shadow: 0 0 10px black;
  pointer-events: none;
}

.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

@media screen and (max-width: 768px) {
  .ui-dialog.yt-modal {

position: fixed !important; /* ← これが重要！ */
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
  }
}
  .ui-dialog.yt-modal {
border-radius: 18px;
}

@media screen and (max-width: 768px) {
  .ui-dialog.yt-modal {
    width: 90% !important;
    height: auto !important;
  }

  .ui-dialog.yt-modal iframe {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
  }
}