/* ベーススタイル設定 */
body {
    font-family: 'Dancing Script', cursive;
    font-weight: 300;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #3a3a3a;
}

/* ヘッダー */
header {
    background-color: #000;
    color: #fff;
    padding: 10px 0;
    text-align: center;
}

h3 {
    font-family: 'Merriweather', serif; /* フォントを統一 */
}

h2 {
    margin-top: 40px;
    margin-left: 25px; /* 左に20pxのマージンを追加 */
    margin-bottom: 20px;
    border-bottom: 2px solid #a2d5c6; /* 区切り線の色を設定 */
    padding-bottom: 10px;
    font-size: 1.2em; /* フォントサイズをさらに小さく調整 */
    font-weight: normal;
    font-family: 'Dancing Script', cursive; /* 柔らかい印象のフォントに変更 */
　　letter-spacing: 1px; /* 文字間隔を調整 */
}

.site-title a {
    color: inherit;
    text-decoration: none;
}

.site-title a:hover {
    text-decoration: none; /* ホバー時に下線を表示しない */
}

.fancy {
    color: #f7cac9; /* 強調色 */
　　font-size: 1.2em;
}

footer {
    text-align: center;
    padding: 20px 0;
    background-color: #000;
    color: #fff;
}

.social-icons a {
    color: #fff;
    font-size: 24px;
    margin: 0 10px;
    text-decoration: none;
}

.social-icons a:hover {
    color: #a2d5c6;
}

.social-icons a:visited {
    color: #fff;
}


footer {
    text-align: center;
    padding: 20px 0;
    background-color: #000;
    color: #fff;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #a2d5c6; /* ボタンの背景色 */
    color: white;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, transform 0.3s;
}

.back-to-top:hover {
    background-color: #7bb49f; /* ホバー時の背景色 */
    transform: scale(1.1);
}

.menu-icon {
    display: none;
    cursor: pointer;
}


/* ナビゲーション */
nav ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    max-width: 700px;
}

nav ul li {
    text-align: center;
    position: relative;
}

nav ul li a {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.9em;
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
}

nav ul li a:hover {
    background-color: #a2d5c6;
    color: #fff;
    border-radius: 3px;
    transition: background-color 0.3s, color 0.3s;
}

nav ul li:not(:last-child)::after {
    content: ''; /* 区切り線を追加 */
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: 50%;
    background-color: #a2d5c6; /* 区切り線の色 */
    transform: translateY(-50%);
}

/* お知らせセクションのスタイル */
#diary-announcements {
　　font-family: 'Merriweather', serif;
    background-color: #f9f9f9;
    padding: 20px;
    margin: 20px auto;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#diary-announcements h2 {
    text-align: center;
    color: #000;
    font-size: 1.2em;
}

/* 記事のスタイル */
#diary-announcements article {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #fff;
    border-left: 4px solid #a2d5c6;
    border-radius: 5px;
    display: flex; /* 横並びに設定 */
    justify-content: space-between; /* テキストと画像を分離 */
    align-items: flex-start; /* 上揃え */
　　font-family: 'Merriweather', serif;
}

/* テキスト部分 */
.announcement-text {
    flex: 1; /* テキスト部分を広げる */
    margin-right: 15px; /* 写真との余白を調整 */
}

#diary-announcements article h3 {
    font-size: 1em;
    margin: 0 0 15px; /* 見出しの下に余白 */
    color: #3a3a3a;
    text-decoration: underline;
　　
}

#diary-announcements article p {
    font-family: 'Merriweather', serif;
    font-size: 0.9em;
    line-height: 1.8;
    margin: 0; /* 段落の余白を削除 */
}

/* 画像部分 */
.announcement-image {
    width: 120px; /* 写真を小さく設定 */
    height: auto;
    border-radius: 5px; /* 写真の角を丸くする */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 軽い影を追加 */
    align-self: flex-start; /* 写真を上揃え */
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    #diary-announcements article {
        flex-direction: column; /* モバイルでは縦配置 */
        align-items: flex-start;
    }

    .announcement-image {
        margin-top: 10px; /* 上下に余白を追加 */
        width: 38%; /* モバイル向けに幅を広げる */
        align-self: center; /* 中央揃え */
    }

nav ul {
        display: none;
    }

    .menu-icon {
        display: block;
    }

    nav ul.show {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }
　　
　　 nav ul li:not(:last-child)::after {
        content: none; /* 右側の区切り線を表示しない */
    }
