/* 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;
}

body {
  background: #0000ff;
  color: #fff;
  font-size: 18px;
  font-family: "DotGothic16", sans-serif;
  font-weight: 400;
  font-style: normal;
  padding: 0;
  margin: 0;
  overflow: clip;
}

a,a:visited {
  color: inherit;
}

a,a:hover {
  color: inherit;
}

#content {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
}

#box {
  padding: 7%;
}

h4 {
  width:137px;
  text-align: center;
  margin: 0 auto;
  background: #A7A7A7;
  color: #0000AF;
}

.errorimg {
  text-align: center;
  margin-bottom: -14px;
}

img {
  image-rendering: crisp-edges;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: pixelated;
}


/*タブレット画面*/
@media only screen and (min-device-width: 768px) and (max-device-width: 1279px) {
  body {
    font-size: 17px;
  }
  
  h4 {
    width: 132px;
  }
}

/*モバイル画面*/
@media only screen and (max-width: 767px) {
  body {
    font-size: 12px;
  }
  
  #box {
    padding: 6%;
  }
  
  h4 {
    width: 95px;
  }
}