/* CSS Document */



@media (min-width: 768px) {
div#h1Title h1.problemTitle01 { background: url(//resource.aichisogo.or.jp/iryo/problem/images/h1Title01.png) no-repeat 0 37px; height: 100%; }
div#h1Title h1.problemTitle02 { background: url(//resource.aichisogo.or.jp/iryo/problem/images/h1Title02.png) no-repeat 0 37px; height: 100%; }
div#h1Title h1.problemTitle03 { background: url(//resource.aichisogo.or.jp/iryo/problem/images/h1Title03.png) no-repeat 0 37px; height: 100%; }
div#h1Title h1.problemTitle04 { background: url(//resource.aichisogo.or.jp/iryo/problem/images/h1Title04.png) no-repeat 0 37px; height: 100%; }
div#h1Title h1.problemTitle05 { background: url(//resource.aichisogo.or.jp/iryo/problem/images/h1Title05.png) no-repeat 0 37px; height: 100%; }
div#h1Title h1.problemTitle06 { background: url(//resource.aichisogo.or.jp/iryo/problem/images/h1Title06.png) no-repeat 0 37px; height: 100%; }

.problemDescription { font-size: 15px; line-height: 180%; margin-bottom: 60px; }
/*.problemDescription p { text-indent: 1em; }*/

.qaWrap { padding: 5px 5px 30px; }
.qaWrap dl { border-bottom: #CCC 3px solid; padding-bottom: 20px; margin-bottom: 30px; color: #000; }
.qaWrap dt { background: url(//resource.aichisogo.or.jp/iryo/problem/images/qaIcon01.png) no-repeat; font-size: 16px; line-height: 140%; padding: 10px 0 0 85px; min-height: 60px; font-weight: bold; margin-bottom: 30px; }
.qaWrap dd { background: url(//resource.aichisogo.or.jp/iryo/problem/images/qaIcon02.png) no-repeat; font-size: 16px; line-height: 160%; padding: 5px 0 0 85px; min-height: 55px; }


}
@media (max-width: 767px) {

    .problemDescription { font-size: 1.5rem; padding: 10px;}
    /*
#qaWrap dl { border: #CCC 2px solid; }
#qaWrap dt span.qaQ { display: block; background-color: #22C8B8; font-size: 40px; line-height: 58px; text-align: center; font-weight: bold; color: #FFF; }
#qaWrap dt span.qaQDoc { display: block; margin: 10px; padding: 10px; border-bottom: #CCC 2px dotted; }
#qaWrap dd span.toggle { display: block; padding: 10px 0; text-align: center; cursor: pointer; }
#qaWrap dd span.qaADoc { display: block; padding: 10px; }
    */
.qaWrap dd span.toggle { display: block; padding: 10px 0; text-align: center; cursor: pointer; }
}

@media screen and (min-width:480px) and (max-width: 640px){
/*#qaWrap dl { border: #CCC 2px solid; }
#qaWrap dt span.qaQ { font-size: 30px; line-height: 40px; }
#qaWrap dt span.qaQDoc { margin: 8px; padding: 8px; border-bottom: #CCC 2px dotted; }
#qaWrap dd span.toggle { padding: 8px 0; }
#qaWrap dd span.qaADoc { padding: 8px; }*/

.qaWrap dd span.toggle { padding: 8px 0; }
}
@media screen and (min-width:320px) and (max-width: 480px){
/*#qaWrap dl { border: #CCC 1px solid; }
#qaWrap dt span.qaQ { font-size: 20px; line-height: 29px; }
#qaWrap dt span.qaQDoc { margin: 5px; padding: 5px; border-bottom: #CCC 1px dotted; }
#qaWrap dd span.toggle { padding: 5px 0; }
#qaWrap dd span.qaADoc { padding: 5px; }*/

.qaWrap dd span.toggle { padding: 5px 0; }
}


@media (max-width: 480px) {

}


/*------------------------------------------------------

    追加修正

------------------------------------------------------*/
@media (min-width: 768px) {
    .qaWrap dd span.toggle { display: none;}
    #problem .qaWrap dd > div { display: block !important; }
}

@media (max-width: 767px) {
    #problem div#h1Title h1 i { display: inline-block;}

    #problem .qaWrap dl { border: 1px solid #ccc; margin-bottom: 20px;}
    #problem .qaWrap dt { padding: 40px 10px 10px 10px; position: relative; font-size: 1.5rem; }
    #problem .qaWrap dt::before { content: 'Q'; display: block; text-align: center; background-color: #22C8B8; color: #fff; font-size: 2rem; font-weight: bold; height: 30px; line-height: 30px; position: absolute; left: 0; top: 0; width: 100%;}
    #problem .qaWrap dt::after { content: ''; position: absolute; width: calc(100% - 20px); left: 0; right: 0; bottom: 0; top: auto; height: 1px; border-bottom: 1px dotted #ccc; margin: auto;}
    #problem .qaWrap dd { font-size: 1.5rem; padding: 0 10px;}
    #problem .qaWrap dd > div { display: none; padding-top: 10px;}
}
