/* 動画ギャラリー固有のスタイル */
.vg-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.vg-grid {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

/* PC表示: 横2列 */
@media (min-width: 768px) {
  .vg-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* スマホ表示: 1列 */
@media (max-width: 767px) {
  .vg-grid {
    grid-template-columns: 1fr;
  }
}

.vg-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background-color: #000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.vg-video-wrapper:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.vg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 動画タイトル */
.vg-video-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 20px 10px 10px;
  font-size: 12px;
  text-align: center;
}
