/* =============================================
   CONTACT FORM
   ============================================= */

.contact-form {
  max-width: 684px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-form__field {
  display: flex;
  align-items: center;
  gap: 32px;
}

.contact-form__field:has(textarea) {
  align-items: flex-start;
}

.contact-form__field label {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: #373737;
  white-space: nowrap;
  width: 152px;
  min-width: 152px;
  flex-shrink: 0;
}

.contact-form__field .required {
  color: #9683A1;
  margin-left: 4px;
}

.contact-form__field input,
.contact-form__field textarea {
  flex: 1;
  width: 100%;
  height: 51px;
  background: #E4E0E7;
  border: 1px solid #B8A5C6;
  border-radius: 0;
  outline: none;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #373737;
  letter-spacing: 0.03em;
  padding: 12px 16px;
  transition: background 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.contact-form__field textarea {
  min-height: 180px;
  height: auto;
  resize: vertical;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  background: #d8d3dc;
}

.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
  color: #9683A1;
  font-weight: 300;
}

.contact-form__submit {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.contact-form__btn {
  width: 319px;
  height: 52px;
  background: transparent;
  color: #B8A5C6;
  border: 1px solid #B8A5C6;
  border-radius: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 2.3em;
  padding-left: 2.3em;
  transition: opacity 0.25s;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.contact-form__btn:hover {
  opacity: 0.65;
}

@media (max-width: 768px) {
  .contact-form {
    gap: 20px;
  }

  .contact-form__field {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .contact-form__field label {
    width: auto;
    min-width: auto;
    font-size: 15px;
    letter-spacing: 0.06em;
    line-height: 1.6;
    margin-bottom: 0;
  }

  .contact-form__field input {
    font-size: 14px;
    padding: 12px 16px;
    height: 51px;
    width: 100%;
    box-sizing: border-box;
  }

  .contact-form__field textarea {
    font-size: 14px;
    padding: 12px 16px;
    min-height: 220px;
    width: 100%;
    box-sizing: border-box;
  }

  .contact-form__submit {
    margin-top: 12px;
  }

  .contact-form__btn {
    width: 170px;
    height: 37px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2.3em;
    padding-left: 2.3em;
  }
}