/* ==========================================================================
   通報フォーム共通スタイル
   template-parts/report-form.php
========================================================================== */

.report-form-section {
  background: #fff8ef;
  padding: 48px 20px;
}
.report-form__inner {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  padding: 40px 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.report-form__header {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px dashed #fce4ec;
}
.report-form__icon {
  font-size: 2.4rem;
  display: inline-block;
  margin-bottom: 12px;
}
.report-form__title {
  font-size: 1.5rem;
  margin: 0 0 16px;
  color: #4a4a4a;
}
.report-form__lead {
  font-size: 1rem;
  line-height: 1.85;
  margin: 0;
  color: #666;
}
.report-form__lead strong { color: #ff7043; }

.report-form__field {
  margin-bottom: 24px;
}
.report-form__label {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: #4a4a4a;
  margin-bottom: 10px;
}
.report-form__label .req {
  display: inline-block;
  background: #ff7043;
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  font-weight: 400;
}
.report-form__label .opt {
  display: inline-block;
  background: #ccc;
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  font-weight: 400;
}
.report-form__hint {
  font-size: 0.9rem;
  color: #888;
  margin: 6px 0 0;
  line-height: 1.6;
}

.report-form__radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.report-form__radio-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #fff8ef;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  min-height: 48px;
  transition: background 0.15s ease;
}
.report-form__radio-group label:hover {
  background: #fce4ec;
}
.report-form__radio-group input[type="radio"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.report-form__checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  background: #fff8ef;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  min-height: 48px;
}
.report-form__checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.report-form input[type="text"],
.report-form input[type="email"],
.report-form select,
.report-form textarea {
  width: 100%;
  padding: 16px 18px;
  font-size: 1.05rem;
  border: 2px solid #fce4ec;
  border-radius: 10px;
  background: #fff;
  color: #4a4a4a;
  min-height: 56px;
  box-sizing: border-box;
  transition: border-color 0.15s ease;
}
.report-form input[type="text"]:focus,
.report-form input[type="email"]:focus,
.report-form select:focus,
.report-form textarea:focus {
  outline: none;
  border-color: #f8a5c2;
}
.report-form textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.7;
}

.report-form__submit {
  text-align: center;
  margin-top: 32px;
}
.report-form__submit .btn-warn {
  background: #ff7043;
  color: #fff;
  padding: 18px 40px;
  border-radius: 999px;
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 64px;
  transition: background 0.15s ease, transform 0.15s ease;
}
.report-form__submit .btn-warn:hover {
  background: #f4511e;
  transform: translateY(-2px);
}

.report-form__message {
  margin-top: 24px;
  padding: 16px 20px;
  border-radius: 10px;
  font-size: 1rem;
  line-height: 1.7;
  text-align: center;
}
.report-form__message:empty {
  display: none;
}
.report-form__message.is-loading {
  background: #fff8ef;
  color: #888;
}
.report-form__message.is-success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 2px solid #a5d6a7;
}
.report-form__message.is-error {
  background: #ffebee;
  color: #c62828;
  border: 2px solid #ef9a9a;
}

.report-form__safety {
  margin-top: 32px;
  padding: 20px 24px;
  background: #e3f2fd;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.85;
  color: #1565c0;
}
.report-form__safety strong {
  color: #0d47a1;
}

@media (max-width: 768px) {
  .report-form__inner {
    padding: 28px 20px;
  }
  .report-form__title {
    font-size: 1.3rem;
  }
}
