﻿/* 　コミュニティボード bbs　CSS　*/
/*　ユニバーサル設定　*/
/*---------
        デフォルト　CSS　クリア
------------------------------------------*/
html, body {
	margin: 0px;
	padding: 0px;
	z-index: 0;
	height: 100%;
	line-height:1;
}
/* よく登場する要素のリセット */
h1, h2, h3, h4, h5, h6, p, address,ul, ol, li, dl, dt, dd, table, caption, th, td, img, form,time,mark,audio,video,nav {
        margin: 0;
        padding: 0;
        border: none;
        outline:0;
        font-style: normal;
        font-size: 100%;
        text-align: left;
        list-style-type: none;
}
/* 画像の下にできる隙間をなくす */
img {vertical-align: text-bottom;}
a {text-decoration: none;}
a:hover {text-decoration: underline; color: #dd0000;}
/*---------
    フロートをクリアする
------------------------------------------*/
.clearfix:before,.clearfix:after {content: ".";display: block;height: 0;overflow: hidden;}
.clearfix:after {clear: both;}
.clearfix {zoom: 1;} /* IE < 8 */

/* ページ全体設定　*/
body {background: #fef5da;}
/*　個別スタイル　 Body背景　*/
#combody {
	font-family:"メイリオ", "ヒラギノ角ゴ", Arial, Helvetica, sans-serif;
	background-color:#a8bf93;
	background-color: #b7c699;
	background-color: #f5eaee;
}
/* 　ヘッダーの個別スタイル　*/
header {
	width: 100%;
	height: 160px;
	background-image: url('../images/1920_150_.png');
	background-repeat: no-repeat;
	background-color: transparent ;
	background-size:cover;
}
#contents {
	clear: both;
	width: 100%;
	min-width:994px;
}
#footer {height: 0px;}
blockquote {margin: 0; padding: 0;}
/*  hrの装飾　　*/
hr.hr-one {
    width:70%;
    border: 0;
    height: 1px;
    background: #ccc;
    background-image: -webkit-linear-gradient(left, #ddd, #999, #ddd);
    background-image:    -moz-linear-gradient(left, #ddd, #999, #ddd);
    background-image:     -ms-linear-gradient(left, #ddd, #999, #ddd);
    background-image:         linear-gradient(left, #ddd, #999, #ddd);
}
/* ページのタイトル　*/
header h1 {
	width: 20em; /* margin: 0 auto; */;
	margin: 0 auto 0 30%;
	padding: 70px 0;
	font-size: 2.5em;
	font-weight: bold;
	/*color: #eee;*/
	color: #030;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.2),-1px -1px 2px rgba(0,0,0,0.2);
}

/* 全てに共通のナビゲーション　*/
nav{
	width:265px;
	margin:30px 0 20px 5px;
}
nav li {
	float:left;
	width:120px;
	margin:5px;
	text-align:center;
	font-size:0.9em;
	font-weight:bold;
}
nav li a {
	display:block;
	line-height:20px;
	padding-top:3px;
	text-decoration:none;
}
/* 個別スタイル　ナビ ボタンの設定   */
nav li a {
	color:#fff;
	/*background-color: #008080;*/
	background-color: #8ca7d0;
	border-radius: 6px;
}
nav li a:hover {
	color:#fff;
	text-decoration:none;
	/*background-color:#202080;*/
	background-color:#e4c4d1;
}

/* 左側と右側配置　 */
#leftbox {
	float: left;
	width: 75%;
}
#rightbox {
	float: right;
	width: 25%;
}
/*　左側の枠　*/
#left-side {
	width: 90%; 
	margin: 0 auto;
}
/* 右側の枠　*/
#right-side {
	width: 100%;
	max-width: 280px;
}
#sideguide {
	margin: 10px  0;
	background-color: #fffacd;
	background-color: #f9f9f3;
	border-radius: 10px;
}
#sideguide p {
	padding:10px;
	line-height: 150%;
	font-size; 120%;
}
#sidemenu { margin-right: 20px;}
#sidemenu iframe { border: 0;}

/* 左側 共通スタイル　*/
#leftbox h1 {
	width: 500px;
	margin: 20px auto 0;
	font-size:2.25em;
	/*color:#3a5b52;*/
	color:#030;
	padding: 20px 0 10px;	
}
/*  訪問数　カウンタ　*/
dl.visiter {
	clear:both;
	width: 240px;
	margin-top: 20px;
	margin-left: 20px;
}
.visiter dt,.visiter dd {
	float: left;
	width:80px;
}

/* 投稿記事部 */
#post {
	clear: both;
	width:90%;
	min-width:200px;
	margin:30px auto 10px;
	position: relative;
}
/* 投稿ヘッダー部 */ 
.post-header,.res-post-header {
}
.res-post-header {
}
/* 投稿記事タイトル */
.subtitle {
	width:80%;
	min-width: 180px;
	/*background:#fff;*/
	text-align:left;
	padding: 15px;
	margin:0;
	font-weight: bold;
	font-size: 1.5em;
	color: #2c4f54;
	white-space: nowrap;
	background-image:url('../images/titleback_cb51.jpg');
	background-repeat: no-repeat;
	/*background-position: top 0 right 0;*/
	background-color: #dde4c4;
	background-color: #e4c4d1;
	border-radius: 10px 10px 0 10px;
	background-position: right top;
}
.restitle {
	width: 90%;
	margin:0 0 0 -20px;
	padding: 15px;
	color: #2c4f54;
	font-size:1.2em;
	font-weight: bold;
	background-color:#e4c4d1;
	border-radius: 8px;
}
/*.restitle:first-letter {
	font-size: 1em;
	color:#999;
	text-align: center;
}*/
/*　投稿記事表示枠　*/
.post-contents {
	width:90%;
	background:#fff;
	margin:0 0 20px 20px;
	text-align:left;
	padding:0.5em 2em 2em;
	border-radius: 10px;
	position: relative;
}

/* 投稿　記事情報 */
.post-info {
	margin:10px 0 10px 200px;
	font-size:1em;
	line-height:120%;
}
.post-dl { float: left; width:400px;}
.post-info dt,.post-info dd {
	float: left;
	width: 10px;
	margin-left: 5px;
}
/*.name { font-weight:bold; color:#a9a9a9; display: none;}*/
.name { font-weight:bold; color:#848484;}
dt.name { width: 3.2em;}
dd.name { width: 10em;padding:0 5px;overflow:hidden;white-space:nowrap; word-wrap: normal; }
.daytime { font-style:italic;color:#bc8f8f;}
dt.daytime { width: 3.2em; }
dd.daytime { width: 13em;padding:0 5px; }
.num { font-weight:bold;color:#999;}
dt.num { width: 1.5em;}
dd.num { width: 25px; padding :0 5px;}

/* 投稿記事 */
.comments {
	width: 100%;
	margin:20px auto;
	line-height: 150%;
	font-size:1.2em;
	word-wrap: break-word;
}
.comments img {
	margin: 10px 10px 10px 0;
	padding: 5px;
	border: 1px #e0e0e0 solid;
	box-shadow: 1px 1px 2px rgba(0,0,0,0.1),-1px -1px 2px rgba(0,0,0,0.1);
}
/* res 投稿　枠　*/
.res-post {
	width:100%;
	min-width:200px;
	margin:0 0 20px 0;
	padding:0.5em 1em;
	background-color: #fff;
	position:relative;
}
.res-post .comments {
	width: 95%;
 	padding: 0 30px 0 auto;
 }

/*　投稿に返信をするボタン　*/
.addbtn {
	margin-top:20px;
	position: absolute;
	right: 10px;
	bottom: 10px;
	z-index: 10;
}
.addbtn  input {
	width: 100px;
	font-size: 0.9em;
	font-weight: 400;
	text-decoration: none;
	padding:5px 10px;
	border: 1px #999 solid;
	border-radius:6px;
	/*background-color: #9370db;*/
	background-color: #999999;
	color: #fff;
}
a:hover p.addbtn input{
	color: #000;;	
}
/* ガイドボタン　*/
#sidepost .postguide {
	width:300px;
	height:30px;
	margin:5px 0 30px;
}
#sidepost .postguide li {
	float:left;
}
#sidepost .postguide li a {
	display:block;
	width:120px;
	height:30px;
	margin-right:10px;
	line-height:30px;
	color:#fff;
	text-decoration:none;
	font-weight:bold;
	font-size:0.9em;
	text-align:center;
	cursor:pointer;
/*	background-color:#26499d;*/
	background-color:#8ca7d0;
	border:1px #999 solid;
	border-radius: 6px;
}
#post .postguide li a:hover {
	background-color:#202080;
}
/* ページの案内　*/
.showpage {
	width:40%;
	margin:20px 0 10px 50px;
}
.pagenation {
	height:20px;
	margin-left:10px;
	margin-top:10px;
	padding:10px;
	background:#ffd;
	border-radius: 10px;
	border:1px #ccc solid;
	}
 a.returntop {
	display: block;
	width: 100px;
	margin:30px 0 50px 60px;
	padding: 5px 0;
	font-size: 0.9em;
	font-weight: bold;
	text-decoration: none;
	text-align: center;
	color: #f0f0f0;
	background-color: #808080;
	border-radius: 6px;
}
a.returntop:hover {
	background-color: #202080;
}
/********  投稿表示エリア　ここまで　*****************/

/******** 修正Box　投稿Box　ページデザイン　**********/
/* Boxの基本設定　*/
#box1,#box2 {
	width: 760Px;
	margin:0 auto;
	background-color:rgba(248,248,248,0.9);
	border-radius: 12px;
	display: none;
	position: absolute;
	top: 300px;
	left: 50%;
	margin-left: -500px;
	z-index: 100;
}
/*   閉じるボタン    */
a.boxclose {
	float: right;
	display: block;
	width: 3.2em;
	margin: -15px -15px 0 0;
	padding: 5px 10px;
	cursor: pointer;
	background-color: #669;
	color: #fff;
	border-radius: 6px;
	text-decoration: none;
}
/*投稿見出し表示*/
.formbox h2 {
	font-size: 1.5em;
	color: #404040;
	margin: 10px 0 10px 50px;
}

/* 合言葉のヒント画像　*/
.regform .echo {
	width: 550px;
	background-image:url('../images/echo2.png');   /* 合言葉連想背景画像　*/
	background-repeat:no-repeat;
	background-position:110px center;
}
.postguide li a {
	/*background:#8080ff;*/
	background:#8ca7d0;
	color:#f0f0f0;
}

/* 投稿欄　修正・削除欄　共通　*/
/* 投稿フォーム　*/
#postform,#mente,#resform,#editform {
	width: 600px;
	margin:50px auto;
	padding: 20px;
	/*background-color: #ebeba4;*/
	background-color: #eadde5;
	border-radius: 10px;
}
.regform .inname { width: 180px;}
.regform .intitle { width: 300px;}
.regform .incomment { width: 450px;}
.regform .infile {}
.regform .inpwd { width: 100px;}
.regform .inecho { width: 100px;}

/* 修正・削除フォーム */
.mente-mode {
	height:30px;
	margin-top: 30px;
	margin-left:10px;	
}
#mente .mente-data { margin-left: 130px; }
#mente .mente-data p {
	float:left;
	display:block;
	margin-left: 10px;
	padding-right:0.5em;
}
#mente .mente-data p input { width:6em;}
#mente .mente-submit {
	display: block;
	width: 100px;
	margin: 30px auto;
	font-size: 0.9em;
	padding: 5px 10px;
	border-radius: 6px;
	background-color: #006a6e;
	color: #fff;
}
/* 削除キー入力フォーム部の文字サイズ */
.small {
	font-size:80%;
}

/* 新規投稿フォーム */
.regform td,.regform th {
	padding:0.1em;
	white-space:nowrap;
	text-align:left;
	font-size:1em;
}
.regform td {
	width: 500px;
}
/* formの文字制御　*/
input,select {
   font-size:90%;
}
.regform textarea {
   font-size:120%;
   line-height:120%;
}
/*  実行ボタン　*/
.submit {
	width: 250px;
	margin: 20px auto;
}
.submit input {
	width: 100px;
	font-size: 0.9em;
	margin-left: 10px;
	padding: 5px 10px;
	border-radius: 6px;
	background-color: #006a6e;
	color: #fff;
}


img.capt {
	vertical-align:middle;
}
div.infobar {
	height:20px;
	text-align:center;
	padding:10px;
	background:#bc6666;
	color:#fff;
	font-weight:bold;
}
div.note {
	width:650px;
	background:#fff;
	border:1px solid gray;
	margin:1em;
	padding:6px;
	margin-left:auto;
	margin-right:auto;
}
div.note li {
	text-align:left;
	line-height:130%;
	padding-left:1em;
}
p.close {
	text-align:center;
	margin-top:1em;
}
p.close input {
	width:80px;
}
div.center * {
	text-align:center;
	margin-top:10px;
}
p.red {
	color:#dd0000;
}
div.key {
	float:left;
	width:3.5em;
}
div.val {
	float:left;
}
td.oldlog {
	background:#fff;
}
div.val strong {
	color:#008000;
}

/*  追加記事他　前画面にもどるナビ　*/
.resnavi {
	width:120px;
	margin-left:100px;
}
.resnavi li {
	text-align:center;
}
.resnavi li a {
	width:100%;
	display:block;
	line-height:30px;
	color:#FFF;
	font-weight:bold;
	/*background:#8080ff;*/
	background-color: #000;
	border-radius: 6px;
}
.resnavi li a:hover {
	text-decoration:none;
	color:#fcd3f6;
}

