#contact .subpage_title {
  background-image: url("../img/contact/bg_title_pc.jpg");
}

@media screen and (max-width: 768px) {
  #contact .subpage_title {
    background-image: url("../img/contact/bg_title_sp.jpg");
  }
}

#confirm {
  padding-top: 14rem;
}

@media screen and (max-width: 768px) {
  #confirm {
    padding-top: 10rem;
  }

}

#thanks {
  padding-top: 14rem;
}

@media screen and (max-width: 768px) {
  #thanks {
    padding-top: 10rem;
  }

}

.sec_contact {
  padding: 12.0rem 0;
  border-bottom: 1px solid #D6DFE8;
}

@media screen and (max-width: 768px) {
  .sec_contact {
    padding: 8.0rem 0;
  }

}

.container {
  max-width: 72.0rem;
  width: 100%;
  margin: 0 auto;
}

#inquiryForm {
  margin-top: 4.8rem;
}

@media screen and (max-width: 768px) {

  #inquiryForm {
    margin-top: 2.4rem;
  }
}


.intro-txt {
  font-size: 1.4rem;
}

#inputScreen .form_group {
  padding: 1.6rem 0;
  border-top: 1px solid #D6DFE8;
  display: flex;
  align-items: center;
  gap: 2.4rem;
}

@media screen and (max-width: 768px) {

  #inputScreen .form_group {
    flex-flow: column;
    gap: 1rem;
    border: none;
  }

}

@media screen and (max-width: 768px) {

  #inputScreen .input_group {
    width: 100%;
  }
}

#inputScreen .input_group p {
  font-size: 1.2rem;
  line-height: 1.4;
  margin-top: 0.7rem;
}

#inputScreen .label_group {
  width: 19.2rem;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  white-space: nowrap;

}

@media screen and (max-width: 768px) {

  #inputScreen .label_group {
    width: 100%;
    justify-content: left;
    gap: 1rem;

  }
}

#inputScreen .form_group label {
  font-size: 1.4rem;
  margin: 0;

}

@media screen and (max-width: 768px) {

  #inputScreen .form_group label {
    font-size: 1.6rem;
  }

}

#inputScreen .checkbox_group-grade label,
#inputScreen .checkbox_group-content label {
  margin-left: 0.4rem;
}

.required {
  font-size: 1.2rem;
  color: #fff;
  background: #D71515;
  padding: 0 0.5rem;
  border-radius: 0.3rem;
  display: block;
}

.any {
  font-size: 1.2rem;
  color: #143C5A;
  border: 1px solid #D6DFE8;
  padding: 0 0.5rem;
  border-radius: 0.3rem;

}

input[type="text"],
input[type="email"],
textarea {
  width: 50.0rem;
  height: 5.0rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 1.6rem;
  padding-left: 1.0rem;
}

@media screen and (max-width: 768px) {

  input[type="text"],
  input[type="email"],
  textarea {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .checkbox_group {
    width: 100%;

  }

}

.checkbox_group-grade {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

@media screen and (max-width: 768px) {

  .checkbox_group-grade {
    grid-template-columns: repeat(3, 1fr);
  }

}

.checkbox_group-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  row-gap: 0;
}

@media screen and (max-width: 768px) {

  .checkbox_group-content {
    display: block;
  }
}

.checkbox_group-content .checkbox-item:nth-child(3) {
  grid-column: 1 / -1;

}

.checkbox_group .checkbox-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.0rem;
  font-size: 1.6rem;
}

.checkbox_group-grade .checkbox-item:nth-last-child(1),
.checkbox_group-grade .checkbox-item:nth-last-child(2) {
  grid-column: 1 / -1;
}

@media screen and (max-width: 768px) {

  .checkbox_group-grade .checkbox-item:nth-last-child(1) {
    grid-column: 1;
  }

  .checkbox_group-grade .checkbox-item:nth-last-child(2) {
    grid-column: 2;
  }

}

.checkbox-item input[type="checkbox"] {
  appearance: none;
  width: 2.2rem;
  height: 2.2rem;
  border: 2px solid #143C5A;
  border-radius: 2px;
  cursor: pointer;
}

.checkbox-item input[type="checkbox"]:checked {
  background-color: #007bff;
  border-color: #007bff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M20.285 6.285a1 1 0 00-1.414 0L9 16.172 5.129 12.3a1 1 0 00-1.414 1.414l4.5 4.5a1 1 0 001.414 0l10.5-10.5a1 1 0 000-1.414z'/%3E%3C/svg%3E");
  background-size: 1.8rem;
  background-repeat: no-repeat;
  background-position: center;
}

input::placeholder {
  opacity: 0.6;
}

.personal_info {
  margin-top: 2.4rem;
}

.personal_info a {
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .personal_info {
    margin-top: 4.0rem;
  }
}

.personal_info h2 {
  font-size: 1.4rem;
  font-weight: bold;
  color: #143C5A;
}

.personal_info p {
  font-size: 1.2rem;
  color: #143C5A;
  margin-top: 0.5rem;

}

.checkbox_group-privacy {
  margin: 2.4rem 0 0 0;
}

.checkbox_group-privacy .checkbox-item {
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  gap: 1.2rem;
}

.checkbox_group-privacy label {
  cursor: pointer;
  line-height: 1.5;
  overflow-wrap: break-word;
}

.checkbox_group-privacy .required {
  padding: 0.2rem 0.5rem;
}

.form_group .label_group {
  width: 19.2rem;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
}

.submit_confirm-btn {
  padding: 1.8rem 0;
  margin-top: 2.4rem;
  border-radius: 3.5rem;
  color: #143C5A;
  font-size: 1.8rem;
  border: 1px solid #143C5A;
  width: 100%;
  position: relative;
}

button {
  color: #143C5A;
}


.submit_confirm-btn:hover {
  background-color: #143C5A;
  color: #FFF;
}

.submit_confirm-btn::after {
  content: "";
  width: 4.0rem;
  height: 4.0rem;
  display: block;
  background: url(../img/common/icon_arrow.svg) center / contain no-repeat;
  position: absolute;
  top: 50%;
  right: 1.8rem;
  transform: translateY(-50%);
  pointer-events: none;
}


/* 確認画面 */

#confirmScreen h1 {
  font-size: 3.2rem;
  color: #143C5A;
  text-align: center;
  margin-bottom: 4.8rem;
}

#confirmScreen .form_group {
  padding: 1.6rem 0;
  border-top: 1px solid #D6DFE8;
  display: flex;
  align-items: center;
  gap: 2.4rem;
}

.border_bottom {
  border-bottom: 1px solid #D6DFE8;
}

@media screen and (max-width: 768px) {

  #confirmScreen .form_group {
    flex-flow: column;
    align-items: flex-start;
    gap: 1.6rem;
    white-space: nowrap;
  }
}

#confirmScreen .form_group label {
  font-size: 1.6rem;
  margin: 0;
  width: 16.0rem;
  font-weight: bold;

}

@media screen and (max-width: 768px) {

  #confirmScreen .form_group label {
    width: 100%;
  }
}

#confirmScreen .confirm-value {
  font-size: 1.6rem;
}

#confirmScreen .confirm-list {
  margin: 0;
  padding: 0;
}

#confirmScreen .confirm-buttons {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  margin-top: 4.8rem;
}


@media screen and (max-width: 768px) {

  #confirmScreen .confirm-buttons {
    flex-flow: column-reverse;
    align-items: flex-start;

  }

}

#confirmScreen .btn-back {
  color: #143C5A;
  padding: 2.0rem 0 2.0rem 4rem;
  border-radius: 3.5rem;
  border: 1px solid #143C5A;
  width: 15.0rem;
  position: relative;
}

#confirmScreen .btn-back:hover {
  color: #fff;
  background: #143C5A;

}

#confirmScreen .btn-back::before {
  content: "";
  width: 4.0rem;
  height: 4.0rem;
  display: block;
  background: url(../img/common/icon_arrow.svg) center / contain no-repeat;
  position: absolute;
  top: 50%;
  left: 1.8rem;
  transform: translateY(-50%) scale(-1, 1);
  pointer-events: none;
}

#confirmScreen .btn-submit {
  padding: 2.1rem 0;
  border-radius: 3.5rem;
  color: #fff;
  background: #143C5A;
  border: 1px solid #143C5A;
  position: relative;
  width: 54.6rem;
}

#confirmScreen .btn-submit:hover {
  color: #143C5A;
  background: #fff;
  border: 1px solid #143C5A;
}

@media screen and (max-width: 768px) {

  #confirmScreen .btn-submit {
    width: 100%;

  }


}

#confirmScreen .btn-submit::after {
  content: "";
  width: 4.0rem;
  height: 4.0rem;
  display: block;
  background: url(../img/common/icon_arrow.svg) center / contain no-repeat;
  position: absolute;
  top: 50%;
  right: 1.8rem;
  transform: translateY(-50%);
  pointer-events: none;
}


.hidden {
  display: none;
}



/* 送信完了画面 */
#completeScreen {
  text-align: center;
}

#completeScreen h1 {
  font-size: 3.2rem;
  color: #143C5A;
  margin-bottom: 4.8rem;
}

#completeScreen .complete-message {
  font-size: 1.4rem;
  line-height: 1.6;
  color: #143C5A;
  margin-bottom: 4.8rem;
}

#completeScreen .btn-to-top {
  padding: 2.0rem 0 2.0rem 4rem;
  border-radius: 3.5rem;
  border: 1px solid #143C5A;
  width: 22.0rem;
  position: relative;
  font-size: 1.8rem;
}

#completeScreen .btn-to-top:hover {
  color: #fff;
  background: #143C5A;
  border: 1px solid #143C5A;

}

#completeScreen .btn-to-top::before {
  content: "";
  width: 4.0rem;
  height: 4.0rem;
  display: block;
  background: url(../img/common/icon_arrow.svg) center / contain no-repeat;
  position: absolute;
  top: 50%;
  left: 1.8rem;
  transform: translateY(-50%) scale(-1, 1);
  pointer-events: none;
}