.pagenavi .wp-pagenavi {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0.5em;
}
 .pagenavi .page,
.pagenavi .current {
  margin: 0 0.5em;
  padding: 0 0.2em;
}
.pagenavi .current {
  border-bottom: 1.5px solid #494955;
}
.pagenavi .previouspostslink,
.pagenavi .nextpostslink {
  margin: 0 0.65em;
  transform: scaleX(1.5);
  font-size: 0.7rem;
}

.pagenavi .previouspostslink {
  margin-right: 1.15em;
}

.pagenavi .nextpostslink {
  margin-left: 0.1.15em;
}


input[type="submit"] {
  border: none;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  transition: 0.4s ease-out;
}
input[type="submit"]:hover {
  opacity: .6;
  filter: alpha(opacity=60);
}

input.readonly,
textarea.readonly {
  border: none;
  background: transparent;
  display: inline;
  /* textareaの高さの調整を不可にする */
  resize: none;
  font-family: 'Figtree', sans-serif!important;
  letter-spacing: 0.12em;
  overflow: hidden;
  line-break: anywhere;
}

.contact_form .item_no input.readonly {
  letter-spacing: 0.12em;
  
}

.contact_form .item_no span {
  font-size: 0.8571rem;
}

.contact_form .item_shop span {
  font-size: 0.7857rem;
}
.contact_form .item_shop input.readonly {
  letter-spacing: 0.12em;
}

.contact_form .item_name span,
.contact_form .item_price span {
  font-size: 1.1429rem;
}
.contact_form .item_name input.readonly,
.contact_form .item_price input.readonly {
  letter-spacing: 0.12em;
}

input.readonly[name="deal_price"] {
  text-align: right;
}

.wpcf7-not-valid-tip {
  font-size: 0.9em !important;
}

.contact_cont dd .wpcf7-form-control-wrap {
  display: inline-block;
  max-width: 100%;
}
.contact_cont dd .wpcf7-not-valid-tip {
  position: absolute;
  bottom: 1.5em;
  left: 0;
  translate: 0 100%;
  white-space: nowrap;
}

.contact_cont dd .wpcf7-not-valid {
  margin-bottom: 1.5em;
}

.contact_agree .wpcf7-not-valid-tip {
  margin-top: 0.35em;
}

.contact_btn a {
  cursor: pointer;
}

.contact_cont .is-error input.is-required,
.contact_cont .is-error select.is-required,
.contact_cont .is-error textarea.is-required,
#cont01 .is-error input.is-required,
#cont01 .is-error textarea.is-required,
.contact_form .is-error input.is-required,
.contact_form .is-error select.is-required {
  border: solid 1px #B02500 !important;
  background-color: #ffe7e0 !important;
}

.contact_cont .contact_agree .is-error {
  position: relative;
}

.contact_cont .contact_agree .is-error::after {
  content: "プライバシーポリシーに同意してください";
  position: absolute;
  bottom: -0.3em;
  left: 0;
  width: 100%;
  color: #B02500;
  text-align: center;
  translate: 0 100%;
}

.contact_form .check-agree-wrap.is-error {
  position: relative;
}

.contact_form .check-agree-wrap.is-error::after {
  content: "お預かりについて同意してください";
  position: absolute;
  bottom: -0.3em;
  left: 0;
  width: 100%;
  color: #B02500;
  text-align: center;
  translate: 0 100%;
}

.file_upload_list {
  display: none;
}

.contact_form .file_upload_btn .wpcf7-not-valid-tip {
  display: none;
}

.file_upload_btn_wrap {
  width: 240px;
}

.file_upload_select {
  box-sizing: border-box;
  padding-right: 20px;
}

body.is-phase-2 .file_upload_list {
  display: block;
}

body.is-phase-2 dt .red {
  display: none;
}
body.is-phase-2 .contact_cont input[type="text"],
body.is-phase-2 .contact_cont input[type="tel"],
body.is-phase-2 .contact_cont input[type="email"],
body.is-phase-2 .contact_cont input[type="number"],
body.is-phase-2 .contact_cont input[type="date"],
body.is-phase-2 .contact_cont select,
body.is-phase-2 .contact_cont textarea {
  background: transparent;
  pointer-events: none;
}

body.is-phase-2 .contact_cont input::placeholder,
body.is-phase-2 .contact_item input::placeholder {
  color: transparent;
}

body.is-phase-2 .contact_cont .select_wrap:before {
  display: none;
}

body.is-phase-2 input[name="last-name"],
body.is-phase-2 input[name="last-name-kana"] {
  margin-right: 0;
}

.will-display-phase-2 {
  display: none;
}

body.is-phase-2 .will-display-phase-1 {
  display: none;
}
body.is-phase-2 .will-display-phase-2 {
  display: block;
}
body.is-phase-2 .contact_btn.will-display-phase-2 {
  display: flex;
}

body.is-phase-2 .contact_item_list_checkbox {
  display: none;
}
body.is-phase-2 .contact_item_list_checkbox.is-checked {
  display: flex;
}
body.is-phase-2 .contact_item input,
body.is-phase-2 .contact_item select,
body.is-phase-2 .contact_item textarea {
  pointer-events: none;
  background: transparent !important;
}

body.is-phase-2.studio-carese-reservation .contact_item dt,
body.is-phase-2.studio-carese-reservation .contact_item dd {
  margin-bottom: 0 !important;
}
body.is-phase-2 .contact_item_list_checkbox.is-checked input {
  display: none;
}
body.is-phase-2.studio-carese-reservation .contact_item input,
body.is-phase-2.studio-carese-reservation .contact_item select {
  padding: 4px 0 0 0;
  min-height: auto;
}
body.is-phase-2 .contact_item_reserve::before,
body.is-phase-2 .select_pref::before {
  display: none !important;
}
body.is-phase-2 .contact_item_list_checkbox.is-checked textarea {
  resize: none;
}

#cont01 .will-display-belt {
  display: none;
}

#cont01.mens-belt .will-display-belt,
#cont01.ladies-belt .will-display-belt {
  display: block;
}

.wpcf7-response-output {
  display: none !important;
}

header .searchform_popup input[type="search"] {
  padding: 0.5em 1em;
  width: calc(100% - 28px);
  border: none;
  background: #fff;
}

@media screen and (max-width: 768px) {
  .contact_form dd.text-area_name .wpcf7-form-control-wrap[data-name="last-name"],
  .contact_form dd.text-area_name .wpcf7-form-control-wrap[data-name="first-name"],
  .contact_form dd.text-area_name .wpcf7-form-control-wrap[data-name="last-name-kana"],
  .contact_form dd.text-area_name .wpcf7-form-control-wrap[data-name="first-name-kana"] {
    width: 45%;
    margin-right: 2%;
  }
  .contact_form dd.text-area_name .wpcf7-form-control-wrap[data-name="last-name"] input,
  .contact_form dd.text-area_name .wpcf7-form-control-wrap[data-name="first-name"] input,
  .contact_form dd.text-area_name .wpcf7-form-control-wrap[data-name="last-name-kana"] input,
  .contact_form dd.text-area_name .wpcf7-form-control-wrap[data-name="first-name-kana"] input {
    width: 100%;
    margin-right: 0;
  }
  input {
    max-width: 100%;
  }
  .contact_form .item_name span,
  .contact_form .item_price span {
    font-size: 1em;
  }
  .contact_form .item_no span {
    font-size: 0.75rem;
  }
  .contact_form .item_no.figtree {
    display: flex;
    white-space: nowrap;
  }
  header .searchform_popup input[type="search"] {
    padding: 0.4em 0.8em;
    width: calc(100% - 28px);
    border: none;
    background: #fff;
  }
}
