@charset "euc-jp";
figure {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0;
}
figcaption {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #fff;
  background: rgba(0,0,0,.6);
  -webkit-transition: .3s;
  transition: .3s;
  opacity: 0.1;
}
figcaption h3 {
  position: absolute;
  top: 30px;
  left: -100%;
  width: 260px;
  -webkit-transition: .2s;
  transition: .2s;
  font-size: 12px;
  font-weight: bold;
  text-align: left;
}

figcaption p {
  position: absolute;
  top: 70px;
  left: -100%;
  width: 260px;
  -webkit-transition: .3s;
  transition: .3s;
  font-size: 12px;
  font-weight: bold;
  text-align: left;
}
@media screen and (min-width:768px){
figure:hover figcaption {
  opacity: 1;
}
figure:hover figcaption h3, figure:hover figcaption p {
  left: 20px;
}
figure:hover figcaption h3 {
  -webkit-transition-delay: .2s;
  transition-delay: .2s;
}
}

#instimg {
  max-width: 1080px;
  width: 98%;
  margin: 0 auto;
  height: auto;
}


#instimg img {
  width: 100%;
  height: calc(100%);
}

#instimg ul {
  text-align: left;
  margin: 40px auto 1%;
}
#instimg ul li {
  display: inline-block;
  width: 32%;
  margin: 1% 1.4% 1% 0;
  pointer-events: auto;
}
@media screen and (min-width:768px){
#instimg ul li:nth-child(3n) {
  margin-right: 0;
}
}

#topimg {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
}
#topimg table tr td {
  margin: 0;
  padding: 1%;
}
#topimg table tr td img {
  width: 100%;
    height: calc(100%);
}
#topimg table tr td .figure {
  margin: 0;
  padding: 0;
}


@media screen and (max-width:767px){
#instimg {
  width: 95%;
}
#instimg ul li {
  width: 48%;
  margin: 1% 2% 1% 0;
}
#instimg ul li:nth-child(2n) {
  margin-right: 0;
}
}