@charset "utf-8";
/* CSS Document */

/*sm　*/
#title{
background: url("../img/bg_news.jpg") center center/cover no-repeat;
}

#news_list li{
margin-bottom: 30px;
}

#news_list .news_img,
#news_detail .news_img{
text-align: center;
}

#news_list .news_img img{
width: 80%;
margin-bottom: 15px;
}

#news_list .news_date-category,
#news_detail .news_date-category{
display: flex;
margin-bottom: 10px;
line-height: 1.4;
}

#news_list span,
#news_detail span{
margin-left: 10px;
padding: 5px 10px 3px;
border-radius: 20px;
font-size: 1.2rem;
}

#news_list .news_text{
line-height: 1.4;
}

#news_list li a:link,
#news_list li a:visited,
#news_detail li a:link,
#news_detail li a:visited{
color: rgba(34,51,68,1.00);
}

/*smだけ非表示*/
#news_list .news_lead{
display: none;
}

#news_detail img{
margin-bottom: 15px;
}

#news_detail .news_lead{
margin-bottom: 30px;
padding-bottom: 10px;
border-bottom: 1px solid rgba(30,30,30,0.5);
}

#news_detail h3,
#news_detail h4{
font-weight: bold;
margin-bottom: 15px;
font-size: 1.8rem;
}

#news_detail .news_body{
margin-bottom: 30px;
}

#news_detail .news_url a{
display: inline-block;
margin-bottom: 30px;
padding: 10px 15px;
border-radius: 10px;
background-color: rgba(241,201,76,0.4);
line-height: 1.4;
overflow-wrap: break-word;
box-sizing: border-box;
width: 100%;
max-width: 100%;
}


/* md news */
@media screen and (min-width:768px) {
#news_list li{
margin-bottom: 50px;
}

#news_list li a{
display: flex;
align-items: flex-start;
justify-content: space-between;
}
	
#news_list .news_img{
width: 23%;
}

#news_list .news_img img{
width: 100%;
margin-bottom: 0;
}

#news_list .news_text{
width: 75%;
}

#news_list .news_title{
font-size: 2.0rem;
font-weight: bold;
}

#news_list .news_lead{
display: block;
margin-top: 5px;
display: -webkit-box; /* 必須 */
-webkit-box-orient: vertical; /* 必須 */
-webkit-line-clamp: 2; /* 行数を制限 */
overflow: hidden; /* はみ出た部分を非表示 */
}

#news_detail img{
width: 60%;
margin-bottom: 30px;
}

#news_detail h3{
font-size: 2.0rem;
}
}


/* lg news */
@media screen and (min-width: 1024px) {
#news_list li .news_img img{
transition: 0.3s;
}

#news_list li:hover .news_img img{
transform: scale(1.02);
}

#news_detail .news_url a{
transition: 0.3s;
}

#news_detail .news_url a:hover{
background-color: rgba(241,201,76,0.8);
}
}