@charset "utf-8";


/*
 * フローティングメニュー
 * --------------------------------------------------
 */

.float-menu {
    right: 0px;
    bottom: calc((100vh / 3) + -175px);
    width: 50px;
    background: rgba(150, 0, 0, 0.8);
    z-index: 10;
    height: 300px;
    border: 1px solid #ffffff;
    border-right: none;
    display: flex;
    flex-flow: column;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.float-menu.fixed {
    position: fixed;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.float-menu a {
    height: 100%;
    width: auto;
    display: flex;
    flex-wrap: nowrap;
    writing-mode: vertical-rl;
    font-size: 1.6rem;
    line-height: 1;
    font-weight: 300;
    color: #ffffff;
    padding: 0px 1.6rem;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #ffffff;
    flex-grow: 1;
}

.float-menu a img {
    height: auto;
    width: 2.4rem;
    margin-bottom: 0.8rem;
}

.float-menu a:hover {
    background: rgba(150, 0, 0, 1);
}

.float-menu a:last-child {
    border-bottom: none;
}

@media(max-width: 767px) {
    .float-menu {
        right: 0px;
        top: auto;
        bottom: 0px;
        width: 100%;
        height: auto;
        border: none;
        border-top: 1px solid #ffffff;
        flex-flow: unset;
    }

    .float-menu a {
        height: auto;
        width: calc(100% / 3);
        display: flex;
        flex-wrap: nowrap;
        writing-mode: unset;
        font-size: 1.4rem;
        line-height: 1;
        font-weight: 300;
        color: #ffffff;
        padding: 1.6rem;
        align-items: center;
        justify-content: center;
        border-bottom: none;
        border-left: 1px solid #ffffff;
        flex-grow: 1;
    }

    .float-menu a:first-child {
        border-left: none;
    }

    .float-menu a img {
        height: 2.1rem;
        width: auto;
        margin-right: 0.7rem;
        margin-bottom: 0px;
    }

    .footer-spacer {
        height: 50px;
    }
}