body .search-result-item {
    padding: 0px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #fff;
}

body .search-result-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

body .search-results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (min-width: 768px) {
    body .search-results-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

body .search-result-item h3 {
    font-size: 1.0em;
    margin: 5px 0;
}

body .search-result-item p {
    font-size: 0.8em;
    margin: 3px 0;
}

body .btn-detail {
    display: inline-block;
    margin: 5px 5px 0 0;
    padding: 6px 12px;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    font-size: 0.9em;
    background-color: lightblue;
    color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body .btn-coupon {
    display: inline-block;
    margin: 5px 5px 0 0;
    padding: 6px 12px;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    font-size: 0.9em;
    background-color: #FFB07C;
    color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body .btn-detail:hover,
body .btn-coupon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

body .pagination {
    text-align: center;
    margin-top: 20px;
}

body .pagination a {
    margin: 0 5px;
    text-decoration: none;
    color: orange;
}

body .pagination span {
    margin: 0 5px;
}

.highlight-title {
    font-weight: bold;
    color: #f39a38;
}

h1 {
    display: none;
}

#fix_header {
    display: none;
}

#fix_bottom_menu {
    display: none;
}

.search-result-item h3 img {
    margin-left: 2px;
    width: 0.85em;
    height: auto;
    vertical-align: -0.65em;
}

.search-info-bar select {
    padding: 5px;
    font-size: 0.9em;
}

.pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 20px 0;
}

.pagination a,
.pagination span.current-page {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 4px;
    background: #ddd;
    color: #fff !important;
    text-decoration: none;
}

.pagination span.current-page {
    background: #8b5c2d;
    color: #fff;
    font-weight: bold;
}

.pagination a:hover {
    background: #bbb;
}

.pagination .dots {
    padding: 8px 12px;
    color: #999;
}

body .search-result-item h3 {
    font-size: 1.0em;
    margin: 5px 0;
    text-align: center;
}

body .search-result-item .facility-info {
    padding: 0 10px;
    text-align: left;
}

.search-info-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.shop-count {
    font-size: 1em;
    font-weight: bold;
}

.sort-form {
    flex: 0 0 40%;
    max-width: 40%;
}

.sort-form .sort-select {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 20px;
    font-size: 0.9em;
    background-color: #fff;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF8,%3Csvg viewBox='0 0 140 140' width='12' height='12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20,50 70,100 120,50' fill='none' stroke='%23999' stroke-width='10'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#shortcut-hint {
    display: none;
    font-size: 0.7em;
    color: #555;
    text-align: right;
}

.facility-image-wrapper {
    position: relative;
}

.facility-image {
    display: block;
    width: 100%;
    height: auto;
}

.fav-icon {
    position: absolute;
    bottom: 20px;
    right: 10px;
    font-size: 3.0em;
    color: #ccc;
    cursor: pointer;
    transition: color 0.3s;
}

.fav-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 0;
    background: linear-gradient(180deg, #fff, gold);
    transform-origin: center bottom;
    transform: translate(-50%, -100%) rotate(45deg) scaleY(0);
    opacity: 0;
    pointer-events: none;
}

.fav-icon.favorited-animating::after {
    animation: sparkleShoot 0.2s ease-out;
}

@keyframes sparkleShoot {
    0% {
        height: 0;
        opacity: 1;
        transform: translate(-50%, -100%) rotate(45deg) scaleY(0);
    }

    50% {
        height: 50px;
        opacity: 1;
        transform: translate(-50%, -100%) rotate(45deg) scaleY(1);
    }

    100% {
        height: 0;
        opacity: 0;
        transform: translate(-50%, -100%) rotate(45deg) scaleY(0);
    }
}

.fav-icon.favorited {
    background: linear-gradient(135deg, #FFD700, #FFBF00, #FFA500, #FFBF00, #FFD700);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 10s linear infinite;
    text-shadow: 0 0 1px rgba(255, 215, 0, 1), 0 0 2px rgba(255, 191, 0, 0.8);
}

@keyframes shine {
    0% {
        background-position: 0% 50%;
    }

    90% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.comic-info-bar {
    max-width: 600px;
    margin: 0 auto;
    padding: 10px;
    background: #fffbe0;
    margin-bottom: 15px;
    border: 1px solid #f9c78c;
    border-radius: 8px;
}

.comic-info-flex {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.comic-info-image {
    flex: 1;
}

.comic-cover {
    width: 100%;
    max-width: 120px;
    height: auto;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.comic-no-image {
    width: 100%;
    max-width: 120px;
    aspect-ratio: 3 / 4;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}

.comic-info-text {
    flex: 2;
    font-size: 14px;
}

.comic-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
}

.comic-info-button-wrapper {
    margin-top: 10px;
}

.bold-button {
    font-weight: bold;
}

.selected-filters {
    margin: 10px 0;
    font-size: 0.85em;
    color: #007acc;
}

.selected-filter-item {
    display: inline-block;
    background-color: #e6f4fa;
    color: #007acc;
    padding: 2px 6px;
    margin: 2px;
    border-radius: 10px;
    font-size: 0.85em;
}