/* form

====================================================*/

.form-content {
  padding: 40px 16px;
  border-radius: 8px;
  color: var(--form-color);
  background: #fff;
  overflow: hidden;
}

@media screen and (max-width: 800px) {
  .form-content {
    padding: 0;
    border: none;
  }
}
#eh-root {
  max-width: 900px !important;
  width: 100%;
  margin: 0 auto;
}
#eh-root form {
  max-width: 900px !important;
}
#eh-root legend .title {
  font-weight: 600;
  max-width: inherit !important;
  /* font-size: 16px !important; */
}
.required {
  padding: 2.5px 4px;
  background: var(--red);
  color: #ffffff !important;
  border-radius: 2px;
  margin-left: 0 !important;
}
#eh-root fieldset > div.heading legend {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}
#eh-root input[type="text"],
#eh-root select,
#eh-root textarea {
  font-size: 16px !important;
}
.eh-terms {
  font-size: 14px !important;
}
#eh-root .terms {
  margin: 16px 0;
}
#eh-root button {
  margin: 64px auto 0;
  font-size: 18px;
  font-weight: 500;

}
/* @media screen and (max-width: 800px) {
  #eh-root button {
    width: calc(100% - 32px) !important;
    margin-left: 16px !important;
    margin-right: 16px !important;
    margin-bottom: 24px !important;
  }
} */
/* input[type="checkbox"] + span{
  font-size: 14px;
} */
#eh-root .terms > pre {
  width: 100% !important;
}
#eh-root > form > div.terms > pre > a,
#eh-root > form > fieldset > pre.description > a {
  overflow-wrap: anywhere;
}

@media screen and (min-width: 801px) {
  form {
    display: grid !important;
  }

  #email {
    grid-area: 1 / 1 / 2 / 2;
  }
  #confirmationEmail {
    grid-area: 1 / 2 / 2 / 3;
  }

  #familyName {
    grid-area: 2 / 1 / 3 / 2;
  }
  #givenName {
    grid-area: 2 / 2 / 3 / 3;
  }

  #affiliation {
    grid-area: 3 / 1 / 4 / 2;
  }
  /* 部署 */
  #CustomFieldOptions-64115 {
    grid-area: 3 / 2 / 4 / 3;
  }
  /* 役職 */
  #CustomFieldOptions-63424 {
    grid-area: 4 / 1 / 5 / 2;
  }
  /* 電話番号 */
  #CustomFieldValues-63422 {
    grid-area: 4 / 2 / 5 / 3;
  }
  /* 業種 */
  #CustomFieldOptions-63425 {
    grid-area: 5 / 1 / 6 / 2;
  }
  /* 従業員 */
  #CustomFieldOptions-63426 {
    grid-area: 5 / 2 / 6 / 3;
  }
  #CustomFieldOptions-63427 {
    grid-area: 6 / 1 / 7 / 2;
  }

  /* 自社内に営業員はいますか？ */
  #CustomFieldOptions-64199 {
    grid-area: 6 / 2 / 7 / 3;
  }
  /* セッション */
  #CustomFieldOptions-63429 {
    grid-area: 8 / 1 / 9 / 3;
  }
  #CustomFieldOptions-63429 .container {
    display: grid !important;
    grid-template-columns: repeat(2, auto);
    gap: 8px 16px;
  }
  /* 視聴予定 */
  #CustomFieldOptions-63428 {
    grid-area: 7 / 1 / 8 / 3;
  }
  /* 期待すること */
  #CustomFieldValues-63423 {
    grid-area: 9 / 1 / 10 / 3;
  }
  .eh-terms {
    grid-area: 10 / 1 / 11 / 3;
  }
  .terms {
    grid-area: 11 / 1 / 12 / 3;
  }
  .terms-confirmation {
    grid-area: 12 / 1 / 13 / 3;
  }
  button {
    grid-area: 13 / 1 / 14 / 3;
  }
}
#CustomFieldOptions-63429 .container,
#CustomFieldOptions-63428 .container{
  gap: 8px;
}