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

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

/*#newsWrap(おもてページ)の指定*/
.news .flex{
	display: flex;
	justify-content: space-between;
}
.news .flex .left{
	width: 250px;
}
#newsWrap{
	width: calc(100% - 300px);
}
#newsWrap ul#newsList{
	overflow-y: scroll;
	max-height: 200px;
	width: 100%;
	padding: 0 10px;
}
ul#newsList li{
	list-style-type: none;
	margin-bottom: 13px;
	padding-bottom: 15px;
	border-bottom: 1px solid #ddd;
}
#newsWrap ul#newsList li .up_ymd{
	display: inline-block;
	padding: 3px 20px;
	background: #14369B;
	color: #fff;
	margin-right: 20px;
	letter-spacing: 0.1em;
	font-family: 'Josefin Sans', sans-serif;
	font-weight: 400;
	font-size: 0.9rem;
}
#newsWrap ul#newsList li .title{
	letter-spacing: 0.12em;
}
#newsWrap ul#newsList li .title a{
	text-decoration: none;
	transition: 0.4s;
}
#newsWrap ul#newsList li .title a:hover{
	opacity: 0.6;
}

@media (max-width: 750px){
	#newsWrap{
		margin-top: 0;
	}
	.news .flex{
		display: block;
	}
	.news .flex .left{
		width: auto;
	}
	#newsWrap{
		width: 100%;
	}
	#newsWrap ul#newsList{
		max-height: 260px;
	}
	ul#newsList li{
		padding-bottom: 10px;
	}
	#newsWrap ul#newsList li .up_ymd{
		padding: 0 10px;
		margin-bottom: 5px;
	}
	#newsWrap ul#newsList li .title{
		display: block;
	}
}

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


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

/*main*/
.news-detail .flex #main #up_ymd{
	letter-spacing: 0.05em;
	color: #ccc;
	line-height: 1.7;
	font-size: 0.95rem;
	margin-bottom: 20px;
	font-family: 'Josefin Sans', sans-serif;
	font-weight: 600;
	font-weight: 400;
}
.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: 40px;
}
.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.9rem;
	padding: 15px;
	transition: 0.4s;
}
.news-detail .pages .page_prev a{
	text-align: right;
}
.news-detail .pages a:hover{
	opacity: 0.5;
}

/*side*/
.news-detail .flex #side h3{
	font-size: 1.1rem;
	margin-bottom: 10px;
}
.news-detail .flex #side h3::before{
	font-family: "Font Awesome 6 Free";
	content: '\f0ca';
	font-weight: 900;
	padding-right: 0.5em;
	color: #F47711;
}
.news-detail .flex #side ul{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	padding: 0;
}
.news-detail .flex #side ul li{
	width: 49%;
	margin-bottom: 7px;
}
.news-detail .flex #side ul li a{
	display: block;
	text-align: center;
	width: 100%;
	border: 1px solid #ddd;
	color: #F47711;
	padding: 8px 3px;
	font-size: 0.8rem;
	letter-spacing: 0.04em;
	transition: 0.4s;
	font-family: 'Josefin Sans', sans-serif;
	font-weight: 600;
}
.news-detail .flex #side ul li a:hover{
	opacity: 0.5;
}

@media (max-width: 960px){
	.news-detail .pages{
		display: block;
		margin-top: 40px;
	}
	.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;
	margin: 0;
	padding: 12px 0;
}
.news-detail .flex #main li:first-child{
	border-top: 1px solid #ddd;
}
.news-detail .flex #main li .up_ymd{
	display: inline-block;
	padding: 0 10px;
	background: #14369B;
	color: #fff;
	letter-spacing: 0.1em;
	font-family: 'Josefin Sans', sans-serif;
	font-weight: 400;
	font-size: 0.8rem;
	margin-bottom: 3px;
}
.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 span{
	display: block;
}
.news-detail .flex #main li .title a{
}
.news-detail .flex #main li .title a:hover{
	opacity: 0.7;
}




.news-detail .flex #main .thum_blog ul{
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
}
.news-detail .flex #main .thum_blog ul li{
	list-style-type: none;
	width: 32%;
	margin: 0 0.5% 30px;
	border: none;
}
.news-detail .flex #main .thum_blog ul li a{
	display: block;
	width: 100%;
	height: 100%;
}
.news-detail .flex #main .thum_blog ul li .thumbNailWrap{
	display: block;
	position: relative;
    overflow: hidden;
	min-height: 0%;
	margin-bottom: 7px;
}
.news-detail .flex #main .thum_blog ul li .thumbNailWrap::before{
    content: '';
    display: block;
    padding-top: 60%;
}
.news-detail .flex #main .thum_blog ul li .thumbNailWrap img{
	display: block;
	object-fit: cover;
	width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
	transition: all 0.4s linear;
}
.news-detail .flex #main .thum_blog ul li .info{
}
.news-detail .flex #main .thum_blog ul li .up_ymd{
	display: inline-block;
	font-family: 'Josefin Sans', sans-serif;
	font-weight: 600;
}
.news-detail .flex #main .thum_blog ul li .title{
	display: block;
	font-size: 1rem;
	margin-top: 5px;
	margin-bottom: 3px;
}
.news-detail .flex #main .thum_blog ul li .blog_text{
	display: block;
	font-size: 0.8rem;
}
.news-detail .flex #main .thum_blog ul li a:hover .thumbNailWrap img{
	transform: scale(1.05);
}
@media (max-width: 1200px){
	.news-detail .flex #main .thum_blog ul{
		justify-content: space-between;
	}
	.news-detail .flex #main .thum_blog ul li{
		width: 49%;
		margin: 0 0 30px;
	}
}
@media (max-width: 960px){
	.news-detail .flex #main .thum_blog ul{
		display: block;
	}
	.news-detail .flex #main .thum_blog ul li{
		width: 100%;
		margin-bottom: 20px;
	}
	.news-detail .flex #main .thum_blog ul li:last-child{
		margin-bottom: 0;
	}
}