@charset "utf-8";

/*====================
body
====================*/
body {
    background-image: url(../images/bg-image-sp.png);
    background-repeat: repeat;
    animation: slide 16s linear infinite;
}

@keyframes slide {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: -100px 200px;
    }
}

@media screen and (min-width: 769px) {
    body {
        background-image: url(../images/bg-image.png);
        animation: slide 60s linear infinite;
    }
    
    @keyframes slide {
        100% {
            background-position: -100vw 100vh;
        }
    }
}

/*====================
mainVisual
====================*/
.mainVisual {
    margin-top: 32px;
    text-align: center;
    position: relative;
    z-index: 1;
    position: relative;
}

.mainVisual::before {
    content: "";
    display: block;
    width: 48px;
    height: 48px;
    background-image: url(../images/flower-orn.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 32px;
    left: 16%;
}

.mainVisual::after {
    content: "";
    display: block;
    width: 48px;
    height: 48px;
    background-image: url(../images/flower-red.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 192px;
    right: 11.2%;
}

.gallery {
    color: var(--primary-pink, #E79C9C);
    text-align: center;
    font-family: Chewy;
    font-size: 4rem;
    line-height: 1.3;
}

.gallery__img {
    margin-top: 24px;
    width: 200px;
    height: auto;
}

/* article__header pc */
@media screen and (min-width: 769px) {
    .mainVisual {
        margin-top: 40px;
    }

    .mainVisual::before {
        width: 96px;
        height: 96px;
        top: 80px;
        left: 36.875%;
    }

    .mainVisual::after {
        width: 96px;
        height: 96px;
        top: 244px;
        right: 36.875%;
    }

    .gallery {
        font-size: 7.2rem;
    }

    .gallery__img {
        width: 300px;
    }
} /* pc 769px */

/*====================
gallery
====================*/
.gallery__container {
    margin-top: -60px;
}

.filter__wrapper {
    background-color: var(--primary-lightpink, #FBEEEE);
}

.show {
    display: block;
}

.hide {
    display: none;
}

.filter-nav__item {
    cursor: pointer;
}

.filter-nav__item.show {
    cursor: default;
}

/* レイアウト調整 */
.filter-nav {
    display: flex;
    padding: 24px 5.3% 0;
}

.filter-contents {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 40px 5.3% 80px;
    gap: 10px 10px;
}

.filter-nav li {
    flex: 1;
    background-color: var(--primary-lightbeige, #FDFDFB);
    border: 1px solid var(--primary-darkpink, #D85E5E);
    border-radius: 20px;
    color: var(--primary-darkpink, #D85E5E);
    text-align: center;
    font-family: Delius;
    font-size: 1.4rem;
    line-height: 1.6;
    padding: 9px 0;
}

.filter-nav li:not(:last-child) {
    margin-right: 8px;
}

.filter-nav li.show {
    background-color: var(--primary-darkpink, #D85E5E);
    color: var(--primary-white, #FFFFFF);
}

.filter-contents__item {
    width: 100%;
    height: auto;
    /* expansion */
    overflow: hidden;
    object-fit: cover;
    transition-duration: 0.3s;
}

/* expansion */
.filter-contents__item:hover {
    transform: scale(1.2);
    transition-duration: 0.3s;
    padding: 4px;
    background-color: var(--primary-white, #FFFFFF);
    box-shadow: 4px 4px 4px rgba(51, 51, 51, 0.5);
}

/* gallery pc */
@media screen and (min-width: 769px) {
    .gallery__container {
        text-align: center;
        margin-top: -99px;
    }

    .filter__wrapper {
        max-width: 1200px;
        margin: 0 auto;
    }

    .filter-nav {
        padding: 0 160px;
    }

    .filter-nav li {
        border-radius: 24px;
        font-size: 1.6rem;
        padding: 11px 0;
    }

    .filter-nav li:not(:last-child) {
        margin-right: 10px;
    }

    .filter-contents {
        padding: 0 160px 120px;
        margin-top: 40px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .filter-contents__item {
        width: 100%;
        height: auto;
    }

    /* expansion */
    .filter-contents__item:hover {
        padding: 8px;
    }
}