﻿@charset "utf-8";

/* 初期設定
---------------------------------------------------- */
body {
  margin: 0;
  padding: 0;
  font-size: small;
  color: #333;
  background: #fff;
}
h1, h2 {
  color: #222;
}
h1 {
  font-size: x-large;
}
h2 {
  font-size: medium;
}
p {
  line-height: 1.7;
}
a:link, a:visited {
  color: #37c; 
}
a:hover {
  color: #999;
}
section, article, aside, nav, header, footer, hgroup {
  display: block;
}
center {
　display:block;
　margin:0 auto;
}

/* ページの枠組み
---------------------------------------------------- */
#page {
  margin: 0 auto;
  width: 960px;
}
#main {
  float: left;
  width: 450px;
}
#sub {
  float: center;
  width: 960px;
　display:block;
　margin:0 auto;
}
#sub2 {
  float: center;
  width: 650px;
　display:block;
　margin:0 auto;
}
footer {
  clear: both;
}
footer section {
  float: left;
  width: 960px;
}
footer section:nth-child(2) {
  margin: 0 30px;
}
#copyright {
  clear: both;
}

/* ヘッダー
---------------------------------------------------- */
header image {
  display: block;
}
#logo {
  margin: 20px 0;
}

/* ナビゲーション
---------------------------------------------------- */
nav ul {
  overflow: hidden;
  margin: 0 0 10px 0;
  padding: 0;
  border: 1px solid #ddd;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  border-radius: 7px;
  -webkit-box-shadow: 1px 1px 0 #fff inset, 1px 1px 3px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 1px 1px 0 #fff inset, 1px 1px 3px rgba(0, 0, 0, 0.1);
  box-shadow: inset 1px 1px 0 #fff, 1px 1px 3px rgba(0, 0, 0, 0.1);
  line-height: 1.0;
  background: url(img/li-bg.jpg) repeat-x bottom;
} 
nav li, nav a {
  display: block;
}
nav li {
  float: left;
  border-right: 1px solid #ddd;
}
nav a {
  padding: 15px 25px;
  font-weight: bold;
  text-decoration: none;
  text-shadow: 1px 1px 0 #fff;
}
nav a:hover {
  background: url(img/li-bg-hover.jpg) repeat-x bottom;
}
nav #current a {
  color: #333;
  background: #fff;
}

/* サイドバー
---------------------------------------------------- */
#main aside {
  margin: 20px 0 20px 20px;
  padding: 15px;
  border: 1px solid #ddd;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  border-radius: 7px;
  background-color: #f5f5f5;
  -webkit-box-shadow: 1px 1px 0 #fff inset, 1px 1px 3px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 1px 1px 0 #fff inset, 1px 1px 3px rgba(0, 0, 0, 0.1);
  box-shadow: inset 1px 1px 0 #fff, 1px 1px 3px rgba(0, 0, 0, 0.1);
  text-shadow: 1px 1px 0 #fff;
}
#main h2 {
  clear: both;
  margin-top: 0;
}
#main image {
  float: left;
  margin: -0.9em 0px 0 0;
}

/* サイドバー
---------------------------------------------------- */
#sub aside {
  margin: 20px 0 20px 20px;
  padding: 15px;
  border: 1px solid #ddd;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  border-radius: 7px;
  background-color: #f5f5f5;
  -webkit-box-shadow: 1px 1px 0 #fff inset, 1px 1px 3px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 1px 1px 0 #fff inset, 1px 1px 3px rgba(0, 0, 0, 0.1);
  box-shadow: inset 1px 1px 0 #fff, 1px 1px 3px rgba(0, 0, 0, 0.1);
  text-shadow: 1px 1px 0 #fff;
}
#sub h2 {
  clear: both;
  margin-top: 0;
}
#sub image {
  float: left;
  margin: -0.9em 0px 0 0;
}

/* フッター
---------------------------------------------------- */
footer {
  border-top: 1px solid #ccc;
}
#copyright {
  padding-top: 20px;
  text-align: center;
  color: #999;
}

/* テーブルのCSS
---------------------------------------------------- */
/* color */
.red{
	color: #F00;
}
.green{
	color: #6C9;
}

table.sample1 {
	width: 100%;
	margin:20px 0px 50px;
	border-top: 1px solid #000;
	border-left: 1px solid #000;
	border-spacing:0px;
}
table.sample1 tr th,table.sample1 tr td {
	text-align: left;
	font-size: 12px;
	border-bottom: 1px solid #000;
	border-right: 1px solid #000;
	padding: 7px;
}
table.sample1 tr th {
	background: #E6EAFF;
}
table.sample1 caption {
	font-size: 90%;
	font-weight: bold;
	width: 100%;
	border-bottom: 1px dotted #6F87FF;
	margin-bottom: 10px;
	text-align: center;
	color: #6F87FF;
}


/* captionを下に付ける */
table.sample1 caption.btm {
	font-size: 90%;
	font-weight: bold;
	width: 100%;
	border-top: 1px dotted #6F87FF;
	border-bottom: none;
	margin-top: 10px;
	text-align: center;
	caption-side: bottom;
}

