.viewport {
  width: 720px;
  overflow: hidden;
  margin: 0 auto;
  -webkit-transform: translateZ(0); /* Optional: When heavy at iOS6+ */
}

.flipsnap {
  width: 2880px; /* 240px(item width) * 12(item count) */
}

.flipsnap:after {
  content: '';
  display: block;
  clear: both;
  height: 0;
}
.item {
  float: left;
  width: 200px;
  margin: 0 20px;
  font-size: 50px;
  text-align: center;
  padding: 0;
  color: #666;
}
.insta_wrap{
  width: 100%;
  position: relative;
  margin-top: 50px;
}
.prev{
  position: absolute;
  bottom: 55px;
  left: 40px;
  color: #FFF;
  width: 38px;
}
.prev:hover{
  cursor: pointer;
}
.next{
  position: absolute;
  bottom: 55px;
  right: 40px;
  color: #FFF;
  width: 38px;
}
.next:hover{
  cursor: pointer;
}
.prev img,.next img{
  width: 100%;
}
.item a{
  display: block;
  width: 100%;
  padding-top: 100%;
  opacity: 0.8;  
}
.item a.insta_20170928{
  background: url(../images/instagram/insta_20170928.jpg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.item a.insta_20170926{
  background: url(../images/instagram/insta_20170926.jpg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.item a.insta_20170919{
  background: url(../images/instagram/insta_20170919.jpg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.item a.insta_20170906{
  background: url(../images/instagram/insta_20170906.jpg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.item a.insta_20170903{
  background: url(../images/instagram/insta_20170903.jpg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.item a.insta_20170825{
  background: url(../images/instagram/insta_20170825.jpg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.item a.insta_20170824_1{
  background: url(../images/instagram/insta_20170824_1.jpg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.item a.insta_20170824_2{
  background: url(../images/instagram/insta_20170824_2.jpg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.item a.insta_20161012{
  background: url(../images/instagram/insta_20161012.jpg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.item a.insta_20160909{
  background: url(../images/instagram/insta_20160909.jpg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.item a.insta_20160830{
  background: url(../images/instagram/insta_20160830.jpg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.item a.insta_20160824{
  background: url(../images/instagram/insta_20160824.jpg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}



@media screen and (max-width: 1024px){
  .viewport {
    width: 80%;
  }  
  .prev{
    left: 0;
  }
  .next{
    right: 0;
  }
  
}

@media screen and (max-width: 660px){
  .prev{
    width: 20px;
    left: 0;
  }
  .next{
    width: 20px;
    right: 0
  }
}
@media screen and (max-width: 420px) {
  .insta_wrap{
    width: 100%;
    position: relative;
  }
  .viewport {
    width: 220px;
    margin: 0 auto;
  }
  .flipsnap {
    width: 1440px; /* 120px(item width) * 13(item count) */
  }
  .item {
    width: 100px;
    margin: 0 10px;
  }
  .prev{
    width: 20px;
    left: 0;
    bottom: 30px;
  }
  .next{
    width: 20px;
    right: 0;
    bottom: 30px;
  }
}





























