﻿@charset "utf-8";

/* 初期設定
---------------------------------------------------- */
body {
  margin: 0;
  padding: 0;
  font-size: small;
  color: #333;
  background: #fff;
}
h1 {
  color: #339966;
  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;
}
p {
  line-height: 1.3;
}
a:link, a:visited {
  color: #37c; 
}
a:hover {
  color: #999;
}
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;
}

/* サイドバー
---------------------------------------------------- */
#sub aside {
  margin: 20px 0px 20px 40px;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 7px;
  background-color: #ccffcc;
  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;
}

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