.contents_news{
	width: calc(100% - 30px);
	padding: 15px;
	max-width: 1300px;
	margin: auto;
}
.news{
	padding: 1em;
	display: flex;
	justify-content: space-between;
	align-items: center;

}
.news_title{
	width: 100%;
	max-width: 300px;
}
.newsWrap{
	width: 100%;
}
.newsWrap ul.newsList{
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.newsWrap ul.newsList li{
	width: 100%;
	list-style-type: none;
	display: flex;
	align-items: center;
}
.newsWrap ul.newsList a{
	align-self: stretch;
	display: flex;
	align-items: center;
	position: relative;
	width: calc(100% - 20px);
	margin: 0 10px;
	padding: 15px;
	z-index: 1;
	color: #333;
	border-bottom: solid 1px #ccc;
	transition: .5s;
}
.newsWrap ul.newsList a::before{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	background:linear-gradient( to bottom, #0059a9 ,#000b15);
	width: 100%;
	height: 100%;
	transition: transform .6s cubic-bezier(0.8, 0, 0.2, 1) 0s;
	transform: scale(0, 1);
	transform-origin: right top;
	z-index: -1;
}


.newsWrap ul.newsList li .img_area{
	width: 220px;
}
.newsWrap ul.newsList li .thumbNailWrap{
	display: block;
	width: 100%;
    position: relative;
    overflow: hidden;
	min-height: 0%;
	aspect-ratio: 3 / 2;
	box-shadow: 2px 2px 5px rgba(0,0,0,0.05);
}
.newsWrap ul.newsList li .thumbNailWrap::before{
    content: '';
    display: block;
    padding-top: 100%;
}
.newsWrap ul.newsList li .thumbNailWrap img{
	display: block;
	object-fit: cover;
	width: 100%;
    aspect-ratio: 3 / 2;
    position: absolute;
    top: 0;
    left: 0;
}

.newsWrap ul.newsList li .textarea{
	padding: 0 20px;
	width: calc(100% - 230px);
}
.newsWrap ul.newsList li .catName{
	display: none;
}
.newsWrap ul.newsList li .up_ymd{
	font-family: "Josefin Sans", sans-serif;
	letter-spacing: 0.1em;
	font-size: 0.9rem;
	font-weight: 600;
	margin-bottom: 10px;
	display: block;
	
}
.newsWrap ul.newsList li .title{
	display: block;
	font-weight: 500;
	margin-bottom: 0.5rem;
	font-size: clamp(0.8rem, 0.68rem + 0.4267vw, 1rem);
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
	width: 95%;
	max-width: 20em;
}
.newsWrap ul.newsList li .comment{
	font-size: clamp(0.7rem, 0.64rem + 0.2133vw, 0.8rem);
	line-height: 120%;
}

.newsWrap ul.newsList a:hover{
	color: #fff;
}
.newsWrap ul.newsList a:hover::before{
	transform-origin:left top;
	transform:scale(1, 1);
  }
@media (max-width: 1200px){
	.news_title{
		width: 250px;
	}
}
@media (max-width: 960px){
	.contents_news{
		position: relative;
	}
	.news{
		flex-direction: column;
	}
	.news_title{
		max-width: none;
	}

}
@media (max-width: 750px){
	.contents_news{
		width: 100%;
	}
	.newsWrap ul.newsList a{
		flex-direction: column;
		justify-content: center;
	}
	.newsWrap ul.newsList li .textarea{
		width: 100%;
		margin-top: 10px;
	}
}

@media (max-width: 450px){
	.news{
		padding: 0;
	}

	.newsWrap ul.newsList a{
		padding: 10px;
	}
	.newsWrap ul.newsList li .textarea{
		padding: 0 0 0 10px;
	}
}

/* 施工実績 ======================================== */
.newsWrap ul.newsList02{
	display: flex;
	justify-content: flex-start;
	align-items: stretch;
	flex-wrap: wrap;
	width: 100%;
}
.newsWrap ul.newsList02 li{
	list-style-type: none;
	width: calc(100% / 4 - 20px);
	margin: 10px 10px 20px;
}
.newsWrap ul.newsList02 a{
	display: inline-block;
	width: 100%;
	color: #1a1a1a;
	background:#fff;
	font-size:90%;
}

/*サムネイル*/
.newsWrap ul.newsList02 .thumbNailWrap{
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	min-height: 0%;
}
.newsWrap ul.newsList02 .thumbNailWrap img{
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition-duration: 0.5s;
}

.newsWrap ul.newsList02 a:hover .thumbNailWrap img{
	transform: scale(1.2);
	transition-duration: 0.5s;
}

.newsWrap ul.newsList02 li .title{
	display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
	width: 90%;
	max-width: 20em;
	margin-top: 0.5rem;
	font-weight: 500;
	font-size: 0.8rem;
}
@media (max-width: 960px){
	.newsWrap ul.newsList02 li{
		width: calc(100% / 2 - 20px);
	}
}

@media (max-width: 450px){
	.newsWrap ul.newsList02 {
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	.newsWrap ul.newsList02 li{
		width: calc(100%  - 20px);
		max-width: 350px;
	}
}

/*詳細ページ ==================================================*/

.news-detail .flex{
	display: flex;
	justify-content: space-between;
	padding: 0 15px;
}
.news-detail .flex #main{
	width: calc(100% - 270px);
}
.news-detail .flex #main img{
	max-width: 100%;
}
.news-detail .flex #side{
	width: 230px;
}

/*main*/
.news-detail .flex #main #up_ymd{
	font-family: "Josefin Sans", sans-serif;
	font-weight: 600;
	font-size: 1em;
	letter-spacing: 0.05em;
	margin-bottom: 20px;
	color: #0059a9;
}
.news-detail .flex #main #up_ymd::before{
	font-family: "Font Awesome 6 Free";
	content: '\f017';
	font-weight: 900;
	padding-right: 0.5em;
}

.news-detail .flex #main .stitle{
	font-size: clamp(1.2rem, 1.02rem + 0.64vw, 1.5rem);
	margin-bottom: 30px;
	padding-bottom: 0.5rem;
	border-bottom: solid 1px #0059a9;
}
.news-detail .flex #main img{
	max-width: 100%;
}

.category_name{
	font-size: clamp(1.1rem, 1.01rem + 0.32vw, 1.3rem);
	margin-bottom: 30px;
	margin-left: 1.5em;
	position: relative;
	color: #0059a9;
}
.category_name::before{
	content: '';
	position: absolute;
	bottom: 0;
	left: -1.5em;
	width: 1.4em;
	height: 2px;
	background: #0059a9;
}


.news-detail .pages{
	display: flex;
	justify-content: space-around;
	width: 100%;
	margin-top: 30px;
}
.news-detail .pages .page_next{
	width: 100%;
	max-width: calc(100% - 20px);
	margin: 10px;
}
.news-detail .pages .page_prev{
	width: 100%;
	max-width: calc(100% - 20px);
	margin: 10px;
}
.news-detail .pages .page_next a{
	display: block;
	width: 100%;
	color: #333;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	padding: 15px 0;
	transition: 0.4s;
}
.news-detail .pages .page_prev a{
	display: block;
	width: 100%;
	color: #333 ;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	padding: 15px;
	transition: 0.4s;
}
.news-detail .pages .page_prev a{
	text-align: right;
}
.news-detail .pages .page_next a:hover{
	color: #0059a9 ;
}
.news-detail .pages .page_prev a:hover{
	color: #0059a9 ;
}

/*side*/
.news-detail .flex #side h3{
	font-size: 1.1rem;
	font-weight: 600;
	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: #0059a9;
}
.news-detail .flex #side ul{
	padding-left: 15px;
}
.news-detail .flex #side ul li a{
	display: block;
	width: 100%;
	font-size: 0.8rem;
	font-weight: 400;
	letter-spacing: 0.12em;
	line-height: 200%;
	color: #333;
	margin-bottom: 1em;
	transition: 0.4s;
}
.news-detail .flex #side ul li a::before{
	font-family: "Font Awesome 6 Free";
	content: '\f017';
	font-weight: 900;
	padding-right: 0.5em;
}
.news-detail .flex #side ul li a:hover{
	color: #0059a9;
}
.news-detail .flex .side_wrap{
	max-height: 80vh;
	overflow: auto;
	padding: 0 15px;
}

@media (max-width: 1200px){
	.news-detail .flex{
		display: block;
	}
	.news-detail .flex #main{
		width: 100%;
		margin-bottom: 40px;
	}
	.news-detail .flex #side{
		width: 100%;
		border-top: solid 1px #ccc;
		padding-top: 30px;
	}
	.news-detail .flex #side ul{
		padding-left: 0;
		display: flex;
		justify-content: flex-start;
		align-items: flex-start;
		flex-wrap: wrap;
	}
	.news-detail .flex #side ul li a{
		width: 100%;
		max-width: 200px;
		min-width: 150px;
	}

	.news-detail .detail .pages{
		display: block;
		margin-top: 30px;
	}
	.news-detail .detail .pages .page_next{
		max-width: 100%;
		margin: 0;
	}
	.news-detail .detail .pages .page_prev{
		max-width: 100%;
		margin: 0;
	}
	.news-detail .detail .pages .page_next.next{
		margin-bottom: 0;
	}
	.news-detail .detail .pages .page_prev.next{
		margin-bottom: 0;
	}

	
}

