#floating-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #d3d3d3;
    border-top: 1px solid #ccc;  /* 下じゃなく上に影 */
    display: flex;
    justify-content: space-around; /* 均等配置 */
    padding: 8px 0;
    z-index: 1000;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
}

#floating-menu a {
    display: flex;
    flex-direction: column; /* 画像の上に文字 */
    align-items: center;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 12px; /* 文字を小さく */
}

#floating-menu a img {
    width: 24px;   /* アイコンサイズ */
    height: 24px;
    margin-bottom: 4px; /* 文字との間隔 */
    object-fit: contain; /* 等倍表示 */
}

#floating-menu a:hover {
    color: #007BFF;
}
@media (min-width: 1024px) {
    #floating-menu {
        display: none !important;
        height: 0;
        margin: 0;
        padding: 0;
        border: none;
        box-shadow: none;
    }
}
