
@media screen and (max-height: 770px) {
#top {
	position: fixed; 
	bottom: 0 ;
	background-color:#45001b;
	color: #FFFFFF;
	height: 45px;
	box-shadow: 0px 3px 5px #585858;
	overflow:hidden;
	width:100%;
	z-index:100;
}
.wrap {
	position: relative;
	margin:0;
	height:700px;
	background-color:#ffffff;
	box-shadow: 0px -5px 10px #fff0f5 inset;
}
.frame {
	height:660px;
	line-height: 670px;
	padding-left:20px;
	border-top:1px solid #dcdcdc;
	border-bottom:1px solid #e3e3e3;
	background-color:#ececec;
	overflow: hidden;
}
.frame ul li {
	display:block;
	background-color:#fffafa; 
	background:#fffafa url('back01.gif') repeat top;
	width: 380px;
	height:610px;
	padding : 5px  20px 10px 20px;
	margin-left :15px;
	margin-top:5px;
	border: 3px solid #ffffff;
	float:left;
	border-radius:15px;
	box-shadow: 0px 1px 6px #373737;
	text-align:center;
}

#contag{
	position:fixed;
	bottom:50px;  
	left:-5px;  
	display:block;
	text-align:center;
	width:190px;
	height:80px;
	margin:0px;
	padding:0px 0 0 0px;
	color:#307b85;
	background-color:#f2c6f2;
	border:4px solid #7f7677;
	border-radius:5px;
	box-shadow:0px 1px 5px #333333;
	cursor: pointer;
	
}
#contag:hover{
	background-color:#ebe1eb;
}
#btnbar{
	text-align:center;
	margin-top:-60px;
}
.btn ,.btn3{
	margin-top:0x;
	position: relative;
	display: inline-block;
	height:30px;
	padding: 3px 50px;
	margin-bottom: 0;
	font-size:16px;
	line-height:20px;
	color: #333333;
	text-align: center;
	vertical-align: middle;
	cursor: pointer;
	background-color: #fff;
	border: 1px solid #b3b3b3;
	border-radius:3px;
	border-bottom-width: 2px;
	outline: none;
	z-index:290;
}
.btn2 {
	position: relative;
	display: inline-block;
	height:35px;
	padding: 2px 10px;
	margin-bottom: 0;
	font-size:13px;
	line-height:30px;
	color: #333333;
	text-align: center;
	vertical-align: middle;
	cursor: pointer;
	background-color: #fff;
	border: 1px solid #b3b3b3;
	border-radius:3px;
	border-bottom-width: 2px;
	outline: none;
	z-index:300;
}
.undertagview{
	height:40px;
	width:230px;
	font-size:20px;
	color:red;
	font-weight:bold;
	text-align:center;
	line-height:40px;
	overflow:hidden;
	float:right;
}
.footerspace{
	position:absolute;
	font-size:13px;
	line-height:1.3em;
	color:#f5f5f5;
	margin-left:240px;
	bottom:0;
}


/* Scrollbar */
.scrollbar {
	position:fixed;
	top:0;
	width:100%;
	box-sizing:border-box;
	text-align:center;
	height: 7px;
	border-top:1px solid #6e667f;
	border-left:5px solid #6e667f; 
	border-right:5px solid #6e667f; 
	border-bottom:2px solid #6e667f;	
	background-color: #000000 ;
	line-height: 0;
	border-radius:1px;
	box-shadow: 0px 2px 5px #888888;
}
.scrollbar .handle {
	width: 40%;
	height: 100%;
	background: #c6156e;
	cursor: pointer;
	border-bottom:1px solid #ff7fbf;
}
.scrollbar .handle .mousearea {
	position: absolute;
	top: -9px;
	left: 0;
	width: 40%;
	height: 20px;
	
}



}
@media screen and (min-height: 771px) {
#top {
	background-color:#45001b;
	color: #FFFFFF;
	height: 45px;
	box-shadow: 0px 3px 5px #585858;
	overflow:hidden;
	width:100%;
	z-index:100;
}
.wrap {
	position: relative;
	margin:20px 0 0 0;
	height:720px;
	background-color:#ffffff;
	box-shadow: 0px -5px 10px #fff0f5 inset;
}
.frame {
	height:680px;
	line-height: 670px;
	padding-left:20px;
	border-top:1px solid #dcdcdc;
	border-bottom:1px solid #e3e3e3;
	background-color:#ececec;
	overflow: hidden;
}
.frame ul li {
	display:block;
	background-color:#fffafa; 
	background:#fffafa url('back01.gif') repeat top;
	width: 380px;
	height:610px;
	padding : 10px  20px;
	margin-left :15px;
	margin-top:15px;
	border: 3px solid #ffffff;
	float:left;
	border-radius:15px;
	box-shadow: 0px 1px 6px #373737;
	text-align:center;
}
#contag{
	position:relative;
	bottom:70px;  
	left:10px;  
	display:block;
	text-align:center;
	width:200px;
	height:80px;
	margin:0px;
	padding:0px 0 0 0px;
	color:#307b85;
	background-color:#f2c6f2;
	border:6px solid #7f7677;
	border-radius:10px;
	box-shadow:0px 1px 5px #333333;
	cursor: pointer;
}
#contag:hover{
	background-color:#ebe1eb;
}
#btnbar{
	text-align:center;
	margin-top:-75px;
}
.btn ,.btn3{
	position: relative;
	display: inline-block;
	height:44px;
	padding: 4px 50px;
	margin-bottom: 0;
	font-size:18px;
	line-height:30px;
	color: #333333;
	text-align: center;
	vertical-align: middle;
	cursor: pointer;
	background-color: #fff;
	border: 1px solid #b3b3b3;
	border-radius:3px;
	border-bottom-width: 2px;
	outline: none;
}
.btn2 {
	position: relative;
	display: inline-block;
	height:44px;
	padding: 4px 10px;
	margin-bottom: 0;
	font-size:13px;
	line-height:30px;
	color: #333333;
	text-align: center;
	vertical-align: middle;
	cursor: pointer;
	background-color: #fff;
	border: 1px solid #b3b3b3;
	border-radius:3px;
	border-bottom-width: 2px;
	outline: none;
}

.undertagview{
	margin-top:10px;
	height:40px;
	width:230px;
	font-size:20px;
	color:red;
	font-weight:bold;
	text-align:center;
	line-height:40px;
	overflow:hidden;
	float:right;
}
.footerspace{
	position:absolute;
	font-size:12px;
	line-height:1.3em;
	color:#c4aeae;
	margin-left:30px;
	bottom:0;
}
/* Scrollbar */
.scrollbar {
	width:40%;
	text-align:center;
	margin: 10px auto 0 auto;
	height: 10px;
	border-top:2px solid #6e667f;
	border-left:15px solid #6e667f; 
	border-right:15px solid #6e667f; 
	border-bottom:3px solid #6e667f;	
	background-color: #000000 ;
	line-height: 0;
	border-radius:4px;
	box-shadow: 0px 2px 5px #888888;
}
.scrollbar .handle {
	width: 40%;
	height: 100%;
	background: #c6156e;
	cursor: pointer;
	border-bottom:1px solid #ff7fbf;
}
.scrollbar .handle .mousearea {
	position: absolute;
	top: -9px;
	left: 0;
	width: 40%;
	height: 20px;
	
}



}











.frame ul {
	list-style: none;
	margin: 0;
	padding: 0;
	height: 100%;
}


.frame ul li.active {
	background:#f5f5f5 url('back01.gif') repeat top;
}


.preview {	
	width:380px;
	height:540px;	
	overflow:hidden; 
	display:block;
	margin:0 auto;
	
}
.flont_view {
	width:800px;
	height:540px;	
	position: relative; 
	left: -418px;
	text-align:right;
}
.flont_view  > img {
	max-height:100%;
}
.flont_view:hover {
	width:800px;
	height:540px;	
	position: relative; 
	text-align:left;
	left:0;
}

.flont_view01 {
	position: static; 
}
.siroutoview{
	width:380px;
	height:540px;
	line-height:12px;
	text-align:center;
	}


.pubdayview{
	margin-top:10px;
	height:40px;
	width:150px;
	float:left;
	font-size:20px;
	color:red;
	font-weight:bold;
	text-align:center;
	line-height:40px;
}
/*undertagview*/

.iconspase{
	padding:5px;
	line-height:10px;
}
.iconspase2{
	padding:1px;
	line-height:10px;
}
.privilege{
	display:block;
	width:100px;
	height:100px;
	position:relative;
	top:-130px;
	right:50px;
	filter: alpha(opacity=75);
  	-moz-opacity:0.75;
  	opacity:0.75;
}

/* Buttons */

.btn:hover, .btn3:hover,.btn:active, .btn3:active, .btn.disabled, .btn[disabled] { color: #333; background-color: #e6e6e6; }



.btn:first-child { *margin-left: 0; }

.btn:hover { color: #333; text-decoration: none; }
.btn:focus { outline: thin dotted #333; outline: 5px auto -webkit-focus-ring-color; outline-offset: -2px; }
.btn.active, .btn:active, .btn-group.open .btn { outline: 0; top: 1px; border-top-width: 2px; border-bottom-width: 1px; border-top-color: rgba(0,0,0,.2);
	-webkit-box-shadow: inset 0 60px 0 rgba(0,0,0,.1); -moz-box-shadow: inset 0 60px 0 rgba(0,0,0,.1); box-shadow: inset 0 60px 0 rgba(0,0,0,.1);
}



/* Controls */

.contener{ 
	width:100%; 
}
#pcontents{
	margin-left:10px;
	float:left;
}


/*-------------------------------------------------- footer contebox --------*/

#modebox{
	float:right;
	margin:0 10px;
	display:block;
	text-align:center;
	width:180px;
	padding:0;
	background-color:#ebe1eb;
	border:3px solid #7f7677;
	border-radius:10px;
	box-shadow:0px 1px 5px #666666;
	font-size:13px;
	line-height:1.4em;
	color:#1d3232;
}

li.mchange{
	display:inline-block;
	
	width:80px;
	height:30px;
	text-align:center;
	margin:0;
}


#md0:link{
	display:inline-block;
	width:80px;
	height:30px;
	font-size:16px;
	color:#4a4a4a;
	line-height:30px;
	font-weight:bold;
	text-decoration:none;
	background:#ebe1eb url('../images/conbackl2.png') no-repeat center right ; 

}
#md0:visited{
	color:#4a4a4a;
	text-decoration:none;
}
#md0:hover{
	color:#ff1493;
	text-decoration:none;
}

#md1:link{
	display:block;
	width:80px;
	height:30px;
	font-size:16px;
	color:#4a4a4a;
	line-height:30px;
	font-weight:bold;
	text-decoration:none;
	background:#ebe1eb url('../images/conbackr2.png') no-repeat center left ;
}
#md1:visited{
	color:#4a4a4a;
	text-decoration:none;
}
#md1:hover{
	color:#ff1493;
	text-decoration:none;
}





/*------------------------------------------ undercontrolview --------*/



.modehyouji{
	font-size:16px;
	background-color:#307b85;
	color:#ffffff;
	font-weight:bold;
	line-height:1.8em;
}
#keyseac{
	display:none;
}
.tuikgeki{
	font-size:18px;
	color: rgb(135, 131, 0);
	padding:4px 20px;
}
.tuikgeki:hover{
	background:rgb(250, 247, 147);
}


