/* 縮小失敗。正在傳回未縮小的內容。
(2,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(3,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(4,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(5,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(6,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(7,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(8,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(9,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(10,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(11,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(12,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(13,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(17,25): run-time error CSS1039: Token not allowed after unary operator: '-max'
(23,25): run-time error CSS1039: Token not allowed after unary operator: '-max'
(28,25): run-time error CSS1039: Token not allowed after unary operator: '-max'
(36,21): run-time error CSS1039: Token not allowed after unary operator: '-red'
(47,30): run-time error CSS1039: Token not allowed after unary operator: '-red'
(59,25): run-time error CSS1039: Token not allowed after unary operator: '-red'
(63,25): run-time error CSS1039: Token not allowed after unary operator: '-black'
(68,21): run-time error CSS1039: Token not allowed after unary operator: '-gray-700'
(89,26): run-time error CSS1039: Token not allowed after unary operator: '-red'
(90,21): run-time error CSS1039: Token not allowed after unary operator: '-white'
(94,30): run-time error CSS1039: Token not allowed after unary operator: '-red-dark'
(105,26): run-time error CSS1039: Token not allowed after unary operator: '-white'
(106,21): run-time error CSS1039: Token not allowed after unary operator: '-black'
(111,32): run-time error CSS1039: Token not allowed after unary operator: '-red'
(112,25): run-time error CSS1039: Token not allowed after unary operator: '-red'
(130,30): run-time error CSS1039: Token not allowed after unary operator: '-black'
(151,21): run-time error CSS1039: Token not allowed after unary operator: '-white'
(159,30): run-time error CSS1039: Token not allowed after unary operator: '-red'
(213,43): run-time error CSS1039: Token not allowed after unary operator: '-marquee-duration'
(251,41): run-time error CSS1039: Token not allowed after unary operator: '-marquee-distance'
(286,32): run-time error CSS1039: Token not allowed after unary operator: '-line'
(287,26): run-time error CSS1039: Token not allowed after unary operator: '-white'
(288,21): run-time error CSS1039: Token not allowed after unary operator: '-gray-700'
(326,30): run-time error CSS1039: Token not allowed after unary operator: '-shadow'
(337,34): run-time error CSS1039: Token not allowed after unary operator: '-red'
(374,22): run-time error CSS1039: Token not allowed after unary operator: '-white'
(375,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow'
(387,25): run-time error CSS1039: Token not allowed after unary operator: '-red'
(392,21): run-time error CSS1039: Token not allowed after unary operator: '-gray-700'
(401,22): run-time error CSS1039: Token not allowed after unary operator: '-white'
(407,21): run-time error CSS1039: Token not allowed after unary operator: '-max'
(417,22): run-time error CSS1039: Token not allowed after unary operator: '-white'
(426,21): run-time error CSS1039: Token not allowed after unary operator: '-black'
(431,37): run-time error CSS1039: Token not allowed after unary operator: '-red'
(436,21): run-time error CSS1039: Token not allowed after unary operator: '-gray-500'
(449,17): run-time error CSS1039: Token not allowed after unary operator: '-gray-700'
(498,25): run-time error CSS1039: Token not allowed after unary operator: '-red'
(517,22): run-time error CSS1039: Token not allowed after unary operator: '-white'
(518,17): run-time error CSS1039: Token not allowed after unary operator: '-black'
(596,17): run-time error CSS1039: Token not allowed after unary operator: '-black'
(605,17): run-time error CSS1039: Token not allowed after unary operator: '-gray-700'
(624,21): run-time error CSS1039: Token not allowed after unary operator: '-gray-700'
(662,22): run-time error CSS1039: Token not allowed after unary operator: '-white'
(663,17): run-time error CSS1039: Token not allowed after unary operator: '-black'
(670,21): run-time error CSS1039: Token not allowed after unary operator: '-black'
(685,21): run-time error CSS1039: Token not allowed after unary operator: '-black'
(707,22): run-time error CSS1039: Token not allowed after unary operator: '-red'
(721,22): run-time error CSS1039: Token not allowed after unary operator: '-white'
(734,26): run-time error CSS1039: Token not allowed after unary operator: '-red'
(743,17): run-time error CSS1039: Token not allowed after unary operator: '-black'
(751,17): run-time error CSS1039: Token not allowed after unary operator: '-gray-700'
(841,22): run-time error CSS1039: Token not allowed after unary operator: '-red'
(842,17): run-time error CSS1039: Token not allowed after unary operator: '-white'
(843,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow'
(858,22): run-time error CSS1039: Token not allowed after unary operator: '-white'
(878,28): run-time error CSS1039: Token not allowed after unary operator: '-line'
(879,22): run-time error CSS1039: Token not allowed after unary operator: '-white'
(886,26): run-time error CSS1039: Token not allowed after unary operator: '-red'
(887,21): run-time error CSS1039: Token not allowed after unary operator: '-white'
(888,28): run-time error CSS1039: Token not allowed after unary operator: '-red'
(909,28): run-time error CSS1039: Token not allowed after unary operator: '-line'
(910,22): run-time error CSS1039: Token not allowed after unary operator: '-white'
(920,17): run-time error CSS1039: Token not allowed after unary operator: '-red'
(934,17): run-time error CSS1039: Token not allowed after unary operator: '-gray-700'
(939,17): run-time error CSS1039: Token not allowed after unary operator: '-black'
(947,17): run-time error CSS1039: Token not allowed after unary operator: '-black'
(971,17): run-time error CSS1039: Token not allowed after unary operator: '-gray-700'
(985,28): run-time error CSS1039: Token not allowed after unary operator: '-line'
(986,22): run-time error CSS1039: Token not allowed after unary operator: '-white'
(1006,17): run-time error CSS1039: Token not allowed after unary operator: '-gray-700'
(1011,22): run-time error CSS1039: Token not allowed after unary operator: '-white'
(1012,17): run-time error CSS1039: Token not allowed after unary operator: '-black'
(1013,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow'
(1022,35): run-time error CSS1039: Token not allowed after unary operator: '-line'
(1032,21): run-time error CSS1039: Token not allowed after unary operator: '-gray-900'
(1062,17): run-time error CSS1039: Token not allowed after unary operator: '-black'
(1077,28): run-time error CSS1039: Token not allowed after unary operator: '-red'
(1090,17): run-time error CSS1039: Token not allowed after unary operator: '-gray-500'
(1131,39): run-time error CSS1039: Token not allowed after unary operator: '-line'
(1185,38): run-time error CSS1039: Token not allowed after unary operator: '-max'
(1306,38): run-time error CSS1039: Token not allowed after unary operator: '-max'
 */
.legalperson {
    --red: #d80012;
    --red-dark: #b80010;
    --black: #151515;
    --gray-900: #222;
    --gray-700: #555;
    --gray-500: #8a8a8a;
    --gray-200: #eeeeee;
    --gray-100: #f7f7f7;
    --white: #ffffff;
    --line: rgba(0, 0, 0, 0.12);
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
    --max: 1180px;
}

    .legalperson .container {
        width: min(var(--max), calc(100% - 48px));
        margin: 0 auto;
    }

    .legalperson section-heading {
        display: block;
        width: min(var(--max), calc(100% - 48px));
        margin: 0 auto 20px;
    }

    .legalperson .section-head {
        width: min(var(--max), calc(100% - 40px));
        margin: 0 auto 20px;
    }

    .legalperson .eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        color: var(--red);
        font-weight: 800;
        letter-spacing: 0.08em;
        font-size: 13px;
        text-transform: uppercase;
    }

        .legalperson .eyebrow::before {
            content: "";
            width: 34px;
            height: 2px;
            background: var(--red);
        }

    .legalperson .section-title {
        margin-top: 18px;
        font-size: clamp(30px, 4vw, 54px);
        line-height: 1.18;
        letter-spacing: -0.03em;
        font-weight: 800;
    }

        .legalperson .section-title .text-red {
            color: var(--red);
        }

        .legalperson .section-title .text-black {
            color: var(--black);
        }

    .legalperson .section-desc {
        margin-top: 18px;
        color: var(--gray-700);
        font-size: 17px;
        max-width: 640px;
    }

    .legalperson .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 52px;
        padding: 0 22px;
        border-radius: 999px;
        border: 1px solid transparent;
        font-size: 18px;
        font-weight: 800;
        cursor: pointer;
        transition: 0.25s ease;
        white-space: nowrap;
    }

    .legalperson .btn-red {
        background: var(--red);
        color: var(--white);
    }

        .legalperson .btn-red:hover {
            background: var(--red-dark);
            transform: translateY(-2px);
        }

    .legalperson .btn-consult {
        min-width: 146px;
        border-radius: 0;
        font-size: 15px;
    }

    .legalperson .btn-white {
        background: var(--white);
        color: var(--black);
        border-color: rgba(0, 0, 0, 0.15);
    }

        .legalperson .btn-white:hover {
            border-color: var(--red);
            color: var(--red);
            transform: translateY(-2px);
        }

    .legalperson .menu-btn {
        display: none;
        width: 44px;
        height: 44px;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

        .legalperson .menu-btn span {
            display: block;
            width: 25px;
            height: 2px;
            margin: 6px auto;
            background: var(--black);
            transition: 0.25s;
        }

    .legalperson .hero {
        position: relative;
        min-height: 520px;
        display: flex;
        align-items: center;
        padding-top: 28px;
        overflow: hidden;
        background: linear-gradient( 90deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3) 30%, rgba(0, 0, 0, 0.02) ), url("../images/legalperson_hero_desktop.jpg");
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .legalperson .hero-content {
        position: relative;
        z-index: 2;
        width: min(800px, 100%);
        color: var(--white);
    }

    .legalperson .hero .eyebrow {
        color: #fff;
    }

        .legalperson .hero .eyebrow::before {
            background: var(--red);
        }

    .legalperson .hero h1 {
        font-size: clamp(42px, 6vw, 68px);
        line-height: 1.12;
        letter-spacing: -0.055em;
        font-weight: 900;
    }

        .legalperson .hero h1 span {
            color: #ff3140;
        }

        .legalperson .hero h1 .hero-title-small {
            color: inherit;
            font-size: calc(1em - 8px);
        }

    .legalperson .hero p {
        margin-top: 26px;
        max-width: 660px;
        color: rgba(255, 255, 255, 0.82);
        font-size: clamp(17px, 1.8vw, 20px);
        font-weight: bold;
    }

    .legalperson .hero-actions {
        margin-top: 46px;
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
    }

    .legalperson .hero-side {
        position: absolute;
        z-index: 3;
        right: 42px;
        bottom: 44px;
        color: rgba(255, 255, 255, 0.72);
        font-size: 12px;
        letter-spacing: 0.12em;
        writing-mode: vertical-rl;
    }

    .legalperson .legalperson-marquee {
        overflow: hidden;
        background: #050505;
        border-block: 1px solid rgba(255, 255, 255, 0.12);
    }

    .legalperson .marquee-track {
        display: flex;
        width: max-content;
        animation: legalpersonTicker var(--marquee-duration, 36s) linear infinite;
    }

    .legalperson .legalperson-marquee:hover .marquee-track {
        animation-play-state: paused;
    }

    .legalperson .marquee-group {
        display: flex;
        align-items: center;
        flex: 0 0 auto;
        gap: 44px;
        padding: 12px 44px 12px 0;
    }

        .legalperson .marquee-group p {
            margin: 0;
            color: #f2f4f7;
            font-size: 16px;
            font-weight: bold;
            line-height: 1.35;
            white-space: nowrap;
        }

            .legalperson .marquee-group p:nth-child(odd) {
                color: #e6c166;
            }

            .legalperson .marquee-group p:nth-child(even) {
                color: #f2f4f7;
            }

@keyframes legalpersonTicker {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(var(--marquee-distance, 50%) * -1));
    }
}

@media (prefers-reduced-motion: reduce) {
    .legalperson .marquee-track {
        animation: none;
    }
}

.legalperson .section {
    padding: 128px 0;
}

.legalperson .intro-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.4fr;
    gap: 84px;
    align-items: center;
}

.legalperson .intro-menu {
    margin-top: 42px;
    display: grid;
    gap: 12px;
    max-width: 360px;
}

    .legalperson .intro-menu button {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 20px 22px;
        border: 1px solid var(--line);
        background: var(--white);
        color: var(--gray-700);
        font-size: 18px;
        line-height: 1.35;
        font-weight: 800;
        cursor: pointer;
        text-align: left;
        transition: 0.25s ease;
    }

        .legalperson .intro-menu button span {
            position: relative;
            z-index: 1;
        }

        .legalperson .intro-menu button::after {
            content: "\2192";
            position: relative;
            z-index: 1;
            flex: 0 0 auto;
            margin-left: 16px;
            color: currentColor;
            font-size: 20px;
            line-height: 1;
        }

        .legalperson .intro-menu button small {
            display: block;
            margin-top: 3px;
            color: #aaa;
            font-size: 10px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .legalperson .intro-menu button.is-active,
        .legalperson .intro-menu button:hover {
            color: #000 !important;
            border-color: transparent;
            box-shadow: var(--shadow);
            transform: translateX(10px);
        }

            .legalperson .intro-menu button.is-active::before {
                content: "";
                position: absolute;
                left: 0;
                top: 0;
                width: 5px;
                height: 100%;
                background: var(--red);
            }

.legalperson .intro-visual {
    display: none;
    min-height: 520px;
    position: relative;
}

    .legalperson .intro-visual.is-active {
        display: block;
        background-color: transparent;
        border: none !important;
    }

.legalperson .visual-main {
    position: absolute;
    right: 0;
    top: 48px;
    width: 82%;
    height: 420px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
}

    .legalperson .visual-main img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.legalperson .visual-card {
    position: absolute;
    left: 0;
    bottom: 30px;
    width: 380px;
    padding: 34px;
    background: var(--white);
    box-shadow: var(--shadow);
}

    .legalperson .visual-card strong {
        display: block;
        font-size: 27px;
        line-height: 1.25;
        letter-spacing: -0.02em;
        color: #000;
    }

        .legalperson .visual-card strong span {
            color: var(--red);
        }

    .legalperson .visual-card p {
        margin-top: 16px;
        color: var(--gray-700);
        font-size: 15px;
    }

.legalperson .solution-bento {
    background: linear-gradient(180deg, #f7f7f7 0%, #efefef 100%);
}

.legalperson .service-targets {
    background: var(--white);
}

.legalperson .target-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: min(var(--max), calc(100% - 48px));
    margin: 42px auto 0;
    filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.1));
}

.legalperson .target-item {
    position: relative;
    min-height: 96px;
    padding: 24px 54px 22px 26px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--white);
}

    .legalperson .target-item + .target-item {
        margin-left: -1px;
    }

    .legalperson .target-item h3 {
        margin: 0;
        color: var(--black);
        padding-left: 12px;
        font-size: 20px;
        line-height: 1.25;
        font-weight: 900;
        border-left: 2px solid var(--red);
    }

    .legalperson .target-item p {
        margin-top: 8px;
        color: var(--gray-500);
        font-size: 11px;
        line-height: 1.2;
        letter-spacing: 0.14em;
        font-weight: 900;
        text-transform: uppercase;
    }

.legalperson .target-arrow {
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-700);
    font-size: 24px;
    line-height: 1;
}

.legalperson .institution-build {
    position: relative;
    overflow: hidden;
}

    .legalperson .institution-build > #c {
        position: absolute;
        inset: 0;
        z-index: 0;
        width: 100%;
        height: 100%;
        opacity: 0.28;
        pointer-events: none;
    }

    .legalperson .institution-build > .container {
        position: relative;
        z-index: 1;
    }

.legalperson .institution-grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1.9fr);
    gap: 40px;
    align-items: stretch;
}

.legalperson .institution-copy {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 462px;
    padding: 18px 0 6px;
}

    .legalperson .institution-copy h2 {
        color: #000;
        font-size: clamp(40px, 4.6vw, 54px);
        font-weight: bold;
        line-height: 1.12;
        letter-spacing: 0;
    }

        .legalperson .institution-copy h2 span {
            color: var(--red);
        }

    .legalperson .institution-copy .btn-consult {
        align-self: flex-start;
    }

.legalperson .institution-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.legalperson .institution-card {
    position: relative;
    min-height: 224px;
    overflow: hidden;
    padding: 22px 20px 26px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--white);
    color: var(--black);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

    .legalperson .institution-card:first-child {
        background: linear-gradient( 90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.3) ), url("../images/legalperson_pic1.png");
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .legalperson .institution-card:nth-child(2) {
        background: linear-gradient( 90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.3) ), url("../images/legalperson_pic2.png");
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .legalperson .institution-card:nth-child(3) {
        background: linear-gradient( 90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.3) ), url("../images/legalperson_pic3.png");
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .legalperson .institution-card:nth-child(4) {
        background: linear-gradient( 90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.3) ), url("../images/legalperson_pic4.png");
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }

.legalperson .institution-label {
    display: block;
    color: #ff241f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.legalperson .institution-icon {
    position: relative;
    display: block;
    width: 44px;
    height: 34px;
    margin: 18px 0 24px;
}

.legalperson .institution-icon-api::before,
.legalperson .institution-icon-api::after {
    content: "";
    position: absolute;
    border: 1px solid currentColor;
    border-radius: 2px;
}

.legalperson .institution-icon-api {
    color: #ff241f;
}

    .legalperson .institution-icon-api::before {
        left: 0;
        top: 8px;
        width: 17px;
        height: 10px;
    }

    .legalperson .institution-icon-api::after {
        left: 20px;
        top: 14px;
        width: 11px;
        height: 8px;
        border-color: #a27821;
    }

.legalperson .institution-card h3 {
    margin: 0;
    color: var(--black);
    font-size: 20px;
    line-height: 1.35;
    font-weight: bold;
}

.legalperson .institution-card p {
    margin-top: 4px;
    max-width: 390px;
    color: var(--gray-700);
    font-size: 18px;
    line-height: 1.35;
    text-shadow: 0 0 12px #ffffff, 0 0 16px #fff;
}

.legalperson .institution-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 18px;
}

    .legalperson .institution-tags span {
        display: inline-flex;
        align-items: center;
        min-height: 18px;
        padding: 3px 9px;
        border: 1px solid rgba(0, 0, 0, 0.12);
        color: var(--gray-700);
        font-size: 14px;
        letter-spacing: 0.04em;
    }

.legalperson .feature-showcase {
    background: linear-gradient(180deg, #f7f7f7 0%, #efefef 100%);
}

.legalperson .feature-showcase-top {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

    .legalperson .feature-showcase-top section-heading {
        width: auto;
        margin: 0;
    }

.legalperson .feature-controls {
    display: flex;
    gap: 8px;
    flex: 0 0 auto;
}

.legalperson .feature-swiper {
    overflow: hidden;
    padding: 4px 2px 42px;
}

.legalperson .feature-card {
    display: block;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--white);
    color: var(--black);
    text-decoration: none;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.08);
    transition: 0.25s ease;
}

    .legalperson .feature-card:hover {
        color: var(--black);
        transform: translateY(-6px);
        box-shadow: 0 24px 54px rgba(0, 0, 0, 0.12);
    }

    .legalperson .feature-card img {
        display: block;
        width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
    }

    .legalperson .feature-card h3 {
        overflow: hidden;
        padding: 18px 18px 20px;
        color: var(--black);
        font-size: 18px;
        line-height: 1.35;
        font-weight: 900;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.legalperson .feature-showcase .swiper-pagination {
    bottom: 0;
}

.legalperson .feature-showcase .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #c7c7c7;
    opacity: 1;
}

.legalperson .feature-showcase .swiper-pagination-bullet-active {
    width: 24px;
    border-radius: 999px;
    background: var(--red);
}

.legalperson .solution-bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    align-items: stretch;
}

.legalperson .bento-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.1);
}

    .legalperson .bento-card::after {
        content: "";
        position: absolute;
        left: 28px;
        bottom: 28px;
        display: block;
        width: 92px;
        height: 4px;
        border-radius: 999px;
        background: var(--red);
    }

.legalperson .bento-card-main::after,
.legalperson .bento-card-side:nth-child(2)::after {
    left: calc(50% + 14px);
}

.legalperson .bento-card h3 {
    color: var(--black);
    font-size: 26px;
    line-height: 1.35;
    font-weight: 800;
}

.legalperson .bento-card p {
    margin-top: 14px;
    color: var(--gray-700);
    font-size: 16px;
    line-height: 1.65;
}

.legalperson .bento-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.legalperson .bento-card-main {
    grid-column: span 12;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 28px;
    align-items: center;
    padding: 28px 28px 32px;
}

    .legalperson .bento-card-main .bento-pic {
        height: 280px;
        overflow: hidden;
        border-radius: 14px;
    }

.legalperson .bento-card-large {
    grid-column: span 6;
    padding: 30px 30px 54px;
}

    .legalperson .bento-card-large .bento-pic {
        margin-top: 14px;
        height: 316px;
        overflow: hidden;
        border-radius: 14px;
    }

.legalperson .bento-stack {
    grid-column: span 6;
    display: grid;
    gap: 20px;
}

.legalperson .bento-card-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: center;
    padding: 28px 28px 32px;
}

    .legalperson .bento-card-side .bento-pic {
        height: 172px;
        overflow: hidden;
        border-radius: 14px;
    }

    .legalperson .bento-card-side:nth-child(2) .bento-pic {
        order: -1;
    }

.legalperson .since {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient( 90deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.08) ), radial-gradient( circle at 25% 44%, rgba(255, 255, 255, 0.96), transparent 8% ), linear-gradient(135deg, #eef0ee, #b5c7bf 42%, #172330);
}

    .legalperson .since::before {
        content: "";
        position: absolute;
        left: 8%;
        top: 14%;
        width: 260px;
        height: 260px;
        border-radius: 50%;
        background: radial-gradient( circle, rgba(255, 255, 255, 0.92), rgba(255, 220, 92, 0.24) 32%, transparent 62% );
        box-shadow: 0 0 80px rgba(255, 255, 255, 0.55);
    }

.legalperson .since-box {
    position: relative;
    z-index: 2;
    width: min(680px, 100%);
    margin-left: auto;
    padding: 62px 70px;
    background: var(--red);
    color: var(--white);
    box-shadow: var(--shadow);
}

    .legalperson .since-box h2 {
        font-size: clamp(38px, 5vw, 64px);
        line-height: 1;
    }

    .legalperson .since-box p {
        margin-top: 22px;
        color: rgba(255, 255, 255, 0.86);
        max-width: 540px;
    }

.legalperson .team {
    background: var(--white);
}

.legalperson .team-top {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 28px;
}

.legalperson .team-controls {
    display: flex;
    gap: 8px;
}

.legalperson .circle-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--white);
    cursor: pointer;
    font-size: 18px;
    transition: 0.25s;
}

    .legalperson .circle-btn:hover {
        background: var(--red);
        color: var(--white);
        border-color: var(--red);
    }

.legalperson .team-slider {
    overflow: hidden;
}

.legalperson .team-track {
    display: flex;
    gap: 24px;
    transition: transform 0.45s ease;
}

.legalperson .member-card {
    flex: 0 0 calc((100% - 24px) / 2);
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 34px;
    align-items: center;
    min-height: 300px;
    padding: 30px;
    border: 1px solid var(--line);
    background: var(--white);
}

.legalperson .member-photo {
    height: 236px;
    position: relative;
    overflow: hidden;
}

.legalperson .member-info small {
    color: var(--red);
    font-weight: 900;
    letter-spacing: 0.12em;
}

.legalperson .member-info h3 {
    font-size: 30px;
    line-height: 1.2;
}

.legalperson .member-info dl {
    margin-top: 18px;
    display: grid;
    gap: 10px;
    color: var(--gray-700);
    font-size: 15px;
}

.legalperson .member-info dt {
    color: var(--black);
    font-weight: 900;
}

.legalperson .contact {
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, #f7f7f7, #efefef);
    color: var(--black);
}

    .legalperson .contact::before {
        content: "";
        position: absolute;
        right: -8%;
        top: -18%;
        width: 680px;
        height: 680px;
        border-radius: 50%;
        background: radial-gradient( circle, rgba(216, 0, 18, 0.12), transparent 62% );
    }

.legalperson .contact-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
    align-items: start;
}

.legalperson .contact .section-desc {
    color: var(--gray-700);
}

.legalperson .contact-methods {
    margin-top: 40px;
    display: grid;
    gap: 18px;
}

.legalperson .method {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px;
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08);
    color: inherit;
    text-decoration: none;
}

.legalperson .method-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
}

.legalperson .method b {
    display: block;
    font-size: 18px;
}

.legalperson .method span {
    display: block;
    margin-top: 6px;
    color: var(--gray-700);
}

.form-card {
    padding: 42px;
    background: var(--white);
    color: var(--black);
    box-shadow: var(--shadow);
}

.form-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 20px;
}

    .form-title h3 {
        font-size: 28px;
        line-height: 1.2;
    }

    .form-title span {
        color: var(--gray-900);
        font-size: 14px;
        font-weight: 900;
        letter-spacing: 0.12em;
    }

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.field.full {
    grid-column: 1 / -1;
}

.legalperson label {
    display: block;
    margin-bottom: 7px;
    font-size: 16px;
    font-weight: 900;
}

.legalperson input,
.legalperson select,
.legalperson textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid #d7d7d7;
    padding: 12px 14px;
    color: var(--black);
    background: #fff;
    font: inherit;
    outline: none;
    transition: 0.2s;
}

.legalperson textarea {
    min-height: 160px;
    resize: vertical;
}

    .legalperson input:focus,
    .legalperson select:focus,
    .legalperson textarea:focus {
        border-color: var(--red);
        box-shadow: 0 0 0 4px rgba(216, 0, 18, 0.08);
    }

.submit-row {
    margin-top: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.notice {
    color: var(--gray-500);
    font-size: 12px;
    line-height: 1.5;
}

.legalperson-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1000;
    display: block;
    width: 96px;
    height: 96px;
}

    .legalperson-float img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

@media (max-width: 1024px) {
    .nav-links,
    .nav-actions {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .nav-links.is-open {
        display: grid;
        position: fixed;
        top: 78px;
        left: 0;
        width: 100%;
        padding: 26px 24px;
        gap: 16px;
        background: #fff;
        border-bottom: 1px solid var(--line);
    }

    .intro-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .legalperson .intro-grid,
    .legalperson .contact-grid {
        grid-template-columns: 1fr;
    }

    .legalperson .member-card {
        flex-basis: 100%;
    }

    .legalperson .target-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .legalperson .institution-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .legalperson .institution-copy {
        min-height: auto;
        gap: 34px;
        padding: 0;
    }

    .legalperson .solution-bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .legalperson .bento-card-main,
    .legalperson .bento-card-large,
    .legalperson .bento-stack {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .legalperson-float {
        right: 16px;
        top: auto;
        bottom: 18px;
        width: 72px;
        height: 72px;
        transform: none;
    }

    .legalperson .container {
        width: min(100% - 32px, var(--max));
    }

    .legalperson .section {
        padding: 86px 0;
    }

    .legalperson .hero {
        min-height: 640px;
        align-items: flex-start;
        padding: 8px 0 56px;
        background: linear-gradient( 180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.28) 48%, rgba(0, 0, 0, 0) 100% ), url("../images/legalperson_hero_mobile.jpg");
        background-position: center top;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .legalperson .hero-content {
        width: 100%;
        padding-top: 28px;
    }

    .legalperson .hero h1 {
        font-size: 34px;
        line-height: 1.18;
        letter-spacing: 0;
    }

        .legalperson .hero h1 .hero-title-small {
            font-size: 24px;
        }

    .legalperson .hero p {
        margin-top: 18px;
        max-width: 100%;
        font-size: 15px;
        line-height: 1.75;
    }

    .legalperson .hero-actions {
        margin-top: 28px;
        gap: 10px;
    }

        .legalperson .hero-actions .btn {
            width: 100%;
            min-height: 46px;
            padding: 0 18px;
            font-size: 16px;
        }

    .legalperson .hero-side {
        display: none;
    }

    .intro-visual {
        min-height: 420px;
    }

    .visual-main {
        width: 100%;
        height: 330px;
    }

    .visual-card {
        width: calc(100% - 32px);
        left: 16px;
        bottom: 0;
    }

    .intro-grid {
        gap: 28px;
    }

    .intro-menu {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 26px;
        max-width: none;
    }

        .intro-menu button {
            min-height: 66px;
            padding: 12px 14px;
            font-size: 15px;
            line-height: 1.3;
        }

            .intro-menu button small {
                font-size: 9px;
            }

            .intro-menu button.is-active,
            .intro-menu button:hover {
                transform: none;
            }

    .intro-visual {
        min-height: 340px;
    }

    .visual-card {
        padding: 24px;
    }

        .visual-card strong {
            font-size: 22px;
        }

        .visual-card p {
            margin-top: 10px;
            font-size: 14px;
        }

    .legalperson .form-grid,
    .legalperson .footer-grid {
        grid-template-columns: 1fr;
    }

    .legalperson .target-list {
        grid-template-columns: 1fr;
        width: min(100% - 32px, var(--max));
        margin-top: 28px;
    }

    .legalperson .target-item {
        min-height: 88px;
        padding: 20px 48px 18px 22px;
    }

        .legalperson .target-item + .target-item {
            margin-left: 0;
            margin-top: -1px;
        }

        .legalperson .target-item h3 {
            font-size: 18px;
        }

    .legalperson .institution-grid {
        gap: 28px;
    }

    .legalperson .institution-copy h2 {
        font-size: 42px;
        line-height: 1.18;
    }

    .legalperson .institution-copy .btn-consult {
        width: 100%;
    }

    .legalperson .institution-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .legalperson .institution-card {
        min-height: auto;
        padding: 22px 18px 24px;
    }

    .legalperson .institution-icon {
        margin: 16px 0 22px;
    }

    .legalperson .feature-showcase-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .legalperson .feature-controls {
        align-self: flex-end;
    }

    .legalperson .feature-card h3 {
        padding: 16px;
        font-size: 17px;
    }

    .legalperson .solution-bento-grid,
    .legalperson .bento-card-main,
    .legalperson .bento-card-side {
        grid-template-columns: 1fr;
    }

    .legalperson .solution-bento-grid {
        gap: 16px;
    }

    .legalperson .bento-card {
        border-radius: 20px;
    }

    .legalperson .bento-card-main,
    .legalperson .bento-card-large,
    .legalperson .bento-card-side {
        padding: 20px 20px 46px;
    }

        .legalperson .bento-card-main .bento-pic,
        .legalperson .bento-card-large .bento-pic,
        .legalperson .bento-card-side .bento-pic {
            height: auto;
            aspect-ratio: 16 / 10;
        }

        .legalperson .bento-card-side:nth-child(2) .bento-pic {
            order: 0;
        }

        .legalperson .bento-card-main::after,
        .legalperson .bento-card-side:nth-child(2)::after,
        .legalperson .bento-card::after {
            left: 20px;
            bottom: 20px;
        }

    .legalperson .bento-card h3 {
        font-size: 23px;
    }

    .legalperson .bento-card p {
        font-size: 15px;
    }

    .legalperson .bento-card::after {
        width: 76px;
    }

    .legalperson .team-top {
        align-items: flex-start;
        gap: 18px;
        margin-bottom: 30px;
    }

    .legalperson .member-card {
        flex: 0 0 100%;
        grid-template-columns: 1fr;
        gap: 20px;
        min-height: auto;
        padding: 20px;
    }

    .legalperson .member-photo {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        max-height: 300px;
    }

    .since-box,
    .form-card {
        padding: 36px 24px;
    }

    .submit-row {
        align-items: stretch;
        flex-direction: column;
    }

        .submit-row .btn {
            width: 100%;
        }
}

