/* quiz */

@font-face {
    font-family: 'FontAwesome';
    src: url(../font/fontawesome-webfont.eot) format('embedded-opentype'), url(../font/fontawesome-webfont.woff2) format('woff2'), url(../font/fontawesome-webfont.woff) format('woff'), url(../font/fontawesome-webfont.ttf) format('truetype'), url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular) format('svg');
    font-weight: normal;
    font-style: normal;
  }
  
  .quizpage {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    color: #212121;
    line-height: 1.2;
  }
  .mt-75 {
    margin-top: 75px;
  }
  .mb-30 {
    margin-bottom: 30px;
  }
  .quiz-tl {
    font-size: 25px;
    margin-top: 11px;
    margin-bottom: 30px;
    line-height: 1.2;
    font-weight: 700;
    color: #111;
  }
  .pc-display {
    display: none;
  }
  .new-progress {
    display: block;
    padding: 2px;
    border: 1px solid #EBEBEB;
    border-radius: 2px;
    position: relative;
    height: 36px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 45px
  }
  .new-progress-bar {
    display: block;
    height: 100%;
    background: #59e6ff
  }
  .new-progress-text {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%)
  }
  
  .quiz-image-wrap {
    position: relative;
  }
  .quiz-image-wrap img {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
  }
  
  .quiz-feedback-next {
    position: absolute;
    bottom: 20px;
    right: 20px;
    opacity: 0;
    pointer-events: auto;
    font-weight: 400;
    padding: 10px;
    -webkit-transition: opactiy 0.2s ease;
    transition: opactiy 0.2s ease;
    color: #fff;
    background: #1a1a1a;
    font-size: 28px;
  }
  .quiz-feedback {
    position: relative;
    max-width: 100%;
    left: 0;
    bottom: 0;
    padding: 10px;
    box-sizing: border-box;
    border: 3px solid #EBEBEB;
    margin-top: 20px;
    display: none;
  }
  .quiz-feedback-answer {
    display: block;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1;
    padding-bottom: 10px;
    border-bottom: 1px solid #EBEBEB;
  }
  .quiz-feedback-correct,
  .quiz-feedback-error {
    font-size: 28px;
    display: flex;
    align-items: center;
    gap: 6px;
    display: none;
  }
  
  .icon-new-correct {
    width: 30px;
    height: 30px;
    fill: #b1ef97;
  }
  .icon-new-error {
    width: 30px;
    height: 30px;
    fill: #E85443;
  }
  .answer-correct .quiz-feedback-correct {
    display: flex;
  }
  .answer-error .quiz-feedback-error {
    display: flex;
  }
  
  .quiz-feedback-desc {
    font-size: 19px;
    line-height: 1.2;
    color: #212121;
  }
  .mb-display {
    font-size: 20px;
    line-height: 1.5;
    font-weight: 400;
    margin-top: 20px;
    margin-bottom: 10px;
  }
  
  .quiz-option-ls {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 20px 0;
  }
  .quiz-option-item {
    background-color: #ebebeb;
    min-height: 125px;
    padding: 10px;
    cursor: pointer;
    border-radius: 2px;
    font-weight: 600;
    overflow: hidden;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    font-size: 19px;
    line-height: 1.2;
    text-align: center;
    flex-direction: column;
    justify-content: center;
  }
  .quiz-option-item.correct {
    background-color: #c8f7c5;
  }
  .quiz-option-item.error {
    background-color: #f7c5c5;
  }
  .quiz-option-item img {
    height: 100px;
    object-fit: contain;
  }
  
  .mb-quiz-btn,
  .quiz-btn {
    width: 100%;
    text-transform: uppercase;
    font-weight: 700;
    font-family: opensans-bold,sans-serif;
    text-align: center;
    line-height: 80px;
    color: #fff;
    text-decoration: none !important;
    padding: 0;
    font-size: 38px;
    margin: 0 auto;
    height: 80px;
    overflow: hidden;
    background: #dc1a0b;
    cursor: pointer;
  }
  .mb-quiz-btn.mb-backtop,
  .quiz-btn.backtop {
    background: #dc1a0b;
  }
  .mb-quiz-btn.mb-next,
  .quiz-btn.next {
    font-size: 24px;
    background-color: #EE9153;
    display: none;
  }
  .quiz-btn {
    border-radius: 5px;
    display: none;
  }

  .quiz-result {
    position: relative;
    left: 0;
    border: 3px solid #EBEBEB;
    display: block;
    opacity: 1;
    height: auto;
    margin: 0 0 20px;
    padding: 10px;
    top: 0;
    bottom: auto;
    right: 20px;
    background-color: #fff;
  }
  .quiz-result a { 

    position: absolute;
    background: transparent;
    color: #7E7E7E;
    font-size: 18px;
    padding: 0;
    right: 10px;
    top: 10px;
    font-weight: bold;
    bottom: auto;
}
.quiz-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.quiz-retry {
    display: flex;
    align-items: center;
    gap: 2px;
}
.icon-retry {
    width: 20px;
    height: 20px;
    fill: #7E7E7E;
}
.quiz-result-tl {
    font-size: 24px;
    font-weight: bold;
}
.quiz-result-desc {
    font-size: 18px;
}
.answered .quiz-option-item {
    pointer-events: none;
}

@media screen and (min-width: 768px) {
    .mt-75 {
        margin-top: 21px;
      }
      .quiz-tl {
        font-size: 32px;
        line-height: 1.2;
        font-weight: 700;
      }
      .mb-quiz-btn {
        display: none;
      }
      .pc-display {
        display: block;
        font-size: 24px;
        line-height: 28px;
        text-align: left;
        margin: 0 0 10px;
        font-weight: 400;
      }
      .mb-display {
        display: none;
      }
      .quiz-feedback {
        position: absolute;
        left: 20px;
        background: #fff;
        max-width: 60%;
        border: 0;
        padding: 10px;
        width: 100%;
        bottom: 20px;
        font-size: 19px;
        margin-top: 0;
      }
      .quiz-btn.backtop {
        display: block;
      }
      .quiz-btn.next {
        font-size: 38px;
      }

      .quiz-result {
        display: block;
        opacity: 1;
        height: auto;
        margin: 0 0 20px;
        padding: 10px;
        top: 0;
        bottom: auto;
        left: 20px;
        right: 20px;
        position: absolute;
        background: #fff;
        border: none;
    }
    .quiz-image-wrap img {
        max-height: 416px;
    }
    .quiz-option-item img {
        height: 140px;
    }
}

@media screen and (min-width: 768px) {
    .quizpage {
        margin-top: -24px;
    }
}