/*===================================================================
    追従ボタン
===================================================================*/
.float-wrap {
    position: fixed;
    bottom: 10%;
    right: 0;
    z-index: 10;
}

.float-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 55px;
    padding-top: 20px;
    padding-bottom: 15px;
    border-radius: 10px 0 0 10px;
}

.float-btn-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 5px;
}

.float-btn-icon img {
    width: 100%;
    height: auto;
}

.float-btn-text {
    writing-mode: vertical-rl;
    margin: 0;
    letter-spacing: 0.1em;
    font-size: 20px;
}

.float-btn--contact {
    background-color: #8DB969;
    color: #fff;
    border-top: 4px solid #fff;
    border-left: 4px solid #fff;
    border-bottom: 4px solid #fff;
    margin-bottom: 15px;
}

.float-btn--contact:hover {
    background-color: #8DB969;
    color: #fff;
    opacity: .8;
}

.float-btn--recruit {
    background-color: #FAE85B;
    color: #333;
    border-top: 4px solid #fff;
    border-left: 4px solid #fff;
    border-bottom: 4px solid #fff;
}

.float-btn--recruit:hover {
    background-color: #FAE85B;
    color: #333;
    opacity: .8;
}

@media screen and (max-width: 600px) {
    .float-wrap {
        display: flex;
        justify-content: center;
        bottom: 0;
        right: auto;
        left: 0;
        width: calc(100% - 60px);
        background-color: #007E66;
        padding: 20px 10px 10px 0;
        border-radius: 0 20px 0 0 ;
    }

    .float-btn {
        flex-direction: row;
        width: 48%;
        height: 50px;
        padding-top: 5px;
        padding-bottom: 5px;
        border-radius: 0;
    }

    .float-btn-icon {
        width: 22px;
        height: 22px;
        margin-bottom: 0;
        margin-right: 5px;
    }
    
    .float-btn-text {
        writing-mode: horizontal-tb;
        letter-spacing: 0.05em;
        font-size: 16px;
    }
    
    .float-btn--contact,
    .float-btn--recruit {
        /* background-color: #007E66;
        color: #fff;
        border: 2px solid #fff; */
        margin-bottom: 0;
        margin-left: 10px;
        margin-right: 10px;
    }
    
    /* .float-btn--contact .float-btn-icon img {
        filter: invert(50%) sepia(100%) saturate(0%) hue-rotate(0deg) brightness(200%) contrast(100%);
    } */
}

@media screen and (max-width: 480px) {
    .float-wrap {
        padding: 15px 10px 10px 5px;
    }

    .float-btn {
        height: 42px;
        margin-left: 5px;
        margin-right: 5px;
    }

    .float-btn-icon {
        width: 20px;
        height: 20px;
        margin-right: 4px;
    }

    .float-btn-text {
        font-size: 14px;
    }

}



