@charset "UTF-8";

/**************************************************************************
PC
**************************************************************************/

/************************************
タイトル
************************************/
#title {
  width: 100%;
  height: 230px;
  margin: 0 auto 60px;
  background-image: url(../img/products_title.jpg);
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  line-height: 1;
  padding-top: 20px;
}

#title .sub_title {
  color: #fff;
  font-size: 0.8em;
  font-weight: bold;
  letter-spacing: 0.04em;
  display: inline-block;
  margin: 20px 0;
}


/************************************
製品実績
************************************/
#products {
  width: 1000px;
  margin: 0 auto 30px;
  text-align: center;
}

#products>.container {
  width: 100%;
  display: flex;
  flex-wrap:wrap;
  justify-content: space-between;
}

#products>.container>.item {
  width: 300px;
  margin-bottom: 60px;
}

#products>.container>.item img {
  height: 200px;
  width: auto;
  margin-bottom: 20px;
}

#products>.container>.item p {
  text-align: left;
  margin-top: 20px;
}


/**************************************************************************
SP
**************************************************************************/

@media (max-width: 600px) {

  /************************************
タイトル
************************************/
  #title {
    width: 100%;
    height: 140px;
    overflow: hidden;
    position: relative;
    background-size: 1300px auto;
    background-position: center;
    padding-top: 20px;
    margin-bottom: 40px;
  }


  /************************************
製品実績
************************************/
  #products {
    width: 90%;
    margin: 0 auto 20px;
  }
  
  #products>.container {
    flex-wrap: row;
  }
  
  #products>.container>.item {
    width: 100%;
    margin: 0 auto 60px;
  }
  
  #products>.container>.item img {
    height: 190px;
  }


  /* @media600の終わり */
}