@charset "utf-8";

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

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

.gjs-dashed .intModal01 {
    transform: translate(0, 0%) !important;
}

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

.gjs-dashed .inModalImgBox {
    width: 100%;
    margin: 0 auto 0 auto;
    max-width: 400px;
}

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

.galleryItem {
    display: block;
    width: 100% !important;
    max-width: 400px;
    margin: 0 auto;
    overflow: hidden;
    cursor: pointer;
}

.galleryItem .galleryImg img {
    transition: all .3s;
}

.galleryItem:hover .galleryImg img {
    transform: scale(1.1);
}

.galleryImg {
    position: relative;
    width: 100%;
    aspect-ratio: 51 /31;
    overflow: hidden;
    background: #FFEDCA;
}

.nailGalleryBx .galleryImg {
    background: var(--quaternary);
}

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

.galleryImg>img+.noImg {
    display: none;
}

.galleryTit {
    margin: 5px 0 0;
    color: var(--black);
    font-weight: bold;
    min-height: 0vw;
    line-height: 1.67em;
    letter-spacing: 0.05em;
}

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

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


/* modal */
.modal {
    cursor: auto;
}

.modal-open .modal{
    overflow: hidden;
}

.modalIn {
  	position: relative;
    width: 100%;
    max-width: 800px;
    height: 94%;
    max-height: max-content;
    margin: 30px auto 0;
    padding: 30px 15px;
    background: var(--white);
    overflow-y: auto;
}

.galleryModalImg {
    margin: 0 auto;
}

.modalCloseBtn {
    position: absolute;
    z-index: 9999999999;
    top: 20px;
    right: 5%;
    width: 30px;
    height: 30px;
    background: #76503B;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .3s;
    cursor: pointer;
}

.closeBx {
    position: relative;
    width: 100%;
    height: 100%;
}

.closeBar {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 80%;
    height: 2px;
    background: var(--white);
    transform-origin: center center;
}

.closeBar:first-child {
    transform: rotate(45deg);
}

.closeBar:last-child {
    transform: rotate(-45deg);
}

.modalCloseBtn:hover {
    opacity: .6;
}

/*  ページャー */

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

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

.webgene-pagination>ul>li {
    display: flex;
    margin: 30px 5px 0;
    height: 40px;
    min-height: 40px;
    width: 100%;
    max-width: 40px;
    font-size: 14px;
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 4px 0;
    align-items: center;
    border-radius: 50%;
}

.webgene-pagination>ul>li>a {
    width: 100%;
    height: 30px;
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: initial;
    font-size: 15px;
    transition: all .3s;
    color: var(--black);
}

.webgene-pagination>ul>li>a:hover {
    color: #fff;
    background-color: var(--black);
    text-decoration: none;
    transition: all .3s;
}

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

.webgene-pagination>ul>li.selected>a:hover {
    color: #fff;
    background-color: var(--black);
    transition: all .3s;
}

.webgene-pagination>ul>.prev>a,
.webgene-pagination>ul>.next>a {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 30px;
    width: 40px;
    border: 0;
    font-size: 0;
    font-weight: 500;
    letter-spacing: .05em;
    color: var(--black);
}

.webgene-pagination>ul>.prev>a:hover,
.webgene-pagination>ul>.next>a:hover {
    color: #fff;
    opacity: .5;
    background-color: initial;
}


.webgene-pagination>ul>.prev>a::before,
.webgene-pagination>ul>.next>a::before {
    content: "";
    display: block;
    top: 50%;
    width: 20px;
    height: 16px;
    margin: 0 0 .3em;
    transition: all .3s;
}

.webgene-pagination>ul>.prev>a::before {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 16px 10px 0;
    border-color: transparent var(--black) transparent transparent;
}

.webgene-pagination>ul>.next>a::before {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 16px;
    border-color: transparent transparent transparent var(--black);
}


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

    .inGalleryBx section {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px 25px;
    }

    /* modal */
    .modalIn {
        padding: 45px 30px;
    }

    .modalCloseBtn {
        width: 40px;
        height: 40px;
    }

    /* ページャー */
    .webgene-pagination {
        grid-column: 1/4;
    }

    .webgene-pagination>ul>li>a {
        height: 40px;
        width: 40px;
        font-size: 18px;
    }


}

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