  @charset "UTF-8";
/*========== header ===========*/
/*========== キーイメージ ===========*/
.wrap_keyimage {
  position: relative;
}
.wrap_keyimage h1 {
  width: 45%;
  position: absolute;
  top: 75px;
  left: 5%;
  transform: translateX(0%);
}

/*========== ナビタブ ===========*/
.nav_tab_bar {
  text-align: center;
  padding: 2em 0;
}
.nav_tab_bar nav {
  display: inline-flex;
  font-weight: bold;
  gap: 4em;
  padding: 0 5%;
}
.nav_tab_bar nav a {
  font-size: 1.5em;
  position: relative;
  line-height: 140%;
}
.nav_tab_bar nav a:after {
  content: "";
  display: block;
  width: min(100%, 282px);
  height: 4px;
  margin: 0 auto;
  background: transparent;
}
.nav_tab_bar nav a.active:after {
  background: rgb(20, 188, 237);
  background: linear-gradient(90deg, rgb(20, 188, 237) 0%, rgb(20, 188, 237) 25%, rgb(232, 147, 53) 25%, rgb(232, 147, 53) 50%, rgb(114, 186, 68) 50%, rgb(114, 186, 68) 75%, rgb(250, 232, 11) 75%, rgb(250, 232, 11) 100%);
}
.nav_tab_bar nav a img {
  transition: 0.3s;
  filter: grayscale(10%);
  opacity: 0.5;
}
.nav_tab_bar nav a.active img {
  filter: grayscale(0%);
  opacity: 1;
}
@media print, screen and (max-width: 1080px) {
  .nav_tab_bar nav a {
    font-size: 2.5vw;
  }
}
@media print, screen and (max-width: 768px) {
  .nav_tab_bar nav {
    gap: 2.5em;
    padding: 0 5%;
  }
  .nav_tab_bar nav a {
    font-size: 4.2vw;
  }
}

/*========== コンテンツヘッダータイトル ===========*/
.content_header {
  text-align: center;
  margin-bottom: 3em;
}
.content_header h2 {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 0.5em;
}
.content_header p {
  font-size: 1.5em;
  line-height: 1.5em;
  font-weight: bold;
}
@media print, screen and (max-width: 1080px) {
  .content_header h2 {
    font-size: 4.2vw;
  }
  .content_header p {
    font-size: 2.5vw;
  }
}
@media print, screen and (max-width: 768px) {
  .content_header h2 {
    font-size: 4.8vw;
  }
  .content_header p {
    font-size: 3vw;
  }
}

/*========== ギャラリー ===========*/
.wrap_ul_cm_gallery_contents {
  padding: 25px 0 56px;
}

.ul_cm_gallery_contents {
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.ul_cm_gallery_contents li {
  width: 47.5%;
  font-weight: bold;
  margin-bottom: 16px;
}
.ul_cm_gallery_contents li img {
  border-radius: 8px;
}
.ul_cm_gallery_contents li span {
  display: block;
  margin-top: 8px;
}

.video_contents {
  display: none;
  max-width: 1000px;
}

iframe,
video {
  display: block;
  width: 100%;
  height: 50.6666666667vw;
  border-radius: 8px;
}
iframe.short,
video.short {
  width: 90%;
  max-width: 400px;
  margin: auto;
  height: 80vh;
}

.featherlight .featherlight-content {
  background: none;
  padding-left: 0;
  padding-right: 0;
  overflow: visible;
  width: 90%;
}
.featherlight .featherlight-close-icon {
  background: none;
  width: 40px;
  line-height: 40px;
  top: -48px;
  right: 0;
}

/*========== メイキングムービー ===========*/
.rainbow::after {
  content: "";
  display: block;
  width: min(100%, 282px);
  height: 2px;
  margin: 8px auto 0;
  background: rgb(20, 188, 237);
  background: linear-gradient(90deg, rgb(20, 188, 237) 0%, rgb(20, 188, 237) 25%, rgb(232, 147, 53) 25%, rgb(232, 147, 53) 50%, rgb(114, 186, 68) 50%, rgb(114, 186, 68) 75%, rgb(250, 232, 11) 75%, rgb(250, 232, 11) 100%);
}

.making_movie {
  padding: 48px 0 56px;
}
.making_movie .ttl_h2_service img {
  max-width: 297px;
}
.making_movie .wrap_video img {
  border-radius: 8px;
}

.ttl_h2_service {
  margin-bottom: 32px;
}

/*========== キャスト ===========*/
.cast {
  padding: 72px 0;
}
.cast .rainbow::after {
  width: min(100%, 190px);
}
.cast .ttl_h2_service img {
  max-width: 212px;
}

.cast_contents {
  margin-bottom: 40px;
}
.cast_contents:last-child {
  margin-bottom: 0;
}

.img_cast {
  width: 47%;
  margin: 0 auto;
}

.wrap_cast_text {
  margin-top: 32px;
}
.wrap_cast_text .font_b {
  font-size: 18px;
  font-size: 1.8rem;
}
.wrap_cast_text .cast_data {
  width: 100%;
  margin-bottom: 5%;
}
.wrap_cast_text .cast_data > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.wrap_cast_text .cast_data > div dt {
  width: 27%;
}
.wrap_cast_text .cast_data > div dd {
  width: 70%;
}

.ttl_h3_cast {
  font-weight: bold;
  font-size: 20px;
  font-size: 2rem;
  margin-bottom: 24px;
}

@media (min-width: 769px) {
  /*========== キーイメージ ===========*/
  .wrap_keyimage h1 {
    width: 23.6111111111vw;
    position: absolute;
    max-width: 300px;
    left: 5%;
    top: 120px;
    transform: translateX(0);
  }
  /*========== ギャラリー ===========*/
  .wrap_ul_cm_gallery_contents {
    padding: 45px 0 60px;
  }
  .ul_cm_gallery_contents {
    width: min(98%, 1048px);
  }
  .ul_cm_gallery_contents li {
    width: min(49%, 508px);
    margin-bottom: 40px;
  }
  .ul_cm_gallery_contents li.short_movie img {
    max-height: 285px;
    -o-object-fit: cover;
       object-fit: cover;
  }
  .ul_cm_gallery_contents li a:hover {
    opacity: 0.8;
  }
  .ul_cm_gallery_contents li img {
    border-radius: 16px;
  }
  .ul_cm_gallery_contents li span {
    margin-top: 24px;
  }
  video,
iframe {
    border-radius: 16px;
    height: min(37.5vw, 540px);
  }
  video.short,
iframe.short {
    width: 70%; /* 伸縮する横幅 */
    max-width: 400px; /* 最大の横幅 */
    margin: auto; /* 画面の中央に配置 */
    height: 75vh;
  }
  .featherlight .featherlight-content {
    padding-left: 20px;
    padding-right: 20px;
    width: min(69.4444444444vw, 1000px);
  }
  .featherlight .featherlight-close-icon {
    width: 48px;
    line-height: 48px;
  }
  .video_contents {
    margin: 0 auto;
  }
  /*========== メイキングムービー ===========*/
  .rainbow::after {
    width: min(100%, 476px);
    height: 5px;
    margin: 16px auto 0;
  }
  .making_movie {
    padding: 100px 0;
  }
  .making_movie .inner_section {
    width: min(98%, 847px);
  }
  .making_movie .ttl_h2_service img {
    max-width: 476px;
  }
  .making_movie .wrap_video img {
    border-radius: 16px;
  }
  .ttl_h2_service {
    line-height: 1;
  }
  .wrap_video a:hover {
    opacity: 0.8;
  }
  /*========== キャスト ===========*/
  .cast {
    padding: 100px 0;
  }
  .cast .rainbow::after {
    width: min(100%, 322px);
  }
  .cast .ttl_h2_service img {
    max-width: 322px;
  }
  .cast_contents {
    display: flex;
    justify-content: space-between;
  }
  .img_cast {
    width: min(23%, 239px);
    margin: 0;
  }
  .wrap_cast_text {
    margin-top: 0;
    font-size: 16px;
    font-size: 1.6rem;
    width: min(75%, 778px);
    line-height: 1.5;
  }
  .wrap_cast_text .cast_data {
    width: 100%;
    margin-bottom: 2%;
  }
  .wrap_cast_text .cast_data > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .wrap_cast_text .cast_data > div dt {
    width: 120px;
  }
  .ttl_h3_cast {
    font-size: 24px;
    font-size: 2.4rem;
    margin-bottom: 16px;
  }
  /*========== 沖縄電力の各種サービスをご紹介 ===========*/
  .wrap_service_info_lower .wrap_service_info_contents {
    width: min(98%, 1048px);
  }
  .wrap_service_info_lower .wrap_service_info_contents .service_info_contents {
    width: min(24%, 238px);
  }
}
.wrap_service_info_lower .service_info_head {
  padding: 40px 0 130px;
}
@media (min-width: 769px) {
  .wrap_service_info_lower .service_info_head {
    padding: 56px 0 154px;
  }
}
/*# sourceMappingURL=style_cm_gallery.css.map */