/**
*---------------------------------------------------------------------------
* beam me up, scotty!
* note: top anchor link
*---------------------------------------------------------------------------
*/
a#beam_me_up {
    position: absolute;
    display: block;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
}

/**
*---------------------------------------------------------------------------
* moveup link
*---------------------------------------------------------------------------
*/
a.move_up {
    display: block;
    position: fixed;
    z-index: 99999;
    bottom: 60px;
    right: 2%;
    width: 45px;
    height: 45px;
    padding: 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.05);
    outline: none;
    transition: 0s;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
}

.lang-en a.move_up {
    right: 8%;
    bottom: 28px;
}

a.move_up::before {
    display: inline-block;
    position: absolute;
    content: '';
    opacity: 0.5;

    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    padding: 0;
    margin: 0;

    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgdmlld0JveD0iMCAwIDMyIDMyIj48cGF0aCBkPSJNNy4yIDE4LjNjLjctLjcgNy41LTcuMiA3LjUtNy4yLjMtLjQuOC0uNSAxLjMtLjVzLjkuMiAxLjMuNWMwIDAgNi45IDYuNSA3LjUgNy4yLjcuNy43IDEuOSAwIDIuNi0uNy43LTEuNy44LTIuNSAwbC02LjMtNi02LjMgNmMtLjkuOC0xLjguNy0yLjUgMHMtLjYtMS45IDAtMi42eiIvPjwvc3ZnPg==') no-repeat center center;
    background-size: contain;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -ms-background-size: contain;
    -o-background-size: contain;
    transition: 0s;
}

a.move_up:hover,
a.move_up:focus {
    background: rgba(255, 255, 255, 0.3);
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.3);
    border-radius: 0 3px 3px 0;
    transition: 0.3s;
}

a.move_up:hover::before,
a.move_up:focus::before {
    opacity: 0.8;
    transition: 0.3s;
}

/**
*---------------------------------------------------------------------------
* moveup link info box
*---------------------------------------------------------------------------
*/
a.move_up span.info {
    display: block;
    position: absolute;
    visibility: hidden;
    opacity: 0;

    top: 0;
    right: 100%;
    height: 45px;
    max-height: 45px;
    padding: 15px 20px 14px 20px;
    white-space: nowrap;

    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px 0 0 3px;
    box-shadow: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;

    text-align: center;
    font-size: 12pt;
    font-style: normal;
    line-height: normal;
    color: rgb(255, 255, 255);

    transition: 0.3s;
}

a.move_up:hover span.info,
a.move_up:focus span.info {
    visibility: visible;
    opacity: 0.9;
    transition: 0.3s;
}

/**
*---------------------------------------------------------------------------
* moveup link info box
* note: firefox only
*---------------------------------------------------------------------------
*/
@-moz-document url-prefix() {
    a.move_up span.info {
        font-size: 11pt;
    }
}

@media handheld, only screen and (max-width: 767px) {
    /**
    *---------------------------------------------------------------------------
    * hide on mobile and tablet
    *---------------------------------------------------------------------------
    */
    a.move_up {
        display: none !important;
    }
}

.lang-jp a.move_up > span.info {
    font-size: 14pt;
    line-height: 1em;
}
