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

#form_container {
  padding: 50px 0;
}
#form_container .form_header,
#form_container .form_inner {
  width: 100%;
  max-width: 1008px;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}
#form_container .form_header {
  text-align: center;
}
#form_container .form_header h2  {
  position: relative;
  margin-bottom: 30px;
  font-size: 2.2rem;
  font-weight: bold;
}
#form_container .form_inner .leftBox,
#form_container .form_inner .rightBox {
  text-align: left;
  width: 48%;
  border: solid 2px #eee;
  border-radius: 5px;
}
#form_container .form_inner .leftBox {
  margin-right: 2%;
}
#form_container .form_inner h3 {
  text-align: center;
  line-height: 55px;
  margin-bottom: 30px;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}
#form_container .form_inner .leftBox h3 {
  background-color: #f3663d;
}
#form_container .form_inner .rightBox h3 {
  background-color: #4169e1;
}
#form_container .form_inner form {
  margin: 0 20px;
}
#form_container .form_inner h4 {
  font-weight: bold;
}
#form_container .form_inner .trigger {
  margin-bottom: 2rem;
  border-bottom: dotted 1px #aaa;
}
#form_container .form_inner .trigger ul {
  padding: 1rem 0;
}
/* 金額項目を非表示のため追加 */
#form_container .form_inner .trigger ul {
  /*height: 104px;*/
}

/* !金額項目を非表示のため追加 */
#form_container .form_inner .trigger .leftBox {
  text-align: center;
  margin-bottom: 10px;
  width: 32%;
  border: 0;
}
#form_container .form_inner .column2 .leftBox {
  width: 48%;
}
#form_container .form_inner .trigger .leftBox:nth-of-type(3n),
#form_container .form_inner .trigger .leftBox:last-child {
  margin-right: 0;
}
#form_container .form_inner .trigger label {
  cursor: pointer;
  display: block;
  line-height: 3rem;
  width: 100%;
  font-size: 1.4rem;
  background: #eee;
  border: solid 1px #eee;
  border-radius: 3px;
}
#form_container .form_inner .trigger input[type="radio"] {
  display: none;
}
#form_container .form_inner .leftBox .trigger input[type="radio"]:checked + label {
  background: #f3663d;
  color: #fff;
}
#form_container .form_inner .rightBox .trigger input[type="radio"]:checked + label {
  background: #4169e1;
  color: #fff;
}
#form_container .form_inner input[type="button"] {
  text-align: center;
  margin-right: 5%;
  padding: 0;
  line-height: 35px;
  width: 30%;
  color: #333;
  font-size: 1.3rem;
  background-color: #fff;
  border: solid 1px #333;
  border-radius: 0;
}
#form_container .form_inner input[type="submit"] {
  line-height: 35px;
  width: 63%;
  color: #fff;
  font-size: 1.4rem;
  border-radius: 0;
}
#form_container .form_inner .leftBox input[type="submit"] {
  background-color: #f3663d;
}
#form_container .form_inner .rightBox input[type="submit"] {
  background-color: #4169e1;
}
#form_container #seikyu #searchform01 .mb10 {
  margin-top: 62px;
}
/* 金額項目を非表示のため追加 */
#form_container #seikyu #searchform01 .mb10 {
  margin-top: 0;
}
@media screen and (max-width: 960px) {
  #form_container {
    padding: 12vw 0;
  }
  #form_container .form_header {
    margin-bottom: 5rem;
    padding: 0;
  }
  #form_container .form_header h2 {
    margin-bottom: 0;
  }
  #form_container .form_inner {
    padding: 0;
  }
  #form_container .form_inner .leftBox,
  #form_container .form_inner .rightBox {
    width: 100%;
    border: 0;
    border-radius: 0;
  }
  #form_container .form_inner .leftBox {
    margin-right: 0;
    margin-bottom: 20px;
  }
  #form_container .form_inner .trigger .leftBox {
    margin-right: 2.5%;
    width: 47%;
  }
  #form_container .form_inner .trigger .leftBox:nth-of-type(3n) {
    margin-right: 2%;
  }
  #form_container .form_inner .trigger .leftBox:nth-of-type(2n),
  #form_container .form_inner .trigger .leftBox:last-child {
    margin-right: 0;
  }
  #form_container .form_inner .trigger ul {
    height: auto;
  }
  #form_container .form_inner h3 {
    line-height: 7rem;
    border-radius: 0;
  }
  #form_container .form_inner input[type="button"] {
    line-height: 30px;
    width: 29%;
  }
  #form_container .form_inner input[type="submit"] {
    line-height: 30px;
  }

  /* sp only */
  #form_container .pcNone {
    margin-top: 5rem;
  }
  #form_container .pcNone .leftBox,
  #form_container .pcNone .rightBox {
    position: relative;
    padding: 1rem 0 3rem;
    width: 48%;
    border-radius: 3px;
  }
  #form_container .pcNone .leftBox {
    border: solid 3px #f3663d;
  }
  #form_container .pcNone .rightBox {
    border: solid 3px #4169e1;
  }
  #form_container .pcNone .leftBox::after,
  #form_container .pcNone .rightBox::after {
    position: absolute;
    bottom: 0;
    left: 50%;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
  }
  #form_container .pcNone .leftBox::after {
    color: #f3663d;
  }
  #form_container .pcNone .rightBox::after {
    color: #4169e1;
  }
  #form_container .form_inner h3,
  #form_container .form_inner h4,
  #form_container .pcNone .leftBox:after,
  #form_container .pcNone .rightBox:after,
  #form_container .pcNone .leftBox a,
  #form_container .pcNone .rightBox a {
    font-size: 3.25vw;
  }
  #form_container .form_inner .trigger label,
  #form_container .form_inner input[type=button],
  #form_container .form_inner input[type=submit] {
    line-height: 5rem;
    font-size: 3vw;
  }
  #form_container .pcNone .leftBox a {
    color: #f3663d;
  }
  #form_container .pcNone .rightBox a {
    color: #4169e1;
  }
  #form_container .form_inner .trigger ul {
    padding: 3rem 0;
  }
  #form_container #seikyu #searchform01 .mb10 {
    margin-top: 0;
    padding: 5vw 0;
  }
}
@media screen and (max-width: 767px) {
  #form_container .form_inner h3 {
    line-height: 5rem;
  }
  #form_container .form_inner .trigger ul {
    padding: 1rem 0;
  }
  #form_container .pcNone .leftBox,
  #form_container .pcNone .rightBox {
    padding: 1rem 0 2rem;
  }
  #form_container .form_inner h3,
  #form_container .form_inner h4,
  #form_container .pcNone .leftBox a,
  #form_container .pcNone .rightBox a {
    font-size: 4.265vw;
  }
  #form_container .form_inner .trigger label,
  #form_container .form_inner input[type=button],
  #form_container .form_inner input[type=submit] {
    line-height: 3rem;
    font-size: 3.8vw;
  }
}
