@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;
}
.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_atab_e_contents {
  padding: 25px 0 56px;
}

.ul_atab_e_contents {
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.ul_atab_e_contents li {
  width: 47.5%;
  font-weight: bold;
  margin-bottom: 16px;
  display: block;
}
.ul_atab_e_contents li img {
  border-radius: 8px;
}
.ul_atab_e_contents li .play {
  position: relative;
}
.ul_atab_e_contents li .play:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20%;
  padding-top: 20%;
  transform: translate(-50%, -50%);
  background-image: url("../images/movie_arrow.webp");
  background-repeat: none;
  background-size: cover;
  background-position: center;
}
.ul_atab_e_contents li h3 {
  display: block;
  margin-top: 12px;
  font-weight: bold;
  font-size: 120%;
  color: #000;
}
.ul_atab_e_contents li p {
  color: #808080;
}

.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;
}

@media (min-width: 769px) {
  /*========== キーイメージ ===========*/
  .wrap_keyimage h1 {
    width: 23.6111111111vw;
    position: absolute;
    max-width: 300px;
    left: 5%;
    top: 120px;
    transform: translateX(0);
  }
  /*========== ギャラリー ===========*/
  .wrap_ul_atab_e_contents {
    padding: 45px 0 60px;
  }
  .ul_atab_e_contents {
    width: min(98%, 1048px);
  }
  .ul_atab_e_contents li {
    width: min(49%, 508px);
    margin-bottom: 40px;
  }
  .ul_atab_e_contents li.short_movie img {
    max-height: 285px;
    -o-object-fit: cover;
       object-fit: cover;
  }
  .ul_atab_e_contents li a:hover {
    opacity: 0.8;
  }
  .ul_atab_e_contents li img {
    border-radius: 16px;
  }
  .ul_atab_e_contents li h3 {
    margin-top: 32px;
  }
  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;
  }
  /*========== 沖縄電力の各種サービスをご紹介 ===========*/
  .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_atabi_e.css.map */