@charset "utf-8";
/* CSS Document */

/* :::::::::::::::::::
	
	Works
	
:::::::::::::::::::::: */

.masthead {
	background:url(../images/page-head/head-works.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	object-fit: cover;
	background-position:center;
}

.works-contents{
	width: 100%;
	margin: 0 auto;
}

.works-box {
    position: relative;
    width: 100%;
    margin: 50px 0;
    padding: 20px 0 0 0;
    font-size: 18px;
    text-align: center;
}


.works-list-title {
	font-size: 30px;
	text-align: center;
	width: 50%;
	margin: 1% 50%;
	transform: translateX(-50%);
	border-bottom: 2px solid #00795e;
}

/*
Works-list
-------------------------------------------------- */

.works-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.works-list-box {
	width: 20%;
	margin: 3% 3% 1% 3%;
}

.works-list-img-box {
	height: 300px;
	position: relative;
}

.works-list-img {
	max-width: 100%;
	max-height: 300px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
}

.works-list-text {
	margin-top: 3%;
	font-weight: bold;
}

/* ◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇																		 

Responsive

◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇ */


@media (max-width: 1365px) {

	.works-box {
		margin: 0;
	}
	
	.works-list-title {
		font-size: 24px;
	}
	
/*
Works-list
-------------------------------------------------- */

	.works-list {
		flex-wrap: wrap;
		justify-content: flex-start;
		margin: 0 10%;
	}
	
	.works-list-box {
		width: 40%;
		margin: 3% 5% 1% 5%;
	}
	
	.works-list-img-box-sptate {
		height: 200px;
	}
	
	.works-list-img-sptate {
		max-height: 200px;
	}
	.works-list-img-box-spyoko {
		height: 150px;
	}
	
	.works-list-img-spyoko {
		max-height: 150px;
	}
	
	.works-list-text {
		font-size: 18px;
	}
	
}

@media (max-width: 767px) {
	
	.works-box {
		padding: 20px 0 0 0;
	}
	
	.works-list-title {
		font-size: 18px;
		width: 80%;
		margin: 3% 50%;
	}

/*
Works-list
-------------------------------------------------- */

	.works-list {
		margin: 0;
	}
	
	.works-list-img-box-spyoko {
    	height: 105px;
	}
	
	.works-list-text {
		font-size: 12px;
	}
	
}