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

/*===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;
}


.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 #236238;
	color: #236238;
	border-radius: 500px;
	font-size: 0.9rem;
	letter-spacing: 0.1em;
	padding: 10px 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: #236238;
}
.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 #236238;
	color: #236238;
	padding: 8px 3px;
	font-size: 0.8rem;
	letter-spacing: 0.04em;
	transition: 0.4s;
	border-radius: 5px;
}
.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;
	}
	.news-detail .flex{
		display: block;
	}
	.news-detail .flex #main{
		width: 100%;
		margin-bottom: 40px;
	}
	.news-detail .flex #side{
		width: 100%;
	}
}
@media (max-width: 750px){
}



/*一覧ページ*/
.news-detail .flex #main li:not(.news-detail .flex #main .text li){
	border-bottom: 1px solid #ddd;
	list-style-type: none;
	padding: 10px 0;
}
.news-detail .flex #main li:first-child:not(.news-detail .flex #main .text li:first-child){
	border-top: 1px solid #ddd;
}
.news-detail .flex #main li a{
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.news-detail .flex #main li a .thumbNailWrap{
	display: block;
	width: 40%;
    position: relative;
    overflow: hidden;
	min-height: 0%;
	margin-bottom: 10px;
	border-radius: 10px;
}
.news-detail .flex #main li a .thumbNailWrap::before{
    content: '';
    display: block;
    padding-top: 60%;
}
.news-detail .flex #main li a .thumbNailWrap img{
	display: block;
	object-fit: cover;
	width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
	transition: 1s;
}

.news-detail .flex #main li a .textarea{
	width: 56%;
}
.news-detail .flex #main li a .textarea .title{
	display: inline-block;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.7;
	letter-spacing: 0.12em;
}
.news-detail .flex #main li a .textarea .up_ymd{
	display: block;
	font-size: 0.85rem;
	letter-spacing: 0.08em;
    color: #999;
	font-weight: 700;
	margin-bottom: 5px;
}
.news-detail .flex #main li a .textarea .comment{
	display: block;
	font-size: 0.9rem;
	margin-bottom: 10px;
}
.news-detail .flex #main li a .textarea .btn{
	text-decoration: underline;
	color: #236238;
	font-size: 0.9rem;
}
.news-detail .flex #main li a .textarea .btn::before{
	display: inline-block;
	font-family: "Font Awesome 6 Free";
	content: "\f0da";
	font-weight: bold;
	margin-right: 10px;
	text-decoration: none;
	transition: 0.8s;
}

.news-detail .flex #main li a:hover .thumbNailWrap img{
	transform: scale(1.1);
}
.news-detail .flex #main li a:hover .textarea .btn{
	text-decoration: none;
}
.news-detail .flex #main li a:hover .textarea .btn::before{
	transform: translateX(4px);
}

@media (max-width: 750px){
	.news-detail .flex #main li:not(.news-detail .flex #main .text li){
		padding: 20px 5px;
		width: 96%;
		margin: 0 auto;
	}
	.news-detail .flex #main li a{
		display: block;
	}
	.news-detail .flex #main li a .thumbNailWrap{
		width: 100%;
		margin-bottom: 10px;
	}
	.news-detail .flex #main li a .textarea{
		width: 100%;
	}
}