/*----------------------------------
  insta
-----------------------------------*/
.p-insta section {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  row-gap: 2.5rem;
}

.p-insta section>article:nth-of-type(n + 3) {
  margin-top: 2.5rem;
}

.p-insta article {
  width: 48%;
}

@media (min-width: 768px) {
  .p-insta article {
    width: 30%;
  }
}

.p-insta .imgBx01 {
  position: relative;
  display: block;
  padding-bottom: 100%;
}

.p-insta .imgBx01:hover {
  opacity: 0.7;
}

.p-insta .imgBx01 img,
.p-insta .imgBx01 video {
  position: absolute;
  inset: 0;
  margin: auto;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

.p-insta .imgBx01>span {
  position: absolute;
  inset: 0;
  margin: auto;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

.p-insta .imgBx01>img+span,
.p-insta .imgBx01>video+span {
  display: none;
}

.p-insta .webgene-item .dayTxt {
  font-size: 0.875rem;
}

.p-insta .webgene-item .snsTit {
  font-size: 1rem;
  font-weight: normal;
}

.p-insta .webgene-item-main-video {
  display: block;
  width: auto;
  max-width: 100%;
}

@media screen and (min-width: 768px) {
  .p-insta section>article:nth-of-type(n + 2) {
    margin: 0;
  }
}