@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP&display=swap');
html {
    font-kerning: auto;
    color: #1a1a1a;
    background-color: #fafafa;
    font-family: 'Noto Sans JP', sans-serif;
}
body {
    margin: auto;
    max-width: 48em;
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 50px;
    font-size: 16px;
    line-height: 175%;
    letter-spacing: 1px;
    hyphens: auto;
    word-wrap: break-word;
    text-rendering: optimizeLegibility;
    border: 3px solid #e6e6e6;
}
footer {
    width: auto;
    margin-top: 50px;
    margin-left: -50px;
    margin-right: -50px;
    padding: 0.5em;
    font-size: 8px;
    text-align: center;
    background-color: #f0f0f0;
}

@media (max-width: 600px) {
    body {
        font-size: 0.9em;
        padding: 1em;
    }
}
@media print {
    body {
        background-color: transparent;
        color: black;
        font-size: 11pt;
	letter-spacing: 1px;
    }
    p, h2, h3 {
        orphans: 3;
        widows: 3;
    }
    h2, h3, h4 {
        page-break-after: avoid;
    }
    footer {
	width: auto;
	padding: 0em;
	margin-left: 1px;
	margin-right: 1px;
	font-size: 4px;
	text-align: center;
	background-color: #f0f0f0;
    }
}

p {
    margin: 0.5em 1.25em 0 1.25em;
    text-indent: 1em;
}

a {
    color: #1a1a1a;
}

a:visited {
    color: #1a1a1a;
}

img {
    max-width: 100%;
}

h1 {
    text-align: center;
}
h2, h3, h4, h5, h6 {
    margin-top: 2.0em;
    padding-top: 0.2em;
    padding-left: 0.7em;
    padding-bottom: 0.2em;
    
    background: #e0e0e0;
}


h5, h6 {
    font-size: 1em;
    font-style: italic;
}

h6 {
    font-weight: normal;
}

li > p {
    text-indent: 0;
    margin: 0.3em 3em 0 0.5em;
}

ol, ul {
    padding-left: 2em;
    margin-top: 1em;
    margin-left: 2em;

}
li > ol, li > ul {
    margin-top: 0;
}

blockquote {
    margin: 1em 0 1em 1.7em;
    padding-left: 1em;
    border-left: 2px solid #e6e6e6;
    color: #606060;
}

code {
    font-family: Menlo, Monaco, 'Lucida Console', Consolas, monospace;
    font-size: 85%;
    margin: 0;
}

pre {
    padding: 1em 1.5em 1em 1.5em;
    line-height: 1;
    background: white;
    color: black;
    border: 3px solid #e6e6e6;
}
pre code {
    padding: 0;
    overflow: visible;
}
.sourceCode {
    background-color: transparent;
    overflow: visible;
}
hr {
    background-color: #1a1a1a;
    border: none;
    height: 1px;
    margin: 1em 0;
}

table {
    margin: 1em 0;
    border-collapse: collapse;
    width: 100%;
    overflow-x: auto;
    display: block;
    font-variant-numeric: lining-nums tabular-nums;
}
table caption {
    margin-bottom: 0.75em;
}
tbody {
    margin-top: 0.5em;
    border-top: 1px solid #1a1a1a;
    border-bottom: 1px solid #1a1a1a;
}
th {
    border-top: 1px solid #1a1a1a;
    padding: 0.25em 0.5em 0.25em 0.5em;
}
td {
    padding: 0.125em 0.5em 0.25em 0.5em;
}
header {
    width: 100%;
    position: relative;
    margin-bottom: 4em;
    text-align: center;
    border: 3px solid black;
}
#TOC li {
    list-style: none;
}
#TOC a:not(:hover) {
    text-decoration: none;
}
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
span.underline{text-decoration: underline;}
div.column{display: inline-block; vertical-align: top; width: 50%;}
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
ul.task-list{list-style: none;}
.display.math{display: block; text-align: center; margin: 0.5rem auto;}
