@charset "utf-8";

/*================================================================
# contact-form
================================================================ */
.contact-form {
  margin: 0;
  padding: 80px 0 0;
}

.contact-form .wrap {
  max-width: 880px;
}

.contact-form__lead {
  text-align: center;
}

.contact-form__lead p {
  margin: 0;
  font-size: 14px;
  line-height: 2;
}

.contact-form .red {
  color: #e83838;
}

.contact-form__body {
  margin-top: 72px;
}

.contact-form__row {
  display: grid;
  align-items: center;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 32px;
}

.contact-form__row + .contact-form__row {
  margin-top: 40px;
}

.contact-form__row label {
  font-size: 14px;
  line-height: 1.6;
}

.contact-form__row input,
.contact-form__row textarea {
  width: 100%;
  border: 0;
  border-radius: 0;
  background-color: #eef1f9;
  font-family: inherit;
  font-size: 16px;
  color: inherit;
  appearance: none;
}

.contact-form__row input {
  height: 48px;
  padding: 8px 16px;
}

.contact-form__row textarea {
  height: 280px;
  padding: 16px;
  resize: vertical;
}

.contact-form__row input:focus,
.contact-form__row textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.contact-form__row--textarea {
  align-items: center;
}

.contact-form__privacy {
  margin-top: 72px;
  text-align: center;
}

.contact-form__privacy-title {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.contact-form__privacy-box {
  height: 240px;
  margin-top: 24px;
  padding: 24px;
  border: 1px solid #777;
  overflow-y: auto;
  text-align: left;
}

.contact-form__privacy-box .text,
.contact-form__privacy-box .unit__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
}

.contact-form__privacy-box .unit {
  margin-top: 24px;
}

.contact-form__privacy-box .unit__title {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}

.contact-form__privacy-box .unit__text {
  margin-top: 8px;
}

.contact-form__privacy-note {
  margin: 24px 0 0;
  font-size: 14px;
  line-height: 2;
}

.contact-form__agree {
  margin-top: 24px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  gap: 8px;
}

.contact-form__submit {
  margin-top: 48px;
  text-align: center;
}

.contact-form__submit button {
  width: 320px;
  min-height: 64px;
  padding: 16px 24px;
  cursor: pointer;
  border: 0;
  background-color: var(--primary);
  position: relative;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
  transition: background-color 0.3s;
}

.contact-form__submit svg {
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

@media (hover: hover) and (pointer: fine) {
  .contact-form__submit button:hover {
    background-color: var(--secondary);
  }
}
