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

/*==============================================================================
  top-mainView
==============================================================================*/
.top-mainView {
  width: 100%;
  height: 480px;
  background-image: url("../img/top/bg_mv.png");
  background-size: cover;
  background-position: center;
}
@media screen and (max-width: 960px) {
  .top-mainView {
    height: auto;
    background-image: none;
  }
}
.top-mainView__inner {
  padding-top: 22px;
}
@media screen and (max-width: 960px) {
  .top-mainView__inner {
    padding: 0;
  }
}
.top-mainView__inner h1 img {
  width: 524px;
}
@media screen and (max-width: 960px) {
  .top-mainView__inner h1 img {
    width: 100%;
  }
}

/*==============================================================================
  button
==============================================================================*/
.btnArea .button {
  text-align: center;
}
.btnArea .button a {
  position: relative;
  display: block;
  margin: 0 auto;
  line-height: 3.3;
  width: 40%;
  color: #2e3191;
  border: solid 1px #2e3191;
  border-radius: 5px;
}
.btnArea .button a::before {
  content: "";
  display: block;
  position: absolute;
  top: 30%;
  -webkit-transform: translateY(-30%);
  transform: translateY(-30%);
  right: 15px;
  width: 14px;
  height: 30px;
  background-image: url("../img/top/right_arrow.png");
  background-repeat: no-repeat;
  background-size: cover;
  transition: all .3s ease-in-out;
}
.btnArea .button a:hover {
  opacity: .5;
}
.btnArea .button a:hover::before {
  margin-right: -7px;
}
@media screen and (max-width: 960px) {
  .btnArea .button a {
    width: 100%;
  }
}

/*==============================================================================
  president
==============================================================================*/
#president {
  background-image: url("../img/top/bg_president.png");
  background-repeat: repeat-x;
}
#president .innerS {
  padding: 0;
  width: 856px;
}
@media screen and (max-width: 960px) {
  #president .innerS {
    padding-top: 30px;
    width: 100%;
  }
}

/*==============================================================================
  nayami
==============================================================================*/
#nayami {
  padding:  60px 0 0;
}
#nayami .innerS {
  position: relative;
  padding: 0 0 120px;
}
#nayami .innerS::after {
  position: absolute;
  content: "";
  bottom: 0;
  right: 0;
  height: 125px;
  width: 200px;
  background-image: url("../img/top/bg_nayami.png");
  background-repeat: no-repeat;
  background-size: cover;
}
#nayami .innerS h2 {
  margin-bottom: 40px;
}
#nayami ul {
  display: flex;
  flex-flow: row wrap;
}
#nayami li {
  width: 31.5%;
  margin-bottom: 18px;
  margin-right: 18px;
}
#nayami li:nth-of-type(3n),
#nayami li:last-child {
  margin-right: 0;
}
@media screen and (max-width: 960px) {
  #nayami {
    padding:  20px 15px 0;
  }
  #nayami .innerS {
    background-size: 70%;
    padding: 0 0 20px;
  }
  #nayami .innerS::after {
    right: -15px;
    width: 45%;
    height: 25%;
    background-image: url("../img/top/bg_nayami_sp.png");
    background-size: contain;
  }
  #nayami .innerS h2 {
    margin-bottom: 20px;
  }
  #nayami li {
    margin-bottom: 10px;
    margin-right: 0;
    width: 100%;
  }
}

/*==============================================================================
  caseList
==============================================================================*/
#caseList {
  /*padding-bottom: 100px;*/
}
#caseList h2 {
  text-align: center;
  /*margin-bottom: 20px;*/
  height: 167px;
  background-size: 100% 167px;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("../img/top/bg_caselist01.png");
}
#caseList h2 img {
  height: 140px;
}
#caseList ul {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
}
#caseList li {
  width: 31.5%;
  margin-bottom: 18px;
  margin-right: 18px;
}
#caseList li:nth-of-type(3n),
#caseList li:last-child {
  margin-right: 0;
}
#caseList .button {
  margin-top: 20px;
}
@media screen and (max-width: 960px) {
  #caseList h2 {
    height: auto;
    background-image: none;
  }
  #caseList li {
    width: 47.5%;
    margin-bottom: 10px;
    margin-right: 10px;
  }
  #caseList li:nth-of-type(3n) {
    margin-right: 10px
  }
  #caseList li:nth-of-type(2n) {
    margin-right: 0;
  }
}

/*==============================================================================
  caseDetail
==============================================================================*/
.caseDetail h2 {
  display: block;
  text-align: center;
  height: 120px;
  background-size: 100% 120px;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("../img/top/bg_casedetail.png");
}
.caseDetail .caseBox {
  padding: 50px 0 80px;
}
.caseDetail .trapezoid {
  display: inline-block;
  position: relative;
  padding: 5px 15px 0 10px;
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  z-index: 1;
}
.caseDetail .trapezoid::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #01579B;
  z-index: -1;
  transform: scaleY(1) perspective(12px) rotateX(3deg);
  transform-origin: bottom left;
}
.caseDetail .caseTitle {
  position: relative;
  margin-bottom: 30px;
  padding: 30px 35px;
  background: #fff;
}
.caseDetail .caseTitle:before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  margin: auto;
  width: 200px;
  height: 192px;
  background-repeat: no-repeat;
  background-size: contain;
}
.caseDetail .caseTitle .leftArea:first-child {
  width: 300px;
}
#caseDetail1 .caseTitle {
  background: #f8f8f5;
}
#caseDetail1 .caseTitle:before {
  background-image: url("../img/case/case01.png")
}
.caseDetail .leftArea {
  display: inline-block;
}
.caseDetail .leftArea h3 {
  margin-right: 30px;
  padding: 10.5px 0;
  color: #01579B;
  font-size: 2.5rem;
  font-weight: bold;
}
.caseDetail .leftArea ul {
  width: 330px;
}
.caseDetail .leftArea li {
  position: relative;
  margin-bottom: 7px;
  margin-right: 0;
  padding: 3px 0;
  font-size: 1.45rem;
  font-weight: bold;
}
.caseDetail .leftArea li:last-child {
  margin-bottom: 0;
}
.caseDetail .leftArea li:before {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 22%;
  height: 2px;
  background-color: #343d9d;
}
.caseDetail .leftArea li:before,
.caseDetail .leftArea li:after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 22%;
  height: 2px;
  background-color: #343d9d;
}
.caseDetail .leftArea li:after {
  height: 1px;
  width: 78%;
  left: auto;
  right: 0;
  background-color: #d0d0d0;
}
.caseDetail .leftArea li span {
  margin-left: 45px;
  color: #ff7800;
}
.caseDetail .leftArea li:last-child span {
  margin-left: 15px;
}
.caseDetail .leftArea li span small {
  font-size: 1rem;
}
.caseDetail .caseContent,
.caseDetail .result,
.caseDetail .casePoint h4 {
  margin-bottom: 20px;
}
.caseDetail .caseContent .result {
  font-size: 2rem;
  font-weight: bold;
}
.caseDetail .comment .leftArea,
.caseDetail .casePoint .leftArea {
  display: inline-block;
  margin-right: 20px;
  width: 48%;
}
.caseDetail .comment .leftArea:last-child,
.caseDetail .casePoint .leftArea:last-child {
  margin-right: 0;
}
.caseDetail .comment .leftArea p,
.caseDetail .casePoint .leftArea p {
  margin-bottom: 0;
  line-height: 1.8;
  font-size: 1.55rem;
}
.caseDetail .casePoint h4 {
  text-align: center;
  padding: 5px 0;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  background: #c83033;
}
#caseDetail1 .caseBox {
  padding-bottom: 0;
}
#caseDetail1 .btnArea {
  display: block;
  padding: 30px 0 80px;
}
@media screen and (max-width: 960px) {
  .caseDetail h2 {
    height: auto;
    background-image: none;
  }
  .caseDetail .caseBox {
    padding: 50px 15px 50px;
  }
  #caseDetail1 .caseBox {
    padding-top: 20px;
  }
  .caseDetail .caseTitle {
    padding: 10px 20px 20px;
  }
  .caseDetail .leftArea,
  .caseDetail .comment .leftArea,
  .caseDetail .casePoint .leftArea {
    width: 100%;
  }
  .caseDetail .leftArea h3 {
    position: relative;
    margin-right: 0;
    font-size: 1.9rem;
  }
  .caseDetail .caseTitle:before {
    right: -9%;
    bottom: -13%;
    width: 160px;
  }
  #caseDetail8 .caseTitle:before,
  #caseDetail9 .caseTitle:before {
    bottom: -12%;
  }
  .caseDetail .caseTitle .leftArea:first-child {
    width: auto;
  }
  .caseDetail .leftArea ul {
    width: 100%;
  }
  .caseDetail .leftArea li:before {
    width: 24%;
  }
  .caseDetail .leftArea li:before,
  .caseDetail .leftArea li:after {
    width: 24%;
  }
  .caseDetail .leftArea li:after {
    width: 76%;
  }
  .caseDetail .leftArea li {
    font-size: 1.6rem;
  }
  .caseDetail .leftArea li span {
    margin-left: 45px;
  }
  .caseDetail .leftArea li:last-child span {
    margin-left: 12px;
  }
  #caseDetail9 .caseTitle .leftArea li span small {
    margin-left: 75px;
    font-size: 1.3rem;
  }
  .caseDetail .caseContent .result {
    font-size: 1.7rem;
  }
  .caseDetail .comment .leftArea,
  .caseDetail .casePoint .leftArea {
    margin-right: 0;
    margin-bottom: 15px;
  }
  .caseDetail .comment .leftArea:last-child {
    margin-bottom: 0;
  }
  .caseDetail .casePoint h4 {
    padding: 15px 0;
  }
  #caseDetail1 .btnArea {
    padding: 20px 0 50px;
  }
}

/*==============================================================================
  evidence_title
==============================================================================*/
#evidence_title {
  padding-bottom: 50px;
}
#evidence_title h2,
#evidence_title ul {
  background-color: #ede8d9;
}
#evidence_title ul {
  padding: 10px 50px 40px;
  display: flex;
  flex-flow: row wrap;
}
#evidence_title li {
  width: 47.5%;
  margin-bottom: 18px;
  margin-right: 18px;
}
@media screen and (max-width: 960px) {
  #evidence_title {
    padding-bottom: 0;
  }
  #evidence_title .innerM {
    padding-left: 0;
    padding-right: 0;
  }
  #evidence_title ul {
    padding-left: 15px;
    padding-right: 15px;
  }
  #evidence_title li {
    margin-right: 0;
    margin-bottom: 3px;
    width: 100%;
  }
}

/*==============================================================================
  legallab
==============================================================================*/
#legallab {
  text-align: center;
  padding-top: 90px;
  padding-bottom: 10px;
  background-repeat: no-repeat;
  background-image: url("../img/top/bg_legallab01.png");
}
#legallab h2 {
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 20px;
  color: #426a94;
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1.6;
}
#legallab h2::before {
  display: block;
  content: "";
  width: 30px;
  height: 1px;
  background: #104383;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  -webkit- transform: translateY(-50%) translateX(-50%);
  transition: all 400ms ease;
}
#legallab .img {
  padding: 15px 0;
}
#legallab .txt {
  margin: 0;
  padding: 30px 0;
  font-size: 1.5rem;
  font-weight: bold;
}
@media screen and (max-width: 960px) {
  #legallab {
    padding-top: 30px;
    padding-bottom: 20px;
    background-image: none;
  }
  #legallab h2 {
    font-size: 1.68rem;
  }
  #legallab p {
    font-size: 1.116rem;
  }
  #legallab .img {
    padding: 0;
  }
  #legallab .txt {
    padding: 15px 0px 30px;
    font-size: 1.442rem;
  }
}

/*==============================================================================
  faq
==============================================================================*/
#faq .titleArea {
  text-align: center;
  line-height: 100px;
  background: #343d9f;
}
#faq .titleArea h2 {
  color: #fff;
  font-size: 3rem;
  font-weight: bold;
}
#faq .contentArea {
  padding: 50px 0;
  background: #f6f6f6;
}
#faq .contentArea dl {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
  border-right: 1px solid #343D9F;
  border-bottom: 1px solid #343D9F;
  border-left: 1px solid #343D9F;
}
#faq .contentArea dl:last-child {
  margin-bottom: 0;
}
#faq .contentArea dt,
#faq .contentArea dd {
  padding-top: 20px;
  border-top: 1px solid #343D9F;
  background: #fff;
}
#faq .contentArea dt {
  text-align: center;
  width: 10%;
}
#faq .contentArea dt:first-child {
  background: #343D9F;
}
#faq .contentArea dd {
  padding: 20px;
  width: 90%;
}
#faq .contentArea dt:first-child + dd {
  color: #343D9F;
  font-size: 1.8rem;
  font-weight: bold;
}
@media screen and (max-width: 960px) {
  #faq .titleArea {
    line-height: 50px;
  }
  #faq .titleArea h2 {
    font-size: 2rem;
  }
  #faq .contentArea {
    padding: 30px 0;
  }
  #faq .contentArea dt,
  #faq .contentArea dd {
    padding-top: 10px;
  }
  #faq .contentArea dt {
    width: 15%;
  }
  #faq .contentArea dd {
    padding: 10px;
    width: 85%;
    font-size: 1.4rem;
  }
  #faq .contentArea dt:first-child + dd {
    font-size: 1.5rem;
  }
}

/*==============================================================================
  introduction
==============================================================================*/
#introduction {
  padding: 80px 0;
}
#introduction .introductionArea:first-child {
  margin-bottom: 50px;
}
#introduction h2 {
  margin-bottom: 30px;
  padding-bottom: 3px;
  font-size: 2rem;
  font-weight: bold;
  border-bottom: solid 1.5px #333;
}
#introduction .txt,
#introduction .accordion_txt {
  padding: 35px 50px;
}
#introduction .introductionArea:first-child p {
  font-size: 1.5rem;
  margin-bottom: 20px
}
#introduction .txt p:last-child {
  margin-bottom: 0;
}
#introduction .accordion {
  text-align: center;
}
#introduction .accordion_btn {
  position: relative;
  display: block;
  margin: 0 auto;
  width:39%;
  color: #343D9F;
  font-size: 1.7rem;
}
#introduction .accordion_btn::after {
  content: "";
  display: block;
  position: absolute;
  top: 3px;
  right: 15px;
  width: 30px;
  height: 20px;
  background-image: url("../img/top/down_arrow.png");
  background-repeat: no-repeat;
  background-size: contain;
}
#introduction .accordion_btn_up::after {
  content: "";
  background-image: url("../img/top/up_arrow.png");
}
#introduction .accordion_txt {
  display: none;
}
#introduction dl {
  display: flex;
  flex-wrap: wrap;
  border-right: 1px solid #e9e9e4;
  border-bottom: 1px solid #e9e9e4;
  border-left: 1px solid #e9e9e4;
}
#introduction dt,
#introduction dd {
  padding-top: 20px;
  border-top: 1px solid #e9e9e4;
}
#introduction dt {
  text-align: center;
  width: 20%;
  background: #e9e9e4;
  border-top: 1px solid #fff;
}
#introduction dt:first-child {
  border-top: 1px solid #e9e9e4;
}
#introduction dt:nth-of-type(3) {
  padding-top: 35px;
}
#introduction dd {
  padding: 20px;
  width: 80%;
  background: #fff;
}
@media screen and (max-width: 960px) {
  #introduction {
    padding: 50px 0 30px;
  }
  #introduction h2 {
    margin-bottom: 20px;
  }
  #introduction .txt {
    padding: 20px 0 30px;
  }
  #introduction .accordion_txt {
    padding: 35px 0 0;
  }
  #introduction .accordion_txt p:last-child {
    margin-bottom: 0;
  }
  #introduction .accordion_btn {
    width: 100%;
  }
  #introduction dl {
    margin-bottom: 30px;
  }
  #introduction dt {
    width: 30%;
  }
  #introduction dd {
    width: 70%;
  }
  #introduction dt,
  #introduction dd {
    padding-top: 10px;
    font-size: 1.4rem;
  }
  #introduction dd {
    padding: 10px;
  }
  #introduction .accordion_btn::after {
    right: 9%;
  }
}

.front__columns {
  border-top: solid 1px #f5f5f5;
}
.front__columns .front__columns__innner {
  padding-top: 90px;
  padding-bottom: 90px;
}
.front__columns .title h2 {
  position: relative;
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  line-height: 1.45;
  font-size: 2.6rem;
  font-weight: bold;
}
.front__columns .title h2:before {
  display: block;
  content: "";
  width: 30px;
  height: 1px;
  background: #514f87;
  position: absolute;
  bottom: 0;
  left: 0;
  -webkit-transition: all .4s ease;
  transition: all .4s ease;
  left: 50%;
  -webkit-transform: translate(-50%,0);
  transform: translate(-50%,0);
}
.front__columns p {
  text-align: center;
  margin-bottom: 50px;
}
.front__columns .posts_frm_vertical {
  display: flex;
  flex-wrap: wrap;
}
.front__columns .posts_frm_vertical .posts_frm {
  position: relative;
  margin-bottom: 30px;
  margin-right: 2%;
  padding-bottom: 0;
  width: 32%;
  border-radius: 3px;
  background: #fff;
}
.front__columns .posts_frm_vertical .posts_frm:nth-child(3n) {
  margin-right: 0;
}
.front__columns .posts_frm_vertical .flex {
  display: block !important;
}
.front__columns .posts_frm_vertical .posts_image,
.front__columns .posts_frm_vertical .posts_content {
  overflow: hidden;
  width: 100%;
}
.front__columns .posts_frm_vertical .posts_image img {
  object-fit: cover;
  width: 100%;
  height: auto;
}
.front__columns .posts_frm_vertical .posts_content {
  padding: 10px 5px;
  width: 100%;
}
.front__columns .posts_frm .posts_cat,
.front__columns .posts_frm .posts_cat a {
  display: inline-block;
  margin-right: 15px;
  padding: 2px 5px 1px;
  line-height: 1.2;
  color: #959595;
  font-size: 12px;
}
.front__columns .posts_frm_vertical .posts_title {
  margin-bottom: 5px;
  font-size: 15px;
  color: #333;
}
.front__columns .posts_frm .posts_date {
  color: #959595;
  margin-right: 15px;
  font-size: 12px;
}
.front__columns .new__posts_btn {
  text-align: center;
  margin-top: 60px;
}
.front__columns .new__posts_btn a {
  position: relative;
  overflow: hidden;
  padding: 20px 100px;
  color: #333;
  border: solid 1px #ccc;
  z-index: 1;
}
.front__columns .new__posts_btn a::before {
  background: #3A2A57;
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  width: 100%;
  height: 100%;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
  z-index: -1;
}
.front__columns .new__posts_btn a::after {
  position: absolute;
  content: "\f054";
  font-family: 'Font Awesome 5 Free';
  font-weight: 700;
  right: 20px;
}

.front__columns .posts_frm .posts_title:hover {
  text-decoration: underline;

}
.front__columns .new__posts_btn a:hover {
  color: #fff;
  background: #f3663d;
  border: solid 1px #f3663d;
}
@media screen and (max-width: 767px){
  .front__columns .front__columns__innner {
    padding-top: 12vw;
    padding-bottom: 12vw;
  }
  .front__columns .posts_frm_vertical .posts_frm {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    width: 100%;
    border-bottom: solid 1px #eee;
  }
  .front__columns .posts_frm_vertical .flex {
    display: flex !important;
  }
  .front__columns .posts_frm_vertical .posts_image {
    width: 31%;
  }
  .front__columns .posts_frm_vertical .posts_content {
    padding: 0 0 0 1.5rem;
    width: 69%;
  }
  .front__columns .posts_frm .posts_cat,
  .front__columns .posts_frm .posts_cat a {
    position: absolute;
    margin: 0;
    padding: 0;
    right: 1.2rem;
    bottom: 1.5rem;
    font-size: 12px;
  }
}
