.service {
    .wrapper {
        padding: 24px 0;

        .layout {
            padding: 24px;

            @media (width<=768px) {
                padding: 24px 16px;
            }

            .outer {
                width: 80%;
                margin: 0 auto;
                display: flex;
                flex-direction: column;
                gap: 36px;

                @media (width<=768px) {
                    width: 100%;
                }

                .inner {
                    padding: 36px 16px;
                    border-radius: 4px;
                    display: grid;
                    grid-template-columns: 1fr 280px;
                    align-items: center;
                    background-color: rgb(15, 30, 50);

                    @media (width<=768px) {
                        padding: 8px 8px 36px;
                        background-color: rgb(15, 30, 50);
                        grid-template-columns: none;
                    }

                    h2 {
                        -webkit-text-stroke: 4px rgb(2, 2, 2);
                        paint-order: stroke;
                        font-size: 20px;
                        font-weight: bold;
                        grid-column: span 2;
                        position: relative;
                        padding: 16px 16px 8px 88px;
                        border-bottom: solid 2px rgb(219, 233, 255);

                        br {
                            display: none;

                            @media (width<=500px) {
                                display: block;
                            }
                        }

                        &::before {
                            position: absolute;
                            line-height: .8;
                            bottom: 6px;
                            left: 16px;
                            font-family: 'Great Vibes', cursive;
                            font-weight: bold;
                            font-size: 56px;

                            @media (width<=768px) {
                                font-size: 40px;
                                left: 8px;
                                bottom: 10px;
                            }
                        }

                        @media (width<=768px) {
                            grid-column: auto / auto;
                            font-size: 18px;
                            padding: 16px 16px 8px 60px;

                        }
                    }

                    .first-h2 {
                        &::before {
                            content: "01.";
                        }
                    }

                    .second-h2 {
                        &::before {
                            content: "02.";
                        }
                    }

                    .third-h2 {
                        &::before {
                            content: "03.";

                            @media (width<=500px) {
                                bottom: 24px;
                            }
                        }
                    }

                    .fourth-h2 {
                        &::before {
                            content: "04.";

                            @media (width<=500px) {
                                bottom: 24px;
                            }
                        }
                    }

                    .text {
                        margin-top: 8px;
                        padding: 16px;

                        @media (width<=768px) {
                            padding: 8px 4px;
                            margin-top: auto;

                        }

                        h3 {
                            font-weight: bold;
                            font-size: 18px;
                            position: relative;
                            padding: 0 0 0 42px;

                            &::before {
                                content: "Q.";
                                position: absolute;
                                left: 16px;
                            }

                            @media (width<=768px) {
                                font-size: 16px;
                            }
                        }

                        p {
                            font-size: 18px;
                            position: relative;
                            padding: 0 0 0 42px;

                            &::before {
                                content: "A.";
                                position: absolute;
                                left: 16px;
                            }

                            @media (width<=768px) {
                                font-size: 16px;
                            }
                        }
                    }

                    .btn {
                        margin-top: 8px;
                        padding-right: 16px;

                        @media (width<=768px) {
                            padding-right: 0;
                        }

                        a {
                            color: rgb(219, 233, 255);
                            -webkit-text-stroke: 3px rgb(24, 24, 24);
                            paint-order: stroke;
                            padding: 16px;
                            border-radius: 999px;
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            font-weight: bold;
                            font-size: 18px;
                            position: relative;
                            background: linear-gradient(135deg, rgb(255, 140, 0), rgb(255, 100, 0));

                            &::before {
                                content: "";
                                position: absolute;
                                right: 10px;
                                width: 32px;
                                height: 32px;
                                background-color: rgb(51, 51, 51);
                                border-radius: 99px;
                            }

                            &::after {
                                content: "＞";
                                position: absolute;
                                right: 16px;
                                color: rgb(219, 233, 255);
                                -webkit-text-stroke: 0px rgb(255, 255, 255);
                            }

                            @media (width<=768px) {
                                width: 80%;
                                margin: 0 auto;
                                font-size: 16px;
                            }
                        }
                    }
                }
            }
        }
    }
}