/* ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### */
.quiz_start {
  position: absolute;
  width: 100%;
  height: 100%;
  /* min-height: 450px; */
  top: 0px;
  left: 0px;
  background-color: #f1f1f1;
  background-image:
    repeating-linear-gradient(-45deg,
      #cccbff, #cccbff 7.5px,
      transparent 0, transparent 15px);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 10;
  transition: all 0.3s ease;
  /* transform: scale(0, 0); */
  /* opacity: 0; */
}

.quiz_start_title {
  width: 100%;
  height: 6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  /* font-family: 'Noto Serif JP', serif; */
  font-size: 4rem;
  line-height: 1;
  font-weight: bold;
  color: #333333;
  text-shadow:
    white 2px 0px 2px, white -2px 0px 2px,
    white 0px -2px 2px, white 0px 2px 2px,
    white 2px 2px 2px, white -2px 2px 2px,
    white 2px -2px 2px, white -2px -2px 2px;
  margin: 0 0 1rem 0;
}

.quiz_start_text {
  width: 100%;
  height: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  /* font-family: 'Noto Serif JP', serif; */
  font-size: 1.5rem;
  line-height: 1;
  color: #333333;
  margin: 0.6rem 0 0 0;
  text-shadow:
    white 2px 0px 2px, white -2px 0px 2px,
    white 0px -2px 2px, white 0px 2px 2px,
    white 2px 2px 2px, white -2px 2px 2px,
    white 2px -2px 2px, white -2px -2px 2px;
}

.quiz_start_buttons {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 4rem 0 1rem 0;
}

.quiz_start_buttons_button {
  width: 12rem;
  height: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #ffffff;
  border: 2px solid #5a57ff;
  border-radius: 2.5rem;
  margin: 0 1rem 0 1rem;
  cursor: pointer;
}

.quiz_start_buttons_button_title {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.4rem;
  line-height: 1;
  font-weight: bold;
  color: #5a57ff;
}

.quiz_start_buttons_button_text {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8rem;
  line-height: 1.2;
  color: #5a57ff;
}

.quiz_start_back {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem 0 1rem 0;
}

.quiz_start_back_button {
  width: 16rem;
  height: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #ffffff;
  border: 1px solid #333333;
  border-radius: 1.5rem;
  font-size: 1.2rem;
  line-height: 1;
  color: #333333;
  margin: 0 1rem 0 1rem;
  cursor: pointer;
}

/* ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### */
.quiz_cardarea {
  width: 65%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.quiz_cardarea_in {
  justify-content: center;
  align-items: center;
  display: grid;
  grid-template-columns: 8rem 8rem;
  grid-auto-rows: 12rem;
  grid-gap: 1rem;
}

.quiz_cardarea_card {
  width: 8rem;
  height: 12rem;
  writing-mode: vertical-rl;
  cursor: pointer;
  background-color: #ffb1b1cb;
  border-radius: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  /* margin: 1rem; */
  box-shadow: 3px 3px 3px 0px #666666cc;
}

.quiz_cardarea_card_song_firsthalf {
  writing-mode: vertical-rl;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin: 0 5px 1rem 5px;
}

.quiz_cardarea_card_song_latterhalf {
  writing-mode: vertical-rl;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin: 1rem 5px 0 5px;
}

.quiz_cardarea_card_song_textred {
  width: 1rem;
  height: 1rem;
  font-size: 1rem;
  writing-mode: vertical-rl;
  color: #ff0000;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  /* font-family: 'Noto Serif JP', serif; */
}

.quiz_cardarea_card_song_text {
  width: 1rem;
  height: 1rem;
  font-size: 1rem;
  writing-mode: vertical-rl;
  color: #333333;
  display: flex;
  justify-content: center;
  align-items: center;
  /* font-family: 'Noto Serif JP', serif; */
}

/* ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### */
.quiz_question {
  width: 35%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row-reverse;
}

.quiz_question_no {
  writing-mode: vertical-rl;
  width: 30%;
  height: 100%;
  font-size: 1.4rem;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 4.5rem 0 0 0;
  text-shadow:
    white 2px 0px 2px, white -2px 0px 2px,
    white 0px -2px 2px, white 0px 2px 2px,
    white 2px 2px 2px, white -2px 2px 2px,
    white 2px -2px 2px, white -2px -2px 2px;
}

.quiz_question_song_firsthalf {
  width: 30%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.quiz_question_song_latterhalf {
  width: 30%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.quiz_question_song_firsthalf_in {
  writing-mode: vertical-rl;
  width: 100%;
  /* height: 90%; */
  display: flex;
  justify-content: flex-start;
  align-items: center;
  /* padding: 0 0 2.4rem 0; */
}

.quiz_question_song_latterhalf_in {
  writing-mode: vertical-rl;
  width: 100%;
  /* height: 90%; */
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 7.2rem 0 0 0;
}

.quiz_question_song_textred {
  width: 1.2rem;
  height: 1.2rem;
  font-size: 1.2rem;
  writing-mode: vertical-rl;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ff0000;
  font-weight: bold;
  /* font-family: 'Noto Serif JP', serif; */
  text-shadow:
    white 2px 0px 2px, white -2px 0px 2px,
    white 0px -2px 2px, white 0px 2px 2px,
    white 2px 2px 2px, white -2px 2px 2px,
    white 2px -2px 2px, white -2px -2px 2px;
}

.quiz_question_song_text {
  width: 1.2rem;
  height: 1.2rem;
  font-size: 1.2rem;
  writing-mode: vertical-rl;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #333333;
  /* font-family: 'Noto Serif JP', serif; */
  text-shadow:
    white 2px 0px 2px, white -2px 0px 2px,
    white 0px -2px 2px, white 0px 2px 2px,
    white 2px 2px 2px, white -2px 2px 2px,
    white 2px -2px 2px, white -2px -2px 2px;
}

/* ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### */
.quiz_interval {
  position: absolute;
  width: 100%;
  height: 100%;
  /* min-height: 450px; */
  top: 0px;
  left: 0px;
  background-color: #f1f1f1;
  background-image:
    repeating-linear-gradient(-45deg,
      #cbffd8, #cbffd8 7.5px,
      transparent 0, transparent 15px);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 10;
  transition: all 0.3s ease;
}

.quiz_interval_title {
  width: 100%;
  height: 15%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  font-size: 3.5rem;
  line-height: 1;
  color: #333333;
  padding: 0 0 0.7rem 0;
  text-shadow:
    white 2px 0px 2px, white -2px 0px 2px,
    white 0px -2px 2px, white 0px 2px 2px,
    white 2px 2px 2px, white -2px 2px 2px,
    white 2px -2px 2px, white -2px -2px 2px;
}

.quiz_interval_contents {
  /* position: relative; */
  width: 100%;
  height: 70%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row-reverse;
  /* overflow-y: hidden; */
  text-shadow:
    white 2px 0px 2px, white -2px 0px 2px,
    white 0px -2px 2px, white 0px 2px 2px,
    white 2px 2px 2px, white -2px 2px 2px,
    white 2px -2px 2px, white -2px -2px 2px;
}

.quiz_interval_contents_answer_title {
  height: 100%;
  max-height: 400px;
  /* border: 1px solid #ffffff; */
  margin: 0 5rem 0 1rem;
  padding: 1rem 0 0 0;
}

.quiz_interval_contents_answer_title_text {
  writing-mode: vertical-rl;
  white-space: normal;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8rem;
  line-height: 1;
  color: #333333;
  margin: 0 auto 0 auto;
}

.quiz_interval_contents_answer_title_text_in {
  writing-mode: horizontal-tb;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #333333;
}

.quiz_interval_contents_answer_firsthalf {
  height: 100%;
  /* border: 1px solid #ffffff; */
  margin: 0 1rem 0 0;
}

.quiz_interval_contents_answer_firsthalf_in {
  height: 100%;
  writing-mode: vertical-rl;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  line-height: 1;
  font-weight: bold;
  color: #333333;
  /* padding: 1.2rem 0 0 0; */
}

.quiz_interval_contents_answer_latterhalf {
  height: 100%;
  /* border: 1px solid #ffffff; */
  margin: 0 1rem 0 1rem;
}

.quiz_interval_contents_answer_latterhalf_in {
  height: 100%;
  writing-mode: vertical-rl;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  line-height: 1;
  font-weight: bold;
  color: #333333;
  /* padding: 6rem 0 0 0; */
}

.quiz_interval_contents_answer_who {
  height: 100%;
  /* border: 1px solid #ffffff; */
  margin: 0 1rem 0 0;
}

.quiz_interval_contents_answer_who_in {
  height: 100%;
  writing-mode: vertical-rl;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-size: 0.8rem;
  line-height: 1;
  color: #333333;
}

.quiz_interval_contents_answer_interpret2 {
  width: 12rem;
  height: 100%;
  max-height: 400px;
  /* border: 1px solid #ffffff; */
}

.quiz_interval_contents_answer_interpret2_title {
  width: 100%;
  height: 3rem;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  color: #ffffff;
}

.quiz_interval_contents_answer_interpret2_title_in {
  writing-mode: vertical-rl;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 2px;
  color: #333333;
  font-size: 0.8rem;
  line-height: 1;
  padding: 1px;
}

.quiz_interval_contents_answer_interpret2_text {
  width: 100%;
  height: calc(100% - 3rem);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0.5rem 0 0 0;
}

.quiz_interval_contents_answer_interpret2_text_in {
  width: 100%;
  height: 100%;
  writing-mode: vertical-rl;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  /* flex-direction: row; */
  color: #333333;
  text-shadow:
    white 2px 0px 2px, white -2px 0px 2px,
    white 0px -2px 2px, white 0px 2px 2px,
    white 2px 2px 2px, white -2px 2px 2px,
    white 2px -2px 2px, white -2px -2px 2px;
  font-size: 0.8rem;
  line-height: 1.4;
  /* writing-mode: vertical-rl; */
  /* margin: 0 1px 0 1px; */

}

.quiz_interval_buttons {
  width: 100%;
  height: 15%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.quiz_interval_buttons_back {
  width: 10rem;
  height: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #ffffff;
  border: 1px solid #333333;
  border-radius: 1.5rem;
  font-size: 0.8rem;
  line-height: 1;
  color: #333333;
  margin: 0 1rem 0 1rem;
  cursor: pointer;
}

.quiz_interval_buttons_next {
  width: 10rem;
  height: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #26b84b;
  border: 2px solid #26b84b;
  border-radius: 1.5rem;
  font-size: 0.8rem;
  line-height: 1;
  font-weight: bold;
  color: #ffffff;
  margin: 0 1rem 0 1rem;
  cursor: pointer;
}

/* ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### */
.quiz_end {
  position: absolute;
  width: 100%;
  height: 100%;
  /* min-height: 450px; */
  top: 0px;
  left: 0px;
  background-color: #f1f1f1;
  background-image:
    repeating-linear-gradient(-45deg,
      #cccbff, #cccbff 7.5px,
      transparent 0, transparent 15px);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 10;
  transition: all 0.3s ease;
}

.quiz_end_title {
  width: 100%;
  height: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  line-height: 1.5;
  color: #333333;
  text-shadow:
    white 2px 0px 2px, white -2px 0px 2px,
    white 0px -2px 2px, white 0px 2px 2px,
    white 2px 2px 2px, white -2px 2px 2px,
    white 2px -2px 2px, white -2px -2px 2px;
  margin: 0 0 1rem 0;
}

.quiz_end_text_main {
  width: 100%;
  height: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  line-height: 1.5;
  color: #333333;
  text-shadow:
    white 2px 0px 2px, white -2px 0px 2px,
    white 0px -2px 2px, white 0px 2px 2px,
    white 2px 2px 2px, white -2px 2px 2px,
    white 2px -2px 2px, white -2px -2px 2px;
}

.quiz_end_text_sub {
  width: 100%;
  height: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  line-height: 1.5;
  color: #333333;
  text-shadow:
    white 2px 0px 2px, white -2px 0px 2px,
    white 0px -2px 2px, white 0px 2px 2px,
    white 2px 2px 2px, white -2px 2px 2px,
    white 2px -2px 2px, white -2px -2px 2px;
}

.quiz_end_result_title {
  width: 29rem;
  height: 2rem;
  background-color: #ffffff55;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  line-height: 1.2;
  color: #333333;
  text-shadow:
    white 2px 0px 2px, white -2px 0px 2px,
    white 0px -2px 2px, white 0px 2px 2px,
    white 2px 2px 2px, white -2px 2px 2px,
    white 2px -2px 2px, white -2px -2px 2px;
}

.quiz_end_result_boxes {
  width: 29rem;
  height: calc(100% - 15.5rem);
  max-height: 50rem;
  background-color: #ffffff55;
  overflow-y: auto;
  font-weight: bold;
  text-shadow:
    white 2px 0px 2px, white -2px 0px 2px,
    white 0px -2px 2px, white 0px 2px 2px,
    white 2px 2px 2px, white -2px 2px 2px,
    white 2px -2px 2px, white -2px -2px 2px;
}

.quiz_end_result_boxes_boxes {
  width: 100%;
  height: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex-wrap: wrap;
}

.quiz_end_result_boxes_boxes_cnt {
  width: 5rem;
  height: 50%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: nowrap;
}

.quiz_end_result_boxes_boxes_okng {
  width: 5rem;
  height: 50%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: nowrap;
}

.quiz_end_result_boxes_boxes_firsthalf {
  width: 21rem;
  height: 50%;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: bold;
  margin: 0 1rem 0 1rem;
}

.quiz_end_result_boxes_boxes_latterhalf {
  width: 21rem;
  height: 50%;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: bold;
  margin: 0 1rem 0 1rem;
}

.quiz_end_buttons {
  width: 100%;
  height: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.quiz_end_buttons_back,
.quiz_end_buttons_retry {
  width: 10rem;
  height: 2.6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: none;
  border: 1px solid #333333;
  border-radius: 1.3rem;
  background-color: #ffffff;
  font-weight: bold;
  font-size: 0.8rem;
  line-height: 1;
  color: #333333;
  cursor: pointer;
  /* transition: all 0.3s ease; */
  margin: 0 1rem 0 1rem;
}

/* .quiz_end_buttons_back:hover,
.quiz_end_buttons_retry:hover {
  background-color: #ffffff;
  font-weight: bold;
} */