@charset "UTF-8";

/* =========================================
   custom.css
   ========================================= */

.armg_lpheader_nav_contact {
 font-weight: bold;
}

.sup {
 font-size: 0.75em;
 vertical-align: super;
}

/* =========================================
   右端固定の動画サムネイルバナー（トリガー）
   ========================================= */

.mv__movie {
 position: fixed;
 top: 160px;
 right: 18px;
 width: 200px;
 max-width: 25vw;
 transition: opacity 0.3s ease;
 z-index: 900;
 cursor: pointer;
}

.mv__movie.is-hide {
 opacity: 0;
 pointer-events: none;
}

.mv__movie img {
 display: block;
 width: 100%;
 height: auto;
}

.mv__movie:hover {
 opacity: 0.9;
}

.mv__movie .forpc {
 display: block;
}

.mv__movie .forsp {
 display: none;
}

@media (max-width: 639px) {
 .mv__movie {
  top: auto;
  right: auto;
  left: 8px;
  bottom: 74px;
  width: 160px;
  max-width: 45vw;

  /* ▼ SPでは初期状態は非表示にする */
  opacity: 0;
  pointer-events: none;
 }

 /* is-hide が付いてない時だけ表示＆クリック可 */
 .mv__movie:not(.is-hide) {
  opacity: 1;
  pointer-events: auto;
 }

 .mv__movie .forpc {
  display: none;
 }

 .mv__movie .forsp {
  display: block;
 }
}

/* =========================================
   動画モーダル（#movieModal）
   ========================================= */

.mv-modal {
 position: fixed;
 inset: 0;
 z-index: 1000;
 display: none;
}

.mv-modal__bg {
 position: absolute;
 inset: 0;
 background: rgba(0, 0, 0, 0.6);
}

.mv-modal__body {
 position: absolute;
 top: 50%;
 left: 50%;
 transform: translate(-50%, -50%);
 width: auto;
 max-width: calc(100% - 32px);
 max-height: calc(100% - 32px);
 box-sizing: border-box;
}

.mv-modal__movie-inner {
 background: #000;
 text-align: center;
}

.mv-modal__movie-inner iframe {
 display: block;
 width: 560px;
 height: 315px;
 max-width: 100%;
 margin: 0 auto;
}

@media (max-width: 639px) {
 .mv-modal__body {
  width: calc(100% - 20px);
 }

 .mv-modal__movie-inner iframe {
  width: 100%;
  height: auto;
 }
}