@charset "utf-8";

/*初期設定
-----------------------------------------------*/
body {
	margin: 0;
    	padding: 0;
    	font-size: small;
    	color: #333;
    	background: #eee;
}
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: #f00;
}
section, article, aside, nav, header, footer, hgroup {
	display: block;
}

/*
/* ページの枠組み
-----------------------------------------------*/
#page {
	margin: 0 auto;
	padding:0 10px;
    	width: 880px;
	background: #fff;
}
#main {
	margin:30px 30px 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;
*/
}



#p1 img { float: right; }
#p2 { float: right; }
#p3 img { float: left; }
#h2 { clear: both; }


footer {
	clear: both;
	color:#fff;
	background:#aaa;
}

footer section {
	float: left;
    	width: 350px;
}

/*
footer section:nth-child(2){
	margin: 0 10px;
}
*/

#copyright {
	clear: both;
}

/* ヘッダー
-----------------------------------------------*/
header img {
	display: block;
}
#logo {
	padding: 20px 0;
}

/* ナビゲーション
-----------------------------------------------*/
nav ul {
	overflow: hidden;
    	margin: 0 0 10px 0;
    	padding: 0;
    	border: 1px solid #ddd;
	-webkit-border-radius: 7px;
	-moz-boder-radius: 7px;
	boder-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(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 30px;
	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
}

/* サイドバー
-----------------------------------------------*/



/* フッター
-----------------------------------------------*/
footer {
	color: #fff;
	border-top:1px solid #ccc
	
}
footer h2 {
	color: #fff;
}
footer a:link, footer a:visited {
	color: #fff;
}
footer a:hover {
	color: #000;
}

#copyright {
	padding-top:20px;
	text-align: center;
	color:#777;
}