/* フッターのスタイル */
footer {
    display: flex;
    justify-content: flex-end;
    padding: 10px;
    background-color: #EEFDF9; /* フッターの背景色もグレーに */
    margin-top: 10px;
}

.footer-logo-text {
    font-size: 30px; /* テキストのフォントサイズ */
    color: #ffffff; /* テキストの色 */
    margin-top: 10px;
    margin-left: 100px;
    margin-bottom: 10px;
    font-weight: 700; /* フォントウェイトを太く設定 */
}

footer .highlight {
    color: #4BE8C3; /* 「統計」の色を現在の色に */
    border: none;
    padding: 5px 5px;
    background-color: white;
    font-weight: 700;
}

footer .drill-background {
    background-color: #4BE8C3; /* 「ドリル」の背景色を緑に */
    padding: 5px 10px;
    color: #ffffff; /* 「ドリル」の文字色を白に */
    margin-right: 100px;
}

footer a {
    text-decoration: none;
}

.footer-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%); /* 中央揃え */
    text-align: center;
}

nav ul {
    list-style: none;
    display: flex; /* ナビゲーションリンクをフレックスボックスで横並びに */
    justify-content: center; /* リスト項目自体も中央揃え */
    padding: 0;
    margin: 0;
}

nav ul li {
    margin: 0 10px; /* リンク間の間隔 */
}

nav ul li a {
    color: #333;
    text-decoration: none;
}

nav ul li a:hover {
    font-weight: bold; /* 太字にする */
    text-decoration: none; /* 下線を削除（オプション） */
}

@media (max-width: 768px) {
    footer {
        margin-bottom: 10px;
        background-color: white; /* フッターの背景色もグレーに */
    }

    .footer-center nav ul {
        flex-direction: column; /* リストを縦方向に並べる */
        align-items: center; /* リスト項目を中央揃え */
        padding: 0;
    }

    .footer-logo-text {
        display: none; /* ロゴを非表示にする */
    }
}
