.custom-form-section form {
  max-width: 600px;
  margin: 2em auto;
  padding: 2em;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  font-family: sans-serif;
}

.custom-form-section h2 {
font-family: 'Noto Serif JP', serif;
color: #0b68b5;
font-size: 1.8rem;
border-bottom: 2px solid #0b68b5;
padding-bottom: 0.5rem;
margin-bottom: 1rem;
letter-spacing: 0.3em;
width: 100%;
}

.custom-form-section label {
  display: block;
  margin-bottom: 0.5em;
  font-weight: bold;
}

.custom-form-section input,
.custom-form-section textarea {
  width: 100%;
  padding: 0.75em;
  margin-bottom: 1.5em;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
  box-sizing: border-box;
}

.custom-form-section input:focus,
.custom-form-section textarea:focus {
  border-color: #0077cc;
  outline: none;
}

.custom-form-section button {
  width: 100%;
  padding: 0.75em;
  background-color: #0077cc;
  color: white;
  border: none;
  font-weight: bold;
  border-radius: 6px;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.custom-form-section button:hover {
  background-color: #005fa3;
}

.custom-form-section .g-recaptcha {
  margin-bottom: 1.5em;
}

/* レスポンシブ対応 */
@media (max-width: 600px) {
  .custom-form-section form {
    padding: 1.5em;
  }
}
