/*FAQ用css*/
main h3{
    scroll-margin-top: 9rem;
}

.answer h4{
    margin-bottom: 20px;
    font-size: 2.4rem;
    color: #0062b1;
}

.contents ul.faq-list li{
    font-size: 1.8rem;
    text-indent: -3.5rem;
    padding-left: 3.5rem;
}

.contents ul.faq-list li::before {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    content: "Q";
    width: 3rem;
    height: 3rem;
    font-weight: bold;
    border: 2px solid #0062b1;
    border-radius: 10px;
    text-indent: 0;
}

.faq-list:not(:last-child){
    margin-bottom: 40px;
}

.faq-list a{
    color: #333;
    text-decoration: none;
}

.faq-list a:hover{
    text-decoration: underline;
}

a.return-button{
    display: block;
    width: fit-content;
    padding: 20px;
    margin: 40px auto 0;
    color: #fff;
    background-color: #0062b1;
    font-weight: bold;
    border-radius: 10px;
    text-decoration: none;
}

a.return-button:hover{
    filter: brightness(1.1);
}

ol {
    counter-reset: number;
    padding: 0;
    margin: 0;
}

ol li {
    list-style: none;
    counter-increment: number;
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
}

ol.brackets li {
    padding-left: 4rem;
}

ol li::before {
    content: counter(number, decimal) ".";
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
}

ol.brackets li::before {
    content: "（" counter(number, decimal) "）";
}

table {
    width: 100%;
    border-collapse:  collapse;
}

th, td {
    padding: 10px;
    font-weight: normal;
    border: 1px #333 solid;
}

th {
    color: #fff;
    font-weight: bold;
    background-color: #3e6ce3;
}

table.nowrap th {
    white-space:nowrap;
}

table.center tr td {
    text-align: center;
}

.overview-image img{
    top: -50%;
}

.q-mark, .a-mark{
    padding: 2px 5px;
    display: inline-flex;
    margin-right: 5px;
    justify-content: center;
    align-items: center;
    width: 3.5rem;
    height: 3.5rem;
    font-size: 2.1rem;
    font-weight: bold;
    background-color: #fff;
    border-radius: 10px;
}

.q-mark{
    border: 2px solid #135cb5;
    color: #135cb5;
}

.a-mark{
    border: 2px solid #CE1710;
    color: #CE1710;
}

.answer-box{
    display: flex;
}

@media screen and (max-width: 960px){
    main h3{
        scroll-margin-top: 7rem;
    }

    table.nowrap div, table.center div {
        display: flex;
        flex-direction: column
    }

    table.center th, table.center td {
        padding: 5px 3px;
        font-size:1.2rem;
    }

    table.center th {
        white-space:nowrap;
    }
}
