.jtc-wrap {
  max-width: 920px;
  margin: 32px auto;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
  color: #111827;
}

.jtc-hero {
  margin-bottom: 24px;
  padding: 22px;
  background: linear-gradient(135deg, #fff7ed, #f8fafc);
  border: 1px solid #fed7aa;
  border-radius: 16px;
}

.jtc-kicker {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9a3412;
}

.jtc-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  color: #111827;
}

.jtc-lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: #374151;
}

.jtc-form {
  display: block;
  margin: 0;
}

.jtc-field {
  margin-bottom: 18px;
}

.jtc-field label {
  display: block;
  margin-bottom: 7px;
  font-weight: 700;
  color: #111827;
}

.jtc-field label span {
  font-weight: 500;
  color: #6b7280;
}

.jtc-help,
.jtc-small-note,
.jtc-note {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: #6b7280;
}

.jtc-field input[type="text"],
.jtc-field textarea,
.jtc-field select {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 14px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: #ffffff;
  color: #111827;
  font-size: 16px;
  line-height: 1.5;
}

.jtc-field input[type="text"]:focus,
.jtc-field textarea:focus,
.jtc-field select:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.16);
}

.jtc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 760px) {
  .jtc-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.jtc-hp {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.jtc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 0;
  border-radius: 999px;
  background: #111827;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.2);
}

.jtc-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.24);
}

.jtc-button:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.jtc-result {
  margin-top: 26px;
}

.jtc-message {
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 700;
  line-height: 1.6;
}

.jtc-message-info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
}

.jtc-message-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.jtc-result-card {
  padding: 22px;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #f9fafb;
}

.jtc-result-card h2 {
  margin: 10px 0 12px;
  font-size: 26px;
  color: #111827;
}

.jtc-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 999px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
  font-size: 13px;
  font-weight: 800;
}

.jtc-quick-answer {
  margin: 0 0 18px;
  padding: 14px 16px;
  background: #ffffff;
  border-left: 5px solid #f97316;
  border-radius: 12px;
  line-height: 1.7;
  color: #374151;
}

.jtc-score-main {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 16px 0;
  padding: 16px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
}

.jtc-score-number {
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  color: #111827;
}

.jtc-score-label {
  color: #4b5563;
  font-weight: 700;
}

.jtc-option-card,
.jtc-warning-card {
  margin-top: 14px;
  padding: 16px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
}

.jtc-option-card {
  border-left: 5px solid #10b981;
}

.jtc-warning-card {
  border-left: 5px solid #ef4444;
  background: #fff7f7;
}

.jtc-japanese {
  font-size: 34px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.04em;
  color: #111827;
}

.jtc-romaji {
  margin-top: 4px;
  color: #6b7280;
  font-weight: 700;
}

.jtc-disclaimer {
  margin-top: 24px;
  padding: 16px;
  border-radius: 14px;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.7;
}

@media (max-width: 520px) {
  .jtc-wrap {
    margin: 18px auto;
    padding: 16px;
    border-radius: 14px;
  }

  .jtc-hero {
    padding: 16px;
  }

  .jtc-button {
    width: 100%;
  }

  .jtc-score-main {
    display: block;
  }

  .jtc-score-number {
    display: block;
    margin-bottom: 6px;
  }
}