@charset 'utf-8';

/*
 * 以下を参考に作成。
 * http://matthewjamestaylor.com/blog/ultimate-2-column-left-menu-ems.htm
 */

/* 一般設定 */
body {
	margin: 0;
	padding: 0;
	border: 0;
	width: 100%;
	background: white;
	min-width: 600px;
	font-size: 100%;
	font-family: 'メイリオ', 'ＭＳ Ｐゴシック', sans-serif;
	color: #333;
}

img {
	border: 0;
}

a {
	color: #369;
}

a:hover {
	color: #77f;
	background: #ebffc0;
	text-decoration: none;
}

h1, h2 {
	margin: .8em 0 .2em 0;
	padding: 0;
	color: black;
}

h3 {
	margin: 2em 0 .2em 0;
	padding: 0;
}

p {
	margin: .5em 0 0 1em;
	padding: 0;
}

/* ヘッダー部の設定 */
#header {
	clear: both;
	float: left;
	width: 100%;
	height: 114px;
	border-top: 8px solid #c1d500;  /* Magonote Green */
	border-bottom: 1px solid #c1d500;
	padding: 8px 0 0;
	background-color: white;
	min-width: 800px;
	width: expression(document.body.clientWidth < 800 ? "800px" : document.body.clientWidth); /* for IE6 */
}

#header div.about {
	float: right;
	width: 195px;
	padding-right: 8px;
}

#header div.about a:hover {
	background-color: #edffea;
}

#header h1 {
	background: url(img/NewLogo.png) no-repeat 0px 0px;
	text-indent: -9999px;
	margin: 0 0 0 5px;
	padding: 0;
	height: 81px;
	color: #333;
}

#header ul {
	clear: left;
	float: left;
	width: 100%;
	list-style: none;
	margin: 0;
	padding: 0;
	position: absolute;
	top: 100px;
	left: 0;
	min-width: 830px;
}

#header ul li {
	display: inline;
	list-style: none;
	margin: 0;
	padding: 0;
}

#header ul li a {
	display: block;
	float: left;
	margin: 0 -3px 0 0;
	padding: 0;
	text-align: center;
	background: #eee;
	color: #000;
	text-decoration: none;
	position: relative;
	/*left: 15px;*/
	text-indent: -9999px;
	width: 140px;
	height: 30px;
	background-position: 0;
}

#header ul li a#top {
	background: url(img/h30/top.png) no-repeat 0px 0px;
}

#header ul li a#case {
	background: url(img/h30/case.png) no-repeat 0px 0px;
}

#header ul li a#dev {
	background: url(img/h30/dev.png) no-repeat 0px 0px;
}

#header ul li a#journal {
	background: url(img/h30/journal.png) no-repeat 0px 0px;
}

#header ul li a#seminar {
	background: url(img/h30/seminar.png) no-repeat 0px 0px;
}

#header ul li a#top:hover, #header ul li a#case:hover, #header ul li a#dev:hover,
#header ul li a#journal:hover, #header ul li a#seminar:hover {
	background-position: 0 -30px;
}

/* column container */
.middlewrap {
	position: relative;
	clear: both;
	float: left;
	width: 100%;
	overflow: hidden;
	background: #fff7ed url(img/left_bg.png) repeat-y 0;
}

/*==============================================================================
   左の「お知らせ」「新着情報」「関連リンク」部
==============================================================================*/
.menuwrap {
}

.menuwrap .middle {
	float: left;
	width: 200%;
	position: relative;
	left: 170px;
	background: white;
}

.menuwrap .mainwrap {
	float: right;
	width: 50%;
	position: relative;
	right: 170px;
	padding-bottom: 1em;
}

/*==============================================================================
   メインコンテンツ部
==============================================================================*/
.main {
	margin: 0 1em 0 185px;
	position: relative;
	right: 100%;
	overflow: hidden;
	line-height: 1.4;
}

.main h2 {
	margin-bottom: 1em;
	font-size: 135%;
}

.main h3 {
	clear: right;
	color: #4c8719;
	font-size: 120%;
	border-width: 0 0 2px;
	border-style: solid;
	border-color: #c1d500;
	margin: 2em 0 1em;
	padding-left: .2em;
}

.main ul {
	margin: .5em 0 .5em 2.4em;
	padding-left: .6em;
}

.main li {
	margin: .3em 0;
	padding: 0;
}

.main dl {
	margin: .5em 0;
	padding: 0;
}

.main dt {
	margin: 1em 0 .5em 1em;
}

.main dd {
	margin-left: 3em;
}


.menu {
	float: left;
	width: 140px;
	position: relative;
	right: 160px;
	line-height: 1.5;
	font-size: 90%;
}

.menu h1 {
	margin: 1.5em 0 .5em;
	color: #d39e00;
	text-shadow: #ccc 2px 2px 1px;
	font-size: 140%;
}

.menu > h1:first-child {
	margin-top: 1em;
}

.menu ul {
	margin-left: 1em;
	padding-left: 0em;
}

.menu li {
	margin: 0 0 .5em .5em;
	padding: 0;
}

.menu dl {
	margin: .5em 0;
	padding: 0;
}

.menu dt {
	color: #ff4f6f;
	margin: 1em 0 .5em;
}

.menu dd {
	margin-left: 1em;
}


/* Footer styles */
#footer {
	clear: both;
	float: left;
	width: 100%;
	border-top: 2px solid /*#c1d500*/#f9be00;  /* Magonote Yellow */
	text-align: right;
	font-size: 85%;
	color: #666;
}

#footer a {
	color: #77f;
}

#footer p {
	padding: 10px 10px 10px 0;
	margin: 0;
}

div.img {
	margin: 1em 2em;
}

table {
	line-height: 1.2;
	empty-cells: show;
	border-collapse: collapse;
	margin: .5em .1em .5em 1em;
}

table.headleft th, th.headleft {
	text-align: left !important;
}

table.thinrule th, table.thinrule td {
	border: 1px solid gray;
	margin: 0;
	padding: 2px 8px;
}

table.thinrule th {
	background-color: #f7fff3;
	font-weight: normal;
}

table.vtop td {
	vertical-align: top;
}

tr.evenrow {
	background-color: #e8e8e8;
}

em {
	font-weight: bold;
	color: red;
	font-style: normal;
}

span.footnote {
	color: red;
	font-size: 50%;
	vertical-align: text-top;
}

div.footnotetext {
	border: 1px dotted #308214;
	margin: .5em 0 .5em 2em;
	padding: .5em 1em;
	background-color: #f5ffe2;
	font-size: 85%;
}

div.footnotetext p {
	margin: 0;
	padding: 0;
}

div.float {
	float: right;
	margin: 0 0 .5em .5em;
}

.readmore {
	vertical-align: middle;
}

p.back {
	margin-top: 2em;
}

p.back img {
	vertical-align: middle;
}


/*==============================================================================
  IE6 対応
==============================================================================*/
* html .main {
	width: 100%;
}

* html #header {
	height: 130px;
}

* html #header ul {
	top: 99px;
}

