* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  touch-action: manipulation;
}

body {
  width: 100%;
  height: 100vh;
  background-color: #a5d4ad;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.wrap {
  width: 100%;
  height: 100%;
  overflow: auto;
  font-size: 16px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.wrap .container {
  position: relative;
  width: 94%;
  max-width: 640px;
  height: 94%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #fffffe;
  border: 3px solid #333;
  box-shadow: 1px 1px 2px 1px #ccc;
  border-radius: 5px;
}
.wrap .container button {
  display: block;
  width: 80%;
  max-width: 280px;
  min-height: 50px;
  font-size: 1.2em;
  background-color: #1565c0;
  border: 1px solid #1565c0;
  color: #fff;
  margin: 0 auto;
  padding: 6px 12px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s;
}
@media (hover: hover) {
  .wrap .container button:hover {
    background-color: #1e88e5;
    border-color: #1e88e5;
    color: #fff;
  }
}
.wrap .container button:focus {
  background-color: #1e88e5;
  border-color: #1e88e5;
  color: #fff;
}
.wrap .container button:active {
  background-color: #0d47a1;
  border-color: #0d47a1;
  color: #fff;
}
.wrap .container button:disabled {
  opacity: 0.65;
  pointer-events: none;
}
.wrap .container .startArea {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.3s, transform 0.3s;
}
.wrap .container .startArea.show {
  opacity: 1;
  transform: scale(1);
}
.wrap .container .startArea.hide {
  display: none;
}
.wrap .container .startArea h1 {
  margin-bottom: 50px;
  font-weight: 400;
  font-size: 1.8em;
  line-height: 1.8;
}
.wrap .container .startArea .quizNumForm {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px;
}
.wrap .container .startArea .quizNumForm .form-check {
  margin: 0 10px;
  font-size: 1.2em;
}
.wrap .container .startArea .quizNumForm .form-check .form-check-input,
.wrap .container .startArea .quizNumForm .form-check .form-check label {
  cursor: pointer;
}
.wrap .container .quizWrap {
  width: 100%;
  height: 100%;
  overflow: auto;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.3s, transform 0.3s;
}
.wrap .container .quizWrap.show {
  opacity: 1;
  transform: scale(1);
}
.wrap .container .quizWrap.hide {
  display: none;
}
.wrap .container .quizWrap .quizHeader {
  width: 100%;
  margin-bottom: 30px;
}
.wrap .container .quizWrap .quizHeader .quizTitle {
  font-size: 1.4em;
  margin: 8px 0;
}
.wrap .container .quizWrap .quizHeader .quizNum-score {
  background-color: #0d47a1;
  color: #fff;
  padding: 4px 8px;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.wrap .container .quizArea {
  width: 100%;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.3s, transform 0.3s;
}
.wrap .container .quizArea.show {
  opacity: 1;
  transform: scale(1);
}
.wrap .container .quizArea.hide {
  display: none;
}
.wrap .container .quizArea .questionArea {
  font-size: 1.6em;
  margin-bottom: 20px;
}
.wrap .container .quizArea .choiceList {
  width: 96%;
  margin: 0 auto;
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.wrap .container .quizArea .choiceList li {
  flex: 1 1 45%;
  min-height: 50px;
}
.wrap .container .quizArea .choiceList li button {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 100%;
  max-width: 480px;
  min-height: 50px;
  padding: 12px;
  color: #000;
  background: #fff;
  border: 2px solid #1565c0;
  box-shadow: 1px 1px 2px #ccc;
  border-radius: 5px;
  font-size: 1.3em;
  cursor: pointer;
}
@media (hover: hover) {
  .wrap .container .quizArea .choiceList li button:hover {
    background-color: #1e88e5;
    border-color: #1e88e5;
    color: #fff;
  }
}
.wrap .container .quizArea .choiceList li button:focus {
  background-color: #1e88e5;
  border-color: #1e88e5;
  color: #fff;
}
.wrap .container .quizArea .choiceList li button:active {
  background-color: #0d47a1;
  border-color: #0d47a1;
  color: #fff;
}
.wrap .container .slide {
  width: 100%;
  max-width: 480px;
  min-height: 240px;
  margin: 0 auto;
  border: 1px solid #666;
  box-shadow: 1px 1px 2px #999;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.3s, transform 0.3s;
}
.wrap .container .slide.show {
  opacity: 1;
  transform: scale(1);
}
.wrap .container .slide.hide {
  display: none;
}
.wrap .container .slide.judgeArea {
  min-height: 320px;
}
.wrap .container .slide.judgeArea .judgeText {
  font-size: 1.6em;
  margin-bottom: 32px;
  padding: 4px 12px;
}
.wrap .container .slide.judgeArea .judgeText.correct {
  background-color: #d1475e;
  color: #fff;
}
.wrap .container .slide.judgeArea .judgeText.incorrect {
  background-color: #f7c3cc;
  color: #333;
}
.wrap .container .slide.judgeArea .correctText {
  font-size: 1.5em;
  margin-bottom: 30px;
}
.wrap .container .slide.judgeArea .questionText {
  font-size: 1.4em;
  margin-bottom: 16px;
}
.wrap .container .slide.resultArea .resultMsg {
  margin-bottom: 10px;
  font-size: 1.6em;
}
.wrap .container .slide.resultArea .totalQuizLen {
  margin-bottom: 30px;
  font-size: 1.2em;
}
.wrap .container .closeBtn {
  position: absolute;
  bottom: 0;
  right: 0;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
}
.wrap .container .closeBtn.show {
  opacity: 1;
  transform: scale(1);
}
.wrap .container .closeBtn.hide {
  display: none;
}
.wrap .container .closeBtn .material-symbols-outlined {
  color: #999;
  font-size: 30px;
}