@charset "UTF-8";

@media print, (min-width: 768px) {
.js-quiz {
  width: 500px;
  min-height: 300px;
  margin: auto;
}

.questionImage {
  text-align: center;
  position: relative;
}

.questionImage.hide img {
  visibility: hidden;
  min-height: 309px;
}

.questionImage.hide img::before {
  content: '';
  visibility: visible;
  width: 464px;
  height: 309px;
  background-image: url(../img/img__none.png);
  z-index: -1;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
}

.loading {
  display: block;
  margin: auto;
  text-align: center;
}

.chartPage.article-enjoy {
  position: absolute;
  right: 0;
  left: 0;
  margin: auto;
}

.chartPage .questionTitle {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 5px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  position: relative;
}
.chartPage .questionTitle:before {
  display: inline-block;
  content: "";
  width: 5px;
  height: 100%;
  background-color: #d90000;
  position: absolute;
  top: -1px;
  left: 0;
}

.chartPage .questionImage {
  text-align: center;
  margin-bottom: 20px;
}

.chartPage .questionText {
  margin-bottom: 6px;
  line-height: 1.8em;
}

.chartPage .hintTitle {
  font-weight: bold;
}

.chartPage .hintText {
}

.chartPage .answerArea {
  margin: 10px auto 20px;
  display: none;
}

.chartPage .answerArea .answerImage {
  text-align: center;
  margin-bottom: 20px;
}

.chartPage .answerArea .answerTitle {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  padding: 10px;
  margin-bottom: 20px;
}
.chartPage .answerArea .answerTitle.correct {
  color: #d90000;
  background: #f9e4e7;
}

.chartPage .answerArea .answerTitle.inCorrect {
  color: #005cb1;
  background: #dce8ff;
}

.chartPage .answerArea  {
  line-height: 1.8em;
}

.startTitle {
  font-size: 20px;
  font-weight: bold;
}

.btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.route.btn {
  display: block;
  max-width: 236px;
  margin: 10px auto 10px;
  padding: 1em;
}

.forward.btn {
  display: block;
  font-size: 18px;
  margin: 15px auto 20px;
}

#pagestart .questionTitle {
  padding-left: 0;
  margin-left: 0;
  margin-right: 0;
}

#pagestart .questionTitle::before {
  content: none;
}

#result .resultTitle {
  font-size: 24px;
  font-weight: bold;
  padding: 8px 8px 4px;
  margin-bottom: 20px;
}

#result .resultTitle.result_bg {
  border-radius: 10px;
  border-bottom: solid 3px #d3f3be;
  background-size: 15px 15px;
  background-image: linear-gradient(-45deg, #d3f3be 25%, #e6f8da 25%, #e6f8da 50%, #d3f3be 50%, #d3f3be 75%, #e6f8da 75%, #e6f8da);
  box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.1) inset;
}

#result .resultTitle .ico {
  vertical-align: middle;
  padding-right: 60px;
}

#result .imageText {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
}

#result .resultImage {
  text-align: center;
  margin: 10px auto 20px;
}

#result .resultText,
#result .resultText1,
#result .resultText2 {
  font-size: 22px;
  font-weight: bold;
  text-align: center;
}

#result .resultText1,
#result .resultText2 {
  margin-bottom: 20px;
}

#result .resultButton {
  text-align: center;
  margin: 10px auto;
}

.article-enjoy-description .quiz-bottom-btn {
  text-align: center;
  padding-top: 2em;
}
.article-enjoy-description .quiz-bottom-banner {
  max-width: 70%;
  margin: 0 auto;
  padding-top: 4em;
  color: #666;
  font-size: 0.85714rem;
}
.article-enjoy-description .quiz-bottom-banner a:hover img {
  opacity: .7;
}


/* 毎日系 */
.js-quiz.education .chartPage .questionText {
  font-size: 20px;
  text-align: center;
}
.js-quiz.enquete .chartPage .questionText strong,
.js-quiz.education .chartPage .questionText strong {
  font-size: 150%;
}
.js-quiz.enquete .btns,
.js-quiz.education .btns {
  justify-content: center;
}
.js-quiz.enquete .forward.btn,
.js-quiz.education .forward.btn {
  margin: 15px auto;
  max-width: 100%;
}

}

@media screen and (max-width: 767px) {
  .js-quiz {
    width: 100%;
    min-height: 400px;
    max-width: 464px;
    margin: auto;
  }

  .questionImage {
    text-align: center;
  }

  .questionImage.hide img {
    visibility: hidden;
    min-height: 232px;
  }

  .questionImage.hide img::before {
    content: '';
    visibility: visible;
    width: 100%;
    height: 232px;
    max-width: 464px;
    background-image: url(../img/img__none.png);
    background-position: center;
    background-size: cover;
    z-index: -1;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
  }

  .loading {
    display: block;
    margin: auto;
    text-align: center;
  }
  .chartPage.article-enjoy {
    position: static;
  }
  .chartPage.article-enjoy .article-enjoy-play{
    display: block;
  }
  .chartPage .questionTitle {
    font-size: 24px;
    margin-bottom: 5px;
    margin-left: auto;
    margin-right: auto;
  }
  .chartPage .questionTitle {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 10px;
    position: relative;
  }
  .chartPage .questionTitle:before {
    display: inline-block;
    content: "";
    width: 5px;
    height: 100%;
    background-color: #d90000;
    position: absolute;
    top: -1px;
    left: 0;
  }

  .chartPage .questionImage {
    text-align: center;
    margin-bottom: 20px;
  }

  .chartPage .questionText {
    margin-bottom: 6px;
    line-height: 1.8em;
  }

  .chartPage .hintTitle {
    font-weight: bold;
  }

  .chartPage .hintText {
  }

  .chartPage .answerArea {
    margin: 10px auto 20px;
    display: none;
  }

  .chartPage .answerArea .answerImage {
    text-align: center;
    margin-bottom: 20px;
  }

  .chartPage .answerArea .answerTitle {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    padding: 10px;
    margin-bottom: 20px;
  }
  .chartPage .answerArea .answerTitle.correct {
    color: #d90000;
    background: #f9e4e7;
  }

  .chartPage .answerArea .answerTitle.inCorrect {
    color: #005cb1;
    background: #dce8ff;
  }

  .chartPage .answerArea  {
    line-height: 1.8em;
  }

  .startTitle {
    font-weight: bold;
  }

  .routeSpn.btn {
    display: block;
    width: 90%;
    max-width: 100%;
    margin: 15px auto 20px;
    padding: 1.2em;
  }

  .route.btn {
    display: block;
    width: 90%;
    max-width: 100%;
    margin: 15px auto 20px;
    padding: 1.2em;
  }

  .routeSpn a:hover {
    text-decoration: none;
  }

  .forward.btn {
    display: block;
    font-size: 18px;
    margin: 15px auto 20px;
  }

  #pagestart .questionTitle {
    padding-left: 0;
  }

  #pagestart .questionTitle::before {
    content: none;
  }

  #result .resultTitle {
    font-size: 22px;
    font-weight: bold;
    padding: 8px 8px 4px;
    margin-bottom: 20px;
  }

  #result .resultTitle.result_bg {
    border-radius: 10px;
    border-bottom: solid 3px #d3f3be;
    background-size: 15px 15px;
    background-image: linear-gradient(-45deg, #d3f3be 25%, #e6f8da 25%, #e6f8da 50%, #d3f3be 50%, #d3f3be 75%, #e6f8da 75%, #e6f8da);
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.1) inset;
  }

  #result .resultTitle .ico {
    vertical-align: middle;
    padding-right: 10px;
  }

  #result .imageText {
    font-size: 22px;
    font-weight: bold;
    text-align: center;
  }

  #result .resultImage {
    width: 110%;
    text-align: center;
    margin-left: -5%;
    margin-top: 10px;
    margin-bottom: 20px;
  }

  #contentMainSpn #result .resultImage img {
    width: 100%;
  }

  #result .resultText,
  #result .resultText1,
  #result .resultText2 {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
  }

  #result .resultText1,
  #result .resultText2 {
    margin-bottom: 20px;
  }

  #result .resultButton {
    text-align: center;
    margin: 10px auto;
  }

  .article-enjoy-description .quiz-bottom-btn {
    text-align: center;
  }
  .article-enjoy-description .quiz-bottom-banner {
    padding-top:1.5em;
  }


  /* 毎日系 */
  .js-quiz.education .chartPage .questionText {
    font-size: 17px;
    text-align: center;
  }
  .js-quiz.enquete .chartPage .questionText strong,
  .js-quiz.education .chartPage .questionText strong {
    font-size: 150%;
  }
  .js-quiz.enquete .forward.btn,
  .js-quiz.education .forward.btn {
    max-width: 100%;
  }
}