body { background-color: azure; padding: 0px; margin: 0px; } 

h1, h2, h3 {
  font-family: sans-serif;
/*
  border-style: solid; border-width: 0pt 0pt 0pt 10pt;
*/
  margin: 0pt 0pt 5pt 0pt; padding: 3pt 10pt 3pt 10pt;
}
/*
h1 { background-color: lightblue; border-color: darkblue; }
h2 { background-color: lavender; border-color: darkgray; }
h3 { background-color: paleturquoise; border-color: lightgray; }
*/

.error { color: red; font-family: sans-serif; }

h1 {
  text-align: center;
/*
  border-style: solid; border-width: 0pt 10pt 0pt 10pt;
*/
}

h3 {
  margin: 0pt 10pt 5pt 10pt;
/*
  border-style: solid; border-width: 0pt 0pt 0pt 5pt;
*/
}

.on { background-color: white; }
.off { background-color: transparent; }

th.page {
  display: none;
  font-family: sans-serif;
  font-size: smaller;
  color: tan;
  background-color: beige; lightgray;
  border-style: solid;
  border-width: 0pt 1pt 1pt 0pt;
/*
  border-width: 1pt;
*/
  border-color: lightgray darkgray darkgray lightgray;
  padding: 1pt; margin: 0pt;
}

td.page {
  background-color: ivory;
  border-style: solid;
  border-width: 1.5pt 0pt 0pt 0pt;
  border-color: #267229;
/*
  border-width: 3pt;
  border-color: darkgray lightgray lightgray darkgray;
*/
  padding: 5pt; margin: 0pt;
}

td#main {
  padding: 5px;
}

td#menu {
  width: 150px;
  padding: 5px;
}

#menu ul {
  padding: 2pt 5pt 2pt 5pt;
  margin: 0pt 2pt 0pt 0pt; 
  list-style-position: inside;
}

/*
#contents h1, h2 {
  background-color: transparent; border: solid 0pt transparent;
}
*/

/*
#header, #footer {
  font-family: sans-serif;
  font-size: smaller;
  color: royalblue;
  text-align: center;
  margin: 0pt 0pt 2pt 0pt;
}
*/

hr { border-style: solid; border-width: 0.5pt; border-color: lightblue; }

.code {
  background-color: lightgray;
  margin: 1em 4em 1em 4em;
  padding: 0.5em;
}


/* ------------------------------------ */

/* from knct-jp */
body {
  min-width: 620px; max-width: 1600px;
  margin: 0px; padding: 0px;
  color: #001000; background-color: ivory;
  font-style: normal; font-variant: normal;
  font-weight: normal;
}
center { margin: 0.25em; padding: 0px; }
img { border-width: 0px; }
hr {
  margin: 1em 0px 0.25em 0px;
  border-style: none;
  background-color: #b3b3a1;
  height: 2px;
}

h1, h2, h3, h4, h5 { font-family: sans-serif; }
em, strong {
  font-variant: small-caps;
  font-weight: bold;
  font-style: normal;
  font-size: 120%;
  font-family: sans-serif;
}
em { color: royalblue; }
strong { color: deeppink; }
a {
  color: #267229;
  color: darkslateblue;
  background-color: transparent;
  font-family: sans-serif; font-weight: normal;
  text-decoration: underline;
}
a:visited {
  color: darkslategray;
  font-family: sans-serif; font-weight: normal;
}
a:hover { color: darkorange; }
th {
  font-family: sans-serif;
  font-weight: bold;
  text-align: center;
}

.dummy {        /* CSS 未対応ブラウザにだけ表示させる */
  display: none;
  visibility: hidden;
  height: 0px; margin: 0px; padding: 0px;
}

#header {
  color: black;
  font-weight: bold;
  font-family: sans-serif;
}
#title {
  color: black;
  font-weight: bold;
  font-family: sans-serif;
}
#footer {
  color: #267229; background-color: transparent;
  font-size: smaller; font-variant: normal;
  font-weight: normal; font-family: sans-serif;
}
#footer a {
  color: #267229; background-color: transparent;
}

#titlequery { background-color: #cfd7cf; }
a.titlequery { color: midnightblue; }
a.titlequery:visited { color: midnightblue; }
a.titlequery:hover { color: blue; }


#menu { font-size: smaller; }
#menu ul { list-style: none; }
#menu li { margin: 0px 0px 3px 0px; padding: 0px; }
#menu li a { 
  display: block;
  margin: 0px; padding: 10px 3px 10px 3px;
  text-align: center; text-decoration: none;
}

/*
.on a, .on a:visited, .on a:hover {
*/
#menu .on a {
  font-weight: bold;
  color: darkslategray;
  background-color: #e0f3b0;
}
#menu .on a,
#menu .on a:visited {
  border-bottom: 2px solid #a0b370;
  border-right: 2px solid #a0b370;
}
#menu .on a:hover {
  border: 1px solid #a0b370;
}

#menu .off a,
#menu .off a:visited {
  font-weight: bold;
  color: chocolate;
  background-color: #fed947;
  border-bottom: 2px solid #be9907;
  border-right: 2px solid #be9907;
}
#menu .off a:hover {
  font-weight: bold;
  color: darkslategray;
  background-color: #e0f3b0;
  border: 1px solid #a0b370;
}

