@charset "utf-8";

.pc {
  display: block;
}

.sp {
  display: none;
}

.contactbody{
  margin-bottom: 180px;
}
.contact .right_img{
  overflow: unset;
}
.contact.thanks .thanksbtn {
  text-align: center;
}
.contact.thanks .thanksbtn a{
  font-size: 0.8vw;
  border: solid 1px #ccc;
  border-radius: 4px;
  padding: 3% 5%;
  display: inline-block;
  letter-spacing: -0.05rem;
}
.contact-p { margin-bottom:60px;}

.contact-p-mail {
	font-size: 18px;
	font-weight: bold;
}

.contact-tel ul { display:flex;}
.thanksbody{
  margin-bottom: 90px;
  line-height: 2.5;
}

#contact .formhead-txt01{
  margin-bottom: 45px;
  color: #0054a6;
}
#contact .telbtn{
  display: block;
  color: #0054a6;
  color: #0054a6;
  font-weight: 900;
  font-size: 200%;
  line-height: 1.8;
}

#contact .f_contact{
  display: none;
}

#contact .contactbody .container,
#thanks .contactbody .container{
  max-width: 1000px;
}

/* form#mail_form * {
  margin: 0;
  padding: 0;
} */

form#mail_form {
  width: 100%;
  margin: 50px auto;
  padding: 20px 0;
  background: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 7px;
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.2);
  font-size: 95%;
  line-height: 1.8;
}

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


form#mail_form dl dt {
  display: flex;
  align-items: center;
  border-top: 1px solid #e7e7e7;
  /* float: none; */
  text-align: left;
  padding: 15px 0 10px;
  font-weight: bold;
  line-height: 1.3;
}
form#mail_form dl dd {
  padding: 0px 0 20px 0px;
}

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

form#mail_form dl dt span {
  display: block;
  font-size: 85%;
}

/* -- for JavaScript ここから -------------------------------------------------------------------------------- */
form#mail_form dl dt span.required,
form#mail_form dl dt span.optional {
  display: inline-block;
  float: left;
  padding: 3px 10px;
  border-radius: 5px;
  margin-right: 10px;
  font-weight: normal;
}

form#mail_form dl dt span.required {
  color: #fff;
  background: #cc261e;
  border: 1px solid #cc261e;
}

form#mail_form dl dt span.optional {
  color: #ffffff;
  background: #aaabac;
  border: 1px solid #aaabac;
}

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 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);
  }
}

/* -- 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 #cccccc;
  border-radius: 3px;
  background: #fafafa;
  -webkit-appearance: none;
  font-size: 100%;
  font-family: inherit;
  margin-top: 7px;
}

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 #cc261e;
  border: 1px solid #cc261e;
  background: #ffffff;
}

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

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: 200px;
  padding: 7px 2%;
  resize: vertical;
  border: 1px solid #cccccc;
  border-radius: 3px;
  background: #fafafa;
  -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,
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 #9E9E9E;
  border-radius: 3px;
  background: #9E9E9E;
  font-size: 100%;
  color: #ffffff;
  text-decoration: none;
}

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

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

form#mail_form p#form_submit {
  width: 100%;
  margin: 0 auto;
  padding-top: 30px;
  text-align: center;
}

form#mail_form input[type="button"] {
  transition: .5s;
  padding: 13px 30px;
  min-width: 220px;
  border: 1px solid #000;
  border-radius: 10px;
  background: #000;
  font-size: 100%;
  color: #ffffff;
  font-family: inherit;
  -webkit-appearance: none;
  transition: 0.5s;
}

form#mail_form input[type="button"]:hover {
  cursor: pointer;
  opacity: 0.7;
  transition: 0.5s;
}

form#mail_form input#form_submit_button {
  font-weight: 600;
}

/* -- responsive ----------------------------------------------------------------------------------------------------------------- */
/* 1000pixel start */
@media screen and (max-width: 1024px) {

  form#mail_form {
    font-size: 18px;
  }
  form#mail_form {
    margin: 0px auto 50px;
    font-size: 100%;
  }

  form#mail_form dl {
    overflow: visible;
  }

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

  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;
  }
}

@media screen and (max-width: 768px) {
  form#mail_form {
    font-size: 17px;
  }
  .contactbody {
    margin-bottom: 120px;
  }
}
@media screen and (max-width: 500px) {
  form#mail_form dl dt span.required,
  form#mail_form dl dt span.optional {
    padding: 1px 10px;
  }
  form#mail_form {
    font-size: 16px;
  }
  form#mail_form input#postal+a{
    font-size: 14px;
  }
  .formhead-txt01{
    letter-spacing: 0.01rem;
  }
  .contact.thanks .thanksbtn a{
    font-size: 0.8vw;
    border: solid 1px #ccc;
    border-radius: 4px;
    padding: 3% 5%;
    display: inline-block;
    letter-spacing: -0.05rem;
  }
}

/* 1000pixel end */

@media screen and (max-width: 479px) {
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }
}



/* ===================================================================

	add

=================================================================== */
.formwrap .policywrap *{
  line-height: 1.5;
  font-weight: normal;
}
.formwrap .policywrap {
  font-size: 15px;
  width: 90%;
  height: 200px;
  overflow-y: auto;
  margin: 30px auto 10px !important;
  padding: 20px !important;
  background: #f1f1f1;
}
.formwrap .policyset {
  margin-bottom: 20px;
  border-top: solid 1px #adadad;
  padding-top: 20px;
}
.formwrap .policyset .ttl {
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 18px;
}
.formwrap .policyset a{
  text-decoration: underline;
}
.formwrap .policywrap p {
  margin-bottom: 10px;
}
.formwrap .policyset.plicysettop{
  border-bottom: solid 1px #adadad;
  margin-bottom: 30px;
  padding-bottom: 30px;
}
.formwrap .policyset.policysetuls p:last-child{
  margin-bottom: 20px !important;
} 
.formwrap .policyset p:last-child{
  margin-bottom: 0;
}


  @media only screen and (max-width: 1024px) {
  }
  @media only screen and (max-width: 768px) {
  }
  @media only screen and (max-width: 479px) {
    .sec_contact .txt .sp{
      display: block;
    }
    .sec_contact .policywrap{
      height: 200px;
      padding: 15px 20px;
      margin: 20px auto 35px;
    }
    .sec_contact .policywrap p{
      font-size: 13px;
      letter-spacing: 0.01rem;
      line-height: 1.8;
    }
    .sec_contact .policyset .ttl {
      margin-bottom: 5px;
      font-size: 16px;
    }
  }

#thanks .nametxt{
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 20px;
  letter-spacing: 0.25rem;
  font-weight: 700;
}
#thanks .tophe{
  margin-top: 45px;
  margin-bottom: 25px;
}
#thanks .tophe a{
  color: #cc261e;
  background: #fff;
  border-radius: 50vh;
  font-size: 18px;
  line-height: 1;
  padding: 15px 60px;
  display: inline-block;
}