.side-button {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
}

.side-button-link {
    display: flex;
    align-items: center;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    padding: 1rem 1rem;
    writing-mode: vertical-rl;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    line-height: 1.8;
    transition: background-color 0.3s ease;
}

.side-button-text {
    margin-bottom: 1rem;
}

.side-button-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-image {
    width: 48px;
    height: auto;
    transition: transform 0.3s ease;
}

/* ホバーエフェクト */
.side-button-link:hover {
    background-color: #333;
}

.side-button-link:hover .arrow-image {
    transform: translateX(-4px);
}

/* アニメーション */
.side-button {
    animation: slideIn 0.5s forwards;
}

@keyframes slideIn {
    from {
        transform: translate(100%, -50%);
    }
    to {
        transform: translate(0, -50%);
    }
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .side-button-link {
        padding: 0.8rem 0.8rem;
        font-size: 1rem;
    }
    
    .arrow-image {
        width: 40px;
    }
}

@media (max-width: 768px) {
    .side-button {
        display: none;
    }
}
