#index #main #top_welcome {
    margin-bottom: 56px;
}

#index #main #top_welcome.container {
    max-width: 1680px;
}

#index #main #top_welcome .fusion-wrap {
    display: block; /* Change layout to vertical stacking */
    gap: 0; /* Remove gap between elements */
    max-width: 1200px; /* Set a maximum width for the container */
    margin: 0 auto; /* Center the container */
    text-align: center; /* Center align content */
}

#index #main #top_welcome .fusion-diagram,
#index #main #top_welcome .fusion-copy {
    margin: 0 auto; /* Center align individual elements */
    text-align: left; /* Ensure text inside remains left-aligned */
    margin-bottom: 20px; /* Add spacing between stacked elements */
    width: 100%; /* Ensure full width for each element */
    max-width: 100%; /* Ensure elements do not exceed the container width */
}

#index #main #top_welcome .fusion-wrap .fusion-diagram {
    flex: 0 0 auto; /* Allow the diagram to resize dynamically */
    max-width: 100%; /* Ensure it doesn't exceed the container width */
    min-width: 0; /* Remove the minimum width constraint */
}

#index #main #top_welcome .fusion-diagram {
    overflow: visible; /* Allow content to overflow if necessary */
    background: #fff;
    border-radius: 14px;
    padding: 32px 40px 24px; /* Increased horizontal padding for more space */
    position: relative;
    z-index: 1;
}

#index #main #top_welcome .fusion-diagram__top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

#index #main #top_welcome .fusion-circle {
    width: 320px;
    min-height: 320px;
    flex: 0 0 320px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid transparent;
    padding: 22px 30px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

#index #main #top_welcome .fusion-circle::before,
#index #main #top_welcome .fusion-circle::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    pointer-events: none;
}

#index #main #top_welcome .fusion-circle--social::before {
    border: 2px solid #dd9d82;
}

#index #main #top_welcome .fusion-circle--social::after {
    border: 2px solid #e9b39d;
    transform: translate(6px, -6px);
}

#index #main #top_welcome .fusion-circle--info::before {
    border: 2px solid #7dc6ea;
}

#index #main #top_welcome .fusion-circle--info::after {
    border: 2px solid #a7dbf3;
    transform: translate(-6px, -6px);
}

#index #main #top_welcome .fusion-circle h3 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 12px;
    letter-spacing: 0.03em;
}

#index #main #top_welcome .fusion-circle p {
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.42;
    margin: 0;
    letter-spacing: 0.02em;
}

#index #main #top_welcome .fusion-cross {
    width: 86px;
    height: 86px;
    transform: translateY(-4px);
    flex: 0 0 auto;
}

#index #main #top_welcome .fusion-cross svg {
    width: 100%;
    height: 100%;
    display: block;
}

#index #main #top_welcome .fusion-diagram__links {
    width: 100%;
    height: 106px;
    display: block;
    margin-top: -4px;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

#index #main #top_welcome .fusion-diagram__bottom {
    display: flex;
    justify-content: center;
    gap: 14px;
    position: relative;
    z-index: 2;
}

#index #main #top_welcome .fusion-skill {
    width: calc((100% - 28px) / 3);
    min-height: 128px;
    background: #fff;
    border-radius: 10px;
    border: 2px solid transparent;
    padding: 16px 14px;
    text-align: center;
    box-sizing: border-box;
    position: relative;
}

#index #main #top_welcome .fusion-skill::before,
#index #main #top_welcome .fusion-skill::after {
    content: "";
    position: absolute;
    left: -2px;
    right: -2px;
    top: -2px;
    bottom: -2px;
    border-radius: 8px;
    pointer-events: none;
}

#index #main #top_welcome .fusion-skill::before {
    border: 2px solid #d9d9d9;
}

#index #main #top_welcome .fusion-skill::after {
    border: 2px solid #d9d9d9;
    transform: translate(5px, -5px);
}

#index #main #top_welcome .fusion-skill h4 {
    font-size: clamp(2rem, 2.5vw, 2.9rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 8px;
    position: relative;
    display: inline-block;
    padding: 0 6px;
    white-space: nowrap;
    z-index: 1;
}

@media screen and (min-width: 1700px) {
    #index #main #top_welcome .fusion-skill h4 {
        font-size: 2.4rem;
    }

    #index #main #top_welcome .fusion-copy {
        margin-inline: 48px;
    }
}

#index #main #top_welcome .fusion-skill h4 .fusion-label {
    position: relative;
    z-index: 2;
}

#index #main #top_welcome .fusion-skill p {
    font-size: 1.1rem;
    line-height: 1.4;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.02em;
}

#index #main #top_welcome .fusion-skill--business {
    border-color: #f0bf2f;
}

#index #main #top_welcome .fusion-skill--business::before {
    border-color: #f3cc62;
}

#index #main #top_welcome .fusion-skill--business::after {
    border-color: #f0bf2f;
}

#index #main #top_welcome .fusion-skill--business h4::before {
    content: "";
    position: absolute;
    left: 4px;
    right: 4px;
    bottom: 4px;
    height: 14px;
    background: rgba(242, 191, 46, 0.36);
    transform: skewX(-24deg);
    z-index: 0;
}

#index #main #top_welcome .fusion-skill--implementation {
    border-color: #8ec06b;
}

#index #main #top_welcome .fusion-skill--implementation::before {
    border-color: #acd48f;
}

#index #main #top_welcome .fusion-skill--implementation::after {
    border-color: #8ec06b;
}

#index #main #top_welcome .fusion-skill--implementation h4::before {
    content: "";
    position: absolute;
    left: 4px;
    right: 4px;
    bottom: 4px;
    height: 14px;
    background: rgba(142, 193, 107, 0.35);
    transform: skewX(-24deg);
    z-index: 0;
}

#index #main #top_welcome .fusion-skill--technology {
    border-color: #37a6e2;
}

#index #main #top_welcome .fusion-skill--technology::before {
    border-color: #78c5ec;
}

#index #main #top_welcome .fusion-skill--technology::after {
    border-color: #37a6e2;
}

#index #main #top_welcome .fusion-skill--technology h4::before {
    content: "";
    position: absolute;
    left: 4px;
    right: 4px;
    bottom: 4px;
    height: 14px;
    background: rgba(53, 166, 226, 0.32);
    transform: skewX(-24deg);
    z-index: 0;
}

/* Adjusting padding for fusion-copy to provide more space for text */
#index #main #top_welcome .fusion-copy {
    padding: 40px 50px; /* Increased padding for better spacing */
    margin-inline: 50px; /* Added more margin to the sides */
}

@media screen and (max-width: 1100px) {
    #index #main #top_welcome.container {
        max-width: 1200px;
    }

    #index #main #top_welcome .fusion-wrap {
        gap: 30px;
    }

    #index #main #top_welcome .fusion-wrap .fusion-diagram {
        flex-basis: 58%;
        min-width: 640px;
    }

    #index #main #top_welcome .fusion-copy {
        min-width: 280px;
        padding-right: 50px;
        padding-left: 50px;
        padding-top: 16px;
    }

    #index #main #top_welcome .fusion-copy h2 {
        margin-bottom: 18px;
    }

    #index #main #top_welcome .fusion-copy p {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }

    #index #main #top_welcome .fusion-circle {
        width: 300px;
        min-height: 300px;
        padding: 20px 26px;
    }

    #index #main #top_welcome .fusion-circle h3 {
        font-size: 1.8rem;
    }

    #index #main #top_welcome .fusion-circle p {
        font-size: 1.02rem;
    }

    #index #main #top_welcome .fusion-skill h4 {
        font-size: clamp(2.4rem, 4vw, 3rem);
    }

    #index #main #top_welcome .fusion-skill p {
        font-size: 1rem;
    }
}

@media screen and (max-width: 1180px) {
    #index #main #top_welcome .fusion-wrap {
        flex-direction: column;
        gap: 22px;
    }

    #index #main #top_welcome .fusion-wrap .fusion-diagram {
        flex-basis: auto;
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    #index #main #top_welcome .fusion-copy {
        width: 100%;
        min-width: 0;
        padding-top: 0;
        margin-inline: 16px;

    }

    #index #main #top_welcome .fusion-copy h2 {
        font-size: clamp(1.7rem, 5.5vw, 2.7rem);
        margin-bottom: 14px;
    }

    #index #main #top_welcome .fusion-copy p {
        font-size: 1.45rem;
        line-height: 1.6;
    }
}

@media screen and (max-width: 860px) {
    #index #main #top_welcome {
        margin-bottom: 24px;
    }

    #index #main #top_welcome .fusion-diagram {
        padding: 20px 4px 8px;
        overflow: visible;
    }

    #index #main #top_welcome .fusion-diagram__top {
        width: 100%;
        gap: 1vw;
        margin-bottom: 12px;
        align-items: center;
    }

    #index #main #top_welcome .fusion-diagram__links {
        display: block;
        width: 100%;
        height: 72px;
        margin-top: 0;
        margin-bottom: 2px;
    }

    #index #main #top_welcome .fusion-diagram__bottom {
        width: 100%;
        flex-direction: row;
        gap: 2.2vw;
    }

    #index #main #top_welcome .fusion-circle {
        flex: 0 0 calc((100% - 6.4vw - 1vw) / 2);
        width: calc((100% - 6.4vw - 1vw) / 2);
        min-height: auto;
        aspect-ratio: 1 / 1;
        padding: 14px 10px 16px;
        overflow: visible;
    }

    #index #main #top_welcome .fusion-circle--social {
        padding-left: 14px;
        padding-right: 14px;
    }

    #index #main #top_welcome .fusion-circle h3 {
        font-size: clamp(0.96rem, 4.2vw, 1.28rem);
        margin: 0 0 8px;
    }

    #index #main #top_welcome .fusion-circle p {
        font-size: clamp(0.64rem, 2.15vw, 0.82rem);
        line-height: 1.42;
        word-break: normal;
        overflow-wrap: anywhere;
    }

    #index #main #top_welcome .fusion-cross {
        width: 6.4vw;
        height: 6.4vw;
        min-width: 26px;
        min-height: 26px;
        transform: none;
    }

    #index #main #top_welcome .fusion-skill {
        width: calc((100% - 4.4vw) / 3);
        min-height: 0;
        padding: 10px 8px 9px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    #index #main #top_welcome .fusion-skill h4 {
        font-size: clamp(0.9rem, 4.1vw, 1.2rem);
        line-height: 1.15;
        margin: 0 0 5px;
        padding: 0 2px;
        white-space: nowrap;
        word-break: normal;
        overflow-wrap: normal;
    }

    #index #main #top_welcome .fusion-skill p {
        font-size: clamp(0.62rem, 2.35vw, 0.8rem);
        line-height: 1.35;
        word-break: normal;
        overflow-wrap: normal;
    }

    #index #main #top_welcome .fusion-skill--business h4::before,
    #index #main #top_welcome .fusion-skill--implementation h4::before,
    #index #main #top_welcome .fusion-skill--technology h4::before {
        left: 2px;
        right: 2px;
        bottom: 2px;
        height: 9px;
    }

    #index #main #top_welcome .fusion-copy {
        padding: 0 16px;
    }

    #index #main #top_welcome .fusion-copy h2 {
        margin-bottom: 12px;
    }

    #index #main #top_welcome .fusion-copy p {
        font-size: 1.15rem;
        line-height: 1.7;
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 520px) {
    #index #main #top_welcome {
        margin-bottom: 18px;
    }

    #index #main #top_welcome .fusion-diagram__links {
        height: 54px;
    }

    #index #main #top_welcome .fusion-circle {
        padding: 12px 20px 20px;
    }

    #index #main #top_welcome .fusion-circle--social {
        padding-left: 24px;
        padding-right: 24px;
    }

    #index #main #top_welcome .fusion-skill {
        min-height: 0;
    }

    #index #main #top_welcome .fusion-skill h4 {
        font-size: clamp(0.86rem, 4.2vw, 1.08rem);
    }

    #index #main #top_welcome .fusion-skill p {
        font-size: clamp(0.6rem, 2.3vw, 0.74rem);
    }

    #index #main #top_welcome .fusion-copy h2 {
        font-size: clamp(1.35rem, 5.3vw, 1.75rem);
        line-height: 1.45;
    }

    #index #main #top_welcome .fusion-copy p {
        font-size: 0.98rem;
        line-height: 1.7;
    }
}

/* Adjusting alignment and spacing for fusion-diagram and fusion-copy */
#index #main #top_welcome .fusion-wrap {
    max-width: 1200px; /* Ensure consistent max-width */
    margin: 0 auto; /* Center align the container */
    text-align: center; /* Center align content */
}

#index #main #top_welcome .fusion-diagram,
#index #main #top_welcome .fusion-copy {
    margin: 0 auto; /* Center align individual elements */
    text-align: left; /* Ensure text inside remains left-aligned */
}

/* Adding more space between fusion-diagram and the content below */
#index #main #top_welcome .fusion-diagram {
    margin-bottom: 40px; /* Increased bottom margin for more spacing */
}
