@charset "utf-8";

/* *****************************************************************************

  contact style

***************************************************************************** */
/* contact-table */
.contact-table{
  width: 100%;
  margin-top: 40px;
  margin-bottom: 40px;
  overflow: hidden;
}
.contact-box{
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}
.contact-item,
.contact-input{
  font-size: 1.6rem;
  line-height: 1.75;
}
.contact-item{
  width: 280px;
  padding: 26px 25px 20px;
  border-bottom: 1px solid #e8e8e8;
  background-color: #f3f3fa;
  font-weight: 700;
}
.contact-box:nth-child(1) > .contact-item{
  border-top: 1px solid #e8e8e8;
}
.required{
  display: flex;
}
.required > div:nth-child(1){
  flex: 1;
  /*padding-top: 2px;*/
}
.required div:nth-child(2){
  padding-top: 5px;
}
.required div:nth-child(2) > span{
  font-size: 1.1rem;
  font-weight: 700;
  background-color: #182d94;
  width: 50px;
  line-height: 21px;
  color: #ffffff;
  border-radius: 3px;
  display: inline-block;
  text-align: center;
}
.contact-input{
  flex: 1;
  padding: 20px;
  border-bottom: 1px solid #e8e8e8;
  display: flex;
  align-items: center;
}
.contact-box:nth-child(1) > .contact-input{
  border-top: 1px solid #e8e8e8;
}
.contact-input > div{
  width: 100%;
}
.form-text{
  padding: 8px;
  border: 1px solid #c8c8c8;
  line-height: 1.75;
  font-size: 1.6rem;
  background-color: #ffffff;
  width: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  border-radius: 4px;
  width: 100%;
}
.form-zip{
  max-width: 120px;
}
.form-tel{
  max-width: 160px;
}
.form-item{
  font-size: 1.6rem;
  padding-left: 5px;
  padding-right: 5px;
}
.form-note{
  padding-top: 0.5em;
  font-size: 1.4rem;
}
.form-textarea{
  padding: 8px;
  border: 1px solid #c8c8c8;
  line-height: 1.75;
  font-size: 1.6rem;
  background-color: #ffffff;
  width: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  display: block;
  border-radius: 4px;
}
.form-sentence{
  height: 150px;
}

@media print, screen and (max-width: 1000px){
  /* contact-table */
  .contact-item{
    width: 240px;
    padding: 21px 15px 15px;
  }
  .contact-input{
    padding: 15px;
  }
}

@media print, screen and (max-width: 760px){
  /* contact-table */
  .contact-box{
    display: block;
  }
  .contact-item,
  .contact-input{
    font-size: 1.5rem;
  }
  .contact-item{
    width: 100%;
    padding-top: 15px;
    border-bottom: none;
  }
  .required > div:nth-child(1){
    flex: initial;
  }
  .required > div:nth-child(2){
    margin-left: 15px;
    padding-top: 4px;
  }
  .required div:nth-child(2) > span{
    font-size: 1.1rem;
    width: 46px;
    line-height: 19px;
  }
  .contact-box:nth-child(1) > .contact-item{
    border-top: 1px solid #e8e8e8;
  }
  .contact-input{
    display: block;
  }
  .contact-box:nth-child(1) > .contact-input{
    border-top: none;
  }
  .form-text{
    padding: 10px;
    font-size: 1.5rem;
  }
  .form-note{
    font-size: 1.3rem;
  }
  .form-textarea{
    padding: 10px;
    font-size: 1.5rem;
  }
  .form-sentence{
    height: 120px;
  }
}

/* form-privacy-text */
.form-privacy-text > p{
  font-size: 1.6rem;
  line-height: 2;
  margin-top: 2em;
}
.form-privacy-text > p:nth-child(1){
  margin-top: 0;
}
.form-privacy-text > p > a{
  color: #182d94;
  text-decoration: underline;
}
.form-privacy-text > p > a:hover{
  text-decoration: none;
}

@media screen and (max-width: 760px){
  /* .form-privacy-text */
  .form-privacy-text > p{
      font-size: 1.5rem;
  }
}

/* form-button */
.form-button{
  margin-top: 60px;
  display: flex;
  justify-content: center;
}
.form-button input{
  margin-left: 10px;
  margin-right: 10px;
  font-size: 1.8rem;
  background-color: #182d94;
  padding-left: 80px;
  padding-right: 80px;
  white-space: nowrap;
  text-align: center;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  border: none;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  color: #ffffff;
  width: 100%;
  max-width: 360px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  display: inline-block;
}
.form-button input:hover{
  opacity: 0.75;
}
.form-button .form-button-confirm,
.form-button .form-button-submit{
}
.form-button .form-button-confirm{
  background-color: #bababa;
}
.wpcf7-spinner{
  display: none!important;
}

@media print, screen and (max-width: 1000px){
  /* form-button */
  .form-button input{
    margin-left: 5px;
    margin-right: 5px;
  }
}

@media print, screen and (max-width: 760px){
  /* form-button */
  .form-button{
    margin-top: 40px;
  }
  .form-button input{
    font-size: 1.6rem;
    padding-left: 60px;
    padding-right: 60px;
    max-width: 320px;
    height: 60px;
    margin-left: 1%;
    margin-right: 1%;
  }
  .form-button input:hover{
    opacity: 1;
  }
}

@media print, screen and (max-width: 540px){
  /* form-button */
  .form-button{
    display: block;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .form-button input{
    width: 100%;
    max-width: none;
    margin-bottom: 10px;
    padding-left: 0;
    padding-right: 0;
  }
}

/* wpcf7-response-output */
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output{
  border-color: #dc3232 !important;
  color: #dc3232;
  font-weight: 700;
}

/* *****************************************************************************

  thanks style

***************************************************************************** */
/* thanks-back */
.thanks-back{
  display: inline-block;
  width: 100%;
  margin-top: 80px;
}
.thanks-back > a{
  width: 100%;
  display: inline-block;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  white-space: nowrap;
  color: #182d94;
  padding-left: 22px;
  background: url(/assets/images/arrow-link-back-blue.svg) left 12px no-repeat;
  background-size: 8px auto;
  font-size: 1.6rem;
  text-decoration: none;
  font-weight: 700;
}
.thanks-back > a:hover{
  opacity: 0.75;
}

@media print, screen and (max-width: 760px){
  /* news-area-button */
  .thanks-back{
    margin-top: 60px;
  }
  .thanks-back > a,
  .thanks-back > a:hover{
    padding-left: 18px;
    background: url(/assets/images/arrow-link-back-blue.svg) left 10px no-repeat;
    background-size: 7px auto;
    font-size: 1.5rem;
  }
  .thanks-back > a:hover{
    opacity: 1;
  }
}
