@charset "utf-8";

/* 本体定義 */
body {
	margin: 0;
	padding: 0;
	font-size: 90%;
	background: #f0f8ff;
	color: #4b3d27;
	font-family: 'Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',Meiryo,メイリオ,Osaka,'MS PGothic',arial,helvetica,sans-serif;
}
a {
	text-decoration: none;
}
a:link, a:visited {
	color: #2a4d91;
}
a:active {
	color: #b52e25;
}
a:hover {
	text-decoration: underline;
	color: #ff2f2f;
}
#head {
	background: #938057;
	color: #fff;
	padding: 4px 12px;
}
#main {
	padding: 8px;
}

/* 掲示板タイトル */
h1 {
	color: #eee;
	font-size: 115%;
	margin: 0;
}
div#head-ttl {
	text-align: left;
	float: left;
}
#head-cnt {
	text-align: right;
}
#head-clr {
	clear: both;
}
#head-cnt img {
	vertical-align: middle;
	margin: 0;
}

/* TOPボタン */
.top-btn {
	margin: 0.5em 0 1.2em 0.5em;
}
.top-btn a {
	width: 60px;
	margin-left: 3px;
	text-align: center;
	color: #555;
	font-size: 12px;
}

/* 投稿フォーム */
#reg-box {
	width: 640px;
	margin: 19px;
	padding: 18px;
	border-radius: 16px;
	box-shadow: 6px #666;
	border: 2px solid #787878;
	background: #f8f8f8;
}

#reg-area {
	padding: 0;
	width: 92%;
	margin: 1.2em auto;
}
#reg-tbl {
	margin-bottom: 0 !important;
}
#reg-tbl th, #reg-tbl td {
	font-size: 13px;
	padding: 1px 2px;
	text-align: left;
}

#reg-tbl input, #reg-tbl textarea {
	padding: 3px;
}
input.reg-name {
	width: 210px;
}
input.reg-url {
	width: 260px;
}
input.reg-num {
	width: 80px;
}
input.reg-btn {
	width: 80px;
	height: 26px;
	margin: 0 6px;
}
textarea.reg-com {
	width: 440px;
	height: 7em;
}
table.reg-tbl span {
	font-size: 12px;
}
img.capt {
	vertical-align: middle;
}
input.reg-btn {
	width: 80px;
}

/* メイン記事 */
.art {
	width: 90%;
	background: #fff;
	text-align: left;

	padding: 26px;

	border-radius: 16px;
	box-shadow:  6px #666;
	border: 2px solid gray;

	margin: 10px 10px 10px 16px;
}

.art strong {
	color: #008000;
	font-size: 120%;
}
span.num {
	color: #008000;
}
.art-info {
	text-align: right;
	margin: 6px;
}
.art-com {
	margin: 6px;
}

/* フォーム内リスト */
#reg-box ul {
	margin: 0 0 6px 1em;
	padding: 0;
}
.wide-80 {
	width: 80% !important;
}

/* 留意事項 */
#note {
	margin: 1em auto;
	width: 98%;
	padding: 6px;
	text-align: left;
	border: 1px solid #462300;
	background: #fff;
	border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
}
#note ul {
	padding: 0;
	margin: 0.5em 0 0.5em 1em;
	line-height: 140%;
}
#close {
	margin: 1.2em;
	text-align: center;
}
td.oldlog {
	background: #fff;
}
div.val strong {
	color: #008000;
}

ul#images li {
	display: inline;
	list-style: none;
	margin-right: 4px;
}
#view-msg {
	margin: 1em 1.5em;
}

/* アイコン位置 */
img.icon {
	vertical-align: middle;
	border: none;
	margin: 0 2px;
}
div.ttl {
	font-weight: bold;
	color: #572c00;
	border-bottom: 1px solid #572c00;
	padding: 2px;
}

/* 汎用画面寄せ */
.ta-r {
	text-align: right;
}
.ta-l {
	text-align: left !important;
}
.ta-c {
	text-align: center;
}

/* 返信記事 */
div.reslog {
	margin: 0 0 0 auto;
	width: 92%;
	text-align: left;
	border-top: 1px dashed gray;
	padding: 6px;
}
div.rescom {
	margin-top: 5px;
}

/* トピック画面 */
table.topic {
	border-collapse: collapse;
	width: 90%;
	margin: 5px auto 1em auto;
}
table.topic th, table.topic td {
	border: 1px solid #552b00;
	padding: 4px;
	font-size: 100%;
}
table.topic th {
	background: #d1c7b1;
}
table.topic td {
	background: #fff;
}
.w-s {
	width: 3.5em;
}
.w-m {
	width: 12em;
}
.mini {
	font-size: 80% !important;
}

/* 投稿・返信ボタン */
div.new-btn {
	width: 90%;
	text-align: left;
	margin: 1.2em auto 8px auto;
}
div#addform {
	width: 90%;
	text-align: left;
	margin: 0 auto;
}
div.res-btn {
	width: 92%;
	text-align: left;
	margin: 1em auto;
}
div.find-form {
	width: 90%;
	text-align: left;
	margin: 0 auto;
}

/*
	ペイジャー
	http://cssdeck.com/labs/css-pagination-styles
*/
.pagination {
	text-align: center;
    padding: 10px;
    margin: 1em;
    font: 14px/24px sans-serif;
}
.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);
}

/*
	button design by:
	http://red-team-design.com/css3-patterned-buttons/
*/
.button::-moz-focus-inner {
  border: 0;
  padding: 0;
}

.button {
  display: inline-block;
  *display: inline;
  zoom: 1;  
  padding: 6px 20px;
  margin: 0;
  cursor: pointer;
  border: 1px solid #bbb;
  overflow: visible;
  font: bold 13px arial, helvetica, sans-serif;
  text-decoration: none;
  white-space: nowrap;
  color: #555;
  background-color: #ddd;
}

.button:hover {
  background-color: #eee;
  color: #555;
}

.button:active {
  background: #e9e9e9;
  position: relative;
  top: 1px;
  text-shadow: none;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .3) inset;
}

.button[disabled], 
.button[disabled]:hover, 
.button[disabled]:active {
  border-color: #eaeaea;
  background: #fafafa;
  cursor: default;
  position: static;
  color: #999;
  /* Usually, !important should be avoided but here it's really needed :) */
  box-shadow: none !important;
  text-shadow: none !important;
}

/* Smaller buttons styles */

.button.small {
  padding: 4px 12px;
}

/* Larger buttons styles */

.button.large {
  padding: 12px 30px;
  text-transform: uppercase;
}

.button.large:active {
  top: 2px;
}

/* Colored buttons styles */

.button.color {
  color: #fff;
  text-shadow: 0 1px 0 rgba(0,0,0,.2);
 
}

/* */

.button.green {
  background-color: #57a957;
  border-color: #57a957;
}

.button.green:hover {
  background-color: #62c462;
}

.button.green:active {
  background: #57a957;
}

/* */

.button.red {
  background-color: #c43c35;
  border-color: #c43c35;
}

.button.red:hover {
  background-color: #ee5f5b;
}

.button.red:active {
  background: #c43c35;
}

/* */

.button.blue {
  background-color: #269CE9;
  border-color: #269CE9;
}

.button.blue:hover {
  background-color: #70B9E8;
}

.button.blue:active {
  background: #269CE9;
}

/* */

.green[disabled], 
.green[disabled]:hover, 
.green[disabled]:active {
  border-color: #57A957;
  background: #57A957;
  color: #D2FFD2;
}

.red[disabled], 
.red[disabled]:hover, 
.red[disabled]:active {
  border-color: #C43C35;
  background: #C43C35;
  color: #FFD3D3;
}

.blue[disabled], 
.blue[disabled]:hover, 
.blue[disabled]:active {
  border-color: #269CE9;
  background: #269CE9;
  color: #93D5FF;
}

/* Group buttons */

.button-group,
.button-group li {
  display: inline-block;
  *display: inline;
  zoom: 1;
}

.button-group {
  font-size: 0; /* Inline block elements gap - fix */
  margin: 0;
  padding: 0;
  background: rgba(0, 0, 0, .04);
  border-bottom: 1px solid rgba(0, 0, 0, .07);
  padding: 7px;
  border-radius: 7px; 
}

.button-group li {
  margin-right: -1px; /* Overlap each right button border */
}

.button-group .button {
  font-size: 13px; /* Set the font size, different from inherited 0 */
  border-radius: 0; 
}

.button-group .button:active {
  box-shadow: 0 0 1px rgba(0, 0, 0, .2) inset, 
              5px 0 5px -3px rgba(0, 0, 0, .2) inset, 
              -5px 0 5px -3px rgba(0, 0, 0, .2) inset;   
}

.button-group li:first-child .button {
  border-radius: 3px 0 0 3px;
}

.button-group li:first-child .button:active {
  box-shadow: 0 0 1px rgba(0, 0, 0, .2) inset, 
              -5px 0 5px -3px rgba(0, 0, 0, .2) inset;
}

.button-group li:last-child .button {
  border-radius: 0 3px 3px 0;
}

.button-group li:last-child .button:active {
  box-shadow: 0 0 1px rgba(0, 0, 0, .2) inset, 
              5px 0 5px -3px rgba(0, 0, 0, .2) inset;
}

/* スマホ用 */
@media screen and (max-width: 480px) {
	* { box-sizing: border-box; }
	#reg-box {
		width: 100%;
		padding: 2px;
		font-size: 90%;
	}
	#reg-area {
		width: 100%;
		margin: 0.8em auto;
	}
	.top-btn {
		margin: 4px 0;
	}
	.top-btn a {
		width: 76px;
		margin-left: 2px;
		text-align: center;
		color: #555;
		font-size: 12px;
	}
	#reg-tbl {
		width: 100%;
	}
	#reg-tbl th, #reg-tbl td {
		width: 100%;
        display: block;
	}
	.reg-name, .reg-url, .reg-com {
		width: 100% !important;
	}
	#reg-tbl input[type=submit] {
		float: right;
	}
	/* 記事 */
	div.art {
		width: 100%;
		padding: 3px;
	}
	/* ALBUM */
	#album {
		width: 100%;
	}
	.photo {
		width: 100% !important;
		float: none;
		margin: 0;
	}
	/* 留意事項 */
	#note {
		margin: 0.8em auto;
		width: 100%;
		padding: 1px;
	}
	#note ul {
		line-height: 100%;
	}
	/* TOPIC */
	.topic {
		width: 100% !important;
		margin: 0 auto;
	}
	.topic .thead {
		display: none;
	}
	.topic tr {
		width: 100%;
	}
	.topic th, .topic td {
		display: block;
		text-align: left;
		width: 100%;
		padding: 0;
		white-space: normal !important;
	}
	.topic td:first-child {
		background: #ff8d3f;
		color: #fff;
		font-weight: bold;
		text-align: center;
	}
	.topic td:before {
		content: attr(data-label);
		float: left;
		font-weight: bold;
		margin-right: 10px;
	}
	.topic td a {
		text-decoration: underline !important;
	}
}

