/*------全体-------*/
body{
	font-size: 13px;
	margin: 0px;
	line-height:120%;
	font-family: 'MS PGothic';
	color: #666666;
}

header{
	background-color: #004080;
	height: 80px;
	color: #ffffff;
	font-weight: bold;
}

footer{
	text-align: right;
	padding: 0px 10px 10px 0px;
}

/*------部分-------*/

section h1{
	font-size: 15px;
	text-align: center;
}

#table_fo{
	margin-left: auto;
	margin-right: auto;
}

#table_fo th,#table_fo td{ 
	text-align: left;
}

#msgbox{
	width: 100%;
	text-align:center;
	margin-top: 20px;
	vertical-align: top;
}


.msg{
	margin-top: 0px;
	margin-left: 5px;
	margin-right: 5px;
	margin-bottom: 20px;
	width: 220px;
	border: 1px solid #BBBBBB;
	overflow: hidden;
	height: auto;
	display:inline-block;
	vertical-align: top;
}


.subject{
	padding: 8px 0px 8px 8px;
	text-align: left;
}

.icon{
	padding: 0px 0px 0px 8px;
	text-align: left;
}

.message{
	margin: 0 auto;
	width: 92%;
	text-align: left;
}

.upfile{
	text-align: center;
}

.date{
	padding: 0px 5px 2px 0px;
	text-align: right;
}

#pass{
	margin-left: auto;
	margin-right: auto;
	width: 600px;
	text-align: center;
}

.bt{
	background-color: #0658B6;
	color: #ffffff;
	padding: 10px;
	border-radius: 5px;
	border-width: 0px;
	width: 80px;
}

#btn{
	text-align: center;
}

#title{
	position: absolute;
	margin-top: 30px;
	margin-left: 10px;
	left: -21px;

}

#pan{
	margin-top: 10px;
	margin-left: 10px;
}

/*-------------*/

a:hover{
	position:relative;
	left:1px;
	top:1px;
}

input[type=text],input[type=password],textarea{
	border: 1px solid #C9D1DC;
	border-radius: 3px;
	margin-bottom: 1px;
}

select{
	border: 1px solid #C9D1DC;
	width: 80px;
}


input,select {
 	height: 34px;
 	box-sizing: border-box;
}

textarea {
	box-sizing: border-box;
	line-height: 1.25;
	padding: 4px;
}

/*------ページ-------*/

ul.pagelink{
	list-style-type: none;
	margin: 0;
}

ul.pagelink li{
	float: left;
}

ul.pagelink a, ul.pagelink li.current{
	display: block;
	width: 30px;
	line-height: 30px;
	text-align: center;
	text-decoration: none;
	border-style: solid;
	border-color: #bebebe;
	border-width: 1px;
	margin-right: 5px;
	padding:1px;
	font-size: 13px;
	border-radius: 3px;
}

ul.pagelink li.ten{
	display: block;
	width: 20px;
	line-height: 32px;
	text-align: center;
	text-decoration: none;
	margin-right: 5px;
	padding:1px;
	font-size: 13px;
}


ul.pagelink a:hover{
	background-color: #F0F0F0;
}

ul.pagelink:after{
	display: block;
	clear: both;
	content: '';
}

ul.pagelink li.current{
	font-weight:bold;
}


#page {
	position: relative;
	overflow: hidden;
	margin-top: 20px;
	margin-bottom: 30px;
}

#page ul {
	float:left;
	left:50%;
	position:relative;
	padding:0px;
}

#page li {
	float:left;
	left:-50%;
	position:relative;
}

#hissu{
	text-align: center;
	margin-bottom: 10px;
}

.hissu{
	color: #cc0000;
	font-weight: normal;
}

#e_name,#e_message,#e_ans{
	display: none;
	color: #E35E5E;
}

/*アイコンを囲むレイヤーのスタイル アイコンを使わない場合はここから下の"ここまで"は不要*/
#iconwin{
	position:absolute;
	top:0px;
	left:0px;
	border-style:solid;
	border-width:1px;
	width:auto;             /*幅(アイコンの大きさ、数に合わせて適宜設定)*/
	height:auto;             /*高さ*/
	border-color:#666666;    /*枠の色*/
	background-color:#ffffff;/*背景色*/
}
/*ここまで*/

@media screen and (max-width:600px){
	body{
		font-size: 15px;
		line-height:150%;
	}

	.msg {
		width: 90%;
		margin-left: auto;
		margin-right: auto;
		float: none;
	}

	
	#pass{
		margin-left: auto;
		margin-right: auto;
		width: 90%;
	}
	
	#table_fo {
		width: 90%;
	}

	
	#table_fo tr,
	#table_fo th,
	#table_fo td {
		display: block;
		width: auto;
		padding: 2px;
	}

	#table_fo th {
		padding-bottom: 0;
	}

	#table_fo input[type='text'],
	#table_fo select,
	#table_fo textarea {
		width: 100%;
	}
}
