body {	
    padding: 0;
	/*padding-top: 60px;
	padding-bottom: 40px;*/
}
div.roulette {
	margin-top: 0px;
}
div.roulette-inner {
    left : calc(40vw / 5 * 3);
    height: 100% !important;
    width: auto;
}
div.roulette-inner img {
    width: auto;
    height: 100%;
}

div.roulette { 
    height: calc(60vw / 5 * 3) !important;
    width: auto;
}

.roulette_container {
    background:url(../img/index/roulette_bg.jpg) top center no-repeat;
    background-size: 100% auto;
    width:90%;
    height:auto;
    margin: auto;
    padding: calc(28%*640/480) calc(3%*640/480) 70px calc(3%*640/480);
    text-align: center;
}
.roulette_bg {
    /*background-color:rgb(253, 252, 253,0.8);*/
    padding: 6px;
    font-size: 0.8em;
    line-height: 1.2em;
}

.btn_container {
	margin:20px 0;
	text-align:center;
}
.btn_container button{
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    appearance: none;
}
.btn_container .start {
    margin:1%;
    font-size: 1.2em;
    display: inline-block;
    width: 45%;
    padding: 0.6em 0;
    text-decoration: none;
    background: #ff0000;/*ボタン色*/
    color: #FFF;
    border-bottom: solid 4px #985959;
    border-radius: 10px;
}
.btn_container .stop {
    margin:1%;
    font-size: 1.2em;
    display: inline-block;
    width: 45%;
    padding: 0.6em 0;
    text-decoration: none;
    background: #2bb5de;/*ボタン色*/
    color: #FFF;
    border-bottom: solid 4px #627295;
    border-radius: 10px;
}
.btn_container .start:active,.btn_container .stop:active {
    /*ボタンを押したとき*/
    -webkit-transform: translateY(4px);
    transform: translateY(4px);/*下に動く*/
    border-bottom: none;/*線を消す*/
}

.log_container {
	margin-left:25px;
	margin-top:80px;
}
.demo_label {
	border-left:5px solid gray;
	padding-left:5px;
	font-size: 20px;
}
#msg {
	border:1px solid #eee;
	padding:10px 20px;
	overflow-y: scroll;
	max-height: 100px; 
}
div.param_label {
	margin:20px 0px 10px 0px;
}
#stopImageNumber {
	width : 20px;
}
.param_name {
	font-weight:bold;
}
.image_sample img{
	width : 50px;
	cursor: pointer;
}
.right_container {
	width: 550px;
	margin-left: 100px;
}
.code_container {
	margin-top:50px;
	width: 500px;
}
.label-info {
	margin-bottom: 3px;
}
div.ui-slider {
	width: 300px;
}
@media screen and (min-width:768px) {
    div.roulette {
        margin-top: 20px;
    }
    div.roulette { 
        height: 128px !important;
        width: auto;
    }
    div.roulette-inner {
        left : 60px;
        height: 100% !important;
        width: auto;
    }
    div.roulette-inner img {
        height: 100% !important;
        width: auto;
    }

    
    .roulette_container {
        background:url(../img/index/roulette_bg.jpg) top center no-repeat;
        background-size: 100% auto;
        width:300px;
        height:auto;
        margin: auto;
        padding: 130px 30px 70px 30px;
        text-align: center;
    }
    .roulette_bg {
        /*background-color:rgb(253, 252, 253,0.8);*/
        padding: 20px;
        font-size: 1em;
        line-height: 1.2em;
    }
    .btn_container .start {
        margin:5px;
        font-size: 1.5em;
        display: inline-block;
        width: 45%;
        padding: 0.6em 0;
    }
    .btn_container .stop {
        margin:5px;
        font-size: 1.5em;
        display: inline-block;
        width: 45%;
        padding: 0.6em 0;
        text-decoration: none;
    }
}

.popup-inner {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 70%;
    max-width: 600px;
    padding: 3% 5% 2% 5%;
    background-color: #fff;
    z-index: 2;
}
@media screen and (min-width:768px) {
    .popup-inner {
        width: 40%;
    }
}
.popup-inner img {
    height: auto;
}
.popup_text {
    width: 100%;
    margin: 0.5em auto;
    font-size: 1.2em;
    font-weight: bold;
}
.popup_text span {
    color: #ff0000;
}
.close-btn {
    position: absolute;
    right: 0;
    top: 0;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    cursor: pointer;
}
.close-btn i {
    font-size: 20px;
    color: #333;
}
.black-background {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.8);
    z-index: 1;
    cursor: pointer;
}
.popup-inner button{
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    appearance: none;
}
.popup-inner .kakutei{
    margin:1em;
    font-size: 1.2em;
    display: inline-block;
    width: 45%;
    padding: 0.6em 0;
    text-decoration: none;
    background: #668ad8;/*ボタン色*/
    color: #FFF;
    border-bottom: solid 4px #627295;
    border-radius: 10px;
}
.popup-inner .kakutei:active{
    /*ボタンを押したとき*/
    -webkit-transform: translateY(4px);
    transform: translateY(4px);/*下に動く*/
    border-bottom: none;/*線を消す*/
}
.roulette_chk{
    width: 80%;
    margin: 10% auto;
    text-align: center;
}
.roulette_chk img{
    width: 100%;
    height: auto;
    margin-bottom: 2em;
}
@media screen and (min-width:768px) {
    .roulette_chk{
        margin: 0% auto;
    }
    .roulette_chk img{
        width: auto;
        max-height: 500px;
    }
}