.quiz-area  h2 {
    text-align: center;
    font-weight: bold;
    font-family: 'Zen Maru Gothic', sans-serif !important;
    font-size: 2.5rem;
    color: #E4604C;
    margin: 15px 0;
}

.quiz-area .modal {
    position: absolute;
    display:none;
    z-index:999;
    top:45%;
    left: 50%;
    margin-top: 180px;
    min-height: 1000px;
    width: 80%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    }

/*.quiz-area .modal .teacher-img {
  left: 46%;
  top: 0;
  transform: translate(-50%,-50%);
  position: absolute;
  width: 250px;
  }*/
  .quiz-area .modal .teacher-img {
    margin-right: 90px;
    width: 30% !important;
  }

  .quiz-area .modal .band {
    background-color: #F6D741;
    border-radius: 6px 6px  0 0;
    max-width: 65%;
    margin: 0 auto -5px;
    text-align: center;
  }

  .quiz-area .modal .pr_box {
    border-radius: 8px 12px 8px 8px;
    width: 100%;
    height:auto;
    }

.quiz-area .wrapper {
    background-color: #fff;
    border-radius: 10px;
    border: solid 4px #F6D741;
    border-radius: 0 0 6px 6px;
    max-width: 65%;
    margin: auto;
    padding: 25px;
    text-align: center;
}
 .quiz-area .question .wrapper .question__text {
    color: #1F6398;
    text-align: center;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 1.5rem;
    padding-bottom: 15px;
    border-bottom: dashed 3px #D6F2FF;
}

 .quiz-area .question .wrapper .question__options {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

 .quiz-area .question .wrapper .answer {
    background-color: #FFF8D5;
    display: none;
    max-width: 800px;
    margin: 0 auto;
    padding: 25px;
}

 .quiz-area .question .wrapper .question__item {
    border: none;
font-weight: 500;
font-size: 1rem;
background-color: #D6F2FF;
color: #1F6398;
width: 45%;
margin-top: 20px;
margin-right: 10px;
margin-left: 10px;
padding: 20px 10px;
cursor: pointer;
}

.quiz-area .question .wrapper .answer__explanation {
color: #1F6398;
font-weight: 500;
line-height: 1.7;
max-width: 700px;
margin: 0 auto;
}

.quiz-area .question .wrapper .answer__supplement {
  color: var(--brown);
  font-size: var(--14px);
  font-weight: 500;
    line-height: 1.7;
    max-width: 700px;
    margin: 10px auto 0;
}

.quiz-area .question .wrapper .answer__result {
text-align: center;
font-weight: bold;
font-size: 1.5rem;
margin-bottom: 10px;
}

.quiz-area .question .wrapper #js-nextQuestion {
border: solid 2px #1F6398;
font-weight: 500;
background-color: #fff;
color: #1F6398;
width: 40%;
margin-top: 10px;
margin-right: 10px;
margin-left: 10px;
padding: 20px 10px;
cursor: pointer;
}

.quiz-area .question .wrapper img {
display: block;
width: 45%;
margin: 0 auto;
}
.question__item:first-child {
margin-left: 0;
}

.quiz-area .answer_result_text {
color: #1F6398;
font-weight: bold;
font-size: 1.25rem;
}

.quiz-area .detail-box{
background-color: #F6D741;
padding: 20px;
text-align: center;
border-radius: 0 0 4px 4px;
}

.quiz-area  .detail-box a {
color: #1F6398;
font-size: 1rem;
font-weight: bold;
transition: .2s;
}
.quiz-area  .detail-box a img {
width: 25px;
margin: -13px auto 0;
}

.quiz-area .result .wrapper {
padding: 0;
}

.quiz-area .result h2 {
font-size: 2rem;
border-bottom: dashed 3px #D6F2FF;
padding: 40px 10px;
margin: 0 15px 30px;
}
.quiz-area .result .answer_result_text {
padding: 0px 10px 15px;
}
.quiz-area .result img {
border-radius: 6px;
max-width: 600px;
margin: 0 auto 30px;
}

.quiz-area .result {
display: none;
}
.quiz-area .block {
display: block !important;
}

.quiz-area .none {
display: none;
}


    
    .quiz-area .modal .pr_box .detail-box a {
    color: #1F6398;
    font-size: 1.375rem;
    font-weight: bold;
    transition: .2s;
    }
    
    .quiz-area .modal .pr_box .detail-box a img {
      width: 30px;
      margin-top: -10px;
    }
    
    .quiz-area .modal .pr_box .detail-box a:hover {
    opacity: 0.7;
    text-decoration: none;
    }
    
    .quiz-area .modal  .close_modal {
      position: absolute;
      margin: 10px 0 0 10px; 
    color: #F6D741;
    background: #1F6398;
    border-radius: 50%;
    display: block;
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.15;
    }
    
    .quiz-area .modal  .close_modal:hover {
    text-decoration: none;
    }
    



/* レスポンシブ
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (max-width: 1024px) { 
  .quiz-area .modal {
    top: 65%;
    width: 95%;
}
.quiz-area .modal .band {
  max-width: 95%;
}
.quiz-area .wrapper {
  max-width: 95%;
}

}
@media (max-width: 575px) { 
  .quiz-area h2 {
    font-size: 2rem;
    color: #E4604C;
    margin-bottom: 10px;
}
.quiz-area .wrapper {
  padding: 15px;
  min-height: auto;
}
.quiz-area .question .wrapper img {
  width: 75%;
}
.quiz-area .question .wrapper #js-nextQuestion {
  width: 95%;
}
.quiz-area .question .wrapper .question__text {
  font-size: 1.125rem;
}
.quiz-area .question .wrapper .question__item {
  font-size: 0.875rem;
  width: 95%;
  margin-top: 20px;
  margin-right: 10px;
  margin-left: 10px;
  padding: 20px 10px;
}
.quiz-area .question .wrapper .question__options {
  display: block;
  margin-bottom: 25px;
}
  .quiz-area .modal .teacher-img {
    left: 42%;
    top: 5%;
    width: 180px;
}
.quiz-area .modal .quiz_box {
  padding: 100px 0px 0px;
}
.quiz-area .modal .close_modal {
    top: 80px;
    left: 0;
    width: 45px;
    height: 45px;
    font-size: 2rem;
    line-height: 1.3;
}
.quiz-area .result h2 {
  font-size: 1.5rem;
  padding: 30px 10px;
}
.quiz-area .answer_result_text {
  font-size: 1rem;
}

.quiz-area .result img {
  width: 90%;
}
.quiz-area .modal .pr_box .detail-box a {
  font-size: 1rem;
}
.quiz-area .modal {
  margin-top: 100px;
}
.quiz-area .modal .close_modal {
  margin: 25px 0 0 15px;
  width: 40px;
  height: 40px;
  font-size: 2rem;
  line-height: 1.1;
}
.quiz-area .modal .teacher-img {
  margin-right: 0;
  width: 200px !important;
}
}


