@charset "utf-8";

/* _____________HEADER_____________ */
#lowerpage_top {
    background: url(../images/news/pagetop.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
    position: relative;
}

/* _____________NEWS CONTENT_____________ */
.news_content{
    max-width: 730px;
    width: 100%;
    margin: 0px auto;
}
.news_tab{
    display: flex;
    justify-content: flex-start;
    padding-bottom: 15px;
    border-bottom: 2px solid #333;
    flex-wrap: wrap;
    gap: 15px;
}

.news_tab li:last-child{
    margin-right: 0px
}
.news_tab li a{
    display: block;
    height: auto;
    width: 125px;
    border: 1px solid var(--red);
    border-radius: 20px;
    text-align: center;
    font-size: 15px;
    color: var(--red);
    cursor: pointer;
}
.news_tab li a.active,.news_tab li a:hover{
    background-color: var(--red);
    color: #fff
}

.tabcontent ul.newlist{
    margin-top: 50px
}
.tabcontent ul.newlist li{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-image: url(../images/news/arrow.png);
    background-size: 8px 14px;
    background-position: center right;
    background-repeat: no-repeat;
    padding: 12px 0px;
    border-bottom: 1px solid #ccc
}
.tabcontent ul.newlist li .category{
    border: 1px solid #333;
    display: block;
    min-width: 125px;
    text-align: center;
    border-radius: 20px;
    color: #333;
    font-size: 14px
}
.tabcontent ul.newlist li .date{
    color: #333;
    font-size: 14px;
    display: block;
    min-width: 100px;
    text-align: center;
}
.tabcontent ul.newlist li a{
    width: 100%;
    color: #333;
    font-size: 14px
}
.tabcontent ul.newlist li a:hover{
    color: var(--red);
}

.pagination{
    margin: 50px 0px
}
.pagination ul{
    display: flex;
    justify-content: center;
    align-items: center;
}
.wp-pagenavi{
    display: flex;
    justify-content: center;
}
.wp-pagenavi a, .wp-pagenavi span {
    padding: 0px;
    color: #333;
    border: 1px solid var(--red);
    font-size: 16px;
    text-align: center;
    height: 35px;
    width: 35px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px
}
.pagination ul li span{
    width: 30px;
    height: 30px;
    display: block;
    text-align: center;
}
.wp-pagenavi .pages{
    display: none;
}
.wp-pagenavi a:hover,.wp-pagenavi span.current {
    border-color: var(--red);
    background-color:  var(--red);
    color: #fff
}

/* _____________NEWS SUMMARY_____________ */
.summary .breadCrumb{
    padding-top: 100px;
    padding-bottom: 50px
}

.summary_info .category{
    border: 1px solid #333;
    display: block;
    width: 115px;
    text-align: center;
    border-radius: 20px;
    color: #333;
    font-size: 14px;
    margin: 5px 0px
}
.summary_info .date{
    color: #333;
    font-size: 14px;
    display: block;
    width: 115px;
    text-align: center;
}
.summary_title_box{
    margin-bottom: 105px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.summary_title_box h1{
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    padding: 0px;
    width: 850px;
    position: relative;
}
.summary_title_box h1::after {
  content: ''; /* required to display pseudo elements */
  height: 3px; /* this works like a border-width */
  width: 80px; /* you can use a percentage of parent or fixed px value */
  background: #333; /* the color of border */
  position: absolute;
  bottom: -10px; /* position it at the bottom of parent */
  margin: 0 auto; left: 0; right: 0; /* horizontal centering */
}
.summary_content{
    width: 100%;
    max-width: 850px;
    margin: 0px auto 105px
}
.summary_content img{
    width: 100%;
    height: auto;
    margin: 25px 0px
}
.navigation{
    margin-bottom: 100px;
}
.navigation ul{
    display: flex;
    justify-content: center;
    align-items: center;
}
.navigation ul li a{
    border: 1px solid var(--red);
    color: var(--red);
}
.navigation ul li:first-child a{
    background-image: url(../images/news/left.png);
    background-position: center center;
    background-repeat: no-repeat;
    width: 40px;
    height: 40px;
    display: block;
    border-radius: 5px
}
.navigation ul li:first-child a:hover{
    background-color: var(--red);
    background-image: url(../images/news/left_w.png);
}
.navigation ul li.middle{
    margin: 0px 55px
}
.navigation ul li.middle a{
    width: 140px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--red);
    text-align: center;
    border-radius: 5px;
}
.navigation ul li.middle a:hover{
    background-color: var(--red);
    color: #fff
}
.navigation ul li:last-child a{
    background-image: url(../images/news/right.png);
    background-position: center center;
    background-repeat: no-repeat;
    width: 40px;
    height: 40px;
    display: block;
    border-radius: 5px
}
.navigation ul li:last-child a:hover{
    background-color: var(--red);
    background-image: url(../images/news/right_w.png);
}
@media screen and (max-width: 768px) {
    .tabcontent ul.newlist li{
        display: block;
    }
    .news_tab li{
        margin-right: 0px
    }
    .news_tab li a{
        font-size: 13px;
        width: 105px;
        height: auto;
    }
    .tabcontent ul.newlist li .category{
        min-width: 100px;
        font-size: 13px;
        display: inline-block;
    }
    .tabcontent ul.newlist li a{
        display: block;
    }
    .tabcontent ul.newlist li .date{
        display: inline-block;
    }
    .summary_title_box{
        display: block;
        margin-bottom: 55px
    }
    .summary_title_box h1 {
        text-align: left;
        width: 100%;
        font-size: 30px;
        padding-bottom: 5px
    }
    .summary_title_box h1::after{
        width: 100%;
        bottom: -5px
    }
}