body {
	margin: 0 0 3px;
	padding: 0 0 3px;
	background: #39C;
	text-align: center;
	font-family: sans-serif;
}

div#header {
	margin: 0 auto;
	padding: 20px 30px 0 35px;
	width: 681px;
	background: url(../img/layout/header-bg.gif) top center no-repeat;
	text-align: left;
	line-height: 1;
}

div#header div#sitetitle {
	float: left;
	width: auto;
	height: 72px;
	overflow: hidden;
	background: #04DAFC;
}

div#header div#intr {
	height: 62px;
	padding-top: 10px;
	overflow-y: auto;
	background: #04DAFC;
	color: #FFF;
	font-size: 83%;
}

div#header div#intr img {
	display: inline;
	float: left;
	margin-top: 3px;
}

div#header div#intr li {
	display: block;
	float: left;
	margin-top: 3px;
	padding: 0 2px;
	background: url(../img/layout/navi-bg.gif);
	text-align: center;
	line-height: 35px;
}

div#header div#intr li.left {
	height: 35px;
	width: 11px;
	padding: 0;
	background: url(../img/layout/navi-left.gif);
}

div#header div#intr li.right {
	height: 35px;
	width: 11px;
	padding: 0;
	background: url(../img/layout/navi-right.gif);
}

div#header div#intr a {
	display: block;
}

div#content {
	width: 728px;
	margin: 0 auto;
	padding: 0 9px;
	background: url(../img/layout/body-shadow.gif) center repeat-y;
}

div#footer {
	width: 730px;
	height: 57px;
	margin: 0 auto;
	padding: 3px 8px 0 8px;
	background: url(../img/layout/footer-bg.gif) center center no-repeat;
	font-size: 65%;
	line-height: 1.1;
}

div#footer div {
	padding-left: 40px;
	padding-right: 40px;
}

div#body {
	width: 650px;
	margin: 0 auto;
	padding: 0 0 1.5em 50px;
	border-left: 1px solid #00DBFF;
	border-right: 1px solid #00DBFF;
	overflow: hidden;
	background: #FFF 2px 2px no-repeat url(../img/bodybg.gif);
	text-align: left;
	color: #454545;
	font-size: 83%;
	line-height: 1.3;
}

div#body .description {
	margin-bottom: 2em;
}

html>body div#body {
	width: 650px;
}

h1 {
	width: 88%;
	margin-top: 0;
	margin-bottom: 3px;
	padding-top: 1.1em;
	padding-bottom: 0;
	border-bottom: dashed gray 1px;
	font-size: 160%;
	color: #f60;
	text-indent: .2em;
}

h2 {
	margin: 2em 0 .7em;
	font-size: 115%;
	color: #069;
	line-height: 1;
}

img {
	border: 0;
}

a:link {
	color: #000;
}

a:visited {
	color: #333;
}

a:hover, a:active {
	color: red;
}

a.nolink {
	color: #999;
}

div#header div#intr a:hover, div#header div#intr a:active {
	background: #09F;
	color: #FFF;
}

div.return, div.next {
	width: 90%;
	text-align: right;
}

div.next a {
	padding: 5px 0 5px 20px;
	background: url(../img/next.gif) no-repeat left center;
	line-height: 2;
}

div.return a {
	padding: 5px 0 5px 18px;
	background: url(../img/return.gif) no-repeat left center;
}

.ns {
	width: 1.5em;
	text-align: center;
}

.nss {
	width: 2em;
	text-align: right;
}

.column {
	float: left;
}

.column > h2:first-child, .columnR > h2:first-child {
	margin-top: 0;
}

div.clear {
	clear: both;
}

div#body div#intro {
	margin-bottom: 2em;
	width: 88%;
	margin-right: 80px;
}

label {
	cursor: default;
}

dd {
	margin-bottom: 1em;
}

div#intro.sign {
	padding-left: .2em;
	margin-right: 0;
}

body#bbs div#intro {
	width: auto;
}

div#intro.sign a {
	margin-right: 10px;
}

a.sign {
	height: 40px;
	display: block;
	margin-right: 120px;
	text-align: right;
}

li.change a {
	color: #666;
}

div #body .warning {
	border: 1px solid #FFD700;
	border-radius: 2px;
	text-align: center;
	background: #FF0;
	width: 88%;
	padding: 3px;
}

h3 {
	font-size: inherit;
	font-weight: 400;
	margin-bottom: 0;
	margin-top: 1em;
}

body#index ul {
	margin-left: 0;
	padding-left: 0;
	list-style-position: inside;
}

body#table div#body td.rl {
	width: 1.2em;
	writing-mode: tb-rl;
}

body#table div#body td.rl > * {
	-webkit-writing-mode: vertical-rl;
	-moz-writing-mode: vertical-rl;
	font-family:
		"@ＭＳ Ｐゴシック",
		"@MS PGothic",
		"@ヒラギノ角ゴ Pro W3",
		"@Hiragino Kaku Gothic Pro",
		v-jsans-serif,
		sans-serif;
	direction: ltr;
}

body#text h3 {
	font-size: 100%;
	font-weight: 700;
	color: #069;
	margin: 0 0 .5em 10px;
}

body#text p {
	display: block;
	width: 500px;
	margin-left: 10px;
	line-height: 1.4;
	margin-top: 0;
	margin-bottom: 1em;
}

body#text div#body table {
	border-collapse: collapse;
	margin: 3px 3px 3px 10px;
}

body#text div#body ul, ol {
	margin-left: 10px;
	padding-left: 1em;
}

body#text div#body div.impact {
	padding-left: 30px;
}

body#list div#body li {
	display: block;
	width: 22%;
	float: left;
	line-height: 100%;
	margin: 0 0 .3em;
	padding: 0 3% 0 0;
}

body#record div#body table {
	border-collapse: collapse;
	width: 600px;
	margin: 20px 3px 3px;
}

body#record .time {
	width: 4em;
	text-align: center;
}

body#record th#chao {
	width: 8em;
}

body#record th#name {
	width: 10em;
}

body#iframe div#body ul#photo li {
	display: block;
	width: 24%;
	float: left;
	margin: 0;
	padding: 0;
}

body#iframe div#body ul#dictionary li {
	display: block;
	width: 8%;
	float: left;
	margin: 0;
	padding: 0;
}

body#qanda div#body p {
	margin-top: 0;
	margin-left: 30px;
	margin-right: 60px;
}

body#qanda div#body blockquote {
	background: #d9f0fc;
	width: 90%;
	margin: 0;
}

body#qanda div#body div#copy {
	text-align: center;
	margin-right: 14%;
}

.yellow {
	background: #ff9;
}

.purple {
	background: #f9f;
}

.green {
	background: #9f9;
}

.red {
	background: #f99;
}

.blue {
	background: #9cf;
}

.gold {
	background: #ffe099;
}

.silver {
	background: #ccc;
}

div#header div#intr ul, body#iframe div#body ul {
	margin: 0;
	padding: 0;
}

div#footer div#footer-menu,
th,
body#table div#body table.cnameform td,
body#table div#body table.centering td,
body#text div#body table.centering td,
body#text div#body div.impact p,
body#text div#body .impact {
	text-align: center;
}

div#footer div#counter, td.n, body#text div#body p.by {
	text-align: right;
}

body#table div#body table, body#iframe div#body table {
	border-collapse: collapse;
	margin: 3px;
}

body#table div#body td,
th,
body#text div#body td,
body#record div#body td,
body#iframe div#body td {
	border: 1px solid #999;
}

body#table div#body th.lv2, body#record div#body th {
	background: #00008B;
	color: #FFF;
}

body#table div#body td.corner, body#text div#body td.corner {
	border-style: none;
}

body#text h2, body#text div#body dl, body#text div#body form {
	margin-left: 10px;
}

body#text div#body form.impact, body#list div#body ul {
	width: 500px;
}

body#list div#body h2, body#iframe div#body h2 {
	clear: left;
}

#poyo {
	display: none;
}

@media screen and (min-width: 1025px) {
	#container {
		width: 70%;
		max-width: 1280px;
		margin: 16px auto;
		border-top-left-radius: 20px;
		border-bottom-left-radius: 20px;
		border-bottom-right-radius: 20px;
		box-shadow: 4px 4px 10px #555;
		background:#04DAFC;
	}
	div#header, div#content, div#footer {
		width: auto !important;
		padding-left: 0;
		padding-right: 0;
		background-image: none;
	}
	div#header, div#footer {
		background: transparent;
	}
	div#header {
		position: relative;
		padding-top: 4px;
	}
	div #body {
		width: auto !important;
		padding-right: 50px;
	}
	div#footer {
		height: 44px;
		margin-bottom: 16px;
		padding-bottom: 0;
	}
	#sitetitle {
		margin-left: 15px;
	}
	#intr {
		background: transparent !important;
	}
	#poyo {
		position: absolute;
		right: -11px;
		top: -11px;
		display: block;
		border: 6px solid #FF9;
		border-radius: 6px;
	}

	#body h1, #body #intro, #body .warning, #body .return {
		width: auto !important;
	}
	#intro {
		margin-right: 0 !important;
	}
	#text p {
		width: auto !important;
		max-width: 50em;
	}

}

@media screen and (min-width: 1130px) {
	div #body {
		font-size: 91%;
	}
	div#header div#intr li {
		font-size: 110%;
	}
	div#header div#intr li a {
		padding-left: 0.25em;
		padding-right: 0.25em;
	}
	#body h1 {
		font-size: 180% !important;
	}
	#body h2 {
		font-size: 120% !important;
	}
}