@charset "Shift_JIS";

html {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    background-color: white;
    color: black
}

a[href]:link {
    background-color: white;
    color: #0000FF;
    text-decoration: none
}

a[href]:visited {
    background-color: white;
    color: #000080;
    text-decoration: none
}

a[href]:hover {
    background-color: #ffcccc;
    color: black;
    text-decoration: none
}

a[href]:active {
    background-color: white;
    color: #FF0000;
    text-decoration: none
}

.top-note {
    position: absolute;
    top: 0;
    right: 1em;
    font-size: small;
    font-family: Impact, sans-serif;
    background-color: transparent
}

p.note {
    text-align: right;
    font-size: small;
    font-family: Impact, sans-serif
}

p.navimain {
    text-align: left;
    font-size: small;
    font-family: Impact, sans-serif
}

p.navisub {
    text-align: right;
    font-size: small;
    font-family: Impact, sans-serif
}

p.date {
    text-align: right;
    margin-right: 3%
}

h1 {
    margin: 0 0 0.5em 0;
    padding: 0.2em 0.2em 0.2em 0.6em;
    text-align: left;
    font-family: Impact, sans-serif;
    text-shadow: #ff0000 4px 4px;
    border-bottom: 1px solid green;
    margin-bottom: 0;
}

h2 {
    font-family: courier, sans-serif;
}

h2 + ul {
    padding-left: 1em;
    list-style-type: none
}

h2 + ul ul {
    list-style-type: none;
    margin-left: 0;
    padding-left: 0;
}

h2 + ul ul li {
    margin-left: 1em;
}

h2 + ul ul li:before {
    content: "\ "
}

/* for diary */
h2.diary {
    color: black;
    border: solid 1px #000000;
    padding: 0.2em;
}

h2.holiday {
    color: red;
    border: solid 1px #ff0000;
    padding: 0.2em;
}

/* for diary */
h2.saturday {
    color: blue;
    border: solid 1px #0000ff;
    padding: 0.2em;
}

/* for toppage */
div#top-block {
    float: left;
    padding-left: 1em;
}

div#bkmk-block {
    float: left;
    padding-left: 1em;
    text-align: right;
}

ul.ditem {
    list-style-type: circle
}

.itemtitle {
    line-height: 1.6em;
 }

li {
    line-height: 1.2em;
    list-style-position: outside;
}

.filename {
    font-family: monospace
}

.code {
    padding-top: 1em;
    padding-left: 1em;
    padding-bottom: 1em;
    border: outset 2px #666666;
}

.small {
    font-size: small
}

pre {
    background-color: #ffffbb;
    margin-left: 2.5em;
    margin-right: 2.5em;
    padding-top: 1em;
    padding-bottom: 1em;
    border-style: outset
}