@import url(base.css);
@import url(common.css);
@import url(lib.css);
@import url(lity.css);
@import url("https://fonts.googleapis.com/css?family=Oswald");
@import url("https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300");
@import url("https://fonts.googleapis.com/css?family=Sawarabi+Mincho");
/* ---------------------------------
Index
---------------------------------- */
#mainv {
  width: 1000px;
  margin: 0 auto;
  text-align: center;
  margin-top: 25px;
  height: 583px;
  position: relative;
}
#mainv .filter {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  position: absolute;
  top: 0;
  left: 0;
}
#mainv h2 {
  text-align: center;
  position: absolute;
  top: 230px;
  left: 0;
  right: 0;
  z-index: 11;
  margin: auto;
}
#mainv p.mainlogo {
  position: absolute;
  left: 30px;
  top: 30px;
  z-index: 11;
  width: 230px;
  height: 130px;
}

.snsarea {
  width: 100%;
  height: 40px;
  position: relative;
  padding-top: 10px;
}
.snsarea .facebook {
  position: absolute;
  width: 180px;
  right: 0;
}
.snsarea .facebook img {
  transition: .3s;
}
.snsarea .facebook img:hover {
  opacity: .7;
  transition: .3s;
}

.ss h3 {
  margin-bottom: 40px;
}
.ss ul {
  text-align: center;
  zoom: 1;
}
.ss ul:after {
  display: table;
  clear: both;
  content: "";
}
.ss ul:before {
  display: table;
  content: "";
}
.ss ul li {
  display: inline-block;
  width: 300px;
  margin-right: 30px;
  margin-bottom: 30px;
  height: 220px;
  background: #f0f0f0;
  position: relative;
  font-size: 20px;
}
.ss ul li span {
  width: 100%;
  background: rgba(255, 255, 255, 0.4);
  color: black;
  text-align: center;
  position: absolute;
  display: block;
  letter-spacing: 0px;
  line-height: 40px;
  bottom: 10px;
  text-shadow: 1px 1px 2px #555;
}
.ss ul li:nth-child(3n) {
  margin-right: 0;
}
.ss ul li.black span {
  color: black;
}
.ss ul li.white span {
  color: white;
}
.ss ul li.brown span {
  color: darkorange;
}

/*SP*/
@media (max-width: 640px) {
  #mainv {
    margin-top: 0;
    width: 100%;
    text-align: center;
    padding: 0px;
    height: 300px;
    overflow: hidden;
    margin-bottom: 0px;
  }
  #mainv section div img {
    width: 150%;
  }
  #mainv h2 {
    width: 80%;
    margin: 0 auto;
    position: absolute;
    top: 120px;
  }
  #mainv h2 img {
    width: 100%;
  }
  #mainv h2 span {
    top: 35px;
  }
  #mainv p.mainlogo {
    width: 120px;
    height: inherit;
  }

  .snsarea {
    width: 100%;
    text-align: center;
    height: inherit;
    position: relative;
    padding-top: 20px;
    margin-bottom: 30px;
  }
  .snsarea .facebook {
    width: 180px;
    display: inline-block;
    text-align: center;
    position: static;
  }

  .ss h3 {
    margin-bottom: 20px;
  }
  .ss ul {
    text-align: center;
    zoom: 1;
    width: 300px;
    margin: 0 auto;
  }
  .ss ul:after {
    display: table;
    clear: both;
    content: "";
  }
  .ss ul:before {
    display: table;
    content: "";
  }
  .ss ul li {
    display: inline-block;
    width: 100%;
    margin-right: 0px;
    margin-bottom: 15px;
    height: 220px;
    background: #f0f0f0;
    position: relative;
    font-size: 16px;
  }
  .ss ul li span {
    width: 100%;
    text-align: center;
    position: absolute;
    font-weight: bold;
    display: block;
    letter-spacing: 0px;
    line-height: 40px;
    bottom: 0px;
  }
  .ss ul li:nth-child(3n) {
    margin-right: 0;
  }
}
