@charset "UTF-8";

.inner_slim {
  max-width: 900px;
}



.bg_BlueTR .inner_slim .formwrap {
  padding-top: 70px;
}

.read_wrap .read_caption {
  font-size: 12px;
}



.formwrap .form_item_wrap .type_check {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.formwrap .form_item_wrap {
  display: flex;
  width: 100%;
  margin-bottom: 30px;
}

.formwrap .form_item_wrap .category {
  width: 10.5em;
  font-weight: bold;
  font-size: 17px;
  letter-spacing: 0.03em;
}

.formwrap .form_item_wrap dd,
.txt_area,
.type_check,
.genre_check,
.content_textarea {
  width: calc(100% - 10.51em);
}

.form_item_wrap .genre_check {
  display: flex;
  flex-wrap: wrap;
}

.form_item_wrap .genre_check .custom-checkbox {
  width: 30%;
}



/* ▼チェックボックス */
.custom-checkbox label {
  display: flex;
  cursor: pointer;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkmark {
  display: block;
  position: relative;
  width: 1.25em;
  height: 1.25em;
  border: 1.25px solid #BBBBBB;
  background-color: #fff;
  border-radius: 4px;
  margin: 0.2em 8px 0 0;
}

.custom-checkbox input:checked+.checkmark {
  background-color: #F79300;
  border: none;
}

.checkmark:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 24%;
  width: 0.5em;
  height: 0.75em;
  border: solid white;
  /* チェックマークの色 */
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.checktxt {
  display: inline-block;
  width: calc(100% - 2em);
}

.custom-checkbox input:checked+.checkmark:after {
  opacity: 1;
}

/* ▲チェックボックス */

.formwrap .form_item_wrap .type_check,
.formwrap .form_item_wrap .genre_check {
  font-size: 16px;
  letter-spacing: 0.05em;
}

.formwrap .form_item_wrap .type_check .custom-checkbox,
.formwrap .form_item_wrap .genre_check .custom-checkbox {
  width: 50%;
  margin-bottom: 15px;
}

.formwrap .form_item_wrap .genre_check .custom-checkbox {
  width: 32%;
  margin-bottom: 15px;
}

.formwrap .form_item_wrap .genre_check .check_txt {
  width: 16em;
}


.form_item_wrap textarea {
  width: 100%;
  min-height: 16em;
}

.form_item_wrap .type_check .custom-checkbox {
  width: 50%;
}

.formwrap .privacy_wrap {
  text-align: center;
}

main button.privacy_btn {
  border-bottom: 1px solid #383C48;
  margin-bottom: 10px;
}

.privacy_wrap p:first-of-type {
  font-size: 14px;
  margin-bottom: 5px;
}

.privacy_wrap .privacy_check {
  font-size: 15px;
  font-weight: 600;
}

.privacy_wrap .privacy_check .custom-checkbox {
  display: flex;
  justify-content: center;
}

.privacy_wrap .checktxt {
  width: fit-content;
}


.formwrap .submit_wrap {
  position: relative;
  margin: 50px auto 0;
  width: 50%;
  max-width: 380px;
  font-size: 26px;
}

.formwrap .submit_wrap .submit_box {
  display: block;
  width: 100%;
  padding: 0.45em 1em;
  color: #fff;
  font-weight: bold;
  letter-spacing: 0.18em;
  border: unset;
  border-radius: 100px;
  background: linear-gradient(-60deg, #005AA9 0%, #00A7E3 100%);
}

.formwrap .submit_wrap::before {
  content: '';
  position: absolute;
  top: 51%;
  left: calc(50% - 5.15em);
  transform: translate(0, -50%);
  width: 1.25em;
  height: 1.25em;
  background: url(/wp-content/themes/ortho/assets/img/common/icon/ico_mail_blue.svg) no-repeat center center;
  background-size: contain;
}



.tellinquiry_wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 70px auto 0;
  padding: 15px 20px;
  max-width: 800px;
  border-radius: 20px;
  background-color: #fff;
}

.tellinquiry_wrap .icon {
  width: 1.15em;
  height: 1.15em;
  display: block;
}

.tellinquiry_wrap .icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tellinquiry_wrap .tellinquiry_tit {
  font-size: 19px;
  font-weight: bold;
  letter-spacing: 0.04em;
}

.tellinquiry_wrap .Department {
  font-size: 14px;
  width: fit-content;
  margin: 0 10px;
  padding: 0.15em 1em;
  border: 1px solid #383C48;
  text-align: center;
  border-radius: 100px;
  font-weight: bold;
}

.tellinquiry_wrap .tellinquiry_tit {
  display: flex;
  align-items: center;
  max-width: fit-content;
}

.tellinquiry_wrap .tellinquiry_txt {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tellinquiry_wrap .tell_number {
  font-size: 29px;
  font-weight: bold;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

.tellinquiry_wrap .fax {
  font-size: 12px;
  font-weight: bold;
  margin-top: 0.25em;
  margin-left: 0.75em;
  letter-spacing: 0.06em;
  line-height: 1.25;
}

.tellinquiry_wrap .fax .nam {
  font-size: 1.4em;
}


/* .onlineshop .tellinquiry_wrap {
  flex-wrap: wrap;
  padding: 20px;
}

.onlineshop .tellinquiry_wrap .tellinquiry_tit {
  margin: 0px auto 2px;
}

.onlineshop .tellinquiry_wrap .Department {
  margin-top: 0.45em;
}

.onlineshop .tellinquiry_wrap .tell_number {
  font-size: 40px;
} */



@media only screen and (max-width: 1163px) {
  .read_wrap .read_caption {
    font-size: 1.3vw;
  }

  .formwrap .form_item_wrap .category,
  .formwrap .form_item_wrap .type_check .custom-checkbox,
  .formwrap .form_item_wrap .genre_check .custom-checkbox {
    font-size: 1.42vw;
  }

  .category .superscript,
  .privacy_wrap p:first-of-type {
    font-size: 1.4vw;
  }

  .privacy_wrap .privacy_check {
    font-size: 1.6vw;
  }

  .formwrap .submit_wrap .submit_box {
    font-size: 2.5vw;
  }


  .tellinquiry_wrap .tellinquiry_tit {
    font-size: 1.9vw;
  }

  .tellinquiry_wrap .Department {
    font-size: 1.4vw;
  }

  .tellinquiry_wrap .tell_number {
    font-size: 2.7vw;
  }

  .tellinquiry_wrap .fax {
    font-size: 1.2vw;
  }

  /* .onlineshop .tellinquiry_wrap .tell_number {
    font-size: 4vw;
  } */
}

@media only screen and (max-width: 959px) {
  .read_wrap .read_caption {
    font-size: 1.5vw;
  }

  .category .superscript {
    font-size: 1.4vw;
  }

  .formwrap .form_item_wrap .category {
    font-size: 1.75vw;
  }

  .formwrap .form_item_wrap .type_check .custom-checkbox,
  .formwrap .form_item_wrap .genre_check .custom-checkbox {
    font-size: 1.75vw;
  }

  .privacy_wrap p:first-of-type {
    font-size: 1.7vw;
  }

  .privacy_wrap .privacy_check {
    font-size: 1.85vw;
  }


  .tellinquiry_wrap .tellinquiry_tit {
    font-size: 2vw;
  }

  .tellinquiry_wrap .Department {
    font-size: 1.85vw;
  }

  .tellinquiry_wrap .tell_number {
    font-size: 3.75vw;
  }

  .tellinquiry_wrap .fax {
    font-size: 1.65vw;
  }

  /* .onlineshop .tellinquiry_wrap .tell_number {
    font-size: 5vw;
  } */
}

/*==========================================================================================
ここからSP
==========================================================================================*/

@media only screen and (max-width: 767px) {
  .formwrap .form_item_wrap {
    display: block;
  }

  .read_wrap .read_caption {
    font-size: 3.2vw;
  }

  .category .superscript {
    font-size: 3vw;
  }

  .formwrap .form_item_wrap .type_check {
    flex-wrap: wrap;
    width: 100%;
  }

  .txt_area,
  .type_check,
  .genre_check,
  .content_textarea {
    width: 100%;
  }

  .formwrap .form_item_wrap .category {
    margin-bottom: 0.4em;
    font-size: 4vw;
  }


  .form_item_wrap .content_textarea textarea {
    min-height: 12em;
    width: 100%;
  }

  input[type="checkbox"] {
    transform: scale(1.3);
  }

  .formwrap .form_item_wrap {
    margin-bottom: 7%;
  }

  .formwrap .form_item_wrap .type_check .custom-checkbox {
    width: 100%;
  }

  .formwrap .form_item_wrap .type_check .custom-checkbox,
  .formwrap .form_item_wrap .genre_check .custom-checkbox {
    font-size: 3.8vw;
    margin-bottom: 0.6em;
    width: 100%;
  }

  .formwrap .form_item_wrap .genre_check .custom-checkbox {
    width: 45%;
  }

  button.privacy_btn {
    margin-bottom: 0px;
  }

  .formwrap .privacy_wrap a {
    margin-bottom: 0px;
  }

  .privacy_wrap p:first-of-type {
    margin-bottom: 0.6em;
    font-size: 3.5vw;
  }

  .privacy_wrap .privacy_check {
    font-size: 3.7vw;
  }

  .formwrap .submit_wrap {
    width: 90%;
    max-width: unset;
  }

  .formwrap .submit_wrap::before {
    top: 51%;
    left: 1.25em;
    transform: translate(0, -50%);
  }

  .formwrap .submit_wrap .submit_box {
    font-size: 5.2vw;
  }


  .tellinquiry_wrap {
    flex-wrap: wrap;
    margin: 18vw auto 0;
    padding: 4vw 5vw;
  }

  .tellinquiry_wrap .tellinquiry_tit {
    font-size: 4vw;
  }

  .tellinquiry_wrap .tellinquiry_txt {
    flex-wrap: wrap;
    margin-top: 0.5em;
  }

  .tellinquiry_wrap .Department {
    font-size: 3.25vw;
    margin: 0 0.25em 0 0;
    padding: 0.15em 1em;
  }

  .tellinquiry_wrap .tell_number {
    font-size: 8vw;
  }

  .tellinquiry_wrap .fax {
    font-size: 3.15vw;
  }

  /* .onlineshop .tellinquiry_wrap .tell_number {
    font-size: 9vw;
  } */

}