@charset "UTF-8";

html, body {
  margin: 0;
  padding: 0;
  border: none;
  background-color: #f5f2fc;
  font-size: 16px;
  color: #333333;
  text-align: center;
}

section#splash {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
  top: 0;
  background-color: white;
  background-image: url(./image/ogp.png);
  background-position: center;
  background-size: cover;
  font-family: "Zen Antique Soft", serif;
}
section#splash::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: black;
  opacity: 0;
  animation: splashSection 1s ease-out forwards;
}
section#splash > img {
  height: 30vh;
  max-height: 40vw;
  position: absolute;
  top: 52vh;
  left: 0;
  right: 0;
  margin: auto;
  transform: translateY(-102%);
  animation: splashIcon .6s ease-out forwards;
}
section#splash > label {
  font-size: 8vw;
  font-size: min(8vw, 6vh);
  position: absolute;
  top: 52vh;
  left: 0;
  right: 0;
  animation: splashLabel .6s ease-out forwards;
}
section#splash > svg {
  width: 50px;
  margin: auto;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10vh;
  animation: splashSvg 2s linear forwards .3s infinite;
}

section#contents > p > a {
  display: inline-block;
  padding: 10px 18px;
  color: #000088;
  background-image: url(./image/shine.png);
  background-repeat: no-repeat;
  background-size: 50% 100%;
  background-position: -100%;
}
section#contents > p > a:hover,
section#contents > p > a:focus {
  background-color: lightgray;
  background-position: 200%;
  transition: all 0.5s 0s ease;
}
section#contents > img {
  width: 100%;
}

footer {
  font-size: .75rem;
  color: gray;
}

@keyframes splashSection {
  from {
    opacity: 1;
  }
}

@keyframes splashIcon {
  from {
    opacity: 0;
    transform: scale(10);
  }
}

@keyframes splashLabel {
  from {
    opacity: 0;
  }
  50% {
    opacity: 0;
    margin-top: 30vh;
  }
}

@keyframes splashSvg {
  0% {
    margin-bottom: 0px;
  }
  50% {
    margin-bottom: -5px;
  }
  100% {
    margin-bottom: 0px;
  }
}
