
/* ===== V-CAT本番模試 [vcat_moshi] =====
   記事埋め込み（spi-mini 系・reset無し）。第1部=連続加算（作業検査）・第2部=性格設問（5段階 interpret）。
   イントロ→ゲート先行→出題→作業曲線＋持ち味診断。NMAT型を踏襲し、テーマ色をペトロールブルーに。
   ※内部CSS変数名は nmat 由来の --nm-* を踏襲（値のみV-CAT用に差し替え・3E と同方式）。 */

.vcat-moshi {
  --nm-navy: #0F6E93;
  --nm-navy-d: #0A566F;
  --nm-navy-l: #E7F3F8;
  --nm-blue: #2E8FB5;
  --nm-blue-d: #1F7699;
  --nm-mist: #E7F3F8;
  --nm-orange: #FF7A00;
  --nm-orange-d: #C85D00;
  --nm-ink: #333;
  --nm-sub: #666;
  --nm-line: #e3e6ee;
  container-type: inline-size;
  font-family: -apple-system, BlinkMacSystemFont, 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
  color: var(--nm-ink);
  border: 1px solid var(--nm-line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.vcat-moshi-screen { padding: 0; }

/* ===== 試験開始画面 ===== */
.vcat-moshi-intro-hero,
.vcat-moshi-gate-hero {
  position: relative;
  min-height: 200px;
  overflow: hidden;
  background: var(--nm-mist);
}
.vcat-moshi-intro-hero {
  background: var(--nm-mist); /* オーナー好み＝ゲートと同じ淡色ヒーロー（2026-07-28） */
}
.vcat-moshi-intro-heading,
.vcat-moshi-gate-heading {
  position: relative;
  z-index: 2;
  width: 72%;
  padding: 32px 0 26px 42px;
}
.vcat-moshi-intro-title,
.vcat-moshi-gate-title {
  width: calc(100cqi - 294px);
  max-width: 100%;
  margin: 0;
  padding: 0 0 12px;
  border-bottom: 4px dotted #0a566f;
  color: #0a566f;
  font-size: clamp(27px, 5cqi, 40px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: .03em;
  white-space: nowrap;
}
.vcat-moshi-intro-title {
  padding-bottom: 0;
  border-bottom: 0;
  color: #0a566f; /* 淡色ヒーローに合わせてペトロール文字 */
  font-size: clamp(34px, 6cqi, 44px);
}
.vcat-moshi-intro-lead,
.vcat-moshi-gate-lead {
  margin: 13px 0 0;
  color: #243043;
  font-size: clamp(13px, 2.1cqi, 17px);
  font-weight: 700;
  line-height: 1.65;
}
/* リード文の幅を制限し、右のプレビュー画像に文字が被らないようにする（TAL と同じ計算） */
.vcat-moshi-intro-hero .vcat-moshi-intro-lead,
.vcat-moshi-gate-hero .vcat-moshi-gate-lead {
  width: calc(100cqi - 294px);
  max-width: 100%;
}
.vcat-moshi-mobile-break,
.vcat-moshi-gate-mobile-break { display: none; }
.vcat-moshi-intro-kyoka,
.vcat-moshi-gate-kyoka {
  position: absolute;
  top: 0;
  right: 20px;
  width: 210px;
  height: 210px;
  object-fit: contain;
}
/* ヒーロー右の実画面プレビュー（TAL [tal_moshi] と同じ＝傾けて重ねたミニ画面カード2枚） */
.vcat-moshi-intro-preview {
  position: absolute;
  right: 22px;
  bottom: -29px;
  width: 204px;
  height: 218px;
  margin: 0;
  pointer-events: none;
}
.vcat-moshi-intro-preview img {
  position: absolute;
  display: block;
  width: 96px;
  height: auto;
  aspect-ratio: 342 / 710;
  object-fit: cover;
  border: 2px solid #171717;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 12px rgba(16,32,72,.28);
}
.vcat-moshi-intro-preview-gengo {
  top: 22px;
  left: 8px;
  transform: rotate(-5deg);
}
.vcat-moshi-intro-preview-higengo {
  top: 3px;
  right: 6px;
  transform: rotate(6deg);
}
.vcat-moshi-gate-preview {
  bottom: -27px;
}
.vcat-moshi-intro-body {
  width: min(calc(100% - 48px), 760px);
  margin: 0 auto;
  padding: 18px 0 26px;
}
.vcat-moshi-intro-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.vcat-moshi-intro-spec {
  display: grid;
  grid-template-columns: minmax(0, 1fr);   /* アイコン列は廃止（オーナー指示 2026-08-06） */
  align-items: center;
  min-height: 0;
  padding: 13px 16px;
  border: 1px solid #d5ddf0;
  border-radius: 14px;
  background: #f6f8fe;
}
.vcat-moshi-intro-spec-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #e6ecfa;
}
.vcat-moshi-intro-spec-icon img {
  width: 34px;
  height: 34px;
  filter: invert(24%) sepia(38%) saturate(1400%) hue-rotate(197deg) brightness(92%) contrast(90%);
}
.vcat-moshi-intro-spec-part {
  display: block;
  margin-bottom: 1px;
  color: var(--nm-navy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}
.vcat-moshi-intro-spec-name {
  display: block;
  color: #1c2430;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}
.vcat-moshi-intro-spec-meta {
  display: block;
  margin-top: 3px;
  color: #52607a;
  font-size: 12px;
  font-weight: 700;
}
.vcat-moshi-intro-caution {
  margin-top: 13px;
  padding: 12px 17px 13px;
  border: 1px solid #f5d8b0;
  border-radius: 13px;
  background: #fff6e9;
}
.vcat-moshi-intro-caution-title {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 7px;
  color: #a85700;
  font-size: 13px;
  font-weight: 800;
}
.vcat-moshi-intro-caution-title img {
  width: 17px;
  height: 17px;
  filter: invert(54%) sepia(93%) saturate(2438%) hue-rotate(9deg) brightness(99%) contrast(101%);
}
.vcat-moshi-intro-caution ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 20px;
  margin: 0;
  padding: 0;
  color: #4d443b;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.6;
  list-style: none;
}
.vcat-moshi-intro-caution li {
  display: grid;
  grid-template-columns: 6px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  padding-left: 0;
}
.vcat-moshi-intro-caution li::before {
  position: static;
  width: 6px;
  height: 6px;
  margin-top: calc((1.6em - 6px) / 2);
  border-radius: 50%;
  background: var(--nm-orange);
  content: "";
}
.vcat-moshi-intro-start {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(100%, 600px);
  min-height: 58px;
  margin: 19px auto 0;
  border: 0;
  border-radius: 32px;
  color: #fff;
  background: var(--nm-navy);
  box-shadow: 0 6px 0 var(--nm-navy-d), 0 13px 20px rgba(10,86,111,.24);
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .05em;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.vcat-moshi-intro-start:hover { background: #325aa6; transform: translateY(-1px); }
.vcat-moshi-intro-start:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--nm-navy-d); }
.vcat-moshi-intro-start img { width: 20px; height: 20px; filter: brightness(0) invert(1); }
.vcat-moshi-intro-note {
  margin: 22px 0 0;
  color: #7b8290;
  font-size: 10px;
  font-weight: 600;
  text-align: center;
}
body .entry-content .vcat-moshi .vcat-moshi-intro-caution ul {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body .entry-content .vcat-moshi .vcat-moshi-intro-caution li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

/* ===== LINEゲート ===== */
.vcat-moshi-gate-kicker {
  display: block;
  margin-bottom: 7px;
  color: var(--nm-navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}
.vcat-moshi-gate-body {
  width: min(calc(100% - 48px), 680px);
  margin: 0 auto;
  padding: 25px 0 28px;
  text-align: center;
}
.vcat-moshi-gate-perk {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 16px;
  padding: 7px 15px;
  border: 1px solid #bce8cb;
  border-radius: 22px;
  color: #138f83;
  background: #effbf3;
  font-size: 14px;
  font-weight: 800;
}
.vcat-moshi-gate-perk::after {
  position: absolute;
  bottom: -7px;
  left: 50%;
  width: 12px;
  height: 12px;
  border-right: 1px solid #bce8cb;
  border-bottom: 1px solid #bce8cb;
  background: #effbf3;
  content: "";
  transform: translateX(-50%) rotate(45deg);
}
.vcat-moshi-gate-perk img {
  width: 18px;
  height: 18px;
  filter: invert(45%) sepia(39%) saturate(990%) hue-rotate(125deg) brightness(91%) contrast(88%);
}
.vcat-moshi-line-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 64px;
  border-radius: 34px;
  color: #fff !important;
  background: #06c755;
  box-shadow: 0 6px 0 #05a948, 0 13px 22px rgba(6,199,85,.2);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .03em;
  text-decoration: none !important;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.vcat-moshi-line-button:hover { color: #fff !important; background: #10d45e; transform: translateY(-1px); }
.vcat-moshi-line-button:active { transform: translateY(5px); box-shadow: 0 1px 0 #05a948; }
.vcat-moshi-line-badge {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}
.vcat-moshi-line-badge img { width: 30px; height: 30px; object-fit: contain; display: block; }
.vcat-moshi-line-label {
  position: absolute;
  left: 0;
  right: 0;
  box-sizing: border-box;
  padding: 0 44px;
  text-align: center;
  color: #fff !important;
  font-size: 15px;
  line-height: 1.4;
  white-space: nowrap;
}
.vcat-moshi-gate-form { margin-top: 22px; }
.vcat-moshi-gate-field { position: relative; }
.vcat-moshi-gate-lock {
  position: absolute;
  top: 50%;
  left: 18px;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  pointer-events: none;
}
.vcat-moshi-gate-lock-body {
  position: absolute;
  top: 9px;
  left: 2px;
  width: 16px;
  height: 11px;
  border-radius: 2px;
  background: #949aa0;
}
.vcat-moshi-gate-lock-shackle {
  position: absolute;
  top: 2px;
  left: 5px;
  width: 10px;
  height: 10px;
  border: 2px solid #949aa0;
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
}
.vcat-moshi .vcat-moshi-gate-input {
  width: 100%;
  height: 58px;
  margin: 0;
  padding: 0 60px 0 52px;
  border: 2px solid #aebfe0;
  border-radius: 15px;
  color: #1c2430;
  background: #f7f9fd;
  box-sizing: border-box;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
}
.vcat-moshi .vcat-moshi-gate-input::placeholder { color: #99a0b0; }
.vcat-moshi .vcat-moshi-gate-input:focus {
  border-color: var(--nm-navy);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(42,75,141,.12);
  outline: none;
}
.vcat-moshi .vcat-moshi-gate-input.is-error { border-color: #e04e4e; color: #e04e4e; }
.vcat-moshi-gate-go {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: var(--nm-navy);
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, transform .08s ease;
}
.vcat-moshi-gate-go:hover { background: #325aa6; }
.vcat-moshi-gate-go:active { transform: translateY(-50%) scale(.94); }
.vcat-moshi-gate-error {
  margin: 10px 0 0;
  color: #d54747;
  font-size: 12px;
  font-weight: 800;
}
.vcat-moshi-gate-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 16px 0 0;
  color: #7d8390;
  font-size: 14px;
  font-weight: 700;
}
.vcat-moshi-gate-proof img { width: 26px; height: 26px; }
.vcat-moshi-gate-proof strong { color: #f27600; font-size: 21px; font-weight: 900; }
.vcat-moshi-gate-note {
  margin: 14px 0 0;
  color: var(--nm-orange);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.6;
}
.vcat-moshi-gate-back {
  margin-top: 14px;
  padding: 0;
  border: 0;
  color: var(--nm-sub);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.vcat-moshi-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.vcat-moshi-intro-start:focus-visible,
.vcat-moshi-line-button:focus-visible,
.vcat-moshi-gate-go:focus-visible,
.vcat-moshi-gate-back:focus-visible,
.vcat-moshi-gate-input:focus-visible {
  outline: 4px solid rgba(42,75,141,.28);
  outline-offset: 4px;
}

/* ===== 第2部開始カード ===== */
.vcat-moshi-start-card { padding: 22px 18px 24px; text-align: center; }
.vcat-moshi-start-head {
  font-size: 18px;
  font-weight: 800;
  color: var(--nm-navy);
  margin-bottom: 10px;
  line-height: 1.5;
}
.vcat-moshi-start-lead {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--nm-ink);
  margin: 0 auto 16px;
  max-width: 40em;
}
.vcat-moshi-start {
  display: inline-block;
  background: var(--nm-navy);
  color: #fff;
  border: none;
  border-radius: 26px;
  font-size: 15px;
  font-weight: 800;
  padding: 13px 34px;
  cursor: pointer;
  transition: background .15s, transform .1s;
  box-shadow: 0 4px 12px rgba(42,75,141,.28);
}
.vcat-moshi-start:hover { background: var(--nm-navy-d); }
.vcat-moshi-start:active { transform: translateY(1px); }

/* ===== 進捗バー（第1部/第2部共通） ===== */
.vcat-moshi-screen[data-screen="part1"],
.vcat-moshi-screen[data-screen="part2"] {
  background:
    radial-gradient(circle at 92% 4%, rgba(42,75,141,.09), transparent 23%),
    linear-gradient(180deg, #f3f6fd 0, #fff 265px);
}
.vcat-moshi-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 18px 0;
  padding: 13px 16px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, #0a566f 0%, #0f6e93 68%, #2e8fb5 100%);
  box-shadow: 0 7px 0 #063d52, 0 14px 26px rgba(10,86,111,.18);
}
.vcat-moshi-bar-part {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: .04em;
}
.vcat-moshi-bar-part::before {
  display: grid;
  place-items: center;
  flex: 0 0 27px;
  width: 27px;
  height: 27px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 9px;
  background: rgba(255,255,255,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
  content: "1";
  font-size: 12px;
}
.vcat-moshi-screen[data-screen="part2"] .vcat-moshi-bar-part::before { content: "2"; }
.vcat-moshi-bar-progress {
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(0,20,60,.18);
  font-size: 12px;
  font-weight: 800;
}
.vcat-moshi-bar-timer {
  min-width: 72px;
  padding: 5px 9px;
  border-radius: 9px;
  background: #fff;
  color: var(--nm-navy);
  box-shadow: 0 3px 0 rgba(22,48,94,.2);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.vcat-moshi-bar-timer.is-warning {
  color: #c75b00;
  background: #fff3df;
  animation: vcat-moshi-pulse 1s infinite;
}
@keyframes vcat-moshi-pulse { 0%,100%{opacity:1} 50%{opacity:.45} }

.vcat-moshi-timebar {
  height: 7px;
  margin: 13px 30px 0;
  overflow: hidden;
  border: 1px solid #d5ddee;
  border-radius: 999px;
  background: #e8edf7;
}
.vcat-moshi-timebar-fill {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0a566f, #2e8fb5);
  box-shadow: 0 0 10px rgba(42,75,141,.3);
  transition: width 1s linear;
}

/* ===== 質問 ===== */
.vcat-moshi-q {
  position: relative;
  margin: 20px 18px 0;
  padding: 25px 22px 20px;
  border: 1px solid #dbe1ee;
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 12px 30px rgba(31,53,91,.09), inset 0 1px 0 #fff;
}
.vcat-moshi-q::before {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-bottom: 10px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--nm-navy);
  background: #e9eefa;
  content: "QUESTION";
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: .15em;
}
.vcat-moshi-q-text {
  margin: 0 0 11px;
  color: #1b2a3f;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.75;
  letter-spacing: .015em;
}
.vcat-moshi-q-text table { max-width: 100%; }
.vcat-moshi-q-hint {
  display: inline-flex;
  align-items: center;
  margin: 0 0 16px;
  padding: 6px 10px;
  border-radius: 8px;
  color: #60697c;
  background: #f4f6fa;
  font-size: 11.5px;
  font-weight: 600;
}
.vcat-moshi-q-hint strong { color: var(--nm-navy); }

.vcat-moshi-choices { display: flex; flex-direction: column; gap: 10px; }
.vcat-moshi-choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 55px;
  padding: 12px 15px;
  border: 1px solid #dce2ec;
  border-radius: 13px;
  color: #30384a;
  background: linear-gradient(180deg, #fff, #fbfcfe);
  box-shadow: 0 3px 0 #e6eaf1, 0 7px 16px rgba(38,49,77,.045);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.6;
  cursor: pointer;
  text-align: left;
  transition: transform .14s, border-color .14s, background .14s, box-shadow .14s;
}
.vcat-moshi-choice:hover {
  border-color: #8ba6dc;
  background: #f7faff;
  box-shadow: 0 4px 0 #d3ddf1, 0 9px 18px rgba(42,75,141,.08);
  transform: translateY(-1px);
}
.vcat-moshi-choice:focus-visible {
  outline: 3px solid rgba(42,75,141,.24);
  outline-offset: 2px;
}
.vcat-moshi-choice.is-selected {
  border-color: var(--nm-navy);
  color: var(--nm-navy-d);
  background: linear-gradient(135deg, #e8eefb, #f6f9ff);
  box-shadow: 0 4px 0 #b7c6ea, 0 9px 20px rgba(42,75,141,.13);
  transform: translateY(-1px);
}
.vcat-moshi-choice-check {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 2px solid #c1cbe0;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(10,86,111,.08);
  transition: background .12s, border-color .12s, box-shadow .12s;
}
.vcat-moshi-choice.is-selected .vcat-moshi-choice-check {
  border-color: var(--nm-navy);
  background: linear-gradient(135deg, #0f6e93, #2e8fb5);
  box-shadow: 0 3px 7px rgba(42,75,141,.25);
}
.vcat-moshi-choice-check::after {
  content: '';
  width: 10px;
  height: 6px;
  border-left: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
  opacity: 0;
  transition: opacity .12s;
}
.vcat-moshi-choice.is-selected .vcat-moshi-choice-check::after { opacity: 1; }
.vcat-moshi-choice-label { flex: 1; }

.vcat-moshi-q-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 18px;
  padding: 16px 4px 24px;
}
.vcat-moshi-q-selected {
  display: inline-flex;
  flex: 1;
  align-items: center;
  gap: 7px;
  color: #657081;
  font-size: 11.5px;
  font-weight: 700;
}
.vcat-moshi-q-selected::before {
  width: 8px;
  height: 8px;
  border: 2px solid #9fb0d0;
  border-radius: 50%;
  background: #fff;
  content: "";
}
.vcat-moshi-next, .vcat-moshi-finish {
  min-width: 126px;
  min-height: 45px;
  padding: 10px 24px;
  border: none;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #2e8fb5, #6394df);
  box-shadow: 0 5px 0 #1f7699, 0 10px 18px rgba(56,105,179,.18);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.vcat-moshi-next:hover, .vcat-moshi-finish:hover {
  background: linear-gradient(135deg, #4376c4, #5d8bd2);
  transform: translateY(-1px);
}
.vcat-moshi-next:active, .vcat-moshi-finish:active {
  box-shadow: 0 1px 0 #1f7699;
  transform: translateY(4px);
}
.vcat-moshi-next:disabled, .vcat-moshi-finish:disabled {
  color: #fff;
  background: #cbd2de;
  box-shadow: 0 4px 0 #b0b8c6;
  cursor: not-allowed;
  transform: none;
}
.vcat-moshi-finish { background: var(--nm-navy); box-shadow: 0 5px 0 var(--nm-navy-d), 0 10px 18px rgba(42,75,141,.18); }
.vcat-moshi-finish:hover { background: #325aa6; }
.vcat-moshi-finish:active { box-shadow: 0 1px 0 var(--nm-navy-d); }

/* ===== 結果本体（ゲート解除後） ===== */
.vcat-moshi-result-body { padding: 8px 16px 18px; }
.vcat-moshi-rb-eyebrow {
  font-size: 13px;
  font-weight: 800;
  color: var(--nm-navy);
  text-align: center;
  letter-spacing: .04em;
  margin: 22px 0 12px;
}

/* 結果ヒーロー（総合スコア） */
.vcat-moshi-rb-hero {
  border-radius: 16px;
  padding: 18px 16px 20px;
  text-align: center;
}
.vcat-moshi-rb-hero--safe    { background: #E8F5EC; border: 1px solid #bfe3c8; }
.vcat-moshi-rb-hero--caution { background: #fff7ed; border: 1px solid #fad9ad; }
.vcat-moshi-rb-hero--danger  { background: #fdecec; border: 1px solid #f5c2c2; }
.vcat-moshi-rb-hero-band {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 16px;
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
}
.vcat-moshi-rb-hero--safe    .vcat-moshi-rb-hero-band { background: #1f8a80; }
.vcat-moshi-rb-hero--caution .vcat-moshi-rb-hero-band { background: #d18309; }
.vcat-moshi-rb-hero--danger  .vcat-moshi-rb-hero-band { background: #d23b3b; }
.vcat-moshi-rb-hero-score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}
.vcat-moshi-rb-hero-metric {
  flex: 1;
  max-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.vcat-moshi-rb-hero-num {
  color: var(--nm-navy);
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .01em;
}
.vcat-moshi-rb-hero-num.is-low { color: #d18309; }
.vcat-moshi-rb-hero-num small { font-size: 18px; font-weight: 800; margin-left: 2px; }
.vcat-moshi-rb-hero-cap {
  margin-top: 8px;
  color: #56606f;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.4;
}
.vcat-moshi-rb-hero-sep { width: 1px; align-self: stretch; background: rgba(0,0,0,.1); }
.vcat-moshi-rb-hero-text {
  margin: 0;
  color: var(--nm-ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.8;
  text-align: left;
}

/* 科目別バー */
.vcat-moshi-rb-axes {
  border: 1px solid var(--nm-line);
  border-radius: 14px;
  padding: 14px 16px 16px;
}
.vcat-moshi-rb-axis { margin-bottom: 14px; }
.vcat-moshi-rb-axis:last-child { margin-bottom: 0; }
.vcat-moshi-rb-axis-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 5px;
}
.vcat-moshi-rb-axis-name { font-size: 13px; font-weight: 800; color: var(--nm-ink); }
.vcat-moshi-rb-axis-val { font-size: 12px; font-weight: 800; color: var(--nm-navy); }
.vcat-moshi-rb-axis-track { height: 9px; background: #eef1f6; border-radius: 5px; overflow: hidden; }
.vcat-moshi-rb-axis-fill {
  display: block;
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--nm-navy), var(--nm-blue));
}
.vcat-moshi-rb-axis-fill.is-low { background: #e0a86a; }

/* 全問レビュー */
.vcat-moshi-rb-reviews { display: flex; flex-direction: column; gap: 12px; }
.vcat-moshi-rb-review {
  border: 1px solid var(--nm-line);
  border-left: 4px solid #cbd2de;
  border-radius: 12px;
  padding: 13px 15px 15px;
  background: #fff;
}
.vcat-moshi-rb-review.is-correct { border-left-color: #1f8a80; }
.vcat-moshi-rb-review.is-wrong { border-left-color: #e04e4e; }
.vcat-moshi-rb-review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.vcat-moshi-rb-review-no {
  color: var(--nm-navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .03em;
}
.vcat-moshi-rb-review-badge {
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
}
.vcat-moshi-rb-review.is-correct .vcat-moshi-rb-review-badge { color: #1f8a80; background: #E4F8F6; }
.vcat-moshi-rb-review.is-wrong .vcat-moshi-rb-review-badge { color: #d23b3b; background: #fdecec; }
.vcat-moshi-rb-review-q {
  margin: 0 0 9px;
  color: #26303f;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.7;
}
.vcat-moshi-rb-review-q table { max-width: 100%; }
.vcat-moshi-rb-review-ans,
.vcat-moshi-rb-review-correct {
  margin: 0 0 3px;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.6;
  color: #3a4453;
}
.vcat-moshi-rb-review-ans span,
.vcat-moshi-rb-review-correct span { color: #838b98; font-weight: 700; }
.vcat-moshi-rb-review.is-wrong .vcat-moshi-rb-review-ans { color: #c0392b; }
.vcat-moshi-rb-review-correct { color: #1f8a80; }
.vcat-moshi-rb-review-exp {
  margin-top: 9px;
  padding: 11px 13px;
  border-radius: 9px;
  background: #f5f7fb;
  color: #3f4757;
  font-size: 12.5px;
  line-height: 1.75;
}
.vcat-moshi-rb-review-exp strong { color: var(--nm-navy-d); }

.vcat-moshi-rb-note {
  font-size: 11px;
  color: #999;
  line-height: 1.6;
  text-align: center;
  margin: 18px 4px 0;
}

/* ===== スマホ ===== */
@media (max-width: 600px) {
  .vcat-moshi { border-radius: 14px; }
  .vcat-moshi-intro-hero,
  .vcat-moshi-gate-hero { min-height: 195px; }
  .vcat-moshi-intro-heading,
  .vcat-moshi-gate-heading { width: 72%; padding: 28px 0 24px 24px; }
  .vcat-moshi-intro-title,
  .vcat-moshi-gate-title {
    width: calc(100cqi - 172px);
    max-width: 100%;
    padding-bottom: 9px;
    border-bottom-width: 3px;
    font-size: 21px;
  }
  .vcat-moshi-intro-title { padding-bottom: 0; border-bottom: 0; font-size: 26px; }
  .vcat-moshi-intro-lead,
  .vcat-moshi-gate-lead { width: 220px; margin-top: 10px; font-size: 11px; }
  .vcat-moshi-intro-lead { font-size: 13px; }
  /* モバイルは2クラス指定で幅を上書き（PC用 calc(100cqi-294px) の漏れ防止・プレビューと非重複） */
  .vcat-moshi-intro-hero .vcat-moshi-intro-lead,
  .vcat-moshi-gate-hero .vcat-moshi-gate-lead { width: 178px; }
  .vcat-moshi-mobile-break,
  .vcat-moshi-gate-mobile-break { display: block; }
  .vcat-moshi-intro-kyoka,
  .vcat-moshi-gate-kyoka { top: 24px; right: 4px; width: 128px; height: 128px; }
  .vcat-moshi-intro-preview {
    right: 4px;
    bottom: -4px;
    width: 108px;
    height: 158px;
  }
  .vcat-moshi-intro-preview img {
    width: 49px;
    border-width: 1.5px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(16,32,72,.22);
  }
  .vcat-moshi-intro-preview-gengo { top: 28px; left: 5px; }
  .vcat-moshi-intro-preview-higengo { top: 12px; right: 3px; }
  .vcat-moshi-gate-preview { bottom: -4px; }
  .vcat-moshi-intro-body,
  .vcat-moshi-gate-body { width: calc(100% - 28px); padding: 22px 0 26px; }
  .vcat-moshi-intro-specs { grid-template-columns: 1fr; gap: 9px; }
  .vcat-moshi-intro-spec { grid-template-columns: 54px minmax(0, 1fr); min-height: 82px; padding: 11px 14px; }
  .vcat-moshi-intro-spec-icon { width: 54px; height: 54px; }
  .vcat-moshi-intro-spec-icon img { width: 31px; height: 31px; }
  .vcat-moshi-intro-spec-name { font-size: 17px; }
  .vcat-moshi-intro-caution { padding: 12px 14px 13px; }
  .vcat-moshi-intro-caution ul { grid-template-columns: 1fr; gap: 3px; font-size: 11px; }
  .vcat-moshi-intro-start { min-height: 54px; margin-top: 17px; font-size: 16px; }
  .vcat-moshi-gate-perk { margin-bottom: 14px; padding: 6px 13px; font-size: 13px; }
  .vcat-moshi-line-button { min-height: 60px; font-size: 13px; }
  .vcat-moshi-line-badge { left: 13px; }
  .vcat-moshi-line-label { padding: 0 42px; font-size: 15px; }
  .vcat-moshi-gate-form { margin-top: 20px; }
  .vcat-moshi .vcat-moshi-gate-input { height: 54px; border-radius: 14px; font-size: 15px; }
  .vcat-moshi-gate-go { width: 40px; height: 40px; }
  .vcat-moshi-gate-proof { font-size: 13px; }
  .vcat-moshi-gate-proof img { width: 23px; height: 23px; }
  .vcat-moshi-gate-proof strong { font-size: 19px; }
  .vcat-moshi-bar { gap: 7px; margin: 12px 12px 0; padding: 10px; border-radius: 13px; }
  .vcat-moshi-bar-part { gap: 7px; font-size: 11px; letter-spacing: 0; }
  .vcat-moshi-bar-part::before { flex-basis: 23px; width: 23px; height: 23px; border-radius: 7px; font-size: 10px; }
  .vcat-moshi-bar-progress { padding: 4px 7px; font-size: 10.5px; }
  .vcat-moshi-bar-timer { min-width: 61px; padding: 4px 6px; font-size: 13px; }
  .vcat-moshi-timebar { height: 6px; margin: 11px 22px 0; }
  .vcat-moshi-q { margin: 16px 12px 0; padding: 18px 14px 15px; border-radius: 15px; }
  .vcat-moshi-q::before { min-height: 21px; margin-bottom: 8px; padding: 0 8px; font-size: 8.5px; }
  .vcat-moshi-q-text { margin-bottom: 9px; font-size: 14px; line-height: 1.7; }
  .vcat-moshi-q-hint { margin-bottom: 13px; padding: 5px 8px; font-size: 10.5px; }
  .vcat-moshi-choices { gap: 9px; }
  .vcat-moshi-choice { min-height: 51px; gap: 10px; padding: 10px 11px; border-radius: 11px; font-size: 12px; }
  .vcat-moshi-choice-check { width: 22px; height: 22px; }
  .vcat-moshi-q-foot { margin: 0 12px; padding: 14px 2px 21px; }
  .vcat-moshi-q-selected { font-size: 10.5px; }
  .vcat-moshi-next,
  .vcat-moshi-finish { min-width: 108px; min-height: 43px; padding: 9px 18px; font-size: 13px; }
  .vcat-moshi-rb-hero-num { font-size: 38px; }
  .vcat-moshi-rb-hero-num small { font-size: 16px; }
  .vcat-moshi-rb-hero-cap { font-size: 10.5px; }
  .vcat-moshi-result-body { padding: 8px 12px 16px; }
}

/* ===== 結果ローディング（「結果を集計しています」くるくる）===== */
.vcat-moshi-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 240px;
  padding: 48px 20px;
  text-align: center;
}
.vcat-moshi-loader[hidden] { display: none; }
.vcat-moshi-loader-spinner {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 4px solid var(--nm-navy-l, #E7F3F8);
  border-top-color: var(--nm-navy, #0F6E93);
  animation: vcat-moshi-spin .8s linear infinite;
}
.vcat-moshi-loader-text {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--nm-navy-d, #0A566F);
  letter-spacing: .04em;
}
@keyframes vcat-moshi-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .vcat-moshi-loader-spinner { animation-duration: 1.8s; }
}

/* ===== [ad_vcat] V-CAT広告 = TAL広告 [ad_tal] と同じデザイン（.tal-ad を写経・自己完結） =====
   京香 [say] は独立した吹き出し／SANGO box32 だけがカード、という見た目。ラッパー .vcat-ad は
   カード枠を持たない（TAL と同じ）。ボタン色（オレンジ/緑）・端末モック・ベネフィットは TAL と同一値。 */
.vcat-ad {
  container-type: inline-size;
  font-family: inherit;
  color: #333;
}
/* 本番模試 [vcat_moshi] は id="vcat-honban-moshi"。固定ヘッダーに隠れないようアンカー余白を確保。 */
#vcat-honban-moshi { scroll-margin-top: 88px; }

.vcat-ad .vcat-ad-btn {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 12px auto;
  padding: 15px 20px;
  border-radius: 10px;
  color: #fff !important;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  text-decoration: none !important;
  box-shadow: 0 4px 0 rgba(0,0,0,.14), 0 8px 16px rgba(0,0,0,.08);
  transition: transform .12s, box-shadow .12s, opacity .12s;
}
.vcat-ad .vcat-ad-btn:hover  { color: #fff !important; opacity: .94; transform: translateY(-1px); }
.vcat-ad .vcat-ad-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0,0,0,.14); }
.vcat-ad .vcat-ad-btn .fa    { margin-right: 6px; }
.vcat-ad .vcat-ad-btn--orange { background: #ff9900; }
.vcat-ad .vcat-ad-btn--green  { background: #27a69a; }
.vcat-ad .vcat-ad-btn-sub {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  font-weight: 600;
  opacity: .95;
}
.vcat-ad .vcat-ad-note {
  display: block;
  margin-top: 8px;
  text-align: center;
  font-size: 12px;
  color: #ff0000;
}
.vcat-ad .vcat-ad-phones {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  margin: 2px auto 12px;
}
.vcat-ad .vcat-ad-phones-link {
  display: block;
}
.vcat-ad .vcat-ad-konowaka-phones {
  display: block;
  width: min(100%, 480px);
  height: auto;
  margin: 2px auto 12px;
  filter: drop-shadow(0 8px 10px rgba(12, 72, 96, .2));
}
.vcat-ad .vcat-ad-benefits {
  list-style: none;
  margin: 8px 0 12px;
  padding: 0;
  text-align: left;
}
.vcat-ad .vcat-ad-benefits li {
  position: relative;
  margin: 0;
  padding: 5px 0 5px 22px;
  font-size: 15px;
  line-height: 1.55;
  color: #252525;
}
.vcat-ad .vcat-ad-benefits li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.78em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #252525;
}
.vcat-ad .vcat-ad-proof {
  margin: 4px 0 2px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  color: #808080;
}
.vcat-ad .vcat-ad-proof strong { color: #ff7a00; }
/* 「＼ スマホでそのまま練習 ／」を直後のボタンにぐっと近づける（オーナー指示 2026-07-28） */
.vcat-ad .vcat-ad-proof + .vcat-ad-btn { margin-top: 2px; }

/* =========================================================================
   第1部 連続加算（作業検査）UI ＝ V-CAT固有（NMATに無い新エンジン）
   ========================================================================= */
.vcat-moshi-work {
  box-sizing: border-box;
  max-width: 100%;
  padding: 6px 2px 4px;
}
.vcat-moshi-work-instr {
  margin: 4px 0 10px;
  text-align: center;
  font-size: clamp(13px, 2.4cqi, 15px);
  color: var(--nm-sub);
}
.vcat-moshi-work-instr strong { color: var(--nm-navy-d); }

/* 数列ストリップ（横スクロール・現在ペアを強調） */
.vcat-moshi-work-strip {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  box-sizing: border-box; /* 左右42%のパディングを幅の内側に収める＝横はみ出し防止（content-boxだと1.8倍幅で全体オーバーフロー） */
  width: 100%;
  max-width: 100%;
  padding: 10px 42%;
  margin: 0 0 6px;
  background: var(--nm-mist);
  border-radius: 12px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.vcat-moshi-work-strip::-webkit-scrollbar { display: none; }
.vcat-moshi-work-strip.is-switching { opacity: .35; transition: opacity .12s; }
.vcat-moshi-digit {
  flex: 0 0 auto;
  width: 30px;
  text-align: center;
  font-size: 21px;
  font-weight: 700;
  color: #3a4657;
  font-variant-numeric: tabular-nums;
  transition: color .12s, transform .12s;
}
.vcat-moshi-digit.is-active {
  color: var(--nm-navy);
  transform: scale(1.18);
}
.vcat-moshi-gap {
  flex: 0 0 auto;
  width: 24px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #96a2b3;
  border-bottom: 2px solid #d6deea;
}
.vcat-moshi-gap.is-done { color: var(--nm-navy-d); border-bottom-color: transparent; }
.vcat-moshi-gap.is-active {
  border-bottom-color: var(--nm-navy);
  background: rgba(15,110,147,.10);
  border-radius: 6px 6px 0 0;
}
.vcat-moshi-gap.is-active::after {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--nm-navy);
  animation: vcat-moshi-blink 1s steps(2, start) infinite;
}
@keyframes vcat-moshi-blink { 0%,100%{opacity:1} 50%{opacity:.25} }

/* 現在ペアの大表示 */
.vcat-moshi-work-focus {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 4px 0 14px;
  font-weight: 800;
  color: var(--nm-navy-d);
}
.vcat-moshi-work-focus-a,
.vcat-moshi-work-focus-b {
  min-width: 46px;
  padding: 6px 4px;
  text-align: center;
  font-size: 30px;
  background: var(--nm-navy-l);
  border-radius: 12px;
  font-variant-numeric: tabular-nums;
}
.vcat-moshi-work-focus-op,
.vcat-moshi-work-focus-eq { font-size: 22px; color: var(--nm-sub); }
.vcat-moshi-work-focus-q {
  min-width: 46px; text-align: center; font-size: 30px; color: var(--nm-navy);
}

/* テンキー（10桁・1タップ入力） */
.vcat-moshi-keypad {
  box-sizing: border-box;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  max-width: 460px;
  margin: 0 auto;
}
.vcat-moshi-key {
  appearance: none;
  border: 1.5px solid #d6deea;
  background: #fff;
  border-radius: 12px;
  padding: 14px 0;
  font-size: 22px;
  font-weight: 800;
  color: var(--nm-navy-d);
  cursor: pointer;
  transition: transform .06s, background .12s, border-color .12s;
  font-variant-numeric: tabular-nums;
}
.vcat-moshi-key:hover { border-color: var(--nm-navy); }
.vcat-moshi-key.is-press,
.vcat-moshi-key:active {
  transform: translateY(1px) scale(.96);
  background: var(--nm-navy);
  border-color: var(--nm-navy);
  color: #fff;
}
/* 0 は grid の自然順で2行目末尾（9の隣）に収める＝孤立させない（1-5 / 6-0 の2行） */

.vcat-moshi-work-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  gap: 10px;
}
.vcat-moshi-work-count { font-size: 13px; font-weight: 700; color: var(--nm-sub); }
.vcat-moshi-work-skip {
  appearance: none;
  border: 1px solid #d6deea;
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--nm-navy-d);
  cursor: pointer;
}
.vcat-moshi-work-skip:hover { border-color: var(--nm-navy); background: var(--nm-navy-l); }

/* =========================================================================
   結果：作業曲線（1分ごとの作業量）
   ========================================================================= */
.vcat-moshi-curve {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4px;
  padding: 12px 8px 8px;
  background: var(--nm-mist);
  border-radius: 12px;
}
.vcat-moshi-curve-col {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}
.vcat-moshi-curve-bar-track {
  width: 60%;
  max-width: 22px;
  height: 108px; /* 固定高さ＝子バーの % 高さを確実に解決（flexのbasis autoだと%が効かない） */
  display: flex;
  align-items: flex-end;
}
.vcat-moshi-curve-bar {
  display: block;
  width: 100%;
  min-height: 3px;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, var(--nm-blue) 0%, var(--nm-navy) 100%);
}
.vcat-moshi-curve-val { margin-top: 4px; font-size: 11px; font-weight: 700; color: var(--nm-navy-d); font-variant-numeric: tabular-nums; }
.vcat-moshi-curve-lbl { font-size: 10px; color: var(--nm-sub); }
.vcat-moshi-curve-type {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0 4px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--nm-navy-l);
  border: 1px solid #c7e0ea;
}
.vcat-moshi-curve-type-badge {
  flex: 0 0 auto;
  align-self: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--nm-navy);
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
  white-space: nowrap;
}
.vcat-moshi-curve-type p { margin: 0; font-size: .9rem; line-height: 1.7; color: var(--nm-navy-d); }
.vcat-moshi-miss-note {
  margin: 10px 0 4px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--nm-line);
  font-size: .88rem;
  line-height: 1.7;
  color: var(--nm-ink);
}

/* =========================================================================
   結果：性格 interpret（e3-moshi.css の pc/interp を V-CAT名前空間へ写経）
   ========================================================================= */
.vcat-moshi-pc-axes { display:flex; flex-direction:column; gap:8px; }
.vcat-moshi-pc-axes .vcat-moshi-rb-axis-head { display:flex; align-items:center; justify-content:space-between; }
.vcat-moshi-pc-badge {
  font-size:.78rem; font-weight:700; line-height:1; padding:5px 10px; border-radius:999px; white-space:nowrap;
}
.vcat-moshi-pc-badge.is-ok   { color:#1f8a80; background:#e3f6f3; }
.vcat-moshi-pc-badge.is-warn { color:#c0392b; background:#fdecec; }
.vcat-moshi-pc-skip { color:#949aa0; font-weight:600; }
.vcat-moshi-pc-overall {
  margin:12px 0 4px; padding:14px 16px; border-radius:12px;
  background:var(--nm-navy-l); border:1px solid #c7e0ea; color:var(--nm-navy-d);
  font-size:.92rem; line-height:1.7;
}
.vcat-moshi-rb-review.is-interp { border-left:4px solid var(--nm-blue); background:#f1f8fb; }
.vcat-moshi-rb-review-badge.is-neutral {
  color:var(--nm-navy-d); background:var(--nm-navy-l); border:1px solid #c7e0ea;
}

/* イントロ・プレビュー画像の位置エイリアス（V-CATは work/seikaku の2枚） */
.vcat-moshi-intro-preview-work    { top: 22px; left: 8px; transform: rotate(-5deg); }
.vcat-moshi-intro-preview-seikaku { top: 3px; right: 6px; transform: rotate(6deg); }

/* 第1部の解き方ガイド（イントロ内） */
.vcat-moshi-intro-how {
  margin: 4px 0 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--nm-navy-l);
  border: 1px solid #c7e0ea;
}
.vcat-moshi-intro-how-title {
  font-size: .92rem;
  font-weight: 800;
  color: var(--nm-navy-d);
  margin-bottom: 6px;
}
.vcat-moshi-intro-how-text {
  margin: 0;
  font-size: .88rem;
  line-height: 1.75;
  color: var(--nm-ink);
}
.vcat-moshi-intro-how-text b { color: var(--nm-navy); font-size: 1.05em; }
.vcat-moshi-intro-how-text strong { color: var(--nm-navy-d); }


/* ===== イントロをファーストビューに収める（feedback_moshi_intro_needs_firstview_cta） =====
   狙いは「開始ボタンを増やす」ことではなく、開始ボタンの下端を iPhone の実効ビューポート
   （780px − SANGO固定ヘッダー62px ≒ 718px）の内側に入れること。縦だけを詰める
   （文字サイズは デザイン.md の下限＝注記10px・見出し14.5px以上 を割らない）。
   ⚠ 上の @media ブロックより後ろに置くこと（同じ詳細度なので後勝ちで効かせる）。 */
@media (max-width: 720px) {
  .vcat-moshi-intro-body { padding: 13px 0 18px; }
  /* スマホでも2枚のカードは横並び（オーナー指示 2026-08-06）。1カラムだと縦を食う。 */
  .vcat-moshi-intro-specs { grid-template-columns: 1fr 1fr; gap: 8px; }
  /* 上の @media(600px) に残る `54px minmax(0,1fr)`（廃止したアイコン列）を打ち消す。
     残すと文字が幅60px程度に押し込まれて「連続加/算」のように割れる。 */
  .vcat-moshi-intro-spec {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    min-height: 0;
    padding: 10px 11px;
    align-items: start;
  }
  .vcat-moshi-intro-spec-part { font-size: 10px; letter-spacing: .06em; }
  .vcat-moshi-intro-spec-name { font-size: 14.5px; line-height: 1.35; overflow-wrap: anywhere; }
  .vcat-moshi-intro-spec-meta { margin-top: 3px; font-size: 11.5px; line-height: 1.5; white-space: normal; }
  .vcat-moshi-intro-caution { margin-top: 10px; padding: 10px 13px 11px; }
  .vcat-moshi-intro-caution-title { margin-bottom: 5px; }
  .vcat-moshi-intro-caution ul { grid-template-columns: 1fr; gap: 2px; line-height: 1.5; font-size: 11px; }
  .vcat-moshi-intro-start { margin-top: 13px; min-height: 52px; }
}

/* 340px以下（iPhone SE等）では2列カードの内幅が足りず見出しがはみ出す。
   ⚠ ここは @media（ビューポート基準）ではなく @container（模試カード自身の幅）で書く。
   記事カラムは端末幅より狭いので、狭いのはカードであってビューポートとは限らない。 */
@container (max-width: 345px) {
  .vcat-moshi-intro-spec { padding-left: 8px; padding-right: 8px; }
  .vcat-moshi-intro-spec-name { font-size: 14px; }
}
