/*====================================================================================================

  TOPPAGE

====================================================================================================*/
#toppage {
	margin: 0;
	padding: 0;
}


/*====================================================================================================

  HEADER

====================================================================================================*/
#header { position:relative; width:100%; }
#header .mainimg { max-height:700px; height:100vh; }
#header .mainimg img { width:100%; height:100%; object-fit:cover; object-position:bottom; }
.scrolldown {
	margin: 25px 0 135px;
	display: flex;
	align-items: center;
	justify-content: center;
	display:none;
}
.scrolldown_arrow {
	position: relative;
  top: 16px;
  left: -14px;
	animation:mousemove 1.2s ease infinite alternate;
}
@keyframes mousemove {
  0% {transform: translateY(-5px);}
  100% {transform: translateY(-10px);}
}
.scrolldown span {
	margin-top: -10px;
	font-weight: bold;
	color: #999;
}


/*** SECTION *******************************************************************/
#toppage section {
  margin-bottom: 60px;
}



/*** H2 *******************************************************************/
.information h2, .staff h2, .machine h2, .genba_note h2, .instagram h2 {
  text-align: center;
  font-size: 2.25rem;
  line-height: 1.5;
}
.information h2 span, .staff h2 span, .machine h2 span, .genba_note h2 span {
  display: block;
  color: #919191;
  font-size: 1rem;
}



/*** BUTTON / ARROW *******************************************************************/
.information li a.arrow:hover::after{
  right: 11px;
	border-top: 2px solid #0A8242;
  border-right: 2px solid #0A8242;
}


/*** SPAN CATEGORY *******************************************************************/
#toppage .cat {
  padding: 2px 10px 4px;
  background-color: #0A8242;
  color: #FFF;
  border-radius: 6px;
  font-size: 0.85rem;
}



/*** ABOUT *******************************************************************/
#toppage .about {
  margin: 0 auto;
	padding-top:100px;
  width: 1200px;
	display: flex;
  justify-content: space-between;
}
#toppage .about div {
  position: relative;
}
#toppage .about div div:nth-child(2) {
  position: absolute;
	bottom: 63px;
  left: -70px;
}
#toppage .about h2 {
  margin-bottom: 30px;
  font-size: 2.25rem;
  line-height: 1.8;
  font-weight: 500;
}
#toppage .about h2 span {
  background: linear-gradient(transparent 75%, #C8D743 75%);
}
#toppage .about p {
  margin-bottom: 15px;
  font-size: 1.125rem;
  font-weight: bold;
  line-height: 1.8;
  font-weight: 500;
}
#toppage .about p:nth-child(3) {
  line-height: 1.3;
  font-weight: normal;
}
#toppage .about .about_text {
  width: 542px;
}
#toppage .about_text .button {
  margin: 60px 0 0;
}



/*** MOVIE *******************************************************************/
.movie {
  margin: 100px 0;
  padding: 60px 0;
  background-color: #E2E2E2;
  text-align: center;
}
.movie h2 {
  margin-bottom: 40px;
  font-size: 1.875rem;
}
.movie h2 span {
  position: relative;
  text-align: center;
  font-weight: bold;
  line-height: 3.3;
  color: #0A8242;
  font-size: 1.125rem;
  } 
#toppage .movie h2 span:before,
#toppage .movie h2 span:after {
  position: relative;
  display: inline-block;
  content: "";
  background: #222;
  width: 1px;
  height: 1em;
  margin: 0 1em;
  margin-top: -.2em;
  vertical-align: middle;
}
#toppage .movie h2 span:before {
  transform: rotate(-35deg);
}
#toppage .movie h2 span:after {
  transform: rotate(35deg);
}
#toppage .movie .videos ul {
  margin: 0 auto;
  width: 1200px;
  display: flex;
  justify-content: space-between;
}
#toppage .movie .videos ul li {
  width: 580px;
}
#toppage .movie .videos ul li video {
  width: 100%;
}
#toppage .movie .videos ul li p {
  margin-top: 20px;
  font-size: 1.375rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 24px;
}
#toppage .movie .videos ul li p img {
  vertical-align: bottom!important;
  margin-right: 10px;
}


/*** INFORMATION *******************************************************************/
.information {
  margin: 0 auto;
  padding: 80px 0;
  width: 1200px;
}
.information div {
  margin-left: 380px;
}
.information ul li:first-child {
  border-top: 1px solid #707070;
}
.information ul li {
  margin: 0 auto;
  width: 90%;
  border-bottom: 1px solid #707070;
}
.information ul li a {
  padding: 40px;
  display: flex;
  color: #222;
}
.information ul li a span {
  margin: 0 30px 0 90px;
}
.information ul li a:hover p {
  color: #0A8242;
}



/*** STAFF GALLERY *******************************************************************/
.staff {
  position: relative;
}
.staff h2 + div img {
  position: absolute;
  top: -20px;
  left: 61%;
}
.staff ul {
  margin: 60px auto 0;
  width: 1200px;
  display: flex;
  justify-content: space-between;
}
.staff ul + div img  {
  position: absolute;
  top: 100px;
  left: 37%;
}
.staff ul.staff_slider li img  {
  width: 100%;
  height: 100%;
  border-radius: 80px 0 80px 0;
}

/*** MACHINE GALLERY *******************************************************************/
.machine {
  margin-top: 160px;
  position: relative;
}
.machine h2 + div img {
  position: absolute;
  top: -20px;
  left: 26%;
} 
.machine .inner {
  margin-top: 120px;
  background: linear-gradient(90deg, #C8D743 0%, #C8D743 30%, #FFF 0%, #FFF 70%);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  height: 450px;
}
.machine .sliderArea {
  width: 1200px;
	background: url("../../image/top/machine_bg.svg") no-repeat right -280% bottom;
}
.machine .inner ul {
  margin: 0 auto;
  display: flex;
  width: 1200px;
}
.machine .inner ul li:nth-child(1) {
  position: relative;
  padding: 0 0 50px 100px;
}
.machine .inner ul li:nth-child(1) div:first-child img {
	width: 410px;
	height: 450px;
  border-radius: 80px 0  80px 0;
	object-fit: cover;
}
.machine_text {
  position: absolute;
  top: 120px;
  left: 13%;
  z-index: 1;
}
.machine .inner ul li:nth-child(2) {
  margin: 50px 0 0 80px;
  width: 580px;
}
.machine .inner ul li span {
  margin-right: 20px;
}
.machine .inner ul li p {
  margin-top: 20px;
}
.machine .machine_post_title {
  margin-top: 30px;
  font-size: 1.5rem;
  font-weight: bold;
}
.machine ul.machine_pager {
  margin-bottom: 120px;
  display: flex;
  justify-content: center;
}
.machine ul.machine_pager li {
  width: 100px;
  text-align: center;
}
.machine ul.machine_pager li a {
  text-decoration: none;
  color: #222;
}
.machine ul.machine_pager li p {
	/*margin-top: 10px;*/
	padding-top:10px;
}
.machine ul.machine_pager li a:hover {
  color: #0A8242;
}
.machine ul.machine_pager li a span {
  display: block;
}
.machine ul.machine_pager .prev {
  margin-right: 20px;
  padding-right: 10px;
  background: url("../../image/top/machine_arrow_circle.svg")no-repeat top left;
	background-size: 40px;
}
.machine ul.machine_pager .next {
  margin-left: 20px;
  padding-left: 10px;
  background: url("../../image/top/machine_arrow_circle.svg")no-repeat top right;
	background-size: 40px;
}
/*.machine ul.machine_pager .prev a:hover img {
	position: relative;
  top: 0;
  left: 0;
	animation:mousemove_prev 1.2s ease infinite alternate;
}
@keyframes mousemove_prev {
  0% {transform: translateX(0px);}
  100% {transform: translateX(-10px);}
}
.machine ul.machine_pager .next a:hover img {
	position: relative;
    top: 0;
    left: 0;
	animation:mousemove_next 1.2s ease infinite alternate;
}
@keyframes mousemove_next {
  0% {transform: translateX(0px);}
  100% {transform: translateX(10px);}
}*/

.machine ul.machine_pager .next a img,
.machine ul.machine_pager .prev a img { position:relative; top:0; left:0; transition:all 0.5s ease;}
.machine ul.machine_pager .next a:hover img { left:12px;}
.machine ul.machine_pager .prev a:hover img { left:-12px;}


/*** GENBA NOTE *******************************************************************/
.genba_note {
	padding: 90px 0;
	background-color: #E2E2E2;
	position: relative;
}
.genba_note h2 + div img {
	width: 100px;
  position: absolute;
  top: 70px;
  right: 35%;
}
.genba_note ul {
	margin: 60px auto;
	width: 1200px;
	display: flex;
	justify-content: space-between;
}
.genba_note ul li {
	position: relative;
	background-color: #fff;
	border-radius: 80px 0 80px 0;
}
.genba_note ul li div.genba_note_box {
	/*padding-bottom: 10px;*/
	width: 380px;
	border-radius: 80px 0 80px 0;
	overflow: hidden;
}
.genba_note ul li a {
	color: #222;
	text-decoration: none;
}
.genba_note ul li a:hover .genba_noto_post {
	color: #0A8242;
}
.genba_note ul li img {
	width: 380px;
	height: 320px;
	border-radius: 80px 0 0 0;
	object-fit: cover;
}
.genba_note ul li span {
	position: absolute;
  top: -20px;
  left: 15%;
	z-index: 100;
}
.genba_note ul li a > div {
	overflow: hidden;
}
.genba_note ul li a > div.genba_noto_post_box { aspect-ratio:380 / 281;}
.genba_note ul li a > div img {
  transition: transform .6s ease;
}
.genba_note ul li a:hover > div img {
  transform: scale(1.1);
}
.genba_note ul li a p:first-child {
	margin: 20px 0 10px;
	width: 100%;
	text-align: center;
	font-size: 1rem;
}
.genba_note .genba_noto_post {
	text-align: center;	
	font-size: 1.375rem;
	font-weight: bold;
	line-height: 1.5;
}
.genba_note .genba_noto_post + p {
	margin: 20px auto;
	width: 80%;
	text-align: left;
}




/*** RECRUIT *******************************************************************/
#toppage .recruit {
	margin: 100px 0;
	background: url("../../image/top/recruit_img_01.jpg") no-repeat right top 20px;
	background-size:auto 100%;
}
#toppage .recruit .inner {
  margin: 0 auto;
	width: 1200px;
	position: relative;
}
#toppage .recruit .inner div:nth-child(1) img {
  position: absolute;
  top: -30px;
  left: -20px;
}
#toppage .recruit .inner div:nth-child(2) img {
  position: absolute;
  top: 30px;
  left: 230px;
	height: 58px;
}
#toppage .recruit h2 {
  padding-top: 40px;
	margin-bottom: 30px;
  font-size: 2.25rem;
  line-height: 1.4;
}
#toppage .recruit h2 span {
  background: linear-gradient(transparent 75%, #C8D743 75%);
}
#toppage .recruit p {
  margin-bottom: 15px;
}
#toppage .recruit .button {
  margin-left: 0;
}


/*** INSTAGRAM *******************************************************************/
#toppage .instagram {
	text-align: center;
}
#toppage .instagram h2 {
	margin-bottom: 50px;
}
#toppage .instagram h2 img {
	width: 40px;
	height: auto;
}
#toppage .instagram h2 span {
	margin-left: 10px;
  background: linear-gradient(transparent 75%, #C8D743 75%);
}
#toppage .instagram .button {
  /*親要素はrelativeに*/
  position: relative;
  padding: 20px;
}
#toppage .instagram .button span {
  position: absolute;
  top: 40%;
  right: 20px;
	width: 16px;
	height: 16px;
	background: url("../../image/top/instagram_ico.svg")no-repeat;
	background-size: 16px 16px;
	transition:all 0.6s;
}
#toppage .instagram .button a:hover span {
  background: url("../../image/top/instagram_ico_hover.svg") no-repeat;
}


/*#toppage .instagram a:hover.icon {
	animation: bound-anim 1s infinite;
}
@keyframes bound-anim {
  0%,100% {top: 0;transform: scale(1);}
  30% {top: -60%; transform: scale(0.96,1.04);}
  60% {transform: scale(1);}
  90% {top: 0;transform: scale(1.15,0.9);}
}*/


/*----- TOPページ　ファーストビュー画像 --------------------------------------------------*/
#header .mainimg { max-height:none; height:auto; position:relative;}
#header .mainimg img:not(:first-child) { position:absolute; z-index:100; height:auto; }
#header .mainimg img.sub1 { width:11.5vw;  top:26vw;   left:24vw; }
#header .mainimg img.sub2 { width:5vw;     top:28.5vw; left:78.5vw; }
#header .mainimg img.sub3 { width:12vw;    top:11.5vw; left:84.25vw; }
#header .mainimg img.sub4 { width:8.5vw;   top:37.5vw; left:65.5vw; }
#header .mainimg img.sub5 { width:13.25vw; top:41.5vw; left:14.75vw; }
#header .mainimg img.sub6 { width:12vw;    top:2vw;    left:4.5vw; }
#header .mainimg img.img-tree { width:7.5vw;   bottom:0;   left:67vw; z-index:120;}
#header .mainimg img.img-name { width:25.5vw; top:4.2vw; left:36.7vw;}

/* SCROLL DOWN */
#header .mainimg span {
	position: absolute;
    bottom: 40px;
    left: -25px;
    color: #fff;
	font-size:14px;
    transform: rotate(90deg) translateX(-50%);
    font-weight: bold;
	/*animation:sd_slide 1.5s linear infinite;*/
	
}
#header .mainimg span:before{
	content: "";
    position: absolute;
    display: inline-block;
	width:110px;
	height:15px;
	border-bottom:solid 2px #fff;
	border-right:solid 3px #fff;
	bottom:30px;
	right:2.5px;
	transform:skew(50deg);
	animation:sd_slide 1.0s ease infinite;
}
@keyframes sd_slide{
	0% { transform:skew(50deg) translateX(-10%);}
	100% { transform:skew(50deg) translateX(10%);}
}

/*----- sub1～sub6 のアニメーション --------------------------------------------------*/
/* 右上ショベルカー（sub3）のアニメーション */
#header .mainimg img.sub3{
	/*animation:left-right 2s linear infinite;*/
	animation-name:left-right;
	animation-duration:3s;
	animation-timing-function:linear;
	animation-iteration-count:infinite;
	
	transform-origin:center bottom 0;
}
/* 左下ショベルカー（sub5）のアニメーション */
#header .mainimg img.sub5{
	/*animation:left-right 2s linear infinite;*/
	animation-name:front-back;
	animation-duration:5s;
	animation-timing-function:linear;
	animation-iteration-count:infinite;
}

/* sub3 アニメーション */
@keyframes left-right {
	0%   { transform:rotate(-10deg); }
	40%  { transform:rotate(10deg); }
	50%  { transform:rotate(10deg); }
	90%  { transform:rotate(-10deg); }
	100% { transform:rotate(-10deg); }
}
/* sub5 アニメーション */
@keyframes front-back { 
	0%   { top:32.5vw; left:14.75vw; }
	40%  { top:35vw;   left:10.25vw; }
	50%  { top:35vw;   left:10.25vw; }
	90%  { top:32.5vw; left:14.75vw; }
	100% { top:32.5vw; left:14.75vw; }
}
/* sub5 アニメーション（701px ～ 1099px） */
@keyframes front-back2 { 
	0%   { top:434.5px; left:184.25px; }
	40%  { top:473px;   left:134.75px; }
	50%  { top:473px;   left:134.75px; }
	90%  { top:434.5px; left:184.25px; }
	100% { top:434.5px; left:184.25px; }
}

/*----- bodyのmin-width から スマホ画面まで --------------------------------------------------*/
@media only screen and (max-width:1099px) and (min-width:701px){
	#header .mainimg img.sub1 { width:126.5px;  top:374px;   left:264px; }
	#header .mainimg img.sub2 { width:55px;     top:313.5px; left:863.5px; }
	#header .mainimg img.sub3 { width:132px;    top:148.5px; left:948.75px; }
	#header .mainimg img.sub4 { width:93.5px;   top:412.5px; left:720.5px; }
	#header .mainimg img.sub5 { width:145.75px; top:456.5px; left:162.25px; }
	#header .mainimg img.sub6 { width:132px;    top:66px;    left:49.5px; }
	#header .mainimg img.img-tree { width:82.5px; left:737px; }
	#header .mainimg img.img-name { width:280.5px; top:46.2px; left:403.7px;}
	
	#header .mainimg img.sub5 { 
		animation-name:front-back2;
	}
}

/* Animation for bounce and slide for img (sub6) */
#header .mainimg { overflow:hidden; }
#header .mainimg img.sub6,
#toppage .mainimg img.sub6 {
	animation: bounce 9s linear infinite;
}

svg {
  width: 100%;
}

@keyframes bounce {
	0% {
		transform: translatey(0px);
		opacity:0;
	}
	2% {
		transform: translatey(0px);
		opacity: 1;
	}
	10% {
		transform: translatey(-10px);
	}
	20% {
		transform: translatey(0px);
	}
	30% {
		transform: translatey(-10px);
	}
	45% {
		transform: translatey(0px);
	}
	60% {
		transform: translatey(-10px);
	}
	75% {
		transform: translatey(0px);
	}
	80% {
    top: 0vw;
    left: 4.5vw;
  }
  90% {
  	top: 9vh;
    left: 50vw;
  }
  100% {
    top: 5vh;
    left: 101vw;
  }
}
