@charset "utf-8";
/* トップイメージ */
.paint {
  	background-image: url("../img/service01.jpg");
}
.water {
  	background-image: url("../img/service02.jpg");
}


/* 共通
----------------------------------------*/
.contents {
	display: flex;
	justify-content: center;
	flex-direction: column;
	max-width: 100%;
	margin-bottom: 30px;
}

.contents .img {
	background-size: cover;
	background-position: center;
	width: 100%;
	height: 30vh;
}

.contents h3 {
	font-size: 2rem;
}
.contents .text {
	width: 100%;
	padding: 30px;
	background:rgba(255,175,8,0.5);
}
.contents .text p {
	padding: 10px 0;
}
.contents .text ul {
	padding: 10px 0;
	list-style: inherit;
}


/*マーカー*/
.text .line {
	background:-webkit-linear-gradient(transparent 70%, #FFFF00 0%);
	background:-o-linear-gradient(transparent 70%, #FFFF00 0%);
	background:linear-gradient(transparent 70%, #FFFF00 0%);
	font-weight: bold;
}


/* 塗装工事 */
.contents .paint-top {
	background-image: url("../img/service01-01.jpg");
}
.contents .paint-middle {
	background-image: url("../img/service01-02.jpg");
}
.contents .paint-bottom {
	background-image: url("../img/service01-03.jpg");
}


/* 防水工事 */
.contents .water-top {
	background-image: url("../img/service02-01.jpg");
}
.contents .water-middle {
	background-image: url("../img/service02-02.jpg");
}
.contents .water-bottom {
	background-image: url("../img/service02-03.jpg");
}


/* こんなお悩みありませんか？
----------------------------------------*/
.problem {
	margin: 106px auto 146px;
}
.problem .wrapper {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(2, 1fr);
	margin: 20px auto;
}
.problem .item-box {
	padding: 5px;
	background:rgba(255,255,255,0.5);
	box-shadow: 2px 2px 4px gray;
	text-align: center;
}
.problem .item-box p {
	padding: 10px;
}
.problem .item-box img {
	width: 100%;
 	height: 50%;
  	object-fit: cover;
}


/*===============================
	pc
================================*/
@media screen and (min-width: 960px) {
	
	/* 共通
	----------------------------------------*/
	.contents {
		flex-direction: row;
		max-width: 1280px;
		margin: 50px auto;
	}
	.contents .img {
		width: 50%;
		height: 350px;
	}
	.contents .text {
		width: 50%;
		margin-top: 70px;
		padding: 70px 40px;
   
	}
	.contents .img.water-bottom {
		width: 50%;
		height: 300px;
	}
	
	
	/* こんなお悩みありませんか？
	----------------------------------------*/
	.problem .wrapper {
		grid-template-columns: repeat(4, 1fr);
	}
	.problem .item-box img {
		height: 60%;
	}

}