.conf-page {
  --conf-ink: #172b3b;
  --conf-blue: #1d60a8;
}
.conf-hero {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.985),
    rgba(255, 251, 242, 0.97)
  );
}
.conf-hero-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.7;
  background:
    radial-gradient(
      circle at 86% 14%,
      rgba(217, 56, 58, 0.09) 0 10%,
      transparent 10.5%
    ),
    radial-gradient(
      circle at 95% 55%,
      rgba(29, 96, 168, 0.09) 0 8%,
      transparent 8.5%
    ),
    radial-gradient(
      circle at 68% 90%,
      rgba(245, 158, 11, 0.08) 0 12%,
      transparent 12.5%
    );
}
.conf-hero h1 {
  max-width: 720px;
  letter-spacing: -0.04em;
}
.conf-hero-points {
  color: #425466;
  font-size: 0.88rem;
}
.conf-hero-points span {
  padding: 0.42rem 0.68rem;
  border: 1px solid rgba(29, 96, 168, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
}
.conf-preview-wrap {
  max-width: 430px;
  margin: 0 auto;
  padding: 0.75rem;
  border: 1px solid rgba(29, 96, 168, 0.13);
  border-radius: 22px;
  background: rgba(245, 248, 252, 0.88);
  box-shadow: 0 18px 50px rgba(29, 60, 95, 0.1);
  transform: rotate(0.4deg);
}
.conf-preview-topline {
  display: flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.25rem 0.3rem 0.75rem;
  color: #708092;
  font-size: 0.74rem;
  font-weight: 700;
}
.conf-preview-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cbd5e1;
}
.conf-preview-tag {
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  color: #1d60a8;
  background: #e8f2fd;
}
.conf-preview-card {
  padding: 1.15rem;
  border: 1px solid #e6ebf2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.035);
}
.conf-mini-label {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 700;
}
.conf-target-word {
  margin: 0.15rem 0 0.35rem;
  color: #172b3b;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.25;
}
.conf-target-word span {
  display: inline-block;
  margin-left: 0.3rem;
  color: #64748b;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  vertical-align: middle;
}
.conf-answer-list {
  display: grid;
  gap: 0.5rem;
}
.conf-answer {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 43px;
  padding: 0.5rem 0.65rem;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  color: #435365;
  font-size: 0.91rem;
}
.conf-answer-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  border-radius: 8px;
  background: #f1f5f9;
  color: #526174;
  font-size: 0.78rem;
  font-weight: 800;
}
.conf-answer--correct {
  border-color: rgba(21, 128, 61, 0.28);
  color: #166534;
  background: #f2fbf5;
}
.conf-answer--correct .conf-answer-key {
  color: #fff;
  background: #15803d;
}
.conf-answer--correct i {
  color: #15803d;
}
.conf-preview-note {
  margin-top: 0.8rem;
  padding-top: 0.75rem;
  border-top: 1px dashed #e2e8f0;
  color: #708092;
  font-size: 0.75rem;
  line-height: 1.5;
}
.conf-preview-caption {
  padding: 0.8rem 0.35rem 0.1rem;
  color: #526174;
  text-align: center;
  font-size: 0.78rem;
}
.conf-feature-card {
  padding: 1.35rem;
  border: 1px solid var(--qm-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--qm-shadow-card);
}
.conf-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  margin-bottom: 1rem;
  border-radius: 13px;
  font-size: 1.2rem;
}
.conf-feature-icon--blue {
  color: #1d60a8;
  background: #eaf3fc;
}
.conf-feature-icon--red {
  color: #bd3538;
  background: #fff0ef;
}
.conf-feature-icon--gold {
  color: #9a6507;
  background: #fff5d9;
}
.conf-section-intro {
  max-width: 720px;
}
.conf-level {
  isolation: isolate;
}
.conf-level::before {
  height: 5px;
}
.conf-level::after {
  z-index: -1;
}
.conf-level--n5::before {
  background: linear-gradient(90deg, #15803d, #72bb74);
}
.conf-level--n4::before {
  background: linear-gradient(90deg, #0891b2, #67c5d2);
}
.conf-level--n3::before {
  background: linear-gradient(90deg, #d97706, #f6bd55);
}
.conf-level--n2::before {
  background: linear-gradient(90deg, #2563eb, #78a7f8);
}
.conf-level--n1::before {
  background: linear-gradient(90deg, #b91c1c, #ef7777);
}
.conf-level-heading {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  margin: 0.35rem 0 0.5rem;
}
.conf-level .level-number {
  margin: 0;
}
.conf-level-code {
  color: var(--qm-text-strong);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 2.15rem;
  font-weight: 900;
  letter-spacing: -0.05em;
}
.conf-level--n5 .level-badge {
  color: #166534;
  background: rgba(34, 197, 94, 0.11);
}
.conf-level--n4 .level-badge {
  color: #0e7490;
  background: rgba(8, 145, 178, 0.11);
}
.conf-level--n3 .level-badge {
  color: #9a3412;
  background: rgba(245, 158, 11, 0.13);
}
.conf-level--n2 .level-badge {
  color: #1d4ed8;
  background: rgba(59, 130, 246, 0.11);
}
.conf-level--n1 .level-badge {
  color: #b91c1c;
  background: rgba(220, 53, 69, 0.1);
}
.conf-level .level-focus {
  margin-top: auto;
}
.conf-start-btn {
  position: relative;
  z-index: 1;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.conf-start-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(29, 96, 168, 0.11);
}
.conf-process-list {
  display: grid;
  gap: 0.75rem;
}
.conf-study-card {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.15rem;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.84);
}
.conf-study-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 12px;
  color: #1d60a8;
  background: #eaf3fc;
  font-size: 1.05rem;
}
#confLevelsTitle {
  letter-spacing: -0.035em;
}
#confusableFaq .accordion-body {
  line-height: 1.9;
}
@media (max-width: 991.98px) {
  .conf-hero h1 {
    font-size: 2.35rem;
  }
  .conf-preview-wrap {
    max-width: 520px;
    transform: none;
  }
}
@media (max-width: 575.98px) {
  .conf-hero h1 {
    font-size: 2rem;
  }
  .conf-hero .lead {
    font-size: 1rem;
    line-height: 1.8;
  }
  .conf-preview-wrap {
    padding: 0.45rem;
    border-radius: 17px;
  }
  .conf-preview-card {
    padding: 0.9rem;
  }
  .conf-target-word {
    font-size: 2.25rem;
  }
  .conf-level-code {
    font-size: 1.9rem;
  }
  .conf-feature-card {
    padding: 1.15rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .conf-start-btn {
    transition: none;
  }
  .conf-start-btn:hover {
    transform: none;
  }
}
