:root {
    --tit-margin: 80px;
    --box-color: rgb(43 44 46 / 30%);
}

@keyframes bg-scale {
    0% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.wide section {
    --bg-color: var(--body-bg-color);
    position: relative;
    overflow: hidden;
    background-color: var(--bg-color);
}

.bg {
    background-image: var(--bg-image);
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    pointer-events: none;
}

.bg.absolute {
    position: absolute;
    top: 0;
    left: 0;
}

.anchor {
    display: block;
    position: relative;
    top: -100px;
    visibility: hidden;
}

/* content-title */
.text.white *,
.content-title.white * {
    color: #fff;
}

.text.white .btn,
.content-title.white .btn {
    color: #fff;
    border-color: #fff;
    background: transparent;
}

.text.center *,
.content-title.center * {
    text-align: center;
}

.text.center .btn,
.content-title.center .btn {
    margin-left: auto;
    margin-right: auto;
}

.content-title {
    margin-bottom: var(--tit-margin);
}

.content-title * {
    word-break: keep-all;
}

.content-title span,
.content-title.white span {
    color: var(--color-primary);
}

.content-title h2 {
    line-height: 1;
}

.content-title .desc {
    color: var(--color-mute);
    line-height: 1.75;
    margin-top: 20px;
    word-break: keep-all;
}

.sub-p,
.content-title.white .sub-p {
    font-size: var(--f18);
    color: var(--color-mute);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.2px;
    margin-bottom: 10px;
}

.content-title .cube {
    position: static;
    margin: 0 auto 60px;
    --cube-size: 25px;
}

/* custom btn */
.custom-btn {
    --btn-height: 65px;
    --btn-font-size: 20px;

    min-width: 220px;
    background: transparent;
    border: 2px solid #fff;
    border-radius: 50px;
}

.custom-btn:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.custom-btn:hover span::after {
    right: -23px;
}

/* list 형식 */
.item-num::before {
    content: counter(item-num, decimal-leading-zero);
    counter-increment: item-num;
    display: block;
    font-size: 0.65em;
    font-weight: 600;
    letter-spacing: 0.4px;
    opacity: .5;
}

.bracket-bullet li,
.bracket-bullet dt,
.bracket-bullet dd {
    position: relative;
    padding-left: 22px;
}

.bracket-bullet li:before,
.bracket-bullet dt:before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-top: 2px solid var(--color-primary);
    border-right: 2px solid var(--color-primary);
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%) rotate(45deg);
}

/* Keyword Tag */
.keyword-tag {
    display: flex;
    flex-wrap: wrap;
    margin-top: 40px;
    gap: 10px;
}

.keyword-tag li {
    padding: 8px 18px;
    border: 1px solid var(--color-text);
    color: var(--color-text);
    border-radius: 50px;
    font-size: var(--f20);
    width: fit-content;
}

/* process */
.process-wrap .item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 13vw;
    position: relative;
    margin-left: -6vw;
    mix-blend-mode: plus-lighter;
}

.process-wrap .item:nth-child(even) {
    margin-left: 6vw;

    mix-blend-mode: difference;
}

.process-wrap .item:not(:first-child) {
    margin-top: -40px;
}

.process-wrap .item .circle {
    width: 20vw;
    max-width: 380px;
    min-width: 300px;
    height: auto;
    aspect-ratio: 1/1;
    border: 2px dotted var(--color-primary);
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;

    position: relative;
}

.process-wrap .item:nth-child(even) .circle {
    background-color: var(--color-primary);
}

.process-wrap .item .circle:after {
    content: '';
    width: 57.9%;
    height: 1px;
    position: absolute;
    left: 85%;
    border-bottom: 1px dotted #aaa;
}

.process-wrap .item .circle h4 {
    line-height: 1.35;
    letter-spacing: 0.2px;
    padding-left: 15%;
}

.process-wrap .item:nth-child(even) .circle h4 {
    color: #000;
}

.process-wrap .item .text {
    background: var(--box-color);
    padding: 40px 50px;
    border-radius: 40px 0;
    min-width: 380px;
    width: fit-content;
}

.process-wrap .item .text ul {
    margin-top: 20px;
}

.process-wrap .item .text ul li {
    font-size: var(--f20);
    line-height: 1.7;
    color: #aaa;
    word-break: keep-all;
}


/* Desktop ( 1024px ~)*/
@media all and (min-width: 1024px) {
    .process-wrap .item .circle h4 {
        font-size: 2vw;
    }
}

/* Laptop ( 1024px ~ 1440px)*/
@media all and (min-width: 1024px) and (max-width: 1440px) {
    .process-wrap .item .circle h4 {
        font-size: 30px;
    }
}

/* Tablet ( 768px ~ 1023px)*/
@media all and (min-width: 768px) and (max-width: 1023px) {
    /* content-title */
    /* ------ */

    /* custom btn */
    .custom-btn {
        --btn-height: 60px;

        min-width: 180px;
    }




    /* process */
    .process-wrap .item {
        gap: 0 8vw;
    }

    .process-wrap .item:not(:first-child) {
        margin-top: -20px;
    }

    .process-wrap .item .circle {
        width: 29.29vw;
        min-width: 255px;
    }

    .process-wrap .item .circle:after {
        width: 50%;
        left: 80%;
    }

    .process-wrap .item .circle h4 {
        padding-left: 13%;
    }

    .process-wrap .item .text {
        padding: 30px 40px;
        min-width: 330px;
    }

    .process-wrap .item .text ul {
        margin-top: 12px;
    }
}

/* Mobile ( ~ 767px)*/
@media all and (max-width: 767px) {
    :root {
        --tit-margin: 60px;
    }

    /* content-title */
    .content-title .cube {
        margin: 0 auto 60px;
        margin: 0 auto 30px;
        --cube-size: 15px;
        opacity: 0.65;
    }

    /* ------ */

    /* custom btn */
    .custom-btn {
        --btn-height: 50px;
        --btn-font-size: 17px;
        min-width: 150px;
    }


    /* list 형식 */
    .bracket-bullet li,
    .bracket-bullet dt,
    .bracket-bullet dd {
        padding-left: 18px;
    }

    .bracket-bullet li:before,
    .bracket-bullet dt:before {
        width: 4px;
        height: 4px;
        top: 9.5px;
        transform: translateY(0) rotate(45deg);
    }

    /* Keyword Tag */
    .keyword-tag {
        margin-top: 30px;
        gap: 8px;
    }

    .keyword-tag li {
        padding: 5px 15px;
    }

    /* process */
    .process-wrap .item {
        margin-left: 0;

        flex-direction: column;
        align-items: flex-start;
        row-gap: 20px;
    }

    .process-wrap .item:nth-child(even) {
        margin-left: 0;
    }

    .process-wrap .item:not(:first-child) {
        margin-top: 55px;
    }

    .process-wrap .item .circle {
        width: 100%;
        max-width: unset;
        min-width: unset;
        border: none;
        aspect-ratio: unset;
    }

    .process-wrap .item:nth-child(even) .circle {
        background-color: transparent;
    }

    .process-wrap .item .circle:after {
        width: 25%;
        left: unset;
        right: 5%;
        bottom: 15px;
    }

    .scroll-event[data-scroll="title-line"]:after {
        animation: title-line 1s forwards;
    }

    @keyframes title-line {
        0% {
            width: 0%;
        }

        30% {
            width: 20%;
        }

        60% {
            width: 15%;
        }

        100% {
            width: 25%;
        }
    }

    .process-wrap .item .circle h4,
    .process-wrap .item:nth-child(even) .circle h4 {
        font-size: 26px;
        padding-left: 5%;
        color: var(--color-primary);
    }

    .process-wrap .item .circle h4.item-num::before {
        color: #999;
        opacity: 1;
        font-size: 0.55em;
    }

    .process-wrap .item .text {
        padding: 30px;
        border-radius: 30px 0;
        width: 100%;
        min-width: unset;
    }

    .process-wrap .item .text ul {
        margin-top: 10px;
    }
}