#page-top {
    position: fixed;
    bottom: 15px;
    right: 15px;
    font-size: 77%;
    z-index: 9999;
}

#page-top a {
    background: rgba(0, 0, 0, 0.6);
    text-decoration: none;
    color: #fff;
    padding: 15px;
    text-align: center;
    display: block;
    border-radius: 5px;
}

#page-top a:hover {
    text-decoration: none;
    background: rgba(0, 0, 0, 0.3);
}

#header {
    position: fixed;
    z-index: 9999;
    width: 100svw;
    padding: 10px 30px;
    box-sizing: border-box;
    background: rgba(86, 144, 168, 0.8);
    display: flex;
    justify-content: space-between;
    gap: 25px;
    align-items: center;
    top: 0;
    font-family: "Century Gothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "游ゴシック体", YuGothic, "Yu Gothic", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
}

.admin-bar #header {
    top: 32px;
}

#header img {
    width: 210px;
    height: auto;
    float: left;
}

#header a:hover {
    opacity: 0.6;
}

#navi {
    transition: all 0.3s ease;
}

#navi ul {
    list-style: none;
}

#navi ul li {
    float: left;
}

#navi ul li a {
    display: block;
    padding: 5px 15px;
    box-sizing: border-box;
    font-size: 13px;
    color: #fff;
    text-decoration: none;
}

.toggle {
    display: none;
    width: fit-content;

    .toggle__hamburger {
        width: 100%;
        aspect-ratio: 3/2;
        position: relative;
        cursor: pointer;

        &.active {
            p:nth-child(1) {
                top: 50%;
                transform: translateY(-50%) rotate(45deg);
            }

            &.active p:nth-child(2) {
                display: none;
            }

            &.active p:nth-child(3) {
                top: 50%;
                transform: translateY(-50%) rotate(-45deg);
            }
        }

        p {
            width: 100%;
            aspect-ratio: 15/1;
            background-color: white;
            position: absolute;
            left: 0;
            transition: all .3s ease;

            &:nth-child(1) {
                top: 0;
            }

            &:nth-child(2) {
                top: 43%;
            }

            &:nth-child(3) {
                top: 86%;
            }
        }
    }

    .toggle__text {
        font-size: 11px;
        text-align: center;
        font-family: "Noto Serif JP", sans-serif;
        color: white;
    }
}

/* fix admin bar của wordpress trên ui user */
#wpadminbar {
    position: fixed !important;
}

body {
    padding-top: 53px;
}

@media(max-width: 1080px) {
    body {
        padding-top: 61px;
    }

    #navi {
        position: absolute;
        top: 60.5px;
        right: -100svw;
        background-color: rgba(0, 0, 0, 0.8);
        width: 100svw;
        height: 100svh;

        &.active {
            right: 0;
        }

        ul {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
            margin-inline: auto;
            width: 100%;
            max-width: 400px;
            margin-top: 100px;
            column-gap: 12px;
            padding-left: 30px;
            font-family: "Century Gothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "游ゴシック体", YuGothic, "Yu Gothic", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
            box-sizing: border-box;

            li {
                position: relative;

                &::before {
                    position: absolute;
                    content: "";
                    top: 50%;
                    transform: translateY(-50%);
                    left: -10px;
                    background-color: white;
                    width: 12px;
                    aspect-ratio: 1 / 1;
                    display: block;
                    clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
                }
            }
        }
    }

    #navi ul li a {
        font-size: 20px;
    }

    .toggle {
        display: block;
    }

    #header {
        padding: 10px 15px;
    }
}

@media (max-width: 782px) {
    .admin-bar #header {
        top: 46px;
    }
}

@media(max-width: 425px) {
    #navi ul {
        margin-top: 30px;
        padding-left: 50px;
    }
}

@media(max-width: 375px) {
    .container-old .list {
        grid-template-columns: 1fr;
    }
}