body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fffaf0; /* もう少し白っぽいクリーム色の背景を設定 */
}

header {
    position: relative;
    background-image: url('background.jpeg'); /* 背景画像のパスを指定 */
    background-size: cover; /* 画像を画面全体にフィットさせる */
    background-position: center; /* 画像を中央に配置 */
    color: #333; /* 濃いグレーのテキスト色を設定 */
    padding: 1em 0;
    text-align: center;
    z-index: 1; /* テキストを前面に表示 */
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7); /* 白っぽい透過レイヤーを追加 */
    z-index: -1; /* レイヤーを背面に移動 */
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 1em;
}

nav ul li a {
    color: #333; /* 濃いグレーのリンク色を設定 */
    text-decoration: underline; /* リンクに下線を追加 */
}

main {
    padding: 2em;
    max-width: 100%;
    background-color: transparent; /* 透過の背景色を設定 */
}

section {
    margin-bottom: 2em;
}

footer {
    position: relative;
    background-image: url('background.jpeg'); /* 背景画像のパスを指定 */
    background-size: cover; /* 画像を画面全体にフィットさせる */
    background-position: center; /* 画像を中央に配置 */
    color: #333; /* 濃いグレーのテキスト色を設定 */
    text-align: center;
    padding: 1em 0;
    position: fixed;
    width: 100%;
    bottom: 0;
    z-index: 1; /* テキストを前面に表示 */
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7); /* 白っぽい透過レイヤーを追加 */
    z-index: -1; /* レイヤーを背面に移動 */
}

footer a {
    color: #333; /* 濃いグレーのリンク色を設定 */
    text-decoration: underline; /* リンクに下線を追加 */
}

footer a:hover {
    color: #555; /* リンクのホバー時の色を設定 */
}

/* PC版のスタイル */
@media (min-width: 768px) {
    main {
        max-width: 800px; /* コンテンツエリアの最大幅を設定 */
        margin: 0 auto; /* 中央揃え */
    }
}
