body {
    font-size: 11pt;
    font-weight: bold;
    background-image: url('../img/game2201.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.wrapper {
    width: 1200px;
    margin: 0 auto;
    position: relative;
    /* Establishes a positioning context */
}

.link_index {
    position: absolute;
    right: 0;
    top: 0;
    margin-top: -40px;
    transform: translateY(-50%);
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
}

.link_index a {
    color: inherit;
    text-decoration: none;
}


.form-content {
    display: none;
}

.checkbox-container {
    display: inline-block;
    width: calc(20% - 10px);
    margin-right: 10px;
    margin-bottom: 10px;
    vertical-align: top;
}

input[type=text] {
    font-size: 14pt;
}

input[type=checkbox],
input[type=radio] {
    transform: scale(1.5);
    cursor: pointer;
}

button,
.clickable {
    cursor: pointer;
}

.sub {
    background-color: #ffd36b;
    padding: 3px 20px;
    font-weight: bold;
    font-size: 18pt;
    border-radius: 10px;
}

.terms {
    width: 300px;
}

.date {
    width: 80px;
}

#scroll-to-top {
    display: block;
    position: fixed;
    bottom: 30px;
    right: 80px;
    background-color: #007bff;
    color: white;
    border: none;
    width: 80px;
    height: 80px;
    font-size: 20px;
    cursor: pointer;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    -webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    opacity: 0.75;
    transition: opacity 0.3s ease;
}

#scroll-to-top:hover {
    background-color: #0056b3;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 6px;
}

.tend {
    white-space: nowrap;
    /* テキストの改行を防ぐ */
    word-break: keep-all;
    /* ハイフンでの改行を防ぐ */
}

th {
    text-align: center;
    background-color: #bffbff;
}

.sortable {
    cursor: pointer;
}

.sortable:hover {
    text-decoration: underline;
}

.table-row-even {
    background-color: #e6fff3;
}

.table-row-odd {
    background-color: #ffffff;
}

.search-form {
    background-color: rgba(221, 221, 221, 0.8);
    padding: 20px;
    text-align: center;
    font-weight: bold;
}

.heading1 {
    font-size: 16pt;
}

.heading2 {
    /* width: 30px; */
    margin-right: 20px;
    display: inline-block;
    font-size: 16pt;
}

.container_heading2 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0 10px;
}

.sort-container {
    display: flex;
}


.toggle_button {
    color: blue;
    background-color: #c2f5fc;
    margin-left: 20px;
    padding: 6px;
}

.button_genre {
    color: blue;
    background-color: #c2f5fc;
    margin-left: 20px;
    padding: 6px;
}

.container_packs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

@media screen and (max-width: 1200px) {
    .wrapper {
        width: 100%;
        min-width: 940px;
        margin: 0 auto;
    }

    .terms {
        width: 25%;
    }
}

@media screen and (max-width: 900px) {
    .date {
        display: none;
    }
}