@charset "utf-8";

.galleryList > .webgene-blog {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
}

.galleryList>section .webgene-pagination:nth-last-child(1) {
    grid-area: auto/auto/auto/span 2;
} 

.galleryFrameImgBoxFlow {
    width: 94.79%;
    margin: 0 auto;
    position: absolute;
    left: 0;
    right: 0;
    overflow: hidden;
}

.galleryFrameImgBox {
    width: 100%;
    padding-top: 100%;
    position: relative;
}

.galleryFrameImgBox>img {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.galleryItem:hover .galleryFrameImgBox>img {
    transform: scale(1.1);
    transition: .5s;
}

.galleryItem .galleryFrameImgBox>img {
    transition: .5s;
}

.galleryList > .webgene-blog article {
    width: 100%;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    padding-top: 101.15%;
}

.galleryList a[data-lightbox]:before {
    display: none;
}

.galleryFrameDeco {
    z-index: 1;
    filter: drop-shadow(10px 10px 10px rgba(0, 0, 0, 0.1));
    position: absolute;
    display: block;
    margin: auto;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    object-fit: cover;
    max-width: 100%;
    width: 100%;
    max-height: 100%;
    height: 100%;
}

/*------------------------------category------------------------------*/ 

.firstBox {
    display: none;
}

.firstBox:first-child {
    display: block;
}

.inGalleryBtnBox section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.galleryBtn01 {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    color: #fff;
    position: relative;
    border: 1px solid #fff;
    background: #547972;
    padding: 10px 5px;
    font-weight: 400;
    transition: all .5s;
    line-height: 1.5em;
}

.galleryBtn01>.galleryCatText {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.galleryBtn01:hover {
    color: #fff;
    background: #0000;
    transition: all .5s;
}

/*ページャー*/

.webgene-pagination {
    width: 100%;
}

.webgene-pagination > ul{
  padding: 0;
  display: flex;
  justify-content: center;
}

.webgene-pagination > ul > li{
  display: flex;
}

.webgene-pagination > ul > li{
  margin: 80px 10px 0;
  height:30px;
  min-height:30px;
  width:100%;
  max-width:30px;
  font-size: 14px;
  list-style: none;
  background-color: #FFF;
  display: flex;
  justify-content: center;
  padding: 4px 0;
  align-items: center;
}

.webgene-pagination > ul > li.selected > a{
  color: #FFF;
  background: #547972;
  cursor: inherit;
}

.webgene-pagination > ul > li.selected > a:hover {
    color: #FFF;
    background-color: #547972;
}

.webgene-pagination > ul > li > a{
  width: 100%;
  height: 30px;
  width: 30px;
  color: #547972;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px #547972 solid;
}
.webgene-pagination > ul > li > a:hover{
  color:#FFF;
  background-color: #547972;
  text-decoration: none;
}

.blogRight .webgene-item:not(:first-of-type) {
    margin: 2rem 0 0;
}

.next > a {
    font-size: 11px;
    color: #FFF;
}

.prev > a{
    font-size: 11px;
    color: #FFF;
}


.galleryItem {
    position: absolute !important;
    transition: all .5s;
    max-width: 100%;
    width: 100%;
    display: flex !important;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
}

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

@media screen and (min-width:544px) {

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

.galleryList > .webgene-blog {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.galleryList>section .webgene-pagination:nth-last-child(1) {
    grid-area: auto/auto/auto/span 3;
} 
  
.inGalleryBtnBox section {
    grid-template-columns: repeat(3, 1fr);
}
    
  
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

} /* min-width: 544px ここまで */

/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

@media screen and (min-width:768px) {

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

.galleryList > .webgene-blog {
    grid-template-columns: repeat(4, 1fr);
}

.galleryList>section .webgene-pagination:nth-last-child(1) {
    grid-area: auto/auto/auto/span 4;
} 
    
.inGalleryBtnBox section {
    grid-template-columns: repeat(4, 1fr);
}
  
.galleryBtn01 {
    font-size: 16px;
    padding: 14px 5px;
}
  
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

} /* min-width: 768px ここまで */

/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */


/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

@media screen and (min-width:1024px) {

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

.galleryList > .webgene-blog {
    gap: 40px;
} 
    
.inGalleryBtnBox section {
    gap: 40px;
}
  
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

} /* min-width: 1024px ここまで */

/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */