.ham-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: #333333;          /* 背景色を付けると目立つ */
    border: none;
    border-radius: 100%;        /* 少し角丸に */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);  /* 軽い影 */
    cursor: pointer;
    z-index: 150;
}
.ham-btn span {
    display: block;
    position: absolute;
    left: 12px;
    right: 12px;
    height: 3px;               /* 線を太く */
    background: #ffffff;
    border-radius: 2px;        /* 線の角丸でソフトに */
    transition: all 0.3s ease;
}
.ham-btn span:nth-child(1) { top: 16px; }
.ham-btn span:nth-child(2) { top: 26.5px; }
.ham-btn span:nth-child(3) { top: 37px; }

/* 開いた時の×印 */
.ham-btn.is-open span:nth-child(1) {
    top: 26.5px;
    transform: rotate(45deg);
}
.ham-btn.is-open span:nth-child(2) {
    opacity: 0;
}
.ham-btn.is-open span:nth-child(3) {
    top: 26.5px;
    transform: rotate(-45deg);
}

/* メニュー本体（最初は画面外） */
.ham-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: #f70034;
    padding: 80px 24px 24px;
    border-top-left-radius: 50px;
    transform: translateX(100%);
    transition: transform 0.3s ease-out;
    z-index: 110;
    box-shadow: -4px 0 12px rgba(0,0,0,0.05);
}
.ham-menu.is-open {
    transform: translateX(0);
}
.ham-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ham-menu li {
    padding: 14px 0;
    border-bottom: 1px solid #eee;
}
.ham-menu a {
    color: #ffffff;
    text-decoration: none;
}

/* オーバーレイ */
.ham-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 100;
}
.ham-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}