/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> global settings needed for thickbox <<<-----------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
*{padding: 0; margin: 0;}
article {
	}
html#fb_contents,
html#fb_contents body {
	background-image: none !important;
	background-color: rgb(255,255,255) !important;
}

/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox specific link and font settings <<<------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
.facebook_thickbox#TB_window {
	/*font: 12px Arial, Helvetica, sans-serif;*/
	color: #333333;
}

.facebook_thickbox#TB_secondLine {
	/*font: 10px Arial, Helvetica, sans-serif;*/
	/*color:#666666;*/
	color: #ffffff;/* 文字消す */
}

.facebook_thickbox#TB_window a:link {color: #666666;}
.facebook_thickbox#TB_window a:visited {color: #666666;}
.facebook_thickbox#TB_window a:hover {color: #000;}
.facebook_thickbox#TB_window a:active {color: #666666;}
.facebook_thickbox#TB_window a:focus{color: #666666;}

/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox settings <<<-----------------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_overlay {
	position: fixed;
	z-index:101;
	top: 0px;
	left: 0px;
	height:100%;
	width:100%;
	/*overflow-y:scroll;*/
}

.TB_overlayMacFFBGHack {background: url(../images/macFFBgHack.png) repeat;}
.TB_overlayBG {
	background-color:#000;
	filter:alpha(opacity=30);
	-moz-opacity: 0.30;
	opacity: 0.30;
}

* html #TB_overlay { /* ie6 hack */
     position: absolute;
     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

.facebook_thickbox#TB_window {
	position: fixed;
	background: #fff;
	z-index: 102;
	color:#000000;
	display:none;
	border: #fff solid 1px;
	text-align:left;
	top:50%;
	left:50%;
	height: 340px;
	scrollimg:no;
	/*padding-right: 32px;*/ /*追加*/
}

* html .facebook_thickbox#TB_window { /* ie6 hack */
position: absolute;
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}

.facebook_thickbox#TB_window img#TB_Image {
	display:block;
	/*margin: 35px 15px auto;*/
/*	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	border-top: 1px solid #666;
	border-left: 1px solid #666;*/
}

.facebook_thickbox #TB_caption{
/*	height:25px;
	padding:7px 30px 10px 25px;*/
	float:left;
}

.facebook_thickbox #TB_closeWindow{
	height:25px;
	/*padding:5px 25px 10px 0;*/
	float:right;
}

.facebook_thickbox #TB_closeAjaxWindow{
	/*padding:7px 10px 5px 0;*/
	margin-bottom:1px;
	text-align:right;
	float:right;
}

.facebook_thickbox #TB_ajaxWindowTitle{
	float:left;
	padding:7px 0 5px 10px;
	margin-bottom:1px;
}

.facebook_thickbox #TB_title{
	height:27px;
	background-color:#3B5998;
	color: #fff;
	font-size: 123.1%;
	line-height: 16px;
	font-weight: bold;
	    width: 450px;

}

.facebook_thickbox #TB_ajaxContent{
	clear:both;
	padding:2px 15px 15px 15px;
	overflow:auto;
	text-align:left;
	line-height:1.4em;
}

.facebook_thickbox #TB_ajaxContent.TB_modal{
	padding:15px;
}

.facebook_thickbox #TB_ajaxContent p{
	padding:5px 0px 5px 0px;
}

.facebook_thickbox #TB_load{
	position: fixed;
	display:none;
	height:13px;
	width:208px;
	z-index:103;
	top: 50%;
	left: 50%;
	margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
}

* html .facebook_thickbox #TB_load { /* ie6 hack */
position: absolute;
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}

.facebook_thickbox #TB_HideSelect{
	z-index:99;
	position:fixed;
	top: 0;
	left: 0;
	background-color:#fff;
	border:none;
	filter:alpha(opacity=0);
	-moz-opacity: 0;
	opacity: 0;
	height:100%;
	width:100%;
}

* html .facebook_thickbox #TB_HideSelect { /* ie6 hack */
     position: absolute;
     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

.facebook_thickbox #TB_iframeContent{
	clear:both;
	border:none;
	margin-bottom:-1px;
	margin-top:1px;
	_margin-bottom:1px;
	height:305px;
}

*:first-child+html .facebook_thickbox #TB_iframeContent{
	width:410px !important;/*IE7*/
}

/* Nextボタン、Prevボタンのスタイルを追加↓ */
.facebook_thickbox #TB_next a,
.facebook_thickbox #TB_prev a {
  position: absolute;
  bottom: 10px;
  display: block;
  width: 6em;
  padding: 5px 0;
  background: #333333;
  color: #FFFFFF;
  text-align: center;
  text-decoration: none;
}
.facebook_thickbox #TB_next a {
  right: 0;
}
.facebook_thickbox #TB_prev a {
  left: 0;
}
.facebook_thickbox #TB_next a:hover,
.facebook_thickbox #TB_prev a:hover {
  background: #1A1A1A;
}

.facebook_thickbox #TB_closeWindow {
	position:absolute;
	right: 15px;
	top: 15px;
}


/* iframe#TB_iframeContent index.html */
#facebook_inner{
	width:300px;
	}
#facebook_inner form{
	display: inline;
font-size: 100%;
width: 250px;
height: 20px;
    left: 10px;
    position: absolute;
    top: 250px
	}
#facebook_inner form fieldset{
	width:300px;
	}
#facebook_inner form fieldset label {
	font-size: 12px;
	color: #000;
}

	#facebook_inner form fieldset label input {
		vertical-align: bottom;
	}

/*  charge/payment/form
		-------------------------------*/
.facebook_thickbox #charge_payment_body .thick_loading {
/*	width:270px;
	margin:0 auto;*/
}