@charset "UTF-8";

.instaCont {
  margin-block: 60px;
  margin-inline: auto;
  max-width: 1406px;
  padding-inline: 20px;
}

.instaCont section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.instaCont article {
  width: 50%;
}

.instaCont section > article:nth-of-type(n + 3) {
  margin: 40px 0 0;
}

.instaCont .imgBx01 {
  display: block;
  padding: 0 0 100% 0;
  position: relative;
}

.instaCont .imgBx01:hover {
  opacity: 0.7;
}

.instaCont .imgBx01 img,
.instaCont .imgBx01 video {
  bottom: 0;
  height: auto;
  left: 0;
  margin: auto;
  max-height: 100%;
  max-width: 100%;
  position: absolute;
  right: 0;
  top: 0;
  width: auto;
}

.instaCont .imgBx01 > span {
  bottom: 0;
  height: auto;
  left: 0;
  margin: auto;
  max-height: 100%;
  max-width: 100%;
  position: absolute;
  right: 0;
  top: 0;
  width: auto;
}

.instaCont .imgBx01 > img + span,
.instaCont .imgBx01 > video + span {
  display: none;
}

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

.instaCont .webgene-item .dayTxt {
  font-size: 0.85em;
}

.instaCont .webgene-item .snsTit {
  font-size: 1em;
  font-weight: normal;
}

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

@media screen and (min-width: 1200px) {
  .instaCont article {
    width: 25%;
  }
  .instaCont section > article:nth-of-type(n + 3) {
    margin: 0;
  }
}