/* ─────────────────────────────────────────
   nr-diagnose.css — オンボーディング診断 (assets/nr-diagnose.js)
   index.html の #nrDiagnoseMount にレンダリングされる。
   DESIGN.md 準拠: warm minimalism / クリーム + ゴールド aksent。
   ───────────────────────────────────────── */

#nrDiagnoseMount {
  max-width: 720px;
  margin: 24px auto 8px;
  padding: 0 16px;
}

.nr-diagnose-card {
  background: linear-gradient(180deg, #FFF8EC 0%, #FDFCF9 90%);
  border: 1px solid var(--border, #E8E4DC);
  border-radius: 18px;
  padding: 24px 22px;
  box-shadow: 0 1px 0 rgba(8,145,178, 0.18);
}

.nr-diagnose-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--gold, #0891B2);
  text-transform: uppercase;
}

.nr-diagnose-eyebrow-result {
  color: #6B7F38;
}

.nr-diagnose-title {
  margin: 8px 0 6px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.6px;
  line-height: 1.35;
  color: rgba(26, 26, 26, 0.92);
}
.nr-diagnose-title span {
  color: var(--gold, #0891B2);
}
.nr-diagnose-result-title {
  font-size: 20px;
}

.nr-diagnose-sub {
  margin: 4px 0 18px;
  font-size: 13.5px;
  color: rgba(26,26,26,0.74);
  line-height: 1.6;
}

.nr-diagnose-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.nr-diagnose-primary {
  flex: 1 1 auto;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 9999px;
  background: linear-gradient(180deg, #2BC8E4 0%, #0891B2 55%, #0E7490 100%);
  color: #1a1a1a;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.2px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.nr-diagnose-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(8,145,178, 0.35);
}
.nr-diagnose-primary:active { transform: translateY(0); }

.nr-diagnose-ghost {
  min-height: 52px;
  padding: 0 18px;
  border: 1.5px solid var(--border-strong, #D8D3C8);
  border-radius: 9999px;
  background: transparent;
  color: rgba(26,26,26,0.74);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

/* ─── progress dots ─── */
.nr-diagnose-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}
.nr-diagnose-dot {
  flex: 0 0 32px;
  height: 4px;
  background: rgba(26, 26, 26, 0.10);
  border-radius: 2px;
  transition: background 0.2s ease;
}
.nr-diagnose-dot.is-active {
  background: var(--gold, #0891B2);
}

.nr-diagnose-step {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: rgba(26,26,26,0.7);
  text-transform: uppercase;
}

.nr-diagnose-q-title {
  margin: 6px 0 14px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.4px;
  line-height: 1.4;
  color: rgba(26, 26, 26, 0.92);
}

.nr-diagnose-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nr-diagnose-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 12px 16px;
  border: 1.5px solid var(--border, #E8E4DC);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  color: rgba(26, 26, 26, 0.88);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.2px;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
}
.nr-diagnose-option:hover {
  border-color: var(--gold, #0891B2);
  background: #FFF8EC;
  transform: translateX(2px);
}
.nr-diagnose-option:active { transform: translateX(0); }

.nr-diagnose-opt-icon {
  font-size: 22px;
  flex: 0 0 auto;
}
.nr-diagnose-opt-label {
  flex: 1 1 auto;
}

.nr-diagnose-back {
  margin-top: 14px;
  padding: 0;
  background: transparent;
  border: 0;
  font-size: 13px;
  color: rgba(26,26,26,0.7);
  cursor: pointer;
}
.nr-diagnose-back:hover { color: rgba(26, 26, 26, 0.8); }

/* ─── result ─── */
.nr-diagnose-primary-tool {
  display: block;
  margin-top: 14px;
  padding: 18px 18px 16px;
  background: linear-gradient(180deg, #FFFCF3 0%, #FFF8EC 100%);
  border: 1.5px solid var(--gold, #0891B2);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: all 0.18s ease;
}
.nr-diagnose-primary-tool:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(8,145,178, 0.28);
}

.nr-dpt-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nr-dpt-icon {
  font-size: 32px;
  flex: 0 0 auto;
}
.nr-dpt-body {
  flex: 1 1 auto;
  min-width: 0;
}
.nr-dpt-label {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: rgba(26, 26, 26, 0.92);
}
.nr-dpt-tagline {
  margin-top: 2px;
  font-size: 12.5px;
  color: rgba(26,26,26,0.74);
}
.nr-dpt-arrow {
  font-size: 24px;
  color: var(--gold, #0891B2);
  flex: 0 0 auto;
}

.nr-dpt-reason {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(8,145,178, 0.3);
  font-size: 13px;
  color: rgba(26, 26, 26, 0.7);
  line-height: 1.55;
}

.nr-diagnose-sec-label {
  margin: 20px 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(26,26,26,0.7);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.nr-diagnose-secondary {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nr-diagnose-secondary-tool {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border, #E8E4DC);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.15s ease;
}
.nr-diagnose-secondary-tool:hover {
  border-color: var(--gold, #0891B2);
  background: #FFF8EC;
  transform: translateX(2px);
}
.nr-dst-icon {
  font-size: 22px;
  flex: 0 0 auto;
}
.nr-dst-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.nr-dst-label {
  font-size: 14px;
  font-weight: 700;
  color: rgba(26, 26, 26, 0.88);
}
.nr-dst-tagline {
  font-size: 11.5px;
  color: rgba(26,26,26,0.7);
}
.nr-dst-arrow {
  color: rgba(26,26,26,0.7);
  font-size: 18px;
  flex: 0 0 auto;
}

.nr-diagnose-mission-tie {
  margin: 16px 0 2px;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(8,145,178, 0.10), rgba(8,145,178, 0.03));
  border: 1px solid rgba(8,145,178, 0.28);
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(26, 26, 26, 0.7);
  text-align: center;
}
.nr-diagnose-mission-tie b { color: #0C6478; font-weight: 800; }

.nr-diagnose-coach-link {
  display: block;
  margin: 10px 0 2px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px dashed rgba(8,145,178, 0.4);
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(26, 26, 26, 0.7);
  text-align: center;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.nr-diagnose-coach-link:hover {
  background: rgba(8,145,178, 0.06);
  border-color: #0891B2;
}
.nr-diagnose-coach-link b { color: #0C6478; font-weight: 800; }

.nr-diagnose-retake {
  display: block;
  margin: 18px auto 0;
  padding: 8px 14px;
  background: transparent;
  border: 0;
  font-size: 12.5px;
  color: rgba(26,26,26,0.7);
  cursor: pointer;
}
.nr-diagnose-retake:hover { color: rgba(26, 26, 26, 0.8); }

/* ─── mobile ─── */
@media (max-width: 639px) {
  #nrDiagnoseMount { margin: 18px auto 6px; padding: 0 12px; }
  .nr-diagnose-card { padding: 20px 18px; border-radius: 16px; }
  .nr-diagnose-title { font-size: 19px; }
  .nr-diagnose-q-title { font-size: 16px; }
  .nr-diagnose-actions { flex-direction: column; }
  .nr-diagnose-ghost { width: 100%; }
}
