@charset "utf-8";
/* ----------------------------------------
 main
------------------------------------------- */
#main {
  width: 100%;
  height: 940px;
  background: url("../images/index-images/main.jpg") 50% 50% no-repeat;
  background-attachment: fixed;
  background-size: cover;
  margin-bottom: 30px;
}
/* ----------------------------------------
 works
------------------------------------------- */
#works a {
  display: block;
  width: 100%;
  height: 595px;
  background: url("../images/index-images/work.jpg") 50% 50% no-repeat;
  background-attachment: fixed;
  background-size: cover;
  margin-bottom: 30px;
}
#works .cmn-title01 {
  padding-top: 220px;
}
/* ----------------------------------------
 contents-group
------------------------------------------- */
#contents-group ul {
  overflow: hidden;
}
#contents-group ul li {
  float: left;
  width: 32.5%;
  margin-right: 1.25%;
}
#contents-group ul li:nth-child(3n) {
  margin-right: 0;
}
#contents-group ul li:nth-child(1) a {
  background: url("../images/index-images/company.jpg") 50% 50% no-repeat;
  background-size: cover;
}
#contents-group ul li:nth-child(2) a {
  background: url("../images/index-images/history.jpg") 50% 50% no-repeat;
  background-size: cover;
}
#contents-group ul li:nth-child(3) a {
  background: url("../images/index-images/recruit.jpg") 50% 50% no-repeat;
  background-size: cover;
}
#contents-group ul li a {
  display: block;
  width: 100%;
  height: 595px;
  margin-bottom: 30px;
}
#contents-group ul li .cmn-title01 {
  padding-top: 220px;
}
/* ----------------------------------------
 contact
------------------------------------------- */
#contact a {
  display: block;
  width: 100%;
  height: 595px;
  margin-bottom: 30px;
}
#contact .cmn-title02 {
  padding-top: 220px;
}

/* =======================
  PC
======================== */
@media screen and (min-width: 1200px) {}
/* =======================
  TABLET
======================== */
@media screen and (max-width:1199px) {
  #main {
    width: 100%;
    height: auto;
    background-attachment: scroll;
    padding-top: 78%;
    margin-bottom: 15px;
  }
  /* ----------------------------------------
 works
------------------------------------------- */
  #works a {
    width: 100%;
    height: auto;
    background-attachment: scroll;
    padding-top: 50%;
    margin-bottom: 15px;
    position: relative;
  }
  #works .cmn-title01 {
    position: absolute;
    width: 100%;
    padding-top: 15%;
    top: 0;
  }
  /* ----------------------------------------
 contents-group
------------------------------------------- */
  #contents-group ul li a {
    width: 100%;
    height: auto;
    background-attachment: scroll;
    padding-top: 100%;
    margin-bottom: 15px;
    position: relative;
  }
  #contents-group ul li .cmn-title01 {
    position: absolute;
    width: 100%;
    padding-top: 30%;
    top: 0;
  }
  /* ----------------------------------------
 contact
------------------------------------------- */
  #contact a {
    width: 100%;
    height: auto;
    background-attachment: scroll;
    padding-top: 50%;
    margin-bottom: 15px;
    position: relative;
  }
  #contact .cmn-title02 {
    position: absolute;
    width: 100%;
    padding-top: 10%;
    top: 0;
  }
}
/* =======================
  SP
======================== */
@media screen and (max-width: 699px) {
  /* ----------------------------------------
 contents-group
------------------------------------------- */
  #contents-group ul li {
    float: none;
    width: 100%;
    margin-right: 0;
  }
  #contents-group ul li:nth-child(3n) {
    margin-right: 0;
  }
  #contents-group ul li a {
    width: 100%;
    height: auto;
    background-attachment: scroll;
    padding-top: 50%;
    margin-bottom: 15px;
    position: relative;
  }
  #contents-group ul li .cmn-title01 {
    position: absolute;
    width: 100%;
    padding-top: 15%;
    top: 0;
  }

}