
/* カテゴリ */

#category .cate-box{
	border-radius: 50px;
	background: #003c93;
	color: #fff;
	padding: 50px;
}

.cate-box ul{
	margin: 30px auto 0;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 20px;
}

/*

.cate-box li{
	width: 320px;
}
*/

.cate-box .button-link {
	margin: 0 auto;
}

.cate-box button {
	width: 100%;
}

.cate-box button a {
    margin: auto 0;
    background: #fff;
    width: 100%;
    height: 100%;
    padding: 10px 35px 10px 20px;
	border-radius: 50px;
	color: #0055bd;
	border: 1px solid #fff;
}

.cate-box .button-link button a::before {
	border-right: 2px solid #0055bd;
	border-bottom: 2px solid #0055bd;
}

.cate-box button a:hover {
	color: #fff;
}

.cate-box .button-link button a:hover::before {
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
}

.cate-box button a h4{
	text-align: left;
}


@media(max-width: 1480px){
	
	.cate-box button a h4 {
	    font-size: 1.5rem;
	}
}


@media(max-width: 1260px){
		
	.category .main-text p span {
		display: inline;
	}
	
	.cate-box ul {
    	justify-content: flex-start;
		margin: 30px auto;
	}
	
}


@media(max-width: 800px){
	#category .cate-box {
		padding: 20px;
    	border-radius: 20px;
	}
	
	.cate-box button a h4 {
        font-size: 1.25rem;
    }
}


@media(max-width: 650px){
    .cate-box ul {
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
    	margin: 20px auto;
	}
	
	.cate-box ul li{
		width: 100%;
	}
	
	.cate-box button a h4 {
        font-size: 1.1rem;
        line-height: 1.35;
    }
	
	
}



/* カテゴリ ///*/



/* 業務内容メインエリア　*/

.business-box{
	background: #efefef;
}

.business-box .main-area{
	display: flex;
	flex-direction: column;
	gap:60px;
}

.item-section{
	margin-top: -100px;
	padding-top: 100px;
}

.business-item .title{
	border-radius: 50px 50px 0 0;
	padding: 10px 50px; 
	background: #003c93; 	
	color: #fff;
	position: relative;
}

.business-item .title::before{
	content: '';
	position: absolute;
	display: block;
	width: 55px;
	background: url("../img/dec/brush.png") no-repeat;
	background-size: cover;
	aspect-ratio: 85/100;
	left: -10px;
	top: 50%;
	transform: translateY(-50%) scale(-1,1);
}


.business-item .title::after{
	content: '';
	position: absolute;
	display: block;
	width: 70px;
	background: url("../img/dec/bucket.png") no-repeat;
	background-size: cover;
	aspect-ratio: 1/1;
	right: -30px;
	bottom: -5px;
}

.item-box{
	background: #fff;
	padding: 50px;
	border-radius: 0 0 50px 50px;
}

.item-box dl{
	display: flex;
	flex-direction: row;
	gap:20px;
}

.item-box dl dt p{
    text-align: center;
    font-weight: 600;
    min-width: 60px;
    display: inline-block;
    color: #003c93;
    padding: 0 5px;
    border-radius: 3px;
    border: 1px solid #003c93;
}

.item-box dl dd ul li{
	padding-left: 1.5rem;
	position: relative;
}

.item-box dl dd ul li::before{
	content: '◎';
	display: block;
	position: absolute;
	left: 0;
	top:50%;
	transform: translateY(-50%);
}


@media(max-width: 1400px){

	.business-item .title::after {
    	width: 60px;
    	right: -20px;
	}
}


@media(max-width: 1000px){
	
	.business-item h3{
		font-size: 2.25rem;
	}
}


@media(max-width: 800px){
	
	.business-item .title {
		border-radius: 30px 30px 0 0;
		padding: 10px 40px 10px 50px;
	}
	
	.business-item .title::after {
    	width: 50px;
    	right: -15px;
	}
	
	.business-item .title::before {
    	width: 40px;
    	left: 0;
	}
	
	.business-item h3{
		font-size: 2rem;
		letter-spacing: 0;
	}
	
	.item-box {
		padding: 20px;
		border-radius: 0 0 30px 30px;
	}
	
	.item-box dl {
		gap: 10px;
	}
	
	.business-item .main-text p {
		line-height: 1.6;
	}	
	
	.item-box dl dd ul li {
		padding-left: 1.2rem;
	}
	
	.item-box dl dd ul li::before {
		transform: translateY(0);
		top: 0;
	}
	
}

@media(max-width: 500px){
	
	.business-item h3 {
		font-size: 1.5rem;
	}
	
	.business-item .title {
    	padding: 10px 20px 10px 35px;
	}
	
	.business-item .title::after {
		width: 40px;
	}
	
	.item-box dl dt p {
    	min-width: 50px;
	}
	
	.business-item .title::before {
        width: 30px;
        left: 0;
        top: 10px;
    }
}



/* 業務内容メインエリア　///*/



/*　施工事例　*/

#works{
	margin-top: -100px;
	padding-top: 100px;
}

.works{
	background: #003c93;
	color: #fff;
}


.works-title{
	background: #efefef;
	display: flex;
	justify-content: center;
}

.works .title-h3{
	background: #003c93;
	display: block;
	width: 800px;
	text-align: center;
	border-radius: 80px 80px 0 0;
	padding: 0;
	margin: auto;
	
}

.works .title-h3 h3{
	position: relative;
	top: 50%;
    transform: translateY(50%);
}

#works .main-area{
	max-width: 100%;
	padding: 100px;
}

#newsWrap ul{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
	width: 100%;
}

#newsWrap ul a{
	width: 100%;
}

.news-photo{
	aspect-ratio: 3/2;
	overflow: hidden;
	border-radius: 20px;
}

.news-photo img{
	width: 120%;
}

.news-item-info{
	margin-top: 10px;
	display: flex;
	flex-direction: column;
}

#newsWrap ul a:hover img{
	opacity: 0.75;
}


.news-photo {
	position: relative;
	border: 2px solid #fff;
}

.news-photo::before {
	content: '';
	display: block;
	position: absolute;
	background: #fff;
	width: 50px;
	aspect-ratio: 1/1;
	border-radius: 50%;
	right: 10px;
	bottom: 10px;
	border:3px solid #003c93;
}

.news-photo::after {
	content: '';
	display: block;
	position: absolute;
	width: 14px;
	aspect-ratio: 1 / 1;
	right: 30px;
	bottom: 27px;
	border-right: 3px solid #003c93;
	border-bottom: 3px solid #003c93;
	transform: rotate(-45deg);
}



@media(max-width: 1000px){
	
	.works .title-h3 {
		border-radius: 50px 50px 0 0;
    	width: 90vw;
	}

	
	#works .main-area {
		padding: 60px 5vw;
	}
	
	#newsWrap ul {
    	grid-template-columns: repeat(2, 1fr);
	}
	
}



@media(max-width: 800px){
	
	.works .title-h3 {
		width: calc(100vw - 45px);
	}

	
	#works .main-area {
		padding-top: 50px;
		padding-left: 20px;
		padding-right: 20px;
	}
	
	#newsWrap ul {
    	grid-template-columns: repeat(1, 1fr);
		gap: 40px;
	}
	
	#newsWrap li{
	    display: flex;
		flex-direction: column-reverse;
		gap: 5px;
	}	
	
	
	#newsWrap ul a:hover img{
		opacity: 1;
	}
	
}

/*　施工事例　///*/


