@charset "utf-8";

.cont h1 {
	background-image: url(../images/title.png);
}
#works{
  margin-bottom: 20px;
} 

#works .box{
  width: 330px;
  overflow: hidden;
  float: left;
  margin-bottom: 40px;
}

#works .box:nth-child(odd){
  margin-left: 40px;
}

#works table.title{
  width: 330px;
  border-bottom: 1px solid #aaaaaa;
  margin-top: 10px;
}

#works table.title th {
    width: 100px;
    text-align: center;
    vertical-align: middle;
    background: #8e8e8e;
    color: #FFFFFF;
    font-weight: bold;
    padding: 10px;
    font-size: 15px;
}

#works table.title td{
  padding-left: 10px;
}



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

.cont h1 {
	background-image: url(../images/title_sp.png);
}
  
#works .box {
    width: 100%;
    float: none;
    margin-bottom: 20px;
}  
  
#works .box:nth-child(odd) {
    margin-left: 0px;
}
  
#works .box img{
  width: 100%;
  padding-top: 63.33%;
  overflow: hidden;
  height: 0;
  background: url("../images/img_01_sp.jpg") no-repeat center center;
  background-size: 100%;
  display:block;
  float:none;
  }  
  
  #works .box img.img_02{
  background: url("../images/img_02_sp.jpg") no-repeat center center;
  background-size: 100%;
  }  
  #works .box img.img_03{
  background: url("../images/img_03_sp.jpg") no-repeat center center;
  background-size: 100%;
  }  
  #works .box img.img_04{
  background: url("../images/img_04_sp.jpg") no-repeat center center;
  background-size: 100%;
  }  
  #works .box img.img_05{
  background: url("../images/img_05_sp.jpg") no-repeat center center;
  background-size: 100%;
  }  
  #works .box img.img_06{
  background: url("../images/img_06_sp.jpg") no-repeat center center;
  background-size: 100%;
  }  
  
  #works table.title{
    width: 100%;
  }  
  
  
  
}
