@charset "UTF-8";
/* mailformバナー----------------------------------------------------------------- */
.mailform_bn {
  position: relative;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  background: #fff url("../img/pic_pageHeader01.webp") center center no-repeat;
  background-size: cover;
  width: 100%;
  min-height: 300px;
  padding-top: 62.5%;
}

.mailform_bn_head {
  width: 100%;
  position: absolute;
  text-align: center;
  top: 50%;
  left: 50%;
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  background: rgba(0, 136, 255, 0.8);
  padding: 20px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  background-size: cover;
}

.mailform_bn_ttl {
  line-height: 2rem;
  letter-spacing: .05em;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
}

.mailform_bn_ttl h2 {
  color: #fff;
  font-size: 8rem;
  font-weight: 700;
  margin: 0;
}

.mailform_bn_ttl p {
  color: #fff;
  font-size: 40px;
  font-size: 3.5rem;
  font-weight: 700;
  margin: 0;
  padding: 10px 0 20px;
}

@media screen and (max-width: 767px) {
  .mailform_bn_ttl h2 {
    font-size: 5rem;
    font-weight: 700;
  }

  .mailform_bn_ttl p {
    font-size: 3rem;
    font-weight: 700;
  }
}
@media screen and (max-width: 575px) {
  .mailform_bn_head {
    background: none;
    text-shadow: 0px 0px 10px #000;
  }

  .mailform_bn_ttl h2 {
    font-size: 3rem;
    font-weight: 700;
  }

  .mailform_bn_ttl p {
    font-size: 2rem;
    font-weight: 700;
  }
}
.mail_form {
  background: #fff;
}

.mail_form form {
  margin: 0 0;
}

.mail_form .mailform_contents {
  height: auto;
  margin: 200px 0 0 0;
  display: inline-block;
  width: 100%;
  text-align: center;
}

.mail_form .mailform_contents h3 {
  font-weight: 800;
  font-size: 5rem;
  display: inline-block;
  margin: 0 auto 30px;
}

@media screen and (max-width: 992px) {
  .mail_form .mailform_contents {
    margin: 50px 0 0 0;
  }

  .mail_form .mailform_contents h3 {
    font-size: 4rem;
  }
}
.mail_form dl {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.mail_form dl dt {
  clear: both;
  width: 30%;
  float: left;
  border-top: 1px solid #cccccc;
  padding: 15px 0;
  text-align: right;
  overflow: hidden;
  font-size: 0.9em;
}

.mail_form dl dd {
  width: 65%;
  float: right;
  border-top: 1px solid #cccccc;
  padding: 15px 0 15px 5%;
  text-align: left;
  font-size: 0.8em;
}

.mail_form dl dt:first-child,
.mail_form dl dt:first-child + dd {
  border: none;
}

.mail_form dl dt span {
  display: block;
  font-size: 85%;
  color: #0088ff;
}

/* -- for JavaScript ここから -------------------------------------------------------------------------------- */
#mail_form dl dt span.required,
#mail_form dl dt span.optional {
  display: inline-block;
  float: left;
  color: #ffffff;
  line-height: 1;
  padding: 8px 9px;
  border-radius: 3px;
}

#mail_form dl dt span.required {
  background: #d9534f;
  border: 1px solid #d43f3a;
}

#mail_form dl dt span.optional {
  background: #337ab7;
  border: 1px solid #2e6da4;
}

#mail_form dl dd span.error_blank,
#mail_form dl dd span.error_format,
#mail_form dl dd span.error_match {
  display: block;
  color: #ff0000;
  margin-top: 3px;
}

span.loading {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border-top: 5px solid rgba(255, 255, 255, 0.2);
  border-right: 5px solid rgba(255, 255, 255, 0.2);
  border-bottom: 5px solid rgba(255, 255, 255, 0.2);
  border-left: 5px solid #ffffff;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load-circle 1.0s linear infinite;
  animation: load-circle 1.0s linear infinite;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -30px;
  margin-left: -30px;
}

@-webkit-keyframes load-circle {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load-circle {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
.mail_form_check .container .mailform_contents h3 {
  font-size: 2.4rem;
  text-align: center;
  color: #08f;
}
.mail_form_check .container .mailform_contents dl {
  max-width: 500px;
  /* テーブルの横幅を500pxに指定 */
  border-top: 1px solid #ddd;
  /* テーブルの上の線 */
  border-left: 1px solid #ddd;
  /* テーブルの左の線 */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  /* 子要素のdtとddを横並びにする */
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  /* 1つのdtとddで1行になるよう改行させる */
  margin: 0 auto;
}
.mail_form_check .container .mailform_contents dl dt, .mail_form_check .container .mailform_contents dl dd {
  margin: 0;
  /* ブラウザの初期値をクリア */
  border-bottom: 1px solid #ddd;
  /* 各セルの下の線。テーブルの下の線も補える。 */
  border-right: 1px solid #ddd;
  /* 各セルの右の線。テーブルの右の線も補える。 */
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  /* widthの計算を楽にするため */
  padding: 15px 30px;
  /* 各セルに余白を取る */
}
.mail_form_check .container .mailform_contents dl dt {
  font-size: 16px;
  /* フォントサイズを16pxに指定 */
  width: 200px;
  /* dt（見出し項目）の横幅を200pxに指定 */
}
.mail_form_check .container .mailform_contents dl dt span {
  display: block;
  font-size: 85%;
  color: #0088ff;
}
.mail_form_check .container .mailform_contents dl dd {
  width: calc(100% - 200px);
}

/* -- for JavaScript ここまで -------------------------------------------------------------------------------- */
#mail_form input[type="text"],
#mail_form input[type="email"],
#mail_form input[type="tel"] {
  max-width: 90%;
  height: 2em;
  padding: 2px 2%;
  border: 1px solid #cccccc;
  border-radius: 3px;
  background: #fafafa;
  -webkit-appearance: none;
  font-size: 100%;
  font-family: inherit;
  margin-top: 7px;
}

#mail_form input[type="text"]:focus,
#mail_form input[type="email"]:focus,
#mail_form input[type="tel"]:focus,
#mail_form textarea:focus {
  -webkit-box-shadow: 0px 0px 5px #55ccff;
          box-shadow: 0px 0px 5px #55ccff;
  border: 1px solid #55ccff;
  background: #ffffff;
}

#mail_form ul li input[type="radio"],
#mail_form ul li input[type="checkbox"] {
  margin-right: 10px;
  margin-top: 7px;
}

#mail_form ul li:first-child input[type="radio"],
#mail_form ul li:first-child input[type="checkbox"] {
  margin-top: 0px;
}

#mail_form select {
  font-size: 100%;
  font-family: inherit;
  margin-top: 10px;
}

#mail_form textarea {
  display: block;
  width: 90%;
  max-width: 90%;
  height: 200px;
  padding: 2px 2%;
  resize: vertical;
  border: 1px solid #cccccc;
  border-radius: 3px;
  background: #fafafa;
  -webkit-appearance: none;
  font-size: 100%;
  font-family: inherit;
}

#mail_form ul {
  list-style-type: none;
}

#mail_form ul li label:hover {
  cursor: pointer;
}

#mail_form input#company {
  width: 60%;
}

#mail_form input#name_1,
#mail_form input#name_2,
#mail_form input#read_1,
#mail_form input#read_2,
#mail_form input#postal,
#mail_form input#phone,
#mail_form input#schedule {
  width: 30%;
}

#mail_form input#mail_address,
#mail_form input#mail_address_confirm {
  width: 80%;
}

#mail_form input#postal + a {
  display: inline-block;
  padding: 9px 15px;
  vertical-align: middle;
  line-height: 1;
  background: #5bc0de;
  border: 1px solid #46b8da;
  border-radius: 3px;
  color: #ffffff;
  font-family: inherit;
  text-decoration: none;
  position: relative;
  top: -1px;
}

#mail_form input#postal + a:hover {
  cursor: pointer;
  background: #31b0d5;
  border: 1px solid #269abc;
}

#mail_form input#address {
  width: 90%;
}

#mail_form p#form_submit {
  width: 90%;
  margin: 0 auto;
  padding: 15px 0;
  border-top: 1px solid #cccccc;
}

input[type="submit"] {
  margin: 5px 0 0;
  display: inline-block;
  padding: 0.3em 1em;
  text-decoration: none;
  background: #0088ff;
  /*ボタン色*/
  color: #FFF;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: solid 4px #0276cc;
  border-radius: 5px;
  cursor: pointer;
}

input[type="submit"]:hover {
  -webkit-transform: translateY(4px);
  transform: translateY(4px);
  /*下に動く*/
  border-bottom: none;
  /*線を消す*/
  margin-bottom: 4px;
}

input[type="submit"]:active {
  background: #0276cc;
  /*ボタン色*/
}

input[type="button"] {
  margin: 5px 0 0;
  display: inline-block;
  padding: 0.3em 1em;
  text-decoration: none;
  background: #d9534f;
  /*ボタン色*/
  color: #FFF;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: solid 4px #a03e3b;
  border-radius: 5px;
  cursor: pointer;
}

input[type="button"]:hover {
  -webkit-transform: translateY(4px);
  transform: translateY(4px);
  /*下に動く*/
  border-bottom: none;
  /*線を消す*/
  margin-bottom: 4px;
}

input[type="button"]:active {
  background: #a03e3b;
  /*ボタン色*/
}

.error_messe {
  color: #d9534f;
  /*ボタン色*/
}

.error_messe span {
  display: inline-block;
  background: #d9534f;
  color: #fff;
  padding: 2px 7px;
  margin: 0 5px 0 0;
  border-radius: 3px;
}

/* -- responsive ----------------------------------------------------------------------------------------------------------------- */
/* 1000pixel start */
@media screen and (max-width: 992px) {
  #mail_form {
    width: 100%;
  }

  #mail_form dl {
    overflow: visible;
  }

  #mail_form dl dt {
    width: auto;
    float: none;
    text-align: left;
    padding: 10px 0 5px;
    font-weight: bold;
  }

  #mail_form dl dd {
    width: auto;
    float: none;
    border-top: none;
    padding: 0px 0 13px 0px;
  }

  #mail_form dl dt span {
    font-weight: normal;
  }

  /* -- for JavaScript ここから -------------------------------------------------------------------------------- */
  #mail_form dl dt span.required,
  #mail_form dl dt span.optional {
    margin-right: 1em;
    margin-bottom: 2em;
  }

  /* -- for JavaScript ここまで -------------------------------------------------------------------------------- */
  #mail_form input[type="text"],
  #mail_form input[type="email"],
  #mail_form input[type="tel"] {
    margin-top: 0px;
  }

  #mail_form input#form_submit_button {
    margin-left: 0;
  }

  #mail_form select {
    margin-top: 0;
  }

  #mail_form input#phone,
  #mail_form input#schedule {
    width: 50%;
  }
}
.thanks_container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
}
.thanks_container .thanks_wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50% 0, -50%);
  background: #fff;
  padding: 20px;
  -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.4);
          box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.4);
  border-radius: 20px;
  min-width: 80%;
}
.thanks_container .thanks_wrapper .thanks_close_btn {
  position: absolute;
  right: -14px;
  top: -14px;
  font-size: 19.6px;
  line-height: 28px;
  color: #fff;
  border-radius: 14px;
  width: 28px;
  height: 28px;
  text-align: center;
  cursor: pointer;
  background: #FD5D5D;
}
.thanks_container .thanks_wrapper .thanks_close_btn:hover {
  opacity: 0.8;
}
.thanks_container .thanks_wrapper h3 {
  font-size: 1.3rem;
}
.thanks_container .thanks_wrapper p {
  font-size: 0.9rem;
  line-height: 1.5em;
  text-align: left;
}
.thanks_container .thanks_overlay {
  position: fixed;
  background: #222;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  opacity: 0.8;
  cursor: pointer;
}
.thanks_container .thanks_overlay:hover {
  background: #000;
}

/*# sourceMappingURL=mailform.css.map */