@charset "UTF-8";

/* アンカーリンク表示調整(2025/10/21) */
a[id^="links0"] + .contents_btn01 .content_wrapper {
    display: flex;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-content: center;
    align-items: center;
    gap: 20px;
}
a[id^="links0"] + .contents_btn01 .content_wrapper>a {
    width: 100% !important;
    margin: 0;
}
a[id^="links0"] + .contents_btn01 a span {
    padding: 10px;
}
@media only screen and (max-width: 1023px) {
    a[id^="links0"] + .contents_btn01 .content_wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media only screen and (max-width: 500px) {
    a[id^="links0"] + .contents_btn01 .content_wrapper {
        grid-template-columns: repeat(1, 1fr);
    }
}