@charset "UTF-8";
/* Movie Gallery セクション全体 */
.movie-gallery-section {
  background: rgba(235, 221, 190, 0.3); /* Companyと同じ背景色 */
  padding: 80px 40px;
}

/* セクションタイトル（Companyと同じデザイン） */
.movie-gallery-title {
  background: #005C8B;
  color: #fff;
  text-align: center;
  font-size: clamp(24px, 3vw, 48px);
  font-weight: bold;
  padding: 12px 40px;
  margin: 0 auto 136px;
  width: clamp(310px, 30vw, 500px);
}

/* ギャラリー内 */
.movie-gallery-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px; /* 動画間の余白 */
  justify-content: center;
}

/* 各動画アイテム */
.movie-item {
  display: flex;
  flex-direction: column;
  width: 300px; /* 横幅固定、レスポンシブで調整可 */
  align-items: center;
}

.movie-thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 アスペクト比 */
  overflow: hidden;
  border-radius: 8px; /* 角を少し丸める */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* 軽い影 */
}

.movie-thumb iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 動画タイトル */
.movie-title {
  margin-top: 12px;
  font-weight: bold;
  font-size: clamp(16px, 2vw, 36px);
  text-align: center;
  color: #333;
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .movie-gallery-section {
    padding: 0 40px;
  }
  .movie-gallery-title {
    margin: 0 auto 64px;
  }
  .movie-title {
    font-size: clamp(36px, 3vw, 48px);
  }
}
/* レスポンシブ */
@media (max-width: 768px) {
  .movie-thumb iframe {
    height: 180px;
  }
}
@media (max-width: 500px) {
  .movie-gallery-section {
    padding: 0px 20px;
  }
  .movie-thumb iframe {
    height: 100%;
  }
  .movie-item {
    width: 90%;
    height: auto;
  }
  .movie-gallery-title {
    margin: 0 auto 70px;
  }
  .movie-title {
    font-size: clamp(24px, 6vw, 36px);
    margin-top: 24px;
  }
}/*# sourceMappingURL=gallery.css.map */