﻿@charset "utf-8";

/* 初期設定
---------------------------------------------------- */
body {
  margin: 0;
  padding: 0;
  font-size: small;
  color: #333;
  background: #fff;
}
h1 {
  color: #9900ff;
  font-size: x-large;
  text-align: center;
  text-shadow: 3px 3px 5px rgba(0,0,0,0.5);
}
section p {
  margin-left: 20px;
}
h2 {
  color: #222;
  font-size: medium;
  text-align: center;
}
h3 {
  color: #222;
  font-size: medium;
  text-align: left;
}
h4 {
  color: #f00;
  font-size: medium;
  text-align: left;
}
p {
  line-height: 1.3;
}
a:link, a:visited {
  color: #37c; 
}
a:hover {
  color: #999;
}
#current {
  color: #333;
  background: #fff;
}
section, article, aside, nav, header, main, footer {
  display: block;
}

/* ページの枠組み
---------------------------------------------------- */
#page {
  margin: 0 auto;
  width: 902.5px;
}
main {
  float: left;
  width: 250px;
}
#sub {
  float: right;
  width: 652.5px;
}
footer {
  clear: both;
}
footer section {
  float: left;
  width: 280px;
}
footer section:nth-child(2) {
  margin: 0 30px;
}
#copyright {
  clear: both;
}

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

/* ナビゲーション
---------------------------------------------------- */
nav ul {
  overflow: hidden;
  margin: 0 0 10px 0;
  padding: 0;
  border: 1px solid #ddd;
  border-radius: 7px;
  box-shadow: inset 1px 1px 0 #fff, 1px 1px 3px rgba(0, 0, 0, 0.1);
  line-height: 1.0;
  background: url(../images/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(images/li-bg-hover.jpg) repeat-x bottom;
}
nav #current a {
  color: #333;
  background: #fff;
}

/* サイドバー
---------------------------------------------------- */
main aside {
  margin: 10px 0px 10px 0px;
  padding: 0px;
  border: 1px solid #ddd;
  border-radius: 7px;
  background-color: Snow;
  box-shadow: inset 1px 1px 0 #fff, 1px 1px 3px rgba(0, 0, 0, 0.1);
  text-shadow: 1px 1px 0 #fff;
}
#sub aside {
  margin: 20px 0px 20px 20px;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 7px;
  background-color: #ffffff;
  box-shadow: inset 1px 1px 0 #fff, 1px 1px 3px rgba(0, 0, 0, 0.1);
  text-shadow: 1px 1px 0 #fff;
}
#sub h3, h4 {
  clear: both;
  margin-top: 0;
}
table {
  margin-left: 20px;
  table-layout: fixed;
}
table tr {
  padding-top: 5px;
}
table th {
  text-align: center;
  padding-top: 5px;
  padding-bottom: 5px;
}
table td {
  padding-left: 15px;
  padding-top: 5px;
  padding-bottom: 5px;
}
.width1{
  width: 70px;
}

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