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;
    margin-bottom: 20px;
}

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

h2 {
   margin-left: 10px;
}

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

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

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;
    display: block; /* リンク全体をクリック可能にする */
    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%);
}

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

#accompaniment-details {
    padding: 20px;
    margin: 20px auto;
    max-width: 800px;
}

#accompaniment-details h2 {
    border-bottom: 2px solid #a2d5c6; /* 区切り線の色 */
    padding-bottom: 10px; /* 線とテキストの間の余白 */
    margin-bottom: 20px; /* 下の余白 */
    font-size: 1.1em; /* フォントサイズを調整 */
    font-family: 'Dancing Script', cursive; /* 柔らかい印象のフォントに変更 */
    text-align: left; /* テキストを中央揃え */
}

#accompaniment-details p {
    font-size: 0.95em; /* フォントサイズを小さく調整 */
}
/* 伴奏ご依頼の詳細セクションの文章 */
#accompaniment-details p:first-of-type {
    margin-left: 15px; /* 左側に余白を追加 */
    margin-right: 15px; /* 右側はそのまま */
    text-align: left; /* テキストを左揃え */
}

.accompaniment-types {
    display: flex;
    flex-direction: column; /* ボックスを縦に並べる */
    gap: 20px;
    margin-bottom: 20px;
}

.accompaniment-type-box {
    border: 1px solid #ddd; /* 枠の色 */
    padding: 20px; /* 枠内のパディング */
    border-radius: 10px; /* 角を丸く */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 影を追加して立体感を出す */
    text-align: left; /* テキストを中央揃え */
}

.accompaniment-type-box h3 {
    font-family: 'Merriweather', serif; /* 活字が見やすい書体に変更 */
    font-size: 1em; /* フォントサイズを小さく調整 */
}

.accompaniment-type-box p {
    font-size: 0.8em; /* フォントサイズを小さく調整 */
    font-family: 'Merriweather', serif; /* 活字が見やすい書体に変更 */
}

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;
}

.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);
}

.contact-button {
    font-size: 0.8em;
    display: flex;
    align-items: center;
    justify-content: center; /* 中央揃えにするための追加 */
    margin: 20px auto; /* 上下のマージンと左右中央揃え */
    padding: 10px;
    background-color: #a2d5c6;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    text-align: center;
}

.contact-button a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.contact-button a:hover {
    text-decoration: none;
}


@media (max-width: 768px) {
    .accompaniment-types {
        flex-direction: column; /* 小さな画面では縦に配置 */
    }

    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; /* 右側の区切り線を表示しない */
    }

  .contact-button {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 20px;
    }
