body {
    transition: opacity 0.5s ease;
    background-color: #ffffff;
}

body.fade-out {
    opacity: 0;
}

.main {
    justify-content: center;
    width: 88%;
    margin: auto;
    margin-top: 100px;
    padding-bottom: 300px;

    color: rgb(124, 124, 124);
}

.container {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100%;
    padding: auto;
}

.post {
    flex: 0 0 19%; /* 各ポストが全体の25%の幅を持つ */
    height: 245px;

    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color:aliceblue;
    margin-bottom: 10%;
}

.content img{
    text-align: center;
    justify-content: center;
    margin: auto;
    width: 100%;
    object-fit: cover;

    border-radius: 10px;

    transition: opacity 0.5s ease;
    z-index: 0;
}

.content:hover img {
    opacity: 0.5; 
}

.main-title {
    margin-bottom: 50px;
    margin-left: 10px;
}

.face-wrapper {
    width: 22%;
}

@media screen and (max-width: 480px) {
    .face-wrapper {
        width: 50%;
    }

    .post {
        flex: 0 0 49%; /* 各ポストが全体の25%の幅を持つ */
        height: 150px;
    
        margin: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color:aliceblue;
        margin-bottom: 10%;
    }
}