span.wpcf7-list-item {
  padding-right: 15px;
  margin: 0 0 0 0;
}

table.form_tbl.rec td input[type="text"], 
table.form_tbl.rec td input[type="tel"], 
table.form_tbl.rec td input[type="email"] {
  width: 94%;
  padding: 8px 15px;
  font-size: 16px;
}

table.form_tbl.rec td input[type="file"] {
  cursor: pointer;
  background: none;
  border: none;
}

table.form_tbl td.birth {
  display: flex;
  flex-direction: row;

  select {
    width: 65px;
    padding: 5px 5.5px 5px 5px;
    margin-right: 0;
  }
  
  div {
    margin-right: 8px;
  }
}

td.birth p {
  display: flex;
  width: auto;
}

td.birth p label {
  width: 100%;
}

table.form_tbl.rec td textarea {
    width: 94%;
    font-size: 16px;
    padding: 15px;
    background: #fff;
}

.hidden_box {
    width: 61.538vw;
    height: 25vw;
    overflow: scroll;
    border: solid 1px;
    margin: 0 auto 25px;
    padding: 40px 30px 40px 30px;
    overflow-x: hidden;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    background: #FAFAFA;
    border: solid 1px #e0e0e0;
}

span.wpcf7-form-control.wpcf7-acceptance label {
    display: flex
;
}

input[type="checkbox"] {
    width: 20px;
    margin-right: 5px;
}

.hidden_box h4 {
    font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: 1px;
}

.hidden_box p {
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: 1px;
}

.hidden_box a {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: 1px;
  color: #757575;
}

.blue_btn.center p {
    text-align: center;
    margin: auto;
}

input.wpcf7-form-control.has-spinner.wpcf7-submit {
    width: auto;
    min-width: 240px;
    padding: 10px 40px;
    margin: 50px auto;
    text-align: center;
    background: #23926c;
    color: #fff;
}

div#wpcf7-f210-o1 {
  color: #000;
}

.hidden_box::-webkit-scrollbar {
  width: 5px;
}

.hidden_box::-webkit-scrollbar-thumb {
  background: #404040;
  border-radius: 3px;
}

.hidden_box::-webkit-scrollbar-track {
  background: #fff;
  height: 98%;
  margin: 1%;
}

.submit_btn {
    text-align: center;
    width: 300px;
    margin: 0 auto;
}

span.haveto {
    color: #fff;
    background: #E00A17;
    font-size: 12px;
    border-radius: 2px;
    margin-left: 5px;
    padding: 4px 12px 4px;
}

span.wpcf7-not-valid-tip {
  position: relative;
  color: red;
  left: 0;
  padding: 1% 0 0;
}

div.screen-reader-response {
  display: none;
}

.wpcf7-response-output {
  text-align: center;
  color: red;
  margin-top: 35px;
}

#wrapper {
  overflow: hidden;
}

.top1 img, .top2 img, .top3 img {
  overflow: hidden;
  object-fit: cover;
  height: 100%;
}

.wpcf7-form-control-wrap {
    position: relative;
}

.center span.wpcf7-form-control-wrap {
    display: flex;
    justify-content: center;
}

.days {
    width: 45%;
}

.hour {
    width: 45%;
}

select {
  align-items: center;
  display: -webkit-inline-flex;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 12px 5.5px 12px 15px;
  width: 100px;
  margin: 0 10px 0 0;
  font-size: 16px;
}

span.space_span {
  margin-right: 2%;
}

td.name_flex p {
  display: flex;
}

table.form_tbl.rec td.name_flex input[type="text"] {
    margin: 0 10% 0 0;
    width: 90%;
}

input {
    width: 100%;
    max-width: 780px;
    padding: 4px 0;
}

td input {
    padding: 4px 0 4px 5px;
}

.hour select {
    max-width: 344.47px;
}

.days input {
    max-width: 334.47px;
    padding-left: 10px;
}

.w100_form {
    margin: 5% auto;
    width: 100%;
}

table.form_tbl {
    width: 61.538vw;
    margin: auto;
    border-bottom: solid 1px #9e9e9e;
}

table.form_tbl tr {
    border-top: solid 1px #9e9e9e;
}

table.form_tbl td {
  padding: 30px 0 30px;
  text-align: left;
  width: 70%;
}

table.form_tbl th {
  padding: 30px 0 30px;
  width: 30%;
}

table.form_tbl th:after,
table.form_tbl td:after {
  content: "";
  position: absolute;
  display: none;
  width: 100%;
  height: 0;
  bottom: 0;
  left: 0;
  background: none;
}

h3.formttl.center,
table.form_tbl th {
    text-align: left;
    font-weight: 500;
}

p.rec_form_p {
    width: 45vw;
    margin: 28px auto 34px;
    text-align: center;
}

h3.personal_info {
  margin: 60px auto 8px;
  text-align: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: 0.5px;
}

/*::::::: ERROR MESSAGE :::::::*/


td p span.wpcf7-form-control-wrap span.wpcf7-not-valid-tip {
    width: auto;
    display: block;
    bottom: 0;
}

.year span.wpcf7-form-control-wrap {
  width: 70px;
}

.month span.wpcf7-form-control-wrap {
  width: 70px;
}

.days span.wpcf7-form-control-wrap {
  width: 70px;
}

.year p span.wpcf7-form-control-wrap span.wpcf7-not-valid-tip {
  white-space: nowrap;
}

.month p span.wpcf7-form-control-wrap span.wpcf7-not-valid-tip {
  display: none;
}

.days p span.wpcf7-form-control-wrap span.wpcf7-not-valid-tip {
  display: none;
}

input, select, textarea {
    font-family: ryo-gothic-plusn, "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    color: #212121;
    border: solid 1px #E0E0E0;
    background: #fff;
}

/*::::::: ERROR MESSAGE :::::::*/

@media (max-width: 767px) {

    .contact .wpcf7-form {
        margin-top: 15px;
        padding: 0;
    }

    table.form_tbl {
        width: 87vw;
    }

    table.form_tbl tr {
        border-top: solid 1px #9e9e9e;
        display: flex;
        flex-direction: column;
    }

    table.form_tbl td {
        padding: 5px 0 20px;
    }

    table.form_tbl th {
        padding: 20px 0 3px;
        display: flex;
        width: 100%;
    }

    table.form_tbl td {
        width: 100%;
    }

    p.rec_form_p {
        width: 90vw;
        text-align: left;
        margin: 0 0 15px;
    }

    .hidden_box {
        width: 90vw;
        height: 100vw;
        padding: 20px;
    }

    .hidden_box p {
        letter-spacing: 0;
        line-height: 1.7;
    }

    span.wpcf7-list-item-label {
        font-size: 14px;
    }

    .blue_btn.center p {
        display: flex;
        flex-direction: column;
    }

    input.wpcf7-form-control.has-spinner.wpcf7-submit {
        margin: 20px auto 0;
    }

}