@charset "utf-8";
* {
	margin: 0;
	padding: 0;
}
img {
	border: 0;
}
img.am {
	vertical-align: middle;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
p {
	margin:0.8em 0;
}
ul, ol {
	margin:0;
	margin: 1em 0 1em 25px;
}
/* render html5 elements as block */
header, footer, section, aside, nav, article {
	display: block;
}
body {
	background: url(../images/bg_header.jpg) repeat-x 0 0 #FFF;
	font-size: 0.9em;
	text-align:center;
	line-height: 1.7;
	color:#333333;
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ ゴシック", "MS Gothic", sans-serif;
}
body, x:-moz-broken {
	font-family:"Verdana", "ＭＳ Ｐゴシック", "Osaka－等幅"
}
* html body {
	font-family:"ＭＳ ゴシック", "MS Gothic", sans-serif;
}
/* layout */
/* basics */

h1, h2, h3, h4, h5, h6 {
	font-weight: bold;
	clear: both;
	color: #555;
}
a:link, a:visited {
	color:#1111cc;
}
a:hover, a:active {
	color: #997f55;
}
a.arrow {
	background-image: url(../images/arrow.png);
	background-repeat: no-repeat;
	background-position: top left;
	padding-left: 13px;
}
a.ov img{
	display:block;
	}
	
a.ov:hover img{
	filter: alpha(opacity=60);
	-moz-opacity:0.6;
	opacity:0.6;
	}


/* nav */

#menu {
}
#menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: normal;
}
#menu li {
	display: block;
	float: left;
	color: #A6A6A6;
	width:235px;
	height:35px;
	overflow:hidden;
}
#menu a {
	font-size:16px;
	font-weight:bold;
	display: block;
	text-align:center;
	padding:7px 0;
	text-decoration: none;
	color: #ffffff;
}
#menu li.faq a {
	background:#ed6a00 !important;
}
#menu a:hover, #menu a.menuactive {
	background:#004c96;
}

#menu li.faq a:hover, #menu li.faq a.menuactive {
	background:#e44000 !important;
}

/** HEADER */

header {
	padding: 0;
}
.wrap h1 {
	margin:0 !important;
	padding:0 !important;
	height:132px;
	width:268px;
}
.nyukai{
	position:absolute;
	right:-14px;
	top:15px;
	}
.btn_jmalm{
	position:absolute;
	right:295px;
	top:35px;
	}
.wrap a, .wrap a:visited {
	text-decoration: none;
	color: #4e4643;
}
.wrap img {
}
.wrap{
	position:relative;
	}
header h2 {
	color: #555;
	clear: right;
	float: right;
	font-style: italic;
	font-size: 14px;
	margin: 14px 10px 18px 0;
}

/* About KaLib Reader */
#aboutkalibreader {
}
#aboutkalibreader h1 {
	background-color: #393939;
	padding: 3px 8px 2px 8px;
	margin: 0;
	color: #ffffff;
	font-size: 96%;
	font-weight: normal;
}
#aboutkalibreader hr {
	border: none;
	border-top:1px #cccccc dotted;
	color:#FFFFFF;
	width: 100%;
	height: 1px;
	clear: both;
	margin: 0 0 6px 0;
}
*:first-child+html #aboutkalibreader hr {
	margin-bottom: 3px;
}
#aboutkalibreader a.arrow {
	background-image: url(../images/arrow.png);
	background-repeat: no-repeat;
	background-position: top left;
	margin: 6px 10px 4px 12px;
	padding-left: 13px;
	display: block;
}
*:first-child+html #aboutkalibreader a.arrow {
	margin-top: 3px;
	margin-bottom: 2px;
}
#aboutkalibreader a img{
	display: block;
	margin: 0 10px 8px 0;
}
#aboutkalibreader a:hover img {
	filter: alpha(opacity=70);
}
#aboutkalibreader a:hover img, x:-moz-any-link{
	-moz-opacity:0.7;
}
@media screen and (-webkit-min-device-pixel-ratio:0) {  

 #aboutkalibreader a:hover img  { opacity:0.7;  }  

} 

* html #aboutkalibreader img {
	margin-right: 4px;
	margin-bottom: 0;
}
.app {
	height:134px;
	margin: 0 0 15px 0 !important;
	width:210px;
}
.app h2 {
	margin: 0;
	font-size: 100%;
	line-height: 156%;
}

img#bottom {
	margin: 0;
	padding: 0;
	height: 5px;
	line-height: 1px;
	clear: both;
	display: block;
}

/* Category Search */
#catsearch {
	background-color: #eaeaea;
	margin-bottom: 15px;
}
#catsearch h1 {
	background-image:url(../images/title_catsearch.png);
	background-repeat: no-repeat;
	background-position: top left;
	padding: 5px 8px 0 48px;
	height: 35px;
	margin: 0;
	color: #ffffff;
	font-size: 120%;
	font-weight: normal;
}

/* Freewords Search */
#freesearch {
	background-color: #eaeaea;
	margin-bottom: 15px;
}
#freesearch h1 {
	background-image:url(../images/title_freesearch.png);
	background-repeat: no-repeat;
	background-position: top left;
	padding: 5px 8px 0 48px;
	height: 35px;
	margin: 0;
	color: #ffffff;
	font-size: 120%;
	font-weight: normal;
}
#freesearch form {
	padding: 10px 15px;
}
#freesearch label {
	color: #362e2b;
	font-size: 93%;
	line-height: 130%;
	display: block;
	margin-top: 2px;
}
#freesearch select {
	font-size:12px;
	padding:2px;
	border:solid 1px #7f9db9;
	background:#ffffff url(../images/bg_select.jpg) repeat-x;
	width: 180px;
}
#freesearch input[type="text"] {
	font-size:12px;
	padding:2px;
	border:solid 1px #7f9db9;
	background:#ffffff url(../images/bg_input.jpg) repeat-x;
	width: 175px;
}
#freesearch input[type="image"] {
	margin-top: 8px;
	margin-left: 57px;
}

/* Topics */
#topics {
	margin-bottom: 15px;
	padding: 0;
	background:url(../images/topics_body.png) repeat-y left top;
}
#topics h2 {
	background:url(../images/topics_title.png) no-repeat left top;
	height: 44px;
	text-indent:-99999px;
	line-height: 10%;
	margin: 0;
	padding: 0;
}
#topics_line {
	background:url(../images/topics_bottom.png) no-repeat left bottom;
	padding-bottom: 0;
	padding-left: 86px;
	padding-right: 8px;
}
#topics_line p {
	position: relative;
	top: -24px;
	margin: 0 4px 4px 0;
	padding-bottom: 4px;
	border-bottom: 1px #cccccc dotted;
	font-size: 90%;
	line-height: 150%;
}


/* relations_box */
#relations_box {
	width: 645px;
	background: url(../images/relation_bottom.gif) no-repeat bottom;
	padding-bottom: 12px;
	margin-bottom:25px;
}
#relations_box .body h3 {
	background: url(../images/relation_title.gif) no-repeat;
	border: none;
	padding: 25px 15px 0 20px;
	margin: 0 -15px;
}
#relations_box .body {
	background: url(../images/relation_body.gif) repeat-y;
	padding: 1px 15px;
}

#relations_box ul {
	list-style:none;
	margin-top: 5px;
	margin-bottom: 0.6em;
	margin-left: 8px;
}
#relations_box ul li {
	float:left;
	margin-top: 2px;
	padding-left: 13px;
	margin-right: 25px;
	background: url(../images/arrow.png) 0 0 no-repeat;
}
#relations_box .body p {
	clear: left;
	display: block;
	padding-bottom:1px;
}

/* sidebar and footer widget blocks */
/* page-top */
#page-top {
	position: fixed;
	bottom:20px;
	right:20px;
}


footer {
	background: #f6f6f6;
	border-top:1px solid #efefef;
	overflow: hidden;
	padding:15px 0;
	color:#5a5a5a;
}
footer a{
	color:#5a5a5a !important;
	}
#footer_in {
	width:940px;
	margin:0 auto;
	padding:0;
	}
#totop_middle {
	height: 20px;
	text-align: right;
	font-size:90%;
	margin: 1em 0 2em 0;
	padding-right: 15px;
}

#totop_bottom {
	height: 20px;
	text-align: right;
	color: #ffffff;
	font-size:12px;
	padding-top: 1px;
	padding-right: 40px;
}
#totop_bottom a {
	color: #ffffff;
	text-decoration:underline;
}
#totop_bottom a:hover, #totop_bottom a:active {
	text-decoration: none;
}
#footer-list {
	text-align: center;
	margin: 10px 0 0 0;
	font-size: 90%;
	line-height: 150%;
}
#footer_nav {
	text-align:left;
	width:30%;
	float:left;
	margin:0;
	font-size: 90%;
}
#copyright {
	text-align:right;
	width:40%;
	float:right;
	font-size: 85%;
}


/* 続きを読む */
.gonext {
	text-align: right;
	font-size: 90%;
	margin: 0.2em 0 0.5em 0;
}


/****************/
/* for TreeMenu */
/****************/

#category {
	background-color: transparent;
	margin: 0;
	padding: 0;
	padding-bottom: 5px;
}
#category li ul {
	background-color: transparent;
	margin: 0;
	padding: 0;
}

.filetree li { padding: 0 0 0 16px; }
.filetree span.folder, .filetree span.file { padding: 0 0 0 16px; display: block; }
.filetree span.folder { background: url(../images/folder.gif) 0 0 no-repeat; }
.filetree li.expandable span.folder { background: url(../images/folder-closed.gif) 0 0 no-repeat; }
.filetree span.file { background: url(../images/file.gif) 0 0 no-repeat; }
.categoryroot { padding: 1px 0 1px 18px; background: url(../images/root.gif) 0 0 no-repeat; }

.treeview, .treeview ul {  padding: 0; margin: 0; list-style: none; }
.treeview ul { /*background-color: white;*/ /* margin-top: 4px;*/ margin-top: 0px; }
.treeview .hitarea { background: url(../images/treeview-default.gif) -64px -25px no-repeat; height: 16px; width: 16px; margin-left: -16px; float: left; cursor: pointer; }
/* fix for IE6 */
* html .hitarea { display: inline; float:none; }
.treeview li {  margin: 0; padding: 2px 0 2px 16px; /* padding: 0px 0pt 0px 16px;*/ }
.treeview li { background: url(../images/treeview-default-line.gif) 0 0 no-repeat; }
.treeview li.collapsable, .treeview li.expandable { background-position: 0 -176px; }
.treeview .expandable-hitarea { background-position: -80px -2px; }
.treeview li.last { background-position: 0 -1766px }
.treeview li.lastCollapsable, .treeview li.lastExpandable { background-image: url(../images/treeview-default.gif); }
.treeview li.lastCollapsable { background-position: 0 -111px }
.treeview li.lastExpandable { background-position: -32px -67px }
.treeview div.lastCollapsable-hitarea, .treeview div.lastExpandable-hitarea { background-position: 0; }


/****************/
/* for dropdown */
/****************/
ul.dropdown { position: relative; float: right; }
ul.dropdown li { font-weight: bold; float: left; zoom: 1; }
ul.dropdown a:hover { color: #000; }
ul.dropdown a:active { color: #ffa500; }
ul.dropdown li a { display: block; padding: 4px 8px; border-right: 1px solid #333; color: #222; }
ul.dropdown li:last-child a { border-right: none; } /* Doesn't work in IE */
ul.dropdown li.hover,ul.dropdown li:hover { background: #F3D673; color: black; position: relative; }
ul.dropdown li.hover a { color: black; }
ul.dropdown ul { width: 220px; visibility: hidden; position: absolute; top: 100%; left: 0; }
ul.dropdown ul li { font-weight: normal; background: #f6f6f6; color: #000; border-bottom: 1px solid #ccc; float: none; }
ul.dropdown ul li a { border-right: none; width: 100%; display: inline-block; } 
ul.dropdown ul ul { left: 100%; top: 0; }
ul.dropdown li:hover ul { visibility: visible; }

/*******************/
/* for tablesorter */
/*******************/
table.tablesorter { background-color: #d4d4d4; margin:0px 0pt 15px; font-size: 9pt; width: 530px; text-align: left; }
table.tablesorter thead tr th, table.tablesorter tfoot tr th { color: #fff; background-color: #4b8ab7; border: 0px solid #FFF; font-size: 9pt; padding: 4px; }
table.tablesorter thead tr .header { background-image: url(../images/bg.gif); background-repeat: no-repeat; background-position: center right; cursor: pointer; }
table.tablesorter tbody td { color: #3D3D3D; padding: 4px; background-color: #FFF; vertical-align: middle; height: 40px; }
table.tablesorter tbody tr.odd td { background-color:#fafafa; }
table.tablesorter thead tr .headerSortUp { background-image: url(../images/asc.gif); }
table.tablesorter thead tr .headerSortDown { background-image: url(../images/desc.gif); }
table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp { background-color: #c1cae4; color: #000; }

/*************************/
/* for tablesorter-pager */
/*************************/
div.tablesorterPager { padding: 10px 0 10px 0; background-color: #D6D2C2; text-align: center; }
div.tablesorterPager span { padding: 0 5px 0 5px; }
div.tablesorterPager input.prev { width: auto; margin-right: 10px; }
div.tablesorterPager input.next { width: auto; margin-left: 10px; }
div.tablesorterPager input {/* font-size: 8px;*/ width: 50px; border: 1px solid #330000; text-align: center; }

.number {
	color: #666666;
}
a.btn_over {
	display:block;
}
a.btn_over:hover {
	filter: alpha(opacity=70);
	-moz-opacity:0.7;
	opacity:0.7;
}
.message { font-size: 0.85em; width: 400px; text-align: center; margin: 10px auto 10px auto; padding: 10px; background-color: #FFE4E4; border: solid 1px #CC3333; line-height: 1.5; }

/* uguide */
ul.asterisk {
	list-style: none;
	padding-bottom: 1em;
	font-size: 85%;
	}
ul.asterisk li {
	margin: 0;
	padding: 0 0 0 1em;
	text-indent: -2.3em;
	}
span.asterisk {
	font-size: 85%;
	}
.in_list {
	margin-top:0;
	padding-bottom: 1em;
	}

/* FAQ */

.qa_blk {
	margin: 1em 0;
}
.qa {
	width: 560px;
	padding: 20px;
	border: 10px solid #EEEEDF;
}                        
.qa .q {
	margin: 0 0 15px 0;
	padding: 0 0 15px 36px;
	background: url(../images/q.jpg) no-repeat;
	border-bottom: 1px dotted #DEDEC3;
	font-weight: bold;
} 
.qa .a {
	padding: 0 0 0 36px;
	background: url(../images/a.jpg) no-repeat;
}
.qa ul.a {
	padding: 0 0 0 56px;
	background: url(../images/a.jpg) no-repeat;
}
.qa ol.a {
	padding: 0 0 0 56px;
	background: url(../images/a.jpg) no-repeat;
	/margin-left: 0;
}
.qa ol {
	/margin-left: 56px;
}
.qa ul {
	/margin-left: 0;
}

/* kiyaku */
.kiyaku_p {
	margin:0 !important;
	}
.kiyaku_list {
	margin:0 0 1.5em 1.8em !important;
	}
	
	


