/*
colorboxchara Core Style:
The following CSS is consistent between example themes and should not be altered.
*/
#colorboxchara,
#cboxcharaOverlay,
#cboxcharaWrapper{
	position:absolute;
	top:0;
	left:0;
	z-index:9999;
	overflow:hidden;
	-webkit-transform:
	translate3d(0,0,0);
}
#cboxcharaWrapper {
	max-width:none;
}
#cboxcharaOverlay{
	position:fixed;
	width:100%;
	height:100%;
}
#cboxcharaMiddleLeft,
#cboxcharaBottomLeft{
	clear:left;
}
#cboxcharaContent{
	position:relative;
}
#cboxcharaLoadedContent{
	overflow:auto;
	-webkit-overflow-scrolling: touch;
}
#cboxcharaTitle{
	display: none !important;
	margin:0;
}
#cboxcharaLoadingOverlay,
#cboxcharaLoadingGraphic{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}
#cboxcharaPrevious,
#cboxcharaNext,
#cboxcharaClose,
#cboxcharaSlideshow{
	cursor:pointer;
}
.cboxcharaPhoto{
	float:left;
	margin:auto;
	border:0;
	display:rgba(0,0,0,0);
	max-width:none;
	-ms-interpolation-mode:bicubic;
}
.cboxcharaIframe{
	width:100%;
	height:100%;
	display:rgba(0,0,0,0);
	border:0;
	padding:0;
	margin:0;
}
#colorboxchara,
#cboxcharaContent,
#cboxcharaLoadedContent{
	box-sizing:content-box;
	-moz-box-sizing:content-box;
	-webkit-box-sizing:content-box;
}
.openingMovie {
    position: absolute;
}
/*
User Style:
Change the following styles to modify the appearance of colorboxchara.  They are
ordered & tabbed in a way that represents the nesting of the generated HTML.
*/
#cboxcharaOverlay{
	background:#000;
	opacity: 0.9;
	filter: alpha(opacity = 60);
}
#colorboxchara{
	outline:0;
}
#cboxcharaContent{
	overflow:visible;
	background:rgba(0,0,0,0);
}
.cboxcharaIframe{
	background:#fff;
}
#cboxcharaError{
	padding:50px;
	border:1px solid #ccc;
}
#cboxcharaLoadedContent{
	background:rgba(0,0,0,0);
	padding:1px;
}
#cboxcharaLoadingGraphic{
	background:url(../image/colorbox/loading.gif) no-repeat center center;
}
#cboxcharaLoadingOverlay{
	background:rgba(0,0,0,0);
}
#devil #cboxcharaLoadingOverlay{
	background:none;
}
#cboxcharaTitle{
	position:absolute;
	top:-22px; left:0;
	color:#000;
}
#cboxcharaCurrent{
	display: none !important;
	position:absolute;
	top:-22px;
	right:205px;
	text-indent:-9999px;
}
/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
#cboxcharaPrevious,
#cboxcharaNext,
#cboxcharaSlideshow,
#cboxcharaClose {
	border:0;
	padding:0;
	margin:0;
	overflow:visible;
	text-indent:-9999px;
	width:20px;
	height:20px;
	position:absolute;
	top:-20px;
	background:url(../image/colorbox/controls.png) no-repeat 0 0;
}
/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
#cboxcharaPrevious:active,
#cboxcharaNext:active,
#cboxcharaSlideshow:active,
#cboxcharaClose:active {
	outline:0;
}

#cboxcharaPrevious:hover{
	opacity: 0.8;
}
#cboxcharaPrevious,
#cboxcharaNext{
    width:6%;
	max-width: 54px;
	height: 30%;
	top: 30%;
	opacity: 1;
}
#cboxcharaPrevious:hover,
#cboxcharaNext:hover{
	opacity: 0.8;
}
#cboxcharaNext{
	background:url(../image/slickArrow_r.png) no-repeat;
    background-size: 100% auto;
	right:0;
}
#cboxcharaPrevious{
	background:url(../image/slickArrow_l.png) no-repeat;
    background-size: 100% auto;
	left:0;
}
#cboxcharaClose{
    top: 0;
    right: 1%;
width: 200px;
height: 78px;
	background: url(../image/top_chara/bt-charapop-close.png) no-repeat;
	background-size:100% auto;
}

@media screen and (max-width:768px) {
#colorbox{
    margin-top: -39px;
}
#cboxContent{
    margin-top: 39px;
}
#cboxcharaClose{ 
    width: 100px;
    height: 39px;
}
}
@media screen and (max-width:320px) {
#colorbox{
    margin-top: -27px;
}
#cboxContent{
    margin-top: 27px;
}
#cboxcharaClose{ 
    width: 70px;
    height: 27px;
}
}


#cboxcharaClose:hover{
	opacity: 0.8;
}
.cboxcharaSlideshow_on #cboxcharaPrevious,
.cboxcharaSlideshow_off #cboxcharaPrevious{
	right:66px;
}
.cboxcharaSlideshow_on #cboxcharaSlideshow{
	background-position:-75px -25px;
	right:44px;
}
.cboxcharaSlideshow_on #cboxcharaSlideshow:hover{
	background-position:-100px -25px;
}
.cboxcharaSlideshow_off #cboxcharaSlideshow{
	background-position:-100px 0px;
	right:44px;
}
.cboxcharaSlideshow_off #cboxcharaSlideshow:hover{
	background-position:-75px -25px;
}

