.sub_head {
  font-size: 16px;
  padding: 10px 0;
  margin: 20px 0;
  background-color: #1756BD;
  color: #fff;
  font-weight: bold;
  text-align: center;
}
.index_search_link {
  display: inline-block;
  position: relative;
  width: 200px;
  height: 125px;
  background-color: #1756BD;
  border: 1px solid #1756BD;
  border-top: 3px solid #1756BD;
  color: #fff;
  margin: 0 5px 10px 5px;
  text-align: center;
  font-size: 14px;
}

.quiz_overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.5;
    z-index: 90;
}

#quiz_start_bg {
    display: none;
    position: fixed;
    opacity: 1;
    background-color: #fff;
    border: 10px solid #666;
    color: #666;
    font-size:18px;
    width: 800px;
    height: 500px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 10px 10px;
    text-align: center;
    z-index: 99;
    
}
@media screen and (min-device-width : 0px) and (max-device-width : 419.9px) {
    #quiz_start_bg {
        display: none;
        position:fixed;
        opacity: 1;
        background-color: #fff;
        border-top: 5px solid #666;
        border-bottom: 5px solid #666;
        color: #666;
        font-size:16px;
        width: 100%;
        height: 100%;
        text-align: center;
        z-index: 99;
        
    }
}

#quiz_result_bg {
    display: none;
    position: fixed;
    opacity: 1;
    background-color: #fff;
    border: 10px solid #666;
    color: #666;
    font-size:18px;
    width: 400px;
    height: 400px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 10px 10px;
    text-align: center;
    z-index: 99;
    
}
@media screen and (min-device-width : 0px) and (max-device-width : 419.9px) {
    #quiz_result_bg {
        display: none;
        position:fixed;
        opacity: 1;
        background-color: #fff;
        border-top: 5px solid #666;
        border-bottom: 5px solid #666;
        color: #666;
        font-size:16px;
        width: 100%;
        height: 400px;
        text-align: center;
        z-index: 99;
        
    }
}
#quiz_result_bg .quiz_result_text {
    color: #ff0000;
    font-size:200px;
    padding: 0;
    margin: 0;
}
#quiz_result_bg .midashi {
    background-color: #666;
    padding: 10px 0;
    font-size:20px;
    color: #fff;
}

#quiz_start_bg .midashi {
    background-color: #666;
    padding: 10px 0;
    font-size:20px;
    color: #fff;
}

#quiz_start_bg .start_btn {
    display: inline-block;
    position: relative;
    width: 200px;
    height: 60px;
    line-height: 60px;
    padding: 0;
    margin: 0 5px;
    background-color: #1756BD;
    cursor:pointer;
}
#quiz_start_bg .start_btn a {
    display: block;
    color: #fff;
}
#quiz_start_bg .cancel_btn {
    display: inline-block;
    position: relative;
    width: 200px;
    height: 60px;
    line-height: 60px;
    padding: 0;
    margin: 0 5px;
    background-color: #ddd;
    cursor:pointer;
}
#quiz_start_bg .start_btn:hover, #quiz_start_bg .cancel_btn:hover {
    opacity: 0.7;
}
#quiz_result_dl_img_bg {
    display: none;
    position: relative;
    width: 100%;
    height: auto;
    margin: 10px 0 20px 0;
    text-align: center; 
}
#quiz_result_dl_img_bg img {
    position: relative;
    width: 100%;
    min-width: 100%;
    height: auto;
}
#quiz_result_dl_img_bg #dl_help_msg {
    padding: 10px 0;
    margin: 0;
    background-color: #00BBFA;
    border-top:2px solid #009FD4;
    border-bottom:2px solid #009FD4;
    text-align: center;
    font-size: 16px;
    color: #FFF;
    font-weight: bold;
}
.quiz_result_tweet {
    display: none;
    position: relative;
    width: 100%;
    height: auto;
    text-align: center; 
    font-size: 16px;
    margin: 0 0 10px 0;
    padding: 10px 0;
    background-color: #eee;
    font-weight: bold;
}
.quiz_result_tweet p {
    margin: 10px 0;
}
.quiz_result_tweet .result_tweet_head_text {
    background-color:#666666;
    color: #FFF;
    padding:5px 0;
}
.quiz_result_tweet .quiz_btn_bg {
    margin: 0;
}
.quiz_btn_bg #img_dl_btn {
    display: inline-block;
    width: 200px;
    height: 40px;
    line-height: 40px;
    color: #fff;
    background:#FF0000;
    border-bottom:4px solid #C70000;
    border-radius: 4px;
    transition: .0s;
    cursor:pointer;
    font-size:16px;
    margin: 0 5px;
}
.quiz_btn_bg #img_dl_btn:hover {
    background:#C70000;
    border-bottom:4px solid #C70000;
    transform: translate3d(0, 4px, 0);
    transition: .0s;
    border-bottom: none;
    color: #FFF;
}
.quiz_btn_bg #tw_btn {
    display: inline-block;
    width: 200px;
    height: 40px;
    line-height: 40px;
    color: #fff;
    background:#00ACEE;
    border-bottom:4px solid #0081C3;
    border-radius: 4px;
    transition: .0s;
    cursor:pointer;
    font-size:16px;
    margin: 0 5px;
}
.quiz_btn_bg #tw_btn:hover {
    background:#0081C3;
    border-bottom:4px solid #0081C3;
    transform: translate3d(0, 4px, 0);
    transition: .0s;
    border-bottom: none;
    color: #FFF;
}
@media screen and (min-device-width : 0px) and (max-device-width : 419.9px) {
    .quiz_btn_bg #img_dl_btn, .quiz_btn_bg #tw_btn {
        width: 45%;
    }
}

.quiz_cate_ul li {
    margin: 10px 0;
}
.quiz_select_link {
    display: block;
    cursor:pointer;
    width: auto;
    height: auto;
    color: #fff;
    text-align: center;
    line-height: 40px;
    padding: 40px 0;
}
.index_search_link {
    border: 0;
}
.index_search_link:hover {
    opacity: 0.7;
}

@media screen and (min-device-width : 0px) and (max-device-width : 419.9px) {
    #quiz_start_bg .start_btn, #quiz_start_bg .cancel_btn {
        width: 150px;
        height: 60px;
        margin: 0 2px;
    }
}


.quiz_area {
    position: relative;
    width: 100%;
    height: auto;
    text-align: center;
}
.quiz_type {
    font-weight: bold;
}
.question_area_bg {
    display: inline-block;
    position: relative;
    width: 90%;
    height: auto;
    min-height: 100px;
    background-color: #fff;
    border: 2px solid #1756BD;
    text-align: center;
    padding: 5px 5px 20px 5px;
    margin: 5px 0;
}
.question_area_bg .countdown {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 30px;
}
.question_area_bg p {
    margin: 10px 0;
}
.question_area_bg .q_img_area {
    min-height: 280px;
}
.question_area_bg .q_img_area.none-img {
    min-height: auto;
}
.question_area_bg .q_img_bg {
    display: none;
    position: relative;
    text-align: center;
    margin: 20px 0 20px 0;
    background-color: #EBEBEB;
    padding: 20px 0;
    width: 400px;
}
.q_img_bg img {
    width: 100%;
    max-width: 300px;
    height: auto;
}

#choices {
    display: inline-flex;
}
#choices button {
    width: 200px;
    height: 50px;
    margin: 0 10px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
}
.result_score, .result_timer {
    font-size: 20px;
}
.result_timer {
    display: none;
}
.rank_area_bg {
    display: none;
    position: relative;
    width: 90%;
    height: auto;
    padding: 5px 5px;
    margin: 5px 0;
    background-color: #fff;
    border: 2px solid #CC3300;
    text-align: center;
    color: #fff;
}
.rank_midashi {
    width: 100%;
    background-color: #CC3300;
    color: #fff;
    padding: 5px 0;
    margin: 0;
}
#quiz_congratulations_bg {
    display: none;
    width: 100%;
    margin: 0;
}
#quiz_congratulations_bg img {
    width: 340px;
    height: auto;
}
.rank_now {
    color: #CC3300;
    font-size: 30px;
    margin: 15px 0;
}
.rank_form .input_name {
    display: inline-block;
    position: relative;
    width: 250px;
    height: 40px;
}
.rank_form .submit {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 40px;
}
.rank_form .rank_submit {
    display: inline-block;
    position: relative;
    width: 300px;
    height: 40px;
    background-color: #1756BD;
    color: #fff;
}


.btn_bg {
    position: relative;
    width: 100%;
    height: auto;
    text-align: center;
    margin: 10px 0;
}
.btn {
    display: inline-block;
    position: relative;
    width: 200px;
    height: 60px;
    line-height: 60px;
    padding: 0;
    margin: 0 5px;
    background-color: #fff;
    border: 2px solid #1756BD;
    text-align: center;
    cursor:pointer;
}
.btn a {
    display: block;
    color: #1756BD;
}
.btn:hover {
    opacity: 0.7;
}

@media screen and (min-device-width : 0px) and (max-device-width : 419.9px) {
    .index_search_link {
        display: inline-block;
        position: relative;
        width: 90%;
        height: auto;
        margin: 10px 0;
    }
    .quiz_select_link {
        width: 100%;
        height: auto;
    }
    .question_area_bg .q_img_bg {
        width: 100%;
        margin: 10px 0 0 0;
    }
    #choices {
        display: block;
    }
    #choices button {
        width: 90%;
        height: 40px;
        margin: 5px 5px;
        font-size: 12px;
        border: 1px solid #666;
        color: #666;
        font-weight: bold;
    }
    .btn {
        width: 150px;
        height: 60px;
        margin: 0 2px;
    }
}

