/*---------------------------------------------------------------------
　キッズページ-クイズindex
---------------------------------------------------------------------*/

.quiz .btnWrap {
  display: flex;
  justify-content: center;
  list-style: none;
  position: relative;
  z-index: 0;
  flex-wrap: wrap;
}

.quiz .btnWrap li {
  margin: 0 10px 20px;
}

.quiz .btnWrap li a {
  display: inline-block;
  padding: 14px 50px;
  background: url(../images/btn_arrow.svg) no-repeat right 5px center;
  background-size: 20px;
  background-color: #F08300;
  border: 3px solid #000;
  box-sizing: border-box;
  position: relative;
  text-decoration: none;
  font-weight: bold;
  color: #000;
}

@media all and (-ms-high-contrast: none) {
  
  .quiz .btnWrap li a,
  .quiz .btnWrap li .next a,
  .quiz .btnWrap li .kekka a{
    background-size:50px;
  }
  
  .quiz .btnWrap li .back a {
    background-size:60px;
  }
  
  #quizWrap p.ttl::after {
    left: 0;
    top:5px;
  }
}


.quiz .btnWrap li a:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background: url(../images/top/bg_stripe.png) repeat center;
  z-index: -1;
  left: 5px;
  top: 7px;
  border: 1px solid #231815;
}

/*-------　トップページ　quizIndex　-------------------------------------*/

.quiz .quizIndex {
  text-align: center;
}

.quiz .quizIndex img {
  margin-bottom: 20px;
}

.quiz .quizIndex p {
  margin-bottom: 15px;
  font-weight: bold;
}

/*-------　Q&A　quizQA　-------------------------------------*/

.quiz .quizQA .mondai {
  display: flex;
  justify-content: space-between;
  width: 95%;
  margin: 0 auto;
}

.quiz .quizQA .hantei {
  text-align: center;
  margin: 30px 0;
}

.quiz .quizQA .kaisetsu {
  width: 90%;
  margin: 0 auto;
}

.quiz .quizQA .answer {
  background-color: #AEE5F1;
  width: 100%;
  padding: 7px 10px;
  font-weight: bold;
  margin-bottom: 20px;
}

.quiz .quizQA .kaitou {
  font-size: 1.5em;
  margin-left: 10px;
}

.quiz .quizQA figure {
  border: solid 3px #AEE5F1;
  border-radius: 10px;
  padding: 15px;
  margin-right: 15px;
  float: left;
  text-align: center;
  max-width: 50%;
}

.quiz .quizQA .textImageleft {
  margin-right: 20px;
}

.quiz .quizQA figcaption {
  font-weight: bold;
  text-align: center;
}

.quiz .quizQA .kaisetsuText {
  width: 95%;
  margin: 0 auto;
}

.quiz .quizQA p {
  line-height: 2;
  font-weight: bold;
}

.quiz .quizQA .charaToriOK {
  position: absolute;
  right: 0;
  width: 15%;
  bottom: 0;
  transform: translateY(29%);
}

.quiz .quizQA .charaToriNG {
  position: absolute;
  right: 0;
  width: 15%;
  bottom: 0;
  transform: translateY(20%);
}

@media screen and (max-width:896px) {

  .quiz .quizQA .mondai {
    display: block;
    width: 100%;
  }

  .quiz .quizQA .mondaiImg {
    text-align: center;
    margin-top: 20px;
  }

  .quiz .quizQA #anserArea ul {
    display: block;
  }

  .quiz .quizQA #anserArea li {
    width: 90%;
    margin: 0 auto 60px;
  }

  .quiz .quizQA .textImage_box {
    display: block;
    margin: 10px auto;
    padding: 5px;
  }

  .quiz .quizQA figure {
    float: none;
    min-width: 100%;
    margin: auto;
  }

  .quiz .quizQA .textImageleft {
    margin-left: auto;
    width: 100%;
  }
  
  .quiz .quizQA .img {
    float: none;
    min-width: 100%;
    text-align: center;
    margin: auto;
  }

  .quiz .quizQA .kaitou {
    display: block;
    margin-left: auto;
  }

  .quiz .quizQA .charaToriOK,
  .quiz .quizQA .charaToriNG {
    width: 25%;
  }
}


/*-------　結果　quizKekka　-------------------------------------*/

.quiz .quizKekka .center {
  text-align: center;
}

.quiz .quizKekka .answer_img1,
.quiz .quizKekka .answer_img2 {
  display: inline-block;
  font-weight: bold;
  font-size: 130%;
}

.quiz .quizKekka .answer_img3 {
  text-align: center;
  margin: 30px 0;
}


.quiz .quizKekka p {
  text-align: center;
  font-weight: bold;
  margin-bottom: 30px;
}
