.product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin-top: 0px;
}
.product-item {
    flex-basis: calc(33.333% - 7px);
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: relative;
    padding-bottom: 125px;
}
.product-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}
.product-item a,
.product-item a:link,
.product-item a:visited,
.product-item a:hover,
.product-item a:active {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.product-item img {
    padding: 0px;
    max-width: calc(100%); /* 変更: 左右のパディングを考慮 */
    height: auto;
    border-radius: 4px;
    position: absolute;
    bottom: 18px;
    left: 50%; /* 変更: 中央寄せのため */
    transfrom-origin: center;
    transform: scale(110%) translateX(-45.5%); /* 追加: 中央寄せのため */
    object-fit: contain;
    max-height: 100px;
}
.bluehiddenlinksTop {
    font-weight: bold;
    font-size: 1.12rem;
    color: #194594;
    display: block;
    margin-bottom: 0px;
    transition: color 0.3s ease;
}
.product-item:hover .bluehiddenlinksTop {
    color: #3366cc;
}
.product-item p {
    margin-bottom: 15px;
    color: #333;
    line-height: 1.5;
}
@media (max-width: 1200px) {
    .product-item {
        flex-basis: calc(50% - 20px);
    }
}
@media (max-width: 800px) {
    .product-item {
        flex-basis: 100%;
    }
}