@charset "utf-8";

/**
 *
 *  ページ用CSS
 *　housing
 * 
 */

/*--------------------------------------------------------------------------
   Overwright
---------------------------------------------------------------------------*/



/*--------------------------------------------------------------------------
   TOP
---------------------------------------------------------------------------*/

/* housing
-----------------------------------------------------------------*/
.housing{
  padding: 180px 0 150px;
}
.housing .txt-lead{
  margin-bottom: 45px;
  line-height: 2;
  text-align: center;
  font-weight: normal;  
}
.housing .figure{
  margin-bottom: 100px;
  text-align: center;    
}
.housing .pic-list{
  display: flex;
  justify-content:space-between;
  margin-bottom: 140px;  
}
.housing .pic-list li{
  max-width:  620px;
  width: calc(50% - 10px);  
}
.housing .pic-list .caption{
  margin-top: 5px;
  font-size: 1.4rem;
}

.housing .service-list{
  display: flex;
  flex-wrap: wrap;
  justify-content:space-between;  
}
.housing .service-list li{
  max-width:  620px;
  width: calc(50% - 10px);
  padding: 50px 3%;
  background: var(--bgblue);
  border-radius: 10px;  
}
.housing .service-list li:nth-child(n+3){
  margin-top: 40px;  
}
.housing .service-list h3{
  margin-bottom: 15px;
  font-size: 2.2rem;
  line-height: 1.5;
}
.housing .service-list .btn-txt{
  margin-top: 25px;
}
.housing .service-list .btn-txt + .btn-txt{
  margin-top: 15px;
}
.housing .service-list .btn-txt a{
  justify-content: flex-end;  
}

























/*--------------------------------------------------------------------------
   mobile
---------------------------------------------------------------------------*/
@media screen and (max-width: 768px) {


/*--------------------------------------------------------------------------
   TOP
---------------------------------------------------------------------------*/

/* housing
-----------------------------------------------------------------*/
  .housing{
    padding: 50px 0;
  }
  .housing .txt-lead{
    margin-bottom: 50px;  
  }
  .housing .figure{
    max-width: 300px;
    margin: 0 auto 50px;    
  }
  .housing .pic-list{
    display: block;
    margin-bottom: 70px;  
  }
  .housing .pic-list li{
    max-width:  none;
    width: 100%;  
  }
  .housing .pic-list li:nth-child(n+2){
    margin-top: 20px;  
  }
  .housing .pic-list .caption{
    font-size: 1.2rem;
  }
  
  .housing .service-list{
    display: block; 
  }
  .housing .service-list li{
    max-width:  none;
    width: 100%;
    padding: 25px 20px 30px;  
  }
  .housing .service-list li:nth-child(n+2){
    margin-top: 20px;  
  }
  .housing .service-list h3{
    margin-bottom: 10px;
    font-size: 1.6rem;
  }
  .housing .service-list .btn-txt{
    margin-top: 15px;
  }
  .housing .service-list .btn-txt + .btn-txt{
    margin-top: 10px;
  }
  .housing .service-list .btn-txt a{
    justify-content: flex-end;  
  }





}