[x-cloak] {
  display: none !important;
}

.label-required::after {
  content: " *";
  color: #dc2626;
}

/* 4ステップナビ */
.form-stepper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.25rem;
  margin-bottom: 2rem;
  padding: 0 0.25rem;
}

.form-stepper__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
  position: relative;
}

.form-stepper__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1.125rem;
  left: calc(50% + 1.125rem);
  right: calc(-50% + 1.125rem);
  height: 2px;
  background: #cbd5e1;
  z-index: 0;
}

.form-stepper__item.is-done:not(:last-child)::after {
  background: #3b82f6;
}

.form-stepper__circle {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  border: 2px solid #cbd5e1;
  background: #fff;
  color: #64748b;
  flex-shrink: 0;
}

.form-stepper__item.is-active .form-stepper__circle {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

.form-stepper__item.is-done .form-stepper__circle {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
}

.form-stepper__label {
  margin-top: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #64748b;
  text-align: center;
  line-height: 1.3;
  word-break: keep-all;
}

@media (min-width: 400px) {
  .form-stepper__label {
    font-size: 0.75rem;
  }
}

.form-stepper__item.is-active .form-stepper__label {
  color: #1e40af;
}

.form-stepper__item.is-done .form-stepper__label {
  color: #334155;
}

.zip-lookup-msg {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.25rem;
}

.zip-lookup-msg.is-error {
  color: #dc2626;
}
