/* 記事一覧と全記事で共有する唯一のフッター定義 */
.knowledge-footer,
.knowledge-footer * {
    box-sizing: border-box;
}

.knowledge-footer {
    padding: 48px 0 34px;
    border-top: 1px solid #dfe5eb;
    background: #fff;
    color: #5f6675;
    font-family:
        "Noto Sans JP",
        -apple-system,
        BlinkMacSystemFont,
        "Hiragino Kaku Gothic ProN",
        "Yu Gothic",
        sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 1.8;
}

.knowledge-footer .knowledge-container {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
    padding: 0;
}

.knowledge-footer__grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1fr 1.2fr;
    gap: 32px;
    align-items: start;
}

.knowledge-footer .knowledge-footer__brand img {
    display: block;
    width: 166px;
    max-width: none;
    height: auto;
}

.knowledge-footer__brand p {
    max-width: 310px;
    margin: 17px 0 0;
    color: #7b8494;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 1.9;
    text-align: left;
}

.knowledge-footer h2 {
    display: block;
    margin: 0 0 12px;
    padding: 0;
    color: #17213f;
    font-size: 13px;
    font-weight: 700;
    gap: normal;
    align-items: normal;
    letter-spacing: normal;
    line-height: 1.4;
}

.knowledge-footer h2::before,
.knowledge-footer h2::after {
    display: none;
    content: none;
}

.knowledge-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.knowledge-footer li {
    margin: 0;
    padding: 0;
}

.knowledge-footer li + li {
    margin-top: 8px;
}

.knowledge-footer__info {
    margin: 0;
    color: #5f6675;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 1.9;
}

.knowledge-footer__info p {
    margin: 0;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    line-height: inherit;
    text-align: left;
}

.knowledge-footer .knowledge-footer__company {
    display: block;
    margin: 0 0 3px;
    padding: 0;
    background: none;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}

.knowledge-footer__info a {
    display: inline-block;
    margin-top: 7px;
}

.knowledge-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 0 14px;
    margin-top: 16px;
}

.knowledge-footer__legal a {
    font-size: 12px;
}

.knowledge-footer a {
    color: #5f6675;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: normal;
    line-height: inherit;
    text-decoration: none;
}

.knowledge-footer a:hover,
.knowledge-footer a:focus-visible {
    color: #1f7a6f;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.knowledge-footer .knowledge-footer__copyright {
    width: auto;
    margin: 42px 0 0;
    padding: 0;
    color: #9aa5b3;
    font-family:
        "Noto Sans JP",
        -apple-system,
        BlinkMacSystemFont,
        "Hiragino Kaku Gothic ProN",
        "Yu Gothic",
        sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.8;
    text-align: center;
}

@media (max-width: 1000px) {
    .knowledge-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .knowledge-footer .knowledge-container {
        width: min(100% - 32px, 1120px);
    }

    .knowledge-footer__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .knowledge-footer .knowledge-footer__copyright {
        margin-top: 32px;
    }
}
