@charset "utf-8";
/*------------------------------------------------------------
	リセット用
------------------------------------------------------------*/
.entry-body table th {
    background-color: unset;
    color: #333;
    white-space: nowrap;
    font-weight: 500;
}
.entry-body table td {
    background-color: unset;
}
#main .entry-body textarea {
    height: 10em !important;
}
/*------------------------------------------------------------
	初診予約
------------------------------------------------------------*/
.consultation_list{
	display: flex;
	flex-wrap: wrap;
}
.consultation_list li {
	margin: 0 3px 5px 2px !important;
}

.consultation_list label {
    display: flex !important;
    align-items: center;
    gap: 0 .5em;
    position: relative;
    max-width: 200px;
    margin-bottom: .4em;
    padding: .5em .7em;
    background: #fff;
    border: 1px solid #5E75B3;
    border-radius: 3px;
    cursor: pointer;
}

.consultation_list label:has(:checked) {
    background-color: #5E75B3;
    color: #fff;
}

.consultation_list label::before,
.consultation_list label:has(:checked)::after {
    border-radius: 50%;
    content: '';
}

.consultation_list label::before {
    width: 14px;
    height: 14px;
    background-color: #fff;
    border: #5E75B3 1px solid;
}

.consultation_list label:has(:checked)::after {
    position: absolute;
    top: 50%;
    left: calc(7px + .75em);
    transform: translate(-50%, -50%);
    width: 7px;
    height: 7px;
    background-color: #5E75B3;
}

.consultation_list input {
    display: none;
}
@media only screen and (max-width: 568px) {
    .consultation_list li {
        margin: 0 3px 5px 2px !important;
        width: 48%;
    }
}
form#mailformpro select:nth-of-type(2){
    margin-left: 10px;
}

/*******************************************
* アコーディオン new
********************************************/
tr.optional-date-box {
  display: none;
}
tr.optional-date-box.open {
  display: table-row;
}
.toggle-optional-btn {
  cursor: pointer;
  color: #fff;
  margin: 0 auto;
  display: block;
  text-align: center;
  width: 40%;
  padding: 1.25rem 0;
  font-weight: bold;
  border-radius: 0;
  box-shadow: 5px 5px 0 #ccc;
  background: #dd7373;
}
@media only screen and (max-width: 1024px) {
    .toggle-optional-btn {
        width: 45%;
    }
}
@media only screen and (max-width: 568px) {
    .toggle-optional-btn {
        width: 100%;
    }
}
/*******************************************
* form
********************************************/

#contact_form table {
  width: 100%;
  border-collapse: collapse;
}

#contact_form table th {
  font-size: 16px;
  font-weight: bold;
  width: 300px;
  border-bottom: 1px solid #ccc;
  padding: 30px 30px 20px;
  vertical-align: text-top;
}

#contact_form table th.last_th {
  border-bottom: none;
}

#contact_form table th span {
    font-size: 12px;
    padding: 1px 8px 3px;
    border-radius: 3px;
    margin-right: 10px;
}

#contact_form table th span.hissu {
  color: #fff;
  background: #cc0000;
}

#contact_form table th span.any {
  color: #cc0000;
  background: #fff;
  border: 1px solid #cc0000;
}

#contact_form table td {
  border-bottom: 1px solid #ccc;
  padding: 20px 30px;
}
table tr:nth-child(odd) {
  background: #f6f7f9;
}
#contact_form table td .annotation_txt {
  font-size: 15px;
  color: #999;
  margin: 8px 0 -5px 36px;
  padding-left: 0;
  text-indent: 0;
}

#contact_form table td.last_td {
  border-bottom: none;
}

#contact_form input, #contact_form select, #contact_form textarea {
  width: 90%;
  background: #fff;
  border: #ccc 1px solid;
  padding: 0 10px;
  height: 50px;
  border-radius: 0;
}
#contact_form input.age{
    width: 20%;
    margin-right: 5px;
}
#contact_form textarea {
  display: block;
}

#contact_form input::-webkit-input-placeholder {
  color: #999;
}

#contact_form input:-ms-input-placeholder {
  color: #999;
}

#contact_form input::-ms-input-placeholder {
  color: #999;
}

#contact_form input::placeholder {
  color: #999;
}

#contact_form td.date01,
#contact_form td.date02,
#contact_form td.date03 {
  padding: 15px 30px;
}

#contact_form td.date01 > div,
#contact_form td.date02 > div,
#contact_form td.date03 > div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0 10px;
}

#contact_form td.date01 > div label,
#contact_form td.date02 > div label,
#contact_form td.date03 > div label {
  font-size: 16px;
  margin-right: 8px;
}

#contact_form .date-select input {
  width: 301px;
  background: url(../../image/reserved/icon_calender.svg) no-repeat 10px center #fff;
  background-size: 22px 22px;
  padding: 0 10px 0 45px;
  font-size: 16px;
}

#contact_form select.time_box {
  width: 301px;
  font-size: 16px;
  background: url(../../image/reserved/icon_arrow_down_gray.svg) no-repeat right 20px center #fff;
  background-size: 12px 7px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  color: #333;
}

#contact_form textarea {
  padding: 10px 12px;
  height: 215px;
}

#contact_form #return_btn {
  width: 400px;
  position: relative;
  margin: 40px auto 0;
}
#contact_form #form_btn {
  width: 400px;
  position: relative;
  margin: 40px auto 0;
}

#contact_form #form_btn::after {
  content: '';
  background: url(../../image/reserved/icon_arrow_right_white.svg) center no-repeat;
  background-size: contain;
  position: absolute;
  width: 10px;
  height: 16px;
  top: 50%;
  right: 30px;
  -webkit-transform: translate(0px, -50%);
          transform: translate(0px, -50%);
}
#contact_form #return_btn input{
  height: initial;
  display: block;
  font-size: 22px;
  font-weight: bold;
  border: none;
  color: #fff;
  background: #919191;
  border-radius: 100px;
  padding: 20px 0 22px;
  -webkit-box-shadow: 0px 6px 1px #707070;
          box-shadow: 0px 6px 1px #707070;
}
#contact_form #form_btn input {
  height: initial;
  display: block;
  font-size: 22px;
  font-weight: bold;
  border: none;
  color: #fff;
  background: #ff8811;
  border-radius: 100px;
  padding: 20px 0 22px;
  -webkit-box-shadow: 0px 6px 1px #ce6700;
          box-shadow: 0px 6px 1px #ce6700;
  position: relative;
  cursor: pointer;
  letter-spacing: 0.05em;
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
}

#contact_form #form_btn input:hover {
  background: #ff9a34;
  -webkit-box-shadow: 0px 6px 1px #d57e26;
          box-shadow: 0px 6px 1px #d57e26;
}

#contact_form #form_btn input[disabled] {
  background-color: #ccc;
  box-shadow: 0px 6px 1px #9e9e9e;
  cursor: not-allowed;
}

@media screen and (max-width: 1024px) {
  #contact_form td.date01 > div,
  #contact_form td.date02 > div,
  #contact_form td.date03 > div {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
  }
  #contact_form td.date01 > div label,
  #contact_form td.date02 > div label,
  #contact_form td.date03 > div label {
    width: 100%;
  }
  #contact_form .date-select input {
    width: 270px;
  }
  #contact_form select.time_box {
    width: 240px;
  }
  #contact_form th .br-pc {
    display: block;
  }
}

@media screen and (max-width: 960px) {
  #contact_form table th {
    font-size: 16px;
    width: 30%;
    padding: 15px 2vw;
  }
  #contact_form table th .br-pc {
    display: none;
  }
  #contact_form table th span {
    font-size: 12px;
    padding: 2px 8px 3px;
  }
  #contact_form table td {
    padding: 15px 2vw;
  }
  #contact_form table td .annotation_txt {
    font-size: 13px;
  }
  #contact_form td.date01 > div,
  #contact_form td.date02 > div,
  #contact_form td.date03 > div {
    gap: 10px 0;
    justify-content: space-between;
  }
  #contact_form td.date01 > div label,
  #contact_form td.date02 > div label,
  #contact_form td.date03 > div label {
    font-size: 14px;
  }
  #contact_form .date-select input {
    width: 350px;
  }
  #contact_form select.time_box {
    font-size: 14px;
  }
  #contact_form .form_txt {
    margin: 26px 0 32px;
  }
  #contact_form #form_btn input,
  #contact_form #return_btn input {
    font-size: 18px;
    padding: 16px 0 18px;
  }
}

@media screen and (max-width: 568px) {
  #contact_form  {
    margin: 50px -5.3vw 0;
  }
  #contact_form form {
    margin: 0 -5.3vw;
  }
  #contact_form table {
    border-radius: 0;
    border-right: none;
    border-left: none;
  }
  #contact_form table th {
    border-bottom: none;
    width: 100%;
    display: block;
    border-radius: 0 !important;
    font-size: 16px;
    padding: 7px 5.3vw 9px;
    position: relative;
  }
  #contact_form table th span {
    font-size: 12px;
    padding: 0px 8px 1px;
  }

  #contact_form table td {
    display: block;
    padding: 15px 5.3vw;
  }
  #contact_form table td .annotation_txt {
    font-size: 12px;
    margin: 0 0 -5px;
  }
  #contact_form input, #contact_form select {
    height: 40px;
    padding: 0 15px;
  }
  #contact_form textarea {
    height: 140px;
  }

  #contact_form td.date01,
  #contact_form td.date02,
  #contact_form td.date03 {
    padding: 12px 5.3vw 15px;
  }
  #contact_form td.date01 > div label,
  #contact_form td.date02 > div label,
  #contact_form td.date03 > div label {
    font-size: 15px;
  }
  #contact_form .date-select, #contact_form .time-select {
    width: 45%;
  }
  #contact_form .date-select input {
    width: 73%;
    background-position: 16px center;
    padding: 0 10px 0 50px;
    background-size: 18px;
  }
  #contact_form select.time_box {
    width: 75%;
    font-size: 15px;
  }
  #contact_form .form_txt {
    margin: 18px 0 20px;
  }
  #contact_form #form_btn,
  #contact_form #return_btn {
    width: 74.7%;
    margin-top: 25px;
  }

  #contact_form #return_btn input{
    font-size: 17px;
    padding: 9px 0 11px;
    -webkit-box-shadow: 0px 5px 1px #707070;
            box-shadow: 0px 5px 1px #707070;
    margin-bottom: 10px;
  }
  #contact_form #form_btn input {
    font-size: 17px;
    padding: 9px 0 11px;
    -webkit-box-shadow: 0px 5px 1px #ce6700;
            box-shadow: 0px 5px 1px #ce6700;
    margin-bottom: 5px;
  }
  #contact_form #form_btn::after {
    width: 8px;
    height: 12px;
    right: 16px;
  }
}
/*------------------------------------------------------------
	初診予約
------------------------------------------------------------*/
.btn-wrap{
  display: none;
}
@media screen and (max-width: 568px) {
  .exbig{
    display: none;
  }
  a.btn{
    display: block;
    width: 100%;
  }
  a.btn::before{
    content: "";
    display: block;
    height: 25px;
    width: 25px;
    position: absolute;
    left: 20px;
    top: 60%;
    transform: translateY(-50%);
    background: url(../../image/reserved/icon_phone.svg) left no-repeat;
  }
  .btn,
  a.btn,
  button.btn {
    font-weight: 700;
    line-height: 1.5;
    position: relative;
    display: inline-block;
    padding: 1rem 4rem;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s;
    text-align: center;
    vertical-align: middle;
    border-radius: 0.5rem;
  }
  .btn-wrap {
    display: block;
    margin: 30px auto 0;
    width: 70%;
  }
  a.btn-c {
    font-size: 26px;
    position: relative;
    padding: 1.25rem 0 1.5rem 4rem;
    color: #fff;
    background: #5f74b3;
    box-shadow: 0 5px 0 #566aa8;
  }
  a.btn-c span {
    font-size: 1.5rem;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    width: 75%;
    padding: 0.2rem 0;
    color: #5f74b3;
    border: 2px solid #5f74b3;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  }
  a.btn-c:hover {
    transform: translate(0, 3px);
    color: #fff;
    background: #5f74b3;
    box-shadow: 0 2px 0 #5f74b3;
  }
}
/********************************************
* wpcf7
********************************************/
.wpcf7-radio{
  justify-content: flex-start;
  display: flex;
  flex-wrap: wrap;
}
.wpcf7-list-item {
    display: block;
    margin: 0;
    width: 33%;
}
@media screen and (max-width: 568px) {
  .wpcf7-radio {
    justify-content: space-between;
  }
  .wpcf7-list-item {
    width: 48%;
  }
}