@charset "utf-8";
#galleryArea {
  position: relative;
}
#gallery {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 2;
  /*  opacity: 0;*/
}
#gallery .inner {
  position: relative;
  z-index: 1;
}
#gallery .items {
  position: relative;
  overflow: hidden
}
#gallery .item {
  position: absolute;
  left: 0;
  top: 0
}
#gallery .item a {
  position: relative;
  display: block;
  background: #e9eef3;
  overflow: hidden;
}
#galleryArea.as_1_1 #gallery .item a {
  padding-bottom: 100%;
}
#galleryArea.as_3_2 #gallery .item a {
  padding-bottom: 66.666%;
}
#galleryArea.tate.as_2_3 #gallery .item a {
  padding-bottom: 150%;
}
#galleryArea.tate.as_3_4 #gallery .item a {
  padding-bottom: 133.33%;
}
#galleryArea.tate.as_9_16 #gallery .item a {
  padding-bottom: 177.77%;
}
#galleryArea #gallery .item a img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/*#galleryArea:not(.as_1_1) #gallery .item a img {
  position: absolute;
  width: auto;
  height: 100%;
  left: 0;
  bottom: 0;
  top: 0;
  right: 0;
  margin: auto;
}
#galleryArea.as_1_1 #gallery .item a img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
}*/
@media print, screen and (min-width: 751px) {
  #main .click {
    margin-top: 20px;
  }
  #galleryArea {
    margin-top: 30px;
  }
  #galleryArea.as_1_1 {
    /* gallery .itemsの高さ */
    height: 1120px;
  }
  #galleryArea.as_1_1 #gallery .items {
    width: calc(100% + 220px);
    /* ((200+30)×行数)-30 */
    height: 1120px;
    left: -200px;
  }
  #galleryArea.as_1_1 #gallery .item {
    width: 200px;
    height: 200px;
  }
  #galleryArea.as_3_2 {
    /* gallery .itemsの高さ */
    height: 920px;
  }
  #galleryArea.as_3_2 #gallery .items {
    width: calc(100% + 260px);
    /* ((160+30)×行数)-30 */
    height: 920px;
    left: -240px;
  }
  #galleryArea.as_3_2 #gallery .item {
    width: 240px;
    height: 160px;
  }
  #galleryArea.tate {
    /* gallery .itemsの高さ */
    height: 1050px;
  }
  #galleryArea.tate #gallery .items {
    /* ((240+30)×行数)-30 */
    height: 1050px;
  }
  #galleryArea.tate #gallery .item {
    height: 240px;
  }
  #galleryArea.tate.as_2_3 #gallery .items {
    width: calc(100% + 180px);
    left: -160px;
  }
  #galleryArea.tate.as_2_3 #gallery .item {
    width: 160px;
  }
  #galleryArea.tate.as_3_4 #gallery .items {
    width: calc(100% + 200px);
    left: -180px;
  }
  #galleryArea.tate.as_3_4 #gallery .item {
    width: 180px;
  }
  #galleryArea.tate.as_9_16 #gallery .items {
    width: calc(100% + 155px);
    left: -135px;
  }
  #galleryArea.tate.as_9_16 #gallery .item {
    width: 135px;
  }
  #galleryArea:not(.as_1_1) #gallery .items .item a img {
    transition: all 0.3s linear;
    transform: scale(1.0, 1.0);
  }
  #galleryArea:not(.as_1_1) #gallery .items .item a:hover img {
    transform: scale(1.15, 1.15);
  }
  #galleryArea.as_1_1 #gallery .items .item a img {
    transition: all 0.3s linear;
    transform: scale(1.1, 1.1);
  }
  #galleryArea.as_1_1 #gallery .items .item a:hover img {
    transform: scale(1.25, 1.25);
  }
}
@media (max-width: 750.99px) {
  #main .click {
    margin-top: calc(10 / 375 * 100vw);
  }
  #galleryArea {
    margin-top: calc(20 / 375 * 100vw);
  }
  #galleryArea.as_1_1 {
    /* gallery .itemsの高さ */
    height: 660px;
  }
  #galleryArea.as_1_1 #gallery .items {
    width: calc(100vw + 130px);
    /* ((120+15)×行数)-15 */
    height: 660px;
    left: -120px;
  }
  #galleryArea.as_1_1 #gallery .item {
    width: 120px;
    height: 120px
  }
  #galleryArea.as_3_2 {
    /* gallery .itemsの高さ */
    height: 675px;
  }
  #galleryArea.as_3_2 #gallery .items {
    width: calc(100vw + 160px);
    /* ((100+15)×行数)-15 */
    height: 675px;
    left: -150px;
  }
  #galleryArea.as_3_2 #gallery .item {
    width: 150px;
    height: 100px
  }
  #galleryArea.tate {
    /* gallery .itemsの高さ */
    height: 765px;
  }
  #galleryArea.tate #gallery .items {
    /* ((180+15)×行数)-15 */
    height: 765px;
  }
  #galleryArea.tate #gallery .item {
    height: 180px;
  }
  #galleryArea.tate.as_2_3 #gallery .items {
    width: calc(100% + 130px);
    left: -120px;
  }
  #galleryArea.tate.as_2_3 #gallery .item {
    width: 120px;
  }
  #galleryArea.tate.as_3_4 #gallery .items {
    width: calc(100% + 145px);
    left: -135px;
  }
  #galleryArea.tate.as_3_4 #gallery .item {
    width: 135px;
  }
  #galleryArea.tate.as_9_16 #gallery .items {
    width: calc(100% + 111px);
    left: -101px;
  }
  #galleryArea.tate.as_9_16 #gallery .item {
    width: 101px;
  }
  #galleryArea:not(.as_1_1) #gallery .items .item a img {
    transition: all 0.3s linear;
    transform: scale(1.0, 1.0);
  }
  #galleryArea.as_1_1 #gallery .items .item a img {
    transition: all 0.3s linear;
    transform: scale(1.15, 1.15);
  }
}
/*.fancybox-bg{
   -webkit-backdrop-filter: blur(8px) !important;
  backdrop-filter: blur(8px) !important;
}*/