
#newsWrap{
	position: absolute;
	bottom: 8%;
	overflow: hidden;
	width: 650px;
	border-radius: 0 15px 15px 0;
	background:linear-gradient(to right ,#74e2e8, #179be8, #004ea2);
	background-size: 200%;
	background-position: right;
	display: flex;
	justify-content:flex-start;
	align-items: center;
	box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
	transition: .5s;
}
#newsWrap .h_wrap{
	padding-left: 1em;
	width: 5.5em;
	border-right: solid 1px #fff;
}
#newsWrap .h_wrap h3{
	color: #fff;
	font-size: 1.1rem;
	font-family: "Inter", sans-serif;
	font-weight: 700;
	vertical-align: middle;
}

ul#newsList{
	padding:0;
	width: calc(100% - 6em);
	flex:1;
}

ul#newsList li a{
	display: flex;
	justify-content: flex-start;
	align-items: center;
	width: 100%;
	font-size:1em;
	color: #fff;
	margin:0;
	line-height:150%;
	list-style-type:none;
	vertical-align:middle;
	padding: 15px 15px;
	position: relative;
	transition: .5s;
}
ul#newsList li a::after{
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	content: "\f061";
	color: #fff;
	position: absolute;
	display: block;
	right: 15px;
	vertical-align: middle;
	top: 50%;
	transform: translateY(-50%);
	transition: .5s;
}
ul#newsList li a:hover::after{
	right: 10px;
}

ul#newsList li a .up_ymd{
	font-weight: 700;
	color: #fff;
	font-size: 0.7rem;
	width: 10em;
}
ul#newsList li a .title{
	font-size: 0.9rem;
	color: #fff;
	width: calc(100% - 10em);
	display: inline-block;
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
	transition: .5s;
}
#newsWrap:hover {
	background-position: left;
}

.news-detail ul#newsList{
	width:100%;
}
.news-detail ul#newsList li a .up_ymd{
	color: #179be8;
	font-family: "Inter", sans-serif;
	font-size: 0.8rem;
	font-weight: 700;
}
.news-detail ul#newsList li a,
.news-detail ul#newsList li a .title{
	color: #1a1a1a;
}
.news-detail ul#newsList li a{
	border-bottom: solid 1px #ccc;
}
.news-detail ul#newsList li:first-child a{
	border-top: solid 1px #ccc;
}
.news-detail ul#newsList li a:hover{
	opacity: 0.5;
}

@media (max-width: 1440px){
	#newsWrap{
		bottom: 0;
	}
}
@media (max-width: 1200px){
	#newsWrap{
		bottom: 10%;
	}
}
@media (max-width: 960px){
	#newsWrap{
		bottom: 0;
	}
}
@media (max-width: 750px){
	#newsWrap{
		width: calc(100% - 30px);
		max-width: 650px;
	}
	ul#newsList li a{
		flex-direction: column;
		justify-content: flex-start;
		align-items: flex-start;
	}
	ul#newsList li a .title{
		width: calc(100% - 2em);
		font-size: 0.8rem;
	}
	
}

/* 施工実績 ======================================== */
.newsWrap ul.newsList02{
	display: flex;
	justify-content: flex-start;
	align-items: stretch;
	flex-wrap: wrap;
	width: 100%;
}
.newsWrap ul.newsList02 li{
	width: calc(100% / 4 - 20px);
	margin: 10px;
	box-shadow: 2px 2px 5px rgba(0,0,0,0.05);
	
}
.newsWrap ul.newsList02 a{
	display: block;
	width: 100%;
	color: #1a1a1a;
	background:#fff;
	font-size:90%;
	padding: 15px;
}
/*サムネイル*/
.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;
}

.news-detail .newsWrap ul.newsList02 li{
	width: calc(100% / 3 - 20px);
}
@media (max-width: 1200px){
	.newsWrap ul.newsList02 li{
		width: calc(100% / 3 - 20px);
	}
}
@media (max-width: 960px){
	.newsWrap ul.newsList02 li,
	.news-detail .newsWrap ul.newsList02 li{
		width: calc(100% / 2 - 20px);
	}
	
}


@media (max-width: 500px){
	.newsWrap ul.newsList02 {
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	.newsWrap ul.newsList02 li,
	.news-detail .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-size: 1em;
	font-family: "BIZ UDPGothic", sans-serif;
	font-weight: 100;
	letter-spacing: 0.05em;
	margin-bottom: 20px;
	color: #179be8;
}
.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-family: "BIZ UDPGothic", sans-serif;
	font-weight: 100;
	font-size: clamp(1.2rem, 1.02rem + 0.64vw, 1.5rem);
	margin-bottom: 30px;
	padding-bottom: 0.5rem;
	border-bottom: solid 2px #179be8;
}
.news-detail .flex #main img{
	max-width: 100%;
}
.news-detail .flex #main .comment{
	line-height: 1.5;
}



.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: 700;
	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: 700;
	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: #179be8 ;
}
.news-detail .pages .page_prev a:hover{
	color: #179be8 ;
}

/*side*/
.news-detail .flex #side h3{
	font-family: "BIZ UDPGothic", sans-serif;
	font-size: 1.1rem;
	font-weight: 700;
	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: #179be8;
}
.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: #179be8;
}
.news-detail .flex .side_wrap{
	max-height: 70vh;
	overflow: auto;
	padding: 0 15px;
}
.news-detail .flex .side_wrap::-webkit-scrollbar{
	width: 2px;
	height: 2px;
}
.news-detail .flex .side_wrap::-webkit-scrollbar-track{
	background-color: #e3e3e3;
}
.news-detail .flex .side_wrap::-webkit-scrollbar-thumb{
	background-color: #179be8;
}
.news-detail .flex .side_wrap ul{
	margin-top: 15px;
}

.news-detail .flex #side ul.cate li a{
	border-bottom: dashed 1px #ccc;
}
.news-detail .flex #side ul.cate li a::before{
	font-family: "Font Awesome 6 Free";
	content: '\f111';
	font-weight: 900;
	padding-right: 0.5em;
}

@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 .flex #side ul.cate{
		gap:15px;
	}
	.news-detail .flex #side ul.cate li{
		width: 30%;
	}
	.news-detail .flex #side ul.cate li a{
		width: 100%;
		max-width: none;
	}

	.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;
	}
}
@media (max-width: 750px){
	.news-detail .flex #side ul.cate{
		flex-direction: column;
		justify-content: flex-start;
	}
	.news-detail .flex #side ul.cate li{
		width: 100%;
	}
}
/* ギャラリー　============================================================ */
.gallery_wrap {
	width:100%;
	padding: 20px 0;
}
.gallery_wrap h3{
	font-size: 1.2rem;
	font-weight: 700;
	position: relative;
	padding-bottom: 5px;
	margin-bottom: 15px;
}
.gallery_wrap h3::after{
	content: "";
	position: absolute;
	bottom: -5px;
	left: 0;
	right: 0;
	width: 100%;
	height: 5px;
	background: linear-gradient( to right, #004ea2 ,#179be8 , #74e2e8)
}
.gallery_wrap h3 i{
	color: #179be8;
}
.gallery_list {
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	flex-wrap: wrap;
}
.gallery_list li{
	width: calc(100% / 4 - 10px);
    margin: 0 5px 15px;
    overflow: hidden;
    padding: 5px;
    font-size: 0;
}
.gallery_list a.photo{
	display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    margin: 0 auto;
    overflow: hidden;
	background: #000;
}
.gallery_list a.photo img{
	width: 100%;
    height: 100%;
    object-fit: cover;
	transition: .5s;
}
.gallery_list a.photo img:hover{
	opacity: 0.6;
}
p.detail_text{
	font-size: 0.9rem;
	padding: 0.5em;
    font-weight: 400;
}
@media (max-width: 960px){
	.gallery_list li{
		width: calc(100% / 3 - 10px);
	}
}
@media (max-width: 750px){
	.gallery_list li{
		width: calc(100% / 2 - 10px);
	}
	p.detail_text{
		font-size: 0.8rem;
		padding: 0.5em 0;
	}
}
