@charset "Shift_JIS";

/*
 * printメディア用スタイルシート
 * http://confetto.s31.xrea.com/
 */

* {
	margin: 0;
	padding: 0;
	font: inherit;
}

/*
 * ブロックレベル要素
 */

body {
	color: #000;
	background-color: #fff;
	font: 10pt/1.5 serif;
}

address {
	font-style: italic;
	font-family: "Courier New", Courier, monospace;
	text-align: right;
	margin-top: 1em;
	border-top: thin solid;
}

blockquote, fieldset, form, p {
	margin: 1em 0;
}

blockquote, pre {
	page-break-inside: avoid;
}

blockquote {
	margin-left: 40px;
	margin-right: 40px;
}

pre {
	font-family: monospace;
	line-height: 1.1;
	white-space: pre;
	border: thin dotted;
	padding: 4px;
}

hr {
	border: 1px inset;
}

/* 見出し */

h1, h2, h3, h4, h5, h6 {
	font-family: sans-serif;
	page-break-after: avoid;
	page-break-inside: avoid;
}

h1 {
	font-size: 1.5em;
	margin-bottom: .67em;
	border-width: thick 0;
	border-style: double;
	padding-left: 1em;
}

h2 {
	font-size: 1.2em;
	margin: .83em 0;
	border-width: 0 0 thin thick;
	border-style: solid;
	padding-left: 1em;
}

h3 {
	margin: 1em 0;
}

h4 {
	margin: 1em 0;
}

h5 {
	font-size: .83em;
	line-height: 1.17em;
	margin: 1.67em 0;
}

h6 {
	font-size: .67em;
	margin: 2.33em 0;
}

/* リスト */

ul, ol, dl {
	margin: 1em 0;
	page-break-before: avoid;
}

ol, ul, dd {
	margin-left: 40px;
}

li ul, li ol, li dl,
dd ul, dd ol, dd dl,
td ul, td ol, td dl {
	margin-top: 0;
	margin-bottom: 0;
}

td ul, td ol {
	margin-left: 1em;
}

/* 表 */

table {
	border-collapse: collapse;
}

th, td {
	padding: 0 4px;
}

th {
	font-weight: bolder;
	text-align: center;
}

caption {
	text-align: center;
}

/*
 * インライン要素
 */

abbr[title]:after {
	content: "(" attr(title) ")";
}

a[href] {
	text-decoration: underline;
	color: #00f;
}

cite, var {
	font-style: italic;
}

code, var {
	font-family: "Courier New", Courier, monospace;
}

del {
	text-decoration: line-through;
}

ins {
	text-decoration: underline;
}

/* Mozilla5.0系バグ対策 */
del *, ins * {
	text-decoration: inherit;
}

em, strong {
	font-weight: bolder;
}

strong {
	border-bottom: medium double;
}

a img {
	border-width: 0;
}

kbd, samp {
	font-family: monospace;
}

sub, sup {
	font-size: .83em;
}
sub {
	vertical-align: sub;
}
sup {
	vertical-align: super;
}

/*
 * サイト独自の要素
 */

/******************************************************************************
 * 独自の要素
 ******************************************************************************/

.ad-block {
	display: none;
}

#select-style {
	position: absolute;
	top: 5px;
	right: 0;
}

#select-style * {
	color: #808080;
	background: #fff;
}

#sidebar {
	display: none;
}

@media print {
	#select-style {
		display: none;
	}
}
