.profile {
    .layout {
        width: 88%;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 30% 1fr;
        column-gap: 48px;
        row-gap: 72px;
        align-items: center;

        @media (width<=768px) {
            grid-template-columns: 1fr;
            row-gap: 48px;
            width: 100%;
        }

        .img-div {
            text-align: center;

            img {
                border-radius: 999px;

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

            span {
                display: block;
                padding-top: 8px;

                @media (width<=768px) {
                    display: none;

                }
            }
        }

        .profile-lead {
            margin: 16px 0 8px;
            font-size: 20px;
            position: relative;
            padding-left: 16px;

            &::before {
                content: "";
                width: 8px;
                height: 100%;
                background-color: rgb(255, 128, 0);
                position: absolute;
                left: 0;
                border-radius: 1px;
            }

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

        .text {
            dl {
                margin: 8px 0 24px;
                background-color: rgb(15, 30, 50);

                div {
                    padding: 8px 16px;
                    display: grid;
                    grid-template-columns: 80px 1fr;
                    border-bottom: solid 1px rgb(177, 182, 189);

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



        .box {
            grid-column: span 2;

            @media (width<=768px) {
                grid-column: auto;
            }

            .lead {
                width: 100%;
            }

            .outer {
                display: grid;
                grid-template-columns: repeat(3, 1fr);
                gap: 8px;

                @media (width<=1025px) {
                    grid-template-columns: repeat(2, 1fr);
                }

                @media (width<=768px) {
                    grid-template-columns: repeat(1, 1fr);
                }

                .inner {
                    padding: 24px 16px;
                    display: grid;
                    gap: 16px;
                    text-align: center;

                    .hp-title {
                        padding: 8px 0;
                        background: linear-gradient(135deg, rgb(255, 140, 0), rgb(255, 100, 0));
                        border-radius: 4px;
                        position: relative;
                        font-weight: bold;
                        color: rgb(219, 233, 255);
                        -webkit-text-stroke: 2px rgb(24, 24, 24);
                        paint-order: stroke;
                        display: flex;
                        justify-content: center;
                        align-items: center;

                        &::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);
                        }
                    }

                    .img-link {
                        img {
                            width: 100%;
                            border-radius: 4px;
                        }
                    }

                    p {
                        font-size: 14px;
                    }


                }
            }

        }

        .second-text {
            grid-column: span 2;

            @media (width<=768px) {
                grid-column: auto;

            }
        }
    }
}