@font-face {
  font-family: 'M PLUS 1';
  font-display: swap;
  src: url('../css/MPLUS1-VariableFont_wght.woff') format('woff');
}

html {
  scroll-behavior: smooth;
}

body {
  color: #333;
  background: url(../img/bg_top.jpg) no-repeat top center;
  background-attachment: fixed;
  background-size: cover;
  font-size: 16px;
  font-family: 'M PLUS 1', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 'メイリオ', 'Meiryo', 'ＭＳ Ｐゴシック', "MS PGothic", sans-serif;
  margin: 0;
}

body h2 {
  font-size: 3.5vw;
}

img {
  border: none;
  height: auto;
  max-width: 100%;
  width /***/:auto;
}

ul {
  margin: 0;
  padding: 0;
}

li {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.fadein {
  opacity : 0;
  transform : translate(0, 50px);
  transition : all 1s;
}
.fadein.scrollin {
  opacity : 1;
  transform : translate(0, 0);
}

.load {
  align-items: center;
  animation: load 1s ease 3s forwards;
  background: #f69;
  color: #fff;
  display: flex;
  height :100%;
  justify-content: center;
  position: fixed;
  width: 100%;
  z-index: 9999;
}

@keyframes load {
  0% { opacity: 1; }
  100% { opacity: 0;  display: none; z-index: -1; }
}

.load ul {
  display: flex;
  justify-content: center;
}

.load li {
  padding: 5px;
}

.load li:before {
  content: "●";
}

.load li:nth-child(1) {
  animation: circle 1s ease .2s infinite;
}

.load li:nth-child(2) {
  animation: circle 1s ease .4s infinite;
}

.load li:nth-child(3) {
  animation: circle 1s ease .6s infinite;
}

.load li:nth-child(4) {
  animation: circle 1s ease .8s infinite;
}
.load li:nth-child(5) {
  animation: circle 1s ease 1s infinite;
}

@keyframes circle {
  0% { transform: scale(1); }
  50% { transform: scale(2); }
  100% { transform: scale(1); }
}

.visual {
  position: relative;
  width: 100%;
}

.visual h1 {
  animation: c04 1s ease 5.5s forwards;
  bottom: 10%;
  color: #fff;
  font-size: 3vw;
  left: 0;
  right: 0;
  margin: auto;
  opacity: 0;
  position: absolute;
  text-align: center;
  text-shadow: 0px 0px 5px #36c, 0px 0px 5px #36c, 0px 0px 5px #36c;
  width: 100%;
  z-index: 999;
}

@keyframes c04 {
  0% { opacity: 0; bottom: 0; }
  100% { opacity: 1; bottom: 10%; }
}

.visual h1 span {
  font-size: 70%;
}

.visual h1 img {
  max-width: 1049px;
  margin: auto;
  width: 80%;
}

.visual ul {
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding: 20px 0 20px 0;
  width: 100%;
}

.visual ul li:nth-child(1) {
  animation: c01 1s ease 3.8s forwards;
  margin: 0 -150px 0 0;
  opacity: 0;
  z-index: 99;
}

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

.visual ul li:nth-child(2) {
  animation: c02 1s ease 5s forwards;
  margin: 100px 0 0 75px;
  opacity: 0;
  z-index: 100;
}

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

.visual ul li:nth-child(3) {
  animation: c03 1s ease 4.5s forwards;
  margin: 0 0 0 -150px;
  opacity: 0;
  z-index: 99;
}

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

.news {
  background: linear-gradient(rgba(255,255,255,0) 0%,rgba(255,255,255,0) 8%,rgba(255,255,255,1) 8.1%);
  padding: 0 0 30px 0;
  position: relative;
  width: 100%;
  z-index: 999;
  transform: rotate(0.03deg);
}

.news h2 {
  background: #f99;
  border-radius: 20px;
  box-shadow: 20px 10px #fcc;
  color: #fff;
  margin: 0 auto;
  margin-bottom: 30px;
  padding: 0;
  position: relative;
  text-align: center;
  width: 320px;
}

.news h2 span {
  text-shadow: 8px 5px #f69;
  color: #f06;
  position: absolute;
  top: -50%;
  transform: rotate(25deg);
  right: -7%;
}

.news ul {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  max-width: 1024px;
  width: 95%;
}

.news ul h3 {
  color: #f36;
}

.news ul li {
  padding: 20px;
  text-align :center;
}

.news ul a img {
  box-shadow: 10px 5px #fcc;
  margin: 10px 0 10px 0;
  transition: all .5s ease;
}

.news ul a img:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

.news ul a {
  color: #f36;
  text-decoration: none;
}

.story h2 {
  background: #66c;
  color: #fff;
  margin: 0;
  padding: 0;
  text-align: center;
  width: 100%;
}

.story h2 span {
  color: #f90;
}

.story .text:before {
  content: "★";
  color: #f90;
  font-size: 200%;
  position: absolute;
  top: 5px;
  left: 5px;
  transform: rotate(-15deg);
}

.story .text:after {
  content: "★";
  color: #f90;
  font-size: 200%;
  position: absolute;
  top: 5px;
  right: 5px;
  transform: rotate(15deg);
}

.story .text img {
  animation: story 3s ease-in-out infinite;
  bottom: 4%;
  position: absolute;
  right: 4%;
  width: 20%;
}

@keyframes story {
  0% { bottom: 5%; transform: rotate(0deg); }
  20% { bottom: 10%; transform: rotate(15deg); }
  25% { bottom: 10%; transform: rotate(15deg); }
  50% { bottom: 5%; transform: rotate(0deg); }
  75% { bottom: 7%; transform: rotate(-10deg); }
  100% { bottom: 5%; transform: rotate(0deg); }
}

.story .text {
  background: rgba(102,102,204,0.8);
  border-radius: 20px;
  border: 2px dotted #fff;
  color: #fff;
  margin: 0 auto;
  max-width: 1024px;
  padding: 20px;
  position :relative;
  text-align :center;
  width: 95%;
}

.story .text p {
  margin : 20px 0 20px 0;
}

.story .text p strong {
  font-size: 120%;
}

.story .text p .yellow {
  background: linear-gradient(to bottom,#fcc,#ff0);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.story .text p .orange {
  color: #fc9;
}

.story .text p .pink {
  background: linear-gradient(to bottom,#f9c,#fcc);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.story .game {
  margin: 0 auto;
  text-align: center;
  width: 95%;
}

.story .game h3 {
  background: rgba(102,102,204,0.8);
  clip-path: polygon(1% 0, 100% 0, 99% 100%, 0% 100%);
  color: #fff;
  margin: 30px 0 30px 0;
  padding: 5px 30px 5px 30px;
}

.story .game img {
  border: 2px solid #fff;
  box-shadow: 2px 2px 4px #999;
}

.story .game ul {
  display: flex;
  justify-content: center;
}

.story .game li:nth-child(2) {
  margin: 50px 0 0 -100px;
}

.chara {
  background: rgba(255,255,255,0.9);
  padding: 0 0 20px 0;
  width: 100%;
}

.chara h2 {
  background: #f90;
  color: #fff;
  margin: 40px 0 0 0;
  padding: 0;
  text-align: center;
  width: 100%;
}

.chara h2 span {
  color: #66c;
}

.chara ul {
  align-items: center;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  margin-top: 20px;
  margin-bottom: 20px;
  max-width: 1280px;
  width: 95%;
}

.chara li {
  margin: 20px;
}

.chara li h3 {
  font-size: 200%;
}

.chara .rhyth {
  background: rgba(255,204,204,0.5);
  border-radius: 0 20px 0 20px;
  box-shadow: 5px 5px 3px #fcc;
}

.chara .rhyth h3 {
  color: #f36;
}

.chara .rhyth h4 {
  color: #f99;
  font-size: 120%;
}

.chara .rhyth span {
  background: #f36;
  border-radius: 50%;
  color: #fff;
  margin-right: 5px;
  padding: 0 7px 0 7px;
}

.chara .rhyth .text {
  background: #f36;
  box-shadow: 20px 10px #f66;
  color: #fff;
  margin: 20px 0 20px 0;
  padding: 20px;
}

.chara .rhyth strong {
  background: linear-gradient(to bottom,#f36,#f99);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-size: 150%;
}

.chara .rhyth img {
  filter: drop-shadow(10px 10px #f36);
}

.chara .melo {
  background: rgba(255,204,153,0.5);
  border-radius: 20px 0 20px 0;
  box-shadow: 5px 5px 3px #fc9;
}

.chara .melo h3 {
  color: #f60;
}

.chara .melo h4 {
  color: #f96;
  font-size: 120%;
}

.chara .melo span {
  background: #f60;
  border-radius: 50%;
  color: #fff;
  margin-right: 5px;
  padding: 0 7px 0 7px;
}

.chara .melo .text {
  background: #f60;
  box-shadow: -20px -10px #f96;
  color: #fff;
  margin: 20px 0 20px 0;
  padding: 20px;
}

.chara .melo strong {
  background: linear-gradient(to bottom,#f60,#f96);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-size: 150%;
}

.chara .melo img {
  filter: drop-shadow(10px 10px #f60);
}

.chara .moni {
  background: rgba(204,204,255,0.5);
  border-radius: 0 20px 0 20px;
  box-shadow: 5px 5px 3px #ccf;
}

.chara .moni h3 {
  color: #639;
}

.chara .moni h4 {
  color: #66c;
  font-size: 120%;
}

.chara .moni span {
  background: #639;
  border-radius: 50%;
  color: #fff;
  margin-right: 5px;
  padding: 0 7px 0 7px;
}

.chara .moni .text {
  background: #639;
  box-shadow: 20px 10px #66c;
  color: #fff;
  margin: 20px 0 20px 0;
  padding: 20px;
}

.chara .moni strong {
  background: linear-gradient(to bottom,#639,#66c);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-size: 150%;
}

.chara .moni img {
  filter: drop-shadow(10px 10px #639);
}

.spec {
  background: #f69;
  padding: 20px 0 20px 0;
  color: #fff;
  display: flex;
  justify-content: space-evenly;
  margin-top: 40px;
  font-size: 80%;
  width: 100%;
}

.spec h3 {
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.spec h3:before {
  content: "★";
  color: #fc6;
}

.spec ul {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 5px 0 5px 0;
}

.spec li {
  margin: 5px;
}

.spec li:nth-child(1) {
  border-left: 5px solid #f09;
  background: #fff;
  color: #f36;
  font-weight: 700;
  padding: 5px 10px 5px 10px;
  width: 120px;
}

footer {
  background: #f69;
  color: #fff;
  padding: 20px;
  text-align: center;
}

@media screen and (max-width: 768px){

body {
  font-size: 14px;
  background: none;
}

body::before {
  background: url(../img/bg_top_sp.jpg) no-repeat center top;
  background-size: cover;
  content: "";
  display: block;
  left: 0;
  height: 100%;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: -1;
}

body h2 {
  font-size: 5vw;
}

.visual ul li:nth-child(1) {
  margin: 50px -120px 0 0;
}

.visual ul li:nth-child(2) {
  margin: 200px 0 0 0;
}

.visual ul li:nth-child(3) {
  margin: 0 0 0 -120px;
}

.visual h1 {
  bottom: 0;
  font-size: 4vw;
}

.news {
  background: linear-gradient(rgba(255,255,255,0) 0%,rgba(255,255,255,0) 2%,rgba(255,255,255,1) 2.1%);
  margin-top: 20px;
}

.news h2 {
  margin-bottom: 10px;
  width: 30%;
}

.news ul {
  flex-direction: column;
}

.story .text {
  padding: 20px 10px 20px 10px;
}

.story .text img {
  bottom: 0;
  opacity: 0.5;
}

.story .text p {
  font-size: 80%;
}

.story .game ul {
  flex-direction: column;
}

.story .game li:nth-child(2) {
  margin: 10px 0 0 0;
}

.chara ul {
  flex-direction: column;
}

.chara ul h3,
.chara ul h4 {
  text-align: center;
}

.chara li {
  margin: 20px 0 20px 0;
}

.chara .rhyth .text,
.chara .melo .text,
.chara .moni .text {
  box-shadow: 0px 0px;
  font-size: 90%;
}

.chara .rhyth li:nth-child(1) {
  background: rgba(255,255,255,0.8);
  order: 2;
  margin-top: -300px;
  padding: 10px 0 10px 0;
  width: 95%;
  z-index: 99;
}

.chara .rhyth li:nth-child(2) {
  order: 1;
  z-index: 98;
}

.chara .melo li:nth-child(2) {
  background: rgba(255,255,255,0.8);
  margin-top: -300px;
  padding: 10px 0 10px 0;
  width: 95%;
  z-index: 99;
}

.chara .melo li:nth-child(1) {
  z-index: 98;
}

.chara .moni li:nth-child(1) {
  background: rgba(255,255,255,0.8);
  order: 2;
  margin-top: -300px;
  padding: 10px 0 10px 0;
  width: 95%;
  z-index: 99;
}

.chara .moni li:nth-child(2) {
  order: 1;
  z-index: 98;
}

.centering {
  text-align: center;
}

.spec {
  flex-direction: column;
}

.spec h3 {
  margin: 20px 0 20px 0;
  text-align: center;
}

.spec h3:after {
  content: "★";
  color: #fc6;
}

