    body, html {
    width: 100%;
    /* height: 100%; */
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f7f7f7;
    flex-direction: column;
    position: relative;
    user-select: none;
  }

  html::-webkit-scrollbar{
    display: none;
  }

  .quiz-container {
    width: 90%;
    /* max-width: 800px; */
    border-radius: 1rem;
    border: 1px solid #ccc;
    background-color: #ffffff;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
    margin: 64px 20px 20px;
  }

  .question {
    /* width: 70%; */
    margin: 5rem auto;
    font-size: 2rem;
    font-weight: bold;
    text-align: left;
    height: 3em;
  }
  .questionno{
    border-bottom: 1px solid #000;
    font-size: 2rem;
    font-weight: bold;
    color: #7a7a7a;
  }
  .main_box{
    width: 80%;
    display: inline-block;
    align-content: center;
  }
  .flex_box{
    display: flex;
  }

  .options {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 10px;
    width: 70%;
    margin: 0;
  }

  .option {
    list-style: none;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #000000;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
    word-break: break-word;
    padding: 10px 10px 10px 11%;
    text-align: left;
    margin: 0 auto;
  }
  .option span{
    display:block;
    position: absolute;
    width: 10%;
    height: 100%;
    /* background: #005B99; */
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFF;
  }
  .option_color_A{
    background: #F48FB1;
  }
  .option_color_B{
    background: #42A5F5;
  }
  .option_color_C{
    background: #81C784;
  }
  .option:hover {
    background-color: rgb(143, 250, 152);
    transition: background-color 2s;
  }

  .button-container {
    text-align: center;
    margin-top: 20px;
  }

  button {
    padding: 10px 20px;
    background-color: #5cb85c;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1rem;
  }

  button:hover {
    background-color: #4cae4c;
  }






/* スタイルシート */
.modal {
    display:none; /* 初期状態では非表示 */
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    align-items: center;
    justify-content: center;
  }

  .modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    animation: modalOpen 0.4s;
    box-sizing: border-box;
  }
  
  @keyframes modalOpen {
    from {transform: scale(0);}
    to {transform: scale(1);}
  }
  
  #modal-text {
    font-size: 3rem;
    text-align: center;
  }
#next-question {
  padding: 10px 20px;
  background-color: #5cb85c;
  color: white;
  border: none;
  cursor: pointer;
  margin: 20px auto 0;
display: block;
}

#next-question:hover {
  background-color: #4cae4c;
}

#modal-subtext{
  font-size: 1.5rem;
}




#score-modal{
  display:none; /* 初期状態では非表示 */
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  align-items: center;
  justify-content: center;
}
.score-modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 50%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  animation: modalOpen 0.4s;
  display: grid;
  position: absolute;
  align-items: center;
  justify-content: center;
}







.quiz-list-container {
    margin-top: 20px;
    text-align: center;
}

#quiz-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
}

#quiz-list li {
    display: inline-block;
    margin: 5px;
    padding: 10px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    cursor: pointer;
}

#quiz-list li:hover {
    background-color: #e9e9e9;
}


#quiz-list li.answered {
    background-color: #4de771 !important; /* 優先度を高める */
}


#reset-progress{
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgb(0, 71, 119);
}

#to-tarusukoa{
  position: absolute;
  top: 10px;
  right: 10px;
  background: orange;
  color: #000;
}

.score-board .blue{
    background: #d0ecff;
    color: #000;
}
.score-board .red{
    background: #ffaeae;
    color: #000;
}
.core-container{
    width: 100%;
}

.score-container{
    display: flex;
    gap: 0 1rem;
    text-align: center;
    justify-content: center;
    align-items: center;
}
.score-board button{
    width: 100%;
}
.score-board{
    width: 10%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.514);
    border-radius: 1%;
}

.score-board h2,
.score-board > div{
  margin: 0;
  font-size: 2rem;
}

.qimg{
  width: 30%;
  padding: 0 10px;
  box-sizing: border-box;
  align-content: center;
}
.qimg > a > img{
  border: 1px solid orange;
  height: 200px;
}
.aimg > a > img{
  max-width: 10%;
  height: auto;
  border: 1px solid orange;
}
.aimg{
  text-align: center;
}

/* マウスストーカーのスタイル設定 */
.stalker {
  position: absolute;
  width: 60px;
  height: 60px;
  background: #ff7b0065;
  border-radius: 50%;
  pointer-events: none; /* マウスイベントの影響を受けないようにする */
  transform: translate3d(-30px, -30px, 0);
  z-index: 10001;
  display: none; /* 初期状態では非表示に */
}















