@charset "Shift_JIS";


* {
  padding: 0;
  margin: 0;
}

a:link {
  color: #0000ff;
  text-decoration: underline;
}

a:visited {
  color: #990099;
  text-decoration: underline;
}

a:hover {
  color: #ff0000;
  text-decoration: underline;
}


body {
  font-size: 1.0em;
  padding: 0;
  margin: 0;
}

#wrapper {
  text-align: left;
  margin: 0em auto 0;
  width: 800px;
  border: 1px solid #000000;
}

#header {
  padding: 20px 20px 10px;
background-image: url(img/header.jpg);
}

#contents {
  float: right;
  width: 570px;
  padding: 2em 20px 4em 10px;
}

#sidebar {
  float: left;
  width: 180px;
  padding: 2em 10px;
}

#footer {
  clear: both;
  padding: 0.5em 0 1em;
}

/* header */
h1 {
  text-align: right;
  font-size: 1em;
  font-weight: normal;
}

.logo {
  font-size: 3.0em;
  margin-bottom: 0.5em;
  color: #ffffff
}

/* contents */
h2,h3,h4,h5,h6 {
  font-size: 1.2em;
  padding: 5px 0 5px 5px;
}

h2 {
  margin-bottom: 1.0em;
  border-style: double none none solid;
  border-bottom: 1px solid;
}

h3,h4,h5,h6 {
  margin-bottom: 0.5em;
  margin-top: 1.5em;
  border-bottom: 1px solid; 
}

#contents p {
  line-height: 1.6em;
  margin-bottom: 0.5em;
margin-left: 2.0em;
}

#contents .pankuzu {
  font-size:90%;
  line-height: 1em;
  margin-bottom: 1em;
margin-left: 0em;
}

#contents .tyoimigi {
margin-left: 4em;
}



#contents ul { margin: 1em 0 1em 20px; }
#contents li { margin-left: 2em;
		margin-bottom: 1.0em;}

/* sidebar */
.sidenavi {
list-style-type: none;
  margin-bottom: 2em;
}

.sidenavi li { display: inline; }

.sidenavi a {
/*  text-decoration: none; */
  display: block;
  width: 140px;
  padding: 0.5em 5px;
/*  color: #000000;*/
  border: 1px solid #cccccc;
}

.sidenavi a:hover {
/*  text-decoration: none;*/
/*  color: #ff4500;*/
  border-bottom: 1px solid #cccccc;
}

/* footer */
#footer p { text-align: center; }
