.page_top{
    text-align: center;
    background-color: #ff8b8b;
    margin-bottom: 30px;
}
.page_top a{
    color: #fff;
    display: inline-block;
    width: 100%;
    padding: 20px 0;
    font-size: 17px;
    }
.page_top a:hover{
    background-color: #fd7e7e;
    padding: 21px 0 19px;
    }
.page_top {
    display: block;
    width: 100%;
    position: fixed;
    left: 0px;
    bottom: 2px;
    z-index: 9999;
    text-align: center;
    padding: 0 auto;
}

/* フローティングメニューのコンテナ */
.floating-menu {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1800px; /* 横幅1800pxに固定 */
    display: flex;
    flex-direction: column;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

/* 1段目（4つ） */
.menu-row {
    display: flex;
}

/* 2段目（2つ） */
.menu-row.bottom {
    justify-content: center; /* 2段目を中央揃え */
}

/* メニューアイテム */
.menu-item {
    flex: 1;
    padding: 15px;
    text-align: center;
    color: white;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 1段目の背景色（交互） */
.menu-item:nth-child(odd) { background-color: #888; }
.menu-item:nth-child(even) { background-color: #aaa; }

/* 2段目の背景色（別の交互色） */
.menu-row.bottom .menu-item:nth-child(1) { background-color: #555; }
.menu-row.bottom .menu-item:nth-child(2) { background-color: #777; }

/* 1段目（450px × 4） */
.menu-row:first-child .menu-item {
    width: 450px;
}

/* 2段目（900px × 2） */
.menu-row.bottom .menu-item {
    width: 900px;
}

/* ホバー効果 */
.menu-item:hover {
    background-color: #444;
}

/* スマホ対応 */
@media (max-width: 1800px) {
    .floating-menu {
        width: 100%;
    }
    .menu-row {
        flex-direction: column;
    }
    .menu-item {
        width: 100%;
    }
}