@import url(style_set.less);

// 인트로
.sec_intro {
    .content {
        background-image: url(../img/sub/work/bg.png);
    }
}

// 공통 스텝
.sec {
    .inside_tit {
        flex-direction: row;
        align-items: center;
        .tit {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            i {
                background-color: @color_main;
                color: #fff;
                width: 3rem;
                height: 3rem;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 50px;
                flex: 0 0 auto;
            }
        }
    }
    .step {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 1fr;
        gap: 3rem;
        .item {
            border-radius: @round_2;
            background-color: @color_bg;
            padding: 3rem;
            display: flex;
            justify-content: space-between;
            gap: 1rem;
            height: auto;
            .wrap {
                flex: 1;
                .item_tit {
                    display: flex;
                    flex-direction: column;
                    gap: 0.5rem;
                    margin: 2rem 0 3rem 0;
                    .desc_in {
                        ul {
                            padding-inline-start: 2.4rem;
                            display: inline-flex;
                            flex-direction: column;
                            gap: 0.5rem;
                            li {
                                list-style: disc;
                                font-weight: 500;
                            }
                        }
                    }
                }
                .desc {
                    ul {
                        display: flex;
                        flex-direction: column;
                        gap: 0.5rem;
                        li {
                            display: flex;
                            align-items: center;
                            gap: 2rem;
                            .list_tit {
                                width: 9rem;
                                font-size: 1.4rem;
                                background-color: #fff;
                                border-radius: @round_4;
                                border: 1px solid @color_gray;
                                line-height: 2.8rem;
                                font-weight: 700;
                                display: inline-block;
                                text-align: center;
                                flex: 0 0 auto;
                            }
                            p {
                                flex: 1;
                                font-weight: 500;
                                span {
                                    display: inline-block;
                                    margin: 0 0.5rem;
                                    color: @color_gray;
                                }
                            }
                            a {
                                display: flex;
                                align-items: center;
                                gap: 1rem;
                                color: @color_txt;
                                font-weight: 700;
                                i {
                                    background-color: @color_black;
                                    width: 2rem;
                                    height: 2rem;
                                    border-radius: 50px;
                                    color: #fff;
                                    justify-content: center;
                                    align-items: center;
                                    font-size: 1.2rem;
                                }
                            }
                        }
                    }
                }
            }
            .ico_item {
                flex: 0 0 auto;
                width: 8rem;
                height: 8rem;
                display: flex;
                margin-top: auto;
                img {
                    max-width: 100%;
                }
            }
        }
    }
    @media @laptop {
        .step {
            grid-template-columns: repeat(1, 1fr);
        }
        .inside_tit {
            flex-direction: column;
            align-items: flex-start;
            gap: 0.5rem;
        }
    }
    @media @tab {
        .step .item {
            padding: 3rem 2rem;
            .ico_item {
                width: 7rem;
                height: 7rem;
            }
        }
    }
    @media @mobile_l {
        .step {
            display: flex;
            flex-direction: column;
            .item {
                flex-direction: column-reverse;
                position: relative;
                padding: 2rem;
                .ico_item {
                    position: absolute;
                    top: 2rem;
                    right: 2rem;
                    width: 5rem;
                    height: 5rem;
                }
                .wrap {
                    .desc ul {
                        gap: 1.6rem;
                        li {
                            flex-direction: column;
                            gap: 0.5rem;
                            align-items: flex-start;
                            .list_tit {
                                width: 100%;
                            }
                        }
                    }
                }
            }
        }
    }
}
