/*
Theme Name: Sourcir Theme
Description: 情報源管理・記事収集システム用WordPressテーマ
Version: 1.0.0
Author: Agusa Kikaku
*/

/* 基本スタイル */
body {
    font-family: 'Noto Sans JP', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
.site-header {
    background: #2c3e50;
    color: white;
    padding: 1rem 0;
}

.site-title {
    margin: 0;
    font-size: 1.8rem;
}

/* 記事一覧 */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.article-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    transition: box-shadow 0.3s ease;
}

.article-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 管理画面スタイル */
.sourcir-admin {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    margin: 1rem 0;
}

.sourcir-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.sourcir-table th,
.sourcir-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.sourcir-table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* ボタンスタイル */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background: #2980b9;
}

.btn-danger {
    background: #e74c3c;
}

.btn-danger:hover {
    background: #c0392b;
}

.btn-success {
    background: #27ae60;
}

.btn-success:hover {
    background: #2ecc71;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .article-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 15px;
    }
}
