@charset "utf-8";
/*----------------------------
* 全体のfont-family
*----------------------------*/
* {
  font-family: 'Noto Sans JP', "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
}
/* body */
body {
  background-color: #E5E9F2;
}

/* header */
header {
  width: 100%;
  padding: 48px 0px;
}
.quiz_title h1 {
  font-size: 32px;
  text-align: center;
}
#quiz-question-number {
  border-bottom: solid 5px #702f8e;
}

/* クイズの問題文 */
.quiz_content_title {
  font-size: 24px;
  text-align: center;
}
/* 選択一覧 */
.quiz-answer li {
  list-style: none;
  margin: 30px 0px;
}
#choices {
  width: 40%;
  font-size: 18px;
  margin: auto;
  padding: 1rem 3rem;
  color: #000;
  font-weight: bold;
  border-radius: 100vh;
  background-color: #fff;
  cursor: pointer;
}
#choices:hover {
  background-color: #8440ac;
  opacity: 0.9;
}

/* モーダルウィンドウ */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}
.modal-content {
  background-color: #fff;
  border-radius: 5px;
  margin: 20% auto;
  height: 320px;
  width: 45%;
  box-shadow: 0 5px 8px 0 rgba(0,0,0,0.2),0 7px 20px 0 rgba(0,0,0,0.17);
  animation-name: modalopen;
  animation-duration: 1s;
}
@keyframes modalopen {
  from {opacity: 0}
  to {opacity: 1}
}

#maru_batsu,
#score,
#score_text {
  text-align: center;
}
#maru_batsu {
  font-size: 32px;
  padding: 16px 0px;
}

#score {
  font-size: 28px;
  padding: 12px 0px;
}

#score_text {
  font-size: 24px;
  padding: 20px 0px;
}

#next_trial_btn {
  font-size: 16px;
  color: #fff;
  background: #333;
  width: 32%;
  display: block;
  text-align: center;
  text-decoration: none;
  margin: auto;
  padding: 16px 10px;
  border-radius: 100vh;
  cursor: pointer;
}
#next_trial_btn:hover {
  opacity: 0.8;
}

/* スマホサイズ */
@media screen and (max-width:880px) {
  
  /*　画面サイズが800px以下の場合ここの記述が適用される　*/
  /* 選択一覧 */
#choices {
  width: 80%;
  font-size: 18px;
  margin: auto;
  padding: 1.2rem 1.5rem;
  color: #000;
  font-weight: bold;
  border-radius: 100vh;
  background-color: #fff;
  cursor: pointer;
}
#choices:hover {
  background-color: #8440ac;
  opacity: 0.9;
}
/* モーダルウィンドウ */
.modal-content {
  margin: 50% auto;
  width: 90%;
}

#maru_batsu {
  font-size: 32px;
}
#score {
  font-size: 24px;
}
#score_text {
  font-size: 20px;
}

#next_trial_btn {
  width: 56%;
  display: block;
  text-align: center;
  text-decoration: none;
  margin: auto;
  padding: 16px 10px;
  border-radius: 100vh;
  cursor: pointer;
}
}