@charset "UTF-8";
body {
  position: absolute;
  width: 100%;
  height: 650px;
  background-color: #fff;
}

#wrap {
  left: -10px;
  top: -10px;
  padding: 10px 20px;
  height: 650px;
  position: absolute;
  width: 100%;
  box-sizing: border-box;
}

#gamename {
  height: auto;
  border-left: green 10px solid;
  width: auto;
  border-top-right-radius: 50px;
  border-bottom-left-radius: 40px;
  position: relative;
  z-index: 1;
}

#gamenametrue {
  padding: 3px 10px 18px;
  width: auto;
}
#gamenametrue h1 {
  width: auto;
  margin-bottom: 0;
  font-family: "Lora", serif;
  color: dimgray;
  padding-left: 10px;
  padding-bottom: 3px;
}

#allscore {
  position: absolute;
  right: 10%;
  font-size: 25px;
  padding: 40px;
  font-family: cursive;
  top: 0;
  display: none;
}

#top-message {
  margin: 0;
  width: 98%;
  white-space: nowrap;
  position: absolute;
  top: 34%;
  left: 0;
  text-align: center;
}

#back {
  display: none;
  color: cornflowerblue;
  text-decoration: underline;
  font-size: 24px;
  cursor: pointer;
}

#navigate {
  color: cornflowerblue;
  font-size: 24px;
}

#bplaydisp {
  width: 100%;
  height: 95%;
  position: absolute;
}

#option {
  position: absolute;
  right: 5%;
  top: 20%;
}
#option h3 {
  color: lightgreen;
  font-size: 24px;
}

#startdiv {
  height: 62vh;
}

input[type=radio] {
  display: none;
}
input[type=radio]:checked + label {
  transition: 1s;
  background-color: #ffffff;
  color: darkturquoise;
}

.modelabel {
  font-size: 30px;
  margin: 10px;
  border: solid 1px green;
  border-color: forestgreen;
  display: block;
  text-align: center;
  cursor: pointer;
  border-radius: 5px;
  padding: 10px 20px;
  background-color: lightgreen;
  color: aliceblue;
}

#gamestartbtn {
  position: absolute;
  top: 50%;
  right: 40%;
  font-size: 64px;
  background-color: transparent;
  color: coral;
  z-index: 2;
  cursor: pointer;
  border: none;
  border-bottom: solid 2px coral;
  transition: 0.5s;
  white-space: nowrap;
}
#gamestartbtn:hover {
  transform: scale(1.3);
}

#heximg {
  display: none;
  position: absolute;
  bottom: -12%;
  left: 0;
  z-index: 0;
  animation-name: hexim;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  width: auto;
}

#greenhex {
  display: none;
  position: absolute;
  top: 7%;
  right: 0;
  z-index: 0;
  animation-name: hexim2;
  animation-duration: 2.5s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  width: auto;
}

@keyframes hexim {
  0% {
    transform: rotateZ(0deg);
  }
  50% {
    transform: rotateZ(180deg);
  }
  100% {
    transform: rotateZ(360deg);
  }
}
@keyframes hexim2 {
  0% {
    transform: rotateZ(0deg);
  }
  50% {
    transform: rotateZ(180deg);
  }
  100% {
    transform: rotateZ(360deg);
  }
}
#Score {
  position: absolute;
  top: 145px;
  left: 1%;
  width: 200px;
  height: 430px;
}

details {
  padding: 10px;
}

#pcscore {
  display: block;
}

#mobilescore {
  display: none;
}

#railPages {
  position: relative;
  display: flex;
  overflow: hidden;
  padding: 0;
  height: inherit;
  width: inherit;
  margin: 0;
  border: solid 2px coral;
  border-radius: 10px;
}
#railPages span {
  font-size: 24px;
  display: block;
  color: coral;
  border-bottom: solid 2px coral;
  position: absolute;
  top: 5px;
  width: 127%;
  left: -40px;
  text-align: center;
}
#railPages i {
  position: absolute;
  top: 46%;
  font-size: 28px;
  cursor: pointer;
  z-index: 1;
  color: crimson;
}
#railPages ul {
  min-width: 120px;
  transform: translateX(50px);
  padding: 55px 10px 10px;
  height: 100%;
  width: 120px;
  list-style: decimal;
  margin-right: 50px;
  transition: 0.5s;
}
#railPages li {
  margin: 0 4px;
  height: auto;
  font-size: 24px;
  white-space: nowrap;
}
#railPages li.ok {
  color: red;
}
#railPages li.ng {
  color: blue;
}

#moveright {
  right: 0;
}

#moveleft {
  left: 0;
}

#hyouka {
  display: none;
  width: 99%;
  height: 800px;
  background-color: rgba(255, 255, 255, 0.8);
  position: fixed;
  z-index: 10;
  cursor: pointer;
}

#hyoukaspa {
  position: relative;
  display: block;
  text-align: center;
  padding: 300px;
  font-size: 80px;
  font-family: serif;
}

.game-corner {
  height: 80vh;
  width: 900px;
  border: coral 2px solid;
  display: none;
  position: absolute;
  top: 16%;
  left: 16.5%;
  z-index: 1;
  font-family: "Noto Serif JP", serif;
}

#mission-number {
  font-size: 24px;
  display: block;
  height: auto;
  display: flex;
  padding: 7px 0 0 10px;
  position: absolute;
}
#mission-number::before {
  content: "";
  display: block;
  height: 35px;
  width: 7px;
  background-color: orangered;
  margin-right: 5px;
}

#g-mission {
  width: 70%;
  height: 70px;
  margin: 2% auto;
  position: relative;
  z-index: 1;
}
#g-mission h2 {
  margin-bottom: 0;
  padding-top: 10px;
}

#missiontitle {
  text-align: center;
  font-size: 38px;
}

#g-answer {
  width: 96%;
  height: 300px;
  margin: 2%;
  display: flex;
}

.selecta {
  position: relative;
  width: 45%;
  text-align: center;
  padding: 100px 0;
  font-size: 64px;
  margin: 0 5px;
  cursor: pointer;
  z-index: 1;
  border-radius: 10px;
}
.selecta:hover {
  box-shadow: none;
  transform: translate(3px, 7px);
  transition: 0.5s;
}

#selectans-1 {
  border: solid 3px red;
  box-shadow: 4px 7px 3px rgba(255, 0, 0, 0.7);
  margin: 5px 10px;
}
#selectans-1:not(:hover) {
  box-shadow: 4px 7px 3px rgba(255, 0, 0, 0.3);
}

#selectans-2 {
  border: solid 3px blue;
  box-shadow: 4px 7px 3px rgba(0, 0, 255, 0.7);
  margin: 5px 10px;
}
#selectans-2:not(:hover) {
  box-shadow: 4px 7px 3px rgba(0, 0, 255, 0.3);
}

.clearop {
  display: none;
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 100%;
}

footer {
  text-align: right;
}
footer img {
  width: 50px;
}
footer small {
  display: flex;
  font-size: 18px;
  color: lightgreen;
  font-weight: bold;
  position: absolute;
  top: 2%;
  right: 1%;
}
footer small span {
  padding-top: 12px;
}

#okimg {
  display: none;
  position: absolute;
  z-index: 2;
  bottom: 140px;
  left: 450px;
}

#ngbrn {
  display: none;
  position: absolute;
  z-index: 2;
  bottom: 150px;
  left: 460px;
}

#gameobrn {
  display: none;
  position: absolute;
  z-index: 6;
  bottom: 50px;
  left: 20%;
  width: 800px;
}

#adsdiv {
  display: none;
}

.mobileonly {
  display: none;
}

@media screen and (max-width: 830px) {
  /*画面サイズが600px以下の場合に適用 */
  .mobileonly {
    display: block;
  }
  body {
    margin: 0;
    height: 100vh;
    box-sizing: border-box;
  }
  #wrap {
    padding: 3% 1% 0;
    width: 98vw;
    left: auto;
    top: auto;
    padding: 0;
    margin: 1vh 1vw;
    background-size: contain;
    box-sizing: border-box;
    height: 98vh;
    position: relative;
    overflow: hidden;
  }
  #adsdiv {
    display: block;
    position: relative;
    margin: 0 auto;
    width: 90vw;
    height: 100px;
    border: solid black 1px;
    z-index: 1;
  }
  main {
    padding: 10px 0;
    border-top: rgba(0, 255, 30, 0.2) solid 1px;
    position: relative;
    height: 70vh;
  }
  #pcscore {
    display: none;
  }
  #mobilescore {
    display: block;
  }
  #gamename {
    height: auto;
    width: 42vw;
    position: relative;
    margin: 5px;
    border-top-right-radius: 25px;
    border-bottom-left-radius: 20px;
  }
  #logo {
    position: relative;
  }
  .logoimg {
    width: 45px;
    height: auto;
  }
  #gamenametrue {
    padding: 0;
    padding-top: 5px;
    clear: right;
  }
  #gamenametrue h1 {
    width: 150px;
    padding-left: 10px;
    font-size: 4.4vw;
    border: none;
    margin: 0;
    line-height: 1.5;
  }
  #debag {
    display: none;
  }
  #back {
    font-size: 4vw;
  }
  #navigate {
    font-size: 4vw;
  }
  #decisionenter {
    padding-left: 20px;
  }
  #allscore {
    position: absolute;
    left: auto;
    right: 0;
    top: 0;
    font-size: 4vw;
    width: 40%;
    margin: 5px 0 0 0;
    font-family: serif;
    padding: 3px;
    border-radius: 10px;
  }
  .bplaydisp {
    position: relative;
  }
  #startdiv {
    height: 50vh;
    width: 100%;
  }
  #top-message {
    position: relative;
    top: unset;
    left: unset;
    text-align: left;
  }
  #option {
    position: relative;
    right: 0;
    top: 0;
    display: flex;
    padding: 25px 0 5px 5px;
    border-bottom: solid 1px rgba(141, 255, 120, 0.5490196078);
  }
  #option h3 {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    color: mediumseagreen;
    font-size: 3vw;
  }
  .modelabel {
    font-size: 4vw;
    margin: 1%;
    padding: 7px 3.2%;
  }
  #startdiv {
    width: 98%;
  }
  #gamestartbtn {
    position: relative;
    top: unset;
    right: unset;
    left: unset;
    font-size: 72px;
    margin: 35% auto 0;
    display: block;
  }
  .game-corner {
    width: 96%;
    height: auto;
    padding-bottom: 30px;
    position: absolute;
    margin: 0 2%;
    top: 40%;
    left: 0;
  }
  #mission-number {
    font-size: 5vw;
  }
  #mission-number::before {
    height: 55px;
  }
  #g-mission {
    width: 85%;
    height: auto;
  }
  #missiontitle {
    font-size: 10vw;
  }
  #g-answer {
    height: auto;
  }
  .selecta {
    width: 45%;
    padding: 20px 0;
    font-size: 6vw;
  }
  #selectans-1,
  #selectans-2 {
    margin: 5px;
  }
  #Score {
    position: relative;
    top: auto;
    left: 1%;
    width: 94vw;
    height: 130px;
    margin: 0;
  }
  #railPages span {
    top: 3px;
    width: 35%;
    left: 5px;
    font-size: 4vw;
  }
  #railPages ul {
    min-width: 89%;
    transform: translateX(5px);
    padding: 35px 20px 5px;
    height: auto;
    width: auto;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
  }
  #railPages ul li {
    margin: 0 14px 0 8px;
    height: 22px;
    font-size: 3.6vw;
  }
  .clearop {
    top: 300px;
    left: 10%;
  }
  #gameobrn {
    left: auto;
    bottom: auto;
    width: 300px;
  }
  #hyouka {
    top: 0;
    left: 0;
  }
  #hyoukaspa {
    padding: 50vh 0;
    font-size: 30px;
    text-decoration: underline;
  }
  footer {
    font-size: 3vw;
  }
  footer img {
    width: 40px;
  }
  footer small {
    font-size: 16px;
  }
  footer small span {
    padding-top: 10px;
  }
}
@media screen and (max-width: 600px) {
  /* 600px以下 */
  main {
    height: 67vh;
  }
  footer {
    font-size: 4vw;
  }
  #option h3 {
    font-size: 4vw;
  }
  #adsdiv {
    width: 320px;
  }
  #railPages li {
    height: 20px;
    font-size: 3vw;
  }
  #mission-number::before {
    height: 30px;
  }
  #gamestartbtn {
    font-size: 10vw;
    margin-top: 45%;
  }
}
@media (prefers-color-scheme: dark) {
  body {
    background-color: #23282d;
    color: #eee;
  }
  .modelabel {
    background-color: transparent;
    border: solid 2px mediumseagreen;
  }
  input[type=radio]:checked + label {
    background-color: #eee;
    color: lightseagreen;
    font-weight: bold;
  }
  #hyouka {
    background-color: rgba(255, 255, 255, 0.7);
    color: #222;
    font-weight: bold;
  }
  #gamenametrue h1 {
    color: cadetblue;
  }
  #g-mission h2 {
    font-weight: 400;
  }
}

/*# sourceMappingURL=game.css.map */
