body {
  background-image: url("../img/bg_title01.jpg");
  background-size: cover;
  background-attachment: fixed;
  background-position: top 0 left 50%;
  font-weight: bold;

  padding: 2rem;
}

.title {
  font-size: 32px;
  font-weight: bold;
  color: #5f85b7;
}

#spread {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #000;
}

/* General Styling */
h1 {
  color: #ffffff;
  font-size: 4rem;
  position: absolute;
  top: 140px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  min-width: 650px;
}
h2 {
  font-size: 2rem;
  position: absolute;
  top: 240px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  min-width: 500px;
}

.title-image {
  img {
    position: fixed;
    left: 50%;
    bottom: 0;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 1280px;
  }
}

.nextlink,
.nextlink2 {
  position: fixed;
  left: 50%;
  bottom: 80px;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}
.nextlink2 {
  bottom: 155px;
}

.nextlink a,
.nextlink2 a {
  display: block;
  position: relative;
  width: 257px;
  height: 60px;
  text-decoration: none;
  text-align: center;
}
/* 
.nextlink a:hover,
.nextlink2 a:hover {
  filter: brightness(0.8);
}

.nextlink a:active,
.nextlink2 a:active {
  filter: brightness(1.5);
}
 */
.nextlink a img,
.nextlink2 a img {
  width: 100%;
}

.nextlink a span,
.nextlink2 a span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, calc(-50% + 2px));
  width: 100%;
  font-size: 24px;
  line-height: 24px;
  font-weight: bold;
  color: #fff;
}
/* 
.nextlink {
  position: fixed;
  bottom: 80px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

.nextlink a {
  display: block;
  position: relative;
  width: 257px;
  height: 60px;
  text-decoration: none;
  text-align: center;
}

.nextlink a img {
  width: 100%;
}

.nextlink a span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  line-height: 24px;
  font-weight: bold;
  color: #fff;
} */

.logout {
  position: absolute;
  left: 85%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  top: 840px;
}

#container {
  opacity: 0; /*はじめは透過0に*/
}

/*bodyにappearクラスがついたら出現*/
body #container {
  animation-name: PageAnimeAppear;
  animation-duration: 2s;
  animation-delay: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}

body #container2 {
  margin-top: -70px;
  animation-name: PageAnimeAppear;
  animation-duration: 0.5s;
  animation-delay: 2s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes PageAnimeAppear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* #container {
  display: none;
} */

#container2 .character-img {
  display: none;
}
