.social-container {
    display: flex;
    flex-direction: column;
    gap: 15rem;

    @media screen and (max-width: 767px) {
        gap: 8rem;
    }
}

.social-flex {
    display: flex;
    gap: 6rem;

    @media screen and (max-width: 767px) {
        flex-direction: column;
        gap: 2rem;
    }

    .social-txt-flex-container {
        max-width: 89rem;

        .social-txt-flex {
            font-style: normal;
            font-weight: 500;
            font-size: 1.8rem;
            line-height: 3.7rem;
            letter-spacing: 0.04em;
            color: #000000;
            margin: 3.5rem 0 5rem;

            @media screen and (max-width: 767px) {
                font-size: 1.4rem;
                line-height: 2.8rem;
                margin-block-start: 3rem auto;
            }
        }

        .social-cat-container  {
            width: 89rem;
            background: #ECF3FE;
            border-radius: 1rem;
            /* padding: 4.9rem 8.3rem 4.8rem 8rem; */
            display: flex;
            align-items: center;
            gap: 7rem;
            justify-content: center;
            height: 15.3rem;

            @media screen and (max-width: 767px) {
                width: 100%;
                gap: 3rem;
                height: auto;
                flex-direction: column;
                padding: 4rem 3.6rem;
            }

            .social-main-cat-title {
                font-style: normal;
                font-weight: 700;
                font-size: 2.2rem;
                /* line-height: 4.4rem; */
                letter-spacing: 0.04em;
                color: #000000;
                width: 14.7rem;

                @media screen and (max-width: 767px) {
                    font-size: 1.8rem;
                    width: inherit;
                    text-align: center;
                }
            }

            .social-cat-flex-container {
                display: flex;
                gap: 3rem 0;
                width: 52rem;
                flex-wrap: wrap;

                @media screen and (max-width: 767px) {
                    gap: 2rem;
                    flex-direction: column;
                    width: inherit;
                }

                .cat {
                    padding-left: 1rem;
                    width: 26rem;
                    position: relative;
                    font-style: normal;
                    font-weight: 500;
                    font-size: 1.8rem;
                    /* line-height: 37px; */
                    letter-spacing: 0.04em;
                    color: #000000;

                    @media screen and (max-width: 767px) {
                        width: inherit;
                        font-size: 1.4rem;
                    }

                    &::before {
                        content: "";
                        position: absolute;
                        background-color: #006ACD;
                        width: 1.2rem;
                        height: 1.2rem;
                        left: -1rem;
                        top: 0;
                        bottom: 0;
                        margin: auto;

                        @media screen and (max-width: 767px) {
                            width: 1rem;
                            height: 1rem;
                        }
                    }
                }
            }
        }
    }

    .social-img {
        width: 75rem;

        @media screen and (max-width: 767px) {
            width: 100%;
            margin: 3rem auto 0;
        }
    }
}

@media screen and (max-width: 767px) {
    .common-title-jp {
        margin-bottom: 1rem;
    }

    .common-title-en {
        line-height: 4rem;
    }
    /* ------------------------------------------- */
    /* Next Banner */
    /* ------------------------------------------- */
    .next-banner {

        width: 100%;
        max-width: 33.5rem;
        height: auto;
        min-height: 25.3rem;
        margin: 6rem auto 0;
        gap: 0;
        flex-direction: column;
        padding: 2.3rem 2rem 0;
        text-align: center;

        .next-banner-title {
            line-height: 2.2rem;
        }

        .next-banner-txt {
            font-size: 1.6rem;
            padding-right: 2.4rem;

            &::after {
                width: 1.9rem;
                height: 1.3rem;
                right: -0.5rem;
            }
        }

        &::before {
            top: 9rem;
        }
    }      
}