@charset "utf-8";
 .news_head{
flex: 1;
}
.news_list{
width: 90rem;
margin:0 auto;
}
.news_list_item{
border-bottom: 1px solid rgb(from var(--graycolor) r g b / 0.4);
}
.news_list_item:first-child{
border-top: 1px solid rgb(from var(--graycolor) r g b / 0.4);
}
.news_box{
display: flex;
align-items: center;
gap: 3rem;
position: relative;
height: 8rem;
padding: 0 2rem;
transition: all .3s ease;
}
.news_cat{
width: 15rem;
}
.news_cat_term{
border-radius: 2.2rem;
padding: .8rem;
display: block;
text-align: center;
background: var(--accentcolor);
color: #fff;
transition: all .3s ease;
}
.news_title{
flex: 1;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
font-weight: normal;
}
.news_link a::after{
content: "";
z-index: 2;
width: 100%;
height: 100%;
position: absolute;
top:0;
left: 0;
}
.news_link .icon_arrow{
width: 3.4rem;
height: 3.4rem;
fill: var(--textcolor);
}
.news_list_item:hover{
.news_box{
background: var(--basecolor);
color: var(--maincolor);
}
.news_cat_term{
background: var(--maincolor);
}
.news_link .icon_arrow{
fill: var(--maincolor);
transform: translateX(1rem);
}
}
.news_footer{
width: 100%;
margin-top: 4.5rem;
}
.news_footer .news_head{
margin: auto;
}
.news_cat_list{
display: flex;
gap: 1.5rem;
margin-bottom: 8rem;
}
.news_cat_list_item span,
.news_cat_list_item a{
padding: 1.0rem 3rem;
border-radius: 3rem;
border: 1px solid rgb(from var(--graycolor) r g b / 0.4);
display: block;
transition: all .3s ease;
}
.news_cat_list_item.is_current span,
.news_cat_list_item:hover a{
background: var(--maincolor);
color: #fff;
border: 1px solid var(--maincolor);
}
@media (max-width: 768px) {
.news_head{
text-align: center;
margin-bottom: 4rem;
}
.news_list{
width: 100%;
}
.news_box{
flex-wrap: wrap;
height: auto;
gap: 1.5rem;
padding: 2rem;
}
.news_title{
width: 100%;
flex: auto;
padding-right: 5rem;
overflow: hidden;
white-space: normal; 
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
line-clamp: 2;
font-size: 1.4rem;
}
.news_date{
font-size: 1.4rem;
}
.news_cat_term{
font-size: 1.4rem;
padding: 0.3rem 0.3rem;
}
.news_link{
position: absolute;
top: 50%;
right: 1rem;
transform: translateY(-50%);
}
.news_cat_list{
padding: 0 2rem;
gap: .5rem;
}
.news_cat_list_item span,
.news_cat_list_item a {
font-size: 1.4rem;
padding: 0.3rem 3rem;
}
}