@charset "utf-8";
/*
Theme Name: MAG
Theme URI: http://wordpress.org/
Description: MAGテーマ
Version: 1.0
Author: DENBAK-FANO DESIGN
Author URI: http://www.denbak-fano.com/
Tags: blue, custom header, fixed width, two columns, widgets


*/





/*----------------------------------------------------
	基本設定、リンクカラー、レイアウト、横幅設定など
----------------------------------------------------*/
html {
}


body {
	font-size: 12px; /* Resets 1em to 10px */
	background:#FFF url(images/bg.gif) repeat;
	color: #333;/* フォント色 */
	text-align: center;
	font-family: verdana,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
	line-height: 1.5;
	margin: 0;
	padding: 0;
}
*:first-child + html body {	/* for IF7 */
	font-family: "メイリオ","Meiryo";
}


a:link {
	color:#094F94;
	text-decoration:none;
}


a:visited {
	color:#094F94;
	text-decoration:none;
}

a:hover {/* オーバー　色*/
	color:#094F94;
	text-decoration:underline;
}

a:active {
}

/*----------------------------------------------------
	#page
----------------------------------------------------*/
#page {
	text-align: left;
	margin: 0 auto;
	padding: 0;
	width:810px;
	background:#FFFFFF;

		}
.page-title
 {
	clear:both;
	text-align:left;
	margin-left:20px;
	margin-bottom:10px;
	padding:15px 0px 15px 3px;
	border-top:solid 5px #4D4D4D;
	border-bottom:solid 1.5px #4D4D4D;
	width:765px;

		}
	
h1 {
	margin: 0;
	}

h2 {
	margin: 30px 0 0;
	font-size:1.6em;
	color:#333;
	}

h3 {
	padding: 0;
	margin: 30px 0 0;
	color:#333;
	}
	
small {/* 小さい文字 */
	font-size: 10px;
	line-height: 1.5em;
	}
	
small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {/* 日付、カテゴリーなど */
	color: #777;
	}
	
.underline {/* 小さい文字 */
	padding:5px 5px 15px;
	border-bottom: 1px solid #4D4D4D;
	}
	
/*----------------------------------------------------
 header [
----------------------------------------------------------- */
#header {
	margin:0px 20px 0px 20px;
	padding-top:10px;
	width:770px;
	height:80px;
	position:relative;
	}

#header .logo {
float:left;
}


/*
 sNavi サブボタン[
----------------------------------------------------------- */
.sub-title{
position: absolute;
	top: 25px;
	right: 0;}

#header #sNavi {	
position: absolute;
	top: 45px;
	right: 0;



}

#header #sNavi li {
	display: inline;
}

html>body #header #sNavi {
	margin-left: 0px;
	padding: 0 0 0 30px;
	list-style: none;
	padding-left: 0px;

	}

html>body #header #sNavi li {
	margin: 7px 0 8px 0px;
	}


/*
 gNavi メインボタン[
----------------------------------------------------------- */
#gNav {
	margin:0px 20px 20px 20px;
	text-align:center;
	clear:both;
}


/* -----------------------------------------------------------
	#content コンテンツ
----------------------------------------------------------- */	

#content {
	font-size: 12px;/* 文字の大きさ */
	}
	
/* -----------------------------------------------------------
	#content コンテンツ 見出し
----------------------------------------------------------- */	
#content .post h2 {/* 記事見出し */
	font-size: 14px;
	padding:5px;
	border-bottom: 3px solid #4D4D4D;
	}
	
#content .post h2 a{/* 記事見出しリンクカラー */
	color:#094F94;
	}
	
#content .post h2 a:hover{/* 記事見出しリンクカラー */
	color:#094F94;
	text-decoration:underline;
	}

#content .entry h3 {/* トラックバック見出し */
	font-size: 1em;
	padding:5px;
	border-bottom: 1px solid #4D4D4D;
	}
	
input#tb_url {/* トラックバックURLテキスト */
   border:solid 1px #999;
   font-size: 0.9em;
   padding: 0.2em;
   width:440px;
   color:#333;
   margin-top:10px;
}

#respond h3 {/* コメント書き込み見出し */
	font-size: 1em;
	padding:5px;
	border-bottom: 1px solid #4D4D4D;
	}
	
#comments {/* コメント / トラックバック 件数  */
	font-size: 1em;
	padding:5px;
	border-bottom: 1px solid #4D4D4D;
	}
	
#content h2.pagetitle {/* アーカイブなどタイトル */
	font-size: 1.6em;
	text-align: left;
	padding:5px;
	border-bottom: 1px solid #4D4D4D;
	}



/* 記事詳細 */
.widecolumn .entry p {
	/*font-size: 1.05em;*/
	}

.narrowcolumn .entry, .widecolumn .entry { 
	/*line-height: 1.4em;*/
	}

.widecolumn {
	/*line-height: 1.6em;*/
	}

.narrowcolumn .postmetadata {
	text-align: left;
	}

.thread-alt {
	background-color: #f8f8f8;
}
.thread-even {
	background-color: white;
}
.depth-1 {
border: 1px solid #ddd;
}

.even, .alt {

	border-left: 1px solid #ddd;
}

/* -----------------------------------------------------------
	#footer フッター
----------------------------------------------------------- */
#footer {
	background: #fff;
	border: none;
	padding: 0;
	margin: 0 auto;
	width: 810px;
	height:50px;
	clear: both;
	text-align:left;
	}

#footer .inner {
	clear:both;
	width: 770px;
	margin: 0 auto;
	padding:5px;
	text-align:right;
	background:#666666
}

	
#footer .copy {/* コピーライト */
	color:#fff;
	font-size:9px;
	}	
	

/* -----------------------------------------------------------
	コメント
----------------------------------------------------------- */

.commentlist li, #commentform input, #commentform textarea {
	font-size: 11px
	}
.commentlist li ul li {
	font-size: 11px;
}

.commentlist li {
	font-weight: bold;
}

.commentlist li .avatar { 
	float: right;
	border: 1px solid #eee;
	padding: 2px;
	background: #fff;
	}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
	}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	}

#commentform p {
	}

.commentmetadata {
	font-weight: normal;
	}
	
/* 詳細 */
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
/*	text-align: justify; */
	}

.commentlist li {
	margin: 15px 0 10px;
	padding: 5px 5px 10px 10px;
	list-style: none;

	}
.commentlist li ul li { 
	margin-right: -5px;
	margin-left: 10px;
}

.commentlist p {
	margin: 10px 5px 10px 0;
}
.children { padding: 0; }

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}	
	
	
/* -----------------------------------------------------------
	#sidebar サイドバー
----------------------------------------------------------- */
#sidebar{
	font-size:10px;
	padding: 20px 0 10px 0;
	margin-left: 600px;
	width: 190px;
	}
	
/* for ie5,6*/
*html #sidebar{
	margin-left: 600px;
	}

	
#sidebar h2 {
	font-size: 10px;
	background:#4D4D4D;
	color:#FFFFFF;
	margin: 5px 0 10px;
	padding: 5px 10px;
	}

#sidebar form {
	margin: 0;
	}
	
	
/* リスト詳細 */
html>body .entry ul {
	margin-left: 0px;
	padding: 0 0 0 30px;
	list-style: none;
	padding-left: 10px;
	text-indent: -10px;
	}

html>body .entry li {
	margin: 7px 0 8px 10px;
	}



.entry ol {
	padding: 0 0 0 35px;
	margin: 0;
	}

.entry ol li {
	margin: 0;
	padding: 0;
	}

.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}

#sidebar ul, #sidebar ul ol {
	margin: 0;
	padding: 0;
	}

#sidebar ul li {
	list-style-type: none;
	margin-bottom: 20px;
	}

#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px;
	}

#sidebar ul ul, #sidebar ul ol {/* リストメニュー間隔-左 */
	margin: 5px 0 0 0;
	}

#sidebar ul ul ul, #sidebar ul ol {
	margin: 0 0 0 10px;
	}

ol li, #sidebar ul ol li {
	list-style: decimal outside;
	
	}

#sidebar ul ul li, #sidebar ul ol li {/* リストメニュー間隔-上下 */
	margin: 5px 0 0;
	padding: 0;
	}

.entry ul li, #sidebar ul ul li {
	background:url(images/arrow.gif) no-repeat 0px 0.4em;
	text-decoration:none;
	padding:0 17px 0 15px;
	
	}	
/* -----------------------------------------------------------
	カレンダー
----------------------------------------------------------- */

/* 基本 */
#wp-calendar #prev a, #wp-calendar #next a {
	font-size: 1em;
	}

#wp-calendar a {
	text-decoration: underline;
	}

#wp-calendar caption {
	font: bold 1em;
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}
	
/* 詳細 */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 180px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	}

#wp-calendar td {
	padding: 1px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }



/* -----------------------------------------------------------
	記事ページ
----------------------------------------------------------- */

/*サイドバーあり表示*/
.narrowcolumn {
	float: left;
	padding: 0;
	margin: 0px 0 0 20px;;
	width: 550px;
	}
/* for ie5,6*/
*html .narrowcolumn{
	margin: 0px 0 0 10px;;
	}


/*サイドバーなし表示*/
.widecolumn {
	padding: 10px 0 20px 0;
	margin: 5px 0 0 150px;
	width: 450px;
	}
/*記事ボックス*/
.post {
	margin: 0 0 40px;
/*	text-align: justify; */
	}

.post hr {
	display: block;
	}

.widecolumn .post {
	margin: 0;
	}

.narrowcolumn .postmetadata {
	padding-top: 5px;
	}

.widecolumn .postmetadata {
	margin: 30px 0;
	}

.widecolumn .smallattachment {
	text-align: center;
	float: left;
	width: 128px;
	margin: 5px 5px 5px 0px;
}

.widecolumn .attachment {
	text-align: center;
	margin: 5px 0px;
}

.postmetadata {/* カテゴリー、編集etc */
	clear: both;
	font-size:0.8em;
}

.clear {
	clear: both;
}

/* -----------------------------------------------------------
	画像
----------------------------------------------------------- */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left;
	}






/* -----------------------------------------------------------
	フォーム
----------------------------------------------------------- */
#searchform {
	margin: 10px auto;
	padding: 5px 3px;
	text-align: center;
	}

#sidebar #searchform #s {
	width: 108px;
	padding: 2px;
	}

#sidebar #searchsubmit {
	padding: 1px;
	}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}

select {
	width: 130px;
	}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform {
	margin: 5px 10px 0 0;
	}
#commentform textarea {
	width: 100%;
	padding: 2px;
	}
#respond:after {
		content: "."; 
	    display: block; 
	    height: 0; 
	    clear: both; 
	    visibility: hidden;
	}
#commentform #submit {
	margin: 0 0 5px auto;
	float: right;
	}



/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px solid #4D4D4D;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

.hidden {
	display: none;
	}

hr {
	display: none;
	}

a img {
	border: none;
	}

.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 55px;
	}
/* End Various Tags & Classes*/



/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
/* End captions */






