@charset "utf-8";

/*===========================================================
管理画面用
===========================================================*/

.gjs-dashed .modal {
    opacity: 1 !important;
    position: relative;
    display: block;
}

.gjs-dashed .staffItemWr {
    grid-template-columns: repeat(1, 1fr);
}

.gjs-dashed .intModal01 {
    transform: translate(0,0%) !important;
    /*height: 80px;*/
	/*height: 460px;*/
}

.gjs-dashed .modal-dialog-centered {
        min-height: auto;
    }

.gjs-dashed .modal-dialog-centered::before {
    height: auto;
}

/*===========================================================
一覧
===========================================================*/

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

.gallery-img-frame {
	max-width: 350px;
	width: 100%;
	height: 0;
	padding-top: 100%;
	background: #FFF;
	position: relative;
}

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

.firstBox {
    display: none;
}

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

.worksCateBox {
    gap: 1px;
}

/* .worksCateBox {
    background: #FFF;
    border-right: 1px solid #C7BFAD;
    border-bottom: 1px solid #C7BFAD;
} */

.gallery-btn-area section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    /* border-top: 1px solid #C7BFAD;
    border-left: 1px solid #C7BFAD; */
}

.galleryBtn01 {
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-size: clamp(14px, calc(0.875rem + ((1vw - 3.75px) * 0.3883)), 20px);
    color: #7B6C5D;
    transition: all .3s;
    background: #FFF;
    border: 1px solid #C7BFAD;
}

.galleryBtn01:hover {
    background: #7B6C5D;
    color: #fff;
}

.galleryBtn01.active {
    background: #7B6C5D;
    color: #fff;
}

/*===========================================================
Modal
===========================================================*/

.modal-backdrop.fade.show {
    z-index: 9999;
}

/* .galleryCatText{
    font-size: 14px;
} */


.modal, .modal-open {
    padding-right: 0 !important;
}

/* .modal-content {
	background: #2F4B45;
} */

.staffItemWr {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.inModalBody {
    padding: 60px 4% 40px 4%;
}

/* .intModalBox {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
} */

.modalCloseBtn {
    max-width: 26px;
    width: 100%;
    margin: 0 0 auto;
    height: 26px;
    padding: 0 0 0 1px;
    border: 1px solid #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: absolute;
    top: 20px;
    right: 2%;
    cursor: pointer;
}

.intModal01 {
    max-width: 700px;
    width: 96%;
    margin: 1rem auto 1rem auto;
}

.inDetailSliderBox {
    max-width: 600px;
    width: 100%;
	margin: 0 auto;
}

.gallery-date {
	display: inline-block;
    margin: 0 2% 0 0;
    font-size: clamp(12px, calc(0.75rem + ((1vw - 3.75px) * 0.3883)), 18px);
    font-family: "Lato", sans-serif;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #736F67;
}

.gallery-cate {
	display: inline-block;
    width: auto;
    margin: 5px 0 0 0;
    padding: 2px 2%;
    font-size: clamp(12px, calc(0.75rem + ((1vw - 3.75px) * 0.2589)), 16px);
    letter-spacing: 0.05em;
    background: #F0E9DF;
    color: #736F67;
}

/*===========================================================
ページャー
===========================================================*/

.webgene-pagination {
	width: 100%;
    margin: 30px auto 0;
    grid-column: 1 / 3;
}

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

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

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

.webgene-pagination > ul > li{
    display: flex;
	justify-content: center;
	align-items: center;
	margin: 15px 5px 0;
	padding: 4px 0;
	height:30px;
	min-height:30px;
	width:100%;
	max-width:30px;
	font-size: 14px;
	font-weight: 500;
	list-style: none;
	background-color: #F0E9DF;
	/* border: 1px #D9885B solid; */
    /* border-radius: 50%; */
	/* overflow: hidden; */
}

.webgene-pagination > ul > li.selected > a{
	color: #FFF;
	background: #7B6C5D;
	cursor: pointer;
	font-family: "Lato", sans-serif;
}

.webgene-pagination > ul > li.selected > a:hover {
    color: #7B6C5D;
    background-color: #F9F6EF;
}

.webgene-pagination > ul > li > a{
	width: 100%;
	height: 28px;
	width: 30px;
	color: #7B6C5D;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: .5s;
}

.webgene-pagination > ul > li > a:hover{
	color: #FFF;
	background-color: #7B6C5D;
	text-decoration: none;
    transition: .5s;
}

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

.next {
    border: none !important;
}

.next a:hover {
    background-color: unset !important;
    text-decoration: none !important;
}

.prev {
    border: none !important;
}

.prev a:hover {
    background-color: unset !important;
    text-decoration: none !important;
}

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

.dtlPager {
    display: flex;
    justify-content: space-between;
    margin: 80px 0 0;
}

.webgene-item-aroundPageLink {
    color: #D9885B;
    font-size: 14px;
}

.webgene-pagination>ul>.prev>a::before,
.webgene-pagination>ul>.next>a::before {
    content: "";
    display: block;
    transition: all .3s;
}

.webgene-pagination>ul>.prev>a::before {
    width:7px;
    height: 12px;
    content:"";
    background-image: url(/system_panel/uploads/images/webgene-pagination_arrow02.svg);
    background-attachment: scroll;
    background-position:center top;
    background-size: cover;
    background-repeat: no-repeat;
    transition: all .3s;
}


.webgene-pagination>ul>.next>a::before {
    width:7px;
    height: 12px;
    content:"";
    background-image: url(/system_panel/uploads/images/webgene-pagination_arrow01.svg);
    background-attachment: scroll;
    background-position:center top;
    background-size: cover;
    background-repeat: no-repeat;
    transition: all .3s;
}

.webgene-pagination>ul>.prev>a:hover::before {
    transform: translateX(-6px);
}


.webgene-pagination>ul>.next>a:hover::before {
    transform: translateX(6px);
}

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

/*===========================================================

===========================================================*/

/*===========================================================
category
===========================================================*/

.gallery-btn-area section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

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

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

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

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

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

/* .intModalBox {
    flex-direction: row;
    align-items: flex-start;
} */

/*===========================================================
category
===========================================================*/

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

/*===========================================================
ページャー
===========================================================*/

.webgene-pagination:nth-last-child(1) {
    grid-area: auto/auto/auto/span 3;
} 

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

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

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

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

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

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

.gallery-area section {
	grid-template-columns: repeat(4, 1fr);
}


/*===========================================================
ページャー
===========================================================*/

.webgene-pagination:nth-last-child(1) {
    grid-area: auto/auto/auto/span 4;
} 

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

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

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