#menu-btn-check {
    display: none;
}

@media screen and (min-width: 769px) {
    nav {
        position: fixed;
        top: 0;
		left:50%;
  transform: translateX(-50%);
		max-width:768px;
width:100%;
        z-index: 100;
    }

    nav ul {
        display: flex;
        list-style: none;
        justify-content: space-between;
        margin: 0;
		padding:0;
    }

    nav ul li {
width:13.5%;
		white-space:nowrap;
    }

    nav ul li:last-child {
        width: 17%;
    }

    nav ul li a {
        background-color: #ffc400;
        color: rgb(0, 0, 0);
        display: block;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        font-family: Arial, sans-serif;
        display: block;
        border-radius: 0 0 7px 7px;
        text-align: center;
        font-size: 13px;
        padding: 10px;
        letter-spacing: 1px;
        box-shadow: 3px 3px 3px #333;
        font-size: 14px;
        font-family: "source-han-sans-japanese", sans-serif;
        font-weight: 700;
    }

    nav ul li a:hover {
        background: linear-gradient(#ffee00, #ffd000);
    }
}

@media screen and (max-width: 900px) {

    .current-menu-item a {
        background-color: #0F6B8A;
        font-weight: bold;
        color: #fff;
        display: block;
        padding: 10px 15px;
        margin-top: 10px;
        border-radius: 3px;

    }

    .jpt {
        font-size: 11px;
    }
}

@media screen and (max-width: 768px) {
    nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 999;
    }

    #menu-btn-check {
        display: none;
    }

    .menu-btn {
        position: absolute;
        top: 15px;
        right: 10px;
        display: flex;
        height: 42px;
        width: 42px;
        justify-content: center;
        align-items: center;
        z-index: 90;
        background-color: #333;
        cursor: pointer;

    }

    .menu-btn span,
    .menu-btn span:before,
    .menu-btn span:after {
        content: '';
        display: block;
        height: 3px;
        width: 25px;
        border-radius: 3px;
        background-color: #f34444;
        position: absolute;
        transition: all 0.5s;
    }

    #menu-btn-check:checked~.menu-btn span {
        background: rgba(255, 255, 255, 0);
    }


    #menu-btn-check:checked~.menu-btn span::before {
        bottom: 0;
        transform: rotate(45deg);
        transition: all 0.5s;
    }

    #menu-btn-check:checked~.menu-btn span::after {
        top: 0;
        transform: rotate(-45deg);
        transition: all 0.5s;
    }

    .menu-btn span:before {
        bottom: 8px;
    }

    .menu-btn span:after {
        top: 8px;
    }


    .nav {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 80;
        background: #04546e;
    }

    .main-menu ul {
        padding: 70px 10px 0;
    }

    .main-menu ul li {
        border-bottom: solid 1px #ffffff;
        list-style: none;
    }

    .main-menu ul li a {
        display: block;
        width: 100%;
        font-size: 15px;
        box-sizing: border-box;
        color: #ffffff;
        text-decoration: none;
        padding: 9px 15px 10px 0;
        position: relative;
    }

    .main-menu ul li a::before {
        content: "";
        width: 7px;
        height: 7px;
        border-top: solid 2px #ffffff;
        border-right: solid 2px #ffffff;
        transform: rotate(45deg);
        position: absolute;
        right: 11px;
        top: 16px;
    }

    .main-menu {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 100%;
        z-index: 80;
        background: rgba(0, 56, 161, 0.9);
        transition: all 0.5s;
        font-weight: bold;
    }

    #menu-btn-check:checked~.main-menu {
        left: 0;
    }


}