.fn-page {
    background: #f4f7fc;
    padding: 28px 0 12px;
    counter-reset: fnsec;
}
.fn-page .about-us.sp-two {
    padding: 0 0 18px;
    background: transparent;
}
.fn-page .services-block-two .inner-box {
    background: #fff;
    border: 1px solid #e6edf7;
    border-radius: 14px;
    padding: 26px 28px 18px;
    margin-bottom: 0;
    box-shadow: 0 8px 28px rgba(20, 40, 80, 0.05);
}
.fn-page .text {
    font-size: 16px;
    font-weight: 400;
    color: #333;
    line-height: 1.85;
}
.fn-page .text p,
.fn-page .inner-box > p {
    margin: 0 0 12px;
    line-height: 1.85;
    color: #333;
}
.function-seo-intro {
    background: linear-gradient(135deg, #f7faff 0%, #fff 55%, #f8f4ff 100%);
    border: 1px solid #d9e8ff;
    border-radius: 14px;
    padding: 26px 26px 18px;
    margin-bottom: 22px;
}
.function-seo-intro h2 {
    margin: 0 0 12px;
    font-size: 28px;
    line-height: 1.35;
    color: #04205F;
    font-weight: 700;
}
.function-seo-intro p {
    margin: 0 0 10px;
    line-height: 1.85;
    color: #333;
}
.seo-keywords {
    font-size: 13px;
    color: #6b7c99;
    margin-bottom: 14px !important;
}
.fn-topics,
.fn-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4px 0 0;
}
.fn-topics a,
.fn-toc a {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eef4ff;
    border: 1px solid #d9e8ff;
    color: #1E4398 !important;
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none !important;
    border-bottom: 1px solid #d9e8ff !important;
}
.fn-topics a:hover,
.fn-toc a:hover {
    background: #1E4398;
    border-color: #1E4398 !important;
    color: #fff !important;
}
.fn-toc {
    margin-top: 8px;
}
.fn-toc-label {
    width: 100%;
    margin: 16px 0 2px;
    font-size: 14px;
    font-weight: 700;
    color: #04205F;
}
.fn-groups {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 0 0 18px;
}
.fn-group {
    background: #fff;
    border: 1px solid #e6edf7;
    border-radius: 14px;
    padding: 16px 16px 14px;
    box-shadow: 0 8px 28px rgba(20, 40, 80, 0.05);
}
.fn-group h3 {
    margin: 0 0 4px;
    font-size: 18px;
    line-height: 1.35;
    color: #04205F;
    font-weight: 700;
}
.fn-group p {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.55;
    color: #5c6b86;
}
.fn-group-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.fn-group-links a {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 999px;
    background: #eef4ff;
    border: 1px solid #d9e8ff;
    color: #1E4398 !important;
    font-size: 13px;
    line-height: 1.4;
    text-decoration: none !important;
    border-bottom: 1px solid #d9e8ff !important;
}
.fn-group-links a:hover {
    background: #1E4398;
    border-color: #1E4398 !important;
    color: #fff !important;
}
.fn-group--rest {
    grid-column: 1 / -1;
}
.fn-page .image.fn-lead-shot {
    display: block;
    margin: 4px 0 16px;
}
.fn-cases {
    margin: 14px 0 4px;
    padding-top: 10px;
    border-top: 1px solid #eef2f8;
    font-size: 15px;
    line-height: 1.75;
}
.fn-page .title h4 {
    color: #04205F !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.4;
    margin: 0 0 16px;
    padding: 0 0 12px 14px;
    border-left: 4px solid #E4007D;
    border-bottom: 1px solid #eef2f8;
}
.fn-page .title h4::before {
    counter-increment: fnsec;
    content: counter(fnsec, decimal-leading-zero);
    display: inline-block;
    margin-right: 10px;
    color: #E4007D;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}
.fn-page .text ul,
.fn-page .inner-box ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 8px 0 4px;
}
.fn-page .text li,
.fn-page .inner-box ul > li {
    list-style: none !important;
    position: relative;
    margin: 0;
    padding: 7px 0 7px 18px !important;
    line-height: 1.75;
    border-bottom: 1px solid #f3f6fb;
}
.fn-page .text li::before,
.fn-page .inner-box ul > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: calc(7px + (1.75em - 7px) / 2);
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #1E4398;
}
.fn-page .text a,
.fn-page .inner-box > p a {
    color: #1E4398;
    text-decoration: none;
    border-bottom: 1px solid rgba(30, 67, 152, 0.28);
}
.fn-page .text a:hover,
.fn-page .inner-box > p a:hover {
    color: #E4007D;
    border-bottom-color: #E4007D;
}
.fn-page hr {
    border: 0;
    border-top: 1px solid #e5ebf8;
    margin: 20px 0 14px;
}
.fn-page .image {
    margin-top: 8px;
}
.fn-page .image img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 0 16px;
    border: 1px solid #e5ebf8;
    border-radius: 10px;
    background: #fff;
}
.fn-page .image.fn-shots {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 18px;
    align-items: start;
}
.fn-split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: 22px;
    align-items: center;
}
.fn-split__video {
    margin: 0;
}
.fn-split__video video {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #e5ebf8;
    border-radius: 10px;
    background: #04183f;
}
.fn-page .fn-shot {
    min-width: 0;
}
.fn-page .fn-shot > img {
    margin-bottom: 0;
}
.fn-page .image > h4,
.fn-page .fn-shot > h4 {
    margin: 16px 0 0 !important;
    padding: 10px 14px;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.45;
    color: #1E4398 !important;
    background: #eef4ff;
    border: 1px solid #e5ebf8;
    border-bottom: none;
    border-radius: 10px 10px 0 0;
}
.fn-page .fn-shot > h4 {
    margin-top: 0 !important;
}
.fn-page .image > h4 + img,
.fn-page .image > h4 + p + img,
.fn-page .fn-shot > h4 + img,
.fn-page .fn-shot > h4 + p + img {
    margin-top: 0;
    border-top: none;
    border-radius: 0 0 10px 10px;
}
.fn-page .image > h4 + p,
.fn-page .fn-shot > h4 + p {
    margin: 0;
    padding: 8px 14px 10px;
    background: #f7faff;
    border-left: 1px solid #e5ebf8;
    border-right: 1px solid #e5ebf8;
    color: #41557f;
    font-size: 14px;
}
.long-image-scroll {
    max-height: 640px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #e5ebf8;
    border-radius: 10px;
    padding: 8px;
    background: #fafbfd;
}
.long-image-scroll img {
    border: none !important;
    border-radius: 6px !important;
    margin: 0 !important;
}
.fn-page .fn-cta.about-us {
    padding-top: 6px;
}
.fn-page a[id] {
    scroll-margin-top: 88px;
}
.fn-page .fn-cta .inner-box,
.fn-page .fn-cta a {
    box-shadow: none;
}
@media (max-width: 767px) {
    .fn-page .services-block-two .inner-box {
        padding: 18px 14px 10px;
    }
    .function-seo-intro h2 {
        font-size: 22px;
    }
    .fn-page .title h4 {
        font-size: 18px !important;
    }
    .fn-page .image.fn-shots,
    .fn-split {
        grid-template-columns: 1fr;
    }
    .fn-groups {
        grid-template-columns: 1fr;
    }
}
.fn-float-toc {
    position: fixed;
    z-index: 90;
    top: 96px;
    right: 14px;
    width: 228px;
    max-height: calc(100vh - 116px);
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e6edf7;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(20, 40, 80, 0.12);
    overflow: hidden;
}
.fn-float-toc__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 10px 12px;
    border: 0;
    background: #1E4398;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    cursor: pointer;
}
.fn-float-toc__btn-shut { display: none; }
.fn-float-toc nav {
    position: relative;
    overflow: auto;
    padding: 8px;
}
.fn-toc-group {
    margin: 0 0 8px;
    padding-bottom: 4px;
    border-radius: 8px;
    overflow: hidden;
}
.fn-toc-group:last-child { margin-bottom: 0; }
.fn-toc-group__name {
    margin: 0;
    padding: 7px 10px 3px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}
.fn-toc-group--spc { background: #e7efff; }
.fn-toc-group--spc .fn-toc-group__name { color: #1E4398; }
.fn-toc-group--live { background: #e5f6ee; }
.fn-toc-group--live .fn-toc-group__name { color: #0d6b45; }
.fn-toc-group--data { background: #fff1df; }
.fn-toc-group--data .fn-toc-group__name { color: #9a5b00; }
.fn-toc-group--ai { background: #f3e9ff; }
.fn-toc-group--ai .fn-toc-group__name { color: #6a1b9a; }
.fn-toc-group--it { background: #e7eef6; }
.fn-toc-group--it .fn-toc-group__name { color: #243652; }
.fn-toc-group--other { background: #f1f2f4; }
.fn-toc-group--other .fn-toc-group__name { color: #3d4a63; }
.fn-float-toc nav a {
    display: block;
    padding: 4px 10px 4px 12px;
    color: #3d4a63;
    font-size: 13px;
    line-height: 1.45;
    text-decoration: none !important;
    border-left: 3px solid transparent;
    border-bottom: 0 !important;
}
.fn-float-toc nav a:hover {
    background: rgba(255, 255, 255, 0.72);
    color: #1E4398;
}
.fn-float-toc nav a.is-active {
    background: #fff;
    color: #04205F;
    font-weight: 700;
    border-left-color: #E4007D;
}
.fn-ext {
    display: inline-block;
    width: 0.85em;
    height: 0.85em;
    margin-left: 4px;
    vertical-align: -0.08em;
    fill: currentColor;
}
.fn-float-toc:not(.is-open) {
    width: auto;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
}
.fn-float-toc:not(.is-open) nav { display: none; }
.fn-float-toc:not(.is-open) .fn-float-toc__btn {
    width: auto;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(30, 67, 152, 0.28);
}
.fn-float-toc:not(.is-open) .fn-float-toc__btn-open { display: none; }
.fn-float-toc:not(.is-open) .fn-float-toc__btn-shut { display: inline; }
@media (min-width: 768px) and (max-width: 1159px) {
    .fn-page.fn-toc-open .container {
        width: auto;
        max-width: none;
        margin-left: 12px;
        margin-right: 256px;
    }
}
@media (min-width: 1160px) and (max-width: 1680px) {
    .fn-page.fn-toc-open .container {
        width: 100%;
        max-width: min(1140px, calc(100% - 520px));
        margin-left: auto;
        margin-right: auto;
    }
}
@media (max-width: 767px) {
    .fn-float-toc:not(.fn-user),
    .fn-float-toc.fn-user:not(.is-open) {
        width: auto;
        background: transparent;
        border: 0;
        box-shadow: none;
        overflow: visible;
    }
    .fn-float-toc:not(.fn-user) nav,
    .fn-float-toc.fn-user:not(.is-open) nav { display: none; }
    .fn-float-toc:not(.fn-user) .fn-float-toc__btn,
    .fn-float-toc.fn-user:not(.is-open) .fn-float-toc__btn {
        width: auto;
        border-radius: 999px;
        box-shadow: 0 8px 20px rgba(30, 67, 152, 0.28);
    }
    .fn-float-toc:not(.fn-user) .fn-float-toc__btn-open,
    .fn-float-toc.fn-user:not(.is-open) .fn-float-toc__btn-open { display: none; }
    .fn-float-toc:not(.fn-user) .fn-float-toc__btn-shut,
    .fn-float-toc.fn-user:not(.is-open) .fn-float-toc__btn-shut { display: inline; }
    .fn-float-toc.fn-user.is-open {
        width: min(280px, calc(100vw - 24px));
        max-height: calc(100vh - 116px);
    }
}
