@charset "UTF-8";

#form {
  padding: 100px 0;
  width: 70vw;
  margin: 0 auto;
  position: relative;
  z-index: 100;
}

#form h2 {
  font-size: 52px;
  font-family: Arial, Helvetica, sans-serif;
  color: #333;
  margin: 0;
  padding-left: 1%;
}

.form_container {
  background-color: #fcfcfc;
  border-radius: 12px;
}

form {
  font-size: 20px;
  background-color: #fcfcfc;
  border-radius: 12px;
  padding: 30px 15%;
  margin-top: 30px;
}

#induction_form {
  margin-top: 0;
}

form p {
  overflow-wrap: break-word;
}

form label{
  display: block;
  margin-top: 20px;
}

form label:first-child {
  margin-top: 0;
}

input,select,textarea {
  display: block;
  font-size: 16px;
  line-height: 1.5;
}

input,select {
  width: 50%;
  min-width: 290px;
}

select {
  padding: 6px 0;
}

textarea {
  font-family: Arial;
  width: 100%;
}

#form button {
  font-size: 20px;
  font-weight: bold;
  font-family: serif;
  display: block;
  width: 25%;
  aspect-ratio: 4 / 1;
  margin: 30px auto 0;
}


/* thankyou.html */
.thanks_header {
  position: static;
}

.thanks_main {
  background-color: unset;
  display: block;
  height: auto;
}

#thanks_message {
  text-align: center;
  padding-top: 60px;
}

#thanks_message h2 {
  font-size: 40px;
}

.line_induction {
  margin-top: 30px;
}

.line_induction p {
  font-size: 28px;
}

.line_app {
  width: 100px;
}

.top_btn {
  display: block;
  margin: 60px auto 0;
  border: none;
}

.top_btn a {
  font-size: 20px;
  text-decoration-line: underline;
}


@media screen and (max-width: 768px) {
  #form {
    width: 83vw;
  }
  
  #form h2 {
    font-size: 36px;
  }
  
  form {
    padding: 30px 8%;
  }

  input,select {
    width: 100%;
    min-width: auto;
  }

  #form button {
    line-height: 2;
    width: 100%;
    aspect-ratio: auto;
    margin: 60px auto 30px;
  }

  #induction_form {
    margin: 0 auto;
    padding: 0 8% 30px;
  }  

  #induction_form button {
    margin: 0 auto;
  }
  
  
  /* thankyou.html */
  #thanks_message {
    padding-top: 80px;
  }
  
  #thanks_message h2 {
    font-size: max(5vw,24px);
    word-break: keep-all;
  }

  #thanks_message p{
    font-size: max(3vw,14px);
  }
  
  .line_induction {
    margin-top: 60px;
  }
  
  #thanks_message .line_induction p {
    font-size: max(4vw,24px);
    word-break: keep-all;
  }
  
}