@charset "UTF-8";

body {
  background-color: #fafafa;
}

div.main_content {
  width: 100%;
  padding-top: 4em;
  display: flex;
  flex-direction: column;
  align-items: center;
}

div.main_content>div.title_content {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media screen and (max-width: 639px) {
  div.main_content>div.title_content>span.main_title {
    font-size: 30px;
  }
}

@media screen and (min-width: 640px) and (max-width: 1023px) {
  div.main_content>div.title_content>span.main_title {
    font-size: 30px;
  }
}

@media screen and (min-width: 1024px) {
  div.main_content>div.title_content>span.main_title {
    font-size: 60px;
  }
}

@media screen and (max-width: 639px) {
  div.main_content>div.title_content>span:nth-child(2) {
    font-size: 14px;
  }
}

@media screen and (min-width: 640px) and (max-width: 1023px) {
  div.main_content>div.title_content>span:nth-child(2) {
    font-size: 14px;
  }
}

@media screen and (min-width: 1024px) {
  div.main_content>div.title_content>span:nth-child(2) {
    font-size: 20px;
  }
}

div.main_content>div:nth-child(2) {
  margin-top: 20px;
}

@media screen and (max-width: 639px) {
  div.main_content>div:nth-child(2)>p {
    font-size: 16px;
  }
}

@media screen and (min-width: 640px) and (max-width: 1023px) {
  div.main_content>div:nth-child(2)>p {
    font-size: 16px;
  }
}

@media screen and (min-width: 1024px) {
  div.main_content>div:nth-child(2)>p {
    font-size: 20px;
  }
}

div.main_content>form>div.contact_form {
  background-color: #fff;
  height: 100%;
  margin: 50px 0;
  padding: 50px;
  font-size: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media screen and (max-width: 639px) {
  div.main_content>form>div.contact_form {
    padding: 15px;
  }
}

@media screen and (min-width: 640px) and (max-width: 1023px) {
  div.main_content>form>div.contact_form {
    padding: 15px;
  }
}

@media screen and (min-width: 1024px) {
  div.main_content>form>div.contact_form {
    padding: 50px;
  }
}

div.main_content>form>div.contact_form>div>section>div {
  margin-bottom: 25px;
}

div.main_content>form>div.contact_form>div>section>div>div.check_item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

div.main_content>form>div.contact_form>div>section>div>div.check_item>div {
  margin-top: 5px;
}

div.main_content>form>div.contact_form>div>section>div>div {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 8px;
}

div.main_content>form>div.contact_form>div>section>div>div>.input_title {
  margin: 0 0.5em 0 0;
}

@media screen and (max-width: 639px) {
  div.main_content>form>div.contact_form>div>section>div>div>.input_title {
    font-size: 18px;
  }
}

@media screen and (min-width: 640px) and (max-width: 1023px) {
  div.main_content>form>div.contact_form>div>section>div>div>.input_title {
    font-size: 18px;
  }
}

@media screen and (min-width: 1024px) {
  div.main_content>form>div.contact_form>div>section>div>div>.input_title {
    font-size: 20px;
  }
}

div.main_content>form>div:last-child {
  margin-bottom: 100px;
  text-align: center;
}

div.main_content>form>div:last-child>input[type=button] {
  font-size: 20px;
  height: 60px;
  padding: 0 2em;
  border: solid 1px #e7b465;
  background-color: #fff;
  color: #e7b465;
  border-radius: 5px;
}

span.main_ditail {
  font-size: 20px;
}

/*************** 必須・任意ラベル ***************/
.required_label {
  background-color: #f40808;
  padding: 2px 10px;
  color: #fff;
  border-radius: 5px;
  display: flex;
  align-items: center;
  margin: 4px;
}

@media screen and (max-width: 639px) {
  .required_label {
    font-size: 10px;
  }
}

@media screen and (min-width: 640px) and (max-width: 1023px) {
  .required_label {
    font-size: 10px;
  }
}

@media screen and (min-width: 1024px) {
  .required_label {
    font-size: 12px;
  }
}

.any_label {
  background-color: #086af4;
  padding: 2px 10px;
  color: #fff;
  border-radius: 5px;
  display: flex;
  align-items: center;
}

@media screen and (max-width: 639px) {
  .any_label {
    font-size: 10px;
  }
}

@media screen and (min-width: 640px) and (max-width: 1023px) {
  .any_label {
    font-size: 10px;
  }
}

@media screen and (min-width: 1024px) {
  .any_label {
    font-size: 12px;
  }
}

/**********************************************/
/**************** テキストエリア ****************/
input[type=text] {
  padding: 0 10px;
  border-radius: 5px;
  border: #9c9c9c 1px solid;
}

@media screen and (max-width: 639px) {
  input[type=text] {
    height: 40px;
    width: 290px;
    font-size: 16px;
  }
}

@media screen and (min-width: 640px) and (max-width: 1023px) {
  input[type=text] {
    height: 40px;
    width: 290px;
    font-size: 16px;
  }
}

@media screen and (min-width: 1024px) {
  input[type=text] {
    height: 50px;
    width: 590px;
    font-size: 18px;
  }
}

input[type=text].error_text,
textarea.error_text {
  border: #e20707 1px solid;
}

.error_font {
  color: #e20707;
  font-size: 14px;
}

/**********************************************/
/**************** テキストエリア ****************/
textarea {
  padding: 10px 10px;
  resize: none;
  font-family: inherit;
  -ms-overflow-style: none;
  scrollbar-width: none;
  border: 1px solid #5b5b5b;
  border-radius: 5px;
}

@media screen and (max-width: 639px) {
  textarea {
    height: 280px;
    width: 280px;
    font-size: 14px;
  }
}

@media screen and (min-width: 640px) and (max-width: 1023px) {
  textarea {
    height: 280px;
    width: 280px;
    font-size: 14px;
  }
}

@media screen and (min-width: 1024px) {
  textarea {
    height: 280px;
    width: 580px;
    font-size: 16px;
  }
}

textarea::-webkit-scrollbar {
  display: none;
}

textarea::-webkit-scrollbar {
  display: none;
}

/**********************************************/
/*************** チェックボックス ***************/
input[type=checkbox].request_item {
  display: none;
}

/* チェックボックスの代わりを成すラベル */
input[type=checkbox].request_item+label {
  display: none;
  cursor: pointer;
  display: inline-block;
  position: relative;
  padding-left: 25px;
  padding-right: 10px;
}

@media screen and (max-width: 639px) {
  input[type=checkbox].request_item+label {
    font-size: 16px;
  }
}

@media screen and (min-width: 640px) and (max-width: 1023px) {
  input[type=checkbox].request_item+label {
    font-size: 16px;
  }
}

@media screen and (min-width: 1024px) {
  input[type=checkbox].request_item+label {
    font-size: 18px;
  }
}

input[type=checkbox].request_item+label::before {
  content: "";
  position: absolute;
  display: block;
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  left: 0;
  top: 50%;
  border: 1px solid;
  border-color: #5b5b5b;
  background-color: #FFF;
  border-radius: 5px;
}

input[type=checkbox].request_item:checked+label::after {
  content: "";
  position: absolute;
  display: block;
  box-sizing: border-box;
  width: 15px;
  height: 9px;
  margin-top: -6px;
  top: 50%;
  left: 3px;
  transform: rotate(-45deg);
  border-bottom: 2px solid;
  border-left: 2px solid;
  border-color: #5b5b5b;
}

header {
  height: 4em;
  width: 100%;
  z-index: 99999;
  display: flex;
  position: fixed;
  background-color: #fff;
  position: fixed;
  align-items: center;
}

header>div.header_logo {
  width: 12em;
  height: 3em;
  background-image: url(../img/logo.png) !important;
  background-size: 80%;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  cursor: pointer;
  margin: 0.5em 0;
}

.radio-001 {
  /* display: flex; */
  flex-wrap: wrap;
  gap: .3em 2em;
  border: none;
}

.radio-001 label {
  display: flex;
  align-items: center;
  gap: 0 .5em;
  position: relative;
  cursor: pointer;
  margin-bottom: 8px;
}

.radio-001 label::before,
.radio-001 label:has(:checked)::after {
  border-radius: 50%;
  content: '';
}

.radio-001 label::before {
  width: 18px;
  height: 18px;
  background-color: #e6edf3;
}

.radio-001 label:has(:checked)::after {
  position: absolute;
  top: 50%;
  left: 9px;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background-color: #2589d0;
}

.radio-001 input {
  display: none;
}

div.students_area {
  display: flex;
}


div.students_area>div:first-child {
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start !important;
  padding-right: 8px;
  width: 60%;
}


div.students_area>div:nth-child(2) {
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start !important;
  padding-right: 8px;
  width: 30%;
}

div.students_area>div>div {
  display: flex;
  margin-bottom: 8px;
}

div.main_content>form>div.contact_form>div>section>div.students_area {
  margin-bottom: 0px !important;
}

.link-style-btn {
  cursor: pointer;
  border: none;
  background: none;
  color: #0033cc;
  font-size: 18px;
}


.link-style-btn:hover {
  text-decoration: underline;
  color: #002080;
}