@charset "utf-8";

.works {
	margin: 80px 0 0 0;
	padding: 140px 0 140px 0;
}

.works01 {
	display: flex;
	justify-content: center;
    gap: 50px;
	margin-bottom: 80px;
}

.works02 {
	display: flex;
	justify-content: center;
    gap: 50px;
}

h2 {
	display: block;
	text-align: center;
	font-size: 4rem;
	font-weight: 600;
	line-height: 1;
}

.sectionWorks_subtitle {
	display: block;
	text-align: center;
	font-size: 1.8rem;
	font-weight: 500;
	line-height: 1.2;
	margin: 0 0 40px 0;
}

figure div img	{
	border-radius: 6px;
	box-shadow: 0 3px 8px 0 rgba(0, 0, 0, .2);
	margin: 0 0 20px 0;
}

figure div img:hover {
	transition: transform 0.3s ease-in-out;
 	opacity: 0.5;
}

figcaption {
	font-size: 1.6rem;
	font-weight: 500;	
}


@media (max-width: 768px){

h2{
	font-size: 3.2rem;
	font-weight: 500;	
}
	
.sectionWorks_subtitle {
	font-size: 1.4rem;	
}	

figure div img	{
	width: 300px;
	margin: 0 auto 15px;
}


figcaption {
	font-size: 1.6rem;	
}

.works01 {
	flex-direction: column;
    gap: 40px;
	margin: 0 0 40px 0;
}

.works02 {
	flex-direction: column;
    gap: 40px;
}




}















