@charset "UTF-8";
/* CSS Document (新着情報CMS) */

/*===index.php(メイン)用==============================*/

/*#newsWrap(おもてページ)の指定*/
#newsWrap{
}
#newsWrap ul#newsList{
	overflow-y: scroll;
	max-height: 450px;
	width: 100%;
    display: flex;
    flex-wrap:wrap;
justify-content:flex-start;
}


#newsWrap ul#newsList li{
	list-style-type:none;
	margin-bottom: 14px;
    width: calc(100% / 4 - 10px);
    margin: 5px;
    border: 1px solid #eee;
}
#newsWrap ul#newsList li .news-text{
display: block;
padding: 1em;   
width: 100%;      
}
#newsWrap ul#newsList li .news_photo{
display: block;
width: 100%; 
height: 200px;    
}
#newsWrap ul#newsList li .news_photo img{
width: 100%;
height: 100%;
object-fit: cover;
display: block;    
}
#newsWrap ul#newsList li .up_ymd{
	display: block;
	margin-right: 20px;
	letter-spacing: 0.05em;
	font-size: 0.8rem;
	color: #0168B7;
	padding: 1px 0;
   font-family: 'Cabin', sans-serif;     
}
#newsWrap ul#newsList li .title{
	letter-spacing: 0.12em;
    	display: block;
    color: #333;
}
#newsWrap a{
color: #333;  
border-bottom: 1px solid #ddd;
}
#newsWrap a:hover{
	opacity: 0.6;
    background-size: 0% 1px;
}
@media (max-width: 960px){
#newsWrap ul#newsList li{
	list-style-type:none;
	margin-bottom: 14px;
    width: calc(100% / 2 - 10px);
    padding: 5px;
}     
}

@media (max-width: 690px){
	#newsWrap ul#newsList li{
		margin-bottom: 20px;
	}
	#newsWrap ul#newsList li .up_ymd{
		font-size: 0.7rem;
		padding: 0 10px;
		margin-bottom: 8px;  
        color: #0168B7;
	}
	#newsWrap ul#newsList li .title{
		display: block;
		font-size: 0.9rem;
        color: #333;
	}
#newsWrap ul#newsList li{
	list-style-type:none;
	margin-bottom: 14px;
    width: 100%;
    padding: 0;
}    
}

/*スクロールバー*/
#newsWrap ul#newsList::-webkit-scrollbar{
    overflow: hidden;
    width: 2px;
    background: #eee;
}
#newsWrap ul#newsList::-webkit-scrollbar-button {
    display: none;
}
#newsWrap ul#newsList::-webkit-scrollbar-thumb, #newsWrap ul#newsList::-webkit-scrollbar-corner {
    background: #444;
}
#newsWrap ul#newsList::-webkit-scrollbar-thumb, #newsWrap ul#newsList::-webkit-scrollbar-corner {
    background: #444;
}


/*===news-detail(詳細ページ)用==============================*/
.news-detail .flex{
	display: flex;
	justify-content: space-between;
}
.news-detail .flex #main{
	width: calc(100% - 270px);
}
.news-detail .flex #side{
	width: 220px;
}

/*main*/
.news-detail .flex #main #up_ymd{
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.05em;
	margin-bottom: 20px;
	color: #0168B7;
    font-family: 'Cabin', sans-serif;     
}
.news-detail .flex #main #up_ymd::before{
	font-family: "Font Awesome 6 Free";
	content: '\f017';
	font-weight: 900;
	padding-right: 0.5em;
}
.news-detail .pages{
	display: flex;
	justify-content: space-around;
	margin-top: 30px;
}
.news-detail .pages > div{
	width: 45%;
}
.news-detail .pages .page_next{
}
.news-detail .pages .page_prev{
}
.news-detail .pages a{
	display: block;
	width: 100%;
	border: 1px solid #ddd;
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	padding: 15px;
	transition: 0.4s;
    color: #0168B7; 
}
.news-detail .pages .page_prev a{
	text-align: right;
}
.news-detail .pages a:hover{
background:rgba(1,104,183,0.2);
}

/*side*/
.news-detail .flex #side h3{
	font-size: 1.1rem;
	font-weight: 500;
	margin-bottom: 10px;
}
.news-detail .flex #side h3::before{
	font-family: "Font Awesome 5 Free";
	content: '\f0ca';
	font-weight: 900;
	padding-right: 0.5em;
	color: #0168B7;
}
.news-detail .flex #side ul{

}
.news-detail .flex #side ul li a{
	display: block;
	width: 100%;
	border: 1px solid #ddd;
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	color: #0168B7;
	padding: 15px;
	margin-bottom: 7px;
	transition: 0.4s;    
}
.news-detail .flex #side ul li a::before{
	font-family: "Font Awesome 5 Free";
	content: '\f017';
	font-weight: 900;
	padding-right: 0.5em;
}
.news-detail .flex #side ul li a:hover{
background:rgba(1,104,183,0.2);
}

@media (max-width: 960px){
	.news-detail .pages{
		display: block;
		margin-top: 30px;
	}
	.news-detail .pages > div{
		width: 100%;
	}
	.news-detail .pages .page_next{
		margin-bottom: 7px;
	}

    
}
@media (max-width: 750px){
	.news-detail .flex{
		display: block;
	}
	.news-detail .flex #main{
		width: 100%;
		margin-bottom: 40px;
	}
	.news-detail .flex #side{
		width: 100%;
	}
}


/*一覧ページ*/
.news-detail .flex #main li{
	border-bottom: 1px solid #ddd;
	list-style-type:none;
	padding: 8px 0;
}
.news-detail .flex #main li .up_ymd::before{
	font-family: "Font Awesome 6 Free";
	content: '\f017';
	font-weight: 900;
	padding-right: 0.5em;
}
.news-detail .flex #main li:first-child{
	border-top: 1px solid #ddd;
}
.news-detail .flex #main li span{
	display: block;
}
.news-detail .flex #main li .up_ymd{
	font-size: 0.8rem;
	letter-spacing: 0.05em;
    font-family: 'Cabin', sans-serif;     
    color: #0168B7;
}
.news-detail .flex #main li .title a{
	font-weight: 500;
    color: #333;
}
.news-detail .flex #main li .title a:hover{
	opacity: 0.7;
}

/*アーカイブのスクロール指定*/
.news-detail #side ul{
	overflow-y: scroll;
	max-height: 300px;
	padding-right: 10px;
}
/*スクロールバー*/
.news-detail #side ul::-webkit-scrollbar{
    overflow: hidden;
    width: 1px;
    background: #fafafa;
}
.news-detail #side ul::-webkit-scrollbar-button {
    display: none;
}
.news-detail #side ul::-webkit-scrollbar-thumb, .news-detail #side ul::-webkit-scrollbar-corner {
    background: #333;
}
.news-detail #side ul::-webkit-scrollbar-thumb, .news-detail #side ul::-webkit-scrollbar-corner {
    background: #333;
}