#pagetitle{
	background:url('../images/recruit/bg_h2_recruit.webp') no-repeat center center;
	background-size: cover;
}

#pagetitle h2{
	background: url('http://central-hanamaki.com/teshiromorihoikuen/wp-content/uploads/2026/10/main_image_frame.svg') no-repeat center center;
	background-size: 100%;
	background-position: center bottom -20px;
}


#section2 figure {
	width: 273px;
	flex: none;
	text-align: center;
}

#section2 .photo_comment {
	gap: 90px;
}

.gallery {
	list-style: none;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 72px;
}

.gallery li {
	width: 261px;
	position: relative;
	text-align: center;
}

.kakudai {
	position: absolute;
	z-index: 3;
	right: 15px;
	top: 225px;
}

.gallery li a {
	display: block;
	position: relative;
	height: 261px;
}

.gallery li a:after {
	content: "";
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: url('../images/facility/gallery_frame.png') no-repeat;
	z-index: 2;
}

.gallery li a img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: relative;
	z-index: 1;
}

#section4 .photo_comment {
	gap: 60px;
}

#section4 figure {
	width: 670px;
	flex: none;
}

#section4 .comment {
	width: calc(100% - 730px);
	flex: none;
}

#section5 iframe {
	min-height: 600px;
}