@charset "UTF-8";
/* CSS Document */

.newsmenu_header {
    background-image: url("../images/pc_news_heading.png");
    background-repeat: no-repeat;
    max-width: 1440px;
    width:966px;
    height: 299px;
    margin-bottom: 160px;
}
.section_newsmenu h2 {
    font-weight: 600;
    font-size: 50px;
    line-height: 75px;
    position: absolute;
    margin-left: 455px;
    margin-top: 53px;
    display: inline-block;
}
.section_newsmenu h2::before {
    content:"";
    width: 308px;
    height: 88px;
    background-image: url("../images/news2.svg");
    display: block;
}
@media(max-width:768px){
.newsmenu_header {
    background-image: url("../images/pc_news_heading.png");
    background-repeat: no-repeat;
    background-size: contain;
    max-width: 375px;
    height: 100px;
    margin-bottom: 80px;
}
.section_newsmenu h2 {
    font-weight: 600;
    font-size: 18px;
    line-height: 27px;
    position: relative;
    margin-top: 20px;
    margin-left: 230px;
}

.section_newsmenu h2::before {
    content:"";
    width: 100px;
    height: 30px;
    background-image: url("../images/news2.svg");
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    }
}
@media(min-width:1800px){
.newsmenu_header {
    background-image: url(../images/pc_news_heading.png);
    background-repeat: no-repeat;
    background-size: contain;
    max-width: 1440px;
    width: 1200px;
    height: 370px;
    margin-bottom: 160px;
}
.section_newsmenu h2 {
    font-weight: 600;
    font-size: 70px;
    line-height: 120px;
    position: absolute;
    margin-left: 550px;
    margin-top: 40px;
    display: inline-block;
}
.section_newsmenu h2::before {
    content: "";
    width: 500px;
    height: 150px;
    background-image: url(../images/news2.svg);
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    }
}

.newsmenu_content {
    max-width: 1040px;
    margin: 0 auto;
}
.newsmenu_3 img{
    width: 30%;
    aspect-ratio: 1/1;
    object-fit: cover;
}
.newsmenu_3 , .newsmenu_2 , .newsmenu_1 {
    display: flex;
    padding: 30px;
    border-bottom: 1px solid #ccc;
}
.newsmenu_3 li, .newsmenu_2 li, .newsmenu_1 li{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
}
.newsmenu_3 p, .newsmenu_2 p, .newsmenu_1 p{
    font-size: 24px;
    line-height: 36px;
    font-weight: 600;
    padding-bottom: 10px;
}
.newsmenu_3 a , .newsmenu_2 a , .newsmenu_1 a {
    text-decoration: none;
    color: #333;
}

time{
    text-align: left;
    padding-left: 25px;
    position: relative;
}
time::before {
    content: "";
    display: block;
    width: 15px;
    height: 15px;
    position: absolute;
    left: 2px;
    top: 7px;
    background-image: url("../images/calendar_1.svg");
}
@media(max-width:768px){
    .newsmenu_content {
        max-width: 327px;
        margin: 0 auto;
    }
    .newsmenu_3 , .newsmenu_2 , .newsmenu_1 {
        display: flex;
        padding: 10px;
        border-bottom: 1px solid #ccc;
    }
    .newsmenu_3 li, .newsmenu_2 li, .newsmenu_1 li{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }
    .newsmenu_3 p, .newsmenu_2 p, .newsmenu_1 p{
        font-size: 11px;
        line-height: 18px;
        font-weight: 600;
        padding-bottom: 10px;
    }
    .newsmenu_3 img , .newsmenu_2 img , .newsmenu_1 img {
        max-width: 20%;
    }

    time{
        text-align: left;
        padding-left: 25px;
        position: relative;
        font-size: 12px;
        line-height: 18px;
    }
    time::before {
        content: "";
        display: block;
        width: 15px;
        height: 15px;
        position: absolute;
        left: 2px;
        top: 4px;
        background-image: url("../images/calendar_1.svg");
    }
}

.pagenation {
    margin-top: 80px;
    margin-bottom: 160px;
}
.pagenation_list {
    display: flex;
    justify-content: center;
    padding-right: 10px;
    width: 1040px;
    margin: 0 auto;
}
.pagenation_list a {
    text-decoration: none;
    color: #fff;
    background: #ccc;
    padding: 10px 10px;
    margin-right: 10px;
    font-size:  24px;    
}
.pagenation_list a:hover {
    text-decoration: none;
    color: #fff;
    background: #333;
    padding: 10px 10px;
}
.wp-pagenavi a, .wp-pagenavi span {
    text-decoration: none;
    padding: 10px 10px;
    margin: 5px;
    background-color: #ccc;
    color: #fff;
    font-size: 24px;
}

.wp-pagenavi a:hover, .wp-pagenavi span.current {
    border-color: #000;
    border: none;
}
@media(max-width:768px){
    .pagenation {
        margin-top: 40px;
        margin-bottom: 80px;
    }
    .pagenation_list {
        display: flex;
        justify-content: center;
        width: 327px;
        margin: 0 auto;
    }
    .pagenation_list a {
        text-decoration: none;
        color: #fff;
        background: #ccc;
        padding: 5px 5px;
        font-size: 12px;
        margin-right: 7px;
    
    }
    
    .pagenation_list a:hover {
        text-decoration: none;
        color: #fff;
        background: #333;
        padding: 5px 5px;
    }
    
    
}