.form_header {
  display: flex;
  justify-content: center;
  background-color: #000000;
  padding-top: 12px;
}

.thanx_header {
  width: 750px;
  margin: 0 auto;
}

.form_header .logo {
  width: 200px;
}

/* form */
/*.lp_form {
  margin-top: 60px;
  margin-bottom: 60px;
}*/

.lp_form h2 {
  margin-bottom: 40px;
}

input[type="text"],
input[type="submit"],
input[type="tel"],
input[type="email"],
select,
textarea {
  -webkit-appearance: none;
  border-radius: 0;
}

.kyocho-style {
  background: #e62262;
}

.kyocho-style a:link {
  background: #e62262;
  color: white;
}

#date-1::-webkit-calendar-picker-indicator,
#date-2::-webkit-calendar-picker-indicator,
#date-3::-webkit-calendar-picker-indicator {
  display: none;
}

.campaign_text {
  width: 50%;
  margin: 30px auto;
  font-size: 16px;
}

.page-v01 .campaign_text {
  width: 100%;
  padding: 0 10px;
}

th .campaign_text {
  width: auto;
  font-size: smaller;
  margin: 1em 2em 0 0;
}

th div {
  text-align: left;
}

.campaign_text span {
  color: #e62262;
}

.check_text_h {
  font-size: 20px;
}

.check_text_sub {
  font-size: 15px;
  margin: 10px 0;
}

.check_text_box {
  background: #fff;
  padding: 12px;
  height: 150px;
  overflow: scroll;
  font-size: 12px;
  margin: 20px 0;
  border: 1px solid #dddddd;
  border-radius: 4px;
}

.check_text_sub_2 {
  text-align: center;
}

.acceptance_area {
  margin: 35px 0px 0 0;
  text-align: center;
}

.acceptance_area label {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.acceptance_area input[type="checkbox"] {
  width: 24px;
  height: 24px;
  margin-right: 12px;
  position: inherit !important;
}

/*ContactForm7ﾃ｣窶堋ｫﾃ｣窶堋ｹﾃ｣窶堋ｿﾃ｣ﾆ椎ｾﾃ｣窶堋､ﾃ｣窶堋ｺ*/
.spinner {
  display: none !important;
}

.form-control-wrap {
  position: inherit !important;
}

.htg_table .list-item {
  margin: 0 1em 1em 0;
}

.htg_table .list-item label {
  margin: 0 1em 1em 0;
}

table.htg_table {
  width: 60%;
  margin: 0 auto;
}

.campaign_text.lp,
.lp_form table.htg_table {
  width: 90%;
  max-width: 750px;
  margin: 0 auto;
}

.free_text {
  background: #fff;
  margin: 20px 0;
  box-sizing: border-box;
}

table.htg_table select {
  padding: 8px;
  margin: 9px 0 0 0;
  border: solid 1px #cdd6dd;
  color: #707070;
}

table.htg_table select.select-option {
  color: #000000;
}

.single .entry-content table.htg_table,
.page .entry-content table.htg_table {
  display: table;
}

.htg_table input,
.htg_table textarea {
  padding: 8px 16px;
  border: solid 1px #cdd6dd;
}

.htg_table input[type="radio"] {
  width: 1rem;
  padding: 0;
}

.htg_table .text_input input {
  padding: 0.8em 15em 0.8em 1em;
}

.htg_table ::placeholder {
  color: #797979;
}

.htg_table textarea {
  width: 100%;
  height: 120px;
  box-sizing: border-box;
}

.htg_table .list-item-label {
  font-size: 14px;
}

.htg_req {
  font-size: 14px;
  padding: 3px 18px;
  background: #e62262;
  color: #fff;
  border-radius: 0;
  margin-left: 1rem;
  z-index: 1;
}

.td_rec.required input,
.td_rec.required select {
  background: #faecec;
}

.td_rec input,
.td_rec select {
  background: #fff;
}

.time {
  font-size: 14px;
  margin-bottom: 7px;
  display: inline-block;
}

.htg_table th {
  display: flex;
  width: 30%;
}

.custom-message {
  font-weight: bold;
  text-align: center;
  margin-top: 10px;
  color: red;
}

.submit-confirm,
.cancel-confirm,
input.submit,
.back-home {
  background-color: #ccc;
  border: 0;
  color: #fff;
  font-size: 1.2em;
  margin: 0 auto;
  padding: 16px 90px;
  margin-top: 20px;
}

.submit-conform-button {
  text-align: center;
}

.submit-confirm.active,
.cancel-confirm.active,
.submit.active,
.back-home.active {
  background-image: -webkit-linear-gradient(top, #9fe488, #007d43);
  background-image: -moz-linear-gradient(top, #9fe488, #007d43);
  background-image: -ms-linear-gradient(top, #9fe488, #007d43);
  background-image: -o-linear-gradient(top, #9fe488, #007d43);
  background-image: -webkit-gradient(to bottom, #9fe488, #007d43);
  cursor: pointer;
  text-decoration: none;
}

.htg_btn {
  text-align: center;
  margin-top: 20px;
}

.htg_btn input[type="submit"] {
  cursor: pointer;
}

.htg_btn input[type="submit"]:hover {
  opacity: 0.7;
}

.spinner {
  width: 0;
  margin: 0;
}

.sp_none {
  display: none;
}

#clinic .displaynone {
  display: none;
}

.htg_table_confirm {
  display: none;
}

.thanks-container {
  display: none;
  text-align: center;
}

.home-link {
  margin-top: 30px;
}

.submit-error-message {
  color: red;
  font-size: 1.2em;
  text-align: center;
}

.show-loading {
  text-align: center;
}

.camplain_title {
  text-align: center;
}

.tel-message,
.email-message {
  font-weight: bold;
  color: red;
  display: none;
}

.thanx_img {
  text-align: center;
}

.thanx_img img {
  display: block;
  margin: 0 auto;
  /*
    width: 100%;height: auto;
*/
}

.submit-conform-button a {
  display: block;
  margin: 0 auto;
  padding: 16px 90px;
  margin-top: 20px;
}

.thanx_gmapsec {
  display: block;
  width: 750px;
  /*    width: 100%;*/
  margin: 0 auto;
  position: relative;
}

iframe {
  /*
    display: block;
    position: absolute;
    top: 412%;
    right: 21%;
    margin: 0 auto;
    max-width: 630px;
    max-height: 370px;
    width: 80%;
    height: 70%;
*/
  /*
    width: 630px;
    height: 370px;
*/

  /*
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    left: 50%;
*/
}

iframe {
  display: block;
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);

  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  left: 50%;

  max-width: 780px;
  max-height: 370px;
  width: 84%;
  height: 100%;
}

/*PC*/
@media screen and (min-width: 768px) {
  .campaign_text {
    width: 50%;
    margin: 30px auto;
    font-size: 16px;
  }

  .page-v01 table.htg_table {
    width: 90%;
    max-width: 680px;
  }

  table.htg_table td {
    padding: 20px 0;
    width: 70%;
  }

  table.htg_table td.free_text {
    padding: 20px;
  }

  .htg_req {
    padding: 0;
    line-height: 24px;
    width: 56px;
    height: 24px;
  }

  .td_rec > .htg_req {
    display: inline-block;
    text-align: center;
  }

  .check_text {
    width: 60%;
    margin: 10px auto;
  }

  .sp_none {
    display: block;
  }

  .pc_none {
    display: none;
  }

  table.htg_table tr {
    display: flex;
    align-items: center;
  }
}

/*smp*/
@media screen and (max-width: 767px) {
  * {
    box-sizing: border-box;
  }

  .camplain_title {
    font-size: 5vw;
  }

  .contact_block {
    padding: 0 20px;
  }

  .campaign_text {
    width: 80%;
    margin: 8vw auto;
    font-size: 2.8vw;
  }

  th .campaign_text {
    width: auto;
    font-size: smaller;
    margin: 0 0 1em 0;
    line-height: normal;
  }

  .smp_none {
    display: none;
  }

  .datetime_line {
    line-height: 1px;
  }

  table.htg_table,
  table.htg_table tbody {
    display: block;
    width: 100%;
  }

  .htg_table tr {
    margin: 3vw 0;
  }

  .htg_table .base_info,
  .htg_table .request_date,
  .htg_table .request_date .td_rec {
    padding: 0 20px;
  }

  .htg_table .request_date .td_rec select {
    width: calc((100% - 40px) / 2);
  }

  .htg_table .request_date input {
    width: 100%;
  }

  .htg_table tr,
  .htg_table td,
  .htg_table th {
    display: block;
    width: 100%;
    line-height: 2.5em;
  }

  .htg_table th {
    padding-left: 0;
    text-align: left;
  }

  .htg_table td.free_text {
    padding: 8px;
    line-height: 1.5;
  }

  .htg_table .find {
    /* padding: 0 8px; */
  }

  .htg_table .text_input input {
    width: 100%;
    padding: 3vw 2vw;
  }

  .htg_table input[type="radio"] {
    width: 0.8rem;
    padding: 0;
    margin: 0;
  }

  .htg_table .list {
    display: flex;
    flex-wrap: wrap;
    line-height: 1;

    gap: 1em;
  }

  .htg_table .list-item {
    width: 100%;
    margin: 0;
    white-space: nowrap;
    display: inline-block;
    display: flex;
    flex-wrap: wrap;
  }

  .htg_table .list-item label {
    display: inline-block;
    width: calc((100% - 2em) / 3);
    margin: 0;
    white-space: nowrap;
  }

  .htg_table .list-item.last {
    width: 100%;
  }

  .htg_table .job .list-item.last {
    width: calc((100% - 2em) / 3);
  }

  .htg_table #age .list-item.last,
  .htg_table #clinic .list-item.last {
    width: calc((100% - 2em) / 3);
  }

  .htg_table .inquiry_details {
    padding: 15px;
  }

  .htg_table .td_age .age {
    flex-wrap: wrap;
  }

  .check_text {
    overflow: scroll;
  }

  .check_text .check_text_box {
    width: 100%;
    margin: 3vw auto;
  }

  .check_text .inner {
    padding: 0 20px;
  }

  .check_text_sub_2 {
    text-align: left;
  }

  .text_input,
  #date-1,
  #date-2,
  #date-3,
  #hour-1,
  #hour-2,
  #hour-3,
  .time {
    margin-left: 0;
  }

  .htg_table .bg_wht {
    background-color: #fff;
  }

  .date-1,
  .date-2,
  .date-3 {
    position: relative !important;
  }

  .date-1::after,
  .date-2::after,
  .date-3::after {
    display: inline-block;
    position: absolute;
    top: 4px;
    right: 20px;
    width: 20px;
    height: 20px;
    background: url(../img/contact/Icon_calender.svg);
    background-size: contain;
    content: "";
    pointer-events: none;
  }

  .thanx_img img {
    display: block;
    width: 100%;
    height: auto;
  }

  .thanx_gmapsec {
    display: block;
    /*    width: 750px;*/
    width: 100%;
    margin: 0 auto;
    position: relative;
  }

  iframe {
    /*
        display: block;
        position: absolute;
        top: 205.3%;
        margin: 0 auto;
        max-width: 630px;
        max-height: 370px;
        width: 84%;
        height: 23%;
        transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        left: 50%;
*/

    display: block;
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);

    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    left: 50%;

    max-width: 780px;
    max-height: 370px;
    width: 84%;
    height: 100%;
  }

  .thanx_header {
    width: 100%;
    margin: 0 auto;
  }
}
/* form実装用 */
input[type="text"],
input[type="submit"],
input[type="tel"],
input[type="email"],
select,
textarea {
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}
.kyocho-style {
  background: #e62262;
}
.kyocho-style a {
  background: #e62262 !important;
  color: white !important;
}
#date1::-webkit-calendar-picker-indicator,
#date2::-webkit-calendar-picker-indicator,
#date3::-webkit-calendar-picker-indicator {
  display: none;
}
#date1,
#date2,
#date3 {
  /*padding: 8px 80px 8px 20px;*/
}
.campaign_text {
  width: 50%;
  margin: 30px auto;
  font-size: 16px;
}
.page-v01 .campaign_text {
  width: 100%;
  padding: 0 10px;
}
th .campaign_text {
  width: auto;
  font-size: smaller;
  margin: 1em 2em 0 0;
}
th div {
  text-align: left;
}
.campaign_text span {
  color: #ff6c6c;
}
.contact_block {
  background: #f5f5f5;
}
.check_text_h {
  font-size: 20px;
}
.check_text_sub {
  font-size: 15px;
  margin: 10px 0;
}
.check_text_box {
  background: #fff;
  padding: 12px;
  height: 150px;
  overflow: scroll;
  font-size: 12px;
  margin: 20px 0;
  border-radius: 2px;
}
.check_text_sub_2 {
  text-align: center;
}
.acceptance_area {
  margin: 35px 0px 0 0;
  text-align: center;
}
.acceptance_area label {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.acceptance_area input[type="checkbox"] {
  width: 24px;
  height: 24px;
  margin-right: 12px;
  position: inherit !important;
}
/*ContactForm7カスタマイズ*/
.reve-spinner {
  display: none !important;
}
.reve-form-control-wrap {
  position: inherit !important;
}
.reve_table .reve-list-item {
  margin: 0 1em 1em 0;
}
table.reve_table {
  width: 90%;
  margin: 0 auto;
}
.lp_form table.reve_table {
  width: 90%;
  margin: 0 auto;
}
.free_text {
  background: #fff;
  margin: 20px 0;
  box-sizing: border-box;
}
table.reve_table select {
  padding: 8px;
  margin: 9px 0 0 0;
  border: solid 1px #cdd6dd;
  color: #707070;
}
table.reve_table select.select-option {
  color: #000000;
}
.single .entry-content table.reve_table,
.page .entry-content table.reve_table {
  display: table;
}
.reve_table input,
.reve_table textarea {
  padding: 8px 16px;
  border: solid 1px #cdd6dd;
}
.reve_table input[type="radio"] {
  width: 1rem;
  padding: 0;
}
.reve_table .text_input input {
  padding: 0.8em 5em 0.8em 1em;
}

.reve_table ::placeholder {
  color: #797979;
}
.reve_table textarea {
  width: 100%;
  height: 120px;
  box-sizing: border-box;
}
.reve_table .reve-list-item-label {
  font-size: 14px;
}
.reve_req {
  font-size: 14px;
  padding: 3px 18px;
  background: #e62262;
  color: #fff;
  border-radius: 0;
  margin-left: 1rem;
  z-index: 1;
}
.td_rec.required input,
.td_rec.required select,
.td_rec.required textarea {
  background: #faecec;
}
.td_rec input,
.td_rec select {
  background: #fff;
}

.time {
  font-size: 14px;
  margin-bottom: 7px;
  display: inline-block;
}
.reve_table th {
  display: flex;
  width: 30%;
}
.reve input.reve-submit {
  background-color: #00c824;
  border: 0;
  color: #fff;
  font-size: 1.2em;
  margin: 0 auto;
  padding: 13px 90px;
}

.reve_btn {
  text-align: center;
  margin-top: 20px;
}
.reve_btn input[type="submit"] {
  cursor: pointer;
}
.reve_btn input[type="submit"]:hover {
  opacity: 0.7;
}

.reve-spinner {
  width: 0;
  margin: 0;
}
.sp_none {
  display: none;
}

#clinic .displaynone {
  display: none;
}
.clinic-note {
  font-size: smaller;
  color: #ff6c6c;
  line-height: 1.2rem;
}
#clinic_form_01.displaynone {
  display: none;
}
#clinic_form_02 {
  display: none;
}
#clinic_form_02.displayon {
  display: flex;
}
#check_form_01.displaynone {
  display: none;
}
#check_form_02 {
  display: none;
}
#check_form_02.displayon {
  display: block;
}
.counseling_form .full_column {
  flex-wrap: wrap;
}
.counseling_form .full_column th {
  width: 100%;
  text-align: left;
}
.counseling_form .full_column th .reve_req {
  text-align: center;
}
.counseling_form .full_column td {
  margin: 0 0 0 auto;
}
.counseling_form .form_select .reve-list-item {
  display: block;
}
.counseling_form .pull_down .reve-select {
  width: 83%;
}
.counseling_form .full_column .reve-free-text {
  width: 83%;
  display: block;
}
.check_text_sub_2 textarea {
  margin: 25px auto;
  display: block;
  background-color: #faecec;
  padding: 8px 16px;
  border: solid 1px #cdd6dd;
  max-width: 100%;
}
.check_text_sub_2 .reve_req {
  display: inline-block;
}
.tel-text {
  text-align: left;
}
.non-haifun {
  font-size: 12px;
}

/*PC*/
@media screen and (min-width: 768px) {
  .campaign_text {
    width: 50%;
    margin: 30px auto;
    font-size: 16px;
  }
  .campaign_text.lp {
    width: 100%;
  }
  .contact_block {
    padding: 80px 0;
  }
  .page-v01 table.reve_table {
    width: 90%;
    max-width: 680px;
  }
  table.reve_table td {
    padding: 20px 0;
    width: 70%;
  }
  table.reve_table td.free_text {
    padding: 20px;
  }
  .reve_req {
    padding: 0;
    line-height: 24px;
    width: 56px;
    height: 24px;
  }
  .td_rec > .reve_req {
    display: inline-block;
    text-align: center;
  }
  .check_text {
    width: 90%;
    margin: 10px auto 80px;
  }
  .sp_none {
    display: block;
  }
  .pc_none {
    display: none;
  }
  table.reve_table tr {
    display: flex;
    align-items: center;
  }
}

/*smp*/
@media screen and (max-width: 767px) {
  * {
    box-sizing: border-box;
  }
  .contact_block {
    padding: 10vw 20px;
  }
  .campaign_text {
    width: 80%;
    margin: 8vw auto;
    font-size: 4vw;
  }
  th .campaign_text {
    width: auto;
    font-size: smaller;
    margin: 0 0 1em 0;
    line-height: normal;
  }
  .smp_none {
    display: none;
  }
  .datetime_line {
    line-height: 1px;
  }
  table.reve_table,
  table.reve_table tbody {
    display: block;
    width: 100%;
  }
  .reve_table tr {
    margin: 3vw 0;
  }
  .reve_table .base_info,
  .reve_table .request_date,
  .reve_table .request_date .td_rec {
    padding: 0 20px;
  }
  .reve_table .request_date .td_rec select {
    width: calc((100% - 40px) / 2);
  }
  .reve_table .request_date input {
    width: 100%;
  }
  .reve_table tr,
  .reve_table td,
  .reve_table th {
    display: block;
    width: 100%;
    line-height: 2.5em;
  }
  .reve_table th {
    padding-left: 0;
    text-align: left;
  }
  .reve_table td.free_text {
    padding: 8px;
    line-height: 1.5;
  }
  .reve_table .find {
    /* padding: 0 8px; */
  }
  .reve_table .text_input input {
    width: 100%;
    padding: 3vw 2vw;
  }
  .reve_table input[type="radio"] {
    width: 0.8rem;
    padding: 0;
    margin: 0;
  }
  .reve_table .list {
    display: flex;
    flex-wrap: wrap;
    line-height: 1;

    gap: 1em;
  }
  .reve_table .reve-list-item {
    width: calc((100% - 2em) / 3);
    margin: 0;
    white-space: nowrap;
  }
  .reve_table .form_02 .reve-list-item {
    width: 100%;
  }
  .reve_table .reve-list-item.last {
    width: 100%;
  }
  .reve_table .job .reve-list-item.last {
    width: calc((100% - 2em) / 3);
  }
  .reve_table #age .reve-list-item.last,
  .reve_table #clinic .reve-list-item.last {
    width: calc((100% - 2em) / 3);
  }
  .reve_table .inquiry_details {
    padding: 15px;
  }
  .check_text {
    width: 90%;
    margin: 3vw auto 8vw;
  }
  .check_text .inner {
    padding: 0 20px;
  }
  .text_input,
  #date1,
  #date2,
  #date3,
  #startHour1,
  #startHour2,
  #startHour3,
  .time {
    margin-left: 0;
  }
  .reve_table .bg_wht {
    background-color: #fff;
  }
  .date1,
  .date2,
  .date3 {
    position: relative !important;
  }
  .date1::after,
  .date2::after,
  .date3::after {
    display: inline-block;
    position: absolute;
    top: 4px;
    right: 20px;
    width: 20px;
    height: 20px;
    background: url(../img/contact/Icon_calender.svg);
    background-size: contain;
    content: "";
    pointer-events: none;
  }
  #clinic_form_02.displayon {
    display: block;
  }
  .counseling_form .pull_down .reve-select {
    width: 100%;
    margin-top: 0;
    padding: 3vw 2vw;
  }
  .counseling_form .full_column .reve-free-text {
    width: 100% !important;
  }
  .counseling_form .full_column .reve-list-item input {
    width: auto;
  }
  .counseling_form.reve_table .reve-list-item {
    width: 100%;
  }
  .counseling_form .full_column th .reve_req {
    display: inline-block;
    line-height: 22px;
  }
  .counseling_form.reve_table th {
    line-height: 1.7em;
    padding: 10px 0;
  }
  .counseling_form.reve_table .reve-list-item.last {
    width: 100%;
    white-space: normal;
  }
}
.error {
  color: red;
}
.hidden {
  display: none;
}
.reve-spinner {
  visibility: hidden;
  display: inline-block;
  background-color: #23282d; /* Dark Gray 800 */
  opacity: 0.75;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 100%;
  padding: 0;
  margin: 0 24px;
  position: relative;
}

#spinner {
  display: none; /* 最初は非表示 */
  position: fixed; /* ビューポートに対して固定 */
  top: 50%; /* 中央に配置 */
  left: 50%;
  transform: translate(-50%, -50%); /* 正確に中央に来るように調整 */
  z-index: 1000; /* 他の要素より前面に */
}
/* form実装用 */
