@charset "utf-8";

/* 本体定義 */
body {
	font-family: Verdana,"MS PGothic",Osaka,Arial,sans-serif;
	margin: 0;
	padding: 0;
	font-size: 90%;
	background: #ddd;
}
a:link, a:visited {
	color: #1122cc;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
	color: #dd0000;
}

/* 掲示板メイン */
#main {
	width: 85%;
	background: #fff;
	border-top: 3px solid #e43a47;
	margin: 0 auto;
	text-align: center;
}

/* 掲示板タイトル */
h1 {
	font-size: 180%;
	color: #e43a47;
	margin-top: 0;
}

/* 記事デザイン */
div.article {
	width: 96%;
	margin: 10px auto;
	border-top: 1px dotted #555;
	text-align: left;
	padding: 1em;
	color: #555;
}
div.art-date {
	text-align: right;
	color: #009b4e;
}
div.art-sub {
	margin: 0.5em 0 1em 0;
	color: #e43a47;
	font-size: 130%;
	font-weight: bold;
}

div.pg-btn {
	width: 95%;
	text-align: center;
	margin: 0 auto;
}

/* 記事中の画像 */
img.img {
	border: none;
	vertical-align: top;
	margin-right: 0.5em;
}

/* TOPパネル */
#top-panel {
	margin: 0.4em 0.6em;
	text-align: left;
}
#top-panel input[type="button"] {
	width: 55px;
	margin-right: 2px;
}
#find-box {
	text-align: right;
	margin: 5px;
}
#find-box input[type="text"] {
	width: 130px;
	padding: 3px;
}

/* 検索結果 */
#find-top {
	margin: 0 auto;
	color: #555;
}
#find-top input[type="text"] {
	width: 200px;
	padding: 3px;
}
#find-top p {
	margin: 10px;
}

/* 赤文字 */
.red {
	color: #dd0000;
}

/* pagetop */
div.pg-top, div.pg-top a {
	text-align: right;
	font-size: 90%;
	color: #e43a47 !important;
	margin-bottom: 0;
}

/* エラー */
#err {
	width: 450px;
	padding: 1.5em;
	margin: 3em auto;
	border-top: 1px dotted gray;
	border-bottom: 1px dotted gray;
}

/* 寄せ */
.ta-c {
	text-align: center;
}
.ta-l {
	text-align: left;
}
.ta-r {
	text-align: right;
}

/*
	ページ送り
	参考: http://css-happylife.com/template/page_nav/
*/
ul.pager {
	margin: 1em 0;
	padding: 10px;
}
ul.pager li {
	display: inline;
	margin: 0 1px;
	padding: 0;
}
ul.pager li span {
	display: inline-block;
	margin-bottom: 5px;
	padding: 4px 8px;
	background: #e43a47;
	color: #fff;
	border: 1px solid #e43a47;
	text-decoration: none;
	vertical-align: middle;
}
ul.pager li a {
	display: inline-block;
	margin-bottom: 5px;
	padding: 4px 8px;
	background: #fff;
	color: #e43a47;
	border: 1px solid #e43a47;
	text-decoration: none;
	vertical-align: middle;
}
ul.pager li a:hover {
	background: #ffc488;
}

/* アイコン */
img.icon {
	vertical-align: middle;
	border: 0;
}

/* スマホ用 */
@media only screen and (max-width: 480px) {
	#main { width: 100%; }
	#find-box input[type="text"] { width: 80px;	}

}
