.newsletter_section {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.img {
    width: calc(100% / 4 - 30px);
    margin-bottom: 2em;
    display: none;
}

.img:nth-of-type(2n) {
    margin: 0 40px 2em 40px;
}

.img:nth-of-type(4n) {
    margin: 0 0 2em 40px;
}

.img .img_section > img {
    width: 100%;
    height: 100%;
    border: 1px solid #ececec;
}

.img_section {
    position: relative;
}

.img .title {
    font-size: 1.2rem;
    letter-spacing: -0.05em;
    font-weight: 500;
    color: #212121;
    margin-top: 0.8em;
}

.img .title a:link, .newsletter_section .title a:visited {
    color: #212121;
}

.img .title a:hover {
    color: #2d7150;
    text-decoration: underline;
    text-underline-position: under;
}

.img .date {
    font-size: 0.9em;
    font-weight: 300;
    color: #8e8e8e;
    margin-top: 0.7em;
}

.newsletterHover {
    width: 100%;
    height: 100%;
    background: #000;
    position: absolute;
    opacity: 0;
    top: 0;
    left: 0;
}

.newsletterHover .txt img {
    width: 17px;
    padding: 0;
    margin-left: 0.5em;
}

.newsletterHover .txt, #hover a:link {
    color: #fff;
}

.newsletterHover a {
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid #fff;
    width: 57%;
    height: 3em;
    padding: 0.8em 0;
}

.newsletterHover .txt {
    display: flex;
    justify-content: center;
    align-items: center;
}

.img_section:hover .newsletterHover {
    opacity: 0.7;
}

.img .title {
    width: 100%;
}

.img .title a {
    width: 100%;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 20px;
}

.jpg {
    text-align: center;
}

.jpg a {
    border: 1px solid #d9d9d9;
    box-sizing: border-box;
    width: 20%;
    display: inline-block;
    font-size: 0.9em;
    font-weight: 400;
    color: #212121;
    text-align: center;
    margin: 0 0.3em;
    cursor: pointer;
    padding: 1.25em 0;
}

@media screen and (max-width: 1220px) {
    .img {
        width: calc(100% / 4 - 35px);
    }
}

@media screen and (max-width: 1140px) {
    #newsletterHover a {
        width: 54%;
    }
}

@media screen and (max-width: 1060px) {
    #newsletterHover a {
        width: 62%;
    }
}

@media screen and (max-width: 1024px) {
    .img {
        width: calc(100% / 4 - 20px);
    }

    .img:nth-of-type(2n) {
        margin: 0 25px 2em 25px;
    }

    .img:nth-of-type(4n) {
        margin: 0 0 2em 25px;
    }
}

@media screen and (max-width: 840px) {
    #newsletterHover a {
        width: 63%;
    }
}

@media screen and (max-width: 768px) {
    .img {
        width: calc(100% / 2 - 15px);
    }

    .img:nth-of-type(2n) {
        margin: 0 0 2em 25px;
    }

    .img:nth-of-type(4n) {
        margin: 0 0 2em 25px;
    }
}

@media screen and (max-width: 530px) {
    .img .title {
        font-size: 1.1em;
    }
}

@media screen and (max-width: 420px) {
    .img {
        width: 100%;
    }

    #newsletterHover a {
        width: 70%;
    }

    .img:nth-of-type(2n) {
        margin: 0 0 2em 0;
    }

    .img:nth-of-type(4n) {
        margin: 0 0 2em 0;
    }
}

@media screen and (max-width: 320px) {
    #newsletterHover a {
        width: 86%;
    }
}

@media screen and (max-width: 280px) {
    .img .title {
        line-height: 1.2em;
    }
}