@charset "UTF-8";
/* ====================================
 * componentページ用CSS 2026追加
==================================== */

/* レスポンシブ時にテーブルが横スクロール表示 */
.table-wrap.scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}  
.table-wrap.scroll .table01 {
  min-width: 670px !important;
  width: auto !important;
  max-width: none !important;
  display: table !important;
  margin:0 auto;
}

/* レスポンシブ時に画像が縦表示 */
ul.image-flex{display: flex; gap:20px;margin:0 auto;}
ul.image-flex > li{margin-top:20px;}
ul.image-flex > li img{width:100%;}
@media screen and (max-width: 1023px) {
    ul.image-flex{display: block!important; max-width: 480px;}
}


/* precode＋コピーボタン */
.code-container {
  position: relative;
  margin-bottom: 1em;
}
.copy-button {
  position: absolute;
  top: 5px;
  right: 5px;
  padding: 4px 8px;
  font-size: 12px;
  cursor: pointer;
  background-color: #eee;
  border: 1px solid #ccc;
  border-radius: 4px;
  z-index: 1;
}
pre {
  background: #f8f8f8;
  padding: 1em;
  overflow-x: auto;
}
.code_area {
  position: relative;
}
.code_area_txt {
  width: 95%;
  margin: 0 auto;
  border-radius: 2px;
  font-size: 1.5rem;
  max-height: 500px;
  background-color: initial;
  padding: 0;
  position: relative;
  overflow-y: scroll;
}
.code_area_txt .hljs {
  padding: 0.5lh 0.8lh;
}

.copy_btn {
  padding: 3px 15px;
  cursor: pointer;
  background-color: #d7d7d7;
  border: none;
  color: #333;
  transition: all 0.1s ease-out;
  border-radius: 5px;
  font-size: 1.2rem;
  position: absolute;
  bottom: 5px;
  right: calc(2.5% + 17px + 5px);
  z-index: 1;
}
.copy_btn:hover {
  background-color: #ffe6e6;
}
.copy_btn:active {
  transform: translateY(1px);
  box-shadow: none;
  background-color: #fff;
  color: var(--main-c);
}
.copy_btn::after {
  font-family: FontAwesome;
  content: "\f0c5";
  font-size: 1.4rem;
  margin-left: 3px;
}

.clickavle {
  cursor: pointer;
  width: initial;
}
.clickavle:not(:first-of-type) {
  margin-top: 8px;
}

.js-popup-balloon::before {
  content: "\f00c Copied";
  padding: 7px 6px 8px 8px;
  border: 1px #cccccc solid;
  background: hsla(167, 100%, 93%, 0.7);
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
  width: 5.5em;
  display: block;
  color: #204e45;
  font-family: Arial, Helvetica, sans-serif, FontAwesome;
  font-size: 1.4rem;
  font-weight: normal;
  position: absolute;
  top: -30px;
  right: 33px;
  z-index: 10000;
  animation: popup 3s forwards;
}

@keyframes popup {
  0% {
    transform: translateY(15%);
    opacity: 0;
  }
  10%, 90% {
    transform: none;
    opacity: 1;
  }
  100% {
    transform: translateY(15%);
    opacity: 0;
    pointer-events: none;
  }
}
    
.hljs-emphasis {
  font-style: normal !important;
}  




/* 動画再生モーダル */
.ele-movie-wrapper {
  display: block;
  max-width: 600px;
  margin: 20px auto !important;
}

@media screen and (max-width: 639px) {
  .ele-movie-wrapper {
    margin: 0 auto 40px;
    text-align: left;
  }
}

.ele-movie-thumbnail {
  border: 1px solid #ddd;
  display: block;
}

.ele-movie-video {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.lity-content {
  max-width: 900px;
  margin: 0 auto;
}

.ele-movie-title {
  text-align: center;
  font-weight: 700;
}

.ele-movie-img-wrapper,
.ele-movie-img-wrapper-wh,
.ele-movie-img-wrapper-anm {
  display: block;
  position: relative;
  margin-bottom: 6px;
  transition: all 0.3s ease-out;
}

.ele-movie-img-wrapper::after,
.ele-movie-img-wrapper-wh::after,
.ele-movie-img-wrapper-anm::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  z-index: 3;
  background-image: url("https://enexty-assets-public.dxp.nexty-ele.com/movie_start.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.ele-movie-img-wrapper-wh::after {
  transition: all 0.3s ease-out;
  background-image: url("https://enexty-assets-public.dxp.nexty-ele.com/movie_start_wh.png");
}

a:hover .ele-movie-img-wrapper-wh {
  filter: opacity(0.7);
}

a:hover .ele-movie-img-wrapper-wh::after {
  filter: invert(1);
}


