/*
Theme Name: Shimizuya
Description: カスタムテーマ「shimizuya」- 初学者向けWordPressテーマ
Author: あなたの名前
Version: 1.0
Text Domain: shimizuya
*/

/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* ヘッダー */
.site-header {
    background-color: #2c3e50;
    color: white;
    padding: 1rem 0;
}

.site-title {
    text-align: center;
    font-size: 2rem;
    margin: 0;
}

.site-title a {
    color: white;
    text-decoration: none;
}

/* ナビゲーション */
.main-navigation {
    background-color: #34495e;
    padding: 0.5rem 0;
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-menu li {
    margin: 0 1rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    display: block;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.nav-menu a:hover {
    background-color: #2c3e50;
}

/* メインコンテンツ */
.site-main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.content-area {
    padding: 2rem;
}

/* 投稿スタイル */
.post {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.entry-title {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.entry-title a {
    color: inherit;
    text-decoration: none;
}

.entry-title a:hover {
    color: #3498db;
}

.entry-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.entry-content {
    line-height: 1.8;
}

/* サイドバー */
.sidebar {
    background-color: #ecf0f1;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.widget {
    margin-bottom: 2rem;
}

.widget-title {
    color: #2c3e50;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3498db;
}

/* フッター */
.site-footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-menu li {
        margin: 0.2rem 0;
    }
    
    .site-main {
        margin: 1rem;
    }
    
    .content-area {
        padding: 1rem;
    }
}