@charset "UTF-8";

/*-------------------------------------------------------------------------------------------------------------------
    navi.css
---------------------------------------------------------------------------------------------------------------------
*/

:root {
    --nav-height: 48px;
    --nav-bar-color: rgb(255, 255, 255);
    --nav-fontcolor: rgb(255, 255, 255);
    --nav-hovercolor: rgb(128, 128, 128);
    --nav-background: #006080;
}

nav {
    position: relative;
    padding: 0 16px;
    width: 100%;
    height: var(--nav-height);
    z-index: 100;
    /*background: rgba(255, 0, 0, 0.2);*/
}

.nav-links {
    display: flex;
    justify-content: right;
    align-items: center;
    /*width: auto;*/
    height: var(--nav-height);
    /*margin: 0 0 0 auto;*/
    /*float: right;*/
    /*background: rgba(0, 255, 0, 0.2);*/
}

.nav-links li {
    list-style: none;
    margin: 0 16px;
    padding: 0;
    text-align: center;
    /*background-color: rgba(0, 0, 255, 0.2);*/
}

.nav-links li a {
    display: block;
    text-decoration: none;
    font-family: inherit;
    font-weight: normal;
    font-size: 14px;
    line-height: 1.0em;
    letter-spacing: 0.04em;
    margin: 0;
    padding: 2px;
    white-space: nowrap;
    color: var(--nav-fontcolor);
    text-shadow: 1px 1px 1px #000000;
    transition: color 0.2s ease-in;
    cursor: pointer;
    /*background-color: rgba(255, 0, 0, 0.2);*/
}

.nav-links li a:hover {
    text-shadow: 0.7px 0 0 var(--nav-fontcolor);
}

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

.menu_check {
    display: none;
}

.menu {
    position: fixed;
    top: 1px;
    right: 10px;
    width: 47px;
    height: 47px;
    display: none;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    z-index: 99999;
    /*background-color: transparent;*/
    background-color: #006080;
    transition: all 1.5s ease;
}

.menu:hover {
}

.menu span,
.menu span:before,
.menu span:after {
    content: '';
    display: block;
    width: 23px;
    height: 2px;
    border-radius: 5px;
    background-color: var(--nav-barcolor);
    opacity: 1;
    visibility: visible;
    transition: 0.5s ease;
    transform-origin: center;
    position: absolute;
    box-shadow: 0.5px 0.5px 0.5px #000000;
}

.menu span:before {
    bottom: 6.5px;
}

.menu span:after {
    top: 6.5px;
}

#menu_check:checked ~ .menu span {
    background-color: rgba(255, 255, 255, 0);
    box-shadow: none;
}

#menu_check:checked ~ .menu span::before {
    bottom: 0;
    transform: rotate(45deg);
}

#menu_check:checked ~ .menu span::after{
    top: 0;
    transform: rotate(-45deg);
}


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

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

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

@media screen and (max-width: 1000px) {
    .nav-links {
        flex-direction: column;
        justify-content: start;
        align-items: flex-start;
        position: fixed;
        top: 0;
        left: 100%;
        width: 180px;
        height: 100%;
        background-color: rgba(0, 96, 128, 0.90);
        margin-top: 0;
        padding-top: calc(var(--nav-height) + 16px);
        transition: 0.3s ease-out;
    }

    .nav-links li {
        display: block;
        height: var(--nav-height);
        line-height: var(--nav-height);
        margin: 0;
        padding: 0 0 0 24px;
        text-align: left;
        width: 100%;
    }

    .nav-links li a {
        font-size: 16px;
        margin: 0;
    }

    .nav-links ul {
        display: block;
        margin: 2px 0 0 0;
        background-color: transparent;
    }

    .nav-links ul li {
        padding: 0 24px 0 24px;
    }

    .menu {
        display: flex;
    }

    #menu_check:checked ~ .nav-links {
        transform: translateX(-100%);
    }
}

/*-------------------------------------------------------------------------------------------------------------------
    tablet portrait
---------------------------------------------------------------------------------------------------------------------
*/

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

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

@media screen and (max-width: 520px) and (orientation: portrait) and (hover: none) and (pointer: coarse) {
    .nav-links {
        width: 45%;
    }
}

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

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