/* 新卒採用フローティングボタン（PC・SP） */
.floating-button {
    position: fixed;
    top: 25%;
    /* top: 50%; */
    right: 0;
    z-index: 99999;
    padding: 20px 12px;
    background: linear-gradient(86.13deg, #7080F7 -3.42%, #3E9ED9 59.59%);
    /* background: linear-gradient(86.13deg, #2db85f -3.42%, #1b933b 59.59%); */
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.15);
    border-radius: 12px 0 0 12px;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    text-orientation: upright;
    transition: box-shadow 0.3s ease, filter 0.3s ease;
}
.floating-button a,
.floating-button-sp a {
    font-size: 16px;
    font-family: "Hiragino Sans W3", "Hiragino Kaku Gothic ProN",
        "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック",
        "MS PGothic", sans-serif;
    color: #fff;
    font-weight: bold;
    letter-spacing: 0.1em;
    text-decoration: none;
}
/* .floating-button:hover,
.floating-button-sp:hover {
    box-shadow:
        -4px 0 10px rgba(0, 0, 0, 0.15),
        0 0 12px rgba(27, 147, 59, 0.6);
    filter: brightness(1.05);
} */
.floating-button:hover,
.floating-button-sp:hover {
    box-shadow:
        -4px 0 10px rgba(0, 0, 0, 0.15),
        0 0 12px rgba(62, 158, 217, 0.6);
    filter: brightness(1.05);
}
.floating-button-sp {
    display: none;
}
@media screen and (max-width: 834px) {
    .floating-button {
        display: none;
    }
    .floating-button-sp {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 99999;
        padding: 14px 16px;
        background: linear-gradient(86.13deg, #7080F7 -3.42%, #3E9ED9 59.59%);
        /* background: linear-gradient(86.13deg, #2db85f -3.42%, #1b933b 59.59%); */
        text-align: center;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
        border-radius: 12px 12px 0 0;
        transition: box-shadow 0.3s ease, filter 0.3s ease;
    }
    .floating-button-sp a {
        display: block;
    }
    body.has-floating-button-sp {
        padding-bottom: 56px;
    }
}