/* 「税抜/税込」ボタンの場所とスタイル */

th .tax-status {
    position: absolute;
    right: 21%;
    font-weight: normal;
    border: 2px solid #b2a75b;
    padding: 2px 4px;
    border-radius: 20px;
    top: 20%;
    background: #eee183;
    font-size: 80%;
    /* -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl; */
}

.button-wrapper {
    display: flex;
    position: sticky;
    /* top: 19%; */
    top: 80%;
    justify-content: space-around;
    padding-bottom: 0.5em;
    z-index: 1;
    pointer-events: none;
    /* ↑pointer-events: none;にしておかないとbutton-wrapperの帯にポインタがホバーするとその下にthがあっても押せない */
}

#toggle-button,
#show-all-button {
    pointer-events: auto;
    /* ↑pointer-events: auto;にしておかないとbutton-wrapper上にあるこのボタンはのpointer-events: none;のまま押せない */
    position: sticky;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2), 0 -4px 5px -2px #b19017 inset;
    background: rgb(238 225 131);
    box-shadow: 4px 6px 10px gray;
    border-radius: 17px;
    /* padding: .3em; */
    padding: .3em .5em .2em .5em;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    transition: all .3s ease-out;
    /* font-size: 1em; */
}

#toggle-button:hover,
#show-all-button:hover {
    transform: scale(1.15, 1.15);
    background: #eeda41;
    /* background: #ffe100; */
}

@media screen and (max-width: 400px) {
    th .tax-status {
        right: 5%;
        font-size: 90%;
        top: 24%;
        /* padding: 3px 0; */
    }
}

@media screen and (max-width: 769px) {

    #toggle-button,
    #show-all-button {
        padding: 1em .7em;
        border-radius: 30px;
    }
}


@media screen and (max-width: 500px) {
    .button-wrapper {
        justify-content: space-between
    }
}