@charset "utf-8";
/*
theme Name:quest furin contact
Author:quest law firm
Description:original theme
version： 1.0.0
*/

/* -----------------------------------------------
  common
------------------------------------------------ */
.innerM {
  width: 1008px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}
@media screen and (max-width: 960px) {
  .innerM {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
}

.innerS {
  width: 840px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}
@media screen and (max-width: 960px) {
  .innerS {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
}

.innerSs {
  width: 670px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}
@media screen and (max-width: 960px) {
  .innerSs {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
}

.contact-ttl {
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 1em;
  padding-left: .6em;
  border-left: solid 4px #514f87;
}
@media screen and (max-width: 960px) {
  .contact-ttl {
    font-size: 2.0rem;
    border-left: solid 3px #514f87;
  }
}

/* -----------------------------------------------
  mainView
------------------------------------------------ */
#contact .mainView01 {
  width: 100%;
  height: 400px;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url("../img/contact/keyv_bg_pc.png");
}
@media screen and (max-width: 960px) {
  #contact .mainView01 {
    height: 200px;
    background-image: url("../img/contact/keyv_bg_sp.png");
  }
}
#contact .mainView01 .ttlArea {
  padding-top: 170px;
  text-align: center;
}
@media screen and (max-width: 960px) {
  #contact .mainView01 .ttlArea {
    padding-top: 75px;
  }
  #contact .mainView01 .ttlArea__ttl img {
    width: 143px;
  }
}

/* -----------------------------------------------
  lead
------------------------------------------------ */
#contact #lead {
  padding-top: 100px;
  padding-bottom: 70px;
}
@media screen and (max-width: 960px) {
  #contact #lead {
    padding-top: 50px;
    padding-bottom: 80px;
  }
}
#contact #lead.thanks {
  padding-top: 0;
  padding-bottom: 100px;
}
@media screen and (max-width: 960px) {
  #contact #lead.thanks {
    padding-bottom: 50px;
  }
}
#contact #lead .lead__txt {
  text-align: center;
  margin-bottom: 60px;
}
@media screen and (max-width: 960px) {
  #contact #lead .lead__txt {
    font-size: 1.2rem;
    text-align: left;
  }
}
#contact #lead .lead__tel {
  border: solid 1px rgba(0, 0, 0, 0.2);
  padding: 25px;
  text-align: center;
}
@media screen and (max-width: 960px) {
  #contact #lead .lead__tel {
    padding: 15px;
  }
}
#contact #lead .lead__num {
  line-height: 1;
}
#contact #lead .lead__num img {
  width: 240px;
}
@media screen and (max-width: 960px) {
  #contact #lead .lead__num img {
    width: 210px;
  }
}
@media screen and (max-width: 960px) {
  #contact #lead .lead__time {
    font-size: 1.2rem;
  }
}

/* -----------------------------------------------
  form
------------------------------------------------ */
.formErrorContent {
  display: inline-block;
  width: auto !important;
}

.formError .formErrorContent {
  border: none !important;
  box-shadow: none !important;
  -moz-box-shadow: none !important;
  -webkit-box-shadow: none !important;
  -o-box-shadow: none !important;
  border-radius: 0 !important;
  -moz-border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
  -o-border-radius: 0 !important;
}

.formError .formErrorArrow div {
  border-left: none !important;
  border-right: none !important;
  box-shadow: none !important;
  -moz-box-shadow: none !important;
  -webkit-box-shadow: none !important;
  -o-box-shadow: none !important;
}

.radio01formError, .cont01formError, .agreeformError {
  margin-top: -40px !important;
}

#contact #form {
  padding-bottom: 100px;
}
@media screen and (max-width: 960px) {
  #contact #form {
    padding-bottom: 50px;
  }
}
#contact #form.conf {
  padding-top: 100px;
}
@media screen and (max-width: 960px) {
  #contact #form.conf {
    padding-top: 50px;
  }
}
#contact #form.thanks {
  padding-top: 100px;
  padding-bottom: 50px;
}
@media screen and (max-width: 960px) {
  #contact #form.thanks {
    padding-top: 50px;
    padding-bottom: 30px;
  }
}
@media screen and (max-width: 960px) {
  #contact #form .form__lead {
    font-size: 1.2rem;
  }
}
#contact #form .form__lead .caution {
  color: #d40000;
}
#contact #form .form__lead span {
  display: inline-block;
  padding: 1em 0 0 0;
  color: #666;
}
#contact #form .form .tbl {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 70px;
}
@media screen and (max-width: 960px) {
  #contact #form .form .tbl {
    margin-bottom: 40px;
  }
}
@media screen and (max-width: 960px) {
  #contact #form .form .tbl tr {
    position: relative;
    border-bottom: solid 1px #dcdcdc;
  }
  #contact #form .form .tbl tr::after {
    display: block;
    content: "";
    width: 30%;
    height: 1px;
    background: #b5b5b5;
    position: absolute;
    border-top: 0;
    left: 20px;
  }
}
@media screen and (max-width: 960px) {
  #contact #form .form .tbl tr.bdno {
    border: none;
  }
  #contact #form .form .tbl tr.bdno::after {
    display: none;
  }
}
#contact #form .form .tbl tr.bdno th {
  padding: 20px 0 20px 4.5rem;
  border: none;
}
@media screen and (max-width: 960px) {
  #contact #form .form .tbl tr.bdno th {
    padding: 15px 0 15px 40px;
  }
}
#contact #form .form .tbl tr.bdno th .mus {
  top: 22px;
}
@media screen and (max-width: 960px) {
  #contact #form .form .tbl tr.bdno th .mus {
    top: 17px;
  }
}
#contact #form .form .tbl tr.bdno td {
  padding: 0;
  border: none;
}
@media screen and (max-width: 960px) {
  #contact #form .form .tbl tr.bdno td {
    padding: 0 0 15px 0;
  }
}
#contact #form .form .tbl th {
  width: 200px;
  padding: 40px 0 40px 4.5rem;
  border-bottom: solid 1px #b5b5b5;
  font-size: 1.5rem;
  font-weight: bold;
  vertical-align: top;
  position: relative;
  white-space: nowrap;
}
@media screen and (max-width: 960px) {
  #contact #form .form .tbl th {
    display: block;
    width: 100%;
    padding: 15px 0 15px 35px;
    border-bottom: none;
    font-size: 1.4rem;
    white-space: wrap;
  }
}
#contact #form .form .tbl th .mus {
  position: absolute;
  top: 42px;
  left: 0;
}
@media screen and (max-width: 960px) {
  #contact #form .form .tbl th .mus {
    top: 17px;
  }
}
#contact #form .form .tbl td {
  width: 440px;
  padding: 30px 0 30px 30px;
  border-bottom: solid 1px #dcdcdc;
  position: relative;
}
@media screen and (max-width: 960px) {
  #contact #form .form .tbl td {
    display: block;
    width: 100%;
    padding: 0 0 15px 0;
    border-bottom: none;
    font-size: 1.4rem;
  }
}
#contact #form .form .tbl td .sex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-flow: row nowrap;
          flex-flow: row nowrap;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}
#contact #form .form .tbl td .sex__item:first-child {
  margin-right: 40px;
}
@media screen and (max-width: 960px) {
  #contact #form .form .tbl td .sex__item:first-child {
    margin-right: 20px;
  }
}
#contact #form .form .tbl td .list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-flow: row wrap;
          flex-flow: row wrap;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}
@media screen and (max-width: 960px) {
  #contact #form .form .tbl td .list {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-flow: column wrap;
            flex-flow: column wrap;
  }
}
#contact #form .form .tbl td .list__item {
  width: 50%;
  margin-bottom: .8em;
}
@media screen and (max-width: 960px) {
  #contact #form .form .tbl td .list__item {
    width: 100%;
  }
}
#contact #form .form input[type="text"], #contact #form .form textarea {
  font-size: 1.4rem;
  padding: .8em;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  border-radius: 0;
}
#contact #form .form .radio {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  visibility: hidden;
  opacity: 0;
  width: 0;
  height: 0;
}
#contact #form .form .radio + label {
  padding-left: 20px;
  position: relative;
  margin-right: 0;
  cursor: pointer;
}
#contact #form .form .radio + label::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border: 1px solid #dcdcdc;
  border-radius: 50%;
}
#contact #form .form .radio:checked + label::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border: 4px solid #f3663d;
  border-radius: 50%;
}
#contact #form .form .checkbox {
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  visibility: hidden;
  opacity: 0;
  width: 0;
  height: 0;
}
#contact #form .form .checkbox + label {
  padding-left: 20px;
  position: relative;
  margin-right: 0;
  cursor: pointer;
}
#contact #form .form .checkbox + label::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  border: 1px solid #dcdcdc;
}
#contact #form .form .checkbox:checked + label::before {
  border: 1px solid #f3663d;
  background: #f3663d;
}
#contact #form .form .checkbox:checked + label::after {
  content: "";
  display: block;
  position: absolute;
  top: 2px;
  left: 4px;
  width: 6px;
  height: 8px;
  -webkit-transform: rotate(40deg);
          transform: rotate(40deg);
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
}
#contact #form .form select {
  -webkit-appearance: menulist !important;
  width: 100%;
  height: 40px;
  font-size: 1.4rem;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  border-radius: 0;
}
#contact #form .form .privacy {
  height: 120px;
  border: solid 1px #dcdcdc;
  background: rgba(51, 51, 51, 0.05);
  padding: 20px 30px;
  overflow: scroll;
  margin-bottom: 20px;
}
@media screen and (max-width: 960px) {
  #contact #form .form .privacy {
    padding: 15px;
  }
}
#contact #form .form .privacy__txt {
  font-size: 1.5rem;
  color: #979797;
}
@media screen and (max-width: 960px) {
  #contact #form .form .privacy__txt {
    font-size: 1.3rem;
  }
}
#contact #form .form .btnArea .submit {
  display: block;
  width: 100%;
  height: 80px;
  line-height: 80px;
  background: #f3663d;
  font-size: 2.0rem;
  font-weight: bold;
  color: #fff;
  text-align: center;
  border: none;
  cursor: pointer;
  -webkit-transition: all 400ms ease;
  transition: all 400ms ease;
  border-radius: 0;
}
@media screen and (max-width: 960px) {
  #contact #form .form .btnArea .submit {
    height: 60px;
    line-height: 60px;
    font-size: 1.8rem;
  }
}
#contact #form .form .btnArea .submit:hover {
  opacity: .6;
}
#contact #form .form .btnArea .submit--back {
  background: #ddd;
}
#contact #form .form .btnArea__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-flow: row nowrap;
          flex-flow: row nowrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
@media screen and (max-width: 960px) {
  #contact #form .form .btnArea__list {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-flow: column nowrap;
            flex-flow: column nowrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}
#contact #form .form .btnArea__item {
  width: 48%;
}
@media screen and (max-width: 960px) {
  #contact #form .form .btnArea__item {
    width: 100%;
    margin-bottom: 10px;
  }
}
#contact #form .form .mus {
  display: inline-block;
  background: #d40000;
  padding: .3em;
  font-size: 1.2rem;
  line-height: 1;
  font-weight: bold;
  color: #fff;
  margin: 0 .4em;
}
@media screen and (max-width: 960px) {
  #contact #form .form .mus {
    font-size: 1.1rem;
    margin: 0;
  }
}

.safari #contact #form .form .tbl td {
  padding: 30px 0 30px 10px;
}
@media screen and (max-width: 960px) {
  .safari #contact #form .form .tbl td {
    padding: 0 0 15px 0;
  }
}


#contact #form .form .btnArea #confirm01,
#contact #form .form .btnArea #back01,
#contact #form .form .btnArea #submit01 {
  display: block;
  width: 100%;
  height: 80px;
  line-height: 80px;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  border: none;
  cursor: pointer;
  -webkit-transition: all .4s ease;
  transition: all .4s ease;
  border-radius: 0;
}
#contact #form .form .btnArea #submit01 {
  background-color: #f3663d;
}
