.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.header {
  position: initial;
}
.main {
  margin-top: 40px;
  margin-bottom: 80px;
}
.footer {
  margin-top: auto;
}
.application_form {
  margin: auto;
  padding: 0;
  max-width: 540px;
}

.mktoForm {
  width: 100% !important;
  @media (max-width: 575px) {
    padding: 0 12px;
  }
  .mktoOffset {
    display: none;
  }
  .mktoAsterix {
    display: none !important;
  }
  .mktoClear {
    display: none;
  }
  .mktoFormRow {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
  }
  .mktoFormCol {
    flex: 1;
  }
  .mktoFieldWrap {
    width: 100%;
  }
  .mktoLabel {
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: bold;
    @media (max-width: 575px) {
      font-size: 14px;
    }
  }
  .mktoRequiredField {
    .mktoLabel {
      display: flex;
      align-items: center;
      gap: 8px;
      &::after {
        content: "必須";
        background-color: #c34750;
        color: #fff;
        font-size: 11px;
        font-weight: normal;
        padding: 1px 4px 0;
      }
    }
  }
  .mktoField {
    height: 40px !important;
    padding: 4px 8px !important;
    box-shadow: initial !important;
    border-radius: initial !important;
    width: 100% !important;
    @media (max-width: 575px) {
      font-size: 16px !important;
    }
  }
  .mktoInvalid {
    border-color: #aeb0b6 !important;
  }
  #LastName,
  #FirstName {
    width: 100% !important;
  }
  #LblFirstName {
    &::after {
      content: none;
    }
  }
  #counsel_comments,
  #InquirerComment__c {
    min-height: 120px;
    resize: vertical;
  }
  .mktoCheckboxList {
    position: absolute;
    border: initial !important;
    width: 100% !important;
    padding: 0 !important;
  }
  #privacy {
    all: initial;
    appearance: auto;
    padding: 0 !important;
    width: 16px !important;
    height: 16px !important;
  }
  #Lblprivacy {
    position: relative;
    top: 1px;
    z-index: 1;
    width: initial !important;
    font-size: 13px;
    margin: auto;
    padding: 0;
    padding-left: 24px;
    &::before {
      content: none;
    }
  }
  .mktoHtmlText {
    width: fit-content !important;
    margin: auto;
  }

  .mktoButtonRow {
    display: flex;
    justify-content: center;
  }
  .mktoDownloadItunes {
    margin: initial !important;
  }
  .mktoButton {
    color: #fff !important;
    font-size: 18px !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 10px !important;
    width: 200px !important;
    margin: 0 auto !important; 
  }
}
