.qa_contact p,
.qa_contact a,
.qa_contact ul,
.qa_contact li,
.qa_contact span,
.qa_contact h1,
.qa_contact h2,
.qa_contact h3,
.qa_contact h4,
.qa_contact h5,
.qa_contact dt {
    letter-spacing: 0.05em;
    color: var(--color-text-entry);
    font-family: var(--font-notosan);
}

.content-wrapper {
    padding-bottom: 0;
}

.qa_contact p,
.qa_contact span,
.qa_contact a {
    font-weight: 400;
    font-size: 16px;
}

.qa_contact h2 {
    font-family: var(--font-shippori);
    font-size: 30px;
    font-weight: 700;
    white-space: nowrap;
}

.qa_contact h3 {
    font-family: var(--font-shippori);
    font-size: 24px;
    font-weight: 700;
}

.qa_container {
    padding: 0 80px;
    max-width: 1440px;
    box-sizing: border-box;
    margin: 0 auto;
    width: 100%;
}

.qa_block {
    display: grid;
    grid-template-columns: minmax(max-content, max-content) minmax(0, 840px);
    justify-content: space-between;
    column-gap: 64px;
}

.qa_content:not(:first-child) {
    margin-top: 88px;
}

.qa_content h3 {
    margin-bottom: 40px;
}

.qa_question_block {
    display: block;
    margin-bottom: 32px;
}

.qa_question {
    padding-bottom: 32px;
    border-bottom: 1px solid #D2CBB3;
    line-height: 1.5;
    display: block;
    position: relative;
    padding-right: 24px;
}

.qa_question::before {
    position: absolute;
    top: 14px;
    right: 0;
    content: "";
    display: block;
    width: 13px;
    height: 1px;
    margin-top: -1px;
    background: var(--color-text-entry);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

.qa_question.is-active::before {
    -webkit-transform: rotate(0);
    transform: rotate(0);
}

.qa_question::after {
    position: absolute;
    top: 14px;
    right: 0;
    content: "";
    display: block;
    width: 13px;
    height: 1px;
    margin-top: -1px;
    background: var(--color-text-entry);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.qa_question {
    display: flex;
    column-gap: 4px;
    cursor: pointer;
}

.qa_question_block span {
    white-space: nowrap;
    font-family: var(--font-shippori);
    font-weight: 500;
}

.qa_answer {
    margin-left: 0;
    display: flex;
    column-gap: 4px;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease, padding-top 0.4s ease;
}


.qa_answer span,
.qa_answer p,
.qa_answer p a {
    color: #005A4F;
}

.qa_answer p a {
    text-decoration: underline;
    text-decoration-color: #005A4F;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.contact_block {
    margin-top: 152px;
    background-color: #D8D4C5;
    padding: 152px 0 200px;
}

.contact_block_container {
    padding: 0 80px;
    max-width: 1440px;
    box-sizing: border-box;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(max-content, max-content) minmax(0, 840px);
    justify-content: space-between;
    column-gap: 64px;
}

.contact_content {
    display: grid;
    grid-template-columns: 290px 1fr;
    column-gap: 32px;
    padding: 40px 0;
    border-bottom: 1px solid var(--color-text-entry);
}

.contact_content:first-child {
    border-top: 1px solid var(--color-text-entry);
}

.contact_content h3 {
    font-size: 16px;
    font-family: var(--font-notosan);
    line-height: 1.5;
    font-weight: 400;
}

.contact__info {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 8px;
}

.contact__info p {
    line-height: 1.5;
}

.contact__info p.attention {
    line-height: 1.857;
    font-size: 14px;
}

.form_button {
    background-color: var(--color-green-base);
    border: none;
    display: inline-block;
    width: 304px;
    height: 64px;
    text-align: center;
    padding: 0;
    margin-bottom: 8px;
}

.form_button a {
    line-height: 64px;
    display: inline-flex;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    align-items: center;
    font-family: var(--font-notosan);
}

.form_button a svg {
    padding-left: 32px;
    box-sizing: content-box;
}

@media (max-width: 1099px) {
    .qa_container {
        padding: 0 40px;
    }

    .qa_block {
        column-gap: 40px;
    }

    .contact_block_container {
        padding: 0 40px;
    }

    .contact_content {
        display: block;
    }

    .contact__info {
        margin-top: 32px;
    }
}

@media (max-width: 768px) {
    .qa_block {
        display: block;
    }
    .qa_container {
        padding: 0 22px;
    }

    .contact_block_container {
        display: block;
        padding: 0 22px;
    }

    .qa_contact h2 {
        font-size: 24px;
    }

    .qa_contact h3 {
        font-size: 20px;
    }

    .qa_question {
        column-gap: 2px;
        padding-bottom: 20px;
    }

    .qa_wrapper {
        margin-top: 32px;
    }

    .qa_content h3 {
        margin-bottom: 32px;
    }

    .qa_question_block {
        margin-bottom: 24px;
    }
    .qa_content:not(:first-child) {
        margin-top: 72px;
    }

    .form_button {
        max-width: 100%;
        width: 100%;
        margin-bottom: 16px;
    }

    .contact_block {
        margin-top: 88px;
        padding-top: 88px;
        padding-bottom: 120px;
    }

    .contact_wrapper {
        margin-top: 32px;
    }
    .contact_content {
        padding: 24px 0;
    }
    .contact_content h3 {
        font-size: 16px;
    }

    .contact__info p {
        line-height: 1.75;
    }
    .contact__info {
        row-gap: 0;
        margin-top: 24px;
    }
}