.facility-list-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1200px;
}

.facility-list-table th,
.facility-list-table td {
    border: 1px solid #ccc;
    padding: 0.5em;
    text-align: left;
    white-space: nowrap;
}

.fav-btn {
    display: inline-block;
    width: 100%;
    padding: 6px 10px;
    border: none;
    color: #fff;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    border-radius: 4px;
    background-color: #ccc;
    transition: background-color 0.3s ease;
}

.fav-btn.favorited {
    background-color: #f39a38;
}

.facility-list-table td.station-col,
.facility-list-table td.hours-col,
.facility-list-table td.access-time-col,
.facility-list-table td.address-col {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.facility-list-table td.name-col {
    min-width: 260px;
}

.facility-list-table td:nth-child(3),
.facility-list-table td:nth-child(4),
.facility-list-table td:nth-child(13),
.facility-list-table td:nth-child(15),
.facility-list-table td .fav-count {
    text-align: right;
}

.cute-button {
    background-color: #ddd;
    color: #333;
    border: none;
    padding: 10px 20px;
    margin: 10px 5px;
    border-radius: 25px;
    font-size: 1em;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, transform 0.2s;
}

.cute-button:hover {
    background-color: #bbb;
}

.cute-button.small {
    padding: 6px 12px;
    font-size: 0.9em;
}

.cute-button.login {
    background-color: #a4d8f0;
    color: #fff;
}

.cute-button.login:hover {
    background-color: #7cc2e5;
}

.comiclist-filter-select,
.comic-search-input {
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.comiclist-filter-select:hover,
.comic-search-input:hover {
    border-color: #f39a38;
    box-shadow: 0 0 5px rgba(243, 154, 56, 0.5);
}

.comiclist-filter-select:focus,
.comic-search-input:focus {
    outline: none;
    border-color: #f39a38;
    box-shadow: 0 0 5px rgba(243, 154, 56, 0.7);
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #fff;
    padding: 20px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.modal-content p {
    font-size: 16px;
    margin-bottom: 15px;
}

#rows-per-page-select {
    margin-bottom: 16px;
}

#prev-btn,
#next-btn {
    display: inline-block;
    font-size: 2.1em;
    padding: 18px 36px;
    margin: 30px 15px;
}

#prev-next-container {
    text-align: center;
}

#keyword-search {
    background-color: #fff9c4;
}

#filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

#filter-container>* {
    flex: 1 1 30%;
    min-width: 200px;
}

#pref-select,
#rows-per-page-select {
    background-color: #fff9c4;
}

.cute-button {
    touch-action: manipulation;
}

#toggle-column-controls {
    background-color: #fff9c4;
    color: #333;
}

#toggle-column-controls:hover {
    background-color: #fce97c;
}