body {
  font-family: 'Helvetica Neue', sans-serif;
  background-color: #f9f9f9;
  color: #222;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

.video-container {
  max-width: 960px;
  margin: 20px auto;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.08);
}

h1 {
  font-size: 1.8em;
  margin-bottom: 10px;
}

.video-player {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.video-player iframe,
.video-player video {
  width: 100%;
  height: 500px;
  border: none;
  border-radius: 8px;
}

.video-description {
  margin-top: 25px;
}

.video-description h3 {
  font-size: 1.3em;
  margin-bottom: 10px;
}

.video-description p {
  white-space: pre-line;
  background: #f1f1f1;
  padding: 15px;
  border-radius: 6px;
}

.playlist-section {
  margin-top: 30px;
}

.playlist-section h3 {
  font-size: 1.3em;
  margin-bottom: 15px;
}

.playlist {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 0;
  list-style: none;
}

.playlist li {
  width: calc(33.33% - 10px);
  box-sizing: border-box;
}

.playlist a {
  text-decoration: none;
  color: #222;
  transition: opacity 0.2s;
}

.playlist a:hover {
  opacity: 0.85;
}

.playlist img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 6px;
  background: #eee;
}

.playlist p {
  font-size: 14px;
  margin: 5px 0 0;
  text-align: center;
  line-height: 1.4;
}

/* ▼ モバイル対応（768px以下） */
@media screen and (max-width: 768px) {
  .video-container {
    padding: 15px;
  }

  .video-player iframe,
  .video-player video {
    height: 220px;
  }

  .playlist li {
    width: calc(50% - 10px);
  }

  h1 {
    font-size: 1.4em;
    text-align: center;
  }

  .video-description p {
    font-size: 15px;
  }
}

/* ▼ スマホ特化（480px以下） */
@media screen and (max-width: 480px) {
  .playlist li {
    width: 100%;
  }

  .video-description p {
    font-size: 14px;
  }

  .playlist-section h3,
  .video-description h3 {
    font-size: 1.1em;
    text-align: center;
  }
}
