@charset "utf-8";
.contentsBody section {
	max-width: 1120px;
	margin: 0 auto 60px;
}

.contentsBody section a {
	color: #000000;
	transition: all 0.2s ease-out;
}

.contentsBody section a:link {
	color: #000000;
	text-decoration: none;
}

.contentsBody section a:hover {
	text-decoration: none;
	opacity: 0.5;
}

.contentsBody section p:not(:last-chiled) {
	margin: 0 0 1em 0;
	text-align: justify;
}

#services {
	max-width: 1020px;
	margin-top: 40px;
}

#services > div {
	margin: 0 0 50px 0;
	padding: 25px;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	background: #fbfbf5;
	border-radius: 5px;
}

#services > div h3 {
	width: 100%;
	margin: 0 0 20px 0;
	font-size: 2rem;
	/*color: #d7062f;*/
	font-weight: bold;
	text-align: left;
	line-height: 1;
	display: flex;
	align-items: center;
}

#services > div h3 img {
	margin: 0 0.5em 0 0;
}

#services > div a {
	width: calc(100% / 4 - 20px);
	display: block;
}

#services > div a h4 {
	font-size: 1.5rem;
}
#services > div a img {height:222px;}
.mdl-cont {
	width: 700px;
	max-height: 600px;
	font-size: 1.2rem;
	overflow-y: auto;
}

.mdl-cont img {
	margin: 0 0 15px 0;
}

@media screen and (max-width: 768px) {
	.contentsBody section {
		max-width: none;
		width: 100%;
		margin: 0 auto 20px;
	}
	
	#services {
		margin-top: 20px;
	}
	
	#services > h3 {
		margin: 0 0 15px 0;
		font-size: 1.4rem;
	}
	
	#services > h3 img {
		width: 25px;
	}
	
	#services > div {
		margin: 0 0 10px 0;
		/*padding: 15px 15px 0;*/padding:0;
	}
	
	#services > div h3 {
		width: 100%;
		margin: 0 0 20px 0;
		font-size: 1.5rem;
	}
	
	#services > div h3 img {
		width: 25px;
	}
	
	#services > div a {
		width: calc(49%);
		margin: 0 0 20px 0;
	}
	
	#services > div a h4 {
		font-size: 1.2rem;
	}
	#services > div a img {height:calc(94vw * 0.49);}
	.mdl-cont {
		width: 97%;
		max-height: 70vh;
		height: auto;
		font-size: 1rem;
		position: absolute;
		top: 50px;
		left: 50%;
		transform: translateX(-50%);
	}
	
	.mdl-cont img {
		margin: 0 0 10px 0;
	}
	
	#boxer.mobile .boxer-container {
		background: #ffffff;
	}
	
	#boxer.mobile .boxer-close:before, #boxer.mobile .boxer-close:hover:before {
		color: #333333 !important;
	}
	
	#boxer.mobile {
		background: #ffffff;
	}
	
	#boxer.mobile .boxer-close, #boxer.mobile .boxer-close:hover {
		top: 40px;
	}
	
	#boxer.mobile .boxer-close:before, #boxer.mobile .boxer-close:hover:before {
		color: #cccccc;
	}
	
	#boxer.mobile .boxer-close, #boxer.mobile .boxer-close:hover {
		background: #ffffff; 
	}
	
	#boxer.mobile .boxer-meta {
		bottom: 150px;
	}
	
}