* {
	word-break: break-all;
}

/* Reset
------------------------------------------------- */
html,body,div,
dl,dt,dd,ul,ol,li,
h1,h2,h3,h4,h5,h6,
pre,form,fieldset,input,textarea,
blockquote,th,td,p {
	margin: 0;
	padding: 0;
}
fieldset {
	border: none;
}

/* Default
------------------------------------------------- */
body {
	background-color: #ffffff;
	color: #4f4f4f;
	text-align: center;
	word-wrap: break-word;
	font-family: Verdana, Helvetica, "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", sans-serif;
	line-height: 1.4;
	font-size: small !important; /* IE7 */
	font-size: 82%; /* IE6 */
}
/* Modern browser */
html>/**/body {
	font-size: 13px;
}

/* Hyper text
------------------------------------------------- */
a { 
	text-decoration: none;
	word-wrap: break-word;
	/*\*/
	overflow: hidden;	/* for Fx */
	/**/
}

a:link, 
a:active {
	color: #333333;
}
a:visited {
	color: #333333;
}

a:focus,
a:hover {
	color: #afafaf;

}

/* Image
------------------------------------------------- */
img,
a img {
	border: none;
}
	
.emoji {
	vertical-align:middle;
}

/* Base elements
------------------------------------------------- */
h1 { font-size: 180%; }
	
h2 { font-size: 130%; }
	
h3 { font-size: 115%; }
	
h4,h5,h6 { font-size: 100%; }
	
ul, ol, li, dl, dt, dd { list-style: none; }

/*--------------------------------------------------
	各種ボタン
--------------------------------------------------*/
input.button_post,
input.button_reset,
input.button_reply,
input.button_edit,
input.button_del,
input.button_thispost,
input.button_search {
	padding: 2px 5px;
}
/*--------------------------------------------------
	上部ナビゲーションメニュー
--------------------------------------------------*/
#wrap {
	width: 800px;
	text-align: center;
	margin: 0 auto;
	background-color: #dfdfdf;
}

#header {
	width: 780px !important;
	width /*for IE5.5*/: 800px;
	padding: 10px;
	text-align: left;
}

#counter {
	text-align: right;
}

ul#navigation {
	height: 15px !important;
	height /*for win5.5*/: 35px;
	padding: 10px 0;
	margin-bottom: 20px;
	background-color: #555555;
	color: #CFCFCF;
	overflow: hidden;
	text-align: left;
}
ul#navigation li {
	display: inline;
	border-left: 1px solid #ffffff;
	margin-left: -1px;
	padding: 0 8px;
}
#navigation a:link, 
#navigation a:active {
	color: #ffffff;
}
#navigation a:visited {
	color: #ffffff;
}
#navigation a:focus,
#navigation a:hover {
	color: #ff0000;
}

#content_form {
	width: 670px !important;
	width /*for win5.5*/: 700px;
	background-color: #ffffff;
	margin: 15px auto;
	padding: 20px 15px;
}

.content {
	width: 670px !important;
	width /*for win5.5*/: 700px;
	background-color: #ffffff;
	margin: 15px auto;
	padding: 20px 15px;
}

/*--------------------------------------------------
	投稿フォーム
--------------------------------------------------*/
#bbsform {
	width: 670px;
}

form.cmxform fieldset {
	width: 600px;
	text-align:left;
	margin: 0 auto;
}
form.cmxform fieldset dl {
	clear: left;
	margin-bottom: 3px;
	height: 22px;
}

form.cmxform fieldset dt {
	width: 148px;
	background-color: #cfcfcf;
	padding: 2px 5px;
	float: left;
}
form.cmxform fieldset dt label {
	font-weight: bold;
}
form.cmxform fieldset dd {
	width: 430px;
	float: left;
}
form.cmxform fieldset dd input, 
form.cmxform fieldset dd textarea, 
form.cmxform fieldset dd select, 
form.cmxform fieldset dd .label_color {
	margin-left: 5px;
}

form.cmxform fieldset dl.msg {
	height: 152px;
}
form.cmxform fieldset dt.msg_dt, 
form.cmxform fieldset dd.msg_dd {
	height: 148px;
}
form.cmxform fieldset dd.msg_dd textarea {
	width: 410px;
	height: 148px;
}
form.cmxform fieldset dt.msg_dt a {
	width: 100px;
	float: left;
	margin-left: 10px;
}
form.cmxform label.fontcolor {
	display: block;
	float: left;
	width: 50px;
	margin-right: 2px;
	padding: 2px 0;	
}
form.cmxform label.fontcolor input {
	height: 13px;
}

form.cmxform fieldset #submit_btn {
	text-align: center;
	margin-top: 10px;
	display: block;
}
form.cmxform fieldset fieldset {
  border: none;
  margin: 3px 0 0;
}
form.cmxform fieldset fieldset legend {
  padding: 0 0 5px;
  font-weight: normal;
}
form.cmxform fieldset fieldset label {
  display: block;
  width: auto;
}
form.cmxform em {
  font-weight: bold;
  font-style: normal;
  color: #f00;
}
form.cmxform fieldset fieldset label {
  margin-left: 123px; /* Width plus 3 (html space) */
}

/*--------------------------------------------------
	スレッド全体
--------------------------------------------------*/
.thread_wrapper {
	width: 670px !important;
	width /*for win5.5*/: 700px;
	background-color: #ffffff;
	margin: 15px auto;
	padding: 20px 15px;
}
/*--------------------------------------------------
	検索
--------------------------------------------------*/
ul li.posted {
	text-align: right;
}

/*--------------------------------------------------
	検索結果記事
--------------------------------------------------*/
.result_article {
	text-align:left;
	clear:both;
}
.result_article li.search_title {
	border-bottom: 1px solid #000000;
}
.result_article li.posted {
	text-align: right;
}
.result_article li.contents{
	margin: 10px 0 10px 20px;
}
.search_pagelink {
	display: -moz-inline-box;
	display: inline-block;
	padding: 10px;
}
.search_pagelin > div{
	display: block;
}
/*--------------------------------------------------
	親記事
--------------------------------------------------*/
.thread_wrapper .parent_article {
	text-align:left;
	clear:both;
}

.thread_wrapper .parent_article_header {
	text-align: left;
	border-bottom: 1px solid #000000;
}

.thread_wrapper .parent_article_title {
}
/*--------------------------------------------------
	子記事
--------------------------------------------------*/
.thread_wrapper .child_article {
	width: 95%;
	margin-left:auto;
	margin-top: 10px;
	text-align:left;
	clear:both;
}
.thread_wrapper .child_article_header {
	text-align: left;
	border-bottom: 1px solid #000000;

}

/*--------------------------------------------------
	※※※
--------------------------------------------------*/
.thread_wrapper .parent_article form,
.thread_wrapper .child_article form {
	clear:both;
}
/*--------------------------------------------------
	記事の題名
--------------------------------------------------*/
.thread_wrapper .parent_article h2,
.thread_wrapper .child_article h3,
.result_article h3.title {
	color: #725A59;
	font-weight:bold;
}
.thread_wrapper .parent_article h2 {
	font-size: large;
	display: inline;
}

/*--------------------------------------------------
	記事の投稿者・メールアドレス・サイトURL・日付
--------------------------------------------------*/
.thread_wrapper .parent_article ul.posted,
.thread_wrapper .child_article ul.posted,
.result_article ul.posted {
	text-align: right;
}
.thread_wrapper .parent_article ul.posted li,
.thread_wrapper .child_article ul.posted li,
.result_article ul.posted li {
	display: inline;
	padding: 0 5px;
}
/*--------------------------------------------------
	記事の内容（本文と画像の親要素）
--------------------------------------------------*/
.thread_wrapper .parent_article div.contents,
.thread_wrapper .child_article div.contents,
.result_article div.contents {
	margin: 10px 0 10px 20px;
}
.thread_wrapper .parent_article div.contents {
	width: 650px !important;
	width: : /**/670px;
}
.thread_wrapper .child_article div.contents {
	width: 620px !important;
	width: : /**/640px;
}
/*--------------------------------------------------
	記事の本文
--------------------------------------------------*/
.thread_wrapper .parent_article div.contents div.body,
.thread_wrapper .child_article div.contents div.body,
.result_article div.contents div.body {
	width: 100%;
}
/*--------------------------------------------------
	記事の画像
--------------------------------------------------*/
.thread_wrapper .parent_article div.contents img.userimage,
.thread_wrapper .child_article div.contents img.userimage,
.result_article div.contents img.userimage {
	float:right;
	border:0px;
	vertical-align:middle;
	margin-left: 0.3em;
	margin-bottom: 0.3em;
}
/*--------------------------------------------------
	記事の返信ボタンや編集ボタンを含む親要素
--------------------------------------------------*/
.thread_wrapper .parent_article div.panel,
.thread_wrapper .child_article div.panel {
	text-align:right;clear:both;
	padding-top: 10px;
}
.thread_wrapper .child_article div.panel {

}
.thread_wrapper .parent_article div.panel form,
.thread_wrapper .child_article div.panel form {
	display: inline;
}
.thread_wrapper .parent_article div.panel form input.button,
.thread_wrapper .child_article div.panel form input.button {
	margin: 0 2px;
}
/*--------------------------------------------------
	記事の編集／削除パスワード入力画面の場合表示
--------------------------------------------------*/
p.pass {
	width:670px !important;
	width /*for win5.5*/: 700px;
	margin: 0 auto 15px;
}

/*--------------------------------------------------
	プレビュー画面
--------------------------------------------------*/
.content .preview_box {
	margin: 0 auto;
	text-align: left;
}
.content table.preview_table {
	width: 640px;
	margin: 0 auto;
}
.content table.preview_table td {
	padding: 2px;
}
.content td.preview_leftbox {
	width: 200px;
	text-align: left;
	font-weight: bold;
	background-color: #dfdfdf;
}
.content td.preview_rightbox {
	background-color: #efefef;
}
/*--------------------------------------------------
	画像認証
--------------------------------------------------*/
ol#captcha {
	width: 700px;
	margin: 10px auto;
	padding: 10px 0;
	background-color: #ffffff;
}

/*--------------------------------------------------
	記事投稿完了画面
--------------------------------------------------*/
p.comp {
	width:670px !important;
	width /*for win5.5*/: 700px;
	margin: 0 auto;
	padding: 10px 15px;
}

/*--------------------------------------------------
	ヘルプ
--------------------------------------------------*/
#help {
	text-align:left;
}
#help ul {
	margin-bottom: 15px;
}
/*--------------------------------------------------
	ページリンク
--------------------------------------------------*/
.pagelink {
	margin: 20px auto;
	width: 250px;
	height: 30px;
}

.pagelink form {
	width: 80px;
	margin: 0 auto;
	display: inline;
}

.pagelink .prev,
.pagelink .next {
	margin: 0 5px;
	padding: 2px 15px;
}

/*--------------------------------------------------
	広告
--------------------------------------------------*/
#footer_ad {
	padding: 10px 0;
	background-color: #555555;
}