@charset "utf-8";

/* 「お問い合わせフォーム」
---------------------------------------------------*/
.medicalApplyBl {
  padding: 53px 0 120px;
}

.medicalApplyBl.contactBl form {
  margin-top: 0;
}

.medicalApply_label {
  background: #00aaaa;
  border-radius: 5px;
  color: #fff;
  display: block;
  margin-top: 70px;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, .1);
  cursor: pointer;
  transition: all .5s;
  border: 1px solid #dadada;
  font-size: 1.5rem;
  line-height: 1.93;
  text-indent: -2.8em;
  padding: 2.19em 1em 2.19em 5em;
}

.medicalApply_label:hover {
  opacity: 0.7;
}

.medicalApply_label input[type="checkbox"] {
  cursor: pointer;
  position: relative;
  width: 27px;
  height: 27px;
  border: 1px solid #00aaaa;
  vertical-align: -10px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #fff;
  border-radius: 5px;
  margin-right: 12px;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, .1);
}

.medicalApply_label input[type="checkbox"]:checked:before {
  content: '';
  position: absolute;
  top: 4px;
  left: 8.5px;
  transform: rotate(45deg);
  width: 6px;
  height: 12px;
  border-right: 2px solid #00aaaa;
  border-bottom: 2px solid #00aaaa;
}

.medicalApply_label input[type="checkbox"]:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.medicalApplyBl .scrollable-wrapper {
  white-space: inherit;
  margin-top: 40px;
}

.scroll-hint-icon-wrap.is-active .scroll-hint-icon {
  z-index: 1;
}

.scroll-hint-icon-wrap {
  top: 49.4%;
  height: inherit !important;
}

.medicalApply_table {
  width: 100%;
  box-sizing: border-box;
  border-collapse: collapse;
  border: 1px solid #9a9a9a;
  table-layout: fixed;
}

.medicalApply_table th,
.medicalApply_table td {
  border: 1px solid #bfbfbf;
  vertical-align: middle;
}

.medicalApply_table th {
  font-size: 1.6rem;
  letter-spacing: .1em;
  text-align: center;
  background-color: #f6f6f6;
  box-sizing: border-box;
  padding: 21px 5px;
}

.medicalApply_table th:nth-child(1) {
  width: 54px;
}

.medicalApply_table th:nth-child(2) {
  width: 400px;
}

.medicalApply_table th:nth-child(3) {
  width: 130px;
}

.medicalApply_table th:nth-child(4),
.medicalApply_table th:nth-child(5) {
  width: 175px;
}

.medicalApply_table th:nth-child(6),
.medicalApply_table th:nth-child(10) {
  width: 150px;
}

.medicalApply_table th:nth-child(7),
.medicalApply_table th:nth-child(11) {
  width: 160px;
}

.medicalApply_table th:nth-child(8) {
  width: 205px;
}

.medicalApply_table th:nth-child(9) {
  width: 120px;
}

.medicalApply_table th small {
  font-weight: normal;
  font-size: 1.4rem;
}

.medicalApply_table td {
  font-size: 1.4rem;
  font-weight: 400;
  padding: 18.3px 21px;
  line-height: 1.2;
}

.medicalApply_table tr:nth-child(1) th:nth-child(n+2) {
  background: linear-gradient(180deg, rgba(226, 243, 244, 1) 0%, rgba(211, 237, 237, 1) 100%);
  font-weight: 500;
}

.medicalApply_table tr:nth-child(1) th:nth-child(n+2) label {
  cursor: pointer;
  transition: all .5s;
}

.medicalApply_table tr:nth-child(1) th:nth-child(n+2) label:hover {
  opacity: 0.7;
}

.medicalApply_table tr:nth-child(1) th:nth-child(n+2) input[type="checkbox"] {
  display: block;
  margin: 4px auto 0;
}

.medicalApply_table td .btn-txtlink.btn-center {
  letter-spacing: 0;
  display: block;
  padding: 0 17px 4px 7px;
  width: fit-content;
  box-sizing: border-box;
  top: 2px;
}

.medicalApply_table .img-check {
  width: 15px;
  margin: 0 1px;
  position: relative;
  top: -1.5px;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, .1);
}

/* グレーアウト状態 */
.grayout {
  opacity: 0.4;
  pointer-events: none;
  /* チェックできなくする */
  background: #ececec;
}

/* アコーディオンのスタイル */
#accordion {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

/* 子チェックボックスは最初は非表示 */
.child-checkbox {
  display: none;
}

/* 有効化されたときに表示 */
.child-checkbox.enabled {
  display: inline-block;
}

span.wpcf7-list-item-label {
  display: none;
}

.medicalApply_table .taL {
  text-align: left !important;
}

.medicalApply_table .bg-white {
  background: #fff;
}

.medicalApply_table .bb-lightgray {
  border-bottom: 1px solid #f2f2f2;
}

.medicalApply_table .bb-gray {
  border-bottom: 1px solid #bfbfbf !important;
}

.medicalApply_table tbody td:nth-child(n+2) {
  text-align: center;
}

#accordion>div>table>tr:nth-child(1)>td:nth-child(2),
#accordion>div>table>tr:nth-child(4)>td:nth-child(2) {
  text-align: left;
}

.contactBl form .requestinfo-dl .wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;
  margin-top: 11px;
}

.contactBl form .requestinfo-dl .wpcf7-list-item:nth-child(3n+1) {
  width: 27%;
  margin-right: 3%;
}

.contactBl form .requestinfo-dl .wpcf7-list-item:nth-child(3n+2) {
  width: 37%;
  margin-right: 3%;
}

.contactBl form .requestinfo-dl .wpcf7-list-item:nth-child(3n+3) {
  width: 30%;
}

.contactBl form .requestinfo-dl .wpcf7-list-item:nth-child(n+4) {
  margin-top: 17px;
}

.contactBl form #accordion>dl:nth-child(4) .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
}

.contactBl form #accordion>dl:nth-child(4) .wpcf7-radio .wpcf7-list-item {
  width: 22%;
  margin-right: 1%;
}

.contactBl form #accordion>dl:nth-child(4) .wpcf7-radio .wpcf7-list-item:nth-child(n+5) {
  margin-top: 17px;
}

.contactBl .medicalApply_table input[type="checkbox"] {
  margin-right: 0;
}

.txt-normal-m.medicalApply_chuki {
  text-indent: -1em;
  padding-left: 1em;
  margin-top: 23px;
  padding-bottom: 63px;
  position: relative;
}

.txt-normal-m.medicalApply_chuki::after {
  content: '';
  display: block;
  width: 121%;
  height: 1px;
  background: linear-gradient(90deg, rgba(176, 176, 176, 1) 0%, rgba(219, 218, 218, 1) 50%, rgba(255, 255, 255, 1) 90%, rgba(255, 255, 255, 0) 100%);
  position: absolute;
  bottom: 0;
  left: 0;
}

.medicalApply_last-text {
  text-align: center;
  margin-top: 65px;
}

.wpcf7-list-item-label {
  display: inline-block;
  position: relative;
  padding: 0 0 0 1.5em;
  cursor: pointer;
}

.contactBl .medicalApply_table tbody input[type="checkbox"] {
  border-radius: 50%;
  width: 21px;
  height: 21px;
}

.contactBl .medicalApply_table tbody input[type="checkbox"]:checked:before {
  position: absolute;
  content: "";
  top: 50%;
  left: 3.5px;
  transform: translateY(-50%);
  background: #00aaaa;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  display: block;
  box-sizing: border-box;
  border: none;
}

.contactBl .medicalApply_table tbody td.grayout input[type="checkbox"] {
  border: 1px solid #bfbfbf;
}

.sticky01,
.sticky02 {
  position: sticky;
  top: 0;
  z-index: 1;
}

.sticky01 {
  left: 1px;
}

.sticky02 {
  left: 54px;
}

.sticky01::before,
.sticky02::before {
  content: "";
  position: absolute;
  top: 0;
  left: -1px;
  width: 100%;
  height: 100%;
  border-left: 1px solid #bfbfbf;
  border-right: 1px solid #bfbfbf;
  z-index: -1;
}

.contactBl .patients-num-dl input[type="checkbox"] {
  border-radius: 50%;
  width: 21px;
  height: 21px;
}

.contactBl .patients-num-dl input[type="checkbox"]:checked:before {
  position: absolute;
  content: "";
  top: 50%;
  left: 3.5px;
  transform: translateY(-50%);
  background: #00aaaa;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  display: block;
  box-sizing: border-box;
  border: none;
}

.contactBl .patients-num-dl .wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;
  margin-top: 16px;
}

.contactBl .patients-num-dl span.wpcf7-list-item {
  width: 22%;
  margin-right: 3%;
}

.contactBl .patients-num-dl span.wpcf7-list-item:nth-child(n+5) {
  margin-top: 17px;
}

.medicalApplyBl .txt-normal-m+.txt-normal-m {
  margin-top: 10px;
}

.medicalApply_chuki-ul {
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 2;
  letter-spacing: .06em;
  margin-top: 10px;
  margin-bottom: 50px;
}

.medicalApply_chuki-ul>li {
  text-indent: -1em;
  padding-left: 1em;
}


@media screen and (max-width: 1000px) {

  .contactBl form .requestinfo-dl .wpcf7-list-item:nth-child(3n+1),
  .contactBl form .requestinfo-dl .wpcf7-list-item:nth-child(3n+2),
  .contactBl form .requestinfo-dl .wpcf7-list-item:nth-child(3n+3) {
    width: auto;
    margin-right: 0;
  }

  .contactBl form .requestinfo-dl .wpcf7-list-item:nth-child(2n+1) {
    width: 48%;
    margin-right: 4%;
  }

  .contactBl form .requestinfo-dl .wpcf7-list-item:nth-child(2n+2) {
    width: 48%;
  }

  .contactBl form .requestinfo-dl .wpcf7-list-item:nth-child(n+3) {
    margin-top: 17px;
  }

  .contactBl form #accordion>dl:nth-child(4) .wpcf7-radio .wpcf7-list-item {
    width: 30%;
    margin-right: 1%;
  }

  .contactBl form #accordion>dl:nth-child(4) .wpcf7-radio .wpcf7-list-item:nth-child(n+4),
  .contactBl .patients-num-dl span.wpcf7-list-item:nth-child(n+3) {
    margin-top: 17px;
  }

  .contactBl .patients-num-dl span.wpcf7-list-item {
    width: 48%;
    margin-right: 2%;
  }

  .contactBl .patients-num-dl span.wpcf7-list-item:nth-child(2n+2) {
    margin-right: 0;
  }

}


@media screen and (max-width: 767px) {
  .medicalApplyBl {
    padding: 22px 0 67px;
  }

  .medicalApplyBl.contactBl form {
    margin: 0;
  }

  .medicalApplyBl .scrollable-wrapper {
    margin-top: 27px;
  }

  .medicalApply_table th,
  .medicalApply_table td {
    font-size: 1.1rem;
    line-height: 1.3;
    padding: 10px 5px;
    word-break: inherit;
  }

  .medicalApply_table th:nth-child(1) {
    width: 26px;
  }

  .medicalApply_table th:nth-child(2) {
    width: 155px;
  }

  .medicalApply_table th:nth-child(3) {
    width: 53px;
  }

  .medicalApply_table th:nth-child(4),
  .medicalApply_table th:nth-child(5) {
    width: 83px;
  }

  .medicalApply_table th:nth-child(6),
  .medicalApply_table th:nth-child(10) {
    width: 64px;
  }

  .medicalApply_table th:nth-child(7),
  .medicalApply_table th:nth-child(11) {
    width: 66px;
  }

  .medicalApply_table th:nth-child(8) {
    width: 75px;
  }

  .medicalApply_table th:nth-child(9) {
    width: 55px;
  }

  .medicalApply_table tr:nth-child(1) th:nth-child(n+2) label:hover {
    opacity: 1;
  }

  .medicalApply_table .taL {
    text-align: center !important;
  }

  .medicalApply_table th small {
    font-size: 1.15rem;
  }

  .medicalApply_table .img-check {
    width: 12px;
    margin: 0 3px;
  }

  .contactBl form .requestinfo-dl .wpcf7-list-item:nth-child(2n+1) {
    width: 49%;
    margin-right: 2%;
  }

  .contactBl form .requestinfo-dl .wpcf7-list-item:nth-child(2n+2) {
    width: 49%;
  }

  .contactBl input[type="checkbox"]+.wpcf7-list-item-label {
    font-size: 1.3rem;
    letter-spacing: 0;
    text-align: left;
    top: -2px;
  }

  .medicalApply_label {
    margin-top: 50px;
    font-size: 1.4rem;
    line-height: 1.93;
    text-indent: -35px;
    padding: 20px 20px 20px 50px;
  }

  .medicalApply_label:hover {
    opacity: 1;
  }

  .medicalApply_label input[type="checkbox"] {
    width: 24px;
    height: 24px;
    vertical-align: -8px;
    margin-right: 6px;
  }

  .medicalApply_label input[type="checkbox"]:checked:before {
    top: 2px;
    left: 7px;
  }

  .medicalApply_last-text {
    text-align: left;
    margin-top: 40px;
  }

  .sticky01 {
    left: 0;
  }

  .sticky02 {
    left: 26px;
  }

  .txt-normal-m.medicalApply_chuki {
    margin-top: 16px;
    padding-bottom: 23px;
    margin-bottom: 20px;
  }

  .medicalApply_chuki-ul {
    font-size: 1.2rem;
    line-height: 1.75;
    letter-spacing: .1em;
  }
}


@media screen and (max-width: 350px) {
  .contactBl input[type="checkbox"]+.wpcf7-list-item-label {
    font-size: 1.1rem;
  }

}


/* モーダル
---------------------------------------------------*/
.popupModal {
  /* 初期状態では非表示 */
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 170, 170, 0.3);
  justify-content: center;
  align-items: center;
  z-index: 99999;
  transition: all .5s;
}

.popupModal-content {
  background-color: white;
  padding: 50px 30px;
  border-radius: 6px;
  text-align: center;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, .3);
  position: relative;
  max-width: 420px;
  box-sizing: border-box;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 6px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: all .5s;
}

.close-btn:hover {
  opacity: 0.7;
  /* outline: none; */
}

.close-btn:focus {
  outline: 2px solid #00aaaa;
}

.close-btn:before,
.close-btn:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 27px;
  height: 1.5px;
  border-radius: 9999px;
  background-color: black;
  transform-origin: center;
}

.close-btn:before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.close-btn:after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.popupModal-btns {
  display: flex;
  justify-content: space-between;
  margin: 30px auto 0;
}

.popupModal-btns #btnYes,
.popupModal-btns #btnNo,
#btnBack {
  width: calc((100% - 20px) / 2);
  padding: 0.64em 0.5em;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(0deg, rgba(0, 117, 115, 1) 0%, rgba(59, 163, 160, 1) 100%);
  border: 1px solid #00aaaa;
  border-radius: 100px;
  transition: all .5s;
  z-index: 1;
  color: #fff;
  font-size: 2.0rem;
  line-height: 1.5;
  letter-spacing: 0.15em;
  cursor: pointer;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, .1);
}

.popupModal-btns #btnYes:hover,
.popupModal-btns #btnNo:hover,
#btnBack:hover {
  transition: all 0.5s ease 0s;
  opacity: 0.7;
}

#btnBack {
  margin: 30px auto 0;
  background: #fff;
  color: #00aaaa;
  width: 180px;
  font-size: 1.8rem;
}

.popupModal-tit {
  text-align: center;
  font-size: 1.7rem;
  line-height: 1.5;
  letter-spacing: 0.18em;
  color: #00aaaa;
  font-weight: 500;
  margin-top: 14px;
}

.popupModal-chuki {
  font-size: 1.2rem;
  line-height: 1.5;
  text-indent: -1em;
  padding-left: 1em;
  margin-top: 14px;
}

.popupModal-txt_1 {
  font-size: 2.2rem;
  font-weight: 500;
  letter-spacing: .05em;
  line-height: 1.65;
  text-align: center;
}

.popupModal-txt_2 {
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: .05em;
  line-height: 1.65;
  text-align: center;
  display: block;
  margin-top: 20px;
}

#infoSection {
  display: none;
}

.contact-box .telArea {
  padding: 20px 0 0;
}

.contact-box .telArea_desc {
  font-size: 1.6rem;
  letter-spacing: .05em;
}

.contact-box .telArea_tel,
.contact-box .telArea_tel:link,
.contact-box .telArea_tel:visited {
  margin-top: 0;
  white-space: nowrap;
}

.contact-box .telArea_time {
  letter-spacing: .1em;
  margin-top: 5px;
  font-weight: 400;
}


@media screen and (max-width: 767px) {
  .close-btn:hover {
    opacity: 1;
  }

  .popupModal-btns {
    margin: 20px auto 0;
  }

  .popupModal-btns #btnYes,
  .popupModal-btns #btnNo,
  #btnBack {
    width: calc((100% - 10px) / 2);
    font-size: 1.7rem;
  }

  .popupModal-btns #btnYes:hover,
  .popupModal-btns #btnNo:hover,
  #btnBack:hover {
    opacity: 1;
  }

  #btnBack {
    margin: 20px auto 0;
    width: 40%;
    font-size: 1.5rem;
  }

  .popupModal-content {
    padding: 30px 15px;
    width: 90%;
    max-width: 345px;
  }

  .popupModal-txt_1 {
    font-size: 1.8rem;
  }

  .popupModal-txt_2 {
    font-size: 1.4rem;
  }

  .contact-box .telArea {
    padding: 20px 0 0;
  }

  .contact-box .telArea_desc {
    font-size: 1.4rem;
    margin-bottom: 5px;
  }

  .contact-box .telArea_time {
    margin-top: 10px;
  }

}