@charset "UTF-8";
/* ロゴフェードイン・アウト */
/* コンテンツを非表示にする */
#hero {
  width: 100vw !important;
  height: 42.5vw;
  overflow: hidden;
}
@media (max-width: 650px) {
  #hero {
    width: 100vw;
    height: 62.5vw;
  }
}
#hero video {
  width: 100vw;
  /* ビューポート幅に合わせて拡大 */
  height: 100%;
  /* 縦横比を維持 */
  object-fit: cover;
  /* 動画を枠に収めつつトリミング */
  position: relative;
  z-index: 1;
}
@media (max-width: 650px) {
  #hero video {
    width: 100%;
  }
}
#hero #heroVideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}
@media (max-width: 650px) {
  #hero #heroVideo {
    width: 100vw;
    height: 62.5vw;
  }
}
#hero #heroVideo.show {
  opacity: 1;
}

#reel {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section {
  margin-top: 50px;
  width: 100%;
}
@media (max-width: 650px) {
  .section {
    margin-top: 30px;
  }
}
@media (max-width: 400px) {
  .section {
    margin-top: 20px;
  }
}
.section .secTitle {
  text-align: center;
}
.section #showreel {
  width: 70vw;
  height: 39.375vw;
}
@media (max-width: 650px) {
  .section #showreel {
    width: 100vw;
    height: 56.25vw;
  }
}
.section #latest-work {
  width: 100%;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
@media (max-width: 650px) {
  .section #latest-work {
    flex-direction: column;
    align-items: center;
  }
}
.section #latest-work .latest {
  width: 49%;
  aspect-ratio: 16/9;
  background-color: #3F3F3D;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* ライトボックススタイル */
}
@media (max-width: 650px) {
  .section #latest-work .latest {
    width: 100%;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    margin-top: 0;
  }
}
.section #latest-work .latest .video-gallery {
  width: 100%;
  aspect-ratio: 16/9;
}
.section #latest-work .latest .workImage {
  overflow: hidden;
  display: flex;
  /* 中央揃え用 */
  justify-content: center;
  /* 中央揃え */
  align-items: center;
  /* 中央揃え */
  position: relative;
  /* ホバーエフェクト用に必要 */
}
@media (max-width: 650px) {
  .section #latest-work .latest .workImage {
    width: 100%;
    aspect-ratio: 16/9;
  }
}
.section #latest-work .latest .workImage img {
  width: 100%;
  /* コンテナの幅に合わせる */
  aspect-ratio: 16/9;
  /* アスペクト比を保持 */
  object-fit: cover;
  /* 画像をコンテナに収める（必要に応じて調整） */
}
.section #latest-work .latest .thumbnail {
  position: relative;
  /* 任意 */
  cursor: pointer;
}
.section #latest-work .latest .thumbnail .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 32px;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  padding: 18px 19px 18px 22px;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.section #latest-work .latest .thumbnail:hover .play-icon {
  opacity: 1;
}
.section #latest-work .latest .lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.section #latest-work .latest .lightbox iframe {
  width: 100%;
  /* 親要素の幅に合わせる */
  height: 56.25vw;
  /* 16:9 のアスペクト比を保持 */
  max-height: 80vh;
  /* 画面の高さを超えないように制限 */
  border: none;
}
.section #latest-work .latest .lightbox .lightbox-content {
  position: relative;
  width: 80%;
  /* デフォルトで画面幅の 90% */
  max-width: 1200px;
  /* 最大幅の制限 */
  height: auto;
  /* アスペクト比を保持 */
}
.section #latest-work .latest .lightbox .close-lightbox {
  position: absolute;
  top: 0px;
  /* ライトボックス内で見えるように調整 */
  right: -40px;
  color: #FFF;
  background: none;
  border: none;
  font-size: 24px;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  z-index: 1100;
  /* 他の要素より前面に表示 */
}
.section #latest-work .lw-title-shadow {
  width: 100%;
  height: auto;
  padding-top: 20px;
  position: absolute;
  bottom: 0;
  background: rgb(0, 0, 0);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 50%, rgba(255, 255, 255, 0) 100%);
  display: flex;
  justify-content: space-between;
  align-items: end;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.section #latest-work .lw-title-shadow h3 {
  color: #FFF;
  font-size: 1.4em;
  margin: 0 15px 8px;
  font-weight: 300;
}
@media (max-width: 400px) {
  .section #latest-work .lw-title-shadow h3 {
    font-size: 1em;
  }
}
.section #latest-work .lw-title-shadow .year {
  font-size: 1.4em;
}
@media (max-width: 400px) {
  .section #latest-work .lw-title-shadow .year {
    font-size: 1em;
  }
}
.section #latest-work .latest:hover .lw-title-shadow {
  opacity: 1;
}

.seemore {
  text-align: center;
  margin-top: 20px;
  display: block;
  transition: all 0.3s ease;
}

.seemore:hover {
  font-weight: 700;
}

#reels-carousel {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  padding: 0 10px;
  box-sizing: border-box;
}
@media (max-width: 400px) {
  #reels-carousel {
    padding: 0 5px;
  }
}

/* サムネイル */
.video-thumbnail {
  flex: 0 0 22vw;
  min-width: 0;
  max-width: 500px;
  aspect-ratio: 9/16;
  cursor: pointer;
  scroll-snap-align: start;
  position: relative;
}
@media (max-width: 400px) {
  .video-thumbnail {
    flex: 0 0 38vw;
    max-width: 500px;
  }
}

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

/* lightbox共通（既存と合わせて調整してOK） */
#reel-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

#reel-lightbox.active {
  display: flex;
}

#reel-player {
  width: 600px;
  height: 1066px;
  /* 9:16 */
  max-width: 90vw;
  max-height: 90vh;
  border: none;
}

#reel {
  width: 100%;
  overflow: hidden;
}
@media (max-width: 400px) {
  #reel {
    padding: 0 10px;
  }
}

/*# sourceMappingURL=main.css.map */
