@charset "utf-8";

form#mail_form {
  margin: 0 50px;
  font-size: 1.4rem;
}

form#mail_form dl {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

form#mail_form dl dt {
  clear: both;
  width: 20%;
  float: left;
  padding: 15px 0;
  text-align: left;
  overflow: hidden;
}

form#mail_form dl dd {
  width: 80%;
  float: right;
  padding: 15px 0 15px 5%;
}

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

form input {
  width: 100%;
  background-color: #f4f9fc;
}

form#mail_form input[type="checkbox"] {
  width: 20px;
}
#agreement {
  margin-top: 80px;
}
#agree_check {
  padding: 20px 0;
  text-align: center;
  font-size: 1.4rem;
}
#agree_check label {
  display: flex;
  align-items: center;
  justify-content: center;
}
#agreement h3 {
  text-align: center;
  font-size: 1.4rem;
}

@media screen and (max-width: 1000px) {
  form dd ul {
    flex-direction: column;
  }
  form dd li {
    width: 100%;
  }
  #agreement {
    margin-top: 40px;
  }
}
/* -- for JavaScript ここから -------------------------------------------------------------------------------- */

form#mail_form dl dt span.required,
form#mail_form dl dt span.optional {
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 3px;
  display: none;
}

form#mail_form dl dt span.required {
  background: #f4f9fc;
  border: 1px solid #f4f9fc;
  display: none;
}

form#mail_form dl dt span.optional {
  background: #f4f9fc;
  border: 1px solid #f4f9fc;
  display: none;
}

form#mail_form dl dd span.error_blank,
form#mail_form dl dd span.error_format,
form#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);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load-circle 1s linear infinite;
  animation: load-circle 1s 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);
  }
}

/* -- for JavaScript ここまで -------------------------------------------------------------------------------- */

form#mail_form input[type="text"],
form#mail_form input[type="email"],
form#mail_form input[type="tel"] {
  max-width: 100%;
  padding: 7px 2%;
  border: 1px solid #f7f7f7;
  border-radius: 5px;
  background: #f7f7f7;
  -webkit-appearance: none;
  font-size: 100%;
  font-family: inherit;
}

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

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

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

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

form#mail_form textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 250px;
  padding: 7px 2%;
  resize: vertical;
  border: 1px solid #f7f7f7;
  border-radius: 5px;
  background: #f7f7f7;
  -webkit-appearance: none;
  font-size: 100%;
  font-family: inherit;
}

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

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

form#mail_form input#company {
  width: 100%;
}

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

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

form#mail_form input#postal + a {
  display: inline-block;
  padding: 5px 15px;
  border: 1px solid #f7f7f7;
  border-radius: 3px;
  background: #f7f7f7;
  font-size: 100%;
  color: #ffffff;
  text-decoration: none;
}

form#mail_form input#postal + a:hover {
  cursor: pointer;
  background: #f7f7f7;
  border: 1px solid #f7f7f7;
}

form#mail_form input#address {
  width: 100%;
}

form#mail_form p#form_submit {
  max-width: 100%;
  margin: 0 auto;
  padding: 15px 0;
  text-align: center;
  position: relative;
}

#form_submit {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

form#mail_form input[type="button"] {
  width: 100%;
  height: 100%;
  max-width: 100%;
  line-height: 60px;
  color: #000;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease-out;
  -webkit-appearance: none;
  background-color: transparent;
  cursor: pointer;
  border-radius: 30px;
  cursor: pointer;
  font-size: 16px;
  text-align: left;
  padding-left: 20px;
}

form#mail_form input[type="button"]:hover {
  color: #fff;
}

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

form#mail_form select {
  width: 186px;
  height: 36px;
  padding: 0 13px;
  cursor: pointer;
  border: 1px solid #eaeaea;
  border-radius: 0;
  outline: none;
  background-image: none;
  box-shadow: none;
  color: #24140e;
  background-color: #eaeaea;
  text-indent: 0.01px;
  text-overflow: ellipsis;
  box-sizing: border-box;
  transition: all 0.5s;
  margin-top: 0;
  -webkit-appearance: none;
  appearance: none;
}
form#mail_form .select_box {
  position: relative;
  width: 186px;
  height: 36px;
}
form#mail_form .select_box:before {
  width: 8px;
  height: 8px;
  margin-top: -7px;
  content: "";
  border: 0;
  border-right: solid 1px #24140e;
  border-bottom: solid 1px #24140e;
  position: absolute;
  top: 55%;
  right: 14px;
  transform: rotate(45deg);
}

/* -- responsive ----------------------------------------------------------------------------------------------------------------- */
/* 1000pixel start */

/* 1000pixel start */
@media screen and (max-width: 1000px) {
  form#mail_form {
    width: 100%;
    font-size: 100%;
    margin: 0;
  }

  form#mail_form dl {
    overflow: visible;
  }

  form#mail_form dl dt {
    width: auto;
    float: none;
    text-align: left;
    padding: 15px 0 5px;
  }

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

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

  /* -- for JavaScript ここから -------------------------------------------------------------------------------- */

  form#mail_form dl dt span.required,
  form#mail_form dl dt span.optional {
    margin-right: 1em;
    margin-bottom: 2em;
  }

  /* -- for JavaScript ここまで -------------------------------------------------------------------------------- */

  form#mail_form input[type="text"],
  form#mail_form input[type="email"],
  form#mail_form input[type="tel"] {
    margin-top: 0px;
  }

  form#mail_form input#postal + a {
    padding: 6px 15px 5px;
  }

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

  form#mail_form select {
    font-size: 16px;
    margin-top: 0;
  }

  form#mail_form input#phone,
  form#mail_form input#schedule {
    width: 100%;
  }
}
/* 1000pixel end */

@media screen and (max-width: 990px) {
  form#mail_form p#form_submit img {
    position: absolute;
    top: 32px;
    right: 36%;
  }
}

@media screen and (max-width: 550px) {
  form#mail_form p#form_submit img {
    position: absolute;
    top: 32px;
    right: 24%;
  }
  form#mail_form textarea {
    height: 200px;
  }
}

/* -- loading -------------------------------------------------------------------------------- */

div.loading-layer {
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  position: fixed;
  left: 0px;
  top: 0px;
  z-index: 10000;
}

span.loading {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border-top: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid #ffffff;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load-circle 1s linear infinite;
  animation: load-circle 1s 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);
  }
}
