.faq {
    width: 840px;
    margin: 0 auto;
    margin-top: 5vh;
    padding-bottom: 30px;
    font-family: 'Noto Sans JP', sans-serif;
}

.faq .top-wrapper h1 {
    font-size: 30px;
    font-weight: bold;
}

.faq .top-wrapper hr {
    margin: 20px 0 10px 0;
    border-top: 2px solid #9CA3AF;
}

.qa-content {
    margin-top: 55px;
}

.question {
    display: flex;
    line-height: 30px;
    margin-right: 20px;
}

.qa-content hr {
    border-top: 3px solid #F9FAFB;
}

.qa-content .q-index {
    display: inline-block;
    font-size: 20px;
    font-weight: bold;
    color: #0D559E;
    margin-right: 20px;
}

.qa-content h2 {
    font-size: 20px;
    font-weight: bold;
    color: #333333;
}

.answer-container {
    width: 100%;
    color: #374151;
    background-color: #F9FAFB;
    display: flex;
    margin: 22px 0 50px 0;
    padding: 30px 25px 30px 25px;
    border-radius: 8px;
}

.answer-container p {
    font-size: 16px;
    line-height: 2;
    color: #374151;
}

.answer-container .answer {
    font-size: 16px;
    line-height: 2;
    color: #374151;
}

.answer-container p .sp {
    display: none;
}

.answer-container .a-index {
    font-size: 18px;
    line-height: 1.5;
    color: #9CA3AF;
    margin-right: 25px;
    margin-top: 3px;
}

.answer-container .bold {
    font-weight: bold;
}

.footer-container .bold {
    font-weight: bold;
}

.answer-container a {
    text-decoration: underline;
    color: #2563EB;
}

.answer-container .answer-list {
    margin-top: 15px;
}

.answer-container .answer-item {
    display: flex;
    margin-top: 8px;
}

.footer-container .footer-list {
    margin-top: 15px;
}

.footer-container .footer-item {
    display: flex;
    margin-top: 8px;
}

.answer-container .answer-item span {
    display: inline-block;
    margin-right: 8px;
    line-height: 2;
}

.footer-container .footer-item span {
    display: inline-block;
    margin-right: 8px;
    line-height: 2;
}

.answer-container .Q9 {
    margin-bottom: 10px;
}

.answer-container div {
    line-height: 1.5;
}

.footer-container {
    width: 840px;
    margin: 0 auto;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 2;
}

.footer .sub {
    padding: 30px 0;   
}

@media screen and (max-width: 960px) {
    .faq {
        width: 600px;
    }

    .faq .top-wrapper h1 {
        font-size: 24px;
    }

    .qa-content .q-index {
        font-size: 18px;
    }

    .qa-content h2 {
        font-size: 18px;
    }

    .answer-container .a-index {
        font-size: 16px;
    }

    .answer-container p {
        font-size: 15px;
    }

    .footer-container {
        width: 600px;
    }
}

@media screen and (max-width: 660px) {
    .faq {
        width: 360px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .faq .top-wrapper {
        margin: 0 15px;
    }

    .faq .qa-contents {
        margin: 0 15px;
    }

    .faq .top-wrapper h1 {
        text-align: center;
    }

    .answer-container .pc {
        display: none;
    }

    .answer-container .sp {
        display: block;
    }

    .answer-container .bold {
        font-weight: normal;
        color: #374151;
    }

    .answer-container .answer-item span {
        line-height: 1.8;
    }

    .footer-container {
        width: 90%;
    }

    .footer-container .footer-list {
        width: 67%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-container .footer {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media screen and (max-width: 560px) {
    .footer-container .footer-list {
        width: 100%;
        align-items: start;
    }
}