﻿#faqTable {
    width: 100%;
}

    #faqTable * {
        line-height: 130%;
        box-sizing: border-box;
    }

    #faqTable ul, #faqTable ol {
        margin-left: 20px;
    }

    #faqTable ul {
        list-style: disc outside;
    }

    #faqTable ol {
        list-style: decimal outside;
    }

        #faqTable ol.useOrgMrkr {
            list-style: none;
            margin-left: 0px;
        }

            #faqTable ol.useOrgMrkr > li {
                display: flex;
                flex-flow: row nowrap;
                align-items: stretch;
            }

                #faqTable ol.useOrgMrkr > li > span {
                    width: 20px;
                }

    /*質問・回答共通*/
    #faqTable > div {
        display: flex;
        flex-flow: row nowrap;
    }

        #faqTable > div:before {
            font-size: 18px;
            font-weight: bold;
            width: 40px;
            flex-shrink: 0;
        }

        /*質問(奇数)*/
        #faqTable > div:nth-child(2n+1) {
            color: blue;
            margin-bottom: 5px;
        }

            #faqTable > div:nth-child(2n+1):before {
                content: "Ｑ：";
            }

        /*回答(偶数)*/
        #faqTable > div:nth-child(2n) {
            color: black;
            margin-bottom: 45px;
        }

            #faqTable > div:nth-child(2n):before {
                content: "Ａ：";
                color: red;
            }

        /*最後の回答はマージンなし*/
        #faqTable > div:last-child {
            margin-bottom: 0px;
        }

@media (max-width: 1000px) {
    #faqTable * {
        font-size: 1.5rem;
        line-height: 150%;
    }

    #faqTable > div:before {
        font-size: 1.5rem;
        width: 3.5rem;
    }

    #faqTable > div:nth-child(2n+1) {
        margin-bottom: 2px;
    }

    #faqTable > div:nth-child(2n) {
        margin-bottom: 10px;
    }

    #faqTable ul, #faqTable ol {
        margin-left: 1.5rem;
    }

        #faqTable ol.useOrgMrkr > li > span {
            width: 1.5rem;
        }
}
