@charset "utf-8";

/* 本体定義 */
body {
	font-family: 'Avenir','Helvetica Neue','Helvetica','Arial','Hiragino Sans',YuGothic,'Yu Gothic','メイリオ', Meiryo,'ヒラギノ角ゴシック','ＭＳ Ｐゴシック','MS PGothic';
	margin: 0;
	font-size: 80%;
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
	border-radius:10px;
	color:rgb(122, 106, 86);
}
a:link, a:visited {
	color: rgba(255, 161, 161,1);
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
	color: rgba(255, 161, 161,1);
}

/* 掲示板メイン */
#main {
	width: 90%;
	margin: 0 auto;
	padding: 2% 5%;
}

/* 掲示板タイトル */
h1 {
	font-size: 130%;
	color:rgba(188, 63, 78,1);
	border-bottom: 1px dotted rgb(80,40,40);
	padding: 0 0 5px 0;
}

/* 記事デザイン */
div.article {
	width: 100%;
	margin: 20px auto;
	text-align: left;
	color:rgb(122, 106, 86);
	border-top: 1px solid #ffa1a1;
}
div.art-date {
	text-align: right;
	color:#F66;
	padding-top: 5px;
}
div.art-sub {
	margin: 0.5em 0 1em 0;
	color:#000;
	padding: 5px 0;
	font-size: 120%;
	color:rgb(122, 106, 86);
	border-radius:10px;
	background: #fff6cf;
	padding: 5px 10px;
}

/* 記事中の画像 */
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: #f99 !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;
	border-top: 1px dotted rgb(122, 106, 86);
}
.page {
    display: inline-block;
    padding: 0px 9px;
    margin-right: 4px;
    border-radius: 3px;
    background: rgba(255, 161, 161,0.3);
    font-size: .875em;
    font-weight: bold;
    text-decoration: none;
    color:rgb(122, 106, 86);
}
.page:hover, .page.gradient:hover {
    background: rgba(255, 161, 161,1);
    color: #fff;
}
.page.active {
    border: none;
    background: rgba(255, 161, 161,1);
    color: #fff;
}


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

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


/* スマホ用 */
@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%;
	}
}

