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

header{
    height: 12px;
    color: #BF8532;
    font-weight: normal;
    text-align: center;
    font-size: 15px;
    width: 100%;
}

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

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

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

.msg{
    margin-top: 0px;
    margin-left: auto;
    margin-right: auto;
    width: 650px;
    border: 1px solid #999999;
    overflow: hidden;
    height: auto;
}

.subject{
    background-color: #CEDFD1;
    padding: 2px 0px 2px 0px;
    text-align: center;
}

.message{
	padding: 6px 5px 10px 5px;
	width: 100%;
	box-sizing: border-box;
}

.message:after {
	content: ""; 
	display: block; 
 	clear: both;
}


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

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


#title{
    position: absolute;
    margin-top: 5px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    float: left;
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, sans-serif;
    font-size: 15px;
    font-weight: bold;
    color: #B47025;
}

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

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

/*------画像-------*/

.img{
	float: left;
	margin-right: 2px;
	margin-bottom: 2px
}

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

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;
}


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