@charset "utf-8";

/* 本体定義 */
body {
	font-family: 'メイリオ', Meiryo,'ヒラギノ角ゴシック','ＭＳ Ｐゴシック','MS PGothic',YuGothic,'Yu Gothic';
	margin: 0;
	font-size: 90%;
	color:rgba(100,100,100,1);
}
a:link, a:visited {
	color: rgba(80,160,40,1);
	text-decoration: none;
}
a:hover {
	opacity: 0.8;
}

/* 掲示板メイン */
#main {
	width: 100%;
	box-sizing: border-box;
	padding: 0 20px 0 0;
}

/* 掲示板タイトル
h1 {
	font-size: 130%;
	padding: 20px 0 5px 0;
} */

/* 記事デザイン */
div.article {
	width: 100%;
	margin: 0 auto 30px auto;
	text-align: left;
	box-sizing: border-box;
	border-radius: 10px;
	border: 1px solid rgba(80,160,40,1);
	padding: 30px;
}
div.art-date {
	text-align: right;
}
div.art-sub {
	margin: 0.5em 0 1em 0;
	font-size: 110%;
	padding: 0 0 5px 0;
	box-sizing: border-box;
	border-bottom: 1px solid rgba(80,160,40,1);
}
div.article a{
	display: inline-block;
}

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

/* 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://cssdeck.com/labs/css-pagination-styles
*/
.pagination {
    padding: 20px 0;
}
.page {
    display: inline-block;
    padding: 10px 9px;
    margin-right: 4px;
    border-radius: 3px;
    font-size: .875em;
    font-weight: bold;
    text-decoration: none;
	background: rgba(80,160,40,0.2);
	color: #fff;
}
.page:hover, .page.gradient:hover {
    background: rgba(80,160,40,1);
	color: #fff;
	opacity: 1;
}
.page.active {
    background: rgba(80,160,40,1);
	color: #fff;
}


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

/* 管理ボタン */
#kanri{
	text-align: center;
}
#kanri a{
	display: inline-block;
	padding: 5px 20px;
	border-radius: 10px;
	margin:0 auto;
	border: 1px solid rgba(80,160,40,1);
	color: rgba(80,160,40,1);
}
#kanri a:hover{
	text-decoration: none;
	background: rgba(80,160,40,1);
	color: #fff;
	opacity: 1;
}


/* スマホ用 */
@media only screen and (max-width: 480px) {
	
	#find-box input[type="text"] {
		width: 80px;
	}
	/* Youtube対応 */
	.youtube {
     	position: relative;
     	padding-bottom: 56.25%;
     	height: 0;
     	overflow: hidden;
	}
	.youtube iframe {
     	position: absolute;
     	top: 0;
     	left: 0;
     	width: 100%;
     	height: 100%;
	}
}

