.top {
  margin-left: auto;
  margin-right: auto;
  margin-top: 40px;
  width: 486px;
}
#time {
  font-size: 24px;
  font-weight: bold;
  color: #000;
  float: left
}
#wrap {
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-gap: 0px;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  grid-template-rows: auto;
  width: 486px;
}
.box {
  background-color:rgba(30,30,30,0.1);
  padding: 0px;
  border: 2px solid;
  border-color:rgba(0,0,0,0.1);
  width: 50px;
  height: 60px;
  z-index: 1;
}
.box:hover {
  background-color:rgba(30,30,30,0.3);
}
.game_start {
  text-align: right;
  z-index: 3;
}
.game_start a {
	color: #fff;
	font-size: 24px;
	font-weight: bold;
}
#overarea1 {
  position: absolute;
  top: 441px;
  width: 685px;
  text-align: center;
  color: #fff;
}
#question {
  width: 486px;
  margin-top: 290px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: 0px;
  color: #f0f;
  z-index: 0;
}
#overarea2 {
  position: absolute;
  top: 441px;
  width: 685px;
  text-align: center;
  color: #fff;
}
#ranking {
  background-color:rgba(30,30,30,0);
  width: 486px;
  margin-top: 0px;
  margin-left: auto;
  margin-right: auto;
  height: 0px;
  font-size: 16px;
  color: #fff;
  z-index: 2;
}
#ranking iframe {
  color: #fff;
  font-family: "ＭＳ ゴシック",sans-serif; 
  z-index: 2;
}
.bottom {
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
  width: 486px;
}
#score {
  text-align: right;
  font-size: 24px;
  font-weight: bold;
  color: #e06;
}

@media (max-width:400px) {
  .wrap {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
}