*{
	box-sizing:border-box;
}

body{
	padding:0;
	margin:0;
	/*background: #F0F0F0;*/
	background: #FFF;
}

.inner{
	max-width:900px;
	width:100%;
	padding:0 20px;
	margin:0 auto;
	box-sizing:border-box;
}

/* 共通項目 （適切な場所に移動を視野に)
------------------------------------------*/
.ketei{
/*	background:mediumseagreen !important;*/
	background:#0099FF !important;
	color:#FFF;
}

/*container
------------------------------------------*/
#container{
	padding:0;
    margin: 0;
}


/*cheadline
------------------------------------------*/
#cheadline{
	padding:0;
	/*background: #333;*/
}

#cheadline .inner div{
    display:flex;
    align-items: center;
    border-left: 1px solid #999;
}


body.n #cheadline #firstMenu,
#cheadline #nextMenu{
	display: none;
}

#cheadline #firstMenu,
body.n #cheadline #nextMenu{
	display: flex;
}

body.h0 #prev{
	display: none;
}

body.h1 #stop{
	display: none;
}


/* maruButton
-------------------------------------*/
#maruButton{
	position: relative;
	padding:0 20px;
	margin:10px auto;
	max-width:900px;
}

#maruButton > div{
	display: inline-block;
	cursor:pointer;
}

#maruButton img{
	max-height:40px;
	width:40px;
	height:auto;
	margin:0 auto;
}

#maruButton span{
	margin-top: 3px;
	font-size: 12px;
	text-align: center;
}

body.n #maruButton{
	display: none;
}


#print,
#decide,
#Next{
	width: 160px;
	position: fixed;
	left:calc(50% - 80px);
	top:70px;
/*	background:#4285F4;*/
	background:#0099FF;
	color: #FFF;
	padding: 10px 0;
	border: 1px solid #FFF;
	border-radius: 5px;
	cursor: pointer;
	font-size: 12px;
	text-align: center;
}

#Next{
	width: 180px;
}

#maruButton #reset,
#maruButton #stop,
#maruButton #prev{
	line-height: 1.0;
	border: 1px solid #ccc;
	border-radius: 5px;
	background: #FFF;
	padding: 10px 10px;
}
/*
#maruButton #prev.beigeBtn,
#maruButton #stop.beigeBtn{
	background: #FFE1C3;
}
*/

#maruButton #zoomup{
	position: absolute;
	top: 0;
	right: 20px;
	background:#FFF;
	border:1px solid #666;
	padding:5px 10px;
	border-radius: 50%;
	box-sizing: border-box;
	width:40px;
	height:40px;
	display:flex;
	align-items: center;
    justify-content: center;
	line-height: 1.0;
}

#maruButton #zoomup:before{
	color:#666;
	padding:0;
	margin:0;
	font-size:20px;
	font-weight:bold;
	content:"＋";
}

#maruButton #zoomup.s1:before{
	content:"＋";
	color:red;
}

#maruButton #zoomup.s2:before{
	content:"－";
	color:red;
}

/* 540px
---------------------------------------*/
@media(max-width: 540px){
	#Next{
		left:calc(100% - 200px);
	}

	#print,
	#decide{
		left:calc(100% - 200px);
		width: 120px;
	}

}

#Next{
	opacity: 0;
	pointer-events: none;
	transition-delay: 1s;
	transition-duration: 1s;
}

#Next.active{
	opacity: 1;
	pointer-events: auto;
}

#stop{
	margin-right: 10px;
	text-align: center;
}

/* #imgStart
-------------------------------------*/
#imgStart{
	display:none;
}

#imgStart.c1{
 	position: fixed;
 	top:0px;
 	left:0vw;
 	background: #000B;
 	width:100vw;
 	height:100vh;
 	padding: 40px;
 	z-index: 100;
 	box-shadow: 3px 3px 10px #0006;
 	text-align: center;
 	line-height: 2.0;
 	display: flex;
 	flex-flow: column;
 	align-items: center;
 	justify-content: center;
 	color: #FFF;
 }

#imgStart button{
	width: 200px;
	background: #D00;
	color: #FFF;
	padding: 10px 20px;
/*	border: 5px solid #FFF;*/
	border:none;
	border-radius: 10px;
	cursor: pointer;
}


/* #rangeBox
-------------------------------------*/

#rangeBox{
	position: absolute;
	right:10px;
	top: 100px;
    z-index:101;
    display: none;
}

#rangeBox.active{
	display:block;
}


input#zoomRange[type=range][orient=vertical] {
    writing-mode:bt-lr;
    -webkit-appearance:slider-vertical;
    width:8px;
    height:175px;
    padding:0 5px;
}


/*contents
------------------------------------------*/
#contents{
/*	padding:0;
	margin:0;
*/    /*background: #f0f0f0;*/
}


#contents main{
	position: relative;
	box-sizing: border-box;
	max-width: 100vw;
}


/* resizable
-------------------------------------------*/
.ui-resizable-handle{
  box-sizing:border-box;
  width:0;
  height:0;
  background:none;
  border:none;
  font-size:0;
}

.ui-resizable-se,
.ui-resizable-sw,
.ui-resizable-ne,
.ui-resizable-nw{
	width:20px;
	height:20px;
	border:1px solid #999;
	background:#FFF;
	border-radius: 10px;
}

@media(max-width: 480px){
	
	.ui-resizable-se,
	.ui-resizable-sw,
	.ui-resizable-ne,
	.ui-resizable-nw{
		width:35px;
		height:35px;
	}

}

.ui-resizable-handle {
    position: absolute;
}

.ui-resizable-nw{
	top:-10px;
	left:-10px;
}

.ui-resizable-ne{
	top:-10px;
	right:-10px;
}

.ui-resizable-sw{
	left:-10px;
	bottom:-10px;
}

.ui-resizable-se{
	right:-10px;
	bottom:-10px;
}

.ui-resizable-nw:hover{cursor:nw-resize;}
.ui-resizable-ne:hover{cursor:ne-resize;}
.ui-resizable-sw:hover{cursor:sw-resize;}
.ui-resizable-se:hover{cursor:se-resize;}

.ui-icon, .ui-widget-content .ui-icon{
	background-size: 0;
}

.ui-wrapper{
    overflow:visible !important;
    position:relative !important;
}

/*button
------------------------------------------*/
#btn{
	padding:3px 20px;
	margin:0 auto;
	text-align:center;
	text-decoration:none;
	display:inline-block;
	border-radius:5px;
	font-size:14px;
	border: none;
}

.btn1{
	color:#fff;
	background:#999;
}

.btn1:hover{
	background:#ff1744;
}

.btn2{
	color:#fff;
	background:#ff1744;
}