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

.hidden {
  display: none;
}

.hidden-visual {
  opacity: 0;
}

html {
  font-size: 18px;
  font-family: "メイリオ", "MS Gothic", "ＭＳ 明朝";
  color: white;
  margin: 0;
  padding: 0;
}
html body {
  margin: 0;
  padding: 0;
  background-color: white;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
html body #BG-img-container {
  z-index: -5;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
html body #BG-img-container #BG-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
html body #p5-canvas-container {
  z-index: -10;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
html body #return {
  display: block;
  position: fixed;
  bottom: 30px;
  left: 55%;
  transform: translate(-50%, 0);
  width: fit-content;
  padding: 10px;
  border-radius: 10px;
  background-color: gray;
  border: solid 2px black;
  transition: all 200ms;
}
html body #return:hover {
  transform: translate(-50%, 0) scale(1.1);
}
html body #return a {
  color: white;
  font-size: 30px;
  text-shadow: 0 0 5px black;
  font-weight: bold;
  text-decoration: none;
}
html body main {
  margin: 100px auto;
  width: 970px;
  height: 80%;
  display: grid;
  grid-template-columns: 330px 1fr;
}
@media (max-width: 1200px) {
  html body main {
    width: 90%;
  }
}
@media (max-width: 500px) {
  html body main {
    width: 95%;
  }
}
html body main #device {
  position: relative;
  width: 262px;
  height: 507px;
  margin-top: 100px;
  margin-left: 0;
  grid-column: 1/2;
  transition: all 500ms;
}
html body main #device.frameout {
  translate: -1600px;
}
html body main #device #device-img {
  position: absolute;
  z-index: -3;
  top: -697px;
  left: -819px;
}
html body main #device #monitor-light {
  position: absolute;
  width: 100%;
  height: 100%;
  border: solid 1px blue;
  box-shadow: 0 0 13px purple;
  background-color: rgba(85, 0, 255, 0.295);
}
html body main #device #content {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 10px 30px;
  transition: all 500ms;
  overflow-y: scroll;
  overflow-x: hidden;
}
html body main #device #content::-webkit-scrollbar {
  width: 8px;
  margin-right: 2px;
  padding-right: 2px;
  border-radius: 4px;
  background-color: rgb(77, 0, 75);
  border: solid 1px blue;
}
html body main #device #content::-webkit-scrollbar-thumb {
  width: 100%;
  border-radius: 4px;
  background-color: rgb(199, 0, 217);
  border: solid 1px blue;
}
html body main #device #content h2 {
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  color: rgb(255, 252, 160);
}
html body main #device #content nav {
  text-align: center;
}
html body main #device #content nav .banner {
  display: block;
  margin: 15px auto;
  transition: all 200ms;
}
html body main #device #content nav .banner:hover {
  transform: scale(1.1);
}
