.articleSection {
    display: grid;
    place-items: center;
    padding: 0 5% 64px;
}

.articleSection .article--header {
    border-bottom: 1px solid var(--bg-color-dimgrey);
}

.articleSection .media {
    padding: 24px 0;
    column-gap: 24px;
}

.articleSection .media--metadata {
    display: flex;
    align-items: center;
    column-gap: 16px;
}

.articleSection .media--date {
    color: var(--secondary-bland-color);
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 1.6;
}

.articleSection .media--genre {
    color: var(--white);
    background-color: var(--bg-color-genre);
    font-size: 1.3rem;
    font-weight: bold;
    line-height: 1.6;
    padding: 4px 12px;
}

.articleSection .media--titleBox {
    margin-top: 12px;
}

.articleSection .media--title {
    color: var(--font-color-black);
    font-size: 2rem;
    line-height: 1.6;
}

.articleSection .article--body {
    margin-top: 40px;
}

.articleSection .article--img {
    width: 100%;
}

.articleSection .article--text {
    margin-top: 40px;
    line-height: 1.5;
}

.articleSection .article--btnBox {
    text-align: center;
    margin-top: 40px; 
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */
    .articleSection {
        padding-top: 0;
        padding-bottom: 40px;
    }

    .articleSection .media {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .articleSection .media--imgBox {
        display: none;
    }

    .articleSection .article--body {
        margin-top: 24px;
    }

    .articleSection .article--text {
        margin-top: 24px;  
    }
}