@charset "utf-8";

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

.galleryDeco01 {
    z-index: -1;
}

.galleryDeco02 {
    z-index: -1;
}

.galleryNoLink>.galleryItem {
    pointer-events: none;
}

.galleryNoLink .galleryItem:after {
    display: none;
}

a[data-lightbox]:before {
    background: rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.galleryItem:after {
	position: absolute;
	top: 0;
	right: 0;
	display: block;
	width: 30px;
	height: 30px;
	content: '';
	background: var(--bg-primary) url(/system_panel/uploads/images/icon_zoom.png) center center no-repeat;
	background-size: 60% auto;
	z-index: 10;
}

.imgBox > img + .noimg {
    display: none;
}

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

.imgBox {
    display: block;
    position: relative;
    padding: 0 0 100%;
    height: 0;
    background: #fff;
}

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

.galleryItem {
    transition: all .5s;
    position: relative;
}


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

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

.webgene-pagination > ul{
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 7px;
  margin: 60px auto 0;
}

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

.webgene-pagination > ul > li{
  margin: 0;
  height: 32px;
  min-height: 32px;
  width: 100%;
  max-width: 32px;
  font-size: 12px;
  list-style: none;
  background-color: #FFF;
  display: flex;
  justify-content: center;
  padding: 4px 0;
  border-radius: 50%;
  align-items: center;
  border: 1px var(--bg-primary) solid;
}

.webgene-pagination > ul > li.selected > a{
    color: #fff;
    background: var(--bg-primary);
    cursor: inherit;
    border-radius: 50%;
	transition: all .5s;
}

.webgene-pagination > ul > li.selected > a:hover {
    color: var(--bg-primary);
    background-color: #fff;
    border-radius: 50%;
	transition: all .5s;
}

.webgene-pagination > ul > li > a{
    height: 32px;
    width: 32px;
    color: var(--bg-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: all .5s;
}

.webgene-pagination > ul > li > a:hover{
 	color: #FFF;
 	background-color: var(--bg-primary);
 	text-decoration: none;
	transition: all .5s;
}

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

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

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

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

.galleryBlock > section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
  
/*-----------------------------------------------------------
ページャー
-----------------------------------------------------------*/

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

.webgene-pagination > ul > li{
  height: 35px;
  min-height: 35px;
  max-width: 35px;
  font-size: 14px;
}

.webgene-pagination > ul > li > a{
    height: 35px;
    width: 35px;
}

.webgene-pagination > ul{
  gap: 15px;
}
  
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */
} /* min-width: 768px ここまで */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

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


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