@charset "shift_jis";

/* ブラウザスタイルの初期化 */
*{
	margin: 0;
	padding: 0;
	background-color: transparent;
	color: #000;
	font-family: "メイリオ","ヒラギノ角ゴ Pro W3", "Osaka", "ＭＳ Ｐゴシック",sans-serif;
	}

/* 背景 */
body{
	background-color: #2a593b;
	}
img.bg {
	min-height: 100%;
	min-width: 1024px;
	width: 100%;
	height: auto;
	position: fixed;
	top: 0;
	left: 0;
	z-index: -1;
	}
@media screen and (max-width: 1024px){
	img.bg {
	left: 50%;
	margin-left: -512px; }
	}

/* 骨組み */
#container {
	position: relative; 
	margin: 0 auto;
	padding: 0 0 0 1%; 
	max-width: 1220px;
	}
#wrapper{
	position: relative;
	margin: 80px 0 0;
	background-color: rgba(255,255,255,0.1);
	width: 99%;
	height: 600px;
	border-left: 1px dotted rgba(255,255,255,0.5);
	border-right: 1px dotted rgba(255,255,255,0.5);
	}
#wrapper:after{
visibility: hidden; display: block;font-size: 0;content: " ";clear: both;height: 0;}

/* メインコンテンツ（文章欄） */
#main{
	position: relative;
	padding: 0 2%;
	float: left;
	width: 75%;
	height: 545px;
	overflow: hidden;
	line-height: 1.8;
	font-size: 14px;
	}
.text{
	padding: 0.3em 0;
	}
h2{
	font-weight: normal;
	margin: 20px 0;
	padding: 0 20px;
	display: inline-block;
	}
.text, h2{
	background-color: #fafafa;
	}

/* ページリンク */
#footer{
	position: absolute;
	text-align: right;
	left: 2%;
	top: 560px;
	width: 71%;
	height: 25px;
	padding: 0 2%;
	background-color: #000000;
	color:#666;
	}
#footer a:link, a:visited{
	color:#ffffff;
	}
.index{
	float: left;
	}

/* サイドバー */
#side{
	float: right;
	height: 600px;
	border-left: 1px dotted rgba(255,255,255,0.5);
	text-align: center;
	width: 20%;
	}
/* メニュー */
ul#menu {
	margin: 120px 0 60px;/* 項目の数に合わせて調整してください */
	}
ul#menu li{
	display: block;
	font-size: 20px;
	margin: 12px 0;
	}
/* タイトル */
h1 a:link,a:visited{
	color: #fff;
	font-weight: normal;
	font-size: xx-large;
	}
#caption{
	color: #fff;
	width: 70%;
	margin: 0 auto;
	padding: 10px 0;
	font-size: 8.5pt;
	}

/* リンク設定 */
a{color: #fff;}
#main a:link,#main a:visited{color: #000;}
#menu a:link,a:visited,
h1 a:link,a:visited,
#footer a:link, a:visited{
	text-decoration: none;
	}
.now a,
#menu a:hover,a:active,
h1 a:hover,a:active,
#copy a:hover,a:active{
	text-decoration: none;
	color: #86bece;
	}

/* 著作権表示 */
#copy{
	position: fixed;
	bottom: 10px;
	right: 20px;
	font-size: 8.5pt;
	}
#copy,#copy a{
	color: #fafafa;
	font-size: 8.5pt;
	text-decoration: none;
	}

/* 小さい画面での表示 */
@media all and (max-width: 768px) {
	#main, #side, #footer {
		float: none;
		width: 90%;
	}
	#wrapper, #main, #side, ul#menu{
	height: auto;padding: 0;margin: 0 auto;border: none;}
	#wrapper{background-color: transparent;text-align: center;}
	#side{width: 60%;background-color: rgba(0,0,0,0.3);margin: 40px auto 20px;padding: 20px 0;}
	ul#menu li{margin: 5px 0;}
	#main{text-align: left;height: 350px;}
	#footer{position: relative;top: 30px;left: 5%;width: 85%;}
	#copy{position: relative;top: 60px;padding: 0 0 30px 30px;}
}
