/* ---------- Contact Form Styles (contract-request.css を補完) ---------- */

.contact-intro {
  margin-bottom: 24px;
  line-height: 1.8;
}

.contact-intro-en {
  margin-top: 12px;
  color: #4a576d;
  font-size: 13px;
}

.contact-notes {
  margin-bottom: 32px;
  padding: 20px 24px;
  background-color: #f5f8fd;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.8;
}

.contact-notes h3 {
  font-size: 16px;
  font-weight: 600;
  color: #133c82;
  margin-bottom: 12px;
}

.contact-notes ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.contact-notes li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 1.2em;
}

.contact-notes li::before {
  content: "・";
  position: absolute;
  left: 0;
}

.contact-caution {
  font-weight: 600;
  color: #b3261e;
}

.required-mark {
  color: #b3261e;
  margin-left: 2px;
}

.name-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 600px) {
  .name-grid {
    grid-template-columns: 1fr;
  }
}

.form-wrapper textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #c4cede;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  line-height: 1.6;
  resize: vertical;
  box-sizing: border-box;
}

.form-wrapper textarea:focus {
  outline: none;
  border-color: #2a5cc8;
  box-shadow: 0 0 0 3px rgba(42, 92, 200, 0.15);
}

.form-wrapper textarea.invalid {
  border-color: #b3261e;
}

.consent-row {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.consent-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 600;
}

.consent-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}
