@charset "UTF-8";
#quiz {
  counter-reset: quiz-number;
}
#quiz input {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}
#quiz .box_quiz {
  counter-increment: quiz-number;
  margin-bottom: 4.5rem;
}
#quiz .box_quiz .question {
  display: flex;
  flex-direction: column;
  font-size: var(--wp--preset--font-size--x-large);
}
#quiz .box_quiz .question::before {
  content: "Q" counter(quiz-number) ".";
  display: block;
  font-size: 1em;
  color: #61CECB;
  font-family: var(--wp--preset--font-family--theme-gothic-title);
  font-weight: 700;
  font-size: var(--wp--preset--font-size--xx-large);
  margin-bottom: 0.75em;
}
#quiz .box_quiz .quiz-control-wrapper {
  counter-reset: opts-letter;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 3rem;
}
#quiz .box_quiz .quiz-control-wrapper .quiz-input {
  margin: 0;
  padding: 0;
  position: absolute;
}
#quiz .box_quiz .quiz-control-wrapper + .wrapper_answer::before {
  display: block;
  font-size: var(--wp--preset--font-size--xxx-large);
  font-weight: 700;
  text-align: center;
}
#quiz .box_quiz .quiz-control-wrapper .quiz-label {
  line-height: 1;
  flex: 1;
  counter-increment: opts-letter;
  border: 2px solid #61CECB;
  text-align: center;
  border-radius: 10px;
  padding: 1rem;
  background: #FFF;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.19);
  font-size: var(--wp--preset--font-size--large);
  transition: 0.3s;
}
#quiz .box_quiz .quiz-control-wrapper .quiz-label::before {
  content: counter(opts-letter, upper-alpha) ".";
  font-size: var(--wp--preset--font-size--xx-large);
  color: #61CECB;
  font-size: 1.25em;
  margin-right: 0.75rem;
  font-family: var(--wp--preset--font-family--theme-gothic-title);
  font-weight: 700;
}
#quiz .box_quiz .quiz-control-wrapper .quiz-label:active {
  scale: 1.05;
}
#quiz .box_quiz .quiz-control-wrapper:has(.quiz-input:checked) .quiz-label {
  pointer-events: none;
}
#quiz .box_quiz .quiz-control-wrapper:has(.is-wrong:checked) .is-wrong:checked + .quiz-label {
  border-color: #FE756F;
  background: #FE756F;
  color: var(--wp--preset--color--theme-black);
}
#quiz .box_quiz .quiz-control-wrapper:has(.is-wrong:checked) .is-wrong:checked + .quiz-label::before {
  color: var(--wp--preset--color--theme-black);
}
#quiz .box_quiz .quiz-control-wrapper:has(.is-wrong:checked) .is-correct + .quiz-label {
  background: #61CECB;
  color: var(--wp--preset--color--theme-white);
}
#quiz .box_quiz .quiz-control-wrapper:has(.is-wrong:checked) .is-correct + .quiz-label::before {
  color: var(--wp--preset--color--theme-white);
}
#quiz .box_quiz .quiz-control-wrapper:has(.is-wrong:checked) + .wrapper_answer::before {
  content: "×　残念でした…";
  color: #FE756F;
}
#quiz .box_quiz .quiz-control-wrapper:has(.is-correct:checked) .is-correct:checked + .quiz-label {
  background: #61CECB;
  color: var(--wp--preset--color--theme-white);
}
#quiz .box_quiz .quiz-control-wrapper:has(.is-correct:checked) .is-correct:checked + .quiz-label::before {
  color: var(--wp--preset--color--theme-white);
}
#quiz .box_quiz .quiz-control-wrapper:has(.is-correct:checked) + .wrapper_answer::before {
  content: "○　正解です！";
  color: #61CECB;
}
#quiz .box_quiz .wrapper_answer {
  display: none;
  border-top: 2px solid #000;
  margin-top: 3rem;
  padding-top: 3rem;
}
#quiz .box_quiz .wrapper_answer .answer {
  font-weight: 700;
  color: #FE756F;
  font-size: var(--wp--preset--font-size--xxx-large);
  font-family: var(--wp--preset--font-family--theme-gothic-title);
}
#quiz .box_quiz .wrapper_answer .answer::before {
  font-family: var(--wp--preset--font-family--theme-gothic-text);
  content: "正解は…";
  color: inherit;
  font-size: var(--wp--preset--font-size--x-large);
  font-weight: 500;
}
#quiz .box_quiz .quiz-control-wrapper:has(input:checked) + .wrapper_answer {
  display: block;
}/*# sourceMappingURL=quiz.css.map */