@charset "utf-8";
#gallery .items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
#gallery .item a {
  position: relative;
  display: block;
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  overflow: hidden;
}
#gallery #yoko .item a {
  padding-bottom: 66.666%;
}
#gallery #tate .item a {
  padding-bottom: 150%;
}
#gallery #tate.as_9_16 .item a {
  padding-bottom: 177.77%;
}
#gallery #tate.as_3_4 .item a {
  padding-bottom: 133.33%;
}
#gallery .item a img {
  position: absolute;
  width: auto;
  height: 100%;
  left: 0;
  bottom: 0;
  top: 0;
  right: 0;
  margin: auto;
}
.fancybox-bg {
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
@media print, screen and (min-width: 751px) {
  #gallery .click {
    margin-top: 20px;
  }
  #gallery .inner {
    margin-top: 20px;
  }
  #gallery .items .item {
    margin-right: 20px;
  }
  #gallery #yoko .items .item {
    width: calc(20% - 16px);
    width: -webkit-calc(20% - 16px);
    margin-right: 20px;
  }
  #gallery #yoko .items .item:nth-child(5n) {
    margin-right: 0;
  }
  #gallery #yoko .items .item:nth-child(n+6) {
    margin-top: 20px;
  }
  #gallery #tate .items .item {
    width: calc(16.66% - 16.66px);
    width: -webkit-calc(16.66% - 16.66px);
  }
  #gallery #tate .items .item:nth-child(6n) {
    margin-right: 0;
  }
  #gallery #tate .items .item:nth-child(n+6) {
    margin-top: 0;
  }
  #gallery #tate .items .item:nth-child(n+7) {
    margin-top: 20px;
  }
  #gallery .items .item a img {
    transition: all 0.3s linear;
  }
  #gallery .items .item a:hover img {
    transform: scale(1.10, 1.10);
  }
}
@media (max-width: 750.99px) {
  #gallery .click {
    margin-top: calc(10 / 375 * 100vw);
  }
  #gallery .inner {
    margin-top: calc(10 / 375 * 100vw);
  }
  #gallery .items .item {
    margin-right: 10px;
  }
  #gallery #yoko .items .item {
    width: calc(33.33% - 6.7px);
    width: -webkit-calc(33.33% - 6.7px);
  }
  #gallery #yoko .items .item:nth-child(3n) {
    margin-right: 0;
  }
  #gallery #yoko .items .item:nth-child(n+4) {
    margin-top: calc(10 / 375 * 100vw);
  }
  #gallery #tate .items .item {
    width: calc(25% - 7.5px);
    width: -webkit-calc(25% - 7.5px);
    margin-right: 10px;
  }
  #gallery #tate .items .item:nth-child(4n) {
    margin-right: 0;
  }
  #gallery #tate .items .item:nth-child(n+4) {
    margin-top: 0;
  }
  #gallery #tate .items .item:nth-child(n+5) {
    margin-top: calc(10 / 375 * 100vw);
  }
}