@charset "utf-8";

/* 本体定義 */
html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
	margin: 0;
	padding: 0;
}
a:hover {
	text-decoration: underline;
}
#head {
	width: 100%;
}
#head-in {
	padding: 4px;
}
#main {
	width: 100%;
}
#main-in {
	padding: 8px;
}

/* 掲示板タイトル */
#head-ttl {
	text-align: center;
}
#head-cnt {
	display: table;
	border: 1px solid;
	margin: 0 auto;
	padding: 0 2px;
	text-align: center;
}
#head-clr {
	clear: both;
}
#head-cnt img {
	vertical-align: middle;
	margin: 0;
}

/* TOPボタン */
.top-btn a {
	margin-left: 5px;
	text-align: center;
}

/* 投稿フォーム */
#reg-box {
	display: table; /* mod */
	margin: 0 auto;
	padding: 18px;
	border: 1px solid;
}
#reg-area {
	padding: 0;
	width: 92%;
	margin: 1em auto;
}
#reg-tbl {
	margin-bottom: 0 !important;
}
#reg-tbl th, #reg-tbl td {
	padding: 2px;
	text-align: left;
}
input.reg-name {
	width: 190px;
	max-width: 100%;
}
input.reg-url {
	width: 260px;
	max-width: 100%;
}
input.reg-num {
	width: 80px;
	max-width: 100%;
}
input.reg-btn {
	margin: 0 6px;
}
textarea.reg-com {
	width: 440px;
	max-width: 100%;
	height: 7em;
}
table.reg-tbl span {
	font-size: 12px;
}
img.capt {
	vertical-align: middle;
}

/* メイン記事 */
div.art {
	width: 90%;;
	text-align: left;
	border: 1px solid;
	margin: 1em auto;
}
/* div.art strong { */
div.art .subject {
	font-weight: bold;
	font-size: 1.125em;
}
div.art .name {
	font-weight: bold;
}
.art-info {
	padding: 4px 8px;
	padding-bottom: 0;
}
.pgtop {
	margin: 1em;
}

/* フォーム内リスト */
#reg-box ul {
	margin: 0 0 6px 1em;
	padding: 0;
}
.wide-80 {
	width: 80% !important;
}

/* 留意事項 */
#note {
	margin: 0 auto;
	width: 98%;
	padding: 6px;
	text-align: left;
	border: 1px solid;
}
#note ul {
	padding: 0;
	margin: 0.5em 0 0.5em 1em;
	line-height: 140%;
}
#close {
	margin: 1.2em;
	text-align: center;
}

/* 顔アイコン */
img.image {
	margin: 0 8px 8px 0;
	vertical-align: middle;
	border: none;
}

/* popアイコン画面 */
div#pop-icon {
	margin: 8px 8px 16px 8px;
}
/* アイコン枠デザイン設定 */
div.photo {
	border: 1px solid;
	width: 75px;
	height: 75px;
	float: left;
	margin: 3px;
}
/* アイコンおよびキャプション位置 */
p.image, p.caption {
	text-align: center;
	margin: 5px;
}
/* 画像廻り込み終了 */
.clear {
	clear: both;
}

/* アイコン位置 */
img.icon {
	vertical-align: text-bottom;
	border: none;
	margin: 0 2px;
}
div.ttl {
	font-weight: bold;;
	border-bottom: 1px solid;
	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 dotted;
}
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;
	padding: 4px;
}
.w-s {
	width: 4em;
}
.w-m {
	width: 12em;
}
.mini {
	font-size: 0.8125em !important; /* mod */
}

/* 投稿・返信ボタン */
div.new-btn {
	width: 90%;
	text-align: left;
	margin: 1.2em auto 8px auto;
}
#addform {
	width: 90%;
	text-align: left;
	margin: 0 auto;
}
div.res-btn {
	text-align: center;
	margin: 1em auto;
}
div.find-form {
	width: 90%;
	text-align: left;
	margin: 0 auto;
}

/*
	ページ送り
	参考: http://css-happylife.com/template/page_nav/
*/
ul.pager {
	margin: 0 0 10px;
	padding: 10px 10px 5px;
}
ul.pager li {
	display: inline;
	margin: 0 2px;
	padding: 0;
}
ul.pager li span {
	display: inline-block;
	margin-bottom: 5px;
	padding: 4px 8px;
	border: 1px solid;
	text-decoration: none;
	vertical-align: middle;
}
ul.pager li a {
	display: inline-block;
	margin-bottom: 5px;
	padding: 4px 8px;
	border: 1px solid;
	text-decoration: none;
	vertical-align: middle;
}

/* 入室画面 */
div#enter {
	margin-left: 3em;
}
input.enter {
	padding: 5px;
	width: 250px;
}

/* スマホ用 */
@media screen and (max-width: 480px) {
	* { box-sizing: border-box; }
	#reg-box {
		width: 100%;
		padding: 2px;
	}
	#reg-area {
		width: 100%;
		margin: 0.8em auto;
	}
	.top-btn {
		margin: 4px 0;
	}
	.top-btn a {
		margin-left: 2px;
		text-align: center;
	}
	#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 {
		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;
	}
}


/****** Color ******/

body {
	/* background-color: #e0f4f4; */
	background-color: #cbeaf7;
}

a:link, a:visited {
	color: #2a4d91;
}
a:active {
	color: #b52e25;
}
a:hover {
	color: #ff2f2f;
}

/* 掲示板タイトル */
h1 {
	/* color: #ff6699; */
	/* color: #338899; */
	color: #eb4c5d;
}
#head-cnt {
	background-color: #ffffff;
	color: #cc0000;
	border-color: #999999;
}

/* 投稿フォーム */
#reg-box {
	background-color: #ffffff;
	border-color: #999999;
}

/* メイン記事 */
div.art {
	background-color: #ffffff;
	border-color: #999999;
}
div.art .subject {
	color: #cc0033;
}
/* span.num {
	color: #008000;
} */
div.art .name {
	color: #006633;
}

/* 留意事項 */
#note {
	background-color: #ffffff;
	border-color: #999999;
}
td.oldlog {
	background-color: #ffffff;
}
div.val strong {
	color: #008000;
}

/* アイコン枠デザイン設定 */
div.photo {
	background-color: #ffffff;
	border-color: #2b0000;
}

/* アイコン位置 */
div.ttl {
	color: #572c00;
	border-bottom-color: #572c00;
}

/* 返信記事 */
div.reslog {
	border-top-color: #999999;
}

/* トピック画面 */
table.topic th, table.topic td {
	border-color: #999999;
}
table.topic th {
	/* background-color: #46c6e4; */
	background-color: #ff6677;
}
table.topic td {
	background-color: #ffffff;
}

/*
	ページ送り
	参考: http://css-happylife.com/template/page_nav/
*/
ul.pager li span {
	background-color: #a9bade;
	color: #000000;
	border-color: #3b5998;
}
ul.pager li a {
	background-color: #ffffff;
	color: #000000;
	border-color: #3b5998;
}
ul.pager li a:hover {
	background-color: #ffc488;
}

/* 入室画面 */
div#enter {
	color: #999999;
}

/* スマホ用 */
@media screen and (max-width: 480px) {
	/* TOPIC */
	.topic td:first-child {
		background-color: #66cc99;
		color: #000000;
	}
}

/******* Custom *******/

body {
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.iconRow {
	display:none;
}

.top-btn {
	text-align: center;
}

div.new-btn {
	text-align: center;
}

.art {
	max-width: 640px;
}

.comment {
	padding: 1em 1.5em;
}

.reply-info {
	background-color: initial;
	color: #000000;
}

.date,
.num {
	white-space: nowrap;
}

.upImage {
	max-width: 250px;
	max-height: 250px;
}

.comment code,
.comment pre {
	background-color: #f4f4f4;
	color: #000000;
	font-family: monospace;
}

.comment pre {
	padding: 0.125em;
	margin: 0;
	overflow-x: auto;
}

.comment .sjis {
	line-height: 1;
	overflow-x: auto;
	font-family: "MS PGothic", IPAMonaPGothic, Monapo, Mona, submona, sans-serif;
}

.omitted {
	color: #808080;
	margin: 0.5em;
	margin-top: 0;
	font-size: 0.8125em;
	text-align: right;
}

.quote {
	color: #808080;
}

.capcode-admin,
.capcode-administrator {
	color: #ff101a;
}

.capcode-mod,
.capcode-moderator {
	color: #770099;
}

.capcode-hia {
	color: #0088d6;
}

.emote {
	vertical-align: text-bottom;
}

@media screen and (max-width: 480px) {
	h1 {
		font-size: 1.5em;
	}

	.top-btn a {
		font-size: inherit;
		margin-left: 0.5em;
	}

	.top-btn a:first-of-type {
		margin-left: 0;
	}

	table.topic th,
	table.topic td {
		border-bottom: none;
	}

	table.topic tr:last-of-type td:last-of-type {
		border-bottom: 1px solid #999999;
	}
}