@charset "Shift_JIS";
/* CSS Document */

/*    .btn-open-video {
      display: inline-block;
      padding: 12px 24px;
      border-radius: 4px;
      border: none;
      background: #ff7f00;
      color: #fff;
      font-size: 16px;
      cursor: pointer;
    }*/

#openVideoBtn {
      cursor: pointer;
}

    /* ▼▼▼ フェードイン用追加 CSS ▼▼▼ */
    .video-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.8);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 20000;

      opacity: 0;
      pointer-events: none;
      transition: opacity 0.4s ease;
    }

    .video-overlay.is-active {
      opacity: 1;
      pointer-events: auto;
    }

    /* 動画コンテナがふわっと拡大して出る */
    .video-container {
      position: relative;
      transform: scale(0.85);
      opacity: 0;
      transition: transform 1.5s ease, opacity 1.5s ease;
    }

    .video-overlay.is-active .video-container {
      transform: scale(1);
      opacity: 1;
    }

    /* ▼▼▼ 動画サイズ ▼▼▼ */
    .video-container video {
      width: 90vw;
      max-height: 90vh;
      display: block;
      background: #000;
      border: 1px solid #999;
    }

    .btn-close-video {
      position: absolute;
      top: -40px;
      right: 0;
      padding: 8px 16px;
      border-radius: 4px;
      border: none;
      background: #ffffff;
      cursor: pointer;
      font-size: 14px;
      font-weight: 800;
    }
