* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.page_ttl{
    margin-bottom: 10vw;
}
.wrapper {
    display: flex;
    width: 100%;
    max-width: 1440px;
    flex-wrap: wrap;
    align-content: center;
    gap: 10px;
    justify-content: space-between;
    margin: 0 auto;
}

.wrapper img {
    width: 24vw;
    max-width: 350px;
    object-fit: contain;
    cursor: pointer;
}

/* modal */

.design-wrapper {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(51,39,37,0.5);
    pointer-events: none;
    opacity: 0;
    transition: 0.25s ease-out;
}

.design-wrapper.show {
    opacity: 1;
    pointer-events: all;
}

.design-image {
    position: absolute;
    max-width: 80%;
    max-height: 80%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0;
    transition: 0.5s ease-out;
    width: 50vw;
}

.design-image.show {
    opacity: 1;
}
.gallery_list{
    display: grid;
    justify-content: center;
    max-width: 1440px;
    grid-template-columns: 1fr 1fr;
    margin: 0 auto;
    gap: 10px;
}
.nail_design{
    width: 100%;

}
.Instagram_link{
    margin: 10vw auto;
    padding: 3vw;
    width: 40vw;
    text-align: center;
    border: 0.6vw solid #332725;
    position: relative;
    border-radius: 2vw;
    font-size: 4vw;
}
.Instagram_link a{
    margin-left: 5vw;
}
.Instagram_link::before{
    content: "";
    width: 9vw;
    height: 9vw;
    background-image: url(../images/icon_image/instagram.png);
    display: inline-block;
    background-size: contain;
    position: absolute;
    right: 28vw;
    top: 50%;
    transform: translate(0px, -50%);
}
@media screen and (min-width:1023px) {
    .wrapper{
        max-width: initial;
        max-height: initial;
        height: 330vw;
        max-height: 2500px;
        justify-content: center;
    }
    .wrapper img{
        object-fit: contain;
        cursor: pointer;
        width: 48vw;
    }
    
    .Instagram_link{
        display: flex;
        margin: 5vw auto 0;
        color: var(--primary-brown);
        font-size: 3vw;
        font-style: normal;
        font-weight: 600;
        width: 30vw;
        border: 0.3vw solid
    }
    .Instagram_link a {
        margin-left: 6vw;
    }
    .gallery_list{
        display: grid;
        justify-content: center;
        max-width: 1440px;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        margin: 0 auto;
    }
    .Instagram_link::before {
        content: "";
        width: 7vw;
        height: 7vw;
        right: 21vw;
        top: 50%;
    }
    .footer{
        margin-top: 10vw;
    }
    .lightbox .lb-image {
        width: 50vw !important;
        height: 50vw !important;
    }
}