@charset "utf-8";


/* =================
main
==================== */
/* =================
section gallery
==================== */

.section.section--gallery {
    padding: var(--contentPadding);
}

.topic {
    margin-top: 120px;
}

.topic__subTitle {
    text-align: center;
}

.link {
    margin: 50px 0 50px;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 矢印疑似要素ここから */
.link__item {
    width: 180px;
    margin-top: 30px;
    font-weight: 500;
    padding: 5px;
    border-bottom: 1px solid var(--primary-brown);
    display: flex;
    align-items: center;
    position: relative;
}

.link__item::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 5px;
    right: 10px;
    margin: auto;
    vertical-align: middle;
}

.link__item::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    vertical-align: middle;
}

.link__item::after {
    content: '';
    display: block;
    width: 30px;
    height: 30px;
    border: 1px solid var(--primary-brown);
    border-radius: 50%;
}

.link__item::before {
    content: '';
    border: 0;
    border-bottom: solid 1px var(--primary-brown);
    border-right: solid 1px var(--primary-brown);
    width: 10px;
    height: 10px;
    transform: rotate(45deg);
    position: absolute;
}

/* 矢印疑似要素ここまで */

/* gallery */

.gallery {
    columns: 2;
    gap: 10px;
    margin-top: 40px;
}

/* imgのpaddingtop分の10px差し引いている */

.gallery__item {
    width: 100%;
    height: auto;
    margin-top: 10px;
}

.gallery__item:hover {
    opacity: 0.5;
    transition: 0.4s;
}

/* modal */
.modal__item {
    z-index: -10;
    opacity: 0;
    transition: 1s;
    width: 0;
    background-color: var(--primary-white);
    padding: 8px;
    box-shadow: 2px 4px 12px 4px rgba(111, 111, 111, 0.1);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.modal__item.open {
    /* display: block */
    z-index: 70;
    opacity: 1;
    width: 60%;
    max-width: 768px;
}

/* modalの背景の色 */
.container::after {
    content: '';
    background-color: #E9E4DE;
    opacity: 0.9;
    position: fixed;
    width: 100%;
    height: 100vh;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 60;
    display: none;
}

.container.open::after {
    display: block;
}

/* closeボタン */
.closeGallery {
    width: 24px;
    height: 24px;
    position: fixed;
    top: 10%;
    right: 10%;
    z-index: 100;
    display: none;
}

.closeGallery img {
    width: 100%;
}

.closeGallery.open {
    display: block;
}


/* pc gallery 769px */
@media screen and (min-width: 769px) {
    .section.section--gallery {
        padding: var(--contentPaddingPC);
    }

    .topic {
        margin-top: 210px;
    }

    .brPC {
        display: block;
    }

    .link {
        flex-direction: row;
        gap: 50px;
    }

    /* gallery */

    .gallery {
        columns: 4;
        column-gap: 10px;
        margin-top: 90px;
        margin-bottom: 100px;
    }

    /* imgのpaddingtop分の15px差し引いている */

    .gallery img {
        width: 100%;
        height: auto;
        margin-top: 10px;
    }
}


/* ==========================
    instagram btn 
===============================*/
.instagram {
    padding: 30px;
    margin-top: 50px;
    background: var(--primary-beige);
}

.brPC {
    display: none;
}

.btn.btn--instagram {
    margin-top: 20px;
}


/* pc instagram 769px */
@media screen and (min-width: 769px) {
.instagram {
    padding: 50px;
    margin-top: 100px;
    margin-bottom: 100px;
}

.instagram__txt {
   text-align: center;
}

.brPC {
    display: block;
}

.btn.btn--instagram {
    margin-top: 30px;
}

}

/* pc 960px */