@charset "utf-8";

/* 本体定義 */
body {
	font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, "メイリオ", Osaka, 'MS PGothic', arial, helvetica, sans-serif;
	margin: 0;
	padding: 0;
	font-size: 90%;
	background-color: #FFFFFF;
}
a:link, a:visited {
	color: #336699;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
	color: #dd0000;
}

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

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

/* 記事デザイン */
div.article {
	box-sizing: border-box;
	width: 90%;
	margin: 10px auto;
	border-top: 1px dotted #555;
	text-align: left;
	padding: 1em;
	color: #555;
}
div.art-date {
	text-align: right;
	color: #006699;
}
div.art-sub {
	box-sizing: border-box;
	width: 100%;
	color: #2F8DBB;
	font-size: 1.1em;
	font-weight: bold;
	background-color: #D8EEF1;
	margin-top: 0.5em;
	margin-right: 0;
	margin-bottom: 1em;
	margin-left: 0;
	border-radius: 1em;
	padding-top: 5px;
	padding-right: 15px;
	padding-bottom: 5px;
	padding-left: 15px;
}

/* 記事中の画像 */
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: #D98CC0 !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 {
    background: #f2f2f2;
    padding: 20px;
    margin-bottom: 20px;
}
.page {
    display: inline-block;
    padding: 0px 9px;
    margin-right: 4px;
    border-radius: 3px;
    border: solid 1px #c0c0c0;
    background: #e9e9e9;
    box-shadow: inset 0px 1px 0px rgba(255,255,255, .8), 0px 1px 3px rgba(0,0,0, .1);
    font-size: .875em;
    font-weight: bold;
    text-decoration: none;
    color: #717171;
    text-shadow: 0px 1px 0px rgba(255,255,255, 1);
}
.page:hover, .page.gradient:hover {
    background: #fefefe;
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#FEFEFE), to(#f0f0f0));
    background: -moz-linear-gradient(0% 0% 270deg,#FEFEFE, #f0f0f0);
}
.page.active {
    border: none;
    background: #616161;
    box-shadow: inset 0px 0px 8px rgba(0,0,0, .5), 0px 1px 0px rgba(255,255,255, .8);
    color: #f0f0f0;
    text-shadow: 0px 0px 3px rgba(0,0,0, .5);
}
.page.gradient {
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f8f8f8), to(#e9e9e9));
    background: -moz-linear-gradient(0% 0% 270deg,#f8f8f8, #e9e9e9);
}

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

.admin {
	position: relative;
	display: inline-block;
	font-weight: bold;
	text-decoration: none;
	color: #3399CC;
	transition: .4s;
	margin-bottom: 20px;
	padding-top: 0.5em;
	padding-right: 1em;
	padding-bottom: 0.5em;
	padding-left: 1em;
	background-color: #FFDDDD;
	border-right-width: 4px;
	border-left-width: 4px;
	border-right-style: solid;
	border-left-style: solid;
	border-right-color: #ffcccc;
	border-left-color: #FFCCCC;
}

.admin:hover {
	color: #633;
	background-color: #FDEBD2;
}
/* スマホ用 */
@media only screen and (max-width: 480px) {
	h1 {
	font-size: 1.5em;		
		}
	#main {
		width: 100%;
	}
	#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%;
	}
}
