/*------------------------------
--------------------------------
 来店予約/問い合わせ
--------------------------------
------------------------------*/
.reservation p.shop_number {
  text-align: center;
  padding-top: 24px;
}

.contact .l_page_content_wrap h2 span.pc {
  display: inline;
}

section.contact_form {
  padding: 24px 0;
}

.contact_form .table_wrap {
  width: 100%;
  text-align: left;
  color: var(--nav-black);
  display: flex;
  flex-direction: column;
}

.contact_form .table_wrap .table_row {
  display: flex;
  align-items: center;
  padding: 24px 0;
  gap: 50px;
  border-bottom: 1px solid var(--footer-nav);
}

.contact_form .table_header {
  width: 250px;
}

.contact_form .table_header span.required {
  padding-right: 1em;
  position: relative;
}

.contact_form .table_header span + span {
  padding-top: 8px;
}

.contact_form .table_header span.required:after {
  position: absolute;
  content: '※';
  display: block;
  font-size: 1.6rem;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.32px;
  color: var(--link);
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.contact_form .table_wrap span.form_note {
  display: block;
  font-family: Noto Sans JP;
  color: var(--body);
}

.contact_form .table_data {
  width: calc(100% - 300px);
}

.contact_form .table_data.r_date {
  width: 400px;
}

.contact_form .table_row.contact_purpose .table_data {
  flex-direction: column;
  row-gap: 12px;
}

.contact_form .table_data.checkbox span {
  display: flex;
  align-items: center;
  margin: 0 0 0 0;
}

.contact_form .table_row.contact_purpose .table_data span {
  flex-direction: column;
  align-items: flex-start;
}

.contact_form .table_data span span:type-of-child(4) label {
  margin-right: 0;
}

.reservation .contact_form .table_data.sp {
  display: none;
}

.contact_form .table_row.contact_purpose {
  align-items: flex-start;
}

.contact_form .table_data input[type=text],
.contact_form .table_data input[type=email],
.contact_form .table_data textarea,
.contact_form .table_data select {
  font-family: Noto Serif JP;
  background: var(--white);
  border: 1px solid var(--frame-line);
  padding: 12px 0 12px 24px;
  border-radius: 0;
}

.contact_form .table_data input[type=text],
.contact_form .table_data input[type=email],
.contact_form .table_data textarea {
  width: calc(100% - 24px);
  padding-left: 24px;
  padding-right: 24px;
  margin-right: 24px;
}

.contact_form .table_data input[type=text]#date {
  width: 100%;
  margin-right: 0;
}

.contact_form .table_data input[type=text]#date:hover {
  cursor: pointer;
}

.contact_form .table_data .date_wrap {
  position: relative;
}

.wpcf7-form-control-wrap {
  position: static;
}

.contact_form .table_data .date_wrap button {
  position: absolute;
  display: block;
  content: '';
  top: 10px;
  right: -16px;
  transform: translateX(100%);
  border: none;
  background: transparent;
  width: 30px;
  height: 30px;
  padding: 0;
}

.contact_form .table_data .date_wrap button:hover {
  opacity: .5;
}

.contact_form .table_data .date_wrap button img {
  width: 100%;
}


::-ms-input-placeholder,
::placeholder {
  color: #C7C8C8;
}

.contact_form .table_data.select_box {
  flex-direction: column;
  gap: 8px;
}

.contact_form .table_data .select_wrap {
  position: relative;
  cursor: pointer;
  width: 400px;
}

.contact_form .table_data .select_wrap:after {
  position: absolute;
  display: block;
  content: '';
  top: 50%;
  right: 24px;
  background-image: url('../img/selectbox_arrow.svg');
  background-repeat: no-repeat;
  width: 8.3px;
  height: 5px;
  z-index: 99;
}

.contact_form .table_data select {
  width: 100%;
  height: 100%;
  padding-left: 24px;
  margin-right: auto;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  color: var(--nav-black);
}

.contact_form .table_data select::-ms-expand {
  display: none;
}

.contact_form input[type=checkbox] {
  display: none;
}

.contact_form label span {
  position: relative;
  padding-left: 28px;
  vertical-align: middle;
}

.contact_form label span:hover {
  cursor: pointer;
}

.contact_form label span:before {
  position: absolute;
  content: '';
  display: block;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: var(--white);
  vertical-align: middle;
  border: 1px solid var(--frame-line);
}

.contact_form label span:after {
  display: block;
  content: '';
  position: absolute;
  left: 6px;
  top: 40%;
  width: 10px;
  height: 14px;
  border-right: 4px solid var(--nav-black);
  border-bottom: 4px solid var(--nav-black);
  transform: translateY(-50%) rotate(45deg);
  opacity: 0;
}

input[type=checkbox]:checked + span:after {
  opacity: 1;
}

.contact_form .table_data label {
  margin-right: 24px;
  display: flex;
  align-items: center;
}

.contact_form div.table_wrap .table_row.textarea {
  align-items: flex-start;
}

.contact_form .table_row.textarea .table_data {
  display: block;
}

.contact_form .table_data textarea {
   line-height: 1.5;
   height: calc(1.5 * 8em);
}

.contact_form .table_row.textarea .table_data span {
  padding-top: 8px;
}

.contact_form .privacy {
  margin: 0 auto;
}

.contact_form .privacy label {
  display: block;
}

.contact_form .btn {
  margin-top: 48px;
}

.contact_form .btn input {
  width: 100%;
  height: 100%;
  background: var(--white);
  border: none;
  padding: 0;
  color: var(--nav-black);
}

.contact_form .btn input:hover {
  color: var(--white);
  background: var(--link);
  cursor: pointer;
}

::placeholder {
  color: #C7C8C8;
}

.recaptcha {
  text-align: center;
  padding-top: 8px;
}

.recaptcha a {
  text-decoration: underline;
}

.recaptcha a:hover {
  opacity: .5;
}

.grecaptcha-badge {
  visibility: hidden;
}

.reservation.thanks .l_page_content_wrap .btn,
.contact.thanks .l_page_content_wrap .btn {
  margin-top: 96px;
}


@media only screen and (max-width: 1290px){
  .contact-form-name input{
    width: 38%
  }
  .contact-form-name label{
    margin-left: 2.5%;
  }
  .contact-form-name-kana input{
    width: 38%
  }
}


@media only screen and (max-width: 1087px) {
  /*来店予約*/
  .contact_form .table_header {
      width: 180px;
  }

  .contact_form .table_data {
      width: calc(100% - 230px);
  }

  .contact_form .table_data label {
      margin-right: 12px;
  }
}


@media only screen and (max-width: 960px) {
  /*来店予約*/
  .reservation .container {
    width: 80%;
  }

  .reservation br.br_960 {
    display: block;
  }

  .reservation .contact_form .table_wrap .table_row {
    flex-direction: column;
    width: 100%;
    padding: 24px 0;
    gap: 16px;
  }

  .reservation .contact_form .table_header {
    width: 100%;
  }

  .reservation .contact_form .table_data {
    width: 100%;
    display: block;
  }

  .contact_form .table_data.checkbox {
    display: block;
  }

  .reservation .contact_form .table_data.r_date {
    width: calc(100% - 50px);
    margin-right: auto;
  }

  .reservation .contact_form .table_data label br.pc {
    display: none;
  }

  .reservation .contact_form .table_data.pc {
    display: none;
  }

  .reservation .contact_form .table_data.sp {
    display: block;
  }

  .contact_form .table_data.checkbox span {
    display: block;
  }

  .reservation .contact_form .table_data .select_wrap {
    width: 100%;
  }

  .reservation .contact_form .table_data select {
    width: 100%;
    padding: 12px 0 12px 24px;
  }

  .reservation .contact_form .table_data .select_wrap:after {
    right: 20px;
  }

  .reservation .contact_form .table_data input[type=text]#date {
    width: 100%;
  }

  .reservation .contact_form .table_data .date_wrap button {
    right: -16px;
  }

  .reservation .contact_form .table_data label {
    display: block;
    margin-right: 0;
    margin-bottom: 8px;
  }

  .reservation .contact_form .table_data input[type=text],
  .reservation .contact_form .table_data input[type=email],
  .reservation .contact_form .table_data textarea {
    width: 100%;
    padding-left: 24px;
    margin-right: 0px;
  }
}

@media only screen and (max-width: 840px) {
  .contact .headline_txt br.br_840 {
    display: none;
  }
}

@media only screen and (max-width: 650px) {
  .contact .l_page_content_wrap h2 span.pc {
    display: none;
  }

  section.contact_form {
    padding: 24px 0 0;
  }

  .contact_form .table_wrap span.form_note {
    padding-top: 8px;
  }

  .reservation.thanks .l_page_content_wrap .btn,
  .contact.thanks .l_page_content_wrap .btn {
    margin-top: 48px;
  }

  /*来店予約*/
  .reservationbr .br_960 {
    display: none;
  }

  /*お問い合わせ*/
  .contact .headline_txt {
    letter-spacing: 0.7px;
  }

  .contact .headline_txt span {
    letter-spacing: 2px;
  }

  .contact .contact_form .table_wrap .table_row {
    flex-direction: column;
    width: 100%;
    padding: 24px 0;
    gap: 16px;
  }

  .contact .contact_form .table_header {
    width: 100%;
  }

  .contact .contact_form .table_data {
    width: 100%;
    display: block;
  }

  .contact .contact_form .table_data .select_wrap {
    width: 100%;
  }

  .contact .contact_form .table_data select {
    width: 100%;
    padding: 12px 0 12px 24px;
  }

  .contact .contact_form .table_data .select_wrap:after {
    right: 20px;
  }

  .contact .contact_form .table_data input[type=text]#date {
    width: calc(100% - 50px);
  }

  .contact .contact_form .table_data .date_wrap button {
    right: 34px;
  }

  .contact .contact_form .table_data label {
    display: block;
    margin-right: 0;
    margin-bottom: 8px;
  }

  .contact .contact_form .table_data input[type=text],
  .contact .contact_form .table_data input[type=email],
  .contact .contact_form .table_data textarea {
    width: 100%;
    padding-left: 24px;
    margin-right: 0px;
  }
}


