/*------ ALL -------*/
body{
	margin: 0;
	line-height:140%;
	font-family: "leader", 'Verdana', 'Helvetica', 'Meiryo', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'YuGothic', 'Arial', 'MS UI Gothic', "NotoEmoji", sans-serif;
	color: #333;
}
@font-face {
  font-family: 'Inconsolata';
  src: url('../image/Inconsolata.ttf');
  unicode-range: U+0020-007F;
}
@font-face {
	font-family: 'leader';
	src: local('MS PGothic');
	unicode-range: U+2026, U+2190-2193, U+25A0-25A1, U+25C6-25C7, U+25CB, U+25CF, U+00AB, U+00BB;
	/* … ← ↑ → ↓ ■ □ ◆ ◇ ○ ● ☓ 《　》 */
}
@font-face {
  font-family: 'NotoEmoji';
  src: url('../image/NotoEmoji-SemiBold.ttf');
  unicode-range: U+002A-0039, U+00A9, U+00AE, U+203C, U+2049, U+2122, U+2139, U+2194-21AA, U+231A-23CF, U+24C2, U+25AA-25FE, U+2600-26CE FE0F, U+2702-27A1, U+2934-2935, U+2B05, U+2B55, U+3030, U+303D, U+3297, U+3299, U+1F004, U+1F0CF, U+1F170-1F1FF, U+1F201-1F251, U+1F300-1F37D, U+1F600-1F64F, U+1F680-1F6E4, U+1F7E0-1F7EB, U+1F90D-1F97F;
}

header{
	text-align: center;
	color:#3E2723;
}

header h1{
	font-family: 'Inconsolata';
	margin: .8em 0 .4em 0;
	font-size: 2.5em;
}
header h2{
	margin: 0px;
	font-size: 1.2em;
}

nav, #table_fo th, #table_fo td, .date, .resdate, #page {
	font-family: 'Inconsolata', 'Consolas', 'Courier New', 'Verdana', sans-serif;
	font-weight: normal;
}

nav{
	max-width: 400px;
	margin: 0 auto;
	padding-top: .4em;
	border-style: solid none;
	border-width: 1px 0 0 0;
	border-color: #CCC;
	text-align: center;
	color: #CCC;
}
nav a{
	text-decoration: none;
	color: #CD5C5C;
}
nav a:hover, .bbm a:hover {
	color: #FF7F50;
}
p{
 margin: 12px 0;   
}
footer{
	text-align: right;
	padding: 0px 10px 10px 0px;
}
form {
	margin: 2em auto;
}

/*------ PARTIAL -------*/

#table_fo{
	margin-left: auto;
	margin-right: auto;
}
#table_fo th{ 
	text-align: right;
	padding-right: .4em;
}
#table_fo td{ 
	text-align: left;
}
.msg{
	margin-top: 1em;
	margin-left: auto;
	margin-right: auto;
	width: 500px;
	border-radius: 10px;
	border: 2px solid #FFCC99;
	overflow: hidden;
	height: auto;
	background: #FFFFF9;
}
.subject{
	padding: 8px 6px 4px 18px;
	text-align: left;
}
.icon{
	padding: 0px 0px 0px 20px;
	display: flex;
}
.message{
	padding: 6px 12px 10px 18px;
	width: 100%;
	box-sizing: border-box;
}
.date{
	padding: 0px 8px 2px 0px;
	text-align: right;
	Color: #999;
}
.date a{
	text-decoration: none;
}
.resmsg{
	margin-top: 20px;
	margin-left: auto;
	width: 92%;
	border-top: 1px dashed #FFCC99;
	overflow: hidden;
	height: auto;
}
.ressubject{
	padding: 8px 0px 4px 8px;
	text-align: left;
}
.resicon{
	padding: 0px 0px 0px 8px;
	display: flex;
}
.resmessage{
	padding: 6px 12px 10px 8px;
	width: 100%;
	box-sizing: border-box;
}
.resdate{
	padding: 0px 16px 5px 0px;
	text-align: right;
	Color: #999;
}
#pass{
	margin-left: auto;
	margin-right: auto;
	width: 600px;
	text-align: center;
}
.bt{
	padding: 6px;
	border-width: 0;
	width: 80px;
	border-radius: 5px;
	cursor: pointer;
	background-color: #FF7F50;
	color: #fff;
}
.bt:hover {
	opacity: 0.8;
}
#btn{
	text-align: center;
}
#title{
	position: absolute;
	margin-top: 30px;
	margin-left: 10px;
}
#pan{
	margin-top: 10px;
	margin-left: 10px;
}
#past_midasi{
	text-align: center;
}
#past_file{
	text-align: center;
}
.b{
	font-weight: bold;
}
.gray{
	color: #999;
}


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

a:hover, .bt: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;
	vertical-align: middle;
}
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;
	background: #FFFFF9;
	border-color: #FFCC99;
	border-width: 2px;
	margin-right: 5px;
	padding:1px;
	font-size: 16px;
	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{
	vertical-align: super;
	font-size: 0.8em;
	color: #FF5050;
}
#e_name,#e_message,#e_ans{
	display: none;
	color: #E35E5E;
}
#iconwin{
	position:absolute;
	top: 0px;
	left: 0px;
	border-style:solid;
	border-width:2px;
	width:auto;
	height:auto;
	border-color:#FFCC99;
	border-radius: 9px;
	background-color:#fffff9;
}
#iconwin td{
	text-align: center;
	padding: 0px 2px;
}	


/*--- Bulletin Board Message ---*/

.bbm{
	margin: 1em auto;
	padding: 8px 0;
	max-width: 500px;
	border-radius: 10px;
	border: 2px solid #FFA07A;
	background: #FFFFF9;
	overflow: hidden;
	color: #333333;
	text-align: center;
}
.bbm h3 {
	margin: 0;
	padding:.5em;
	font-weight: bold;
	font-size: 1em;
	color: #FF7F50;
}
.bbm h3 span {
	font-size: 90%;
	padding-left: .5em;
	word-break: keep-all;
}
.bbm a, .bbm p, .bbm ul, .bbm ol {
	text-align: left;
}
.bbm a {
	color: #CD5C5C;
	text-decoration: none;
}
.bbm p {
	margin: 0;
	padding: 6px 16px;
}
.bbm ul, .bbm ol {
	margin: .5em .5em 1em .5em;
	padding-left: 1em;
}
.bbm li {
	padding-bottom: .4em;
}
.bbm li::marker {
	color: #FF7F50;
}
.bbm li span {
	font-size: small;
	color: #FF7F50;
}
.bbm img {
	margin: 2px;
}

@media screen and (max-width:600px){
	body{
		font-size: 110%;
	}
	.msg, .bbm {
		width: 90%;
	}
	#pass{
		margin-left: auto;
		margin-right: auto;
		width: 90%;
	}
	#table_fo {
		width: 90%;
	}
	#table_fo tr:not(#iconwin tr),
	#table_fo th:not(#iconwin th),
	#table_fo td:not(#iconwin td) {
		display: block;
		width: auto;
		padding: 2px;
	}
	#table_fo th { 
		text-align: left;
		padding-bottom: 0;
	}
	#iconwin td{
		padding: 2px 4px;
	}
	#table_fo input[type='text'],
	#table_fo select,
	#table_fo textarea {
		width: 100%;
	}
}