@charset "UTF-8";
/*--------------------------------------------------------

 contact

--------------------------------------------------------*/
.contact-fbox {
  margin-bottom: 0;
}


/* Form
--------------------------------------------------------*/
.form {
  max-width: calc(950px + var(--80px));
  padding: var(--40px) var(--40px) var(--60px);
  margin: 0 auto; 
}
.form-area {
  border: 2px solid var(--main);
  border-radius: var(--20px);
}
.form-heading {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.form-notes {
  margin-bottom: var(--40px);
}
.form-notes li {
  margin-left: 1em;
  text-indent: -1em;
}
.form .btn-primary {
  font-size: 1.5rem;
}
@media screen and (max-width: 767px) {
  .form {
    padding: var(--20px) 5% var(--40px);
  }
}


/* Mail Form
--------------------------------------------------------*/
.mailform {
  line-height: 1.8;
}
.required-text {
  margin-bottom: 2rem;
}
.mailform dl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  margin: 0;
  border-bottom: 1px solid var(--gray-de);
}
.mailform dl:first-of-type {
  border-top: 1px solid var(--gray-de);
}
.mailform dl dt {
  width: 20%;
  color: var(--black);
  font-weight: 600;
  padding: var(--20px) 0;
}
.mailform dl dd {
  width: 80%;
  padding: var(--20px) 0 var(--20px) 3%;
}
.mailform dl dt span.required {
  display: inline-block;
  color: red;
  font-style: normal;
  font-weight: 700;
  margin-left: 3px;
}
.mailform dl dt span.optional {
  display: none;
}
.mailform dl dd span.error_blank,
.mailform dl dd span.error_format,
.mailform dl dd span.error_match {
  display: block;
  color: red;
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 5px;
}
.mailform input[type="text"],
.mailform input[type="email"],
.mailform input[type="tel"] {
  width: 100%;
  padding: 7px 10px;
  border: 1px solid #efefef;
  border-radius: 3px;
  background: #f4f4f4;
  -webkit-appearance: none;
  font-size: 1rem;
  font-family: inherit;
  line-height: normal;
}
.mailform input[type="text"]:focus,
.mailform input[type="email"]:focus,
.mailform input[type="tel"]:focus,
.mailform textarea:focus {
  box-shadow: 0px 0px 5px var(--gray-de);
  border: 1px solid var(--blue);
  background: var(--white);
}
.mailform ul li input[type="radio"],
.mailform ul li input[type="checkbox"] {
  margin: 0 10px 0 0;
}
.mailform textarea {
  display: block;
  width: 100%;
  height: 200px;
  padding: 7px 10px;
  resize: vertical;
  border: 1px solid #efefef;
  border-radius: 3px;
  background: #f4f4f4;
  -webkit-appearance: none;
  font-size: 1rem;
  font-family: inherit;
  line-height: normal;
}
.mailform input[name="postal"] {
  width: 30%;
}
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 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;
}
@keyframes load-circle {
  0% {
    -webkit-transform: rotate( 0deg );
    transform: rotate( 0deg );
  }
  100% {
    -webkit-transform: rotate( 360deg );
    transform: rotate( 360deg );
  }
}
@media screen and (max-width: 767px) {
  .required-text {
    margin-bottom: var(--20px);
  }
  .mailform dl dt,
  .mailform dl dd {
    width: 100%;
  }
  .mailform dl dt {
    padding: var(--10px) 0 0;
  }
  .mailform dl dd {
    padding: 0.313rem 0 1rem;
  }
  .mailform input[name="postal"] {
    width: 50%;
  }
}


/* Agreement
--------------------------------------------------------*/
.agreement {
  margin: var(--60px) 0 var(--40px);
  border-bottom: none;
}
.privacy-policy {
  color: var(--black);
  height: 12.5rem;
  padding: 1em;
  margin-bottom: var(--30px);
  border: 1px solid #707070;
  overflow-y: scroll;
  -webkit-overflow-scroll;
}
.privacy-policy h3 {
  font-weight: 700;
  margin-bottom: 1em;
}
.privacy-policy h4 {
  font-size: 0.875rem;
  font-weight: 600;
}
.privacy-policy p {
  font-size: 0.875rem;
  margin-bottom: 1em;
}
.agree-check {
  color: var(--black);
  text-align: center;
}
.agreement input[type="checkbox"] {
  margin-right: 5px;
}
.agreement span.error_check {
  display: none;
  color: red;
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 5px;
}


/* Confirm
--------------------------------------------------------*/
#confirm_field {
  line-height: 1.8;
  display: none;
}
#confirm_field .section-title {
  font-size: 1.5rem;
  text-align: center;
  letter-spacing: 0;
}
#confirm_field dl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  margin: 0;
  border-bottom: 1px solid var(--gray-de);
}
#confirm_field dl dt {
  width: 20%;
  color: var(--black);
  font-weight: 600;
  padding: var(--20px) 0 var(--20px);
}
#confirm_field dl dd {
  width: 80%;
  padding: var(--20px) 0 var(--20px) 5%;
}
#confirm_field input[type="button"] {
  -webkit-appearance: none;
}
.confirm-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--30px) var(--60px);
  padding-top: var(--40px);
}
.confirm-submit .btn-primary {
  margin: 0;
}
@media screen and (max-width: 767px) {
  #confirm_field dl dt,
  .mailform dl dd {
    width: 100%;
  }
  #confirm_field dl dt {
    padding: var(--10px) 0 0;
  }
  #confirm_field dl dd {
    padding: 0.313rem 0 1rem;
  }
  .confirm-submit {
    flex-direction: column-reverse;
  }
}