@charset "utf-8";

h2.ttl {
}

.contact {
  max-width: 900px;
  margin: 48px auto 0;
}

.contact .seimei h4 {
  padding: 10px;
  font-size: 1.2em;
  letter-spacing: 0.1em;
  margin-bottom: 15px;
  background-image: linear-gradient(90deg, #1ab605 0 20%, #f7f7f7 20%);
  background-repeat: no-repeat;
  background-size: 100% 10%;
  background-position: bottom;
  margin-bottom: 30px;
}
.contact .seimei .hogo,
.contact .seimei .child {
  border: none;
}

.contact .seimei input[type="text"].wpcf7-text {
  width: 100%;
  margin: 10px 0;
}

.wpcf7 .wpcf7-validation-errors {
  color: #fff;
  background-color: #990000;
  border: 1px solid #990000;
}

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

#slide-form {
  text-align: center;
}

#slide-form h3 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

#slide-form .wpcf7-list-item {
  display: inline-block;
}

#slide-form .wpcf7-list-item-label {
  font-size: 2.3rem;
}

#slide-form input[type="radio"] {
  width: 20px;
  height: 20px;
  padding-right: 20px;
  margin: 0;
}

/*お問い合わせ
----------------------------- */
#contact .wrap-contact {
  clear: both;
  width: 100%;
  max-width: 1300px;
  margin: 20px auto 0;
  padding: 50px 80px;
  border: 1px solid #ccc;
  background: #ffffff;
  position: relative;
}

#contact .submitbtn {
  max-width: 900px;
  margin: 0 auto;
}

#contact .select .btn-primary a {
  font-size: 25px;
}

#contact .btn-primary a {
  background: #f9ae32;
  padding: 20px;
  display: block;
  text-align: center;
  font-size: 2.5rem;
  color: #fff;
  border-radius: 6px;
  margin-bottom: 5px;
}

#contact .btn-primary a i {
  padding-right: 5px;
}

.age input[type="text"].wpcf7-text {
  width: 30%;
}

.postalcode input[type="text"].wpcf7-text {
  width: 80%;
}

input[type="radio"] {
  margin-right: 5px;
}

#rcont {
  border: solid 1px #808080;
  background: #ffffff;
  width: 100%;
  height: 200px;
  margin: 25px 0;
  padding-top: 0px;
  padding-right: 2%;
  padding-bottom: 0px;
  padding-left: 2%;
  overflow: auto;
}
/*.contact dl{
margin:15px 0 30px;
  width:100%;
  overflow:hidden; 
  border-bottom:1px solid #ccc; 
}*/
/*.contact dt{
  width:30%;
  float:left;
  padding:10px;
  font-size:90%;
  text-align:left;
  border-top:1px solid #ccc;
  font-weight:bold;
}
.contact dd{
  width:70%;
  float:left;
  padding:10px;
  font-size:90%;
  text-align:left;
  border-top:1px solid #ccc;
}*/

.contact .wpcf8-form-control-wrap {
  padding-right: 20px;
}

.contact input[type="button"] {
  padding: 3px 10px;
  background: #dadada;
  border: 1px solid #ccc;
  line-height: 1.5;
  font-size: 12px;
  color: #333;
  border: 0;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
}

.center {
  text-align: center;
}

.contact .row {
  /*border-bottom: 1px solid #ccc;*/
  font-weight: bold;
  padding: 30px 20px;
  border-bottom: 1px dotted #ccc;
  margin-right: 0;
  margin-left: 0;
}

.contact .form-ttl1 {
  float: none;
  width: 100%;
  clear: both;
  background: #0080cc;
  color: #ffffff;
  border-top: 0px solid #ccc;
  padding: 10px;
  font-weight: bold;
  text-align: center;
}
.contact .form-ttl2 {
  float: none;
  width: 100%;
  clear: both;
  background: #4fb0b9;
  color: #ffffff;
  border-top: 0px solid #ccc;
  padding: 10px;
  font-size: 90%;
  font-weight: bold;
}

.contact .required {
  background: #f08080;
  color: #ffffff;
  font-size: 70%;
  margin-left: 6px;
  padding: 6px 6px;
  -webkit-border-radius: 3px;
  vertical-align: 2px;
}

.contact .unrequired {
  width: auto;
  background: #b5a894;
  color: #ffffff;
  font-size: 70%;
  margin-left: 6px;
  padding: 3px 6px;
  border-radius: 6px;
  -moz-border-radius: 6px / 6px;
  -webkit-border-radius: 6px / 6px;
}

.contact .note {
  color: #999999;
  font-size: 11px;
  font-weight: normal;
}

/* Contact Form7 */

.wpcf7-captchac {
  vertical-align: middle;
}

.wpcf7 .wpcf7-response-output {
  margin: 10px 0 0;
  padding: 8px 35px 8px 14px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  text-align: center;
}
.wpcf7 .wpcf7-validation-errors {
  color: #fff;
  background-color: #990000;
  border: 1px solid #990000;
}
.wpcf7 .wpcf7-mail-sent-ok {
  color: #fff;
  background-color: #258dda;
  border: 1px solid #258dda;
  text-align: center;
}

/* 全般テキストタイプ、テキストエリア、パスワードエリア*/
.contact input[type="text"],
.contact input[type="tel"],
.contact input[type="email"],
.contact textarea,
.contact select {
  vertical-align: middle;
  padding: 3px 5px;
  border: 1px solid #ccc;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  color: #555;
  background: #fff;
  font-size: 1.2em;
}

/* 全般テキストエリア*/
.contact textarea {
  height: auto;
  width: 95%;
  line-height: 1.5;
}

.wpcf7-not-valid-tip {
  color: red;
  display: block;
}

.form_cont div:first-child {
  margin-bottom: 8px;
}

/*フォーム部品
-------------------------------------------------------------- */

/* 送信ボタン*/
p.submit {
  text-align: center;
  margin-top: 25px;
}

input[type="submit"],
input[type="reset"],
input[type="button"] {
  width: 300px;
  padding: 10px 100px;
  background: linear-gradient(90deg, #1ab605, #009a63);
  line-height: 1.5;
  font-size: 130%;
  color: #fff;
  border: 0;
  cursor: pointer;
  border-radius: 30px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  margin-bottom: 10px;
}

.contact dd input[type="button"] {
  padding: 3px 10px;
  background: #fbc874;
  border: 1px solid #ccc;
  line-height: 1.5;
  font-size: 12px;
  color: #333;
  border: 0;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
}

input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover {
  background: #f3c374;
  color: #ffffff;
  border-bottom: 2px solid #e69e26;
}

input[type="text"].wpcf7-text {
  width: auto;
  margin-right: 10px;
}

.contact dd input[type="button"]:hover {
  background: #dadada;
  border-bottom: 2px solid #666666;
}

input[type="button"].wpcf7c-btn-back {
  background: #666666;
  padding-right: 15px;
}
input[type="button"].wpcf7c-btn-back:hover {
  background: #333333;
  border-bottom: 1px solid #000000;
}

input[type="text"].wpcf7-text {
  width: 100%;
}
.contact span.wpcf7-list-item {
  display: inline-block;
  margin-top: 30px;
}
/* a */
.contact .requirements span.wpcf7-list-item {
  margin-top: 0px;
  margin-left: 0;
}
.contact .requirements span.wpcf7-list-item:not(:last-child) {
  margin-right: 1em;
}

.wpcf7 .wpcf7-validation-errors {
  color: #fff;
  background-color: #990000;
  border: 1px solid #990000;
}

*:first-child + html .wrap-contact input[type="submit"] {
  padding: 3px;
}

.contact input[type="checkbox"] {
  margin-right: 3px;
  width: 20px;
  height: 20px;
  vertical-align: -3px;
}

::placeholder {
  color: #ccc;
  font-weight: normal;
}

#mainimg {
  width: 100%;
  background: url(../images/page/page_main_gr.png) repeat-x;
  text-align: center;
  overflow: hidden;
}

#mainimg img {
  width: 100%;
  max-width: 1350px;
  height: auto;
}

input[type="button"].wpcf7c-btn-back {
  padding: 10px 100px;
  background: #58d5ec;
  line-height: 1.5;
  font-size: 130%;
  color: #fff;
  border: 0;
  border-bottom: 2px solid #006da8;
  cursor: pointer;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
}

@media screen and (max-width: 480px) {
  #contact .wrap-contact {
    clear: both;
    width: 100%;
    padding: 20px;
    border: 1px solid #ccc;
    background: #ffffff;
    position: relative;
  }

  #wrapper .inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
  }
  /*.contact .required {
  float: left;
  }*/
  #contact .select .btn-primary a {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  .contact input[type="email"] {
    width: 100%;
  }
  .contact .row {
    padding: 20px 0 30px;
    border-bottom: 1px dotted #ccc;
  }
  input[type="button"].wpcf7c-btn-back {
    padding: 10px;
    margin-bottom: 10px;
  }

  input[type="date" i].wpcf7-form-control.wpcf7-date.wpcf7-validates-as-date {
    width: 100%;
  }
}

/* footer contact */
.contact .f_content a.nav-link {
  width: 100%;
  padding: 1.5% 0;
  font-weight: bold;
  margin: 2em auto 0;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  line-height: 1.2;
}
.contact .wpcf7-spinner {
  display: none;
}
