@charset "utf-8";

/* common.cssの設定を連携しているため変更点や追加点のみ記載 */
body {
    background: none;
    background-color: var(--primary-whiteLow);
}

.topic {
    line-height: 0.8;
    margin-bottom: 60px;
}

.gallery_menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 100px;
    gap: 80px;
    color: var(--primary-black);
    text-align: center;
    font-family: Aldrich;
    font-size: 1.5rem;
    font-weight: 400;
    transition: 0.4s;
    }

.gallery-kids:hover {
    opacity: 0.8;
}

.gallery-still:hover {
    opacity: 0.8;
}

.gallery-kids,
.gallery-still {
    position: relative;       /* 疑似要素の基準にする */
    display: inline-block;    /* 幅をテキストに合わせる */
    cursor: pointer;
}

.gallery-kids::before,
.gallery-still::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(122, 139, 111, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.8s ease;
}

.gallery-kids:hover::before,
.gallery-still:hover::before {
    width: 6em;   /* 丸の直径 */
    height: 6em;
    opacity: 1;
}

.footer {
    padding-top: 80px;
}


/* gallery pc */
@media screen and (min-width: 769px) {
    .topic {
        margin-top: 150px;
        line-height: 0.6;
    }

    .gallery_menu {
        flex-direction: row;
        justify-content: space-evenly;
        margin: 300px auto 200px;
        font-size: 3rem;
        font-weight: bold;
    }

    .gallery-kids:hover::before,
    .gallery-still:hover::before {
        width: 9em;   /* 丸の直径 */
        height: 9em;
    }

}/* gallery 769px */