/*section-top*/
.mainvisiual {
  background-image: url("../images/contact_mv.jpg");
  background-repeat: no-repeat;
  width: 100vw;
  height: 400px;
  background-size: cover;
  background-position: center;
}

article {
  max-width: 1000px;
  width: 90%;
  margin: 0 auto;
}

.title {
  max-width: 768px;
  margin: 0 auto;
}

.title h4 {
  color: #1F7C99;
  margin-bottom: 33px;
  display: flex;
  align-items: center;
}

.title h4::before, .title h4::after {
  content: "";
  height: 1px;
  flex-grow: 1;
  background-color: #1F7C99;
}

.title h4::before {
  margin-right: 1rem;
}

.title h4::after {
  margin-left: 1rem;
}

.title p {
  font-size: 1.6rem;
  margin-bottom: 20px;
  line-height: 3.0rem;
}

.tel {
  margin-bottom: 20px;
}

.tel a {
  text-decoration: none;
  color: #333333;
  font-size: 3.8rem;
  font-weight: 600;
  border-bottom: solid 4px #1F7C99;
}

.open_time_area {
  margin-bottom: 80px;
}

.open_time {
  background-color: #1F7C99;
  padding: 5px 7px;
  color: #fcfcfc;
  margin-right: 10px;
}

/*section-contact*/
.section-contact {
  width: 90%;
  max-width: 920px;
  margin: auto;
  padding: 150px 0;
}

form {
  text-align: left;
  border-top: dotted 1px #43667a;
  max-width: 840px;
  margin: auto;
}

label {
  font-size: 1.8rem;
  color: #0A4567;
}

.line_wrap {
  display: flex;
  height: 110px;
  align-items: center;
  border-bottom: dotted 1px #43667a;
  color: #333;
}

.form_th {
  width: 25%;
  padding-left: 5%;
  align-items: center;
  display: flex;
}

.form_th div {
  margin-right: 5px;
}

.form_td {
  display: flex;
  width: 70%;
}

.form_td.form_add {
  display: block;
}

.block_p {
  width: 75%;
  padding-left: 0;
}

.any {
  width: 180px;
}

span.wpcf7-list-item-label,
.block_p {
  font-size: 16px;
  color: #333333;
}

.line_wrap .block_p {
  display: block;
  width: 100%;
}

form span.havto {
  font-size: 1.4rem;
  color: #fcfcfc;
  background-color: #C70C0C;
  padding: 3px 11px;
  height: 16px;
}

input {
  background: #EDF0F2;
  border: none;
  height: 42px;
}

input#myouzi {
  width: 90%;
  max-width: 250px;
}

input#mei {
  width: 90%;
  max-width: 250px;
}

.line_2 {
  height: 72px;
}


.textarea_wrap {
  display: flex;
  padding: 34px 0;
  border-bottom: dotted 1px #43667a;
}

.form_inquiry.any {
  text-align: left;
  padding: 0 0 0 5%;
  width: 25%;
  color: #333;
}

textarea#inquiry {
  font-family: 'ryo-text-plusn';
  width: 560px;
  background: #edf0f2;
  border: none;
  padding: 10px;
  font-size: 16px;
}

input[type="text"i] {
  padding-left: 10px;
  font-family: 'ryo-text-plusn';
  font-size: 16px;
  width: 100%;
  color: #333;
}

select {
  font-family: 'ryo-text-plusn';
  font-size: 16px;
  border-radius: 1px;
  color: #333;
}

input::-webkit-input-placeholder,
::-webkit-input-placeholder {
  color: #a7a7a7;
}

::-webkit-full-page-media, :future, :root input::-webkit-input-placeholder {
  line-height: normal;
  position: relative;
  bottom: 8px;
}

h4.contact_h4 {
  font-size: 20px;
  line-height: 1.5;
  margin: 50px 0 20px;
  color: #333;
  text-align: center;
}

p.p_p {
  max-width: 560px;
  margin: 0 auto 20px;
  line-height: 1.5;
  text-align: center;
}

.pp_box {
  width: 728px;
  height: 240px;
  overflow: scroll;
  margin: auto;
  border: solid 1px;
  padding: 30px;
}

.pp_box p {
  color: #333333;
  line-height: 1.5;
  word-break: break-all;
}

.acceptance {
  margin: 20px 0 30px;
  text-align: center;
  border-bottom: none;
}

.btn_wrap {
  text-align: center;
  border-bottom: none;

}

.send_btn {
  position: relative;
  display: inline-block;
  overflow: hidden;
  width: 400px;
  height: 70px;
  font-size: 16px;
  font-family: 'ryo-text-plusn';
  letter-spacing: .6px;
  color: #FCFCFC;
  background: #1F7C99;
  text-align: center;
  outline: none;
  transition: ease .2s;
}

.send_btn:before {
  content: '';
  /*絶対配置で位置を指定*/
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  /*色や形状*/
  background: rgb(53, 157, 133);
  background: linear-gradient(144deg, rgba(53, 157, 133, 1) 0%, rgba(10, 69, 103, 1) 100%);
  width: 400px;
  height: 70px;

  /*アニメーション*/
  transition: transform .6s cubic-bezier(0.8, 0, 0.2, 1) 0s;
  transform: scale(0, 1);
  transform-origin: left top;
}

.send_btn:after {
  content: '';
  position: absolute;
  top: 49%;
  right: 20px;
  width: 20px;
  height: 19px;
  z-index: 3;
  background: url(../svg/arrow_w.svg);
  line-height: 0;
  transform: translate(-50%, -50%);
}

.send_btn:hover:before {
  transform-origin: right top;
  transform: scale(1, 1);
}

.send_btn:hover:after {
  background: url(../svg/arrow_w.svg);
}

.wpcf7-submit.send {
  position: relative;
  background: none;
  width: 400px;
  height: 70px;
  border: none;
  z-index: 3;
  color: #FCFCFC;
  font-size: 16px;
  font-family: 'ryo-text-plusn';
  letter-spacing: 0.6px;
}

.wpcf7-submit.send:hover {
  color: #fcfcfc;
  z-index: 3;
}

.wpcf7-response-output {
  color: red;
  margin-top: 20px;
}

.screen-reader-response {
  color: red;
  margin-bottom: 20px;
}

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

span.wpcf7-not-valid-tip {
  margin-top: 10px;
  color: red;
}

/* Checkboxes styles */

input[type="checkbox"] {
  display: none;
}

input[type="checkbox"]+.wpcf7-list-item-label {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 20px;
  color: #333;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

input[type="checkbox"]+.wpcf7-list-item-label:last-child {
  margin-bottom: 0;
}

input[type="checkbox"]+.wpcf7-list-item-label:before {
  content: '';
  display: block;
  color: #44677b;
  width: 20px;
  height: 20px;
  border: 1px solid #44677b;
  position: absolute;
  left: 0;
  top: 50%;
  opacity: .6;
  -webkit-transition: all .12s, border-color .08s;
  transition: all .12s, border-color .08s;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
}

input[type="checkbox"]:checked+.wpcf7-list-item-label:before {
  width: 10px;
  top: -7px;
  left: 5px;
  border: solid 2px;
  border-radius: 0;
  opacity: 1;
  border-top-color: transparent;
  border-left-color: transparent;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.wpcf7-list-item {
  display: inline-block;
  margin: 0 0 1em 1em !important;
}

@media(max-width:780px) {

  .mainvisiual {
    height: 320px;
  }

  .section-contact {
    padding: 60px 0 100px;
    margin: 0 auto;
    width: 90%;
  }

  select#time {
    width: 115px;
    padding-left: 10px;
    height: 42px;
    margin: 20px 15px 20px 0;
    background: #edf0f2;
    border: solid 1px #426479;
  }

  .day_select_wrap {
    flex-wrap: wrap;
    align-items: center;
    margin-top: 20px;
  }

  .line_wrap {
    height: auto;
    display: block;
    padding: 20px 0;
  }

  .line_wrap div.form_th {
    width: 100%;
    /**要確認**/
    margin-bottom: 15px;
    padding-left: 0;
  }

  form span.havto {
    margin-right: 0;
    margin-left: 15px;
  }

  input#myouzi {
    width: 150px;
    margin-right: 10px;
  }

  input#mei {
    width: 150px;
    margin-right: 0;
  }

  .line_wrap .block_p {
    letter-spacing: 0;
  }

  .line_2 {
    height: auto;
  }

  .textarea_wrap {
    display: flex;
    padding: 0 0;
    border-bottom: none;
    flex-direction: column;
    margin-bottom: 20px;
  }

  .form_inquiry.any {
    text-align: left;
    padding: 20px 0 20px 0;
    width: 100%;
  }

  textarea#inquiry {
    width: 93%;
    color: #333;
  }

  .pp_box p {
    color: #333333;
    line-height: 1.5;
  }

  .pp_box {
    width: 300px;
    height: 240px;
    overflow: scroll;
    margin: auto;
    border: solid 1px;
    padding: 15px;
  }

  .wpcf7-submit.send {
    width: 340px;
  }

  .send_btn {
    width: 340px;
  }

  .form_td {
    display: flex;
    width: 95%;
  }

  .form_td.form_add span {
    font-size: 1.4rem;
  }

  input[type="checkbox"]+.wpcf7-list-item-label:last-child {
    text-align: left;
    line-height: 2.7rem;
  }
}

/*section-contactここまで*/