@charset "utf-8";

/*-----------------------------------------------------------
ギャラリー（トップ）
-----------------------------------------------------------*/

.top-gallery-list > section {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 10px;
}

/*-----------------------------------------------------------
ギャラリー
-----------------------------------------------------------*/

.gallery-list {
    margin: 60px auto 0;
}

.gallery-list > section {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 10px;
}

/*-----------------------------------------------------------
共通
-----------------------------------------------------------*/

.gallery-item {
    background: var(--white);
}

.gallery-item > a {
    display: block;
    padding: 0 0 100%;
    height: 0;
    position: relative;
}

.gallery-item > a > img {
    position: absolute;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
}

.gallery-item > a:hover {opacity: 0.65;}

/*-----------------------------------------------------------
カテゴリー
-----------------------------------------------------------*/

.category-container {
    padding: 0;
}

.category-container > section {
    display: flex;
    flex-wrap: wrap;
    margin: -10px -5px 0;
}

.category-col {
    padding: 0 5px;
    margin: 10px 0 0;
}

.category-col-first {
    display: none;
}

.category-col-first:first-child {
    display: block;
}

.category-btn {
    max-width: 100%;
}

.category-btn.active {
    background: var(--tertiary);
    color: var(--white);
}

/*-----------------------------------------------------------
ページャー
-----------------------------------------------------------*/

.webgene-pagination {
    grid-column: 1/3;
}

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
@media screen and (min-width:768px) {
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
  
/*-----------------------------------------------------------
ギャラリー（トップ）
-----------------------------------------------------------*/

.top-gallery-list > section {
    grid-template-columns: repeat(3,1fr);
}

/*-----------------------------------------------------------
ギャラリー
-----------------------------------------------------------*/

.gallery-list > section {
    grid-template-columns: repeat(3,1fr);
}

/*-----------------------------------------------------------
ページャー
-----------------------------------------------------------*/

.webgene-pagination {
    grid-column: 1/4;
}
    
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */
}/* min-width: 768px ここまで */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

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

/*-----------------------------------------------------------
ギャラリー（トップ）
-----------------------------------------------------------*/

.top-gallery-list > section {
    grid-template-columns: repeat(5,1fr);
    gap: 19px;
}

/*-----------------------------------------------------------
ギャラリー
-----------------------------------------------------------*/

.gallery-list {
    margin: 120px auto 0;
}

.gallery-list > section {
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
}
    
/*-----------------------------------------------------------
カテゴリー
-----------------------------------------------------------*/

.category-container > section {
    margin: -20px -10px 0;
}

.category-col {
    padding: 0 10px;
    margin: 20px 0 0;
}

/*-----------------------------------------------------------
ページャー
-----------------------------------------------------------*/

.webgene-pagination {
    grid-column: 1/5;
}
  
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */
}/* min-width: 1024px ここまで */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
@media screen and (min-width:1600px) {
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
  

/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */
}/* min-width: 1600px ここまで */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */