@charset "UTF-8";
* {
  box-sizing: border-box;
}

body,
p,
ul,
td,
th {
  margin: 0;
  padding: 0;
}

.top {
  width: 100dvw;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.top ul {
  list-style: none;
}
.top ul li {
  margin: 20px 0;
}
.top ul li a {
  font-weight: bold;
  font-size: 30px;
}

.type {
  max-width: 500px;
  width: 100%;
  height: 100dvh;
  margin: 0 auto;
  position: relative;
}

.anime {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.anime.is-anime.anime-1 {
  animation: fadeIn 2.5s ease-in forwards;
}
.anime.is-anime.anime-2 {
  animation: circle 1s ease-in-out forwards;
}
.anime.is-anime.anime-3 {
  animation: fadeIn 1s ease-in forwards;
  animation-delay: 1.5s;
}
.anime.is-anime.anime-3 .card {
  animation: rotate 1.5s ease-in forwards;
}
.anime.anime-2 {
  display: none;
  content: "";
  position: fixed;
  transform: scale(100);
  z-index: 999;
  top: calc(50% - 1rem);
  left: calc(50% - 1rem);
  width: 2rem;
  height: 2rem;
  display: block;
  border-radius: 50%;
}
.anime.anime-3 .inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}
.anime.anime-3 .card {
  position: relative;
  width: 200px;
  height: 300px;
  perspective: 1000px;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  /* 3D 有効化 */
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  /* Safari のレンダリング最適化 */
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-origin: center center;
  will-change: transform;
}
.anime.anime-3 .card .cardface {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 2vw;
  font-weight: bold;
  color: #ffffff;
  border-radius: 1vw;
  background-color: #262626;
  border: 10px #fff;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1), inset 0 1px 3px rgba(255, 255, 255, 0.3);
  transition: transform 0.6s;
  backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0); /* GPU 促進 */
  -webkit-transform: translateZ(0);
}
.anime.anime-3 .card .cardface__front {
  transform: none;
}
.anime.anime-3 .card .cardface__back {
  transform: rotateY(180deg);
  color: #262626;
  background-color: #aaaaaa;
}

@keyframes fadeIn {
  0% {
    opacity: 1;
    pointer-events: all;
  }
  100% {
    opacity: 0;
    pointer-events: none;
  }
}
@keyframes circle {
  0% {
    transform: scale(100);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes rotate {
  0% {
    transform: rotateY(-180deg);
  }
  60% {
    transform: rotateY(0deg);
  }
  100% {
    transform: scale(10);
  }
}
.atari {
  background: #f2cfee;
  width: 100%;
  height: 100%;
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  color: #a02b93;
  padding: 2%;
}
.atari .text1 {
  text-align: center;
  font-weight: bold;
  font-size: 200%;
  margin-bottom: 1.2em;
}
.atari .text2 {
  text-align: center;
  color: #c09b64;
  font-size: 180%;
  margin-bottom: 1em;
}
.atari .text3 {
  font-weight: bold;
  text-align: center;
  font-size: 150%;
  margin-bottom: 1em;
}
.atari img {
  display: block;
  margin: 0 auto;
  max-width: 350px;
  width: 100%;
  height: auto;
}
.atari a {
  display: block;
  background: #79473e;
  max-width: 200px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
  text-decoration: none;
  font-size: 150%;
  line-height: 1;
  padding: 15px 10px 10px;
}/*# sourceMappingURL=main.css.map */