/* ヒーロースペース
=========================================================================
=========================================================================*/
/* ローディング画面
=========================================================================*/
#progress {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100vh;
	text-align: center;
	background: #FFF;
	z-index: 3;
	/*z-index: 99999;*/
}
#progress .widget {
	overflow: hidden;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	width: 50px;
	height: 1px;
	background-color: #E4E4E4;
}
.loader {
	width: 50px;
	height: 1px;
	background-color: #000;
	animation: bar 0.5s infinite linear;
}

@keyframes bar {
	from {
		transform : translate(-50px, 0);
	}
	to {
		transform: translate(100px, 0);
	}
}

#hero_space {
	overflow: hidden;
	position: relative;
	width: 100%;
	height: 100vh;
	height: calc(100vh - 87px);
	border-bottom: 16px solid #54B456;
}
#hero_space video#bg {
	overflow: hidden;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
	min-height: 100%;
	min-height: 100vh;
	min-width: 100%;
	min-width: 100vw;
	background-color: #FFF;
	z-index: -1;
}
.overlay {
	display: none;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	/*background: rgba(204,224,219,0.42);*/
	background: url(../img/top/hero_overlay.png) right center no-repeat;
	background-size: cover;
	background-blend-mode: multiply;
	z-index: 2;
}
#hero_space .overlay_bg {
	position: relative;
	margin: 0;
	width: 100%;
	height: 100%;
	background: url(../img/top/hero_overlay_bg.svg) right center no-repeat;
	background-size: cover;
	background-blend-mode: difference;
	z-index: 2;
	opacity: .2;
}
#hero_space .title_01 {
	position: absolute;
	top: 15%;
	margin-left:  calc(82 / 1366 * 100%);
	width: calc(603 / 1366 * 100%);
	z-index: 3;
}
#hero_space .title_02 {
	position: absolute;
	top: 15%;
	margin-left:  calc(82 / 1366 * 100%);
	width: calc(603 / 1366 * 100%);
	z-index: 3;
}



/* MESSAGE
=========================================================================
=========================================================================*/
#message {
	position: relative;
	height: 734px;
	text-align: center;
	background: url(../img/top/message_bg.jpg) center top 15px no-repeat;
	background-size: cover;
	z-index: 2;
}

.scroll {
	overflow: hidden;
	position: absolute;
	top: -117px;
	left: 0;
	right: 0;
	margin: 0 auto;
	width: 2px;
	height: 94px;
	background-color: #FFF;
	z-index: 4;
}
.bar {
	width: 2px;
	height: 94px;
	background-color: #DECE95;
	animation: line-animation 1.5s cubic-bezier(1, 0, 0, 1) infinite;
}


@keyframes line-animation {
	0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  50.1% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}

#message .object_one {
	position: absolute;
	top: 62px;
	left: 0;
	right: 0;
	margin: 0 auto;
	width: 1042px;
	mix-blend-mode: hard-light;
	z-index: 1;
}
@media screen and (max-width: 1042px) {
	#message .object_one {
		width: calc(389 / 375 * 100%);
	}
}
#message h2 {
	position: relative;
	margin: 40px 0 107px;
	z-index: 2;
}
#message h2 img {
	width: 110px;
}
/*#message h2::after {
	overflow: hidden;
	content: "";
	position: absolute;
	top: -117px;
	left: 0;
	right: 0;
	margin: 0 auto;
	width: 2px;
	height: 94px;
	background: #FFF;
}
#message h2::before {
	overflow: hidden;
	content: "";
	position: absolute;
	top: -117px;
	left: 0;
	right: 0;
	margin: 0 auto;
	width: 2px;
	height: 94px;
	background: #DECE95;
	z-index: 2;
	transform: scale(1, 0);
	transform-origin: top;
	animation: line-animation 1.5s linear infinite;
}
@keyframes line-animation {
	35% {
		transform: scale(1, 1);
	}
	70% {
		transform: scale(1, .5);
	}
	100% {
		transform: scale(1, 0);
	}
}*/
#message h3 {
	position: relative;
	margin: 0 0 33px;
	z-index: 2;
}
#message h3 img {
	width: 300px;
}
#message p {
	margin: 0 0 70px;
	/*font-size: 16px;
	font-size: 1.6rem;*/
	font-size: 18px;
	font-size: 1.8rem;
	line-height: 2.375em;
	color: #000;
} 
#message a.button {
	position: relative;
	overflow: hidden;
	display: block;
	margin: 0 auto;
	width: 248px;
	height: 50px;
	text-align: left;
	text-indent: 100%;
	white-space: nowrap;
	background: url(../img/top/message_button_more.svg) center center no-repeat #FFF;
	background-size: 44px auto;
	box-shadow: 1px 1px 6px rgba(0,0,0,0.16);
	z-index: 2;
}
#message .bottom {
	position: absolute;
	left: 0;
	bottom: -1px;
	margin: 0;
	width: 100%;
}

/* ABOUT COMPANY
=========================================================================
=========================================================================*/
#company {
	position: relative;
	padding: 22px 15px 119px;
	background: linear-gradient(180deg, #FFF 0%, #FFF 31%, #F1F2EA 31%, #F1F2EA 100%);
}
#company .container {
	display: flex;
	justify-content: space-between;
	margin: 0 auto;
	width: 1186px;
}
@media screen and (max-width: 1072px) {
	#company .container {
		width: 100%;
	}
}
#company .left {
	position: relative;
	margin-left: calc(101 / 1186 * 100%);
	width: calc(234 / 1186 * 100%);
}
#company .right {
	position: relative;
	width: calc(642 / 1186 * 100%);
}
#company .company_title {
	margin-top: 37px;
	margin-bottom: 32px;
	width: calc(226 / 234 * 100%);
}
#company h2 {
	margin-bottom: 29px;
	font-weight: bold;
	font-size: 22px;
	font-size: 2.2rem;
	line-height: 1.590909em;
}
#company .photo {
	position: relative;
	margin-right: calc(64 / 642 * 100%);
	width: calc(578 / 642 * 100%);
	z-index: 2;
}
#company .bg {
	position: absolute;
	top: 37px;
	right: 0;
	width: calc(522 / 642 * 100%);
	z-index: 1;
}
#company a.button {
	overflow: hidden;
	display: block;
	margin: 0 auto;
	width: 100%;
	height: 50px;
	text-align: left;
	text-indent: 100%;
	white-space: nowrap;
	background: url(../img/top/button_more.svg) center center no-repeat #CEB560;
	background-size: 46px auto;
	box-shadow: 1px 1px 6px rgba(0,0,0,0.16);
}

/* OUR BUSINESS
=========================================================================
=========================================================================*/
#business {
	position: relative;
	padding: 22px 15px 132px;
	background: linear-gradient(180deg, #F1F2EA 0%, #F1F2EA 43%, #FFF 43%, #FFF 100%);
}
#business .container {
	display: flex;
	justify-content: space-between;
	margin: 0 auto;
	width: 1186px;
}
@media screen and (max-width: 1072px) {
	#business .container {
		width: 100%;
	}
}
#business .left {
	position: relative;
	width: calc(679 / 1186 * 100%);
}
#business .right {
	position: relative;
	margin-right: calc(66 / 1186 * 100%);
	width: calc(289 / 1186 * 100%);
}
#business .business_title {
	margin-top: 146px;
	margin-bottom: 32px;
	width: calc(289 / 289 * 100%);
}
#business h2 {
	margin-bottom: 51px;
	font-weight: bold;
	font-size: 22px;
	font-size: 2.2rem;
	line-height: 1.590909em;
}
#business .photo {
	position: relative;
	margin-top: 74px;
	margin-left: calc(101 / 679 * 100%);
	width: calc(578 / 679 * 100%);
	z-index: 2;
}
#business .bg {
	position: absolute;
	top: 0;
	left: 0;
	width: calc(486 / 679 * 100%);
	z-index: 1;
}
#business a.button {
	overflow: hidden;
	display: block;
	margin: 0 auto;
	width: 100%;
	height: 50px;
	text-align: left;
	text-indent: 100%;
	white-space: nowrap;
	background: url(../img/top/button_more.svg) center center no-repeat #CEB560;
	background-size: 46px auto;
	box-shadow: 1px 1px 6px rgba(0,0,0,0.16);
}

/* RECRUIT ORIGINAL CONTENTS
=========================================================================
=========================================================================*/
#banner {
	padding: 133px 15px 0;
	width: 100%;
	height: 725px;
	text-align: center;
	background: url(../img/top/banner_bg.jpg) center top no-repeat;
	background-size: cover;	
}
#banner h2 {
	margin: 0 auto 88px;
	width: 306px;
}
#banner ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: 0 auto;
	width: 911px;
}
@media screen and (max-width: 941px) {
	#banner ul {
		width: 100%;
	}
}
#banner ul li {
	margin-bottom: 32px;
	position: relative;
	overflow: hidden;
	width: calc(440 / 911 * 100%);
	background: #FFF;
}


/* SAISAN PERSON
=========================================================================
=========================================================================*/
#interview {
	position: relative;
	padding: 152px 15px 66px;
	/*height: 1520px;*/
	background: url(../img/top/interview_bg.jpg?01) center bottom no-repeat;
	background-size: contain;
}
#interview h2 {
	margin: 0 auto 60px;
	width: 436px;	
}
#interview ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: flex-start;
	margin: 0 auto;
	width: 886px;
}
@media screen and (max-width: 1042px) {
	#interview ul {
		width: 100%;
	}
}
#interview ul li {
	margin-left: calc(9 / 886 * 100%);
	margin-right: calc(9 / 886 * 100%);
	display: inline-block;
	margin-bottom: 102px;
	width: calc(277 / 886 * 100%);
}
#interview ul li:nth-child(2) {
	margin-top: 115px;
}
#interview ul li:nth-child(3) {
	margin-top: 230px;
}
#interview ul li:nth-child(4) {
	margin-top: -230px;
}
#interview ul li:nth-child(5) {
	margin-top: -115px;
}

#interview ul li a {
	position: relative;
	overflow: hidden;
	display: block;
	width: 100%;
	height: 100%;
	z-index: 2;
}
#interview ul li a .photo {
	overflow: hidden;
	position: absolute;
	content: "";
	display: block;
	width: calc(240 / 277 * 100%);
	height:  calc(297 / 383 * 100%);
	top: calc(16 / 383 * 100%);
	left: calc(20 / 277 * 100%);
}
#interview ul li a .photo  img {
	transition: all .8s ease;
}
#interview ul li a:hover .photo img {
	transform: scale(1.05);
}
#interview ul li a .title {
	overflow: hidden;
	position: relative;
	z-index: 2;
}

#interview a.button {
	overflow: hidden;
	display: block;
	margin: 0 auto;
	width: 248px;
	height: 50px;
	text-align: left;
	text-indent: 100%;
	white-space: nowrap;
	background: url(../img/top/message_button_more.svg) center center no-repeat #FFF;
	background-size: 44px auto;
	box-shadow: 1px 1px 6px rgba(0,0,0,0.16);
}

/* More SAISAN!
=========================================================================
=========================================================================*/
#more_sisan {
	padding: 80px 15px;
	width: 100%;
	height: 373px;
	text-align: center;
	background: url(../img/common/more_sisan_bg.jpg) center top no-repeat;
	background-size: cover;	
}
#more_sisan h2 {
	margin: 0 auto 64px;
	width: 195px;
}
#more_sisan ul {
	display: flex;
	flex-wrap:wrap;
	justify-content: space-between;
	margin: 0 auto;
	width: 748px
}
#more_sisan ul li {
	position: relative;
	overflow: hidden;
	width: calc(178 / 748 * 100%);
	background: #FFF;
}

/*  スマホ（767px以下）
=========================================================================
=========================================================================*/
@media screen and (max-width:767px) {
	
	/* ヒーロースペース
	=========================================================================
	=========================================================================*/
	#hero_space {
		height: 100vh;
		border-bottom: 16px solid #54B456;
	}

	#hero_space .title {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		margin-left:  calc(14 / 375 * 100%);
		width: calc(329 / 375 * 100%);
		z-index: 3;
	}
	
	#hero_space .overlay_bg {
		position: relative;
		margin: 0;
		width: 100%;
		height: 100%;
		background: url(../img/top/hero_overlay_bg@2x.svg) right center no-repeat;
		background-size: cover;
		background-blend-mode: difference;
		z-index: 2;
	}
	#hero_space .title_01 {
		position: absolute;
		top: calc(116 / 360 * 100%);
		margin-left:  calc(14 / 375 * 100%);
		width: calc(329 / 375 * 100%);
		z-index: 3;
	}
	#hero_space .title_02 {
		position: absolute;
		top: calc(116 / 360 * 100%);
		margin-left:  calc(14 / 375 * 100%);
		width: calc(329 / 375 * 100%);
		z-index: 4;
	}
	
	/* MESSAGE
	=========================================================================
	=========================================================================*/
	#message {
		padding-bottom: 134px;
		height: auto;
		text-align: center;
		background: url(../img/top/message_bg@2x.jpg) center top 40px no-repeat;
	}
	#message .object_one {
		top: 196px;
	}
	#message h2 {
		margin: 40px 0 120px;
	}
	#message h2 img {
		width: 78px;
	}
	#message h2::before {
		top: -96px;
		width: 2px;
		height: 84px;
	}

	#message h3 {
		margin: 0 0 55px;
	}
	#message h3 img {
		width: 214px;
	}
	#message p {
		margin: 0 0 40px;
		font-size: 14px;
		font-size: 1.4rem;
		line-height: 2.428571em;
	} 
	#message a.button {
		width: 202px;
		height: 50px;
	}
	
	/* ABOUT COMPANY
	=========================================================================
	=========================================================================*/
	#company {
		position: relative;
		padding: 22px 15px 84px;
		background: linear-gradient(180deg, #FFF 0%, #FFF 16%, #F1F2EA 16%, #F1F2EA 100%);
	}
	#company .container {
		display: block;
		justify-content: space-between;
	}
	#company .left {
		position: static;
		margin-left: 0;
		width: 100%;
	}
	#company .right {
		width: 100%;
	}
	#company .photo {
		position: relative;
		padding-top: 34px;
		margin-right: 0;
		width: 100%;
		z-index: 2;
	}
	#company .photo img.sp {
		position: absolute;
		left: 0;
		right: 0;
		bottom: 42px;
		margin: 0 auto;
		width: 226px;
	}
	#company .bg {
		position: absolute;
		top: 0;
		right: auto;
		left: -15px;
		width: calc(264 / 375 * 100%);
		z-index: 1;
	}
	#company a.button {
		position: absolute;
		right: 18px;
		bottom: -32px;
		width: 154px;
		height: 50px;
		background-size: 35px auto;
		z-index: 3;
	}
	
	/* OUR BUSINESS
	=========================================================================
	=========================================================================*/
	#business {
		position: relative;
		padding: 0 15px 72px;
		background: #F1F2EA;
	}
	#business .container {
		display: block;
		justify-content: space-between;
	}
	#business .left {
		width: 100%;
	}
	#business .right {
		position: static;
		margin-left: 0;
		width: 100%;
	}
	#business .photo {
		position: relative;
		padding-top: 12px;
		margin-top: 0;
		margin-left: 0;
		width: 100%;
		z-index: 2;
	}
	#business .photo img.sp {
		position: absolute;
		left: 0;
		right: 0;
		bottom: 52px;
		margin: 0 auto;
		width: 208px;
	}
	#business .bg {
		position: absolute;
		top: 0;
		left: auto;
		right: -15px;
		width: calc(486 / 679 * 100%);
		z-index: 1;
	}
	#business a.button {
		position: absolute;
		right: 18px;
		bottom: -32px;
		width: 154px;
		height: 50px;
		background-size: 35px auto;
		z-index: 3;
	}
	
	

	/* RECRUIT ORIGINAL CONTENTS
	=========================================================================
	=========================================================================*/
	#banner {
		padding: 133px 15px 90px;
		width: 100%;
		height: auto;
		text-align: center;
		background: url(../img/top/banner_bg.jpg) center top no-repeat;
		background-size: cover;	
	}
	#banner h2 {
		margin: 0 auto 56px;
		width: 250px;
	}
	#banner ul {
		/*display: flex;
		flex-wrap: wrap;
		justify-content: center;*/
		padding: 0 14px;
		width: calc(321 / 375 * 100%);
		width: 100%;
	
	}
	#banner ul li {
		margin: 0 10px;
		/*width: calc(321 / 375 * 100%);*/
	}
	/* PREV NEXTボタン */
	.prev,
	.next {
		display: block;
		position: absolute;
		top: 50%;
		transform: translate(0, -50%);
		width: 14px;
		height: 27px;
		font-size: 0;
	    line-height: 0;
	    padding: 0;
	    cursor: pointer;
	}
	.prev {
		left: 0;
	    background: url(../img/top/banner_button_prev.png) no-repeat center center / contain;
	}
	.next {
		right: 0;
	    background: url(../img/top/banner_button_next.png) no-repeat center center / contain;
	}

	/* SAISAN PERSON
	=========================================================================
	=========================================================================*/
	#interview {
		padding: 125px 15px 65px;
		height: auto;
		background: url(../img/top/interview_bg@2x.jpg?01) center bottom no-repeat;
		background-size: 100% auto;
	}
	#interview h2 {
		margin: 0 auto 50px;
		width: 304px;	
	}
	#interview ul {
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-start;
		align-items: flex-start;
		padding: 0 50px;
	}
	#interview ul li {
		margin-left: 0;
		margin-right: 0;
		display: inline-block;
		margin-bottom: 40px;
		width: 100%;
	}
	#interview ul li:nth-child(2) {
		margin-top: 0;
	}
	#interview ul li:nth-child(3) {
		margin-top: 0;
	}
	#interview ul li:nth-child(4) {
		margin-top: 0;
	}
	#interview ul li:nth-child(5) {
		margin-top: 0;
	}

	#interview a.button {
		width: 202px;
		height: 50px;
	}
	
	/* More SAISAN!
	=========================================================================
	=========================================================================*/
	#more_sisan {
		padding: 84px 6px 68px;
		width: 100%;
		height: auto;	
	}
	#more_sisan h2 {
		margin: 0 auto 48px;
		width: 156px;
	}
	#more_sisan ul {
		width: 100%
	}
	#more_sisan ul li {
		margin-bottom: 5px;
		width: calc(178 / 364 * 100%);
	}
}	