.contact {
  &.confirm {
    .form__privacy {
      display: none;
    }
  }
}
:where(.contact) {
  .contact__annotation {
    font-size: calc(var(--rem) * 12);
    letter-spacing: 1.15px;
    line-height: 21px;
    margin-bottom: 30px;
    @media screen and (min-width: 769px) {
      font-size: calc(var(--rem) * 13);
      letter-spacing: 1.2px;
      line-height: 23px;
      margin-bottom: 50px;
    }
  }
  .mw-form {
    font-size: calc(var(--rem) * 14);
    letter-spacing: 1.25px;
    line-height: 21px;
    @media screen and (min-width: 769px) {
      font-size: calc(var(--rem) * 16);
      letter-spacing: 1.3px;
      line-height: 23px;
    }
    .contact__inner {
      margin-bottom: 30px;
      width: 100%;
      @media screen and (min-width: 769px) {
        margin-bottom: 60px;
      }
    }
    li {
      display: flex;
      flex-direction: column;
      gap: 10px;
      @media screen and (min-width: 769px) {
        gap: 11px;
      }
    }
    .contact__label {
      font-weight: bold;
    }
    .must {
      color: #FFF;
      margin-left: 10px;
      background: #837566;
      padding: 3px 9px;
      font-size: calc(var(--rem) * 10);
      letter-spacing: 1.08px;
      @media screen and (min-width: 769px) {
        padding: 4px 10px;
        font-size: calc(var(--rem) * 11);
        letter-spacing: 1.1px;
      }
    }
    input:not([type="submit"]),
    textarea {
      width: 100%;
      border: none;
      padding: 10px;
    }
    li + li {
      margin-top: 21px;
      @media screen and (min-width: 769px) {
        margin-top: 35px;
      }
    }
    input[type="submit"],button[type="submit"]  {
      cursor: pointer;
      display: block;
      text-align: center;
      color: #FFF;
      font-weight: 500;
      border: none;
      background: #837566;
      padding: 13px 20px;
      min-width: 189px;
      transition: opacity 0.2s linear;
      margin: 0 auto;
      font-size: calc(var(--rem) * 15);
      letter-spacing: 2.4px;
      border-radius: 30px;
      @media screen and (min-width: 769px) {
        font-size: calc(var(--rem) * 16);
        letter-spacing: 2.3px;
        padding: 17px 10px;
        width: 257px;
        border-radius: 34px;
      }
      &:hover {
        opacity: 0.6;
      }
    }
    input[type="checkbox"] {
      margin-right: 10px;
      border-radius: 5px;
      position: relative;
      width: 22px;
      height: 22px;
      border: 2px solid #837566;
      vertical-align: -5px;
      -webkit-appearance: none;
      -moz-appearance: none;
      appearance: none;
    }

    input[type="checkbox"]:checked:before {
      position: absolute;
      top: 1px;
      left: 6px;
      transform: rotate(50deg);
      width: 7px;
      height: 12px;
      border-right: 2px solid #837566;
      border-bottom: 2px solid #837566;
      content: '';
    }
    .form__buttons {
      display: flex;
      justify-content: center;
      @media screen and (max-width: 768px) {
        flex-direction: column;
        gap: 13px;
      }
      @media screen and (min-width: 769px) {
        gap: 20px;
      }
    }
    .form__privacy {
      position: relative;
      text-align: center;
      margin-bottom: 30px;

      @media screen and (min-width: 769px) {
        margin-bottom: 40px;
      }

      label {
        display: flex;
        justify-content: center;
      }

      .mwform-checkbox-field-text {
        font-weight: 600;
      }

      .underline {
        text-underline-offset: 2px;
        text-decoration: underline;
      }
    }
  }
}