body {
    margin: 0;
    background-color: lightsteelblue;
    background: url("../images/bg-white.png");
    background-position: right;
    background-size: cover;
    background-attachment: fixed;
    padding: 0;
    min-height: 100vh;
    font-size: 1rem;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
}

p {
    line-height: 1.5;
}

#wrapper {
    display: grid;
    grid-template-rows: 200px;
    grid-template-columns: 1fr 4fr;
    grid-template-areas: "header header" "nav content" "nav footer";
    grid-auto-rows: auto;
    border-right: #333 1px solid;
    border-left: #333 1px solid;
    background-color: #e1e1e1;
    min-width: 1280px;
    max-width: calc(100vh * 4 / 3);
    min-height: 100vh;
}

header {
    grid-area: header;
    text-align: right;
}

#logo {
    position: relative;
    float: right;
    min-width: 60%;
    height: 100%;
}

#logo #jp-logo {
    position: absolute;
    top: 20px;
    right: 50px;
    opacity: 0.4;
    color: white;
    font-weight: bolder;
    font-size: 5rem;
}

#jp-logo #logo-no {
    font-size: 4rem;
}

#logo #overlay-logo {
    position: absolute;
    top: 70px;
    right: 20px;
    color: firebrick;
    font-style: italic;
    font-size: 3rem;
    font-family: Georgia, 'Times New Roman', Times, serif
}

#logo #flavor-1 {
    position: absolute;
    top: 10px;
    right: 20px;
    color: slategray;
    font-size: 0.75rem;
    font-family:'Courier New', Courier, monospace
}

#logo #flavor-2 {
    position: absolute;
    right: 30px;
    bottom: 36px;
    color: steelblue;
    font-size: 8px;
    /* font-family: Verdana, Geneva, Tahoma, sans-serif; */
}

nav {
    grid-area: nav;
    align-self: stretch;
    padding: 20px 20px 20px 20px;
}

ul {
    list-style-type: circle;
}

ul.sitemap {
    list-style-type: circle;
}

ul.sitemap li {
    margin-bottom: 1.1em;
    font-size: 1.1em;
}

ul.sitemap:last-of-type {
    margin-bottom: 2em;
}

nav ul {
    margin-top: 0px;
    padding-left: 14px;
    font-size: 0.9em;
}

nav ul li {
    margin-bottom: 1em;
}

.nav-section-heading {
    margin-bottom: 5px;
    font-weight: bold;
}

main {
    grid-area: content;
    border-top: #333 1px solid;
    border-bottom: #333 1px solid;
    border-left: #333 1px solid;
    background-color: #efefef;
    padding: 2rem 6rem 2rem 6rem;
}

footer {
    grid-area: footer;
    width: 100%;
    height: 4rem;
    text-align: center;
}

a {
    color: #0a5198;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.note {
    margin-right: 1em;
    margin-left: 1em;
    font-size: 0.9em;
    text-align: right;
}

.last-update {
    margin-top: 48px;
    font-style: italic;
    font-size: 0.9em;
    text-align: right;
}

.last-update::before {
    content: "Last updated ";
}

li.cd::marker {
    content: "??";
}

li.smaho::marker {
    content: "??";
}

li.book::marker {
    content: "??";
}

li.pc::marker {
    content: "???";
}

li.scroll::marker {
    content: "??";
}

li.sword::marker {
    content: "??";
}

hr {
    background-color: #ddd;
    color: #ddd;
}

hr.end {
    border-style: solid;
    height: 16px;
}

.new-page {
    color: red;
    font-size: 0.9em;
}

.news-entry {
    padding-left: 2em;
}
