﻿@charset "utf-8";

* {
	margin:  0;
	padding: 0;
	border:  none;
}

img {
	margin:         0.2em;
	vertical-align: middle;
}

hr {
	display: none;
}

address {
	color:           #686;
	margin:          3em 1em 0.5em 0;
	text-decoration: italic;
}

em, strong {
	font-weight: bolder;
	text-decoration: none;
	font-style: normal;
}

ins, del {
	text-decoration: none;
	font-style: normal;
	color: inherit;
} del {
	text-decoration: line-through;
}

ul, ol {
	list-style-position: side;
	margin: 1em 2em 1em 3.5em;
}

dl {
	margin: 1.5em;
}
dt {
	font-weight: bolder;
}
dd {
	font-size: smaller;
	margin-left: 1.5em;
}

input {
	padding:        0 0.1em;
	vertical-align: middle;
	margin-bottom:  0.1em;
	border: 1px solid #ccc;
}

table {
  margin: 1em 2em;
  width: 90%;
} table, th, td {
	border: 1px solid #bdb;
}


blockquote {
	margin:      1em 2em 0.1em 4em;
	padding:     0.1em 0.5em;
	font-style:  normal;
} blockquote p {
	margin: 0.5em 0;
}

q {
	font-style: normal;
} q:before, q:after {
	content: "";
	display: none;
}


code q:before { content:""; display:none; }
code q:after  { content:""; display:none; }

dd samp, dd code { font-size: 100%; }

pre {
	margin:      1em 4em;
	padding:     0.4em;
	font-size:   1em;
	line-height: 1;
	font-family: "Lucide SansConsole";
}

.note {
	text-align: right;
	font-size: smaller;
}

p.note {
	margin-top: -1.5em;
}

.weak {
	font-size: smaller;
}

span.meado {
	padding-right: 117px;
	height: 16px;
}

img.banner {
	width:  88px;
	height: 31px;
	padding: 0;
}

img.shot, img.shotleft, img.shotright {
	width:  192px;
	height: 144px;
	padding: 0;
}
img.mobi {
	width: 120px;
	height: 160px;
	padding: 0;
}
img.shotleft {
	margin-right: 1em;
	float: left;
}
img.shotright {
	margin-left: 1em;
	float: right;
}
img.left {
	margin-right: 1em;
	float: left;
}

p.display_image {
	text-align: center;
}

/********************************* base *************************************/

body {
/*	font-family: "Trebuchet MS", "Tahoma", "ＭＳ Ｐゴシック", sans-serif; */
	color:       black;
	background:  white;
	line-height: 1.2;
}

a:link, a:visited, a:active, a:hover {
	color: blue;
	text-decoration: none;
} a:link.dead, a:visited.dead, a:active.dead, a:hover.dead {
	color: #22d;
} a:hover, a:hover.dead {
	color: blue;
	text-decoration: underline;
}

em {
	color: inherit;
}
strong {
	color: red;
}
p.note {
	margin-top: 0em;
}

.navigationbar {
	text-align: center;
	font-size: smaller;
	margin: 0;
	line-height: 1.2;
}

.navigationbar li {
	list-style-type: none;
	display:         inline;
	font-size:       smaller;
	padding-left:         1em;
	padding-right:         1em;
}
p {
	margin: 1em 1.5em 1em 2em;
	text-align:   justify;
	text-justify: inter-ideograph;
	-ms-text-justify: inter-ideograph;
	line-height: 1.4;
}

pre, samp, code {
	font-family: "Consolas", "ＭＳ ゴシック", monospace;
	font-size: 100%;
}
pre {
	font-size: 91%;
	line-height: 1;
}


/******************************* heading ************************************/

h1, h2, h3, h4, h5, h6 {
	clear:       both;
	font-weight: bolder;
	margin:      0.5em 0;
}
h1 {
	margin:     0.5em 0 1em 0;
	padding:    0 0.5em;
	text-align: right;

	border-top:    0.1em solid #fdc;
	border-bottom: 0.1em solid #def;
	line-height:   0.1;
	background:    white;
	color:         #393;

	font-family: "Comic Sans MS", fantasy;
	font-size:   2.2em;
}
:root h1 { height: 0.1em; } /* "selector hack", not applied to IE<=7 but applied to Chrome */

h2
{
	font-size:    1.2em;
	color:        #050;
	border-left:  8px double #5b5;
	border-right: 8px double #5b5;
	border-top:    1px solid #aea;
	border-bottom: 1px solid #aea;
	background:   white;
	padding:      0.2em 0.6em;
	margin:       0 1em 1em;
}
div h2 {
	margin:       0 -1.1em 1em;
}

div {
	border-right:  4px solid #dfb;
	border-bottom: 8px solid #dfb;
	margin:        1em 2em 2em;
	background:    #eff;
}
h3
{
	border-top:  4px solid #dfb;
	padding: 0.2em 0.7em 0.2em 1em;
	margin-top:   1em;
	width: 15em;
	color: #040;
	background: white;
	font-size: 1em;
}
h4
{
	margin-left: 3em;
	width: 12em;
	border-bottom: 3px double #bcb;
}

/********************************* quote *************************************/

blockquote {
	background: #ffc;
}
q {
	background: #ffd;
}

/******************************* program code *******************************/

pre
{
	margin:      1em 2.5em 1em 3em;
	padding:     0.5em;
	line-height: 1.2;
	border:  1px dotted #aaa;
	background-color: #ffe;
	font-family: "Courier";
}

pre code, pre samp {
}

pre {
/*	width: 100%;*/
	overflow-x: auto;
}


code del { text-decoration: none; }
code em,  code span.kwd { color: #80c; } /* 予約語 */
code ins, code span.prp { color: #d80; } /* プリプロセッサなどの他言語挿入 */
code del, code span.cmt { color: #080; } /* コメントなど本筋には外れる内容 */
code q,   code span.str { color: #894; } /* 引用符に囲まれた文字列 */

code strong,
code strong * { color: red; }

/********************************** address *********************************/

address a:link, address a:visited, address a:active {
	color: #00b;
}
address a:hover {
	color: blue;
}
span.meado {
	background: url("../css/meado-white.png") no-repeat 1px 1px;
}
