@charset "utf-8";
/* common
-------------------------------------------------------------- */
#form {
  padding: 30px;
  margin-bottom: 100px;
  border: 10px solid #dcdcdc;
  max-width: 900px;
  font-size: 1.8rem;
}
#form h2 {
  padding-bottom: 5px;
  margin-bottom: 20px;
  text-align: center;
  font-size: 2.4rem;
  font-weight: 500;
  border-bottom: 1px solid var(--lightblack);
}
#form p {
  padding-bottom: 20px;
  text-align: center;
}
.eventform .mailform .btnWrap {
  margin: 30px auto;
  justify-content: center;
  gap: 20px;
}
.eventform .mailform .btnWrap li {
  position: relative;
  width: calc(50% - 10px);
}
.eventform .btnSubmit input {
  position: relative;
  display: block;
  padding: 0 40px;
  border: none;
  background: var(--orange);
  border-radius: 20px;
  width: 100%;
  height: 80px;
  color: var(--white);
  text-align: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 2px;
  transition: all 0.5s ease-in-out;
}
.eventform .btnSubmit::after {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 25%;
  margin: auto;
  width: 30px;
  height: 30px;
  background: url(../img/common/arrow_submit.svg) no-repeat center / contain;
  content: "";
}
.eventform .btnReset input {
  position: relative;
  display: block;
  padding: 0 40px;
  border: none;
  background: var(--lightgray);
  border-radius: 20px;
  width: 100%;
  height: 80px;
  color: var(--orange);
  text-align: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 2px;
  transition: all 0.5s ease-in-out;
}
.eventform .btnReset::after {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 25%;
  margin: auto;
  width: 30px;
  height: 30px;
  background: url(../img/common/arrow_submit.svg) no-repeat center / contain;
  content: "";
}
.eventform .btnSubmit input:hover,
.eventform .btnReset input:hover {
  opacity: .7;
}
@media (max-width: 1200px) {
  .eventform .mailform .btnWrap {
    max-width: 600px;
    gap: 10px;
  }
  .eventform .mailform .btnWrap li {
    position: relative;
    width: calc(50% - 5px);
  }
  .eventform .btnSubmit::after,
  .eventform .btnReset::after {
    right: 15%;
  }
}
@media (max-width: 767px) {
  #form {
    padding: 20px;
    margin-bottom: 50px;
    border: 5px solid #dcdcdc;
    font-size: 1.5rem;
  }
  #form h2 {
    margin-bottom: 10px;
    font-size: 1.8rem;
  }
  .eventform .mailform .btnWrap {
    margin: 10px auto;
  }
  .eventform .btnSubmit input,
  .eventform .btnReset input {
    padding: 0 40px 0 30px;
    font-size: 1.4rem;
    height: 50px;
    border-radius: 10px;
  }
  .eventform .btnSubmit::after,
  .eventform .btnReset::after {
    right: 5%;
    width: 20px;
    height: 20px;
  }
  #form .thanks {
    margin-bottom: 50px;
  }
}
/* form
-------------------------------------------------------------- */
.mailform th {
  position: relative;
  padding: 20px 0;
  width: 30%;
  vertical-align: top;
  text-align: left;
  font-weight: 400;
}
.mailform td {
  padding: 15px 0;
  width: 70%;
  text-align: left;
}
.mailform td p {
  margin: 5px 0 0!important;
}
.mailform .noLine {
  border: none;
}
::placeholder {
  color: #bcbec0;
}
.mailform input[type="text"],
.mailform input[type="number"],
.mailform input[type="email"],
.mailform input[type="tel"] {
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #a7a7a7;
  border-radius: 10px;
}
.mailform select {
  padding: 8px 10px;
  width: 100px;
  box-sizing: border-box;
  border: 1px solid #a7a7a7;
  border-radius: 10px;
}
.mailform textarea {
  padding: 5px 10px;
  width: 100%;
  height: 150px;
  box-sizing: border-box;
  border: 1px solid #a7a7a7;
}
.mailform input[type="date"] {
  margin-right: 10px;
  padding: 6px 10px;
  box-sizing: border-box;
  border: 1px solid #a7a7a7;
  border-radius: 10px;
}
.mailform input[type="radio"] {
  width: 20px;
  height: 20px;
  vertical-align: -.3rem;
}
.mailform input[type="checkbox"] {
  width: 20px;
  height: 20px;
  vertical-align: -.3rem;
}
.wpcf7-list-item {
  width: 100%;
  margin: 0 0 5px !important;
}
.purpose .wpcf7-list-item {
  width: 100%;
  margin: 0 0 10px !important;
}
.purpose .wpcf7-list-item:last-of-type {
  margin: 0 !important
}
.mailform .wpcf7-not-valid-tip {
  font-size: 1.2rem;
  width: 100% !important;
}
.mailform .name {
  width: 250px;
}
.mailform .name span {
  width: 48%;
}
.mailform #zip {
  width: 200px;
}
.mailform .tel {
  gap: 10px;
  align-items: center;
}
.mailform .tel .tel-input {
  width: 70px;
} 
.mailform input[disabled] {
  cursor: not-allowed;
}
.confirm_area,
.thanks_area {
  display: none;
}
.confirm_area .name {
  width: auto;
  justify-content: flex-start;
}
.confirm_area .name span {
  width: auto;
}
.confirm_area .birth span,
.confirm_area .graduate span {
  margin: 0;
}
.wpcf7-spinner,
.wpcf7-response-output {
  display: none !important;
}
@media (max-width: 767px) {
  .mailform th,
  .mailform td {
    width: 100% !important;
    display: list-item;
    text-align: left;
  }
  .mailform th {
    padding: 5px 10px;
    background: var(--lightgray);
  }
  .mailform th.line {
    border: none;
  }
  .mailform td {
    padding: 10px 0 20px;
  }
  .mailform input[type="radio"] {
    width: 15px;
    height: 15px;
    vertical-align: -.2rem;
  }
  .mailform input[type="checkbox"] {
    width: 15px;
    height: 15px;
    vertical-align: -.2rem;
  }
  .mailform .birth select {
    width: 70px;
  }
}