/* ほっぺくんお問い合わせフォーム専用スタイル */
.contact-form-section {
  background-color: #f7f7f7;
  padding: 140px 0 80px 0;
  min-height: auto;
}

.contact-form-section .section-heading {
  margin-top: 0;
  margin-bottom: 40px;
}

.contact-form-section .section-heading h4 {
  color: #333;
  font-family: 'Noto Sans JP', 'Open Sans', sans-serif;
}

.contact-form-section .section-heading p {
  color: #666;
  font-family: 'Noto Sans JP', 'Open Sans', sans-serif;
}

.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #2a2a2a;
  margin-bottom: 16px;
  font-family: 'Noto Sans JP', 'Open Sans', sans-serif;
}

.section-subtitle {
  text-align: center;
  font-size: 16px;
  color: #696969;
  margin-bottom: 40px;
  font-family: 'Noto Sans JP', 'Open Sans', sans-serif;
}

.form-container {
  max-width: 100%;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  padding: 48px;
  border: 1px solid #e0e0e0;
}

.entry-form {
  margin-bottom: 32px;
}

.form-error {
  background: #fee;
  color: #c33;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
  border: 1px solid #fcc;
  display: none;
}

.form-error.show {
  display: block;
}

.form-group {
  margin-bottom: 32px;
}

.form-label {
  display: block;
  font-weight: 600;
  color: #2a2a2a;
  margin-bottom: 8px;
  font-size: 1rem;
  font-family: 'Noto Sans JP', 'Open Sans', sans-serif;
}

.form-label small {
  font-size: 0.85rem;
  color: #666;
  font-weight: normal;
}

.required {
  color: #1e90ff;
  font-weight: bold;
}

.form-input,
.form-textarea,
.form-file {
  width: 100%;
  padding: 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Noto Sans JP', 'Open Sans', sans-serif;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #1e90ff;
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.1);
}

.form-input.error,
.form-textarea.error {
  border-color: #e74c3c;
  background: #fef;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-file {
  border: 2px dashed #e0e0e0;
  background: #fafafa;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-file:hover {
  border-color: #1e90ff;
  background: #f0f8ff;
}

.form-file:focus {
  outline: none;
  border-color: #1e90ff;
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.1);
}

.form-buttons {
  text-align: center;
  margin-top: 48px;
}

.form-buttons .btn {
  margin: 0 8px;
}

.btn-primary {
  background-color: #1e90ff;
  color: #fff;
  border: none;
  padding: 16px 48px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Noto Sans JP', 'Open Sans', sans-serif;
}

.btn-primary:hover {
  background-color: #1873cc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 144, 255, 0.3);
}

.btn-primary:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  transform: none;
}

.form-navigation {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid #e0e0e0;
}

.form-navigation .btn {
  background-color: #696969;
  color: #fff;
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  font-family: 'Noto Sans JP', 'Open Sans', sans-serif;
}

.form-navigation .btn:hover {
  background-color: #555;
  transform: translateY(-2px);
}

/* reCAPTCHA用スタイル */
.g-recaptcha {
  margin: 24px 0;
  display: flex;
  justify-content: center;
}

/* レスポンシブ対応 */
@media (max-width: 991px) {
  .contact-form-section {
    padding: 60px 0;
  }
  
  .contact-form-section .section-heading {
    margin-bottom: 30px;
  }
  
  .form-container {
    padding: 40px 30px;
  }
}

@media (max-width: 768px) {
  .contact-form-section {
    padding: 40px 0;
  }
  
  .contact-form-section .section-heading {
    margin-bottom: 30px;
  }
  
  .contact-form-section .section-heading h4 {
    font-size: 24px;
  }
  
  .contact-form-section .section-heading p {
    font-size: 14px;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .section-subtitle {
    font-size: 14px;
  }
  
  .form-container {
    padding: 32px 24px;
    margin: 0 15px;
    border-radius: 12px;
  }
  
  .form-group {
    margin-bottom: 24px;
  }
  
  .form-input,
  .form-textarea,
  .form-file {
    padding: 12px;
    font-size: 0.95rem;
  }
  
  .form-buttons {
    margin-top: 32px;
  }
  
  .form-buttons .btn {
    display: block;
    width: 100%;
    margin: 8px 0;
  }
}

@media (max-width: 576px) {
  .contact-form-section {
    padding: 30px 0;
  }
  
  .form-container {
    padding: 24px 16px;
    margin: 0 10px;
  }
  
  .contact-form-section .section-heading h4 {
    font-size: 20px;
  }
  
  .contact-form-section .section-heading p {
    font-size: 13px;
  }
  
  .form-label {
    font-size: 0.95rem;
  }
  
  .form-input,
  .form-textarea,
  .form-file {
    padding: 10px;
    font-size: 0.9rem;
  }
  
  .form-textarea {
    min-height: 100px;
  }
  
  .btn-primary {
    padding: 14px 32px;
    font-size: 0.95rem;
  }
}

