@charset "UTF-8";

.mainvisiual {
    background-image: url("../images/newstopics_mv.jpg");
    background-repeat: no-repeat;
    width: 100vw;
    height: 400px;
    background-size: cover;
    background-position: center;
}

.news-contents {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    padding: 100px 0;
    margin: auto;
}

article {
    width: 74%;
}

.flex_wrap {
    display: flex;
    flex-wrap: wrap;
    margin-left: 10%;
}

.post_contents {
    width: 50%;
}

.post_catch {
    width: 300px;
    height: 200px;
    margin-bottom: 20px;
}

.post_img {
    position: relative;
    display: inline-block;
}

.category_ab {
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: #093E4E;
    padding: 3% 17%;
    color: #fcfcfc;
}

.post_text {
    text-align: left;
    width: 300px;
    margin: 0 auto;
}

.post_title {
    display: inline-block;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.post_description {
    display: inline-block;
    margin-bottom: 20px;
    line-height: 2.2rem;
}

.post_text a {
    color: #1F7C99;
}

.post_item_footer {
    display: flex;
    margin-bottom: 40px;
    justify-content: space-between
}

.wp-pagenavi {
    clear: both;
    display: block;
    width: 100%;
    margin-top: 50px;
}

a.page.larger,
.wp-pagenavi a,
.wp-pagenavi span {
    text-decoration: none;
    border: none;
    padding: 15px 14px;
    margin: 12px;
    color: #272727;
    background: #F4F4F4;
}

a.previouspostslink,
a.nextpostslink {
    text-decoration: none;
    border: solid 1px #093E4E;
    padding: 15px 14px;
    margin: 12px;
    color: #093E4E;
    background: #FCFCFC;
}

a.nextpostslink:hover,
a.previouspostslink:hover {
    color: #fcfcfc;
    background: #093E4E;
}

a.page.larger:hover,
.wp-pagenavi span.current {
    background: #1F7C99;
    color: #fcfcfc;
}

/* asideここから */
aside {
    width: 22%;
}

.aside_title {
    font-size: 2.8rem;
    color: #093E4E;
    border-bottom: solid 1px #272727;
    text-align: left;
    padding-bottom: 18px;
}

aside ul {
    list-style: none;
    text-align: left;
}

aside ul a {
    display: inline-block;
    text-decoration: none;
    color: #333;
    width: 100%;
    padding: 20px 0;
}

.category_title {
    display: inline-block;
    font-size: 2.0rem;
    margin-bottom: 10px;
}

aside ul li {
    border-bottom: solid 1px #E3E3E3;
}

aside ul li:hover,
a.btn_com.active {
    background-color: #F0FCFF;
}

.btn_com {
    padding-left: 7px;
}

@media(max-width:780px) {
    .mainvisiual {
        height: 320px;
    }

    .news-contents {
        display: block;
        max-width: 330px;
        padding: 80px 0 100px;
        margin: auto;
    }

    article {
        width: 100%;
        margin-bottom: 115px;
    }

    .post_contents {
        width: 100%;
    }

    .flex_wrap {
        display: inline-block;
        margin-left: 0;
    }

    .post_text a {
        font-size: 1.4rem;
    }

    .wp-pagenavi {
        margin-top: 75px;
    }

    /* asideここから */
    aside {
        width: 100%;
    }


}