.p-contact {
  position: relative;
  max-width: 800px;
  margin: 100px auto;
  padding: 30px;
  border-radius: 8px;

}
.p-contact__inner{
    position: relative;
    z-index: 2;
}
.p-contact::before {
  content: "";
  background: url(../images/blob-fv2.webp) center/cover no-repeat;
  width: 40%;
  aspect-ratio: 1486/1433;
  position: absolute;
  top: 0;
  left: 0;
}
.p-contact::after {
  content: "";
  background: url(../images/blob-fv2.webp) center/cover no-repeat;
  width: 40%;
  aspect-ratio: 1486/1433;
  position: absolute;
  bottom: 0;
  right: 0;
}
.p-form__content {
  position: relative;
  z-index: 2;
}
.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
}

.required {
  color: #e74c3c;
  font-size: 0.9em;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  box-sizing: border-box;
}

textarea {
  height: 120px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 5px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  min-width: 200px;
}

.checkbox-item input[type="checkbox"] {
  margin-right: 8px;
  width: auto;
  display: inline-block;
  appearance: auto;
}

.submit-btn {
  background-color: #007bff;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: #0056b3;
}

.error {
  background-color: #f8d7da;
  color: #721c24;
  padding: 10px;
  border-radius: 4px;
  margin-bottom: 20px;
  border: 1px solid #f5c6cb;
}

.success {
  /* background-color: #d4edda;
  color: #155724; */
  background-color: #f8d7da;
  color: #721c24;
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 20px;
  border: 1px solid #c3e6cb;
}

.note {
  color: #666;
  font-size: 0.9em;
  margin-top: 5px;
}
.u-center{
    text-align: center;
}
.u-mb-16{
    margin-bottom: 16px;
}
.c-btn--center{
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 768px) {
  .checkbox-group {
    flex-direction: column;
  }

  .checkbox-item {
    min-width: auto;
  }
  .p-contact {
    margin-top: 75px;
  }
}
