/*
 ---------------------------------------------------------------------
  fuwan by aitec-inc.co.jp
  ふわーんとモーダルウィンドウが出てくる感じのやつ
 ---------------------------------------------------------------------
*/

#fuwan * {
	margin: 0;
	padding: 0;
}

/* レイヤー順
---------------------------------------------------------------------*/
#fuwan,
#fuwanBackground {
	z-index: 1000;
}
#fuwanBody {
	z-index: 1001;
}
#fuwanPrev,
#fuwanNext,
#fuwanClose {
	z-index: 1002;
}

/* モーダルオーバーレイエリア
---------------------------------------------------------------------*/
#fuwan,
#fuwanBackground {
	margin: 0;
	padding: 0;
	position: fixed !important;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
}

/* 背景エリア
---------------------------------------------------------------------*/
#fuwanBackground {
	margin: 0;
	padding: 0;
	background: #000;
	opacity: 0.5;
	filter: alpha(opacity=50);
	-ms-filter: "alpha( opacity=50 )";
}

/* 表示エリア
---------------------------------------------------------------------*/
#fuwanBody {
	position: absolute;
	display: inline-block;
	top: 0;
	left: 0;
	padding: 8px;
	background: #fff;
	text-align: left;
	margin: 20px;
}

/* クローズボタン
---------------------------------------------------------------------*/
#fuwanClose {
	position: absolute;
	background: url(close.png) no-repeat;
	width: 28px;
	height: 28px;
	cursor: pointer;
	float: right;
	right: 0;
	top: -39px;
	padding: 0;
}

/* 前後移動ボタン
---------------------------------------------------------------------*/
#fuwanPrev,
#fuwanNext {	
	position: absolute;
	text-indent: -9999px;
	width: 30px;
	height: 47px;
	cursor:pointer;
}
#fuwanPrev {
	background: url(left.png) no-repeat center left;
	left: -49px;
}
#fuwanNext {
	background: url(right.png) no-repeat center right;
	right: -49px;
}
#fuwanPrev:hover,
#fuwanNext:hover {
	opacity: 0.7;
	filter: alpha(opacity=70);
	-ms-filter: "alpha( opacity=70 )";
}

#fuwanPrev.disable,
#fuwanNext.disable {
	opacity: 0.5;
}

/* 文字表示エリア（上部/下部)
---------------------------------------------------------------------*/
#fuwanLead,
#fuwanCaption {
	font-size: 14px;
}

#fuwanLead {
	text-align: left;
	padding-bottom: 4px;
}
#fuwanCaption {
	text-align: left;
	padding: 5px 0px 0px;
}

/* 画像表示エリア
---------------------------------------------------------------------*/
#fuwanImage {

}
#fuwanImage img {
	width: auto;
	max-width: auto;
	height: auto;
}


/* インライン記述エリア
---------------------------------------------------------------------*/
#fuwanInline {
	max-width: 1200px;
	max-height: calc(100vh - 50px);
	overflow: auto;
}


/* iフレーム表示エリア
---------------------------------------------------------------------*/
#fuwanIframe {
	max-width: 800px;
	max-height: 405px;
	border: 0;
	overflow: auto;
}


/* Youtube表示エリア
---------------------------------------------------------------------*/
#fuwanYoutube {
	max-width: 800px;
	max-height: 450px;
	border: 0;
	overflow: auto;
}
