@charset "utf-8";

/* ------------------------------
    form
------------------------------ */

#contact .wrap {
  padding: 40px 93px 94px;
  background: url(../img/contact/bg_paper.png) #fff no-repeat right -1px bottom;
}

#contact .form .box {
  padding: 25px 0;
  border-bottom: 4px dotted #d2bf94;
}

#contact .form .box dl {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

#contact .form .box dl + dl {
  margin-top: 20px;
}

#contact .form .box dl dt,
#contact .form .box dl dd {
  font-size: 2rem;
  color: #000000;
}

#contact .form .box dl dt {
  font-weight: 700;
  width: 255px;
  padding-top: .6em;
  letter-spacing: 0;
}


#contact .form .box dl dt .must {
  display: inline-block;
  line-height: 1;
  color: #fff;
  background: #FF7800;
  font-size: 1.4rem;
  padding: 0 .4em;
  height: 18px;
  line-height: 18px;
  margin-left: .5em;
  position: relative;
  top: -.1em;
  border-radius: 4px;
}

#contact .form .box dl dd {
  width: calc(100% - 255px);
}

#contact .form .box dl dd.flex {
  justify-content: space-between;
}

#contact .form .box dl dd.flex p {
  display: flex;
  align-items: center;
}

#contact .form .box dl dd span {
  display: inline-block;
  min-width: 2.7em;
  font-size: 2rem;
  font-weight: bold;
  color: #000000;
}

#contact .form .box.privacy {
  padding: 30px 0;
  border-bottom: none;
}

#contact .form .box .address dt,
#contact .form .box.privacy dl dt {
  padding-top: 0;
}

#contact .form .box.privacy dl dd {
  padding-left: 47px;
}

#contact .form .box.privacy dl dd a {
  font-size: 2rem;
  margin-left: 1.2em;
  text-decoration: underline;
  color: #000;
}

#contact .form input[type="text"],
#contact .form input[type="email"],
#contact .form input[type="tel"],
#contact .form select,
#contact .form textarea {
  background: #F5F1E7;
  height: 60px;
  border: 1px solid #D2BF94;
  padding: .5em 1em;
  width: 100%;
  font-size: 2rem;
  border-radius: 10px;
}

#contact .form input.short {
  width: 256px;
}

#contact .form .phone input {
  width: 212px;
  /* margin-right: 6px; */
}

#contact .form .phone input:last-child {
  margin-right: 0;
}

#contact .form .box .address p + p {
  margin-top: 12px;
}

#contact .form .box .address span {
  display: block;
}

#contact .form .box .address .post input {
  width: 212px;
  margin-right: 6px;
}

#contact .form .box .address .post_row {
  display: flex;
  justify-content: flex-start;
}

#contact .form .box .address .post_btn {
  display: inline-block;
  width: 172px;
  height: 56px;
  border-radius: 10px;
  box-shadow: 0 4px #d46c00;
  position: relative;
  cursor: pointer;
  top: -4px;
}

#contact .form .box .address .post_btn input[type='button'] {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  background: #ff7800;
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.22;
  border-radius: 10px;
  transition: all .3s ease;
  cursor: pointer;
}



#contact .form .select select {
  width: 256px;
  background: #F5F1E7 url(../img/contact/select.png) no-repeat right -1px center;
  background-size: contain;
  padding-right: 1.5em;
}
#contact .form .select.long select{
  width: 100%;
}
#contact .form .select span {
  line-height: 1;
  vertical-align: bottom;
  min-width: inherit;
  margin-left: 1em;
  margin-bottom: .2em;
}

#contact .form textarea {
  height: 360px;
  resize: vertical;
  overflow: auto;
}


#contact .form input[type='checkbox'] {
  display: none;
}

#contact .form input[type='checkbox'] + label {
  position: relative;
  padding-left: 2.2em;
  font-weight: bold;
}

#contact .form input[type='checkbox'] + label::before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: .1em;
  width: 1.4em;
  height: 1.4em;
  background: #F5F1E7;
  border: 1px solid #D2BF94;
  border-radius: 6px;
  margin-right: .3em;
}

#contact .form input[type='checkbox']:checked + label::after {
  content: '';
  display: block;
  position: absolute;
  left: .1em;
  top: .2em;
  width: .8em;
  height: .5em;
  margin: .2em 0 0 .2em;
  border-bottom: 2px solid #000;
  border-left: 2px solid #000;
  transform: rotate(-45deg);
  border-radius: 0;
  background: transparent;
}



#contact .form .form_btn {
  display: block;
  width: 356px;
  height: 95px;
  border-radius: 10px;
  box-shadow: 0 4px #d46c00;
  position: relative;
  margin: 60px auto 0;
}

#contact .form .form_btn span {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  background: #ff7800;
  font-size: 3.2rem;
  font-weight: bold;
  line-height: 1.22;
  border-radius: 10px;
  transition: all .3s ease;
}

@media screen and (min-width: 769px) {

  #contact .form .box .post_btn:hover input[type='button'],
  #contact .form .form_btn:hover span {
    -webkit-transform: translateY(4px);
    transform: translateY(4px);
    opacity: 1;
  }

}


@media screen and (max-width: 768px) {
  #contact .wrap {
    padding: 20px 5% 60px;
    background: url(../img/contact/bg_paper.png) #fff no-repeat right -1px bottom / 100px auto;
  }

  #contact .form .box {
    padding: 15px 0;
    border-bottom: 2px dotted #d2bf94;
  }

  #contact .form .box dl {
    display: block;
  }

  #contact .form .box dl + dl {
    margin-top: 15px;
  }

  #contact .form .box dl dt,
  #contact .form .box dl dd {
    font-size: 1.6rem;
  }

  #contact .form .box dl dt {
    width: 100%;
    padding-top: 0;
    margin-bottom: .5em;
  }


  #contact .form .box dl dt .must {
    font-size: 1.1rem;
    height: 16px;
    line-height: 16px;
    top: -.2em;
    border-radius: 3px;
  }

  #contact .form .box dl dd {
    width: 100%;
  }

  #contact .form .box dl dd.flex {
    flex-direction: column;
  }

  #contact .form .box dl dd.flex p + p {
    margin-top: 10px;
  }

  #contact .form .box dl dd span {
    min-width: 2.5em;
    font-size: 1.6rem;
  }

  #contact .form .box.privacy {
    padding: 15px 0;
  }

  #contact .form .box.privacy dl dd {
    padding-left: 0;
  }

  #contact .form .box.privacy dl dd a {
    display: inline-block;
    font-size: 1.4rem;
  }

  #contact .form input[type="text"],
  #contact .form input[type="email"],
  #contact .form input[type="tel"],
  #contact .form select,
  #contact .form textarea {
    height: 40px;
    font-size: 1.6rem;
    border-radius: 5px;
    padding: .5em;
  }

  #contact .form input.short {
    width: 100%;
    max-width: 218px;
  }

  #contact .form .phone input {
    width: 100%;
    margin-right: 2%;
  }

  #contact .form .box .address p + p {
    margin-top: 10px;
  }

  #contact .form .box .address span {
    display: block;
  }

  #contact .form .box .address .post input {
    width: 42%;
    max-width: 218px;
    margin-right: 2%;
  }

  #contact .form .box .address .post_btn {
    height: 40px;
    border-radius: 5px;
    box-shadow: 0 3px #d46c00;
    top: -2px;
  }

  #contact .form .box .address .post_btn input[type='button'] {
    font-size: 1.4rem;
    border-radius: 5px;
  }



  #contact .form .select select {
    width: 150px;
  }

  #contact .form .select span {
    margin-left: .5em;
  }

  #contact .form textarea {
    height: 200px;
  }

  #contact .form input[type='checkbox'] + label {
    padding-left: 1.8em;
  }

  #contact .form input[type='checkbox'] + label::before {
    border-radius: 4px;
  }

  #contact .form .form_btn {
    width: 80%;
    max-width: 356px;
    height: 50px;
    border-radius: 5px;
    box-shadow: 0 3px #d46c00;
    margin: 30px auto 0;
    font-size: 2rem;
  }

  #contact .form .form_btn span {
    font-size: 2rem;
    border-radius: 5px;
  }
}


[data-name="zipcode1"],
[data-name="zipcode2"],
.post_btn {
  display: inline-block !important;
}

[data-name="tel-1"],
[data-name="tel-2"] {
  margin-right: 11px;
}

@media screen and (max-width: 768px) {
  [data-name="tel-1"],
  [data-name="tel-2"],
  [data-name="tel-3"] {
    width: 30%;
  }
}

[data-name="acceptance-check"] .wpcf7-list-item-label::before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: .3em;
  width: 1.4em;
  height: 1.4em;
  background: #F5F1E7;
  border: 1px solid #D2BF94;
  border-radius: 6px;
  margin-right: .3em;
}
[data-name="acceptance-check"] input[type='checkbox']:checked + .wpcf7-list-item-label::after {
  content: '';
  display: block;
  position: absolute;
  left: .1em;
  top: .4em;
  width: .8em;
  height: .5em;
  margin: .2em 0 0 .2em;
  border-bottom: 2px solid #000;
  border-left: 2px solid #000;
  transform: rotate(-45deg);
  border-radius: 0;
  background: transparent;
}

[data-name="acceptance-check"] .wpcf7-list-item {
  margin-left: 2em;
}

#contact .form .form_btn {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  background: #ff7800;
  font-size: 3.2rem;
  font-weight: bold;
  line-height: 1.22;
  border-radius: 10px;
  transition: all .3s ease;
  width: 356px;
  height: 95px;
  box-shadow: 0 4px #d46c00;
  margin: 60px auto 0;
}

#contact .form .form_btn:not(:disabled){
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  #contact .form .form_btn {
    width: 80%;
    max-width: 356px;
    height: 50px;
    border-radius: 5px;
    box-shadow: 0 3px #d46c00;
    margin: 30px auto 0;
    font-size: 2rem;
  }
}

#contact .form .form_btn:disabled {
  opacity: .65;
}

#contact .form .form_btn:not(:disabled):hover{
  transform: translateY(4px);
  opacity: 1;
  box-shadow: 0 0 #d46c00;
}

#contact .form .box dl dd [data-name="your-email"],
#contact .form .box dl dd [data-name="message"] {
  width: 100%;
}

#contact .form .box .address span.zipwrap {
  display: flex;
  align-items: flex-start;
}

@media screen and (max-width: 768px) {
  #contact .form .box .address span.zipwrap {
    display: flex;
    justify-content: flex-start;
  }
  #contact .form .box .address span.zipwrap input {
    width: 98%;
  }
}

.wpcf7-form-control-wrap[data-name="old"] {
  margin-left: 0 !important;
}

.wpcf7-form-control-wrap.occupation {
  width: 100%;
  margin-left: 0 !important;
}

div.wpcf7-response-output {
  font-size: 1.6rem;
  padding: 1em;
  text-align: center;
  line-height: 1.6;
}

div.wpcf7 .ajax-loader {
  margin: 30px auto 0;
  display: block;
}

#contact .form .box dl dd span.wpcf7-not-valid-tip {
  color: #f00;
  font-size: .75em;
  font-weight: normal;
  display: block;
  margin-left: 0;
  /* position: absolute;
  bottom: -25px; */
}
@media screen and (max-width: 768px) {
  #contact .form .box dl dd span.wpcf7-not-valid-tip {
    bottom: -1.8em;
  }
}

.wpcf7-form-control-wrap #year + .wpcf7-not-valid-tip {
  margin-left: 0 !important;
}

.wpcf7-form-control#year {
  width: 7em !important;
  background: #F5F1E7;
  height: 60px;
  border: 1px solid #D2BF94;
  padding: .5em 1em;
  width: 100%;
  font-size: 2rem;
  border-radius: 10px;
  -moz-appearance:textfield;
}

@media screen and (max-width: 768px) {
  .wpcf7-form-control#year {
    height: 40px;
    width: 3em !important;
  }
}

.wpcf7-form-control#year::-webkit-outer-spin-button,
.wpcf7-form-control#year::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.wpcf7-form-control#year::-ms-clear  {
  visibility:hidden
}
