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

/*===index.php(メイン)用==============================*/
#newsWrap ul#newsList{
	display: flex;
}
#newsWrap ul#newsList li{
	width: calc(100% / 3);
	list-style-type: none;
}
#newsWrap ul#newsList li a{
	display: block;
	width: 100%;
}

/*サムネイル*/
#newsWrap ul#newsList li .thumbNailWrap{
	display: block;
	width: 100%;
	position: relative;
    overflow: hidden;
	min-height: 0%;
	margin-bottom: 20px;
}
.thumbNailWrap::before{
    content: '';
    display: block;
    padding-top: 60%;
}
.thumbNailWrap img{
	display: block;
	object-fit: cover;
	width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
	transition: all 0.4s ease;
}
#newsWrap ul#newsList a:hover .thumbNailWrap img{
	transform: scale(1.04);
}

#newsWrap ul#newsList li .up_ymd{
	display: block;
	font-size: 0.9rem;
	color: #F89E7C;
	font-weight: 500;
}
#newsWrap ul#newsList li .title{
	display: block;
	letter-spacing: 0.12em;
}

@media (max-width: 960px){
	#newsWrap ul#newsList li .thumbNailWrap{
		margin-bottom: 10px;
	}
	#newsWrap ul#newsList li .up_ymd{
		font-size: 0.6rem;
	}
	#newsWrap ul#newsList li .title{
		font-size: 0.8rem;
	}
}
@media (max-width: 750px){
	#newsWrap ul#newsList{
		flex-wrap: wrap;
		margin-bottom: -30px;
	}
	#newsWrap ul#newsList li{
		width: 100%;
		margin-bottom: 30px;
	}
	#newsWrap ul#newsList li .thumbNailWrap{
		margin-bottom: 20px;
	}
	#newsWrap ul#newsList li .up_ymd{
		font-size: 0.8rem;
	}
	#newsWrap ul#newsList li .title{
		font-size: 1rem;
	}
}


/*===news-detail.php用==============================*/
.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: 13px;
	letter-spacing: 0.05em;
	margin-bottom: 20px;
	color: #F89E7C;
	font-weight: 500;
}
.news-detail .flex #main #up_ymd::before{
	font-family: "Font Awesome 5 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 #F89E7C;
	font-size: 0.9rem;
	font-weight: 500;
	padding: 15px;
	transition: 0.4s;
	color: #F89E7C;
}
.news-detail .pages .page_prev a{
	text-align: right;
}
.news-detail .pages a:hover{
	background-color: #F89E7C;
	color: #fff;
}

/*side*/
.news-detail .flex #side h3{
	font-size: 1.1rem;
	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: #F89E7C;
}
.news-detail .flex #side ul{

}
.news-detail .flex #side ul li a{
	display: block;
	width: 100%;
	border: 1px solid #ddd;
	font-size: 0.9rem;
	font-weight: 500;
	color: #F89E7C;
	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-color: #F89E7C;
	color: #fff;
}

@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 ul.flex{
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start !important;
}
.news-detail .flex #main li{
	list-style-type:none;
	width: 32%;
	margin: 0 0.5% 20px;
}
.news-detail .flex #main li a{
	display: block;
	width: 100%;
	background-color: #fff;
	border-radius: 10px 10px 0 0;
	overflow: hidden;
}
.news-detail .flex #main li span{
	display: block;
}
.news-detail .flex #main li .thumbNailWrap{
	position: relative;
    overflow: hidden;
	min-height: 0%;
}
.news-detail .flex #main li .thumbNailWrap::before{
    content: '';
    display: block;
    padding-top: 60%;
}
.news-detail .flex #main 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 li .info{
	padding: 10px;
}
.news-detail .flex #main li .up_ymd{
	font-size: 0.8rem;
	letter-spacing: 0.05em;
	color: #F89E7C;
}
.news-detail .flex #main li .title{
	font-size: 1rem;
	margin-bottom: 3px;
}
.news-detail .flex #main li .blog_text{
	font-size: 0.7rem;
}
.news-detail .flex #main li a:hover .thumbNailWrap img{
	transform: scale(1.05);
}
@media (max-width: 960px){
	.news-detail .flex #main li{
		width: 49%;
		margin: 0 0.5% 20px;
	}
}

/*アーカイブのスクロール指定*/
.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;
}
.news-detail-list + .pages .page_next a{
	text-align: right;
}
.news-detail-list + .pages .page_prev a{
	text-align: left;
}
@media (max-width: 960px){
	.news-detail-list + .pages .page_prev{
		margin-bottom: 7px;
	}
	.news-detail-list + .pages .page_next{
		margin-bottom: 0px;
	}
}