/* Ninja Forms Custom Style - ninja.css */

.ninja-forms-form-wrap {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  font-family: 'Helvetica Neue', sans-serif;
}

.nf-field-label {
  font-weight: bold;
  margin-bottom: 0.5rem;
  display: block;
}

.nf-field-element input,
.nf-field-element select,
.nf-field-element textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  border: 1px solid #ccc;
  transition: all 0.2s ease-in-out;
}

.nf-field-element input:focus,
.nf-field-element select:focus,
.nf-field-element textarea:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.nf-form-submit .nf-element {
  background-color: #007bff;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.nf-form-submit .nf-element:hover {
  background-color: #0056b3;
}

/* エラーメッセージのスタイル */
.nf-error-msg,
.nf-error.field-wrap {
  color: #dc3545;
  font-size: 0.9rem;
  margin-top: -0.5rem;
  margin-bottom: 1rem;
}

/* 送信完了メッセージ */
.nf-response-msg {
  background-color: #d4edda;
  color: #155724;
  border-left: 4px solid #28a745;
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 0.5rem;
}
