﻿/*========================================
 * Quiz Generator v 2.1
 * Copyright 2012 Sawa's Factory
 * http://sawa-s.com/quiz-generator.html
========================================*/

#quiz_box {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    border: 2px outset #69F;
    background: #EEFFFF;
    color: #000;
    font-size: 14px;
    font-family: "メイリオ", "Meiryo", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", "MS P Gothic", "Osaka", Verdana, Arial, Helvetica, sans-serif;
    font-weight: normal;
    letter-spacing: 3px;
    line-height: 120%;
    width: 400px;
    height: 650px;
}

#quiz_title {
    margin: 5px auto;
    width: 380px;
    height: 20px;
    text-align: center;
    font-size: 18px;
    line-height: 22px;
    background: #366;
    border: 1px solid #339;
    color: #FFE;
}

#quiz_msg {
    margin: 40px auto;
    width: 360px;
    height: 300px;
    font-size: 15px;
    text-align: center;
    line-height: 25px;
}

#dsp0, #dsp1 {
    position: absolute;
    top: 360px;
    left: 0px;
    width: 100%;
    margin: 0;
    padding: 0;
    z-index: 11;
    display: none;
    text-align: center;
}

#quiz_question {
    margin: 0 auto;
    width: 350px;
    height: 23em;
    padding: 10px 0;
    text-align: left;
    font-size: 15px;
    line-height: 20px;
}

#question_counter {
    font-size: 12px;
    color: #666;
    position: absolute;
    bottom: 0;
    right: 0.5em;
    text-align: right;
}

#quiz_start {
    margin: 10px auto;
    width: 280px;
    height: 25px;
    border: 2px outset #ccc;
    font-size: 18px;
    line-height: 25px;
    padding: 5px 0;
    text-align: center;
    background: #369;
    color: #fff;
    cursor: pointer;
}

#quiz_start:hover {
    border: 2px inset #ccc;
}

#quiz_wrap {
    display: none;
    margin: 0 auto;
    width: 380px;
    overflow: hidden;
}

#quiz_answer {
    margin: 0px auto;
    width: 380px;
}

#quiz_answer .qan_list {
    display: block;
    margin: 0px auto;
    text-align: center;
    width: 370px;
    margin-top: 6px;
    padding: 10px 0;
    cursor: pointer;
}

.qan_list_default {
    background: #cfc;
    border: 2px outset #6c6;
}

.qan_selected {
    background: #E6F0FA !important;
    border: 2px inset #eee !important;
    cursor: wait !important;
}

.qan_correct {
    background: #FFCDCE !important; /* #FFCED0から#FFCDCE（赤みを微増）に変更 */
    border: 2px inset #eee !important;
    cursor: wait !important;
    color: #000;
}

.qan_not_selected {
    background: #cfc !important;
    border: 2px outset #6c6 !important;
    cursor: wait !important;
}

#quiz_timer {
    position: absolute;
    bottom: 0;
    left: 0.5em;
    width: 180px;
    height: 30px;
    line-height: 30px;
    font-size: 18px;
    font-weight: normal;
    text-align: left;
    z-index: 10;
}

#quiz_credit {
    position: absolute;
    bottom: 0.2em;
    right: 1em;
    letter-spacing: 1px;
    font-size: 10px;
}

#quiz_credit a {
    color: blue;
    text-decoration: none;
}

#quiz_credit a:hover {
    color: blue;
    background: #FFF;
    text-decoration: underline;
}

[data-ruby] {
    position: relative;
}

[data-ruby]::before {
    content: attr(data-ruby);
    position: absolute;
    top: -1.9em;
    left: 0;
    right: 0;
    margin: auto;
    font-size: 0.39em;
}

#quiz_wrap, #quiz_msg, #dsp0, #dsp1 {
    transition: opacity 0.1s ease;
}

#retry_wrong {
    margin: 10px auto;
    width: 280px;
    height: 25px;
    border: 2px outset #ccc;
    font-size: 18px;
    line-height: 25px;
    padding: 5px 0;
    text-align: center;
    background: #f66;
    color: #fff;
    cursor: pointer;
}

#retry_wrong:hover {
    border: 2px inset #ccc;
}