@charset "UTF-8";

::placeholder {
  color: #a9a9a9;
  font-weight: normal;
}
.is-error {
  border: 1px solid #dc143c!important;
}

.content-image {
  background-image: url('../img/ben-white-9emAQvCJQ4c-unsplash.jpg');
}

@media (min-width: 1020px) {
  .form {
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    max-width: 720px;
  }
  .form-item {
    padding: 10px;
  }
  .form-item-label {
    font-size: 20px;
    margin-bottom: 10px;
  }
  .form-item-label-sub {
    margin-left: 10px;
    font-size: 12px;
    color: #808080;
  }
  .form-item-label-required {
    margin-left: 10px;
    color: #dc143c;
  }
  .form-item-input-text {
    margin-left: 30px;
    padding: 0px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    height: 48px;
    flex: 1;
    width: 100%;
    max-width: 410px;
    background: #eaedf2;
    font-size: 18px;
  }
  .form-item-input-textarea {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 6px;
    margin-left: 30px;
    height: 216px;
    flex: 1;
    width: 100%;
    max-width: calc(720px - 30px);
    background: #eaedf2;
    font-size: 18px;
  }
  .form-item-input-error {
    margin-top: 5px;
    margin-left: 40px;
    font-size: 16px;
    color: #dc143c;
  }
  .Form-Btn {
    margin-top: 24px;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 160px;
    font-size: 16px;
  }
  input[type=checkbox] {
    display: none;
  }
  .checkbox02 {
      box-sizing: border-box;
      cursor: pointer;
      display: inline-block;
      padding: 5px 30px;
      position: relative;
      width: auto;
  }
  .checkbox02::before {
      background: #fff;
      border: 1px solid #ccc;
      border-radius: 3px;
      content: '';
      display: block;
      height: 16px;
      left: 5px;
      margin-top: -8px;
      position: absolute;
      top: 50%;
      width: 16px;
  }
  .checkbox02::after {
      border-right: 6px solid #00cccc;
      border-bottom: 3px solid #00cccc;
      content: '';
      display: block;
      height: 20px;
      left: 7px;
      margin-top: -16px;
      opacity: 0;
      position: absolute;
      top: 50%;
      transform: rotate(45deg);
      width: 9px;
  }
  input[type=checkbox]:checked + .checkbox02::before {
    border-color: #666;
  }
  input[type=checkbox]:checked + .checkbox02::after {
    opacity: 1;
  }
  .form-item-agree {
    font-size: 20px;
    text-align: center;
  }
  .form-item-agree a {
    color: var(--color-main-font);
  }

  .loading-send {
    background-color: rgba(0, 0, 0, 0.7);
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    top: 0;
    z-index: 1500;
  }
  #loadingSend {
    display:none;
  }
  
  #lastName, #firstName {
    max-width: 270px;
  }
  #companyName {
    max-width: 400px;
  }
  #mailAddress {
    max-width: 500px;
  }
}
@media (max-width: 1019px) {
  .form {
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    max-width: 720px;
  }
  .form-item {
    padding: 10px;
  }
  .form-item-label {
    font-size: 16px;
    margin-bottom: 10px;
  }
  .form-item-label-sub {
    margin-left: 10px;
    font-size: 8px;
    color: #808080;
  }
  .form-item-label-required {
    margin-left: 10px;
    color: #dc143c;
  }
  .form-item-input-text {
    margin-left: 5px;
    padding: 0px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    height: 48px;
    flex: 1;
    width: 100%;
    background: #eaedf2;
    font-size: 18px;
  }
  .form-item-input-textarea {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 6px;
    margin-left: 5px;
    height: 216px;
    flex: 1;
    width: 100%;
    max-width: 80vw;
    background: #eaedf2;
    font-size: 18px;
  }
  .form-item-input-error {
    margin-top: 5px;
    margin-left: 10x;
    font-size: 16px;
    color: #dc143c;
  }
  .Form-Btn {
    margin-top: 24px;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 160px;
    font-size: 16px;
  }
  input[type=checkbox] {
    display: none;
  }
  .checkbox02 {
      box-sizing: border-box;
      cursor: pointer;
      display: inline-block;
      padding: 5px 30px;
      position: relative;
      width: auto;
  }
  .checkbox02::before {
      background: #fff;
      border: 1px solid #ccc;
      border-radius: 3px;
      content: '';
      display: block;
      height: 16px;
      left: 5px;
      margin-top: -8px;
      position: absolute;
      top: 50%;
      width: 16px;
  }
  .checkbox02::after {
      border-right: 6px solid #00cccc;
      border-bottom: 3px solid #00cccc;
      content: '';
      display: block;
      height: 20px;
      left: 7px;
      margin-top: -16px;
      opacity: 0;
      position: absolute;
      top: 50%;
      transform: rotate(45deg);
      width: 9px;
  }
  input[type=checkbox]:checked + .checkbox02::before {
    border-color: #666;
  }
  input[type=checkbox]:checked + .checkbox02::after {
    opacity: 1;
  }
  .form-item-agree {
    font-size: 1rem;
    text-align: center;
  }
  .form-item-agree a {
    color: var(--color-main-font);
  }

  .loading-send {
    background-color: rgba(0, 0, 0, 0.7);
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    top: 0;
    z-index: 1500;
  }
  #loadingSend {
    display:none;
  }

  #lastName, #firstName {
    max-width: 80vw;
  }
  #companyName {
    max-width: 80vw;
  }
  #mailAddress {
    max-width: 80vw;
  }
}