/* ベースのスタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
    color: #333;
}

body {
    line-height: 1.6;
    background-color: #f4f4f4;
}

a {
    color: #007BFF;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ヘッダー */
header {
    background-color: #007BFF;
    color: #fff;
    padding: 15px 20px;
    text-align: center;
}

header h1 {
    font-size: 24px;
}

nav {
    margin-top: 10px;
}

nav a {
    color: #fff;
    margin: 0 10px;
    font-size: 18px;
}

nav a:hover {
    border-bottom: 2px solid #fff;
}

/* メインコンテンツ */
main {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h2 {
    margin-bottom: 20px;
    font-size: 26px;
    color: #007BFF;
}

h3 {
    margin-bottom: 10px;
    font-size: 20px;
    color: #333;
}

p {
    margin-bottom: 20px;
    font-size: 16px;
}

ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

ul li {
    list-style-type: disc;
    margin-bottom: 5px;
}

/* フッター */
footer {
    background-color: #007BFF;
    color: #fff;
    text-align: center;
    padding: 15px 20px;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer p {
    font-size: 14px;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    header h1 {
        font-size: 20px;
    }

    nav a {
        font-size: 16px;
    }

    main {
        padding: 10px;
    }

    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 18px;
    }

    p {
        font-size: 14px;
    }
}
