

.inst_area{

}

.inst_post_area{
  display: flex;
  flex-wrap: wrap;
  align-items: center;  /* 子要素をflexboxにより中央に配置する */
  justify-content: center; /* 子要素をflexboxにより中央に配置する */
}
.inst_post_area .inst_img,
.inst_post_area .inst_mov{
  width:250px;
  height:250px;
  overflow: hidden;
  margin:10px;
  position: relative;
}

.inst_post_area .inst_img img,
.inst_post_area .inst_mov video{
  object-fit: cover;
  width:250px;
  height:250px;
}
.inst_album{
  width:250px;
  height:250px;
  overflow: hidden;
  margin:10px;
  position: relative;
}

.inst_post_area .inst_album .inst_album_area .inst_img,
.inst_post_area .inst_album .inst_album_area .inst_mov{
  width:250px;
  height:250px;
  overflow: hidden;
  margin:0px;
  display:none;
}
.inst_post_area .inst_album .inst_album_area .inst_img.active,
.inst_post_area .inst_album .inst_album_area .inst_mov.active{
  width:250px;
  height:250px;
  overflow: hidden;
  margin:0px;
  display: block;
}
.inst_album_btn{
  height: 15%;
  width:100%;
  position: absolute;
  left:0;
  bottom:0;
  z-index: 10;
  text-align: center;
  background: rgba(255,255,255,0.2);
}
.inst_album_btn .flex {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row; /* 子要素をflexboxにより縦方向に揃える */
  justify-content: center; /* 子要素をflexboxにより中央に配置する */
  align-items: center;  /* 子要素をflexboxにより中央に配置する */
}
.inst_album_btn .flex span{
  width:20px;
  height: 30px;
  margin:0 5px;
  font-size: 20px;
  padding:0px;
  text-align: center;
  cursor: pointer;
}
.inst_album_btn .flex span.active{
  color:#AAA;
}
.tt_st1{
  font-size: 2em;
  text-align: center;
}
.tt_st1 span{
  font-size: 1.3rem;
  color:#666;
}

@media screen and (max-width: 834px){

  .inst_post_area .inst_img,
  .inst_post_area .inst_mov{
    width:48%;
    height:auto;
    margin:1%;
    position: relative;
  }
  .inst_album{
    width:48%;
    height:auto;
    margin:1%;
    position: relative;
  }
  .inst_post_area .inst_img img,
  .inst_post_area .inst_mov video,
  .inst_album img{
    aspect-ratio: 1/1;
    object-fit: cover;
    width: 100%;
    height: auto;
  }
  .inst_post_area .inst_album .inst_album_area .inst_img.active, .inst_post_area .inst_album .inst_album_area .inst_mov.active {
    width: 100%;
    height: auto;
    overflow: hidden;
    margin: 1%;
    display: block;
  }
}