/* ===============  Common  =============== */
body{
	background-color: black;
	color: white;
	padding: 0px;
	margin: 0px;
	overflow-x: hidden;
	scroll-y: always;
}

a { text-decoration: none; }
a:link    { color: #99f; }
a:visited { color: #5c5; }
a:active  {
	background-color: red;
	color: #500;
}
a:hover, a:focus, .pseudo_a:hover {
	background-color: yellow;
	color: black;
}
.pseudo_a { color: #ff9; cursor: pointer; }

img, div {
/*	behavior:url(iepngfix/iepngfix.htc) */
}
img, a img {
	border: 0px;
}
a:hover .go_home{
	background-color: transparent;
}
#title_logo{
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='logo_q.png');
}

code, .code{
	font-family: "Courier New";
}
p {
	white-space: normal;
	text-indent: 0.7em;
	word-break: break-all;
	padding: 0px 0px 0.5em 0px;
	line-height: 125%;
	margin: 0px;
}
.note {
	font-size: 90%;
	color: #ccc;
}
.kbd {
	background: #faf6f6;
	color: #000;
	border-color:  #edd #baa #baa #eed;
	padding: 0px 1px 0px 1px;
	margin: 0px 2px 0px 2px;
	border-width: 1px 2px 2px 1px;
	border-style: solid;
	font-family: "courier new", "courier", monospace;
	font-size: 90%;
}

input {
	background-color: white;
	border: solid 0px white;
	font-family: "Times New Roman";
	vertical-align: top;
}
input:hover {
	background-color: #fc5;
}

.l { float: left;        }
.r { float: right;       }
.c { text-align: center; }
.cl{ clear: both;        }

table.l_r, table.l_l, table.r_l, table.l_c {
	margin: 0.5em 0em 1em 1em;
}
table.l_r th, table.l_l th, table.r_l th, table.l_c th{
	padding-right: 1em;
	font-size: 90%;
	border-bottom: solid 1px white;
}
table.l_r th, table.l_l th, table.l_l td, table.r_l td {
	text-align: left;
}
table.r_l th, table.l_r td {
	text-align: right;
}
table.r_c td, table.l_c td {
	text-align: center;
}
table.l_r td, table.l_l td, table.r_l td {
	padding-left: 1em;
	font-size: 90%;
	border-bottom: solid 1px #ccc;
}
table.nopadding td, table.nopadding th{
	padding: 0px;
	margin: 1px;
}
table.noborder td, table.noborder th{
	border: 0px;
}

.copyright {
	text-align: right;
	font-family: 'Verdana';
	font-size: 80%;
	color: #bbb;
	
	position: absolute;
	
	bottom: 2px;
	right: 0.7em;
	
	z-index: 2;
}


/* ===============  Page top  =============== */

#title_area{
	width: 200px;
	height: 60px;
	-moz-opacity: .9;
	filter: Alpha(opacity=100, finishOpacity=40, style=1, startX=0, startY=0, finishX=0, finishY=60);

	z-index: 19;
	position: absolute;
	top:  0px;
	left: 0px;
}
#title_area a:hover{
	background-color: transparent;
}
@media print {
	#title_area{
		display: none;
	}
}
#category_title{
}

#title_area .btn{
	font-size: 90%;
}

#title_area #btn_all_category{
	font-size: 80%;
	vertical-align: top;
}


#title_area #search_field{
	color: gray;
	font-size: 80%;
}

#right_form {
	position: fixed!important; /* for Gecko, Opera */
	position: absolute;        /* for IE */
	right: 0px;
	z-index: 20;
	height: 40px;
	width: 740px;
}
#right_form img.edge{
	width: 9px;
	height: 19px;
}
#right_form img.loupe{
	vertical-align: middle;
	position: relative;
	left: -4px;
	width: 12px;
	height: 12px;
}

#right_form .tool_bar{
	position: fixed!important; /* for Gecko, Opera */
	position: absolute;        /* for IE */
	z-index: 21;
	right: 0px;
}
#right_form .shadow{
	position: relative;        /* for IE */
	z-index: 19;
	right: -10px;
	top: -15px;
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='shadow.png');
}
#title{
}
.btn_grace_area{
	position: relative;
	top: 4px;
	background-color: transparent;
	height: 26px;
	display: inline;
	margin : -8px 0.8em 0em 0em;
	padding: 0px 0.3em 0px 0px;
	cursor: pointer;
	vertical-align: middle;
}
.btn_grace_area img{
	position: relative;
}
#button_next_label,#button_prev_label {
	font-size: 90%; margin: 0em 0em 0em 2px; padding: 0em 0em 2px 0em;
	cursor: pointer;
	color: #edf;
}
#button_prev{
	vertical-align: middle;
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='btn_back.png');
}
#button_next{
	vertical-align: middle;
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='btn_next.png');
}
.category_select{
	vertical-align: top;
	margin: 0em;
	width: 9em;
	
	position: relative;
	left: -3px;
}

/* ===============  Category List ============== */

#item_scratch{
	visibility: hidden;

	position: absolute;
	z-index: 22;
	top: 29px;
	left: 120px;
	background-color: #334;
	border: solid 1px black;
	width: 700px;
	height: 660px;
}

#item_scratch .items{
	padding: 1.2em 0.5em 0em 0.5em;
	text-align: center;
	display: inline;
	width: 100%;
}

.category_index{
	display: inline;
}

#click_sheld{
	visibility: hidden;
	position: absolute;
	z-index: 18;
	top: -80px;
	left: 0px;
	width: 100%;
	height: 100%;
}
#right_form .tool_bar{
	height: 24px;
	font-size: 12px;
	font-weight: bold;
	background-color: blue;
	background-image: url(bggreen.gif);
	padding: 2px 4px 2px 4px;
}

#right_form .tool_bar .inside_titlebar {
	font: normal 14px;

	color: black;
	margin-top: 0px;

	height: 20px;
	background-color: white;
	border-top: solid 1px gray;
	border-bottom: solid 1px gray;
	vertical-align: top;
}

.more{
	clear: both;
	width: 100%;
	height: 40px;
	padding-top: 10px;
	-moz-opacity: .9;
	background-color: #445;
	filter: Alpha(opacity=100, finishOpacity=0, style=1, startX=100, startY=60, finishX=200, finishY=0);
}
.more_right{
	text-align: right;
}
.closebox_label img{
	margin: 3px;
}
.closebox_label{
	font-size: 80%;
	vertical-align: middle;
	color: #aaa;
	width: 5.0em;
	padding: 0px;
	margin: 0px;
	cursor: pointer;
	position: absolute;
	right: 0px;
}
.more_left{
	font-size: 90%;
	margin: 6px 3px 3px 3px;
	padding: 2px;
	vertical-align: middle;
	
}
.more_left a{
	color: #aac;
	font-weight: bold;
}
.more_left a:hover{
	color: #833;
	background-color: #aa3;
}
.more_left img{
	vertical-align: middle;
	margin: 3px;
}

/* ===============  Page list & Search result panel =============== */
.list_pulldown_mark {
	font-size: 70%;
	color: #5a8;
	padding-left: 2px;
	padding-top:  4px;
}

#page_list {
	visibility: hidden;

	position: absolute;
	z-index: 23;
	top:  30px;
	width: 100%;
	text-align: center;
	
	padding: 0px 0px 0em 0px;
	border: solid 3px #224;
	background-color: #334;
	font-size: 90%;
}

#page_list .pagelist_item{
	width: 150px;
	padding: 2px;
	margin: 1px 5px 3px 5px;
	display: inline;
	vertical-align: middle;
	text-align: left;
	cursor: pointer;
	background-color: #223;
	border-right: solid 1px #112;
	border-bottom: solid 1px #151528;
}
#page_list .pagelist_item .icon_head{
	width: 145px;
	padding: 0em;
	margin: 0px;
	font-size: 80%;
}
#page_list .pagelist_item .icon_head .icon_no{
	font-weight: bold;
	width: 1.5em;
	text-align: right;
	color: #aaa;
	padding: 0em 0.5em 0em 0.2em;
}
#page_list .pagelist_item .icon_head .icon_title{
	width: 120px;
	filter: Glow(color='black',strength=3);
}

#page_list .pagelist_item img.first_img{
	width: 120px;	/* Delete this when set_pagedata.js checks each img's size one by one */
	height: 80px;	/* Delete this when set_pagedata.js checks each img's size one by one */
	padding: 0px;
	margin: 5px 0em 3px 1em;
	border-right: solid 1px #112;
	border-bottom: solid 1px #151528;
}
/*
#page_list .pagelist_item .new_star{
	position: absolute;
	offsetTop: 0px;
	offsetLeft: 0px;
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='new_star.png');
}
*/
#page_list #pagelist_navi {
	font-size: 14px;
	font-weight: bold;
	text-align: center;
	vertical-align: middle;
	width: 100%;
	height: 55px;
	padding: 6px 0px 5px 0px;
	margin-bottom: 5px;
	z-index: 50;
	-moz-opacity: .9;
	background-color: #445;
	filter: Alpha(opacity=100, finishOpacity=0, style=1, startX=100, startY=60, finishX=200, finishY=90);
}
#pagelist_navi .pagelist_indicate{
	padding: 0px 5px 0px 10px;
	font-size: 120%;
	font-family: "Sans-Serif";
	color: #777;
	cursor: pointer;
	width: 1em;;
}
#pagelist_navi .is_me {
	font-size: 140%;
	color: yellow;
}
#page_list #pagelist_closebox {
	width: 100%;
	text-align: center;
}
#page_list #pagelist_iconarea{
	position: relative;
}
#page_list #pagelist_navi img{
	margin: 6px 6px 1px 0px;
	cursor: pointer;
}

 #search_result{
	position: absolute;
	z-index: 21;
	top:  30px;
	right: 0px;
	border: solid 3px #224;
	background-color: #334;
	font-size: 90%;
	width: 230px;

}


#search_result dl {
	width: 230px;
	padding: 0em;
	margin: 0px;
	display: inline;
	vertical-align: middle;
}

#search_result dd {
	width: 100%;
	padding: 0em;
	margin: 0px;
	cursor: pointer;
	display: block;
}
#search_result dd{
	margin-left: 0em;
}

#search_result dd .item {
	width: 1.7em;
	text-align: right;
	padding-right: 3px;
	margin-right: 4px;
	color: #ddd;
}

#search_result dl dt {
	clear: both;
	font-size: 12px;
	font-weight: bold;
	padding: 2px 4px 2px 4px;
	margin-top: 4px;
	margin-bottom: 1px;

	height: 18px;
	cursor: pointer;
	width: 100%;
}
#search_result .search_dt_0{
	background-color: blue;
	background-image: url(bggreen.gif);
}
#search_result .search_dt_1{
	background-color: #555;
}
#search_result .search_dt_2{
	background-color: #775;
}
#search_again{
	visibility: hidden;
	vertical-align: middle;
	width: 16px;
	height: 13px;
}

#search_indicator{
}
#search_stop{
	position: absolute;
	top: 0px;
	right: -18px;
	margin: 0px 0px 2px 3px;
}


.edge{
	margin: 0px;
	padding: 0px;
}

/*  ============- Panel with Corner */

table.corn{
	filter: Alpha(opacity=100, finishOpacity=75, style=1, startX=0, startY=0, finishX=0, finishY=240);
	-moz-opacity: .95;
	padding: 0px;
	border: solid 0px black;
}

table.corn tr, table.corn td{
	margin: 0px;
	padding: 0px;
	border: solid 0px black;

}
table.corn .blk{
	background-color: black;
}
table.corn .tight{
	margin: 0px;
	padding: 0px;
	border: solid 0px black;
}
table.corn .tight img {
	margin: 0px;
}

/* ===============  Main area (base) =============== */

#scratch{	/* データを貼り付ける領域 */
	z-index: 6;
	position: absolute;
	top:  58px;
	left: 35px;

	width: 88%;
	height: 630px;
}

#scratch_mask{	/* メニュー表示時に、背景を暗くするための、画面全体を覆う黒い半透明 */
	position: absolute;
	top:  -58px;
	left: -35px;
	z-index: 10;
	
	background-color: black;
	width: 200%;
	height: 110%;
}

#background_mask{	/* データの背後に置く矩形 */
	display: none;

	z-index: 5;
	position: absolute;
	top:  48px;
	left: 20px;
	
	width: 92%;
	height: 650px;
}

#background_mask_shadow{	/* データの背後に置く矩形の影 */

	z-index: 4;
	position: absolute;
	top:  56px;
	left: 88px;
	
	width: 800px;
	height: 900px;
}

#backgroundimage_area{
	z-index: 1;
	position: absolute;

	top: 0px;
	left: 0px;
	
	margin: 1px;
}
#background_image{
	filter: progid:DXImageTransform.Microsoft.Fade(duration=4);
}
#backgroundimage_mask{
	position: relative;
	top: -60px;
}
@media print {
	#background_mask, #background_mask_shadow, #right_form, #tool_bar, #title_area, #link_copier, #backgroundimage_area, #item_scratch, #page_list, #search_result, #click_sheld, #scratch_mask{
		display: none;
	}
}


/* ===============  Main area (tool bar) =============== */

#link_copier{
	position: absolute;
	z-index:6;
	top: 72px;
	right: 0px;
	filter: Glow(color='black',strength=3);
	width: 12em;
	height: 1.2em;
	padding: 3px;
	background-color: transparent;

	font-size: 70%;
	color: #fff;
}
#link_copier a{
	padding: 2px;
}
.page_number_area{
	color: #555;
}
#page_number {
	font-size: 90%;
	width: 1.2em;
	text-align: right;
}
#total_number{
	width: 1.2em;
	text-align: right;
}

#changer{
	display: none;
	margin-left: 2em;
}
#music_track{
	display: none;
}

#music_sw_area{
	cursor: pointer;
}

#music_switch{
	display: inline;
	position: relative;
	top: 0px;
	left: 7px;
	vertical-align: middle;
	margin : -14px 26px -1em 0em;
	background-color: transparent;

	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='music_play.png');
}

img.icon{
	margin: 0em 0em 0em 0.4em;
}

img.go_back {
	margin: 0em 0em 0em 1em;
	width: 24px;
	height: 24px;
	vertical-align: middle;
}
img.search, img.home{
	width: 20px;
	height: 20px;
	vertical-align: middle;
}

#toolbar #player{
	display: none;
}

#toolbar_shadow{
	z-index: 17;
	width: 100px;
	height: 50px;
}

/* ===============  Main area (contents area) =============== */

#contents_area{
	margin-top: 2.5em;
	clear: both;
	
	position: relative;
	top: -2em;
}

.loading{
	width: 100%;
	text-align: center;
	
	padding: 12em 0em 5px 0em;
	line-height: 200%;
	text-indent: 0em;
}

/* ===============  Page data =============== */

#data{
	display: none;
}

h1{
	page-break-before: always;
	margin: 0.5em 0em 0.5em 0.5em;
	font-size: 120%;
	font-family: HGPｺﾞｼｯｸE, "Sans-Serif";
	font-weight: normal;
}
.msg{
	font-size: 95%;
	font-family: "Sans-Serif";
	clear: both;
	margin-top: 0.7em;
	text-align: left;
}
.msg img{
	margin-bottom: 0.5em;
}
.msg p{
	margin-left: 1em;
	margin-right: 4em;
}

.last_page_notify{
	text-align: right;
	padding: 0.5em 2em 0.5em 0.5em;
	color: gray;
	font-size: 80%;
}
@media print {
	#body{
		background-color: white;
	}
	#scratch{
		background-color: white;
		position: absolute;
		left: -3em;
		width: 100%;
		margin-top: -4em;
	}

	#data{
		display: block;
		background-color: white;
	}
	.msg{
		font-size: 90%;
		color: black;
	}
	h1{
		color: black;
	}
	.msg img{
		margin-bottom: 1.5em;
	}

}

/* This section (algorithm) is quoted from:
	http://realdev1.realise.com/rossa/rendertest/quicktime.html
	I am deeply grateful to the author */

/* hides the second object from all versions of IE */
* html object.mov {
    display: none;
}

/* displays the second object in all versions of IE apart from 5 on PC */
* html object.mov/**/ {
    display: inline;
}

/* hides the second object from all versions of IE >= 5.5 */
* html object.mov {
    display/**/: none;
}



