@charset "UTF-8";

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

.top_logo {
    position: absolute;
    top: 12px;
    left: 24px;
    width: 290px;
    cursor: pointer;
    z-index: 1010;
    /*background-color: red;*/
}

.top_logo img {
    height: 32px;
    float: left;
}

.top_text {
    float: right;
    font-size: 14px;
    background-color: green;
    line-height: 32px;
}

.top_menu {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 56px;
    /*text-align: right;*/
    /*border-bottom: 1px solid #ffffff;*/
    /*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, 0, 0, 0.8);
    border-radius: 24px;
    box-shadow: 1px 4px 8px rgba(0, 0, 0, 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;
    }

    .top_menu_mask {
        display: none;
    }
}

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

@media screen and (max-width: 520px) and (orientation: portrait) and (hover: none) and (pointer: coarse) {
    .top_logo {
        left: 10px;
    }

    .page_top {
        bottom: 16px;
        right: 16px;
        width: 48px;
        height: 48px;
        border-radius: 24px;
    }

    .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) {
    .top_image {
        display: block;
        position: relative;
        width: 100%;
        min-height: 95px;
        height: auto;
        margin: 0;
        padding: 0;
        background-color: rgba(0, 0, 0, 1.0);
    }

    .top_image_small {
        display: none;
    }

    .top_logo_small {
        display: none;
    }

    .side_logo {
        position: absolute;
        top: 7.8%;
        left: 7.7%;
        width: 62.3%;
    }

    .top_text {
        right: 14px;
        bottom: 12px;
        height: 28px;
        padding: 8px 12px 8px 12px;
        font-size: 11px;
        line-height: 12px;
        letter-spacing: -0.07em;
    }
}
