/* 
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com 
Twitter: @rich_clark
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
	display:block;
}

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000; 
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;   
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@500&family=Noto+Serif+JP:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@400;500&display=swap');
body {
    font-family: 'EB Garamond', 'Noto Serif JP', serif;
    font-size: 14px;
    letter-spacing: .8;
    line-height: 1.8;
    color:rgb(212,212,212);
    background:#FFFFFF;
    margin:0;
    padding:0;
    text-align: left;
}
::selection {
    background: none;
    color: #aaa;
}

a {
    color: rgb(212,212,212);
    text-decoration:underline;
    transition: 0.5s;
}
a:hover {
    position:relative;
    top:2px;
    left:2px;
}
.index{
    font-family: 'Inconsolata', monospace;
    font-weight: 400;
    line-height: 1.3;
    padding: 0 0 100px;
}
.main {
    max-width: 800px;
    margin: 0 auto;
    min-height: 100vh;
}
.contents {
    max-width: 500px;
    margin: 0 auto;
    padding: 0 20px;
}
p {padding: 0 0 20px;}
.f {color: rgb(197,134,192);}/*function*/
.v {color: rgb(86,156,214);}/*var*/
.c {color: rgb(106,138,53);}/*comment out*/
.w {color: rgb(156,220,254);}
.p {color: rgb(197,121,145);}
.o {color: rgb(206,145,120);}
.g {color: rgb(78,201,143);}
.a {color: rgb(220,220,170);}/*algebra*/
ul.menu {
    padding: 0 0 20px;
    margin: 0;
}
ol{
    counter-reset: number; /* 名前を付けたカウンターをリセット */
    list-style: none; /* olが数字を付けることをキャンセル */
    margin:0;
    padding:0;
}
ol li{
    padding-left: 2em;
    text-indent: -2em;
    white-space: nowrap
}
ol li:before{
    counter-increment: number; /* 任意の名前 */
    content: counter(number); /* 名前を付けたカウンターを呼び出し */
    text-align: right;
    display: inline-block;
    width: 1em;
    padding-right: 1em;
    color: rgb(133,133,133);
    font-variant-ligatures: none;
    letter-spacing: -1px;
}
/*text*/
.text {
    background-color: #fff;
    margin: 0 auto;
    min-height: 100vh;
    padding: 0;
    color: #000;
}

.text h2 {
    margin: 10px 0 40px;
    padding: 10px 0;
    letter-spacing: 0;
    position: relative;
    font-weight: 300;
    font-size: 15px;
    color: #aaa;
    border-bottom: 1px solid #aaa;
}

.text a {
    color:#000;
    text-decoration:none;
    transition:0.5s;
    font-weight: normal;
}
.text a:hover {
    top: 0;
    left: 0;
}

.text .contents {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
}

.text p {padding: 0 0 20px;}
.text ul {display:block; list-style-type: none; margin: 0 auto; padding: 50px 0 0; width: max-content;}
.text ul li {display: inline;}