@charset "UTF-8";
/* モーダル全体（初期は非表示） */
.modalWrap {
  position: fixed;
  inset: 0;
  display: none;               /* 初期は非表示 */
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.6);
  z-index: 9999;
  padding: 24px;               /* 端末小さい時の余白 */
  box-sizing: border-box;
}

/* 表示トグル用 */
.modalWrap.is-open {
  display: flex;
}

/* 動画コンテナ */
.youtubeBox {
  width: min(960px, 100%);
  aspect-ratio: 16 / 9;
  background: #000;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

/* 閉じるボタン */
.modalWrap .close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 28px;
  line-height: 1;
  color: #fff;
  cursor: pointer;
  user-select: none;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(0,0,0,.35);
}

/* クリック可能にしておく */
.youtueItem { cursor: pointer; }