/* =======================
   全体リセット・基本
======================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Yu Gothic", "Hiragino Kaku Gothic Pro", sans-serif;
    background-color: #fff8f2; /* 優しいオフホワイト */
    color: #000; /* 文字は黒で統一 */
    line-height: 1.6;
}

/* =======================
   ヘッダーナビ
======================= */
header {
    background-color: #f3e9e0; /* 優しいベージュ系 */
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0d0c0;
}

header h1 a {
    text-decoration: none;
    color: #000;
    font-size: 1.5em;
}

nav {
    display: flex;
    gap: 15px;
}

nav a {
    text-decoration: none;
    color: #000;
    padding: 5px 10px;
    transition: background 0.2s;
}

nav a:hover {
    background-color: #e7d9ce;
    border-radius: 4px;
}

/* =======================
   メインコンテンツ
======================= */
main {
    max-width: 1000px;
    margin: 20px auto;
    padding: 0 20px;
}

/* =======================
   カード型セクション
======================= */
.section-card {
    background-color: #f9f5f0; /* アイボリー系 */
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.section-card h1,
.section-card h2 {
    margin-bottom: 10px;
}

.section-card ul li a {
    text-decoration: none;
    color: #000; /* リンク文字も黒で統一 */
    font-weight: bold;
}

.section-card ul li a:hover {
    text-decoration: underline;
}

/* =======================
   フッター
======================= */
footer {
    text-align: center;
    padding: 15px 0;
    background-color: #f3e9e0;
    border-top: 1px solid #e0d0c0;
    margin-top: 40px;
}

/* =======================
   レスポンシブ対応
======================= */
@media (max-width: 600px) {
    nav {
        flex-direction: column;
        gap: 5px;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

