@media screen and (min-width: 768px) {

    .l-header {
        .p-header__hamburger {
            display: none;
        }

        .p-header__nav {
            position: static;
            opacity: 1;
            height: inherit;
            width: initial;

            .p-nav__inner {
                margin-right: auto;
                margin-left: auto;
                max-width: initial;
                width: 100%;

                .p-nav__list {
                    padding-right: 0;
                    padding-left: 0;
                    display: flex;
                }

                .p-nav__item_sp {
                    display: none;
                }
            }
        }
    }
}

@media screen and (max-width: 1024px) {
    header {
        padding: 2.4rem 4rem;
    }

    .footer {
        padding: 5rem 4rem;
    }

    .content {
        padding: 0 4rem;
        padding-top: 6.4rem;
    }
}

@media screen and (max-width: 768px) {
    .container {
        grid-template-columns: auto;
        grid-template-areas:
            "header"
            "slide"
            "content"
            "footer";

        .content {
            flex-direction: column-reverse;
            padding: 3.2rem;
        }
    }

    .side {
        width: 100%;
    }

    header {
        padding: 2.4rem 3.2rem;
    }

    .l-header {
        .p-header__hamburger {
            width: 10%;
        }
    }

    footer {
        padding: 7.2rem 3.2rem;

        .footer_copy {
            text-align: left;
        }
    }

    .post_list {
        li {
            flex-direction: column;
            align-items: flex-start;
            row-gap: 1.2rem;

            .top_news_group {
                column-gap: 1.6rem;

            }
        }
    }

    aside {
        height: auto;
        position: relative;
        top: 0;
    }

    .side_link {
        margin-top: 4.2rem;
        text-align: center;
    }

    .side_link_list {
        flex-direction: row;
        flex-wrap: wrap;

        li {
            width: 100%;
        }
    }

    .p-header__inner {

        .site-title {
            p {
                font-size: 1.5rem;

                &:first-child {
                    font-size: 1.2rem;
                }
            }
        }
    }

    .p-nav__list {
        font-size: 1.4rem;

        li {
            margin: 2.4rem 0;
            text-align: center;
        }
    }

    .midashi_tag {
        flex-direction: column;
    }

    .top_overview {
        li {
            p {
                &:first-child {
                    width: 100%;
                }
            }
        }
    }

    .member_info {


        .highlights-list {

            .column-item {
                dt {
                    width: 100%;
                }

                dd {
                    width: 100%;
                }

                dl {}

            }
        }

        .column-list {
            padding-top: 2.4rem;

            dl {
                padding: 0;
            }

            dt {
                width: 100%;
            }

            dd {
                width: 100%;
                padding-bottom: 2.4rem;
            }
        }
    }

}

@media screen and (max-width: 375px) {

    .top_info {
        padding: 3rem 0 3rem 3rem;
    }

    footer {
        .footer_menu {
            flex-direction: column;
            gap: 0;
        }
    }

}