.gallery-grid {
    display: flex;
    flex-wrap: wrap;
}

.gallery-grid li {
    margin: 5px;
    flex: 1 0 21%;
    box-sizing: border-box;
}

.gallery-grid img {
    width: 100%;
    height: 150px;
    -o-object-fit: cover;
    object-fit: cover;
    vertical-align: bottom;
}

/* Lightboxの画像コンテナを中央配置に */
.lightbox {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    max-width: 90%;
    max-height: 90%;
    box-sizing: border-box;
}

/* オーバーレイは画面全体に固定 */
.lightboxOverlay {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*# sourceMappingURL=gallery.css.map */