
@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;
	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:423px;
	height:650px;
	padding : 10px;
	margin-left :8px;
	border: 3px solid #ffffff;
	float:left;
	border-radius:10px;
	box-shadow: 0px 1px 6px #373737;
	text-align:center;
}

#contag{
	visibility:hidden;
	position:fixed;
	bottom:65px;  
	left:3px;  
	display:block;
	text-align:center;
	width:190px;
	height:80px;
	margin:0px;
	padding:0px 0 0 0px;
	color:#307b85;
	background-color:#e5bce5;
	border:4px solid #7f7677;
	border-radius:5px;
	box-shadow:0px 1px 5px #333333;
	cursor: pointer;
	
}
#contagimg{
	visibility:visible;
	position:fixed;
	bottom:55px;  
	left:3px;  
}

#okiniiri{
	visibility:visible;
	position:fixed;
	bottom:55px;  
	left:46px; 
	font-size: 20px;
	color:#666;
	font-weight: bold;
}
#contag:hover{
	background-color:#ebe1eb;
}
.btndivs{
	text-align:center;

}


.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;
	
}





#btnbar{
	z-index:1500;
	position:fixed;
	bottom:8px;
	right:195px;
}
.btn {
	display: inline-block;
	width:90px;
	height:30px;
	font-size:15px;
	line-height:15px;
	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 {
	z-index:501;
	position:fixed;
	bottom:0;

	position: relative;
	display: inline-block;
	height:30px;
	padding: 0 4px;
	margin-bottom: 0;
	font-size:13px;
	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;
}
.undertagview{
	position:fixed;
	bottom:0;
	height:40px;
	width:423px;
	font-size:20px;
	color:red;
	font-weight:bold;
	text-align:center;
	line-height:40px;
	overflow:hidden;
	float:right;
	visibility:hidden;
}
.footerspace{
	position:absolute;
	font-size:13px;
	line-height:1.3em;
	color:#f5f5f5;
	margin-left:240px;
	bottom:0;
}
.preview:hover + .undertagview {
	visibility:visible;
	transform: translate(-10px,-45px);
	transition-duration:0.3s;
	background:rgba(255,255,255,0.7);
	border:10px solid rgba(255,255,255,0.3);
	border-radius:4px;
}
.undertagview:hover{
	visibility:visible;
	transform: translate(-10px,-45px);
	background:#fff;
	border:10px solid #fff;
	border-radius:4px;
}




}/*--------------------------------------------------------max-height: 770px------------------------------*/
@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:780px;
	background-color:#ffffff;
	box-shadow: 0px -5px 10px #fff0f5 inset;
}
.frame {
	height:740px;
	line-height: 720px;
	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: 423px;
	height:650px;
	padding : 7px ;
	margin-left :8px;
	margin-top:15px;
	border: 3px solid #ffffff;
	float:left;
	border-radius:7px;
	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:#e5bce5;
	border:6px solid #7f7677;
	border-radius:10px;
	box-shadow:0px 1px 5px #333333;
	cursor: pointer;
}
#contag:hover{
	background-color:#ebe1eb;
}
#btndivs{
	text-align:center;
	background:red;
}

/* Scrollbar */
.scrollbar {
	width:50%;
	text-align:center;
	margin: 5px 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;
	
}
#btnbar{
	text-align:center;
	margin-top:-65px;
}
.btn {
	max-width:162px;
	width:25%;
	height:41px;

	position: relative;
	display: inline-block;
	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 {

	height:41px;
	position: relative;
	display: inline-block;
	padding: 0 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:10px 0;
	height:40px;
	width:426px;
	font-size:20px;
	color:red;
	font-weight:bold;
	text-align:center;
	line-height:40px;
	overflow:hidden;
	float:left;
}
.footerspace{
	position:absolute;
	font-size:13px;
	line-height:1.3em;
	color:#f5f5f5;
	margin-left:30px;
	bottom:0;
}
}/*---------------------------------------------min-height: 771px------------------------------*/


.preview > img {
	max-width:423px;
}








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


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


.preview {	
	width:423px;
	height:600px;	
	overflow:hidden; 
	display:block;
	margin:0 auto;
	
}


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


.pubdayview{
	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, .btn:active, .btn.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:20px;
	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;
}



