@charset "UTF-8";

/* 共通 */
div.cont_ttl {
	margin: 0 auto;
	padding: 0 10px;
	text-align: left;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	h3 {
		opacity: 0;
		margin: 0;
		padding: 0;
		font-size: 20px;
		list-style: 140%;
		font-weight: var(--weight-extrabold2);
		font-family: var(--font-lato);
		color: #2B8334;
		&.scrollin {
			-webkit-animation: bottomIn 0.5s ease-out 0s 1 forwards;
			animation: bottomIn 0.5s ease-out 0s 1 forwards;
		}
	}
	h2 {
		margin: 20px 0 0;
		padding: 0;
		display: flex;
		align-items: center;
		strong {
			opacity: 0;
			display: inline-block;
			margin: 0;
			padding: 0;
			font-size: 50px;
			line-height: 100%;
			font-weight: var(--weight-bold2);
			color: #2B8334;
			&.scrollin {
				-webkit-animation: slideInRight2 0.5s ease-out 0s 1 forwards;
				animation: slideInRight2 0.5s ease-out 0s 1 forwards;
			}
		}
		span {
			display: inline-block;
			margin: 0 0 0 35px;
			padding: 0;
			font-size: 22px;
			line-height: 160%;
			font-weight: var(--weight-nomal);
			&.scrollin {
				-webkit-animation: bottomIn 0.5s ease-out 0s 1 forwards;
				animation: bottomIn 0.5s ease-out 0s 1 forwards;
			}
		}
	}
}

/* KV */
#kv {
	width: 100%;
	margin: 0 auto;
	padding: 0;
	z-index: 1;
	ul.slick_box {
		width: 100%;
		height: 100vh;
		min-height: 650px;
		margin: 0 auto;
		padding: 0;
		list-style: none;
		div.slick-list {
			width: 100%;
			height: 100vh;
			min-height: 650px;
			margin: 0 auto;
			padding: 0;
			li {
				width: 100%;
				height: 100vh;
				min-height: 650px;
				margin: 0 auto;
				padding: 0;
				position: relative;
				h2 {
					position: absolute;
					margin: 0;
					padding: 0;
					font-size: 68px;
					line-height: 180%;
					font-weight: var(--weight-nomal);
					display: flex;
					flex-direction: column;
					align-items: flex-start;
					span {
						opacity: 0;
						display: inline-block;
						margin: 10px 0;
						padding: 5px 5px 5px 25px;
						white-space: nowrap;
					}
				}
				h3 {
					opacity: 0;
					position: absolute;
					margin: 0;
					padding: 0;
					font-size: 36px;
					line-height: 160%;
					font-weight: var(--weight-nomal);
					color: #fff;
					text-align: left;
				}
			}
			li.kv01 {
				background: url(../images/top/kv_01.jpg) center / cover no-repeat;
				h2 {
					color: #fff;
					bottom: 185px;
					left: calc(50% - 750px);
					transition: 0.2s linear;
					span {
						background: #2B8335;
					}
				}
				@media screen and (max-width:1500px) {
					h2 {
						left: 50px;
					}
				}
				h3 {
					bottom: 90px;
					left: calc(50% - 730px);
					transition: 0.2s linear;
				}
				@media screen and (max-width:1500px) {
					h3 {
						left: 80px;
					}
				}
			}
			li.kv02 {
				background: url(../images/top/kv_02.jpg) center / cover no-repeat;
				h2 {
					/*color: #333;*/
					color: #fff;
					bottom: 235px;
					left: calc(50% - 750px);
					transition: 0.2s linear;
					span {
						/*background: #C7AF00;*/
						background: #2B8335;
					}
				}
				@media screen and (max-width:1500px) {
					h2 {
						left: 50px;
					}
				}
				h3 {
					bottom: 140px;
					left: calc(50% - 730px);
					transition: 0.2s linear;
				}
				@media screen and (max-width:1500px) {
					h3 {
						left: 80px;
					}
				}
			}
			li.kv03 {
				background: url(../images/top/kv_03.jpg) center / cover no-repeat;
				h2 {
					color: #fff;
					bottom: 215px;
					right: calc(50% - 750px);
					transition: 0.2s linear;
					span {
						/*background: #281F1D;*/
						background: #2B8335;
					}
				}
				@media screen and (max-width:1500px) {
					h2 {
						right: 50px;
					}
				}
				h3 {
					bottom: 120px;
					right: calc(50% - 730px);
					transition: 0.2s linear;
				}
				@media screen and (max-width:1500px) {
					h3 {
						right: 80px;
					}
				}
			}
			li.kv01.slick-current h2 span:nth-of-type(1), li.kv02.slick-current h2 span:nth-of-type(1) {
				-webkit-animation: slideInLeft2 0.5s ease-out 1s 1 forwards;
				animation: slideInLeft2 0.5s ease-out 1s 1 forwards;
			}
			li.kv01.slick-current h2 span:nth-of-type(2), li.kv02.slick-current h2 span:nth-of-type(2) {
				-webkit-animation: slideInLeft2 0.5s ease-out 1.3s 1 forwards;
				animation: slideInLeft2 0.5s ease-out 1.3s 1 forwards;
			}
			li.kv03.slick-current h2 span:nth-of-type(1) {
				-webkit-animation: slideInRight2 0.5s ease-out 1s 1 forwards;
				animation: slideInRight2 0.5s ease-out 1s 1 forwards;
			}
			li.kv03.slick-current h2 span:nth-of-type(2) {
				-webkit-animation: slideInRight2 0.5s ease-out 1.3s 1 forwards;
				animation: slideInRight2 0.5s ease-out 1.3s 1 forwards;
			}
			li.kv01.slick-current h3, li.kv02.slick-current h3, li.kv03.slick-current h3 {
				-webkit-animation: bottomIn 0.5s ease-out 1.5s 1 forwards;
				animation: bottomIn 0.5s ease-out 1.5s 1 forwards;
			}
		}
	}
}

/* 未来をつなぐ ソリューションパートナー */
section.top_partner {
	width: 100%;
	height: 919px;
	margin: 100px auto;
	padding: 0;
	background: url(../images/top/partner_bg.jpg) center / cover no-repeat;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	position: relative;
	.pc_img {
		opacity: 0;
		position: absolute;
		display: block;
		width: 745px;
		height: auto;
		top: -100px;
		left: calc(50% - 780px);
		z-index: 1;
		&.scrollin {
			-webkit-animation: slideInRight2 0.5s ease-out 0s 1 forwards;
			animation: slideInRight2 0.5s ease-out 0s 1 forwards;
		}
		&:before {
			opacity: 0;
			position: absolute;
			content: '';
			display: block;
			width: 745px;
			height: 1119px;
			margin: 0;
			padding: 0;
			background: url(../images/top/partner_img_bg.png) center / contain no-repeat;
			top: 0;
			left: 25px;
			z-index: -1;
		}
		&.scrollin:before {
			-webkit-animation: slideInRight2 0.5s ease-out 0.3s 1 forwards;
			animation: slideInRight2 0.5s ease-out 0.3s 1 forwards;
		}
	}
	.partner_in {
		width: 50%;
		margin: 0;
		padding: 0;
		color: #fff;
		text-align: left;
		h2 {
			width: 750px;
			margin: 0;
			padding: 0 0 50px;
			font-size: 50px;
			line-height: 160%;
			font-weight: var(--weight-bold2);
		}
		p {
			width: 750px;
			margin: 20px 0 0;
			padding: 0;
			font-size: 16px;
			line-height: 200%;
		}
		h3 {
			width: 750px;
			margin: 30px 0 0;
			padding: 0;
			font-size: 24px;
			line-height: 160%;
			font-weight: var(--weight-nomal);
		}
	@media screen and (max-width:1520px) {
		h2, p, h3 {
			width: 100%;
			padding-right: 10px;
		}
		h2 {
			font-size: 44px;
		}
	}
	@media screen and (max-width:1400px) {
		h2 {
			font-size: 32px;
		}
		h3 {
			font-size: 20px;
		}
	}
	}
	.sp_img {
		display: none;
	}
}

/* 事業内容 */
section.top_service {
	width: 100%;
	margin: 0 auto;
	padding: 110px 0;
	background: #EFF0F1;
	overflow: hidden;
	position: relative;
	&:before {
		opacity: 0;
		position: absolute;
		content: '';
		display: block;
		width: 910px;
		height: 1865px;
		margin: 0;
		padding: 0;
		background: url(../images/top/service_bg.png) center / contain no-repeat;
		top: 0;
		left: calc(50% - 1175px);
	}
	&.scrollin:before {
		-webkit-animation: slideInRight2 0.5s ease-out 0.3s 1 forwards;
		animation: slideInRight2 0.5s ease-out 0.3s 1 forwards;
	}
	h6 {
		position: absolute;
		display: inline-block;
		margin: 0;
		padding: 0;
		font-size: 200px;
		line-height: 100%;
		font-weight: var(--weight-extrabold1);
		font-family: var(--font-lato);
		color: #fff;
		top: -0.2em;
		left: 50%;
		&.scrollin {
			-webkit-animation: slideInLeft 0.5s ease-out 0s 1 forwards;
			animation: slideInLeft 0.5s ease-out 0s 1 forwards;
		}
	}
	.cont_ttl {
		width: 100%;
		max-width: 1540px;
		position: relative;
		z-index: 2;
	}
	.service_in {
		width: 100%;
		max-width: 1500px;
		margin: 0 auto;
		padding: 10px 10px 0 0;
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-end;
		align-items: flex-start;
		position: relative;
		z-index: 2;
		a {
			opacity: 0;
			display: block;
			width: 400px;
			margin: 80px 0 0 50px;
			padding: 0;
			text-decoration: none;
			position: relative;
			&:nth-last-of-type(3n).scrollin {
				-webkit-animation: bottomIn 0.5s ease-out 0s 1 forwards;
				animation: bottomIn 0.5s ease-out 0s 1 forwards;
			}
			&:nth-last-of-type(3n-1).scrollin {
				-webkit-animation: bottomIn 0.5s ease-out 0.2s 1 forwards;
				animation: bottomIn 0.5s ease-out 0.2s 1 forwards;
			}
			&:nth-last-of-type(3n-2).scrollin {
				-webkit-animation: bottomIn 0.5s ease-out 0.4s 1 forwards;
				animation: bottomIn 0.5s ease-out 0.4s 1 forwards;
			}
			h4 {
				position: absolute;
				display: inline-block;
				margin: 0;
				padding: 5px 30px;
				font-size: 20px;
				line-height: 160%;
				font-weight: var(--weight-nomal);
				color: #fff;
				text-align: left;
				background: #281F1D;
				top: 135px;
				left: -10px;
				z-index: 2;
				small {
					display: block;
					margin: 0;
					padding: 0;
					font-size: 18px;
					line-height: 160%;
				}
			}
			.img {
				width: 100%;
				margin: 0;
				padding: 0;
				outline: 3px solid transparent;
				box-sizing: border-box;
				border-radius: 4px;
				overflow: hidden;
				position: relative;
				transition: 0.3s linear;
				z-index: 1;
				img {
					width: 100%;
					height: auto;
					object-fit: cover;
					transition: 0.3s linear;
				}
				h5 {
					position: absolute;
					display: inline-block;
					margin: 0;
					padding: 0;
					font-size: 30px;
					line-height: 140%;
					font-weight: var(--weight-extrabold1);
					font-family: var(--font-lato);
					color: #fff;
					text-align: left;
					top: 30px;
					left: 30px;
				}
				&:after {
					position: absolute;
					content: '';
					display: block;
					width: 80px;
					height: 80px;
					margin: 0;
					padding: 0;
					background: rgba(43,131,53,1);
					transform: rotate(45deg);
					bottom: -40px;
					right: -40px;
				}
			}
			&:hover .img {
				outline: 3px solid #2B8334;
				img {
					transform: scale(1.07);
				}
			}
			p {
				margin: 25px 0 0;
				padding: 0;
				font-size: 16px;
				line-height: 200%;
				text-align: left;
			}
		}
		@media screen and (max-width:1400px) {
			a {
				width: 370px;
				margin: 80px 0 0 40px;
			}
		}
	}
}

/* お知らせ */
section.top_news {
	width: 100%;
	margin: 0 auto;
	padding: 110px 0 0;
	.cont_ttl {
		width: 100%;
		max-width: 1540px;
	}
	ul {
		width: 1280px;
		margin: 0 auto;
		padding: 50px 0 0;
		text-align: left;
		list-style: none;
		li {
			width: 100%;
			margin: 10px 0 0;
			padding: 35px 60px;
			background: #F9F9F9;
			border-radius: 4px;
			display: flex;
			align-items: flex-start;
			span {
				display: inline-block;
				width: 200px;
				margin: 0;
				padding: 0;
				font-size: 16px;
				line-height: 200%;
				font-weight: var(--weight-extrabold1);
				font-family: var(--font-lato);
				color: #2B8334;
			}
			p {
				width: calc(100% - 200px);
				margin: 0;
				padding: 0;
				font-size: 16px;
				line-height: 200%;
			}
		}
	}
}
