/***************************************
Lead
***************************************/
.lead {
  position: relative;
  overflow: clip;
}

.lead-wrapper {
  z-index: 1;
  position: relative;
  background: url(/assets/img/bg_dot.png) 0 0 / 5px 5px repeat;
  background-blend-mode: soft-light, normal;
  padding: 25px 16px 35px;
}

.lead-contents {
  max-width: 1200px;
  margin-inline: auto;
  padding: 20px;
  backdrop-filter: blur(3px);
  background: rgba(0,0,0,0.2);
  
}

.pick-up-movie-area {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 1200px;
  height: 100%;
  z-index: 0;
}

.pick-up-movie-area iframe {
  width: 100%;
  height: 100%;
}


@media (min-width:500px) {
    
  .lead-wrapper {
    padding: 60px 16px;
  }

    
  .pick-up-movie-area {
    width: 1000px;
    height: 100%;
  }

}

@media (min-width:768px) {
  .pick-up-movie-area {
    width: 1000px;
    height: 600px;
  }
}

@media (min-width:1000px) {
  .lead {
    max-height: 560px;
  }

  .lead-wrapper {
    padding: 153px 20px 135px;
  }

  .pick-up-movie-area {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

}

/***************************************
Introduction
***************************************/
.introduction-movie {
  width: 100%;
  aspect-ratio: 339 / 220;
  height: auto;
}

.introduction-movie iframe {
  width: 100%;
  height: 100%;
}

.introduction-text {
  display: flex;
  flex-direction: column;
}

.introduction-text .company-name {
  display: flex;
  align-items: center;
  gap: 14px;
}

.introduction-text .company-name img {
  width: 72px;
  height: auto;
  aspect-ratio: 1 / 1;
}

.introduction-text > p {
  padding-top: 25px;
  border-top: 1px solid #D7D7D7;
}

.introduction-text .link {
  color: #6E6E78;
}

.subscribe-yt {
  border-radius: 5px;
  border: 1px solid #D2D2D2;
  background: #FFF;
  display: flex;
  align-items: center;
  width: fit-content;
  padding: 10px 23px 9px 17px;
}

.subscribe-yt img {
  width: 45px;
  height: auto;
  aspect-ratio: 45 / 39;
}


@media (min-width:768px) {
  .introduction-movie {
    max-width: 800px;
    aspect-ratio: 800 / 450;
  }

  .introduction-text {
    flex-direction: row;
    gap: 80px;
  }

  .introduction-text > p {
    padding-top: 0;
    padding-left: 80px;
    border-top: none;
    border-left: 1px solid #D7D7D7;
    flex: 1;
  }

}

/***************************************
Our Programs
***************************************/
.movie-hgroup-heading3 {
  border-left: 6px solid var(--gold);
}

.movie-heading3 {
  line-height: 1.2;
}

.movie-hgroup-heading3 p {
  margin-top: 8px;
}

.latest-video iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 339 / 220;
}

.latest-videos-slider{
  margin-left: -18px;
  margin-right: -18px;
}

.latest-videos-slider .splide__slide .thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 233 / 131;
}

.latest-videos-slider .splide__slide .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.latest-videos-slider-arrows {
  position: absolute;
  width: 60%;
  height: auto;
  aspect-ratio: 233 / 131;
  left: 20%;
}

.latest-videos-slider-arrow {
  width: 30px;
  height: 30px;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.15);
  opacity: 1;
}

.latest-videos-slider-prev {
  left: 0;
  translate: calc(-24px - 100%) 0;
}

.latest-videos-slider-next {
  right: 0;
  translate: calc(24px + 100%) 0;
}

.latest-videos-slider-arrow svg {
  width: 12px;
  height: 12px;
  fill: #8C7826;
}

.latest-videos-slider-pagination {
  position: static;
  margin-top: 10px;
}

.latest-videos-slider-page {
  background: rgba(89, 89, 89, 0.40);
  margin: 0 5px;
}

.latest-videos-slider-page.is-active {
  background: #73715D;
  transform: none;
}

@media (min-width:768px) {
  .movie-hgroup-heading3 {
    display: flex;
    gap: 19px;
    align-items: center;
  }
    
  .movie-hgroup-heading3 p {
    margin-top: 0;
  }

  .latest-video-flex {
    display: flex;
    gap: 32px;
  }

  .latest-video {
    flex: 1;
  }

  .latest-video iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 968 / 544;
  }

  .latest-video-list-wrapper {
    width: 200px;
  }

  .latest-videos-slider {
    margin-left: 0;
    margin-right: 0;
  }

  .latest-videos-slider-next {
    right: 0;
    translate: 16px 0;
  }

  .latest-videos-slider-arrow svg {
    width: 20px;
    height: 20px;
    fill: #8C7826;
  }

  .video-title {
    line-height: 1.6;
  }
}

.video-list-flex {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.video-list-flex .btn-modal {
  display: block;
  width: 100%;
}

.video-list-flex .thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 339 / 191;
  display: block;
}

.video-list-flex .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.modal-wrapper {
  position: fixed;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  z-index: 2000;
  width: 90%;
  max-width: 800px;
}

.modal-contents {
  position: static;
  background: transparent;
  margin: 0 auto;
  width: 100%;
  height: auto;
}

.modal-contents iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.modal-close-btn {
  top: -50px;
  right: -12px;
  background: url(/assets/img/modal_close_white.svg) no-repeat center center / 100% 100%;
}

@media (min-width:768px) {
  .video-list-flex {
    flex-direction: row;
    gap: 30px;
  }

  .video-list-flex > li {
    flex: 1;
  }
}

/***************************************
You Tube CTA
***************************************/
.cta-yt {
  max-width: 712px;
}

.cta-yt hr {
  background: #98822A;
  height: 2px;
  width: 40px;
  margin: 15px auto 0;
}

/***************************************
Cookie Gated Video
***************************************/
.cookie-gated-frame {
  position: relative;
  width: 100%;
  height: 100%;
}

.pick-up-movie-area .cookie-gated-frame {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

/* .pick-up-movie-area .cookie-gated-frame .cookie-gated-placeholder {
  background: url(/assets/img/bg_video_placeholder.webp) no-repeat center top / cover;
} */

.pick-up-movie-area .cookie-gated-frame .cookie-gated-placeholder-title,
.pick-up-movie-area .cookie-gated-placeholder-text {
  font-size: 0;
}

.cookie-gated-frame iframe {
  display: block;
}

.cookie-gated-frame.is-gated iframe {
  opacity: 0;
  pointer-events: none;
}

.cookie-gated-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 16px;
  color: #FFFFFF;
  background: linear-gradient(140deg, rgba(13, 24, 43, 0.94), rgba(24, 41, 69, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.cookie-gated-frame:not(.is-gated) .cookie-gated-placeholder {
  display: none;
}

.cookie-gated-placeholder-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.cookie-gated-placeholder-text {
  margin-top: 8px;
  font-size: 1rem;
  line-height: 1.6;
}

@media (min-width:768px) {
  .cookie-gated-placeholder {
    padding: 24px;
  }

  .cookie-gated-placeholder-title {
    font-size: 2rem;
  }
  .cookie-gated-placeholder-text {
    font-size: 1.2rem;
  }
}

#js-main-movie:empty {
  background: #dfdfdf;
  min-height: 400px;
}

iframe#js-main-movie {
  min-height: 0 !important;
}


body:has(.is-gated) .lead-wrapper::before {
  content: '';
  width: 100%;
  height: 100%;
  background: url(/assets/img/bg_dot.png) 0 0 / 5px 5px repeat, url(/assets/img/bg_video_placeholder.webp) no-repeat center / cover;
  position: absolute;
  top: 0;
  left: 0;
}

body:has(.is-gated) #js-main-movie {
  display: grid;
  place-items: center;
}

body:has(.is-gated) #js-main-movie::before {
  content: '動画の表示にはCookieへの同意が必要です。\A「合意して続行」を押すとYouTube動画を再生できます。';
  white-space: pre-line;
  text-align: center;
  display: block;
  width: fit-content;
  height: fit-content;
  font-size: var(--fz20);
}

[lang="en"] body:has(.is-gated) #js-main-movie::before {
  content: 'Cookie consent is required to view this video.\APress "Accept and continue" to play the YouTube video.';
}