#webService {
    width: 100%;
    counter-reset: item-num;
}

#webService .item {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

#webService .item:nth-child(even) {
    flex-direction: row-reverse;
}

#webService .item~.item {
    margin-top: 250px;
}

#webService .text {
    max-width: 46vw;
}

#webService .text h2 {
    font-size: var(--f55);
    line-height: 1.35;
}

#webService .text p {
    margin-top: 25px;
    font-size: var(--f20);
    font-weight: 400;
    line-height: 1.75;
    word-break: keep-all;
    color: #aaa;
}

#webService .image {
    position: relative;
    width: clamp(400px, 26.04166vw, 500px);
    height: auto;
    aspect-ratio: 5 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

#webService .image svg {
    height: 100%;
    overflow: unset;
}

#webService .image svg.absolute {
    position: absolute;
    top: 0;
    left: 0;
}

#webService .fill {
    fill: #fad414;
}

#webService .stroke {
    fill: none;
    stroke: #fff;
    stroke-width: 1.5px;
    stroke-miterlimit: 10;
}

#webService .web-01 .stroke {
    animation: shape-rotate 10s linear infinite alternate;
    transform-origin: right center;
}

#webService .web-02 {
    animation: shape-shake 1s infinite alternate;
}

#webService .web-03 .fill {
    animation: shape-rotate-2 8s linear infinite alternate;
    transform-origin: top center;
}

#webService .web-04 {
    animation: shape-rotate-360 20s linear infinite alternate;
}

#webService .web-04 .rect-fill {
    animation: shape-color-rotate 5s linear infinite alternate;
}

@keyframes shape-rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-90deg);
    }
}

@keyframes shape-rotate-2 {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-30deg);
    }

    50% {
        transform: rotate(0deg);
    }

    75% {
        transform: rotate(30deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@keyframes shape-rotate-360 {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


@keyframes shape-shake {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-5deg);
    }
}

@keyframes shape-color-rotate {
    0% {
        fill: #f6eee8;
    }

    50% {
        fill: #fad414;
    }

    100% {
        fill: #f6eee8;
    }
}

#webAddition {
    counter-reset: item-num;
}

#webAddition .addition-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--row-gap) var(--grid-gap);
}

#webAddition .item {
    position: relative;
    background-color: var(--box-color);
    border-radius: 40px 0;
    padding: 40px 45px;
    transition: all .3s;
}

#webAddition .item .icon img {
    margin: 0 0 0 auto;
    margin-top: 55px;
    width: fit-content;
    height: 50px;
}

/* 1440px ~ */
@media all and (min-width: 1440px) {
    #webAddition .item:hover {
        rotate: 3deg;
        background-color: #000;
    }

    #webAddition .item:nth-child(even):hover {
        rotate: -3deg;
    }
}

/* Laptop ( 1024px ~ 1440px)*/
@media all and (min-width: 1024px) and (max-width: 1440px) {
    #webAddition .addition-wrap {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet ( 768px ~ 1023px)*/
@media all and (min-width: 768px) and (max-width: 1023px) {
    #webService .item {
        flex-direction: column;
        row-gap: 65px;
    }

    #webService .item:nth-child(even) {
        flex-direction: column;
    }

    #webService .item~.item {
        margin-top: 200px;
    }

    #webService .text {
        max-width: 100%;
        text-align: center;
    }

    #webService .text .keyword-tag {
        justify-content: center;
    }

    #webService .image {
        width: clamp(250px, 35vw, 350px);
    }

    #webAddition .addition-wrap {
        grid-template-columns: repeat(2, 1fr);
    }

    #webAddition .item .icon img {
        margin-top: 40px;
        height: 45px;
    }
}

/* Mobile ( ~ 767px)*/
@media all and (max-width: 767px) {
    #serviceWeb #introBanner .intro-banner .text h3:first-of-type {
        font-size: 12px;
        letter-spacing: -0.5px;
        font-weight: 500;
        margin-bottom: 3px;
    }

    #serviceWeb #introBanner .intro-banner .text h3 {
        font-size: 24px;
    }

    #webService .item {
        flex-direction: column;
        row-gap: 40px;
    }

    #webService .item:nth-child(even) {
        flex-direction: column;
    }

    #webService .item~.item {
        margin-top: 150px;
    }

    #webService .text {
        max-width: 100%;
        text-align: center;
    }

    #webService .text p {
        width: 90%;
        margin: 0 auto;
        margin-top: 20px;
    }

    #webService .text .keyword-tag {
        justify-content: center;
    }

    #webService .image {
        width: clamp(155px, 55vw, 250px);
    }

    #webAddition .content-title {
        text-align: center;
    }

    #webAddition .addition-wrap {
        grid-template-columns: repeat(1, 1fr);
    }

    #webAddition .item {
        border-radius: 30px 0;
        padding: 30px 35px;
    }

    #webAddition .item h5 {
        font-size: 20px;
    }

    #webAddition .item .icon img {
        margin-top: 35px;
        height: 40px;
    }
}