* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    height: 100%;
    margin-top: 70px;
}

a {
    text-decoration: none;
    color: #337ab7;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    padding: 0 50px;
    align-items: center;
    min-height: 60px;
    width: 100%;
    background-color: #0D47A1;
    box-shadow: 0 2px 4px gray;
}

.logo {
    color: #fff;
    margin-right: auto;
}

.nav-links {
    display: flex;
    justify-content: space-around;
    width: 38%;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px;
    transition: all 0.5s ease-in-out;
}

.nav-active {
    transform: translateX(0%) !important;
}

@media screen and (max-width: 1024px) {
    .nav-links {
        width: 55%;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0;
        height: 93vh;
        top: 7vh;
        background-color: #0D47A1;
        flex-direction: column;
        align-items: center;
        width: 100%;
        transform: translateX(100%);
        transition: all 0.5s ease-in-out;
    }

    .nav-links ul {
        height: 100%;
        overflow-y: auto;
    }

    .nav-links li {
        opacity: 0;
    }

    .burger {
        display: block;
    }

    @keyframes navLinksFade {
        0% {
            opacity: 0;
            transform: translateX(50px);
        }
        100% {
            opacity: 1;
            transform: translateX(0);
        }
    }
}


.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(405deg) translate(-5px, -6px);
}

.title {
    border-bottom: solid 1.5px #000080;
    margin-top: 70px;
}

.title ul {
    display: flex;
    margin-left: 10px;
}

.title li {
    padding: 5px 10px;
}

.Q {
    border: solid 1.5px #000080;
    border-radius: 10px 10px 0 0;
    border-bottom: #fff;
}

.imfo {
    background-color: azure;
    color: #5f9ea0;
    border-radius: 10px;
    border: solid 1px #20b2aa;
    margin: 10px;
    text-align: center;
}

.imfo p {
    margin: 5px;
}

.question {
    margin: 10px 25px 10px 25px;
}

.question h1 {
    font-size: 25px;
    margin-bottom: 10px;
}

.question ul {
    display: grid;
    width: 100%;
    /* overflow-x: scroll; */
}

.question li {
    padding: 15px;
    box-shadow: 0 0 2px 1px rgb(184, 184, 184) inset;
    border-radius: 5px;
    overflow: scroll;
}

.question li::-webkit-scrollbar {
    display: none;
}

ul {
    list-style: none;
}

.footer {
    border-top: solid 3px #000;
}

.footer p {
    text-align: center;
}
