* {
margin:0;
padding:0;
}

body {
margin:5px;
padding:0;
color:#000000;
background:#ffffff;
border:#000099 solid 1px;
}

p{
margin:5px 15px 5px 20px;
}

p.center{
text-align:center;
}

h1{
margin:2px;
}

h2 {
border-left:#000099 solid 10px;
border-bottom:#000099 solid 1px;
margin:0px 5px 5px 0px;
padding:4px 4px 4px 8px;
}

h3 {
border-bottom:#9999cc solid 1px;
border-left:#6666ff solid 4px;
margin:15px 5px 5px 10px;
padding:2px 2px 2px 8px;
}

img {
border:0;
}

p.center img {
margin-top:5px;
margin-bottom:5px;
}

.off_left {display:none;}

#help {
text-align:right;
padding-right:5px;
color:#000000;
background:#ccccff;
border-top:#000099 solid 1px;
}

#help a:link,
#help a:visited{
text-decoration:none;
color:#0000ff;
background:#ccccff;
border-bottom:#0000ff solid 1px;
}

#help a:hover{
text-decoration:none;
color:#006600;
background:#ccccff;
/*border-top:#006600 1px solid;*/
border-bottom:#006600 1px solid;
}

/*  ---------------- Contents Container ----------------- */
div#contents{
margin:10px;
}

#contents a:link{
text-decoration:none;
color:#0000ff;
border-bottom:#0000ff solid 1px;
}

#contents a:visited{
text-decoration:none;
color:#990033;
border-bottom:#990033 dashed 1px;
}

#contents a:hover{
text-decoration:none;
color:#ff0000;
/*border-top:#ff0000 solid 1px;*/
border-bottom:#ff0000 solid 1px;
}

#contents a.nb:link{
border:none;
color:#ffffff;
}

#contents a.nb:visited{
border:none;
color:#ffffff;
}

#contents a.nb:hover{
border:none;
color:#ffffff;
}

/*  ---------------- Main Contents ----------------- */
div#mainContents {
margin-bottom:10px;
padding-bottom:10px;
float:left;
width:65%;
position:relative;
background:#ffffff;
}

#mainContents a:link{
text-decoration:none;
color:#0000ff;
border-bottom:#0000ff solid 1px;
}

#mainContents a:visited{
text-decoration:none;
color:#990033;
border-bottom:#990033 dashed 1px;
}

#mainContents a:hover{
text-decoration:none;
color:#ff0000;
border-bottom:#ff0000 solid 1px;
}

#mainContents ul, ol{
}

#mainContents li{
margin-left:50px;
margin-right:20px;
list-style-type:disc;
}

/*  ---------------- Sub Contents ----------------- */
div#subContents {
margin-bottom:10px;
padding-bottom:10px;
float:right;
width:32%;
position:relative;
background:#ffffff;
border-left:#cccccc dotted 1px;
}

div#subContents h2{
/*
display:none;
*/
margin-left:-9999px;
border:0px;
}

#subContents h3{
margin-left:0;
/*
border-bottom:#ffcc99 solid 1px;
border-left:#ff9966 solid 4px;
*/
}

#subContents p{
margin-left:10px;
}

#subContents li{
margin-left:25px;
list-style-type:disc;
}

#subContents a:link{
text-decoration:none;
color:#0000ff;
border-bottom:#0000ff solid 1px;
}

#subContents a:visited{
text-decoration:none;
color:#990033;
border-bottom:#990033 dashed 1px;
}

#subContents a:hover{
text-decoration:none;
color:#ff0000;
/*border-top:#ff0000 solid 1px;*/
border-bottom:#ff0000 solid 1px;
}

/*  ---------------- Header ----------------- */
div#header {
margin-bottom:5px;
background:#ffffff;
}

#header img.skip_link {
position:absolute;
left:-9999px;
border:0;
}

#header ul {
padding:0px 20px 2px 20px;
background:#ccccff;
list-style:none;
}

#header li {
display:inline;
white-space:nowrap;
list-style:none;
}

#header li span{
margin:0px 4px 0px 0px;
padding:4px 20px 4px 20px;
text-decoration:none;
color:#000000;
background:#ffffff;
border-top:#000099 solid 1px;
border-bottom:#ffffff solid 1px;
border-right:#000099 solid 1px;
border-left:#000099 solid 1px;
list-style:none;
}

#header li a:link,
#header li a:visited{
margin:0px 4px 0px 0px;
padding:4px 20px 4px 20px;
text-decoration:none;
color:#ffffff;
background:#000099;
list-style:none;
}

#header li a:hover{
margin:0px 4px 0px 0px;
padding:4px 20px 4px 20px;
text-decoration:none;
color:#ffffff;
background:#0000ff;
list-style:none;
}

#header img.wadai{
position:absolute;
top:7px; right:7px;
border:0;
}

/*  ---------------- Footer ----------------- */
div#footer {
padding:4px;
clear:both;
background:#ccccff;
border-top:#9999cc solid 1px;
text-align:right;
}

/*  ---------------- Main Contents Paper----------------- */
div#mainContentsPaper {
width:100%;
background:#ffffff;
}

#mainContentsPaper a:link{
text-decoration:none;
color:#0000ff;
border-bottom:#0000ff solid 1px;
}

#mainContentsPaper a:visited{
text-decoration:none;
color:#990033;
border-bottom:#990033 dashed 1px;
}

#mainContentsPaper a:hover{
text-decoration:none;
color:#ff0000;
/*border-top:#ff0000 solid 1px;*/
border-bottom:#ff0000 solid 1px;
}

#mainContentsPaper ul, ol{
margin:10px;
}

#mainContentsPaper li{
margin-left:50px;
margin-right:20px;
border-bottom:#000000 dotted 1px;
}

/*  ---------------- Main Contents Profile ----------------- */
div#mainContentsProfile {
width:100%;
background:#ffffff;
}

#mainContentsProfile a:link{
text-decoration:none;
color:#0000ff;
border-bottom:#0000ff solid 1px;
}

#mainContentsProfile a:visited{
text-decoration:none;
color:#990033;
border-bottom:#990033 dashed 1px;
}

#mainContentsProfile a:hover{
text-decoration:none;
color:#ff0000;
/*border-top:#ff0000 solid 1px;*/
border-bottom:#ff0000 solid 1px;
}

#mainContentsProfile h3{
/*
border:#cccccc outset 2px;
background:#ccccff;
width:70%;
*/
}

#mainContentsProfile ul, ol{
margin:10px;
}

#mainContentsProfile li{
margin-left:50px;
margin-right:20px;
padding-top:0.4em;
}

#mainContentsProfile ul li{
list-style-type:none;
}

#mainContentsProfile ol li{
border-bottom:#999999 dotted 1px;
}

/*--------- table --------*/
table {
margin-left:auto;
margin-right:auto;
border-collapse:collapse;
}

caption {
background:#ffffff;
padding:4px;
text-align:center;
}

td {
padding:2px 10px;
text-align:left;
border-bottom:#999999 solid 1px;
}

th {
padding:2px 10px;
text-align:left;
border-top:#000099 solid 1px;
border-bottom:#000099 solid 1px;
background:#ccccff;
}

/*--------- dl dt dd --------*/
dt {
border-bottom:#9999cc solid 2px;
margin:15px 15px 5px 20px;
padding:2px 10px 2px 10px;
display:inline;
}

dd{
text-align:left;
margin-left:50px;
margin-top:5px; margin-bottom:10px;
padding:0;
display:block;
}

img.right{
float:right;
margin-left:8px; margin-bottom:8px;
border:0;
}

.jump{
clear:both;
text-align:center;
}

span.date{
color:#000000;
background:#ccccff;
padding:2px 2px 0px 4px;
}

span.new{
color:#ff0000;
}


/*  ---------------- Main Contents Photo ----------------- */
div#mainContentsPhoto a {
text-decoration: none;
border-bottom: none !important;
}

div#mainContentsPhoto img {
width: 200px;
}

div#mainContentsPhoto table {
margin-left: 1.5em;
}

div#mainContentsPhoto td{
border:none;
padding:0 0.5em 0 0;
}
