/* ========================================
   買取実績一覧ページCSS
======================================== */

/* ページ全体 */
body {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px;
    color: #f7f8fa;
    background: #0a1420;
    font-family: Arial, "Noto Sans JP", sans-serif;
    line-height: 1.8;
}

/* ページタイトル */
h1 {
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 12px;
    margin-bottom: 32px;
}

/* 買取実績一覧：3列 */
.results {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
}

/* カード */
.result-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

/* マウスを乗せたとき */
.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.35);
}

/* カード全体のリンク */
.result-card-link {
    display: block;
    margin: 0;
    padding: 0;
    color: inherit;
    text-decoration: none;
}

.result-card-link:hover {
    text-decoration: none;
}

/* 写真：トップページと同じ4:3 */
.result-card .result-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #222;
    margin: 0;
}

/* 写真がない場合 */
.result-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    color: #aaa;
    background: #222;
}

/* 買取日 */
.result-card p {
    margin: 0 20px;
    padding-top: 20px;
    font-size: 13px;
    opacity: 0.75;
}

/* 車種名 */
.result-card h2 {
    margin: 10px 20px;
    font-size: 20px;
}

/* ページ送り */
.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 32px;
}

.pagination a {
    color: #d8c4ff;
    text-decoration: underline;
}

/* メッセージ */
.message {
    margin: 24px 0;
}

/* スマートフォン */
@media (max-width: 700px) {
    body {
        padding: 20px;
    }

    .results {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}