.ml-home-solution,
.ml-home-solution * {
    box-sizing: border-box;
}

.ml-home-solution {
    --ml-home-blue: #046eb8;
    --ml-home-text: #181818;
    --ml-home-light-blue: #89b8e2;
    --ml-home-bg: #c3d9f4;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 0;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 226px 0;
    height: 1242px;
    text-align: center;
    background:
        no-repeat var(--ml-home-solution-mask) center top / 100% auto,
        no-repeat var(--ml-home-solution-bg) center top -15px,
        var(--ml-home-bg);
    font-family: "Noto Sans TC", "Noto Sans JP", "Poppins", Helvetica, Arial, sans-serif;
}

.ml-home-solution a {
    color: inherit;
    text-decoration: none;
}

.ml-home-solution img {
    display: block;
    max-width: 100%;
}

.ml-home-solution__contentBox {
    position: relative;
    z-index: 1;
}

.ml-home-solution + * {
    position: relative;
}

.ml-home-solution + *::before,
.ml-home-solution-notch-target::before {
    content: "";
    position: absolute;
    top: -131px;
    left: 0;
    width: 100%;
    height: 131px;
    -webkit-mask: no-repeat url("/wp-content/uploads/2025/09/insMask.png") center bottom / 100% auto;
    mask: no-repeat url("/wp-content/uploads/2025/09/insMask.png") center bottom / 100% auto;
    background:
        no-repeat url("/wp-content/uploads/2026/03/line4.png") left 36px top,
        no-repeat url("/wp-content/uploads/2026/03/line4.png") right 36px top,
        no-repeat url("/wp-content/uploads/2026/03/line4.png") center top,
        #fff;
    pointer-events: none;
    z-index: 1;
}

.ml-home-solution-notch-target {
    position: relative;
}

.ml-home-solution__contentBox::after {
    content: "";
    position: absolute;
    top: 216px;
    left: 182px;
    width: 249px;
    height: 94px;
    background: no-repeat center / contain var(--ml-home-solution-dot);
    z-index: 2;
}

.ml-home-solution__titleBox {
    margin-bottom: 50px;
}

.ml-home-solution__titleBox em {
    display: block;
    margin: 0;
    font-family: "Poppins", "Noto Sans TC", sans-serif;
    font-style: normal;
    font-size: 50px;
    line-height: normal;
    font-weight: 500;
    text-transform: uppercase;
    color: #046eb8;
}

.ml-home-solution__titleBox h2 {
    position: relative;
    display: inline-block;
    margin: 0;
    padding-bottom: 17px;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 400;
    color: var(--ml-home-text);
    letter-spacing: 1.2px;
}

.ml-home-solution__titleBox h2::before,
.ml-home-solution__titleBox h2::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.ml-home-solution__titleBox h2::before {
    bottom: 0;
    width: 81px;
    height: 1px;
    background-color: var(--ml-home-blue);
}

.ml-home-solution__titleBox h2::after {
    content: "";
    bottom: -1px;
    width: 26px;
    height: 3px;
    background-color: var(--ml-home-blue);
}

.ml-home-solution__viewport {
    position: relative;
}

.ml-home-solution__list {
    position: relative;
    top: -241px;
    z-index: 1;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ml-home-solution__item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.ml-home-solution__item:first-child {
    position: relative;
}

.ml-home-solution__itemInner {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1024px;
    height: 1024px;
    margin: 0 auto;
}

.ml-home-solution__image {
    position: absolute;
    border-radius: 999px;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.ml-home-solution__image img {
    width: 440px;
    height: 440px;
    object-fit: cover;
}

.ml-home-solution__nodeBox {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.ml-home-solution__posBox {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90.5%;
    height: 0;
    transform: translate(-50%, -50%) rotate(0deg);
}

.ml-home-solution__node {
    position: absolute;
    top: 50%;
    right: 0;
    width: 133px;
    height: 133px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #fff;
    transform: translateY(-50%);
    cursor: pointer;
    pointer-events: auto;
    transition: 0.5s;
}

.ml-home-solution__node::before,
.ml-home-solution__node::after {
    content: "";
    position: absolute;
    border-radius: 999px;
}

.ml-home-solution__node::before {
    top: 50%;
    left: -48px;
    width: 24px;
    height: 24px;
    background-color: var(--ml-home-blue);
    border: 8px solid #fff;
    transform: translateY(-50%);
    transition: 0.5s;
}

.ml-home-solution__node::after {
    top: 50%;
    left: 50%;
    width: 153px;
    height: 153px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    transform: translate(-50%, -50%);
}

.ml-home-solution__nodeContent {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 12px;
    transform: rotate(0deg);
}

.ml-home-solution__nodeContent img {
    width: auto;
    max-width: 58px;
    max-height: 44px;
    transition: filter 0.5s;
}

.ml-home-solution__nodeContent span {
    display: block;
    max-width: 90px;
    font-size: 18px;
    line-height: 1.35;
    color: var(--ml-home-text);
    transition: color 0.5s;
}

.ml-home-solution__textCard {
    position: absolute;
    top: 206px;
    left: -149px;
    z-index: 2;
    width: 410px;
    min-height: 416px;
    padding: 48px 69px 60px;
    background:
        no-repeat var(--ml-home-solution-txt-top) center top,
        no-repeat var(--ml-home-solution-txt-bottom) center bottom transparent;
    opacity: 0;
    pointer-events: none;
    text-align: left;
    transition: opacity 0.5s ease;
}

.ml-home-solution__textCard::after {
    content: "";
    position: absolute;
    top: 70px;
    left: 0;
    z-index: -1;
    width: 100%;
    height: calc(100% - 140px);
    background: repeat var(--ml-home-solution-txt-repeat) center top 150px;
}

.ml-home-solution__number {
    display: flex;
    align-items: center;
    gap: 27px;
    margin-bottom: 6px;
    padding-top: 8px;
    font-family: "Poppins", "Noto Sans TC", sans-serif;
}

.ml-home-solution__number span {
    color: rgba(4, 110, 184, 0.3);
    font-size: 60px;
    line-height: 1.2;
    font-weight: 400;
}

.ml-home-solution__textTitle {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    padding-left: 4px;
    color: var(--ml-home-blue);
}

.ml-home-solution__textTitle span {
    font-size: 15px;
    line-height: 1.4;
    letter-spacing: 0.2px;
}

.ml-home-solution__textTitle span:first-child {
    font-size: 25px;
    letter-spacing: 1px;
}

.ml-home-solution__excerpt {
    margin-bottom: 40px;
    padding-right: 4px;
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: 1px;
    color: var(--ml-home-text);
}

.ml-home-solution__button {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    width: 208px;
    height: 47px;
    padding: 0 19px 0 16px;
    border: 0 !important;
    border-radius: 999px;
    background-color: var(--ml-home-blue) !important;
    color: #fff !important;
    font-family: "Poppins", "Noto Sans TC", sans-serif;
    font-size: 14px;
    font-weight: 300;
    font-style: normal;
    line-height: 1;
    letter-spacing: 0.66px;
    text-decoration: none !important;
    text-transform: none;
    box-shadow: none;
    transition: 0.5s;
}

.ml-home-solution__button:hover {
    color: var(--ml-home-blue) !important;
    background-color: #fff !important;
    box-shadow: 0 0 12px rgba(4, 110, 184, 0.23);
}

.ml-home-solution__button svg {
    width: 22px;
    height: 22px;
}

.ml-home-solution__button svg polyline,
.ml-home-solution__button svg line {
    stroke: currentColor;
    transition: 0.5s;
}

.ml-home-solution__item.active .ml-home-solution__image,
.ml-home-solution__item.active .ml-home-solution__textCard {
    opacity: 1;
    pointer-events: auto;
}

.ml-home-solution__item.active .ml-home-solution__node {
    background-color: var(--ml-home-blue);
    border: 1px solid #fff;
    box-shadow: 0 0 0 9px var(--ml-home-blue);
}

.ml-home-solution__item.active .ml-home-solution__node::before {
    background-color: #fff;
    border-color: var(--ml-home-blue);
    box-shadow: 0 0 6px rgba(4, 110, 184, 0.25);
}

.ml-home-solution__item.active .ml-home-solution__node::after {
    border-color: transparent;
}

.ml-home-solution__item.active .ml-home-solution__nodeContent img {
    filter: grayscale(1) invert(1) brightness(5);
}

.ml-home-solution__item.active .ml-home-solution__nodeContent span {
    color: #fff;
}

.ml-home-solution__dotBox {
    position: absolute;
    top: 19%;
    right: -181px;
}

.ml-home-solution__dotBox ul {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0;
    padding: 14px 0 14px 6px;
    min-height: 232px;
    list-style: none;
    font-size: 17px;
    color: var(--ml-home-light-blue);
}

.ml-home-solution__dotBox li {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 1px 0;
    cursor: pointer;
}

.ml-home-solution__dotBox li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -10px;
    width: 15px;
    height: 3px;
    background-color: var(--ml-home-light-blue);
    transform: translateY(-50%);
}

.ml-home-solution__dotBox li:nth-of-type(2),
.ml-home-solution__dotBox li:nth-of-type(6) {
    margin-left: 5px;
}

.ml-home-solution__dotBox li:nth-of-type(3),
.ml-home-solution__dotBox li:nth-of-type(5) {
    margin-left: 7px;
}

.ml-home-solution__dotBox li:nth-of-type(4) {
    margin-left: 9px;
}

.ml-home-solution__dotBox li.active {
    color: var(--ml-home-blue);
    font-size: 22px;
    font-weight: 500;
}

.ml-home-solution__dotBox li.active::before {
    background-color: var(--ml-home-blue);
}

.ml-home-solution__dotArrow,
.ml-home-solution__arrow {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 56px;
    height: 56px;
    margin: 10px 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background-color: var(--ml-home-blue);
    color: #fff;
    cursor: pointer;
    position: relative;
    transition: 0.5s;
}

.ml-home-solution__dotArrow::after,
.ml-home-solution__arrow::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 71px;
    height: 71px;
    border: 1px solid rgba(4, 110, 184, 0.2);
    border-radius: 999px;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.5s;
}

.ml-home-solution__dotArrow svg,
.ml-home-solution__arrow svg {
    width: 4.734px;
    height: 8.021px;
}

.ml-home-solution__dotArrow--prev svg {
    transform: rotate(-90deg);
}

.ml-home-solution__dotArrow--next svg {
    transform: rotate(90deg);
}

.ml-home-solution__dotArrow:hover,
.ml-home-solution__arrow:hover {
    background-color: #fff;
    color: var(--ml-home-blue);
}

.ml-home-solution__dotArrow:hover::after,
.ml-home-solution__arrow:hover::after {
    opacity: 1;
}

.ml-home-solution__arrowBox {
    display: none;
}

.ml-home-solution__circles {
    position: absolute;
    top: 670px;
    left: 49.8%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1578px;
    height: 1578px;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.ml-home-solution__circle {
    position: absolute;
}

.ml-home-solution__circle--c1 {
    background: no-repeat center / contain var(--ml-home-solution-circle-center);
}

.ml-home-solution__circle--c1 img {
    width: 839px;
    animation: ml-home-solution-rotate 16s linear infinite;
}

.ml-home-solution__circle--c2 img {
    animation: ml-home-solution-rotate 10s linear infinite;
}

.ml-home-solution__circle--c3 {
    animation: ml-home-solution-rotate 14s linear infinite;
}

@keyframes ml-home-solution-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (max-width: 1600px) {
    .ml-home-solution__dotBox {
        right: -140px;
    }
}

@media (max-width: 1400px) {
    .ml-home-solution {
        height: 1200px;
        padding: 180px 0 200px;
        background:
            no-repeat var(--ml-home-solution-mask) center top / 100% auto,
            no-repeat var(--ml-home-solution-bg) center top -80px,
            var(--ml-home-bg);
    }

    .ml-home-solution__contentBox::after {
        top: 229px;
    }

    .ml-home-solution__circles {
        top: 625px;
    }

    .ml-home-solution__dotBox {
        right: -60px;
    }

    .ml-home-solution__posBox {
        width: 85%;
    }

    .ml-home-solution__image img {
        width: 420px;
        height: 420px;
    }

    .ml-home-solution__node {
        width: 124px;
        height: 124px;
    }

    .ml-home-solution__node::after {
        width: 144px;
        height: 144px;
    }

    .ml-home-solution__nodeContent span {
        font-size: 16px;
    }

    .ml-home-solution__textCard {
        top: 260px;
        left: -110px;
    }
}

@media (max-width: 1300px) {
    .ml-home-solution__textCard {
        left: -70px;
    }
}

@media (max-width: 1200px) {
    .ml-home-solution {
        height: auto;
        padding: 120px 0;
        background:
            no-repeat var(--ml-home-solution-mask) center top / 100% auto,
            no-repeat var(--ml-home-solution-bg) center top -185px,
            var(--ml-home-bg);
    }

    .ml-home-solution + *::before,
    .ml-home-solution-notch-target::before {
        background:
            repeat-y url("/wp-content/uploads/2026/03/line4.png") left 20px top,
            repeat-y url("/wp-content/uploads/2026/03/line4.png") right 20px top,
            repeat-y url("/wp-content/uploads/2026/03/line4.png") center top,
            #fff;
    }

    .ml-home-solution__contentBox {
        width: 100%;
    }

    .ml-home-solution__contentBox::after,
    .ml-home-solution__dotBox,
    .ml-home-solution__nodeBox {
        display: none;
    }

    .ml-home-solution__viewport {
        overflow: hidden;
        width: 100%;
    }

    .ml-home-solution__list {
        top: 0;
        display: flex;
        transition: transform 0.35s ease;
    }

    .ml-home-solution__item,
    .ml-home-solution__item:first-child {
        position: static;
        flex: 0 0 100%;
        width: 100%;
    }

    .ml-home-solution__itemInner {
        display: flex;
        flex-direction: column;
        width: auto;
        height: auto;
    }

    .ml-home-solution__image {
        position: static;
        opacity: 1;
    }

    .ml-home-solution__image img {
        width: 400px;
        height: 400px;
        margin: 0 auto;
    }

    .ml-home-solution__textCard {
        position: relative;
        top: 0;
        left: 0;
        margin: 80px auto 0;
        opacity: 1;
        pointer-events: auto;
    }

    .ml-home-solution__arrowBox {
        position: absolute;
        top: 31%;
        left: 50%;
        z-index: 2;
        display: flex;
        justify-content: space-between;
        width: calc(100% - 32px);
        max-width: 650px;
        height: 0;
        padding: 0 16px;
        transform: translateX(-50%);
    }

    .ml-home-solution__arrow--prev {
        transform: rotate(180deg);
    }

    .ml-home-solution__circles {
        top: 495px;
    }
}

@media (max-width: 960px) {
    .ml-home-solution {
        background:
            no-repeat var(--ml-home-solution-mask) center top / 100% auto,
            no-repeat var(--ml-home-solution-bg) center top -245px,
            var(--ml-home-bg);
    }
}

@media (max-width: 900px) {
    .ml-home-solution__circles {
        top: 445px;
    }

    .ml-home-solution__circle img {
        width: 70%;
        margin: 0 auto;
    }

    .ml-home-solution__arrowBox {
        top: 29%;
        max-width: 500px;
    }

    .ml-home-solution__image img {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 840px) {
    .ml-home-solution {
        padding: 100px 0;
        background:
            no-repeat var(--ml-home-solution-mask) center top / 100% auto,
            no-repeat var(--ml-home-solution-bg) center top -265px,
            var(--ml-home-bg);
    }

    .ml-home-solution__circles {
        top: 425px;
    }
}

@media (max-width: 540px) {
    .ml-home-solution__textCard {
        margin-top: 60px;
    }

    .ml-home-solution__textTitle span:first-child {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .ml-home-solution {
        padding: 80px 0 50px;
        background:
            no-repeat var(--ml-home-solution-mask) center top / 100% auto,
            no-repeat var(--ml-home-solution-bg) center top -285px,
            var(--ml-home-bg);
    }

    .ml-home-solution__titleBox {
        margin-bottom: 70px;
    }

    .ml-home-solution__titleBox em {
        font-size: 42px;
    }

    .ml-home-solution__titleBox h2 {
        font-size: 16px;
    }

    .ml-home-solution__circles {
        top: 405px;
    }

    .ml-home-solution__textCard {
        width: 360px;
        padding: 48px 60px 60px;
        background:
            no-repeat var(--ml-home-solution-txt-top) center top / 100%,
            no-repeat var(--ml-home-solution-txt-bottom) center bottom / 100% transparent;
    }

    .ml-home-solution__textCard::after {
        top: 61px;
        height: calc(100% - 122px);
        background: repeat var(--ml-home-solution-txt-repeat) center top / 100%;
    }
}

@media (min-width: 1921px) {
    .ml-home-solution + *::before,
    .ml-home-solution-notch-target::before {
        -webkit-mask: no-repeat url("/wp-content/uploads/2025/09/insMask.png") center bottom / 100% 100%;
        mask: no-repeat url("/wp-content/uploads/2025/09/insMask.png") center bottom / 100% 100%;
        background:
            repeat-y url("/wp-content/uploads/2026/03/line4.png") left 36px top,
            repeat-y url("/wp-content/uploads/2026/03/line4.png") right 36px top,
            repeat-y url("/wp-content/uploads/2026/03/line4.png") center top,
            #fff;
    }
}

@media (max-width: 374px) {
    .ml-home-solution__textCard {
        width: 320px;
    }

    .ml-home-solution__textCard::after {
        top: 55px;
        height: calc(100% - 109px);
    }
}
