@charset "utf-8";
/* Font-size Adjustment.
	77% = 10px	|	123.1% = 16px	|	167% = 22px
	85% = 11px	|	131% =  17px	|	174% = 23px 
	93% = 12px	|	138.5% = 18px	|	182% = 24px 
	100% = 13px	|	146.5% = 19px	|	189% = 25px 
	108% = 14px	|	153.9% = 20px	|	197% = 26px 
	116% = 15px	|	161.6% = 21px	| 
*/
body {font:13px/1.231 arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small;}table {font-size:inherit;font:100%;}pre,code,kbd,samp,tt{font-family:monospace;*font-size:108%;line-height:100%;}
* {margin: 0;padding: 0;}
body {
	line-height: 1.5;
	color: #555555;
	background-color: #fff;
	font-family: Arial, Helvetica, sans-serif;
}

/*======================================
	1-4.Text Module
=======================================*/
p,
address {
	line-height: 1.6;
	margin: 0 20px 1.2em 20px;
	font-size: 108%;
	font-style: normal;
}

/*
h1,
h2,
*/
h3,
h4,
h5,
h6 {
	margin: 1em 20px 0 20px; 
	color: #1570bb;
}
/*
h1 {
	font-size: 161.6%;
}
*/
h2 {
	line-height: 1;
	font-size: 144%;
}

h3 {
	font-size: 122%;
}

h4 {
	font-size: 122%;
}

h5 {
	font-size: 107%;
}

h6 {
	font-size: 107%;
}

em {
	font-weight: bold;
}

strong {
	font-weight: bold;
}

/*======================================
	1-5.Hypertext Module
=======================================*/
a:focus {
	outline: none;
}

a:link {
	/* color: #1570bb; */
	color: #ffffff;
}

a:visited {
	/* color: #1786d1; */
	color: #ffffff;
}

a:hover {
	color: #f13f4d;
}

/*======================================
	1-6.List Module
=======================================*/
ol {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid #666666;
	border-bottom: 1px solid #666666;
}

li {
	margin: -1px 0 0 0;
	border-top: 1px dotted #666666;
}

li img {
	display: block;
}

/*======================================
	1-8.Forms Module
=======================================*/
form {
	margin: 0;
	padding: 0; 
}

form p {
	margin: 0.5em 10px;
}

button {
	line-height:1;
	vertical-align: bottom;
}

input,
textarea,
button {
	margin: 1px 2px;
	/*
	border: 1px solid #ddd;
	background-color: #FFFFFF;
	*/
}

input {
	line-height: 1.2;
}

input:hover,
textarea:hover,
button:hover {
	/*
	border: 1px solid #aaa;
	*/
}

input:focus,
textarea:focus,
button:focus {
	/*
	border: 1px solid #000;
	*/
}

textarea {
	/*
	padding: 0.4em 10px;
	*/
}

/*======================================
	1-9.Tables Module
=======================================*/
table {
	/*margin: 0 20px 0.5em 20px;*/
	border-collapse: collapse;
	border-spacing: 0;
	empty-cells: show;
	border: 0px none #ffffff;
	/*
	border: 1px solid #cfd3d6;
	*/
}

th,
td {
	/*padding: 0.1em 5px;*/
	border: 0px none #ffffff;
	/*
	border: 1px solid #efefef;
	border-color: #efefef #dce0e3 #dce0e3 #efefef;
	*/
}

th {
	color: #AAAAAA;
}

td {
	border: 0px none #ffffff;
	/*
	border: 1px solid #ddd;
	*/
}

/*======================================
	1-10.Image Module
=======================================*/
img {
	border: none;
}

img.left {
	float:left;
	margin: 0 8px 8px 0;
}

img.right {
	float:right;
	margin: 0 0 8px 8px;
}

img.block {
	display: block;
	margin: 8px auto;
}

a img {

}

a:hover img {

}

/*======================================
	1-11.Object Module
=======================================*/
object,
embed {
	
}

/*=====================================*/


.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}
.clearfix {display: inline-block;}
/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */
}



/* ////////////////////////////////////////////////////
//////////////////////////////////////////////////// */



html, body {height: 100%;}	/* 高さ100%に指定 */
body {
	margin: 0;
	padding: 0;
	width: 100% !important;
	min-width: 800px;	/* 中央配置するボックスの横幅 */
	width: 800px;
	height: 100% !important;
	min-height: 100px;	/* 中央配置するボックス縦幅 */
	height: 100px;
	background-image: url(http://www.b-pacs.com/gallery/files/img/gallery-index_pattern.png);
	background-color: #edecec;
}

#mid {
	margin: -263px 0 0 0;	/* 縦横の半分をネガティブマージンでずらす */
	position: absolute;	/* body要素に対して絶対配置 */
	top: 50%;	/* 上端を中央に */
	left: 0;
	width: 100%;
	height: 526px;
	background-image: url(http://www.b-pacs.com/gallery/files/img/index_bg.png);
	background-repeat: repeat-x;
	background-color: #333333;
}

#mid table {
	width: 100%;
	height: 100%;
}
#mid td {
	height: 100%;
	overflow: hidden;
}
#mid #center {
	overflow: visible;
}

#center {
	width: 800px;
}

.relativebase {
	height: 526px;
	position: relative; /* tdにリレーするのが効かないのでtd用インナーを作る。高さ指定をしないと起点がずれる。 */
}

#contents {
	height: 526px;
	width: 800px;
	background-image: url(http://www.b-pacs.com/gallery/files/img/pickup.png);
	background-repeat: no-repeat;
	background-position: 210px 27px;
}

#logo {
	position: absolute;
	top: 22px;
	left: 732px;
	width: 68px;
	height: 12px;
}

#shield {
	position: absolute;
	top: 6px;
	left: -6px;
	width: 200px;
	height: 460px;
	padding: 0 6px;
	background-image: url(http://www.b-pacs.com/gallery/files/img/shield-bg.png);
	background-repeat: repeat-y;
	z-index: 100;
}

#shieldinner {
	position: relative;
	height: 460px;
}

#title {
	padding: 56px 0 0 5px;
}

#top10 {
	padding: 0 13px;
	position: absolute;
	bottom: 43px;
	left: 0;
	width: 174px;
}

#footer {
	position: absolute;
	top: 466px;
	left: 0;
	height: 60px;
	padding-left:244px;
	background-image: url(http://www.b-pacs.com/gallery/files/img/copy.png);
	background-repeat: no-repeat;
	background-position: 0 6px;
}

/* ////////////////////////////////////////////////////
//////////////////////////////////////////////////// */



/* ////////////////////////////////////////////////////

	.imggrid
start =>>
//////////////////////////////////////////////////// */
.imggrid {
	width: 800px;
	height: 375px;
	border-top: 1px solid #a10505;
}

#center .imggrid,
#left .imggrid,
#right .imggrid {
	position: absolute;
	top: 46px;
}
#center .imggrid { width: 800px;/* left: 200px; */}
#left .imggrid { right: 0;border-left: 1px solid #a10505;}
#right .imggrid { left: 0;}

.imgflame {
	width: 199px;
	height: 124px;
	float: left;
	border-right: 1px solid #a10505;
	border-bottom: 1px solid #a10505;
	position: relative;
	overflow: hidden; /* jQueryで初期化時に消す。 */
}
#left .imgflame {
	border-left: 1px solid #a10505;
	border-right: 0px none #a10505;
}

.imgs {
	overflow: hidden;
}

.imglo {
	/* rol「lo」ver */
	position: absolute;
	top: -17px;
	left: -17px;
	width: 232px;
	height: 157px;
	background-image: url(http://www.b-pacs.com/gallery/files/img/img-edge.png);
	background-repeat: no-repeat;
	overflow: hidden;
	z-index: 120;
	display: none;
}

.imgrelativebase {
	margin: 7px 0 0 7px;
	width: 218px;
	height: 143px;
	position: relative;
}

.imglo .titletxt,
.imglo .clicktxt {
	position: absolute;
	padding: 0 4px;
	height: 1.4em;
	font-weight: bold;
	overflow: hidden;
}

.imglo .titletxt {
	top: 0;left: 0;
	width: 205px;
	padding: 0 2px 0 11px;
	color: #efefef;
	background-image: url(http://www.b-pacs.com/gallery/files/img/chip-white.png);
	background-repeat: no-repeat;
	background-position: -1px 6px;
	background-color: #000000;
}

.imglo .clicktxt {
	bottom: 0;left: 0;
	width: 210px;
	color: #ffffff;
	background-color: #c70606;
	font-family: Verdana;
	font-size: 85%;
	/* font-family: Arial Black;Impact */
	/* text-align: right; */
}

.imglo a {
	color: #ffffff;
	text-decoration: none;
}

/* ////////////////////////////////////////////////////
=>> end
	.imggrid

//////////////////////////////////////////////////// */



/* ////////////////////////////////////////////////////

	.panel
start =>>
//////////////////////////////////////////////////// */

.panelbase {
	position: relative;
	height: 60px;
	width: 562px;
}

.panelcover {
	position: absolute;
	bottom: 0;
	left: 0;
	height: 60px;
	width: 562px;
	background-image: url(http://www.b-pacs.com/gallery/files/img/index_bg.png);
	background-repeat: repeat-x;
	background-position: 0 -466px;
	z-index: 200;
}

.panel {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 562px;
	margin-bottom: 35px;
}

.panelhead {
	position: relative;
	width: 562px;
	height: 32px;
}

.panelheadtestbg {
	position: absolute;
	bottom: 0;
	left: 0;
	height: 25px;
	width: 562px;
	/*background-color: #AAAAAA;*/
	background-image: url(http://www.b-pacs.com/gallery/files/img/panels-bg.png);
	background-repeat: repeat-y;
	z-index: 140;
}

.panelheadtestedge {
	position: absolute;
	top: 0;
	left: 0;
	height: 7px;
	width: 562px;
	display: none;
	background-image: url(http://www.b-pacs.com/gallery/files/img/index_panels-bg-top.png);
	background-repeat: no-repeat;
	background-position: 0 0;
	z-index: 140;
}

#new .panelheadtestedge {
	display: block;
}

.button {
	position: absolute;
	bottom: 0;
	left: 2px;
	height: 32px;
	width: 140px;
	z-index: 300;
	background-image: url(http://www.b-pacs.com/gallery/files/img/index_button.png);
	background-repeat: no-repeat;
	background-position: 0 0;
}

.button:hover {
	background-position: 0 -32px;
}

#maker .button {	background-position: -140px 0;left: 142px;}
#work  .button {	background-position: -280px 0;left: 282px;}
#staff .button {	background-position: -420px 0;left: 422px;}
#maker .button:hover {	background-position: -140px -32px;}
#work  .button:hover {	background-position: -280px -32px;}
#staff .button:hover {	background-position: -420px -32px;}

.close {
	position: absolute;
	top: 10px;
	right: 9px;
	height: 18px;
	width: 53px;
	z-index: 150;
	background-image: url(http://www.b-pacs.com/gallery/files/img/index_panels-close.png);
	background-repeat: no-repeat;
}

#maker .close {	right: 9px;}
#work  .close {	right: 9px;}
#staff .close {	left: 9px;}

.panelinner {
	position: relative;
	height: 410px;
	/*background-color: #AAAAAA;*/
	display: none;
	overflow: hidden;
	background-image: url(http://www.b-pacs.com/gallery/files/img/panels-bg.png);
	background-repeat: repeat-y;
	z-index: 140;
}

.panelbody {
	/* z-indexを使ってもpanelinnerはabsoluteでない要素に負けてしまうので内側に配備。 */
	/* これを使う要素にposition: relative;を追加。 */
	position: absolute;
	top: 0;
	left: 0;
	padding: 9px 0 0 31px;
}

/* ////////////////////////////////////////////////////
=>> end
	.panel

//////////////////////////////////////////////////// */



/* ////////////////////////////////////////////////////

	on panelbody
start =>>
//////////////////////////////////////////////////// */

.panelbody a {
	display: block;
	float: left;
	text-decoration: none;
}

/* #new */
	#new .panelbody a {
		margin: 0;
		height: 56px;
		width: 501px;
	}
	#new .panelbody img {
		margin: 0 10px 0 0;
		border: 1px solid #666666;
		float: left;
	}
	#new .panelbody .info {
		float: left;
		background-image: url(http://www.b-pacs.com/gallery/files/img/information_bg.png);
		background-repeat: repeat-x;
		background-position: left bottom;
		height: 45px;
		width: 426px;
		position: relative;
	}
		#new .panelbody .info img {
			margin: 0 5px 0 0;
			border: 0px none #1a1a1a;
		}
	#new .panelbody .date {
		float: right;
		height: 18px;
		width: 140px;
		font-size: 85%;
		text-align: right;
	}
		#new .panelbody .date img {
			float: none;
		}
		#new .panelbody .date span {
			font-size: 130%;
		}
	#new .panelbody .title {
		float: left;
		height: 18px;
		width: 285px;
	}
		#new .panelbody .title div {
			float: left;
			height: 18px;
			width: 235px;
		}
	#new .panelbody .onoff {
		position: absolute;
		bottom: 5px;
		left: 0;
		width: 426px; /* カテゴリパネルが71*6=426だから。 */
	}
		#new .panelbody .info .onoff img {
			margin: 0;
		}
	#alllist {
		width: 500px;
	}
		#new .panelbody #alllist img {
			border: 0px none #1a1a1a;
			float: none;
			margin-left: 194px;
		}

/* #maker */
	#maker .panelbody a {
		margin: 0;
	}
	#maker .panelbody .box {
		width: 500px;
		float: left;
	}
	.maker-list h3 {
		margin: 0 0 10px;
	}
	#maker .panelbody h3 {
		margin: 0;
	}
	#maker .japan,
	#menu_maker .japan {
		margin: 0 0 15px 0;
	}
	.maker-list img {
		float: left;
		margin: 0 10px 10px 0;
	}
	#maker .clearfix,
	#menu_maker .clearfix {
		clear: both;
	}

/* #work */
	#work .panelbody a {
		color: #b2b2b2;
		margin: 0 10px 25px 0;
	}
	#work .panelbody p {
		margin: 0;
		line-height: 1.2;
		width: 150px;
		font-size: 88%;
	}
	#work .panelbody .info {
		padding: 1px 0 5px 15px;
	}
	#work .panelbody .info span {
		font-size: 100%;
		color: #AD0505;
	}

/* #staff */
	#staff .panelbody a {
		margin: 0 20px 15px 0;
	}

/* ////////////////////////////////////////////////////
=>> end
	on panelbody

//////////////////////////////////////////////////// */



/* ////////////////////////////////////////////////////

	4IE6
start =>>
//////////////////////////////////////////////////// */

* html body {
	width: 100%;
}

* html ol {
	margin: 3px 0 0 0;
	padding: 0;
	width: 174px;
	list-style: none;
	border-top: 1px solid #666666;
	border-bottom: 1px solid #666666;
	float: left;
}

* html li {
	border-top: 1px dotted #666666;
	float: left;
	width: 174px;
}

* html li img {
	margin: 1px 0;
	display: inline;
	float: left;
}

* html .imglo {
	display: none;
}

* html #right span,
* html #left span {
	visibility:hidden;
}

* html #right .relativebase,
* html #left .relativebase {
	overflow: hidden;
}

* html .imggrid {
	width: 800px;
	height: 376px;
	border-top: 1px solid #a10505;
}

* html .imgs a {
	display: block;
}

* html .panel .panelcover {
	display: block;
	bottom: -35px;
}

* html .panelcover,
* html .panelheadtestbg {
	display: none;
}

* html .panelheadtestbg {
	background-image: none;
	background-color: #151515;
}

* html .panelheadtestedge {
	background-image: none;
}

* html .panelinner {
	background-image: none;
	background-color: #151515;
}

* html #shield img {
	display: block;
}

#fuck .new   {	background-position: 0 0;left: 0;}
#fuck .maker {	background-position: -140px 0;left: 140px;}
#fuck .work  {	background-position: -280px 0;left: 280px;}
#fuck .staff {	background-position: -420px 0;left: 420px;}
#fuck .new:hover   {	background-position: 0 -32px;}
#fuck .maker:hover {	background-position: -140px -32px;}
#fuck .work:hover  {	background-position: -280px -32px;}
#fuck .staff:hover {	background-position: -420px -32px;}

* html .button,
* html #shield,
* html #shield img,
* html .panelheadtestbg,
* html .panelheadtestedge,
* html .panelinner,
* html #maker h3 img,
* html #menu_maker h3 img {
	behavior: url(http://www.b-pacs.com/gallery/files/iepngfix.htc);
}

/* ////////////////////////////////////////////////////
=>> end
	4IE6

//////////////////////////////////////////////////// */


