@charset "utf-8";

/* スクロールバーを非表示 */
/*Google Chrome、Safariへの対応*/
body::-webkit-scrollbar {
  display: none;
}

/*スクロールバー非表示（IE・Edge）*/
body {
  overflow-y: scroll;
  -ms-overflow-style: none;
}

/* loading */
#loadingLogo {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0px;
  left: 0px;
  background: rgba(213, 237, 235, 1);
  z-index: 10000;
  display: none;
}

#loadingLogo.show {
	display: block;
	animation: fadein-keyframes 1s ease 2.5s 1 forwards;
}

#loadingLogo .loading-anime-img {
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width:50%;
  max-width: 380px;
}

#loadingLogo .loading-anime-line {
  background-color: green;
  width: 100%;
  height: 4px;
  position: absolute;
  top: 75%;
  transform: scale(0, 1);
  animation: loading 1.5s ease 0.5s 1 forwards;
}

#loadingLogo .loading-anime-line:before {
    content: "";
    width: 15px;
    height: 15px;
    background: var(--orange);
    position: absolute;
    top: 50%;
	  left: 0;
    transform: translateY(-50%);
    border-radius: 9999px;
}

#loadingLogo .loading-anime-line:after {
    content: "";
    width: 15px;
    height: 15px;
    background: var(--orange);
    position: absolute;
    top: 50%;
	  right: 0;
    transform: translateY(-50%);
    border-radius: 9999px;
}

@keyframes loading {
  0% {
    transform: scale(0, 1);
  }
  100% {
    transform: scale(1, 1);
  }
}

@keyframes fadein-keyframes {
    0% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }

/* MAIN
========================================== */
main {
  opacity: 0;
}

.first-view {
  background-image: url(../images/welcome.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
  width: 100%;
  height: calc(100vh - 70px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
}

.first-view p {
  padding: 0.5rem;
  /* color: var(--dark-green); */
  width: 70vw;
  background-color: rgba(255, 255, 255, 0.3);
  margin-top: 6vh;
  margin-bottom: 15vh;
}

h1 {
  font-size: 3rem;
  font-weight: bold;
  color: #fff;
  text-shadow: 3px 3px 3px rgba(0, 0, 0, .6);
}

.btn-area {
  margin-top: 2rem;
}

.btn {
  display: block;
  background-color: var(--blue);
  font-size: 1.5rem;
  font-weight: 500;
  color: #fff;
  box-shadow: 3px 3px #3b8a98;
  width: 12rem;
  opacity: 0.8;
}

.btn:hover {
  background-color: var(--dark-blue);
}

/* header
========================================== */
header {
  opacity: 0;
}

/* MOBILE SIZE
========================================== */
@media screen and (max-width:767px) {
  .first-view {
    height: calc(100vh - 50px);
    background-position: 35% bottom;
  }

  .first-view p {
    width: 90vw;
    margin-top: 5vh;
    margin-bottom: 5vh;
  }

  .first-view h1 {
    font-size: 2rem;
    text-shadow: 3px 3px 3px rgba(0, 0, 0, .7);
  }

  .btn {
    padding: 5px;
    width: 10rem;
  }
}