@charset "utf-8";

/* CSS Document */
.officepage .contentheader{background-image: url(../images/office-bg-01.jpg);}

.entrance{padding-bottom: 60px;}
.firstfloor{
  padding-top: 100px;
  padding-bottom: 60px;
  background-color: rgba(245,245,245,1);
  }
.secondfloor{
  padding-top: 100px;
  padding-bottom: 110px;
  }
  .office-list{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    }
    .office-item{
      display: flex;
      flex-direction: column;
      width: calc((100% - 60px) / 3);
      margin-bottom: 40px;
      }
      .office-item:not(:nth-of-type(3n+3)){margin-right: 30px;}
      .office-ttl{
        order: 1;
        margin-bottom: 5px;
        }
        .office-ttl-txt{
          font-size: 18px;
          font-weight: 500;
          text-align: center;        
          }
      .office-fig{
        order: 0;
        margin-bottom: 20px;
        box-shadow: 9px 9px 0px 0px rgba(255,216,19,.5);
        }
      .office-detail{order: 2;}
        .office-detail-txt{font-size: 14px;} 

@media screen and (max-width: 1199px) {}/* max-width: 1199px */

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

.entrance{padding-bottom: 40px;}
.firstfloor{
  padding-top: 80px;
  padding-bottom: 40px;
  }
.secondfloor{
  padding-top: 80px;
  padding-bottom: 60px;
  }
  .office-item{width: calc((100% - 40px) / 3);}
    .office-item:not(:nth-of-type(3n+3)){margin-right: 20px;}
  .office-ttl-txt{font-size: 16px;}
  .office-fig{
    margin-bottom: 15px;
    box-shadow: 5px 5px 0px 0px rgba(255,216,19,.5);
    }

}/* max-width: 991px */

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

.entrance{padding-bottom: 20px;}
.firstfloor{
  padding-top: 50px;
  padding-bottom: 20px;
  }
.secondfloor{
  padding-top: 50px;
  padding-bottom: 50px;
  }

  .office-item{
    display: flex;
    flex-direction: column;
    width: calc((100% - 20px) / 2);
    margin-bottom: 30px;
    }
    .office-item:not(:nth-of-type(3n+3)){margin-right: 0;}
    .office-item:not(:nth-of-type(2n+2)){margin-right: 20px;}

}/* max-width: 767px */

@media screen and (max-width: 575px) {

.office-item{width: 100%;}
  .office-item:not(:nth-of-type(2n+2)){margin-right: 0;}
  .office-ttl-txt{font-size: 15px;}
  
}/* max-width: 575px */