/* ------------------------------
global styles
------------------------------ */

body
{
	margin: 0;
	padding: 0;
	font: 95% arial, hevetica, sans-serif;
	text-align: center;
	color: #000000;
	background: #FFFFFF;
}

a:link { color: #B52C07; }
a:visited { color: #b93411; }
a:focus { color: #000; }
a:hover { color: #7d8206; }
a:active { color: red; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; }

h2
{
	color: #000000 /*#B52C07*/;
	font: 140% georgia, times, "times new roman", serif;
}

h2 a { text-decoration: none; }

h3
{
	color: #00000;
	font: 110% georgia, times, "times new roman", serif;
	position: relative;
	left: 0.8em;
}


img.ex { vertical-align: -50%; }

/* ------------------------------
container styles
------------------------------ */

#container
{
	margin: 1em auto;
	width: 870px;
	text-align: left;
	background: #ffffff;
	border: 1px solid  white;
}

/* ------------------------------
header styles
------------------------------ */
#logo
{

	margin: 0;
	color: #000090;
}

#header
{
	width: 100%;
	position: relative;
	background: white;
	border-bottom: 1px solid black;
}

#header h1
{
	position: absolute;
	margin: 0;
	left: 18px;
    top: 15px;
}

#skipmenu  
{
	position: absolute;
	left: 0;
	top: 5px;
	width: 645px;
	text-align: right;
}

#skipmenu a
{
	color: #555;
	text-decoration: none;
}

/* ------------------------------
mainnav styles
------------------------------ */

#mainnav
{
	background: black;
	color: #FFFFFF;
	padding: 2px 0;
	margin-bottom: 22px;
}

#mainnav ul
{
	margin: 0 0 0 10px;
	padding: 0;
	list-style-type: none;
	border-left: 0 px solid white;
}

#mainnav li
{
	display: inline;
	padding: 0 10px;
	border-right: 1px solid white;
}

#mainnav li a
{
	text-decoration: none;
	color: #FFFFFF;
}

#mainnav li a:hover
{
	text-decoration: none;
	color: black;
	background-color: #FFFFFF;
}


/* ------------------------------
submainnav styles
------------------------------ */

#submainnav
{
	background: #FFFFFF;
	color: #272900;
	padding: 2px 0;
	margin-bottom: 22px;
}

#submainnav ul
{
	margin: 0 0 0 20px;
	padding: 0;
	list-style-type: none;
	border-left: 1px solid #C4C769;
}

#submainnav li
{
	display: inline;
	padding: 0 10px;
	border-right: 1px solid white;
}

#submainnav li a
{
	text-decoration: none;
	color: #272900;
}

#submainnav li a:hover
{
	text-decoration: none;
	color: #fff;
	background-color: #272900;
}


/* ------------------------------
menu styles
------------------------------ */

#menu
{
	float: right;
	width: 220px;
	border-left: 1px solid #C5C877;
	padding-left: 10px;
	padding-right: 5px;
}

#menu ul
{
	margin: 1em 0;
	padding: 0;
}

#menu ul li
{
	font:90% arial, hevetica, sans-serif;
	margin: 0 0 1em;
	padding: 0;
	list-style-type: none;
}

/* ------------------------------
contents styles
------------------------------ */

#contents
{
	float: left;
	width: 870px;
	margin: 0 0 0 0px;
}

#contentss
{
        color: black;
	float: left;
	width: 810px;
	margin: 20 0 20 35px;
}

#contents p { line-height: 165%; }
.blogentry { /*border-bottom: 1px solid #C5C877;*/ }

.blogentry ul
{
	font: 90% arial, hevetica, sans-serif;
	margin: 10px;
}

.blogentry ol
{
	font: 90% arial, hevetica, sans-serif;
	margin: 10px;
}

.blogentry li
{
	padding: .6em;
}

.blogentry li:hover {
    background: #FFFAFA;
}

.blogentry li.color {
    background-color: #F5F5F5;
}

.blogentry td
{
	font: 90% arial, hevetica, sans-serif;
	vertical-align: top;
}

.imagefloat
{
	float: center;
	padding: 2px;
	border: 1px solid #9FA41D;
	margin: 0 0 10px 10px;
}

number
{
	color: black;
	font: 110% georgia, times, "times new roman", serif;
}

email
{
	font: 120% "Courier New", Courier, monospace;
}

name
{
	font: 110% arial, hevetica, sans-serif;
	font-weight: bold;
}

name-obl
{
	font: 100% arial, hevetica, sans-serif;
	font-style: oblique;
	font-weight: lighter;
}

table{
    border-collapse: collapse;
}

table.center {
    margin-left:auto; 
    margin-right:auto;
  }
  
.rowliner td{
    border-bottom: 1px dashed white;
}

/* ------------------------------
footer styles
------------------------------ */

#footer
{
	clear: both;
	color: #FFFFFF;
	text-align: center ;
	font-size: 90%;
	background: black;
	padding: 5px;
}

#footerUP
{
	clear: both;
	color: #3030FF;
	text-align: center ;
	font-size: 90%;
	background: black;
	padding: 5px;
}




#slideshow {
   position: relative;
   width:  870px; /* 画像の横幅に合わせて記述 */
   height: 300px; /* 画像の高さに合わせて記述 */
}
#slideshow img {
   position: absolute;
   top: 0;
   left:0;
   z-index: 8;
   opacity: 10.0;
}
#slideshow img.active {
   z-index: 10;
   opacity: 1.0;
}
#slideshow img.last-active {
   z-index: 9;
}




#slideshowS {
   position: relative;
   width:  870px; /* 画像の横幅に合わせて記述 */
   height: 200px; /* 画像の高さに合わせて記述 */
}
#slideshowS img {
   position: absolute;
   top: 0;
   left:0;
   z-index: 0;
   opacity: 10.0;
}
#slideshowS img.active {
   z-index: 0;
   opacity: 10.0;
}
#slideshowS img.last-active {
   z-index: 10;
}

