html {
	margin: 0;
	padding: 0;
}

body {
/*
	background-image: url("./img/bg1.jpg");
	background-repeat: no-repeat;
*/
	background-image: url("./img/bg2.png");
	background-repeat: repeat;
	background-color: #000;
	padding: 0px;
	margin: 0 30px 0 60px;
	font-family: "Meiryo", "Verdana", "Tahoma", "Arial";
	font-size: 1.0em;
	color: #333;
}

div.body {
	background-color: #FFF;
	min-height: 100%;
	border-left: solid 1px #000;
	border-right: solid 1px #000;
	padding: 0px;
/*	padding: 5px 10px 10px 10px; */
}

a:link, a:visited, a:active {
	font-weight: bold;
	text-decoration: none;
/*	color: #006600; */
	color: #483D8B;
}

a:hover {
	font-weight: bold;
	text-decoration: underline;
	color: #4682B4;
/*	color: #228B22; */
}

a.mail {
	font-size: 0.95em;
}

/* Header */
div.header {
	background-image: url("./img/head1.png");
	background-repeat: no-repeat;
	background-color: #000;
	background-color: #FFF;
	height: 128px;
	margin: 0px 0px 5px 0px;
	padding: 1px;
	vertical-align: bottom;
	text-align: right;
}

div.header h1 {
	vertical-align: bottom;
	padding: 0 20px 0 0;
	margin-top: 50px;
	margin-bottom: 10px;
	color: #006600;
	font-size: 200%;
	font-family: "Verdana", "Arial", "Osaka";
}

div.header div.subtitle {
	padding: 0 20px 0 0;
	color: #030;
	font-size: 1.2em;
/*	font-family: "Osaka"; */
}

/* Footer */
div.footer {
	background-color: #FFF;
	text-align: center;
	padding: 5px 0px;
	font-size: 0.95em;
}

div.footer p {
	margin: 2px 15px 2px 15px;
	padding: 0px;
}


table.main {
	border-collapse : separate;
	border-spacing: 2px;
	width: 96%;
	margin: 5px;
	padding: 0px;
}

/* Contents */
table.main td.content, table.main td.index-content {
/*	background-image: url("./img/bg2.jpg"); */
/*
	background-image: url("./img/sky2.png");
	background-position: right bottom;
	background-repeat: no-repeat;
*/
	background-color: #FFF;
	vertical-align: top;
/*	padding: 5px 5px 33px 5px; */
	padding: 5px 5px 5px 5px;
/*	border: solid 1px #666; */

	border-left: solid 1px #999;
	border-right: none;
	border-bottom: none;
	border-top: none;

/*
	border-top: solid 1px #666;
	border-left: solid 1px #666;
	border-bottom: solid 1px #CCC;
	border-right: solid 1px #CCC;
*/
}

table.main td.index-content {
	border-left: solid 1px #999;
	border-right: none;
	border-bottom: none;
	border-top: none;
}

table.main h3 {
	border-left: solid 8px #8B0000;
/*	border-left: solid 8px #228B22; */
	border-bottom: dashed 1px #CCC;
	font-size: 1.1em;
	padding: 0;
	padding-left: 0.5em;
	margin: 0;
}

table.main h4 {
	border-left: solid 3px #B22222;
/*	border-left: solid 3px #228B22; */
	border-bottom: solid 1px #CCC;
	border-top: solid 1px #CCC;
	font-size: 1.1em;
	padding: 0;
	padding-left: 0.5em;
	margin: 0.5em 0 1.0em 1.0em;
}

table.main td.content img {
	float: right;
/*	display: compact; */
	margin: 0px 0px 10px 15px;
}

table.main td.content img.left {
	float: left;
	margin: 0px 15px 10px 0px;
}

table.main td.content p, table.main td.index-content p {
	margin: 0.5em 0 1.0em 1.0em;
}

table.main td.content div.day p {
	margin: 0.5em 0 0.3em 0;
}

table.main td.content p.floatclear {
	clear: right;
	padding: 0px;
}

table.main td.content div.note div.floatleftclear {
	clear: left;
}

table.main td.content ul {
	list-style-type: square;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}

table.main div.lastupdate {
	margin: 0.5em 0em 0.5em 100px;
	text-align: right;
	font-size: 0.95em;
/*	border-bottom: solid 1px #228B22; */
	border-bottom: solid 1px #800000;
}

table.main div.note {
	margin: 0.5em 0px 1.0em 2.0em;
/*	background-color: #CCFFCC; */
	background-color: #EEE;
	-moz-border-radius: 6px;
	border: dashed 1px #999;
/*	font-size: 0.9em; */
	padding: 8px;
}

table.main div.note b {
	color: #000;
	text-decoration: underline;
}

table.main pre {
	margin: 5px 0px 5px 2.0em;
/*	background-color: #CCFFCC; */
	background-color: #EEE;
	-moz-border-radius: 6px;
	border: solid 1px #999;
	font-size: 1.0em;
	padding: 5px;
}

table.main div.subcontent,
table.main div.day {
	margin: 0.5em 0.5em 1.0em 2.5em;
}

table.main div.subcontent p,
table.main div.day p {
	margin: 0.5em 0em 1.0em 0em;
}

table.main b {
	font-weight: bold;
	color: #003399;
/*	color: #336633; */
}

table.main dl dt {
	font-weight: bold;
	mergin: 1.0em 0 0.5em 1.5em;
	color: #003399;
/*	color: #336633; */
	border-bottom: dashed 1px #3366CC;
/*	border-bottom: dashed 1px #228B22; */
}

table.main dl dd {
	margin-left: 1.5em;
	margin-bottom: 1.0em;
}

table.main span.daiwa {
	color: #CC0033;
	font-weight: bold;
}

table.main span.treview {
	background-color: #6699CC;
	color: #FFFFFF;
	padding: 0px 6px;
	font-weight: normal;
	font-family: "Trebuchet MS", "Osaka", "Tahoma";
}

table.main div.navi {
	letter-spacing : 0.3em;
	text-align: center;
	margin-top: 0.3em;
}

table.main div.navi a {
	letter-spacing : normal;
	margin: 0 0.5em;
}

table.main div.navi span.selected {
	background-color: #4682B4;
/*	background-color: #228B22; */
	color: #FFF;
	font-weight: bold;
}

table.main div.hr {
	background-image: url("./img/sky2.png");
/*	background-image: url("img/hr2.png"); */
	background-repeat: no-repeat;
	background-position: right;
	height: 20;
	border-top: solid 1px #EEE;
	border-bottom: solid 1px #CCC;
	margin-left: 100px;
}

table.main div.date,
table.main div.subtitle {
	background-image: url("./img/sky2.png");
/*	background-image: url("img/hr2.png"); */
	background-repeat: no-repeat;
	background-position: right;
	height: 20;
	border-left: solid 5px #B22222;
/*	border-left: solid 5px #228B22; */
	border-bottom: solid 1px #CCC;
	border-top: solid 1px #CCC;
	font-size: 1.0em;
	font-weight: bold;
	padding: 0;
	padding-left: 0.5em;
	margin: 1.5em 0 1.0em 1.0em;
	vertical-align: center;
}

table.history {
	border-collapse : separate;
	border-spacing: 2px;
	border: none;
	margin: 0 0 0 2.0em;
	font-size: 0.95em;
}

table.history td {
	margin: 0;
	padding: 0;
	border-bottom: dashed 1px #CCC;
	vertical-align: top;
}

table.history td.date {
	text-align: right;
	vertical-align: top;
}

table.list {
	border-collapse : separate;
	border-spacing: 2px;
	margin: 0.5em 0 0.5em 1.0em;
}

table.list td.even {
	padding: 5px;
	border: solid 1px #CCC;
	background-color: #FFFFE0;
	-moz-border-radius: 6px;
}

table.list td.odd {
	padding: 5px;
	border: solid 1px #CCC;
	background-color: #E0FFE0;
	-moz-border-radius: 6px;
}

table.link {
	border-collapse : separate;
	border-spacing: 2px;
/*	border: solid 1px #CCC; */
	margin: 5px;
}

table.link td {
	margin: 0;
	padding: 5px;
	border-bottom: dotted 2px #CCC;
}

table.link td img.link {
	margin: 0px;
	padding: 0px;
	border: none;
	text-align: center;
}

table.spec, table.schedule {
	border-collapse: separate;
	border-spacing: 2px;
	empty-cells: show;
/*	border: solid 1px #666; */
	margin: 0px;
}


table.spec {
	width: 95%;
}

table.schedule th, table.schedule td,
table.spec th, table.spec td {
	border: solid 1px #666;
	padding: 2px 5px;
	empty-cells: show;
}

table.schedule td, 
table.spec td {
	vertical-align: middle;
	text-align: left;
}

table.schedule th {
/*	background-color: #99FF99; */
	background-color: #CCC;
	padding-left: 2.0em;
	padding-right: 2.0em;
}

table.main td.content table.spec img {
	float: left;
	vertical-align: middle;
	text-align: center;
	border: none;
	margin: 2px;
	padding: 0px;
}

table.spec th {
	background-color: #EEE;
	font-weight: bold;
}

div.figure {
	float: right;
	margin-left: 10px;
}

div.caption {
	font-size: 0.9em;
	text-decoration: underline;
	text-align: center;
}

/* Photo table */
table.photo {
	border-collapse: separate;
	border-spacing: 5px;
	margin: 0px;
	padding: 0px;
}

table.photo td {
	padding: 5px;
/*
	border-top: 1px solid #CCC;
	border-bottom: 1px solid #CCC;
	border-right: 1px solid #CCC;
	border-right: 3px solid #708090;
*/
	border: 1px solid #B0C4DE;
	line-height: 1.5em;
	background-color: #F0F8FF;
	background-image: url( "img/blockquote.gif" );
	-moz-border-radius: 6px;
}

table.main td.content table.photo img.photo {
	float: left;
	padding: 0px;
	margin: 0px;
	margin-right: 0.5em;
/*
	padding-bottom: 3px;
	padding-right: 3px;
	border-bottom: 2px solid #999;
	border-right: 2px solid #999;
*/
}

table.main td.content table.photo span.note ol {
	padding: 0px;
	margin: 0px;
	margin-left: 2.0em;
}

table.main td.content table.photo span.note ol li {
	padding: 0px;
	margin: 0px;
	margin-left: 2.0em;
}

table.main td.content table.photo span.note ul {
	list-style-type: square;
	padding-left: 2.0em;
	margin: 0px;
	margin-left: 2.0em;
}

table.main td.content table.photo span.note ul li {
	padding: 0px;
	margin: 0px;
	margin-left: 2.0em;
}

table.main td.content table.photo span.note {
	border-bottom: 1px dashed #CCC;
}


/* Calendar table */
table.calendar {
/*	border-collapse: separate; */
	border-collapse: collapse;
	border-spacing: 2px;
	margin: 0px;
	margin-left: 2.0em;
	margin-top: 0.5em;
	font-size: 0.95em;
/*	border: 1px solid #333; */
}

table.calendar td {
	border: 1px solid #999;
}

table.calendar td.note {
	padding: 0em 1.0em;
}

table.calendar td.link {
	border: none;
	padding: 0px;
	padding-left: 5px;
	text-align: left;
	vertical-align: middle;
}

table.calendar td.link img {
	padding: 0px;
	margin: 0px;
	border: none;
	float: none;
}

table.calendar td.month,
table.calendar td.saturday,
table.calendar td.sunday,
table.calendar td.weekday {
	text-align: left;
	font-weight: bold;
}

table.calendar td.month {
	vertical-align: top;
	background-color: #EEE;
	color: #000;
}

table.calendar td.saturday {
	background-color: #ADD8E6;
	color: #4169E1;
}

table.calendar td.sunday {
	background-color: #F08080;
	color: #B22222;
}

table.calendar td.weekday {
	background-color: #EEE;
	color: #000;
}



/*-----------------------------------------------
** Side-bar
*/
table.main td.sidebar {
	width: 20%;
	vertical-align: top;
}

table.main td.sidebar p {
	margin: 0.5em 0 0.5em 0;
	padding: 0;
}

table.main td.sidebar ul.menu {
	margin: 0px 0px 10px 0px;
	padding: 0px;
	list-style-type: none;
	border-right: solid 1px #999;
	border-left: solid 1px #999;
	border-bottom: solid 1px #999;
}

table.main td.sidebar ul.menu li {
	margin: 0px;
	padding: 2px;
	border-top: solid 1px #999;
	font-weight: bold;
}
/*
table.main td.sidebar ul.menu span.new {
	font-size: 0.9em;
	font-weight: bold;
	color: #FF3300;
	font-style: italic;
}
*/
span.new {
	font-size: 0.9em;
	font-weight: bold;
	color: #FF3300;
	font-style: italic;
}

span.soon {
	font-size: 0.9em;
	font-weight: bold;
	color: #3366FF;
	font-style: italic;
}

table.main td.sidebar ul.menu li.selected {
	display: block;
/*	background-color: #228B22; */
	background-color: #4682B4;
	color: #FFF;
/*	font-weight: bold; */
}

table.main td.sidebar ul.submenu {
	margin: 0px -2px 0px 15px;
	list-style-type: none;
	padding: 0px;
	border-left: solid 1px #666;
	background-color: #FFF;
/*	font-weight: normal; */
	text-align: right;
}

table.main td.sidebar ul.submenu li {
	color: #000;
	margin: 0px;
	padding: 2px 5px 2px 2px;
}

table.main td.sidebar ul.submenu li.selected {
	display: block;
	background-color: #CD5C5C;
/*	background-color: #99FF99; */
	color: #FFFFFF;
/*	color: #006600; */
/*	font-weight: bold; */
}

table.main td.sidebar ul li a:link,
table.main td.sidebar ul li a:active,
table.main td.sidebar ul li a:visited {
	font-weight: bold;
/*	font-weight: normal; */
	display: block;
	color: #666;
}

table.main td.sidebar ul li a:hover {
/*
	background-color: #666;
	color: #FFF;
*/
	display: block;
	text-decoration: underline;
	font-weight: bold;
	color: #000;
}

table.main td.sidebar a:link,
table.main td.sidebar a:active,
table.main td.sidebar a:visited {
	font-weight: normal;
	color: #000;
}

table.main td.sidebar a:hover {
	text-decoration: none;
	color: #4682B4;
/*	color: #228B22; */
	font-weight: normal;
}

table.main td.sidebar img {
	border: none;
	margin: 3px 0 2px 0;
}

