/* ===========================================================
   ProLabo Gate Modal（診断前確認カード）
   診断前ゲート専用
=========================================================== */

/* 表示制御 */
.prolabo-gate {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
}
.prolabo-gate.is-open {
  display: block;
}

/* 背景 */
.prolabo-gate__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* カード本体 */
.prolabo-gate__card {
  position: relative;
  width: min(680px, calc(100% - 32px));
  margin: 10vh auto 0;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(0,183,194,.18);
  box-shadow:
    0 22px 70px rgba(0,0,0,.28),
    0 0 28px rgba(0,183,194,.16);
  overflow: hidden;
  animation: prolaboGatePop .28s ease-out;
}

@keyframes prolaboGatePop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ヘッダー */
.prolabo-gate__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.prolabo-gate__badge {
  font-weight: 900;
  color: #00b7c2;
  letter-spacing: .02em;
}

.prolabo-gate__close {
  border: none;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
  padding: 6px 10px;
  line-height: 1;
}

/* 本文 */
.prolabo-gate__body {
  padding: 18px 16px 22px;
}

.prolabo-gate__row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

/* キャラ */
.prolabo-gate__chara {
  width: 88px;
  height: 88px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: pixelated;
}

/* テキスト */
.prolabo-gate__title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 900;
  color: #0f172a;
}

.prolabo-gate__desc {
  margin: 0;
  line-height: 1.7;
  font-weight: 800;
  color: #334155;
}

/* 強調（指定2語のみ） */
.em-target {
  color: #e53935;
  font-weight: 900;
}

/* チェック */
.prolabo-gate__checks {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.prolabo-gate__check {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #f7fafb;
  border: 1px solid rgba(0,183,194,.18);
  border-radius: 12px;
  padding: 12px 12px;
}

.prolabo-gate__check input {
  width: 18px;
  height: 18px;
  accent-color: #00b7c2;
}

/* ボタン */
.prolabo-gate__actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
}

.prolabo-gate__btn {
  flex: 1;
  border-radius: 12px;
  padding: 12px 12px;
  border: 1px solid #e5e7eb;
  font-weight: 900;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}

.prolabo-gate__btn--ghost {
  background: #fff;
}

.prolabo-gate__btn--primary {
  border: none;
  color: #fff;
  background: linear-gradient(90deg,#00b7c2,#0094cc);
  box-shadow: 0 14px 34px rgba(0,148,204,.18);
}

.prolabo-gate__btn--primary:disabled {
  opacity: .45;
  cursor: not-allowed;
  box-shadow: none;
}

/* 背景スクロール抑止 */
.prolabo-gate-lock {
  overflow: hidden !important;
}

/* スマホ調整 */
@media (max-width: 480px) {
  .prolabo-gate__card {
    margin-top: 8vh;
  }
  .prolabo-gate__row {
    gap: 12px;
  }
  .prolabo-gate__chara {
    width: 72px;
    height: 72px;
  }
}