/*===news埋め込み部分用==============================*/
.news{
	position: absolute;
	right: 0;
	bottom: 0;
	width: 100%;
	max-width: 900px;
	z-index: 12;
}
.newsList li a{
	display: flex;
	justify-content: flex-start;
	align-items: center;
	color: #fff;
	padding: 25px;
	font-size: 0.9em;
	position: relative;
	vertical-align: middle;
}
.newsList li a .upymd{
	margin-right: 1rem;
	font-family: "Montserrat", sans-serif;
	font-weight: 300;
	color: #2cac70;
	line-height: 30px;
	vertical-align: middle;
	white-space: nowrap;
	border-bottom: dashed 1px #666;
}

.newsList li a .title{
	width: 80%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
	line-height: 30px;
	vertical-align: middle;
	border-bottom: dashed 1px #666;
	transition: .5s;
}
.newsList li a::after{
	position: absolute;
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	content: '\f138';
	right: 30px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1rem;
}
.newsList li a:hover .title{
	color: #2cac70;
}
@media (max-width: 450px){
	.newsList li a{
		flex-direction: column;
		justify-content: flex-start;
		align-items: flex-start;
		padding: 10px;
	}
}

/* 施工実績 ======================================== */
.newsWrap ul.newsList02{
	display: flex;
	justify-content: flex-start;
	align-items: stretch;
	flex-wrap: wrap;
	width: 100%;
}
.newsWrap ul.newsList02 a{
	display: inline-block;
	width: calc(100% / 4 - 20px);
	margin: 10px;
	color: #fff;
	background:rgba(0,0,0,0.2);
	font-size:90%;
	padding: 15px;
	border:solid 1px #2cac70;
	
}
.newsWrap ul.newsList02 li{
	list-style-type: none;
}
/*サムネイル*/
.newsWrap ul.newsList02 .thumbNailWrap{
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	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{
	opacity: 0.5;
	transition-duration: 0.5s;
}

/*日付*/
.newsWrap ul.newsList02 li .up_ymd{
	font-family: 'Afacad', sans-serif;
	display: block;
	color: #dfd421;
	margin-top: 0.5rem;
}

.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;
}
@media (max-width: 960px){
	.newsWrap ul.newsList02 a{
		width: calc(100% / 2 - 20px);
	}
}

@media (max-width: 450px){
	.newsWrap ul.newsList02 {
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	.newsWrap ul.newsList02 a{
		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;
	border-left: solid 1px #fff;
	padding-left: 15px;
}

/*main*/
.news-detail .flex #main #up_ymd{
	font-size: 1em;
	font-weight: 500;
	letter-spacing: 0.05em;
	margin-bottom: 20px;
	color: #2cac70;
}
.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.25em;
	border-bottom: solid 1px #93a289;
}
.news-detail .flex #main img{
	max-width: 100%;
}

.news-detail .comment ul,
.news-detail .comment ol{
	padding-inline-start:40px;
}

.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: #fff ;
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	padding: 15px;
	transition: 0.4s;
	
}
.news-detail .pages .page_prev a{
	display: block;
	width: 100%;
	color: #fff ;
	font-size: 1rem;
	font-weight: 500;
	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: #2cac70;
}
.news-detail .pages .page_prev a:hover{
	color: #2cac70;
}

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

.news-detail .flex #side ul li a{
	display: block;
	width: 100%;
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	color: #fff;
	margin-bottom: 15px;
	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: #2cac70;
}
.side_wrap{
	max-height: 100vh;
	overflow: auto;
	padding-right: 8px;
}
.news-detail .newsWrap ul.newsList{
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
}
.news-detail .newsWrap ul.newsList a{
	width: calc(100% / 2 - 20px);
}

.bg_dgr .pages .page_next a,
.bg_dgr .pages .page_prev a,
.bg_dgr .flex #side ul li a{
	color: #fff;
}

@media (max-width: 1200px){
	.news-detail .flex{
		display: block;
	}
	.news-detail .flex #main{
		width: 100%;
		margin-bottom: 40px;
	}
	.news-detail .flex #side{
		width: 100%;
		max-width: 900px;
		margin: auto;
		border-left: none;
		border-top: solid 1px #fff;
		padding-left: 0;
		padding-top: 15px;
	}
	.side_wrap ul{
		display: flex;
		flex-wrap: wrap;
		align-items: flex-start;
		justify-content: flex-start;
	}
	.side_wrap ul li{
		font-size: 0.9rem;
		padding-right: 1rem;
	}
	
}
@media (max-width: 960px){
	
	.news-detail .pages{
		display: block;
		margin-top: 30px;
	}
	.news-detail .pages .page_next{
		max-width: 100%;
		margin: 5px 0;

	}
	.news-detail .pages .page_prev{
		max-width: 100%;
		margin: 5px 0;

	}
	.news-detail .pages .page_next.next{
		margin-bottom: 7px;
	}
	.news-detail .pages .page_prev.next{
		margin-bottom: 7px;
	}
	.news-detail .pages .page_prev a,
	.news-detail .pages .page_next a{
		text-align: center;
	}
	.news-detail .newsWrap ul.newsList{
		flex-direction: column;
	}
	.news-detail .newsWrap ul.newsList a{
		width: calc(100% - 20px);
	}
}
@media (max-width: 450px){
	.news-detail .flex{
		padding: 0;
	}
}

