#mainimage {
	background: #fffef1;
	position: relative;
	height: calc(100dvh - 80px);
	margin: 0 auto 120px;
}

#mainimage_slide {
	height: 100%;
	position: relative;
}

#slide1 {
	width: 100%;
	height: 100%;
	background: url('../images/index/mainimage1.webp') no-repeat center bottom;
	background-size: auto 100%;
	position: relative;
}

#slide2 {
	width: 100%;
	height: 100%;
	background: url('../images/index/mainimage2.webp') no-repeat center bottom;
	background-size: auto 100%;
	position: absolute;
	top: 0;
	left: 0;
}

.catch {
	position: absolute;
	max-width: 1360px;
	width: 100%;
	text-align: right;
	z-index: 5;
	top: 20px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 21px;
	line-height: 1.5em;
	text-shadow:
		#fffef1 2px 0px, #fffef1 -2px 0px,
		#fffef1 0px -2px, #fffef1 0px 2px,
		#fffef1 2px 2px, #fffef1 -2px 2px,
		#fffef1 2px -2px, #fffef1 -2px -2px,
		#fffef1 1px 2px, #fffef1 -1px 2px,
		#fffef1 1px -2px, #fffef1 -1px -2px,
		#fffef1 2px 1px, #fffef1 -2px 1px,
		#fffef1 2px -1px, #fffef1 -2px -1px;

}

.catch h2 {
	margin-bottom: 20px;
	font-size: 60px;
	font-weight: 900;
	color: #088943;
	line-height: 1.2em;
}

#mainimage ul {
	list-style: none;
	padding: 0;
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	z-index: 4;
	max-width: 1360px;
	width: 100%;
	height: 100%;
}

#mainimage ul li {
	position: absolute;
}

#mainimage ul li img {
	display: block;
}

#main_arrow1 {
	top: 22%;
	left: 12%;
}

#main_arrow2 {
	top: 6%;
	left: 24%;
}

#main_arrow3 {
	top: 35%;
	left: 21%;
}

#main_arrow4 {
	top: 11%;
	left: 60%;
}

#main_arrow5 {
	top: 37%;
	left: 57%;
}

#main_arrow6 {
	top: 28%;
	left: 84%;
}

#main_arrow7 {
	top: 56%;
	left: 34%;
}

#main_arrow8 {
	top: 73%;
	left: 40%;
}

#main_arrow9 {
	top: 63%;
	left: 63%;
}

#slide2,
#mainimage ul li {
	opacity: 0;
}

/* slide2専用アニメーション（左上→右下にフェードイン） */
.fade-in {
	opacity: 1;
	-webkit-mask-image: linear-gradient(135deg, transparent 0%, black 100%);
	-webkit-mask-size: 200%;
	-webkit-mask-position: top left;
	animation: maskReveal 2s ease forwards;
}

@keyframes maskReveal {
	0% {
		opacity: 1;
		-webkit-mask-position: top left;
	}

	100% {
		opacity: 1;
		-webkit-mask-position: bottom right;
	}
}

/* 矢印表示アニメーション */
.fade-in-drop {
	animation: fadeInDrop 0.8s ease forwards;
}

@keyframes fadeInDrop {
	0% {
		opacity: 0;
		transform: translateY(-20px);
	}

	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

#top1 {
	max-width: 1100px;
	margin: 0 auto 120px;
}

#top1 h2 {
	line-height: 80px;
	border-radius: 40px;
	font-size: 30px;
	color: #088943;
	text-align: center;
	background: #fff9c4;
	text-shadow:
		#fff 2px 0px, #fff -2px 0px,
		#fff 0px -2px, #fff 0px 2px,
		#fff 2px 2px, #fff -2px 2px,
		#fff 2px -2px, #fff -2px -2px,
		#fff 1px 2px, #fff -1px 2px,
		#fff 1px -2px, #fff -1px -2px,
		#fff 2px 1px, #fff -2px 1px,
		#fff 2px -1px, #fff -2px -1px;
	margin: 0 auto 40px;
}

#top1 article {
	display: flex;
	gap: 55px;
}

#top1 article figure {
	width: 344px;
	flex: none;
}

#top1 article .comment {
	width: calc(100% - 400px);
	flex: none;
	padding: 0 0 0 20px;
	box-sizing: border-box;
}

#top1 figcaption {
	padding: 20px 0 0;
}

#top1 figcaption a {
	display: block;
	line-height: 58px;
	border: 2px solid #088943;
	border-radius: 30px;
	text-align: center;
	box-shadow: 0 4px 0 #cccccc;
	text-decoration: none;
	font-weight: 700;
	color: #222;
}

#top1 figcaption a:hover {
	background: #088943;
	color: #fff;
}

#top2 {
	margin: 0 auto 120px;
	background: url('../images/index/bg1.svg') no-repeat top 95px center;
}

#top2 h3,
#top3 h3 {
	font-size: 36px;
	color: #088943;
	text-align: center;
	line-height: 60px;
	text-shadow:
		#fff 2px 0px, #fff -2px 0px,
		#fff 0px -2px, #fff 0px 2px,
		#fff 2px 2px, #fff -2px 2px,
		#fff 2px -2px, #fff -2px -2px,
		#fff 1px 2px, #fff -1px 2px,
		#fff 1px -2px, #fff -1px -2px,
		#fff 2px 1px, #fff -2px 1px,
		#fff 2px -1px, #fff -2px -1px;
	margin: 0 auto 40px;
	position: relative;
	margin: 0 auto 35px;
}

#top2 h3:after,
#top3 h3:after {
	content: "";
	height: 10px;
	background: #fff9c4;
	border-radius: 5px;
	width: 100%;
	max-width: 1100px;
	position: absolute;
	top: 25px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1;
}

.h3_inner {
	position: relative;
	z-index: 2;
}

#top2 article {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	gap: 40px;
}

#top2 article dl {
	width: 340px;
	flex: none;
	display: flex;
	flex-direction: column;
	gap: 30px;
}

#top2 article dl dt {
	position: relative;
}

#top2 article dl dt img {
	display: block;
	position: relative;
	z-index: 1;
}

#top2 article dl dt .midashi {
	position: absolute;
	z-index: 2;
	display: block;
	text-align: center;
	font-weight: 900;
	font-size: 21px;
}

#top2 article dl dt .midashi strong {
	display: block;
	font-size: 30px;
	color: #088943;
	text-shadow:
		#fff 2px 0px, #fff -2px 0px,
		#fff 0px -2px, #fff 0px 2px,
		#fff 2px 2px, #fff -2px 2px,
		#fff 2px -2px, #fff -2px -2px,
		#fff 1px 2px, #fff -1px 2px,
		#fff 1px -2px, #fff -1px -2px,
		#fff 2px 1px, #fff -2px 1px,
		#fff 2px -1px, #fff -2px -1px;
	margin-bottom: 10px;
}

#service1 .midashi {
	top: 70px;
	left: 0;
	width: 100%;
}

#service2 .midashi {
	top: 105px;
	left: 40px;
	width: 150px;
}

#service3 .midashi {
	top: 105px;
	right: 30px;
	width: 160px;
	font-size: 20px !important;
	font-feature-settings: "palt";
}

#top2 article dl .more {
	margin-top: auto;
}

#top2 article dl .more a {
	display: block;
	line-height: 58px;
	border: 2px solid #088943;
	border-radius: 30px;
	text-align: center;
	box-shadow: 0 4px 0 #cccccc;
	text-decoration: none;
	font-weight: 700;
	color: #222;
}

#top2 article dl .more a:hover {
	background: #088943;
	color: #fff;
}

#top2 dd {
	font-size: 17px;
	font-feature-settings: "palt";
}

#top3 p {
	text-align: center;
}

#top3 {
	margin: 0 auto 120px;
	background: url('../images/index/bg2.svg') no-repeat top 160px center;
}

.top3_inner {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	gap: 25px;
	padding: 40px 0 40px;
}

#top3 dt {
	font-size: 20px;
	letter-spacing: -0.1em;
	text-align: center;
	font-weight: 900;
	margin: 0 auto 10px;
}

#top3 dt img {
	display: block;
	margin: 0 auto 10px;
	width: 200px;
	height: 190px;
	object-fit: contain;
	object-position: center bottom;
}

#top3 dd {
	background: #fff9c4;
	line-height: 60px;
	color: #088943;
	font-family: "Zen Maru Gothic", sans-serif;
	font-weight: 900;
	font-style: normal;
	border-radius: 30px;
	letter-spacing: 0.1em;
	text-align: center;
	text-shadow:
		#fff 2px 0px, #fff -2px 0px,
		#fff 0px -2px, #fff 0px 2px,
		#fff 2px 2px, #fff -2px 2px,
		#fff 2px -2px, #fff -2px -2px,
		#fff 1px 2px, #fff -1px 2px,
		#fff 1px -2px, #fff -1px -2px,
		#fff 2px 1px, #fff -2px 1px,
		#fff 2px -1px, #fff -2px -1px;
}

#top3 dd strong {
	font-size: 36px;
}

#top3 .moreworks {
	padding: 40px 0 0;
}

#top3 .moreworks a {
	display: block;
	line-height: 58px;
	border: 2px solid #088943;
	border-radius: 30px;
	text-align: center;
	box-shadow: 0 4px 0 #cccccc;
	text-decoration: none;
	font-weight: 700;
	color: #222;
	max-width: 340px;
	margin: 0 auto;
}

#top3 .moreworks a:hover {
	background: #088943;
	color: #fff;
}

#top4 {
	margin: 0 auto 120px;
	padding: 55px 0 0;
	height: 728px;
	box-sizing: border-box;
	background: #a5e8c4 url('../images/index/bg_recruit.webp') no-repeat top center;
}

#top4_inner {
	max-width: 1100px;
	padding: 0 0 0 40px;
	box-sizing: border-box;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
}

#top4-1 {
	width: 540px;
	padding: 0 0 0 20px;
	box-sizing: border-box;
	flex: none;
	margin-bottom: 20px;
}

#top4-1 h2 {
	font-size: 36px;
	font-weight: 900;
	text-shadow:
		#fff 2px 0px, #fff -2px 0px,
		#fff 0px -2px, #fff 0px 2px,
		#fff 2px 2px, #fff -2px 2px,
		#fff 2px -2px, #fff -2px -2px,
		#fff 1px 2px, #fff -1px 2px,
		#fff 1px -2px, #fff -1px -2px,
		#fff 2px 1px, #fff -2px 1px,
		#fff 2px -1px, #fff -2px -1px;
	line-height: 1.2em;
	margin-bottom: 20px;
	color: #088943;
}

#top4-1 .more {
	padding: 40px 0 0 150px;
}

#top4-1 .more a {
	display: block;
	line-height: 58px;
	border: 2px solid #088943;
	border-radius: 30px;
	text-align: center;
	box-shadow: 0 4px 0 #cccccc;
	text-decoration: none;
	font-weight: 700;
	color: #222;
	max-width: 200px;
	margin: 0 auto;
	background: #fff;
}

#top4-1 .more a:hover {
	background: #088943;
	color: #fff;
}

#top4-2 {
	width: 340px;
	flex: none;
	text-align: center;
	padding: 20px 0 0;
	font-size: 20px;
	margin-bottom: 20px;
}

#top4-2 h3 {
	font-size: 30px;
	font-weight: 900;
	text-shadow:
		#fff 2px 0px, #fff -2px 0px,
		#fff 0px -2px, #fff 0px 2px,
		#fff 2px 2px, #fff -2px 2px,
		#fff 2px -2px, #fff -2px -2px,
		#fff 1px 2px, #fff -1px 2px,
		#fff 1px -2px, #fff -1px -2px,
		#fff 2px 1px, #fff -2px 1px,
		#fff 2px -1px, #fff -2px -1px;
	line-height: 1.2em;
	margin-bottom: 40px;
	color: #088943;
}

#top4-3 {
	width: 720px;
	flex: none;
	box-sizing: border-box;
	padding: 20px 20px 0 0;
	font-size: 20px;
	margin-bottom: 20px;
}

#top4-3 h3 {
	width: 350px;
	text-align: center;
	font-size: 30px;
	font-weight: 900;
	text-shadow:
		#fff 2px 0px, #fff -2px 0px,
		#fff 0px -2px, #fff 0px 2px,
		#fff 2px 2px, #fff -2px 2px,
		#fff 2px -2px, #fff -2px -2px,
		#fff 1px 2px, #fff -1px 2px,
		#fff 1px -2px, #fff -1px -2px,
		#fff 2px 1px, #fff -2px 1px,
		#fff 2px -1px, #fff -2px -1px;
	line-height: 1.2em;
	margin-bottom: 40px;
	color: #088943;
}

#top4-3 ul {
	list-style: none;
	gap: 20px;
	display: flex;
}

#top4-3 ul li {
	width: calc((100% - 20px) / 2);
	flex: none;
	text-align: center;
}

#top4-4 {
	width: calc(100% - 720px);
	flex: none;
}

#top4-4 ul {
	list-style: none;
}

#top4-4 ul li {
	margin-bottom: 14px;
}

#top4-4 a {
	display: block;
	border: 2px solid #ff8a80;
	line-height: 56px;
	border-radius: 30px;
	background: #ff8a80;
	color: #fff;
	text-decoration: none;
	text-align: center;
	font-weight: 700;
	letter-spacing: -0.05em;
	box-shadow: 0 4px 0 #cccccc;
}

#top4-4 a:hover {
	color: #ff8a80;
	background: #fff;
}