@charset "UTF-8";
/*

NVIDIA Video Archive content CSS
create 2025/10/03

*/
/* = LP Only Style
============================================================================== *

/* = Hero Element
-------------------------------------------------------------------------- */
#hero {
  position: relative;
  margin: 0;
  background: url("../images/main-bk.jpg") no-repeat 50% 50%;
  background-size: cover;
  color: #fff;
  font-weight: bold;
  line-height: 3;
}
#hero img {
  max-width: 100%;
}

#hero-wrap {
  height: 580px;
  padding: 0 5vw;
}

#hero-txt {
  font-size: 1.25rem;
  text-align: center;
}

#hero-img {
  margin-bottom: 2rem;
}

/* = Movie Element
-------------------------------------------------------------------------- */
.movie-list {
  margin: 6rem 0 0 0;
  padding: 0;
}
.movie-list li {
  list-style: none;
  margin-bottom: 2rem;
}
.movie-list li a {
  display: block;
  position: relative;
}
.movie-list li a:before {
  position: absolute;
  top: calc(50% - (39px/2));
  left: calc(50% - (55px/2));
  z-index: 2;
  width: 55px;
  height: 39px;
  background: url("../images/youtube.png") no-repeat 50% 50%;
  background-size: contain;
  content: "";
}
.movie-list li a img {
  position: relative;
  z-index: 1;
}
.movie-list li a:hover {
  opacity: 0.8;
  transition: opacity 0.15s linear;
}
.movie-list li h2 {
  margin: 1.5rem 0 1rem;
  color: #3f8500;
  font-weight: bold;
  font-size: 1.25rem;
}
.movie-list li p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  /* 垂直方向に配置 */
  overflow: hidden;
  /* 溢れた部分を隠す */
  text-overflow: ellipsis;
  /* 溢れた部分に「...」を表示 */
  -webkit-line-clamp: 5;
  /* 最大行数を2行に設定 */
  font-size: 1rem;
}

/* = Modal Element
-------------------------------------------------------------------------- */
/* モーダル背景 */
.modal {
  display: none;
  /* 初期状態では非表示 */
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

/* モーダルコンテンツ */
.modal-content {
  position: relative;
  width: 90%;
  max-width: 960px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
  background: #000;
}

/* 動画の埋め込みをレスポンシブ対応させる */
.video-container {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.video-container iframe {
  width: 100%;
  height: 100%;
}

/* 閉じるボタン */
.close {
  position: absolute;
  top: -4rem;
  right: 0;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

/* =Break Point
============================================================================== */
/* =LG
-------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  #hero-wrap {
    height: auto;
    padding: 10vw 5vw;
  }
}
/* =MD
-------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  .section-movie {
    margin-bottom: 0;
  }
}
/* =XS
-------------------------------------------------------------------------- */
#hero {
  line-height: 1.2;
}
