@charset "utf-8";

/* form
-------------------------------------------------------------- */
.mailform {
  font-size: 1.5rem;
}

.mailform .message {
  margin-bottom: 90px;
  padding: 35px 25px;
  background: var(--color-lightBlue);
}

.mailform .message p {
  margin-bottom: 40px;
  line-height: 2;
}

.mailform .message p:last-of-type {
  margin-bottom: 0;
}

.mailform table {
  margin: 0 0 120px;
  width: 100%;
}

.mailform th {
  position: relative;
  padding: 20px 20px 20px 80px;
  border-bottom: 1px solid var(--color-gray);
  width: 25%;
  vertical-align: top;
  text-align: right;
}

.mailform th span {
  position: absolute;
  top: 18px;
  left: 0;
  display: inline-block;
  padding: 8px 20px;
  color: var(--color-white);
  line-height: 1;
  border-radius: 15px;
}

.mailform td {
  padding: 20px;
  border-bottom: 1px solid var(--color-gray);
  width: 75%;
  text-align: left;
}

::placeholder {
  color: #bcbec0;
}

.mailform input[type="text"],
.mailform input[type="number"],
.mailform input[type="email"],
.mailform input[type="tel"] {
  padding: 5px 10px;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--color-gray);
}

.mailform select {
  padding: 8px 10px;
  width: 170px;
  box-sizing: border-box;
  border: 1px solid var(--color-gray);
}

.mailform textarea {
  padding: 5px 10px;
  width: 100%;
  height: 150px;
  box-sizing: border-box;
  border: 1px solid var(--color-gray);
}

.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 input[type="text"],
.mailform input[type="tel"] {
  max-width: 250px;
}

.mailform input[type="email"] {
  max-width: 300px;
}

.mailform .name {
  width: 250px;
}

.mailform .name span {
  width: 48%;
}

.mailform .address {
  justify-content: flex-start;
  align-items: center;
}

.mailform .address dt {
  padding-right: 10px;
}

.mailform .address input[type="text"] {
  width: 300px;
}

.mailform .birth {
  justify-content: flex-start;
  align-items: center;
}

.mailform .birth select {
  width: 80px;
}

.mailform .birth span {
  margin-right: 10px;
}

.mailform select#your-final {
  width: 200px;
}

.mailform .graduate {
  justify-content: flex-start;
  align-items: center;
}

.mailform .graduate select {
  width: 80px;
}

.mailform .graduate span {
  margin-right: 10px;
}

.mailform textarea {
  max-width: 600px;
}

.mailform .btnWrap {
  margin: auto;
  max-width: 520px;
}

.mailform .btnWrap li {
  position: relative;
  width: 48%;
  max-width: 220px;
}

.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 {
    font-size: 1.4rem;
  }

  .mailform .message {
    margin-bottom: 40px;
    padding: 20px;
  }

  .mailform .message p {
    margin-bottom: 20px;
  }

  .mailform table {
    margin: 0 0 50px;
  }

  .mailform th,
  .mailform td {
    width: 100% !important;
    display: list-item;
    text-align: left;
  }

  .mailform th {
    padding: 10px 20px 10px 60px;
    border: none;
  }

  .mailform th span {
    padding: 2px 10px;
    top: 14px;
  }

  .mailform td {
    padding: 0 0 30px;
  }

  .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;
  }
}

/* contact
-------------------------------------------------------------- */
.contact .txt,
.thanks .thanks.txt {
  padding: 150px 0 60px;
  font-size: 1.6rem;
}

.contact .mailform table {
  margin: 0 0 50px;
}

.contact .mailform th span {
  background: var(--color-green);
}

.contact .mailform .address:nth-child(2) {
  padding: 20px 0;
}

.contact .btnSubmit input {
  position: relative;
  display: block;
  padding: 20px 30px;
  box-sizing: border-box;
  border-radius: 30px;
  width: 100%;
  border: none;
  background: var(--color-green);
  color: var(--color-white);
  text-align: left;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1;
  transition: all 0.5s ease-in-out;
}

.contact .btnSubmit::after {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 5px;
  margin: auto;
  width: 42px;
  height: 42px;
  background: url(../img/common/arrow_white.png) no-repeat top center / 100% auto;
  content: "";
  transition: all 0.5s ease-in-out;
}

.contact .btnSubmit input:hover {
  background: transparent;
  color: var(--color-green);
  opacity: 1;
}

.contact .btnSubmit:hover::after {
  background: url(../img/common/arrow_green.png) no-repeat top center / 100% auto;
  right: 0;
}

.contact .btnReset input {
  position: relative;
  display: block;
  padding: 20px 30px;
  box-sizing: border-box;
  border-radius: 30px;
  width: 100%;
  border: 1px solid var(--color-green);
  background: var(--color-white);
  color: var(--color-green);
  text-align: left;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1;
  transition: all 0.5s ease-in-out;
}

.contact .btnReset::after {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 5px;
  margin: auto;
  width: 42px;
  height: 42px;
  background: url(../img/common/arrow_green.png) no-repeat top center / 100% auto;  content: "";
  transition: all 0.5s ease-in-out;
}

.contact .btnReset input:hover {
  border: 1px solid transparent;
  opacity: 1;
}

.contact .btnReset:hover::after {
  right: 0;
}

.contact .confirm_area {
  padding: 100px 0;
}
@media (max-width: 767px) {
  .contact .txt,
  .thanks .thanks.txt {
    padding: 70px 0 30px;
    font-size: 1.4rem;
  }
  
  .contact .mailform table {
    margin: 0 0 30px;
  }
  
  .contact .btnSubmit input {
    font-size: 1.4rem;
  }

  .contact .btnSubmit::after {
    width: 35px;
    height: 35px;
  }

  .contact .btnReset input {
    font-size: 1.4rem;
  }

  .contact .btnReset::after {
    width: 35px;
    height: 35px;
  }
  
  .contact .confirm_area {
    padding: 50px 0;
  }
}

/* entry
-------------------------------------------------------------- */
.entry .txt {
  padding-bottom: 80px;
  font-size: 1.5rem;
}

.entry .mailform th span {
  background: #e9af00;
}

.entry .mailform .address:first-of-type {
  padding: 20px 0;
}

.entry .btnSubmit input {
  position: relative;
  display: block;
  padding: 25px 70px 25px 40px;
  box-sizing: border-box;
  border-radius: 20px;
  width: 100%;
  border: none;
  background: var(--color-blue);
  color: var(--color-white);
  text-align: left;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1;
  transition: all 0.5s ease-in-out;
}

.entry .btnSubmit::after {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 20px;
  margin: auto;
  width: 27px;
  height: 27px;
  background: url(../img/recruit/arrow_white.png) no-repeat top center / 100% auto;
  content: "";
  transition: all 0.5s ease-in-out;
}

.entry .btnSubmit input:hover {
  background: var(--color-lightblue);
  opacity: 1;
}

.entry .btnSubmit:hover::after {
  right: 10px;
}

.entry .btnReset input {
  position: relative;
  display: block;
  padding: 25px 70px 25px 40px;
  box-sizing: border-box;
  border-radius: 20px;
  width: 100%;
  border: 1px solid var(--color-blue);
  background: var(--color-white);
  color: var(--color-blue);
  text-align: left;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1;
  transition: all 0.5s ease-in-out;
}

.entry .btnReset::after {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 20px;
  margin: auto;
  width: 27px;
  height: 27px;
  background: url(../img/recruit/arrow_blue.png) no-repeat top center / 100% auto;
  content: "";
  transition: all 0.5s ease-in-out;
}

.entry .btnReset input:hover {
  opacity: 1;
}

.entry .btnReset:hover::after {
  right: 10px;
}

@media (max-width: 767px) {
  .entry .txt {
    padding-bottom: 40px;
    font-size: 1.4rem;
  }

  .entry .btnSubmit input {
    padding: 20px 50px 20px 30px;
    border-radius: 10px;
    font-size: 1.4rem;
  }

  .entry .btnSubmit::after {
    width: 20px;
    height: 20px;
  }

  .entry .btnReset input {
    padding: 20px 50px 20px 30px;
    border-radius: 10px;
    font-size: 1.4rem;
  }

  .entry .btnReset::after {
    width: 20px;
    height: 20px;
  }
}