/* コンテンツ更新履歴セクション */
.history-section {
    margin: 40px auto 30px;
    max-width: 1200px;
    padding: 0 15px;
}

.history-section .section-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    padding-bottom: 8px;
}

.history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.history-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    text-decoration: none;
}

.history-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.history-card-header {
    background: #607D8B;
    color: white;
    padding: 8px 10px;
    font-size: 0.75rem;
    font-weight: bold;
    line-height: 1.3;
}

.history-list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.7rem;
    flex: 1;
    overflow: hidden;
}

.history-list li {
    padding: 4px 8px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    gap: 6px;
    line-height: 1.3;
}

.history-list li:last-child {
    border-bottom: none;
}

.history-date {
    color: #888;
    flex-shrink: 0;
    width: 38px;
    font-size: 0.65rem;
}

.history-content {
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.history-more {
    padding: 6px 8px;
    text-align: center;
    font-size: 0.65rem;
    color: #607D8B;
    border-top: 1px solid #eee;
    background: #fafafa;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .history-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .history-section {
        margin: 30px auto 20px;
    }
    
    .history-card-header {
        font-size: 0.7rem;
        padding: 6px 8px;
    }
    
    .history-list li {
        padding: 3px 6px;
    }
}

@media (max-width: 480px) {
    .history-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
