@charset "Shift_JIS";

/*
 * なりたまさひろ Web サイト共通スタイルシート
 * Copyright (c) 2005 NARITA Masahiro (webmaster@naritama.org).
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

/* ページ全体の左右マージン確保 (この目的で blockquote を用いるなど論外) */
body {
	margin-left: 2em;
	margin-right: 2em;
}

/* ハイパーリンクの無いアンカーテキストに対する Mozilla 対処策 */
/*
a, a[name]:hover {color:inherit; background-color:inherit; text-decoration: none;}
*/

/* 見出しの共通設定は、フォントサイズおよび左右マージンに留め、視覚デザインは default.css にて設定 */
h1 {
	font-size: 2.0em;
	font-weight: bold;
}

h2, h3, h4, h5, h6 {
	clear: both;
}

h2 {
	font-size: 1.5em;
	font-weight: bold;
	margin-top: 1em;
}

h3 {
	font-size: 1.2em;
	margin-left: 0.4em;
}

h4 {
	font-size: 1.1em;
	margin-left: 1.2em;
}

h5 {
	font-size: 1em;
	margin-left: 1.8em;
}

h6 {
	font-size: 1em;
	margin-left: 2.2em;
}

hr {
  clear: both;
}

hr.separator {
  width: 70%;
  text-align: center;
}

p {
	clear: both;
	line-height: 1.4em;
	margin: 1em;
}

li {
  line-height: 1.4em;
}

dt {
  font-weight: bold;
  line-height: 1.5em;
  margin-left: 1em;
  margin-top: 0.8em;
}

dd {
  margin-left: 3.4em;
}

div.counter {
  text-align: center;
}

/* 日付表記 */
div.date {
  font-family: arial, helvetica, sans-serif;
  text-align: right;
  padding: 1em;
}

/* ディレクトリ内目次 */
div.contents {
/*font-weight: bold;*/
}
div.contents li {
  font-weight: bold;
  margin-bottom: 5px;
}

/* ページ内見出し一覧 */
div.page-contents {
  border-style: outset;
  border-width: 1px;
  margin-left: 2em;
  margin-right: 5em;
}

/* 前書き */
*#preface {
  margin-left: 1em;
}

/* 概要記述部 */
div.abstract {
	margin-left: 1em;
	margin-right: 1em;
	text-align: justify;
}

/* 章、節、小節 */
div.chapter, div.section, div.subsection {
	clear: both;
}

/* ブロック引用部 */
blockquote {
  border-style: inset;
  border-width: 1px;
  margin-bottom: 1em;
  margin-left: 3em;
  margin-right: 3em;
}

/* ブロック引用に付記する出典表記 */
div.blockquote-cite {
  text-align: right;
  margin-top: 1em;
  margin-bottom: 0.5em;
  margin-right: 1em;
}

/* インライン引用部 */
q {
/*  color: #008080;*/
}

/* 画像 (黒く枠付けしてリバーサルフィルム風に見せる) */
img.picture, img.picture-left, img.picture-right {
  border-style: solid;
  border-color: #000000;
  border-width: 10px;
}

/* 画像 (左寄せ配置) */
img.picture-left {
  margin-right: 2em;
  margin-bottom: 1em;
  float: left;
}

/* 画像 (右寄せ配置) */
img.picture-right {
  margin-left: 2em;
  margin-bottom: 1em;
  float: right;
}

/* 脚注 */
div.footnote {
  clear: both;
  padding: 1px;
  margin-left: 4em;
  margin-right: 4em;
}
div.footnote li {
  line-height: 1.2em;
  padding: 2px;
/*  margin-bottom: 4px;*/
}

/* 参考文献目録 */
div#bibliography {
  clear: both;
  padding: 1px;
  margin-top: 1em;
  margin-left: 2em;
  margin-right: 2em;
}
div#bibliography div.title {
  font-weight: bold;
  margin: 0.5em;
}
div#bibliography li {
/*  padding: 2px;*/
  line-height: 1.2em;
}

/* 後書き */
*#postscript {
  clear: both;
  padding: 2px;
  margin-top: 1em;
  margin-left: 2em;
  margin-right: 2em;
}
*#postscript div.title {
  font-weight: bold;
}

/* 挿入部 */
ins {
  font-style: italic;
  text-decoration: none;
}

/* 抹消部 */
del {
  color: #909090;
  text-decoration: line-through;
}

/* 強調 */
em {
  font-style: normal;
  font-weight: bold;
}

/* より強い強調 */
strong {
  font-style: normal;
  font-size: 1.4em;
  font-weight: bold;
}

/*「声を大にして」*/
*.loud {
  font-size: 2em !important;
  font-weight: bold;
}

/* ちょっとした「つぶやき」 */
*.whispering {
  font-size: 0.9em;
  line-height: 1.2em;
  margin-left: 2em;
  margin-right: 2em;
}

/* 注意喚起 */
*.warning {
  font-weight: bold;
}

/* プログラムの記述 */

/* 短いコードをインラインで直接記述する場合 */
code {
  font-family: arial, helvetica, sans-serif;
  font-weight: bold;
}

var {
  color: #008000;
  font-style: italic;
}

tt, samp {
  font-family: courier, monospace;
}

/* ある程度の量のソースコードをブロックレベルで記述する場合 */
pre.program {
  color: #000000;
  background-color: #cccccc;
  font-family: courier, monospace;
  padding: 5px;
  margin-left: 2em;
  margin-right: 3em;
}

pre.program code {
  font-family: courier, monospace;
  font-weight: normal;
}

pre.program em {
  color: red;
  font-style: normal;
}

pre.program strong {
  color: red;
  background-color: yellow;
  font-style: normal;
}

pre.program span.keyword {
  color: blue;
  font-style: normal;
}

pre.program span.primitive {
  color: green;
  font-style: normal;
}

pre.program span.comment {
  color: #009933;
  font-style: normal;
}

pre.program span.quote {
  color: #ff4500;
  font-style: normal;
}


/* コンソール画面での操作例、出力例 */
pre.console {
  background-color: black;
  color: white;
  font-family: courier, monospace;
  padding: 5pt;
  margin-left: 10pt;
  margin-right: 30pt;
}

pre.console kbd {
  font-family: courier, monospace;
  color: yellow;
}
pre.console samp {
  font-family: courier, monospace;
}

dfn {
  font-weight: bold;
  font-style: normal;
}

abbr, acronym {
  cursor: help;
}

/* 表組み */
table {
  margin-left: 1%;
  margin-right: 1%;
/*  margin-bottom: 2em;*/
}

/* サイト全体のナビゲーション */
div.site-navigation {
  font-weight: bold;
  font-family: arial, helvetica, sans-serif;
  text-align: center;
  padding: 2px;
}

/* 自ページ内フラグメント、ディレクトリ内の前後ページ、目次ページへの (局所的な) ナビゲーション */
div.navigation {
  text-align: center;
/*  padding: 2px;*/
}

div.navigation p {
	margin: 0px;
}

/* ページ下端のシグネチャ */
address {
  font-family: "Times New Roman", times, serif;
  font-style: normal;
  text-align: center;
/*  margin-top: 1em;*/
}

/* ネタバレを非表示、ただし CSS 対応 UA でないと無意味 (爆) */
*.netabare {
  display: none;
}

