body,html{
  font-size: 10px;
}
.flex{
  display: flex;
}
.ellipsis{
  overflow: hidden;
  -webkit-line-clamp: 1; 
  -webkit-box-orient: vertical;
  display: -webkit-box;
}

@media (min-width: 769px){
  .about_page_box {
      width: 100%;
      /* align-items: center; */
      margin: 5rem 0;
  }
  
    .about_left_box {
      width: 100%;
      padding-right: 4rem;
      font-size: 1.8rem;
    }
    .about_left_box p > span{
      font-size: 1.8rem;
    }
  
    .about_left_box_title{
      font-size: 2.4rem;
      font-weight: 700;
      display: inline-block;
      margin-bottom: 2rem;
    }
    .about_right_box {
      width: 100%;
      /* background-color: blueviolet; */
    }
    .about_right_box img{
      width: 100%;
      height: 100%;
    }
    .about_talk{
      font-size: 1.6rem;
      margin-bottom: 2rem;
    }
    .about_talk span{
      display: inline-block;
      margin-bottom: 2rem;
    }
    .enginneer_box{
      width: 100%;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
    }
    .case_box{
      width: 29.1rem;
      background-color: #F0F0F0;
      padding: 1rem;
      margin: 1rem;
      cursor: pointer;
    }
    .case_box_img{
      overflow: hidden;
      position: relative;
    }
    .case_box_img::after{
      content: "";
      position: absolute;
      top: 0%;
      left: 50%;
      width: 0;
      height: 26.1rem;
      background-color: #000;
      opacity: 0.4;
      z-index: 2;
    }
    .case_box_img:hover::after{
        left: 0;
        transition: all 0.5s;
        width: 100%;
    }
    .case_box .case_box_img img{
      width: 100%;
      height: 26.1rem;
    }
    .case_box_img:hover > img{
      transform: scale(1.1);
    }

    .case_box .enginneer_name{
      font-size: 1.8rem;
      text-align: center;
      margin-top: 0.5rem;
    }
    .case_box:hover > .enginneer_name{
      color: red;
    }

    .pages{
      width: 100%;
      text-align: center;
    }
    .pagination{
        width: 100%;
        margin: 1rem 0 0 0.5rem!important;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .pages .page-item{
        width: 40px;
        height: 40px;
        text-align: center;
        line-height: 40px;
        font-size: 20px;
    }
}
  @media (max-width: 768px) and (min-width: 0px){
    .about_page_box {
      width: 100%;
      align-items: center;
      flex-direction: column;
      margin: 5rem 0;
  }
  
    .about_left_box {
      width: 100%;
      display: flex;
      align-items: center;
      flex-direction: column;
      justify-content: center;
      font-size: 1.8rem;
    }
  
    .about_left_box_title{
      font-size: 2.4rem;
      font-weight: 700;
      display: inline-block;
      margin-bottom: 2rem;
    }
    .about_right_box {
      width: 100%;
      /* height: 38rem; */
    }
    .about_right_box img{
      width: 100%;
    }
    .about_talk{
      font-size: 1.6rem;
      margin-bottom: 2rem;
    }
    .about_talk span{
      display: inline-block;
      margin-bottom: 2rem;
    }
    .enginneer_box{
      width: 100%;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      padding: 4rem 0;
    }
    .case_box{
      width: 29.1rem;
      background-color: #F0F0F0;
      padding: 1rem;
      margin: 1rem;
    }
    .case_box_img{
      overflow: hidden;
    }
    .case_box .case_box_img img{
      width: 100%;
      height: 26.1rem;
    }
    .case_box_img:hover > img{
      transform: scale(1.1);
    }

    .case_box .enginneer_name{
      font-size: 1.8rem;
      text-align: center;
      margin-top: 0.5rem;
    }
    .case_box:hover > .enginneer_name{
      color: red;
    }

    .pages{
      width: 100%;
      text-align: center;
  }
  .pagination{
      width: 100%;
      margin: 1rem 0 0 0.5rem!important;
      display: flex;
      align-items: center;
      justify-content: center;
  }
  .pages .page-item{
      width: 40px;
      height: 40px;
      text-align: center;
      line-height: 40px;
      font-size: 20px;
  }
  }

