/* inquiry */
.page_contact {
  position: relative;
}
.page_contact .c-title {
  margin-bottom: 60px;
}

.contact_form {
  width: 768px;
  margin: 0 auto;
  padding-bottom: 90px;
}
.contact_form_group {
  margin-bottom: 50px;
}
.contact_form_ttl {
  font-size: 20px;
  border-bottom: 1px solid #969696;
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.contact_form_text {
  width: 20%;
}
.contact_form_input {
  width: calc(80% - 40px);
}
.contact_form_input .schedule {
  width: 50%;
}

.contact_form_item {
  margin-bottom: 30px;
  align-items: center;
  justify-content: space-between;
}
.contact_form_item.contact_form_item_textarea {
  align-items: flex-start;
}
.contact_form_item:last-child {
  margin-bottom: 0;
}
.contact_form_input input,
.contact_form_input select,
.contact_form_input textarea {
  width: 100%;
  font-size: 14px;
  border-radius: 4px;
  border: 1px solid #dadada;
  background-color: #fff;
  padding: 12px;
}
.contact_form_input input,
.contact_form_input select {
  padding: 12px;
}

.contact_form_select {
  width: 50%;
}
.contact_form_input select {
  color: #000;
}
.required {
  color: #d84335;
  font-size: 12px;
  font-weight: bold;
  margin-left: 10px;
}

#submit_btn {
  background-color: transparent;
  border: none;
  height: 60px;
  width: 100%;
  cursor: pointer;
  font-size: 14px;
  color: #000;
}

.contact_form_radio input {
  display: none;
}

.page_contact .c-illustlogo_01 {
  top: 5vw;
  left: -15vw;
}
.page_contact .c-illustlogo_02 {
  bottom: -12vw;
  right: -15vw;
}
.form_input_caption {
  font-size: 12px;
  margin-top: 8px;
}
@media (max-width: 767px) {
  .page_contact .c-title {
    margin-bottom: 40px;
  }

  .contact_form {
    width: 100%;
    padding-bottom: 60px;
  }
  .contact_form_group {
    margin-bottom: 40px;
  }
  .contact_form_ttl {
    font-size: 18px;
    padding-bottom: 10px;
    margin-bottom: 20px;
  }

  .contact_form_text {
    font-size: 14px;
    width: 100%;
    line-height: 1.5;
    margin-bottom: 4px;
  }
  .contact_form_text .required {
    font-size: 10px;
  }
  .contact_form_input {
    width: 100%;
  }
  .contact_form_input .schedule {
    width: 100%;
  }
  .contact_form_input input,
  .contact_form_input select,
  .contact_form_input textarea {
    font-size: 14px;
    padding: 10px;
  }
  .contact_form_input textarea {
    height: 150px;
  }
  .contact_form_select {
    width: 100%;
  }

  .page_contact .c-illustlogo_01 {
    top: 10vw;
    left: -50vw;
  }
  .page_contact .c-illustlogo_02 {
    bottom: auto;
    top: 240vw;
    right: -50vw;
  }

  .form_input_caption {
    font-size: 10px;
  }
}

/* ラジオボタン */
.contact_form_radio {
  width: 100%;
}
.contact_form_radio p {
  display: flex;
  flex-wrap: wrap;
}
.contact_form_radio .wpcf7-list-item {
  margin-left: 0;
  margin-right: 2rem;
}
.contact_form_radio label input[type="radio"]:checked + .wpcf7-list-item-label:before {
  opacity: 1;
}
.contact_form_radio label .wpcf7-list-item-label {
  box-sizing: border-box;
  position: relative;
  display: inline-block;
  padding: 0 0 0 32px;
  vertical-align: middle;
  cursor: pointer;
}
.contact_form_radio label .wpcf7-list-item-label::before {
  content: "";
  position: absolute;
  display: block;
  opacity: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 16px;
  height: 16px;
  left: 4px;
  border-radius: 50%;
  background-color: #00437a;
  transition: opacity 0.2s linear;
  -webkit-transition: opacity 0.2s linear;
}
.contact_form_radio label .wpcf7-list-item-label::after {
  content: "";
  position: absolute;
  display: block;
  width: 24px;
  height: 24px;
  border: 1.5px solid #cccccc;
  border-radius: 50%;
  top: 0;
  bottom: 0;
  margin: auto;
  left: 0;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.16) inset;
}
.contact_form_submit .wpcf7-form-control.wpcf7-previous {
  display: block !important;
  background: transparent;
  border: none;
}
.contact_form_submit .wpcf7-spinner {
  display: none;
}
.contact_form_row {
  display: flex;
  justify-content: center;
}
.contact_form_row .contact_form_submit:first-child {
  margin-right: 30px;
}
.contact_form_row .contact_form_prev::after {
  transform: translateY(-50%) rotate(180deg);
  right: auto;
  left: 20px;
}
.contact_form_row .contact_form_prev input {
  height: 60px;
  cursor: pointer;
  width: 100%;
}
.contact_form_row .contact_form_prev:hover::after {
  left: 15px;
}
