.loading-filter {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 800;
}
.spinner {
    position: fixed;
    margin: 0 auto;
    animation: rotator 1.4s linear infinite;
    z-index: 999;
    left:50%;
    top:50%;
    transform: translateX(-50%) translateY(-50%);
}
@keyframes rotator {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(270deg);
    }
}
.path {
    stroke-dasharray: 187;
    stroke-dashoffset: 0;
    transform-origin: center;
    animation: dash 1.4s ease-in-out infinite, colors 5.6s ease-in-out infinite;
}
@keyframes colors {
    0% {
        stroke: #4285F4;
    }
    25% {
        stroke: #DE3E35;
    }
    50% {
        stroke: #F7C223;
    }
    75% {
        stroke: #1B9A59;
    }
    100% {
        stroke: #4285F4;
    }
}
@keyframes dash {
    0% {
        stroke-dashoffset: 187;
    }
    50% {
        stroke-dashoffset: 46.75;
        transform: rotate(135deg);
    }
    100% {
        stroke-dashoffset: 187;
        transform: rotate(450deg);
    }
}


/*
クイズスタート画面
*/
.quiz-list {
    width: 98%;
    margin: 0 auto;
    /* text-align: center; */
}

.comment7 {
    position: relative;
    width: 100%;
    height: auto;
    margin-bottom: 80px;
}

.start-btn {
    position: relative;
    width: 100%;
    height: auto;
    margin-bottom: 100px;
}

/*
クイズ画面
*/
.quiz-container {
    width: 90%;
    margin: 0 auto;
    margin-bottom: 100px;
    height: auto;
}

.quiz-container-disp {
    position: relative;
    margin-bottom: 50px;
}

.quiz-container-disp-img {
    position: relative;
    width: 80%;
    height: auto;
    max-height: 500px;
    left: 50%;
    transform: translateX(-50%);
} 

.quiz-container-disp > span {
    position: absolute;
    top: 140px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3em;
    z-index: 30;
}

.quiz-container-disp > p {
    position: absolute;
    top: 220px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2em;
    z-index: 30;
    font-weight: bold;
}

.quiz-option-container {
    position: relative;;
    width: 80%;
    margin: 0 auto;
}

.quiz-option-container a {
    margin: 10px 0px;
    width: 100%;
}

.quiz-option-container a img {
    width: 100%;
    height: auto;
}

.quiz_char {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin: 50px auto;
    width: 80%;
    height: auto;
}

/*
クイズ結果画面
*/
.quiz-result-container {
    width: 90%;
    margin: 0 auto;
}

.result-img-correct {
    width: 90%;
    margin: 0 auto;
}

.result-img-incorrect {
    width: 50%;
    margin: 0 auto;
}

.answer-text {
    width: 20%;
    margin: 50px 0px 10px 85px;
}

.answer-img {
    width: 80%;
    margin: 0 auto;
}

.answer-p {
    width: 80%;
    font-size: 1.5em;
    margin: 0 auto;
    margin-top: 10px;
}

.question-report{
    width: 100%;
    margin: 0 auto;
    margin-bottom: 130px;
}

.current-question-box {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
}

.current-question {
    position: relative;
    top:120px;
    left: 180px;
    font-size: 4em;
    font-weight: bold;
}

.current-question-img {
    width: 100%;
    max-width: 420px;
    height: auto;
    bottom: 0px;
    margin-bottom: -90px;
}

.answer-char {
    width: 100%;
    max-width: 160px;
    margin-bottom: 50px;
}

.answer-char-box {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.next-box {
    width: 50%;
}

a.next-btn {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.next-btn-img {
    width: 100%;
    max-width: 320px;
}

/*
クイズ結果発表画面
*/
.quiz-report-img {
    width: 90%;
    margin: 0 auto;
}

.quiz-report {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    top: 120px;
}

.quiz-report-text {
    width: 100%;
}

.report {
    margin: 50px 0px 50px 0px ;
}

/*
タブレット用
*/
@media screen and (max-width: 1024px) {

    .quiz-report {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        top: 70px;
    }

    .quiz-report-text {
        width: 100%;
    }
    
    .report {
        margin: 20px 0px 20px 0px ;
    }

    .quiz-container-disp > p {
        position: absolute;
        top: 220px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 1.5em;
        z-index: 30;
        font-weight: bold;
    }

    .quiz-container-disp > span {
        position: absolute;
        top: calc(50% - 110px);
        left: 50%;
        transform: translateX(-50%);
        font-size: 3em;
        z-index: 30;
    }

    .current-question {
        position: relative;
        top: calc(50% - 110px);
        left: calc(50% - 0px);
        font-size: 2em;
        font-weight: bold;
    }

    .next-btn-img {
        width: 70%;
        max-width: 320px;
    }
}

/*
スマホ用
*/
@media screen and (max-width: 768px) {

    /*
    クイズ画面
    */
    .quiz-container {
        width: 98%;
        margin: 0 auto;
        margin-bottom: 100px;
        height: auto;
    }

    .quiz-container-disp-img {
        position: relative;
        width: 98%;
        height: auto;
        left: 50%;
        transform: translateX(-50%);
    } 

    .quiz-option-container {
        position: relative;;
        width: 98%;
        margin: 0 auto;
    }

    .quiz-report {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        top: 70px;
    }

    .quiz_char {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        margin: 50px auto;
        width: 98%;
        height: auto;
    }

    .quiz-result-container {
        width: 98%;
        margin: 0 auto;
    }

    .result-img-correct {
        width: 98%;
        margin: 0 auto;
    }

    .quiz-report-text {
        width: 100%;
    }
    
    .report {
        margin: 20px 0px 20px 0px ;
    }

    .answer-p {
        width: 98%;
        font-size: 1.5em;
        margin: 0 auto;
        margin-top: 10px;
    }

    .current-question-img {
        width: 80%;
        height: auto;
        bottom: 0px;
        margin-bottom: -50px;
    }

    .answer-char {
        width: 100%;
        max-width: 160px;
        margin-bottom: 50px;
    }

    .quiz-container-disp > p {
        position: absolute;
        top: calc(50% - 30px);
        left: 50%;
        transform: translateX(-50%);
        font-size: 1.0em;
        z-index: 30;
        font-weight: bold;
    }

    .quiz-container-disp > span {
        position: absolute;
        top: calc(50% - 90px);
        left: 50%;
        transform: translateX(-50%);
        font-size: 1.5em;
        z-index: 30;
    }

    .current-question {
        position: relative;
        top: calc(50% - 110px);
        left: calc(50% - 40px);
        font-size: 1.5em;
        font-weight: bold;
    }

    .next-btn-img {
        width: 100%;
        max-width: 320px;
    }

    .answer-text {
        width: 20%;
        margin: 50px 0px 10px 0px;
    }

    .answer-img {
        width: 100%;
        margin: 0 auto;
    }
}


/*
スマホ用
*/
@media screen and (max-width: 500px) {

    .quiz-report-text {
        width: 100%;
    }

    .quiz-container-disp > span {
        position: absolute;
        top: calc(50% - 60px);
        left: 50%;
        transform: translateX(-50%);
        font-size: 1.5em;
        z-index: 30;
    }

    .current-question {
        position: relative;
        top: calc(50% - 90px);
        left: calc(50% - 40px);
        font-size: 1.5em;
        font-weight: bold;
    }

    .quiz-container-disp > p {
        margin-top: 30px;
        font-size: 0.8em;
        line-height: 20px;
    }

    .answer-p {
        width: 98%;
        font-size: 1.0em;
        margin: 0 auto;
        margin-top: 10px;
        line-height: 20px;
    }

}