@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Sawarabi+Gothic");
@import url("https://fonts.googleapis.com/css?family=Noto+Sans+JP");
body {
  font-family: "Sawarabi Gothic", "Noto Sans JP", sans-serif;
  margin: 0;
  background-color: #fafafa;
} /*上まで共通*/
.hide-area {
  display: none !important;
}

.littlefont {
  font-family: Arial, Helvetica, sans-serif;
}

.center {
  text-align: center;
}

#question {
  font-size: 4rem;
  margin: 18vh 0 10vh;
}

#next {
  margin: 0 auto;
}

input, button {
  display: block;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-wrap: wrap;
}
form label {
  width: 20vw;
  display: block;
  font-size: 0.7rem;
}
form #answer {
  font-size: 1.4rem;
  width: 20vw;
  padding-bottom: 8px;
  margin-bottom: 3vh;
  outline: none;
  border: none;
  border-bottom: 3px solid dimgray;
  transition: border-bottom 0.7s 0.2s;
}
form #answer:focus {
  border-bottom: 3px solid #ec7c82;
}

#afteranswer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 85vh;
  height: 60vh;
  background-color: whitesmoke;
  box-shadow: 0px 0px 15px 2px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}
#afteranswer div:first-child {
  margin-top: 10vh;
}
#afteranswer div p {
  margin: 0;
  display: inline;
}
#afteranswer #result {
  font-size: 8rem;
}
#afteranswer #correctanswer {
  font-size: 5rem;
}
#afteranswer #end {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  margin: 0 auto;
  height: 100%;
}
#afteranswer #end p {
  font-size: 4rem;
}
#afteranswer #end p .correct {
  font-size: 7rem;
}
#afteranswer #end a {
  color: black;
  font-size: 2.5rem;
  transition: color 0.3s ease;
  padding-bottom: 10vh;
}
#afteranswer #end a:hover {
  color: dimgray;
}

.correct {
  color: red;
}

.incorrect {
  color: blue;
}

.small {
  font-size: 2rem;
}/*# sourceMappingURL=incommon.css.map */