html, body {
  margin: 0;
  padding: 0;
  /* overflow: hidden; スクロールバーを非表示 */
}



.slide {
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	color: #666;
	width: 100%;
	margin-left: 0px;
	padding-left: 0px;
}
.slide:nth-of-type(1) {
  background-color: #fff;
}
.slide:nth-of-type(2) {
  background-color: #fff;
}
.slide:nth-of-type(3) {
  background-color: #fff;
}
.slide #photo {
	height: 100vh;

	text-align: center;
	margin-top: 60px;
	padding-top: 200px;

}


.slide1 {
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	color: #666;
	width: 100%;
	text-align: center;
	position: relative;
	top: -30px;
	background-image: url(../img/main2.jpg);
	background-repeat: no-repeat;
	background-size: cover;
}

.slide2 {
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	color: #666;
	width: 100%;
	text-align: center;
	position: relative;
	top: 140px;
}

.slide3 {
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #666;
	width: 100%;
	text-align: center;
	position: relative;
	padding-top: 5px;
	padding-right: 0px;
	padding-bottom: 5px;
	padding-left: 0px;
	top: 0px;
	background-image: url(../img/house.png);
	background-repeat: no-repeat;
	background-position: right bottom;
}

.slide4 {
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #666;
	width: 100%;
	text-align: center;
	position: relative;
	padding-top: 5px;
	padding-right: 0px;
	padding-bottom: 5px;
	padding-left: 0px;
	top: 130px;
}

.slide5 {
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	color: #666;
	width: 100%;
	text-align: center;
	position: relative;
	padding-top: 5px;
	padding-right: 0px;
	padding-bottom: 5px;
	padding-left: 0px;
	background-image: url(../img/reqruit-illust.png);
	background-size: 35%;
	background-repeat: no-repeat;
	background-position: right bottom;
	top: 110px;
}

.slide6 {
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	color: #666;
	width: 100%;
	text-align: center;
	position: relative;
	background-image: url(../img/allstaff.jpg);
	background-repeat: no-repeat;
	background-size: 84%;
	background-position: center center;
	top: 50px;

}


.slide7 {
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	color: #666;
	width: 100%;
	text-align: center;
	position: relative;
}


.slide #photo img {
	width: 100%;
}

.slide1 .text-space {
	margin-bottom: 0px;
	padding-bottom: 0px;
	position: relative;
	top: 0px;
	height: 180px;
}

.slide2 .text-space {
	margin-bottom: 0px;
	padding-bottom: 0px;
	position: relative;
	top: 0px;
}
.slide2 .text-space p {
	position: relative;
	top: -20px;
}

.slide3 .text-space {
	margin-bottom: 0px;
	padding-bottom: 0px;
	position: relative;
	top: 0px;
}

.slide4 .text-space {
	margin-bottom: 0px;
	padding-bottom: 0px;
	position: relative;
	top: 0px;
}

.slide5 .text-space {
	margin-bottom: 0px;
	padding-bottom: 0px;
	position: relative;
	top: 0px;
}

.slide6 .text-space {
	margin-bottom: 0px;
	padding-bottom: 0px;
	position: relative;
	top: 120px;
}

.slide1 .text-space h3 {
	margin-top: -90px;
	padding-top: 0px;
	margin-bottom: 0px;
}
.slide2 .text-space h3 {
	margin-top: -100px;
	padding-top: 0px;
	margin-bottom: -13px;
	margin-right: auto;
	position: relative;
	top: -50px;
}
.slide3 {
	top: 60px;
}
.slide3 .text-space h3 {
	margin-top: -130px;
	padding-top: 0px;
	margin-bottom: 0px;
	padding-bottom: 0px;
}
.slide3 .text-space p {
	margin-top: 20px;
}



.slide4 .text-space h3 {
	margin-top: 0px;
	padding-top: 0px;
	margin-bottom: 0px;
	position: relative;
	top: -110px;
}

.slide4 .text-space p {

	position: relative;
	top: -100px;
	line-height: 20px;
}
.slide5 .text-space h3 {
	margin-top: 0px;
	padding-top: 0px;
	margin-bottom: 0px;
	position: relative;
	top: -80px;
}
.slide5 .text-space p {
	position: relative;
	top: -80px;
}

.slide6 .text-space h3 {
	margin-top: 10px;
	padding-top: 0px;
	margin-bottom: 0px;
	position: relative;
	top: -160px;
}


.slide6 .text-space p {
	position: relative;
	top: -150px;
}


.indicator {
	position: fixed;
	right: 30px;
	top: 50%;
	transform: translateY(-50%);
	border-radius: 10px;
	padding: 10px 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.indicator div {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	margin: 6px 0;
	background-color: #fff; /* デフォルトの背景色 */
	cursor: pointer;
	border: 2px solid #ccc;
}
@media screen and (max-width: 620px) {
.slide {
  height: 98vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #666;
  width: 100%;
  margin-left: 0px;
  padding-left: 0px;
}
.slide1 {
	height: 90vh;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	color: #666;
	width: 100%;
	text-align: center;
	position: relative;
	top: -30px;
	background-image: url(../img/main2-s.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	width: 100%;
	padding-left: 3%;
	padding-right: 3%;

}
.slide #photo {
  height: 100vh;
  text-align: center;
  margin-top: 60px;
  padding-top: 110px;
}
.slide2 {
	top: 0vh;
	background-size: 65%;
	height: 90vh;
	background-color:#E5E5E5;
}

.slide3 {
	height: 90vh;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #666;
	width: 100%;
	text-align: center;
	position: relative;
	padding-top: 5px;
	padding-right: 0px;
	padding-bottom: 5px;
	padding-left: 0px;
	top: -50px;
	background-image: url(../img/house.png);
	background-repeat: no-repeat;
	background-position: right 350px;
	background-size: 70%;
}
.slide4 .text-space h3 {
  margin-top: 0px;
  padding-top: 0px;
  margin-bottom: 0px;
  position: relative;
  top: -50px;
}

.slide4 {
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  width: 100%;
  text-align: center;
  position: relative;
  padding-top: 0px;
  padding-right: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
  top: -150px;
  border-radius: 10px;
  margin-left: 0px;
    margin-right: 0px;


}
.slide4 .text-space {
  margin-bottom: 0px;
  padding-bottom: 0px;
  position: relative;
  top: 0px;
  background-color:#E5E5E5;
 width: 100%;
 padding: 20px;
}
.slide4 .text-space p {
  position: relative;
  top: -50px;
  line-height: 26px;
}
.slide5 {
	height: 90vh;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	color: #666;
	width: 100%;
	text-align: center;
	position: relative;
	padding-top: 5px;
	padding-right: 0px;
	padding-bottom: 5px;
	padding-left: 0px;
	background-image: none;
	background-size: 35%;
	background-repeat: no-repeat;
	background-position: right bottom;
	top: -100px;
}
.slide6 {
	height: 66vh;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	color: #666;
	width: 100%;
	text-align: center;
	position: relative;
	background-image: url(../img/allstaff2.jpg);
	background-repeat: no-repeat;
	background-size: 84%;
	background-position: center 190px;
	top: -190px;

}

.slide7 {
	height: 0vh;
	display: none;

}

.slide1 .text-space h3 {
	margin-top: -120px;

}
.slide2 .text-space {
  top: 130px;
}
.slide2 .text-space h3 {
	margin-top: -50px;
	top: -80px;
}
.slide2 .text-space p {
	position: relative;
	top: -50px;
}
.slide3 .text-space h3 {
	margin-top: -120px;
	padding-top: 0px;
	margin-bottom: 0px;
	padding-bottom: 0px;
}
.slide3 .text-space {
	margin-bottom: 0px;
	padding-bottom: 0px;
	position: relative;
	top: -70px;
	width: 90%;
}
.slide5 .text-space {
  margin-bottom: 0px;
  padding-bottom: 0px;
  position: relative;
  top: 0px;
  	width: 100%;

}
.slide6 .text-space {
  margin-bottom: 0px;
  padding-bottom: 0px;
  position: relative;
  top: -132px;
}
.slide6 .text-space h3 {
  margin-top: 0px;
  padding-top: 0px;
  margin-bottom: 0px;
  position: relative;
  top: -125px;
}
.slide6 .text-space p {
  top: -120px;
  line-height: 160%;
}

.indicator {
	position: fixed;
	right: -5px;
	top: 50%;
	transform: translateY(-50%);
	border-radius: 10px;
	padding: 10px 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
}
}
/* 動かしたい要素 */
.element {
  animation: moveIn 1s ease-out forwards; /* 1秒かけて移動、最後で止まる */
}

/* アニメーションの定義 */
@keyframes moveIn {
  from {
    transform: translateY(-100px); /* 下から */
    opacity: 0;                /* 透明から */
  }
  to {
    transform: translateY(0px);    /* 元の位置へ */
    opacity: 1;                /* 不透明へ */
  }
