/* ---------------------------------------------------------------------------------------------

　   CASE

--------------------------------------------------------------------------------------------- */


.case_box {
  background: #FAFAFA;
  position: relative;
  font-size: 13px;
}
.case_box p {
  line-height: 1.8em;
}
.case_box figure {
  text-align: center;
}
.case_box figure img {
  border-radius: 50%;
  margin: 0 auto;
}
.case_list .case_name {
  text-align: center;
  color: #0C203C;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 1em;
  line-height: 1.3em;
}
.case_list .case_name span {
  color: #7E7E7E;
  font-size: 14px;
  margin-left: 1em;
  line-height: 1.3em;
}
.case_list .case_company {
  text-align: center;
  margin-bottom: 1em;
  color: #0C203C;
  line-height: 1.3em;
  font-size: 16px;
  font-weight: 500;
}
.case_box_inner {
  margin-bottom: 20px;
}
.case_box_inner:last-child {
  margin-bottom: 0;
}

@media only screen and ( max-width : 991px ) {
}
@media only screen and ( max-width : 767px ) {

  .case_box {
    padding: 20px;
    margin-bottom: 30px;
  }
  .case_box:last-child {
    margin-bottom: 0;
  }
  .case_box figure {
    margin-bottom: 20px;
  }
  .case_box figure img {
    width: 180px;
    height: 180px;
  }
}

@media print, screen and ( min-width : 768px ) {

  .case_box {
    width: 48%;
    margin-right: 4%;
    margin-top: 30px;
  }
  .case_box .btn {
    margin-top: auto;
  }
  .case_box a {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 30px;
  }
  .case_box:nth-child(-n+2) {
    margin-top: 0;
  }
  .case_box:nth-child(2n) {
    margin-right: 0;
  }
  .case_box figure {
    margin-bottom: 30px;
  }
  .case_box figure img {
    width: 180px;
    height: 180px;
  }

}
@media print, screen and ( min-width : 992px ) {
  .case_box {
    width: 32%;
    margin-right: 2%;
  }
  .case_box:nth-child(-n+2) {
    margin-top: 30px;
  }
  .case_box:nth-child(-n+3) {
    margin-top: 0;
  }
  .case_box:nth-child(2n) {
    margin-right: 2%;
  }
  .case_box:nth-child(3n) {
    margin-right: 0;
  }
  .case_box figure img {
    width: 214px;
    height: 214px;
  }

}