@charset "UTF-8";

/*-------------------------------------------------------------------------------------------------------------------
    header.css
---------------------------------------------------------------------------------------------------------------------
*/

.header_logo {
    position: absolute;
    top: 8px;
    left: 16px;
    height: 32px;
}

.header_logo img {
    height: 100%;
}

/*-------------------------------------------------------------------------------------------------------------------
*/

.top_menu {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    text-align: center;
    /*background-color: rgba(0, 255, 0, 0.5);*/
}

/*-------------------------------------------------------------------------------------------------------------------
*/

.page_top_button {
    -webkit-appearance: none;
    appearance: none;
    position: fixed;
    bottom: 16px;
    right: 16px;
    padding: 4px 16px;
    font-size: 1rem;
    border-radius: 4px;
    border: none;
    outline: none;
    cursor: pointer;
    color: #ffffff;
    background-color: #404040;
    box-shadow: 1px 4px 8px rgba(0, 0, 0, 0.5);
    transition: 0.5s;
    transform: scale(1);
    opacity: 0;
    z-index: 300;
}

.page_top_button:hover {
    transform: scale(1.08);
}

.page_top_button.fadein {
    opacity: 1;
}

.page_top {
    display: block;
    position: fixed;
    bottom: 24px;
    right: 16px;
    width: 48px;
    height: 48px;
    text-decoration: none;
    text-align: center;
    border: none;
    outline: none;
    cursor: pointer;
    color: #ffffff;
    background-color: rgba(0, 96, 128, 0.9);
    border-radius: 24px;
    box-shadow: 1px 4px 8px rgba(0, 96, 128, 0.5);
    transition: 0.5s;
    transform: scale(1.0);
    opacity: 0;
    z-index: 300;
}

.page_top::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 9px;
    width: 30px;
    height: 30px;
    background-color: #ffffff;
    mask: url(../images/arrow-up.svg) no-repeat center;
    -webkit-mask: url(../images/arrow-up.svg) no-repeat center;
}

.page_top:hover {
    transform: scale(1.08);
}

.page_top.fadein {
    opacity: 1;
}

/*-------------------------------------------------------------------------------------------------------------------
    PC wide
---------------------------------------------------------------------------------------------------------------------
*/

@media screen and (min-width: 1400px) {
}

/*-------------------------------------------------------------------------------------------------------------------
    PC narrow
---------------------------------------------------------------------------------------------------------------------
*/

@media screen and (max-width: 1000px) {
    .top_menu {
        border-bottom: none;
    }
}

/*-------------------------------------------------------------------------------------------------------------------
    Smartphone portrait
---------------------------------------------------------------------------------------------------------------------
*/

@media screen and (max-width: 520px) and (orientation: portrait) and (hover: none) and (pointer: coarse) {
    .page_top {
        bottom: 16px;
        right: 10px;
    }

    .page_top::before {
        font-size: 30px;
        line-height: 48px;
    }
}

/*-------------------------------------------------------------------------------------------------------------------
    Smartphone landscape
---------------------------------------------------------------------------------------------------------------------
*/

@media screen and (max-width: 896px) and (orientation: landscape) and (hover: none) and (pointer: coarse) {
}
