/* base */
body {
    font-size: 0.9rem; background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    min-height: 100vh;


    /* test */
    background-color: #F4F9F4!important;
}
main {
    flex: 1 0 auto;
}
footer {
    flex-shrink: 0; 
}
.container { max-width: 1100px; }
.table td, .table th { vertical-align: middle; padding: 0.6rem 0.4rem !important; }
.price-new { color: #0d6efd; font-weight: bold; font-size: 1.1rem; }
.group-sep { border-top: 3px solid #6c757d !important; }
/* スマホ用 */
.mobile-card { border-bottom: 1px solid #dee2e6; padding: 12px; background: #fff; }
.mobile-prices { display: flex; justify-content: space-between; background: #f1f3f5; padding: 6px 10px; border-radius: 5px; margin-top: 8px; }
/* 上に戻る */
#back-to-top { position: fixed; bottom: 25px; right: 25px; width: 50px; height: 50px; background-color: #0d6efd; color: white; border-radius: 50%; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 1000; opacity: 0; visibility: hidden; transition: 0.3s; }
#back-to-top.show { opacity: 1; visibility: visible; }



/* index.php */
.feature-icon {
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.card:hover .feature-icon {
    transform: scale(1.1); /* マウスを乗せると少し大きく */
    background-color: #0d6efd; /* 青色を濃く */
    color: white;
}

.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    border-bottom: 1px solid #dee2e6;
}
.search-card {
    max-width: 700px;
    margin: -50px auto 0;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background-color: #e7f1ff;
    color: #0d6efd;
    border-radius: 50%;
    font-size: 1.5rem;
}
/* index.php */



/* calculate_stock.php */
.text-end {
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: -0.5px;
}
/* calculate_stock.php */





/* search.php */
    .history-tag:hover {
        background-color: #e9ecef !important;
        color: #0d6efd !important;
        border-color: #0d6efd !important;
    }
    .shadow-xs {
        box-shadow: 0 .125rem .25rem rgba(0,0,0,.075);
    }

    @media (max-width: 576px) {
        .shukka-table td,
        .shukka-table th {
            font-size: 0.8rem;
            padding: 4px 6px;
            white-space: nowrap;
            padding-top: 3px;
            padding-bottom: 3px;

        }
        .shukka-table td:first-child {
            font-weight: 600;
            font-size: 0.85rem;
        }
        .shukka-scroll {
            overflow-x: auto;
            white-space: nowrap;
        }

    }
    .offcanvas {
        z-index: 2000 !important;
    }

    .offcanvas-backdrop {
        z-index: 1990 !important;
    }
    #ninecodeModalPc .modal-content {
        background-color: #f5f5f5;
        border: 1px solid #ddd;
    }

    .btn-xs {
        padding: 1px 4px;
        font-size: 0.65rem;
        line-height: 1.1;
    }

    #loading-overlay {
        opacity: 0;
        pointer-events: none;
        transition: opacity 200ms ease-in;
    }

    #loading-overlay.show {
        opacity: 1;
        pointer-events: all;
    }
/* search.php */