@media only screen and (max-width: 768px){
    html {
        overflow: auto;
        height: 100vh;
    }

    body{
        min-width: 320px;
        background-size: cover;
        height: auto;
    }

    .wrap{
        width: calc(100% - 10px);
        margin: auto;
        border: none;
        height: initial;
    }

    .header_top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: column;
    }
    .header_link {
        margin-bottom: 0px!important;
        margin-left: 10px;
    }
    .header_size {
        margin-bottom: 0!important;
    }
    .header_right{
        margin-top: 5px;
    }

    .quiz_set {
        padding: 10px 0px 100px;
        height: auto;
    }

    .quiz_area {
        height: auto;
        background: transparent;
    }

    .cont_tit {
        position: relative;
        padding: 10% 10px 0!important;
    }

    .cont_tit_c p{
        margin-top: 10px;
      }

    /* 問題文 */
    .start_area .quiz_btn{
        width: 90%;
    }

    .start_area {
        text-align: center;
        display: flex;
        margin: 0 auto;
        width: 100%;
        height: 100%;
        z-index: 10;
        align-items: center;
        justify-content: center;
    }

    .start_area .btn {
        width: 95%;
        margin: 0 auto;
        margin-bottom: 15px;
    }

    .quiz_ans_area {
        display: flex;
        align-items: center;
        align-content: center;
        justify-content: center;
        flex-direction: column;
        margin: 0 0 30px;
    }

    .quiz_area .quiz_img {
        text-align: center;
        width: 100%;
        margin-top: 15px;
    }

    .quiz_area .quiz_ans_area ul {
        order: 2;
        width: 100%;
    }


    .quiz_area .quiz_bk::before{
        position: absolute;
        top: 0px;
        left: -10px;
        content: "";
        width: 110%;
        height: 110%;
        background: transparent;
        z-index: 999;
    }

    .quiz_area .quiz_wrap {
        padding: 0;
        position: initial;
        background: transparent;
    }

    .quiz_wrap_r {
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        align-content: center;
        flex-direction: column;
        margin: 10px 0;
    }

    .quiz_wrap_l {
        display: flex;
        align-items: flex-start;
        align-content: center;
        flex-direction: column;
    }
    .quiz_t_l {
        width: 100%;
    }
    .quiz_t_r {
        width: 100%;
        text-align: right;
    }

    /* 解説文 */
    .quiz_question_box {
        display: flex;
        margin: 0px 0;
        flex-direction: row;
        align-content: center;
        align-items: flex-start;
    }

    .quiz_wrap_area {
        display: flex;
        flex-direction: column;
        color: #272727;
        padding-top: 25px;
        border-top: dotted 2px #999999;
    }
    
    .quiz_area .quiz_area_bg {
        position: initial;
        height: auto;
        margin-top: 20px;
        background: transparent;
        text-align: center;
    }

    .quiz_area .quiz_no_box {
        text-align: left;
        margin-bottom: 5px;
    }

    .quiz_area .quiz_area_icon{
        margin: 10px 0;
    }

    .quiz_commentary{
        width: initial;
    }

    .quiz_img_an {
        text-align: center;
        margin-bottom: 10px;
    }

    .quiz_btn a {
        width: 100%;
    }

    .quiz_restart {
        width: 95%;
    }

    .quiz_btn {
        position: initial;
        text-align: center;
        margin: 20px auto 0;
    }

    .quiz_btn_an {
        position: initial;
        width: 100%;
        text-align: center;
        margin: 20px auto 0;
    }

    /* 結果画面 */
    .quiz_result {
        display: flex;
        padding: 20px 10px 220px;
        height: 320px;
        justify-content: flex-end;
        align-items: center;
        flex-direction: column;
    }

    footer{
        position: relative!important;
        margin-top: 20px;
    }

    footer::before {
        content: '';
        background-image: none!important;
    }

    /* --------------------------- */
    /* pc / phone */
    /* --------------------------- */
    .pc_area{
        display: none;
    }

    .phone_area{
        display: inline;
    }
    /* --------------------------- */
    /* --------------------------- */
}