@charset "UTF-8";

/* コンテンツ部////////////////////////// */

h2.q_and_a{
    border-left: 20px solid #c00000;
}

/*      記事     */
#contents article{
    padding-bottom: 4rem;
}
#contents article section{
    width: 90%;
    padding: 1.5rem;
    margin: 0 auto;
    background-color: #eee;
}

/*     質問    */
.question{
    display: block;
    position: relative;
    padding: 1rem 3rem;
    background-color: #bc3b38;
    height: 6rem;
    color: #fff;
    border-radius: 3px 3px 0 0;
}
.question:hover{
    opacity: 0.9;
}
.question h3{
    font-weight: bold;
    font-size: 1.2rem;
    padding-bottom: 0.2rem;
    border-bottom: 1px solid #1a1919;
}
.question div{
    height: 1px;
    background-color: #e79696;
}
.question h4{
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    left: -2.5rem;
    width: 5rem;
    height: 5rem;
    text-align: center;
    padding-top: 0.7rem;
    background-color: #bb2e2c;
    border: 3px solid #eee;
    border-radius: 50%;
    font-size: 2.5rem;
}
.question img{
    display: block;
    position: absolute;
    bottom: 0.5rem;
    right: 1rem;
    width: 20px;
}

/*     答え    */
.answer{
    position: relative;
    display: none;
    width: 98%;
    margin: 0 0 0 auto;
    background-color: #c8bef8;
    box-sizing: border-box;
    border-top: 3px solid RGBa(0, 0, 0, 0.3);
    padding: 1rem 1rem 1rem 2.5rem;
    border-radius: 0 0 3px 3px;
}
.answer h4{
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    left: -1.5rem;
    width: 3rem;
    height: 3rem;
    text-align: center;
    padding-top: 0.3rem;
    background-color: #ae9af7;
    border: 3px solid #eee;
    border-radius: 50%;
    font-size: 1.5rem;
    color: #fff;
}
article p{
    padding-top: 2rem;
    text-align: center;
}





/* mobile //////////////////////// */
@media screen and (max-width: 567px){

    .wrapper{
        width: 100%;
    }
    /* 見出し*/
    .hdImg h2{
        font-size: 1rem;
        padding: 4px 10px 4px;
    }
    /* コンテンツ部 */
    #contents article{
        display: block;
    }
    /*     質問     */
    #contents article section{
        padding: .5rem;
    }
    .question{
        height: 4rem;
        padding-left: 2rem;
    }
    .question h3{
        font-size: 4vw;
    }
    .question h4{
        left: -1.5rem;
        width: 3rem;
        height: 3rem;
        padding-top: 0.6rem;
        font-size: 1.2rem;
    }
    .question img{
        width: 15px;
    }
    /*    答え    */
    .answer{
        font-size: 0.8rem;
        padding-left: 2rem;
    }
    .answer h4{
        left: -1rem;
        width: 2rem;
        height: 2rem;
        padding-top: 0.15rem;
        font-size: 1rem;
    }
    article p{
        font-size: 0.8rem;
    }
}
