html {
  touch-action: manipulation;
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.wrap {
  width: 100%;
  font-size: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.wrap .container p {
  margin: 0;
  padding: 0;
}
.wrap .container .hidden-scale {
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.4s, transform 0.4s;
}
.wrap .container .hide {
  display: none;
}
.wrap .container .startArea h1 {
  margin: 30px 0;
  padding: 20px 0;
  line-height: 1.5;
  font-size: 1.4em;
  border: 5px solid #ffffff;
  border-radius: 5px;
  background-color: #fff97d;
  box-shadow: 1px 1px 2px 1px #999;
}
.wrap .container .startArea .level {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
}
.wrap .container .startArea .level button {
  flex: 1 1 45%;
  min-height: 40px;
  padding: 6px;
  font-size: 1.4em;
  background-color: #fff;
  border: 2px solid #198754;
  border-radius: 5px;
}
.wrap .container .startArea .level button:first-child {
  flex: 1 1 100%;
}
.wrap .container .startArea .level button:hover, .wrap .container .startArea .level button:focus {
  background: #246640;
  color: #fff;
}
.wrap .container .quizWrap .quizHead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
}
.wrap .container .quizWrap .quizHead .quizTitle {
  font-size: 16px;
  margin-bottom: 0;
  text-align: left;
  min-height: 22px;
}
.wrap .container .quizWrap .quizHead .closeBtn {
  cursor: pointer;
  height: 22px;
}
.wrap .container .quizWrap .quizHead .closeBtn .material-symbols-outlined {
  color: #666;
}
.wrap .container .quizWrap .quizArea {
  height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  border-radius: 5px;
  border: 4px solid #fff;
  box-shadow: 1px 1px 2px 1px #ccc;
  overflow: auto;
}
.wrap .container .quizWrap .quizArea.opc {
  opacity: 0.6;
}
.wrap .container .quizWrap .quizArea .questionArea {
  width: 100%;
}
.wrap .container .quizWrap .quizArea .questionArea .questionHead {
  font-size: 1.1em;
  margin-bottom: 20px;
  padding: 8px;
  background-color: #fff97d;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.wrap .container .quizWrap .quizArea .questionArea .question {
  width: 94%;
  margin: 0 auto;
  font-size: 1.8em;
  padding: 0 10px;
  border-bottom: 3px solid #246640;
}
.wrap .container .quizWrap .quizArea form {
  width: 90%;
}
.wrap .container .quizWrap .quizArea form .inputNumberLabel {
  font-size: 1.2em;
  margin-bottom: 6px;
}
.wrap .container .quizWrap .quizArea form .inputNumber {
  padding: 10px;
  height: 60px;
  font-size: 1.2em;
}
.wrap .container .quizWrap .quizArea form .inputNumber:focus {
  box-shadow: 0 0 0 0.25rem inset rgba(25, 135, 84, 0.35);
}
.wrap .container .quizWrap .quizArea form .inputNumber::-moz-placeholder {
  font-size: 16px;
}
.wrap .container .quizWrap .quizArea form .inputNumber::placeholder {
  font-size: 16px;
}
.wrap .container .quizWrap .quizArea .progress {
  width: 100%;
  text-align: center;
}
.wrap .slide {
  width: 90%;
  max-width: 600px;
  min-height: 250px;
  text-align: center;
  z-index: 20;
  position: fixed;
  top: 0%;
  left: 50%;
  background-color: #ffffff;
  border: 2px solid #495057;
  box-shadow: 2px 2px 4px 3px #999;
  transform: translate(-50%, 100px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.wrap .slide .btn {
  width: 60%;
  margin: 0 auto;
  padding: 6px 0;
  font-size: 1.4em;
  pointer-events: none;
}
.wrap .slide .btn.clickable {
  pointer-events: all;
}
.wrap .slide.judgeArea .judgeMsg {
  font-size: 1.8em;
  margin-bottom: 30px;
}
.wrap .slide.resultArea {
  justify-content: flex-start;
}
.wrap .slide.resultArea .resultHead {
  width: 100%;
  padding: 6px;
  font-size: 1.4em;
  border-bottom: 2px solid #246640;
  background-color: #fff97d;
}
.wrap .slide.resultArea .resultbody {
  width: 100%;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.wrap .slide.resultArea .resultbody .resultMsg {
  font-size: 1.8em;
  margin-bottom: 30px;
}

@media (min-width: 720px) {
  .container {
    width: 720px;
  }
}