@font-face {
  font-family: 'BestTen-DOT';
  src: url('https://drumanekotoonlabparallel.neocities.org/font/BestTen-DOT.woff') format('woff');
}

@font-face {
  font-family: 'madoufmg';
  src: url('https://drumanekotoonlabparallel.neocities.org/font/madoufmg.woff') format('woff');
}

body {
  background-color: #6d00ff;
  padding-top: 5px;
  cursor: url(https://drumanekotoonlabparallel.neocities.org/img/cursorimg.png), auto;
}

/* カーソル（ポインター） */
a, button, button:hover, label, label:hover, nav,li img, nav,li img:hover {
  cursor: url(https://drumanekotoonlabparallel.neocities.org/img/cursorimg2.png), pointer;
}

/* crtエフェクト */
.crt::before {
  content: " ";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(99deg, rgba(99, 0, 0, 0.00), rgba(0, 255, 0, 0.00), rgba(0, 0, 255, 0.0));
  z-index: 1001;
  background-size: 100% 2px, 2px 100%;
  pointer-events: none;
}

@keyframes flicker {
  0% {
  opacity: 0.27861;
  }
  5% {
  opacity: 0.34769;
  }
  10% {
  opacity: 0.23604;
  }
  15% {
  opacity: 0.10626;
  }
  20% {
  opacity: 0.18128;
  }
  25% {
  opacity: 0.10626;
  }
  30% {
  opacity: 0.18128;
  }
  35% {
  opacity: 0.23604;
  }
}

.crt::after {
  content: " ";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(18, 16, 16, 0.15);
  opacity: 0;
  z-index: 1001;
  pointer-events: none;
  animation: flicker 0.1s infinite;
}

.title-bar-text {
  font-size: 13px;
}

/* 背景 */
.body-wrapper::before {
  content:"";
  display:block;
  position:fixed;
  top:0;
  left:0;
  z-index:-1;
  width: 100%;
  height: 100%;
  background-position: left;
  background-image:url("https://drumanekotoonlabparallel.neocities.org/img/backgroundblueimg.png");
  background-repeat: repeat;
  background-size: 440px;
  image-rendering: crisp-edges;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: pixelated;
}

#contents {
  width: 620px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

#logo {
  width: 100%;
  height: 86px;
  margin-bottom: 20px;
}

#logo img {
  width: 100%;
  height: 86px;
}

#main {
  padding-left: 5%;
  padding-right: 5%;
}

#enterwin {
  max-width: 550px;
  margin: 0 auto;
  animation: fadeIn2 0.5s ease 0.4s 1 normal backwards;
}

@keyframes fadeIn2 {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#text {
  text-align: center;
  font-size: 14px;
  font-family: 'BestTen-DOT', sans serif;
  color: color(display-p3 0 0 1);
  letter-spacing: 0.7px;
}

#text,a,a:visited {
  color: color(display-p3 0 0 1);
  text-decoration: none;
 }

#text a {
  color: color(display-p3 1 0 1);
  text-decoration: none;
  }

#text a:hover {
  color: color(display-p3 1 0 1);
  text-decoration: none;
}

#enterbuttonborder {
  display: flex;
  justify-content: center;
  width: 100px;
  border: outset 4px #00C5FF;
  text-align: center;
  margin: 0 auto;
  background: color(display-p3 0 1 1);
  margin-top: 10px;
  padding: 7px;
}

#enterbutton {
  display: inline-block;
  font-family: 'BestTen-DOT', sans serif;
  font-size: 14px;
  color: color(display-p3 0 0 1);
  letter-spacing: 0.8px;
}

#enterbutton,a,a:visited {
  color: color(display-p3 0 0 1);
  text-decoration: none;
 }

#enterbutton a {
  color: color(display-p3 0 0 1);
  text-decoration: none;
  }

#enterbutton a:hover {
  color: color(display-p3 1 0 1);
  text-decoration: none;
}

#enterbuttonborder:hover {
  border: inset 4px #00C5FF;
  transform: translateY(5px);
}

#banner {
  text-align: center;
  margin-top: 50px;
}

#banner img {
  image-rendering: crisp-edges;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: pixelated;
}

#footer {
  font-family: 'BestTen-DOT', sans serif;
  color: color(display-p3 0 1 1);
  text-align: center;
  margin: 0 auto;
  font-size: 12px;
  letter-spacing: 1.2px;
  margin-top: 25px;
}


/*タブレット画面 横向き*/
@media all and (min-width: 768px) and (max-width: 1279px) {
 .body-wrapper::before {
   background-size: 410px;
 }
}

/*タブレット画面 縦向き*/
@media all and (min-width: 768px) and (max-width: 960px) {
 .body-wrapper::before {
   background-size: 400px;
 }
}

/* モバイル画面 横向き */
@media all and (min-width: 576px) and (max-width: 767px) {
 .body-wrapper::before {
   background-size: 400px;
 }
}

 /* モバイル画面 縦向き */
@media all and (max-width: 575px) {
 .body-wrapper::before {
   background-size: 330px;
   width: 100%;
   height: 100%;
 }

 #logo {
   width: 100%;
   height: 58px;
 }

 #logo img {
   width: 100%;
   height: 58px;;
 }
 
 #text {
   font-size: 12px;
 }
 
 #enterbuttonborder {
   width: 90px;
 }
 
 #enterbutton {
    font-size: 13px;
  }
}