@charset "utf-8";

.first-view {
  position: relative;
  height: 100vh;
  background-color: #9a9697;
  overflow: hidden;
  display: flex;
  align-items: center;
  box-shadow: 0 5px 20px #cfcaca;
}

.img-01, .img-02, .img-03 , .img-04 {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-position: center bottom;
	background-size: cover;
	background-repeat: no-repeat;
}

.img-01 {
	background-image: url("../images/DSC_0269_s.jpg");
  background-position: center top;
	animation: slide-animation-01 32s ease-out infinite;
}

.img-02 {
  background-image: url("../images/DSC_0554_s.jpg");
	animation: slide-animation-02 32s ease-out infinite;
  background-position: center top;
}

.img-03 {
	background-image: url("../images/DSC_0454_s.jpg");
	animation: slide-animation-03 32s ease-out infinite;
}

.img-04 {
	background-image: url("../images/DSC_5568_s.jpg");
	animation: slide-animation-04 32s ease-out infinite;
}

@keyframes slide-animation-01 {
	0% {opacity: 1; transform: scale(1.0);}
	20% {opacity: 1; transform: scale(1.1);}
	25% {opacity: 0;}
	95% {opacity: 0; transform: scale(1.0);}
	100% {opacity: 1;}
}

@keyframes slide-animation-02 {
	0% {opacity: 0;}
	20% {opacity: 0; transform: scale(1.1);}
	25% {opacity: 1;}
	45% {opacity: 1; transform: scale(1.0);}
	50% {opacity: 0;}
	100% {opacity: 0;}
}

@keyframes slide-animation-03 {
	0% {opacity: 0;}
	45% {opacity: 0; transform: scale(1.0);}
	50% {opacity: 1;}
	70% {opacity: 1; transform: scale(1.1);}
	75% {opacity: 0;}
	100% {opacity: 0;}
}

@keyframes slide-animation-04 {
	0% {opacity: 0;}
	70% {opacity: 0; transform: scale(1.1)}
	75% {opacity: 1;}
	95% {opacity: 1; transform: scale(1.0)}
	100% {opacity: 0;}
}

.first-view-text {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  padding-bottom: 60px;
  z-index: 3;
}

.first-view-text h1 {
  color: #fff;
  font-size: 80px;
  text-align: center;
  font-family: 'Satisfy', cursive;
  text-shadow:
    1px  1px 5px #777 ,
    -1px  1px 5px #777 ,
    1px -1px 5px #777 ,
    -1px -2px 5px #777,
    1px 2px #000;
  padding: 5px 8px 8px 8px;
}

.first-text1 {
  color: #fff;
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  text-shadow:
    1px  1px 5px #777 ,
    -1px  1px 5px #777 ,
    1px -1px 5px #777 ,
    -1px -2px 5px #777,
    1px 2px #000;
  padding: 5px 20px;
  line-height: 1.5;
}

.first-text1::after {
  content: "";
  display: block;
  width: 100px;
  height: 4px;
  background-color: #fff;
  margin: 10px auto 0 auto;
}

.first-view-text .menu {
  width: 500px;
  margin: 40px auto 0 auto;
  padding: 30px;
  background-color: rgba(120, 120, 120,0.3);
  border-radius: 10px;
}

.first-view-text .menu li {
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  text-shadow:
    1px  1px 5px #777 ,
    -1px  1px 5px #777 ,
    1px -1px 5px #777 ,
    -1px -2px 5px #777,
    1px 2px #000;
  margin-top: 30px;
}

.first-view-text .menu li:first-child {
  margin-top: 0;
}

.first-view-text .menu a {
  border-bottom: 1px solid;
}

footer p {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  z-index: 3;
}

@media (max-width: 820px) {


  .first-view {
    height: 100vh;
  }

  .first-view-text h1 {
    font-size: 52px;
  }
  
  .first-text1 { 
    font-size: 22px;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    text-align: center;
    margin-top: 10px;
  }

  .img-02 {
    background-position: 70% top;
  }

  .img-03 {
    background-position: left bottom;
  }

  .first-view-text .menu {
    width: 90%;
    margin: 40px auto 0 auto;
    padding: 20px;
    border-radius: 10px;
  }

}