.image-compare {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.image-compare figure {
    flex: 1 1 300px;
    /* 最低幅300pxで縮小対応 */
    max-width: 400px;
    text-align: center;
}

.image-compare img {
    width: 100%;
    /* 親figureの幅に合わせる */
    height: auto;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.image-compare figcaption {
    margin-top: 0.5rem;
    font-size: 1rem;
    color: #555;
}

p.date {
    font-size: 0.9rem;
    color: #888;
    text-align: right;
    margin-top: 0.5rem;
}