#media_wrap {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 60px;
}

#media_wrap .m_content_wrap {
    width: 100%;
    padding: 5% 10%;
    box-sizing: border-box;
}
#media_wrap .m_content_wrap:nth-child(2n) {
    background-color: #60B53A;
    color: white;
}

.m_content_wrap .m_title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    padding-bottom: 5%;
}

.m_image {
    width: 100%;
    height: 100%;
    margin: auto;
}

.m_image a:hover {
    opacity: 0.7; 
}

.m_image img {
    width: 100%;
    object-fit: cover;
}

.m_content_wrap .m_text {
    font-size: 1.8rem;
    line-height: 1.8rem;
}

.m_content_wrap .open_date {
    font-size: 2rem;
    text-align: right;
    padding-top: 5%;
}

.m_content_wrap .open_date .pub_name {
    margin-right: 15px;
}


@media screen and (max-width: 1000px){
    #media_wrap .m_content_wrap {
        padding-left: 2%;
        padding-right: 2%;
    }

    .m_content_wrap .m_title {
        font-size: 2rem;
    }

    .m_content_wrap .m_text {
        font-size: 1.6rem;
    }

    .m_content_wrap .open_date {
        font-size: 1.4rem;
    }

    #media_wrap .m_content_wrap #sns_text {
        padding-bottom: 5px !important;
    }

    #media_wrap .m_content_wrap .sns_link {
        font-size: 1.2rem !important;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    #media_wrap .m_content_wrap .sns_link a {
        line-height: 1.2rem !important;
    }

    .m_content_wrap .open_date .pub_name {
        margin-right: 0;
    }

    .mob_display_b {
        display: block;
        padding-top: 5px;
        white-space: nowrap;
    }
}