html,
body {
    color: #000;
}

body{
        overflow-y:auto;
}

div#base {
    background-color: #FFF;
}


/* --------------------------------------------------
// https://copypet.jp/648/
// サムネイルをクリックしたら切り替わるスライド
// --------------------------------------------------
*/
*, *:before, *:after {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
.cp_cssslider {
	width: 600px;
	position: relative;
	margin: 2em auto;
	text-align: center;
}
.cp_cssslider > img {
	transition: all 0.5s;
	border-radius: 3px;
	box-shadow:0px 0px 5px 0px rgba(0,0,0,0.3);
}
.cp_cssslider input[name='cp_switch'] {
	display: none;
}
/* サムネイル */
.cp_cssslider label {
	margin: 0px 5px 0 5px;
	border: 2px solid #ffffff;
	display: inline-block;
	cursor: pointer;
	transition: all 0.5s ease;
	opacity: 0.6;
	border-radius: 3px;
}
.cp_cssslider label:hover {
	opacity: 0.9;
}
.cp_cssslider label img {
	display: block;
	width: 100px;
	border-radius: 2px;
}
.cp_cssslider input[name='cp_switch']:checked + label {
	border: 2px solid #FF7043;
	opacity: 1;
}
.cp_cssslider input[name='cp_switch'] ~ img {
	opacity: 0;
}
.cp_cssslider input[name='cp_switch']:checked + label + img {
	opacity: 1;
}


/* --------------------------------------------------
// https://lab.studio-benkei.com/jquery-audio/
// [jQuery]audio要素とjQueryと画像を使ってオーディオの再生・停止 | STUDIO BENKEI
// --------------------------------------------------
*/
/*
p.soundBtn {
	width: 400px;
	height: 250px;
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
	cursor: pointer;
	background: url(../images/pause.png) top left no-repeat;
}
p.clicked {
	background: url(../images/play.png) bottom left no-repeat;
}
*/
p.soundBtn {
	width: 400px;
	height: 250px;
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
	cursor: pointer;
}

p.sndOrchestra {
	width: 400px;
	height: 250px;
	background: url(../images/orchestra.png) top left no-repeat;
	background-size:400px 250px;
}

p.sndRock {
	width: 400px;
	height: 250px;
	background: url(../images/rock.png) top left no-repeat;
	background-size:400px 250px;
}

p.sndPop {
	width: 400px;
	height: 250px;
	background: url(../images/pop.png) top left no-repeat;
	background-size:400px 250px;
}

p.sndFantasy {
	width: 400px;
	height: 250px;
	background: url(../images/fantasy.png) top left no-repeat;
	background-size:400px 250px;
}

/* --------------------------------------------------
// --------------------------------------------------
*/
.sndCtrler {
	position : absolute;
	width:240px;
	height:30px;
	margin: 0px;
	padding: 0px;
}

.sndIcon {
	color: rgb(26, 161, 219);
	position: absolute;
	top: 10px;
	left:10px;
}

.sndInpLbl {
    position: absolute;
    top:11px;
	font-size:x-small;
}

#divPos_sL_qL{
	top: 240px;
	left:85px;
}

#divPos_sH_qL{
	top: 240px;
	left:350px;
}

#divPos_sL_qH{
	top: 465px;
	left:85px;
}

#divPos_sH_qH{
	top: 465px;
	left:350px;
}

/* --------------------------------------------------
// --------------------------------------------------
*/
.drag-and-drop {
    cursor: move;
    position: absolute;
    z-index: 1000;
}

.drag {
    z-index: 1001;
}

.dragThumbOut {
    color:rgba(26, 161, 219, 0.5);
    position:absolute;
    top:-12px;
    left:0px;
    z-index:2000;
}

.dragThumbIn {
    color:rgb(26, 161, 219);
    position:absolute;
    top:-11px;
    left:4.5px;
    z-index:2001;
}

.dragSlideBar {
    border: 1px solid rgb(148, 148, 148);
    position:absolute;
    top:18px;
    left:0px;
    width:100%;
    z-index:1000;
    margin: 0px;
    padding: 0px;
}

/* --------------------------------------------------
// --------------------------------------------------
*/
.cntPlyBtn{
	display:inline-block;
	width:10%;
	margin: 0px;
	padding: 0px;
}

.cntSlider{
	position: relative;		/* これが付いていないと hr のサイズが制御不能 */
	display:inline-block;
	width:55%;
	margin: 0px;
	padding: 0px;
}

.cntTime{
	display:inline-block;
	width:30%;
	margin: 0px;
	padding: 0px;
}

/* --------------------------------------------------
// --------------------------------------------------
*/
.sqTableStl {
    width: 600px;
    height: 520px;
    background-image: url(../images/sqTable.png);
    background-size: 600px 520px;
    position: relative;
}

/* --------------------------------------------------
// --------------------------------------------------
*/

#idTargetImg
{
	position: relative;
    text-align: center;
	width:400px;
	height:250px;
}

#idMainImg {
	position: absolute;
	left: 0px;
	top: 0px;
	z-index: 10;
    vertical-align:baseline;
}

#idControl {
	position: absolute;
	left: 0px;
	top: 0px;
	z-index: 20;
}

#idDisp_Left{
    vertical-align:top;
	display: inline-block;
}

#idDisp_Right{
	display: inline-block;
}




@media screen and (max-width: 1230px) and (orientation:landscape) {
/* 1230pxまでで横の方が長い幅の場合に適応される */

    .cp_cssslider {
        width: 450px;
		margin: 1em auto;
    }

        .cp_cssslider label {
            margin: 0 1px 0 1px;
        }

            .cp_cssslider label img {
                width: 66px;
            }

    #idDisp_Main {
        display: block !important;
        margin: 2px !important;
    }

    #idMainImg {
        width: 450px;
        position: static;
    }

    #idControl {
        left: 0px;
        top: 0px;
    }

    #idTargetImg {
        margin: 0 auto 0 auto;
        width: 450px;
        height: 281px;
    }

    p.soundBtn {
        width: 450px;
        height: 281px;
        background-size: 281px !important;
    }

	p.sndOrchestra {
        width: 450px;
        height: 281px;
		background: url(../images/orchestra.png) top left no-repeat;
		background-size:450px 281px !important;
	}

	p.sndRock {
        width: 450px;
        height: 281px;
		background: url(../images/rock.png) top left no-repeat;
		background-size:450px 281px !important;
	}

	p.sndPop {
        width: 450px;
        height: 281px;
		background: url(../images/pop.png) top left no-repeat;
		background-size:450px 281px !important;
	}

	p.sndFantasy {
        width: 450px;
        height: 281px;
		background: url(../images/fantasy.png) top left no-repeat;
		background-size:450px 281px !important;
	}

	.sndCtrler {
		width:180px;
		height:15px;
	}

	.sndIcon {
		top: 5px;
		left:0px;
	}

	.dragThumbOut {
	    top:-18px;
	    left:0px;
	}

	.dragThumbIn {
	    top:-17px;
	    left:4.5px;
	}

	.dragSlideBar {
	    top:12px;
	    left:0px;
	}

	.sqTableStl {
	    width: 450px;
	    height: 390px;
	    background-image: url(../images/sqTable.png);
	    background-size: 450px 390px;
	    position: relative;
	}

	.cntTime{
		width: 45px;
	}

	.sqTableStl {
		margin: 0.5em auto;
	}

	.sndInpLbl {
	    position: absolute;
	    top:5px;
		left:138px;
		font-size:8pt;
	}

	#divPos_sL_qL{
		top: 180px;
		left:55px;
	}

	#divPos_sH_qL{
		top: 180px;
		left:262px;
	}

	#divPos_sL_qH{
		top: 348px;
		left:55px;
	}

	#divPos_sH_qH{
		top: 348px;
		left:262px;
	}

}

@media screen and (max-width: 768px) and (orientation:portrait) {
/* 768pxまでで縦の方が長い場合に適応される */

	#idDisp_Left{
		display: block;
	}

	#idDisp_Right{
		display: block;
	}

}

@media screen and (max-width: 823px) and (orientation:landscape) {
/* 823pxまでで横の方が長い幅の場合に適応される */

    .cp_cssslider {
        width: 316px;
		margin: 1em auto;
    }

        .cp_cssslider label {
            margin: 0 1px 0 1px;
        }

            .cp_cssslider label img {
                width: 66px;
            }

    #idDisp_Main {
        display: block !important;
        margin: 2px !important;
    }

    #idMainImg {
        width: 300px;
        position: static;
    }

    #idControl {
        left: 0px;
        top: 0px;
    }

    #idTargetImg {
        margin: 0 auto 0 auto;
        width: 300px;
        height: 187px;
    }

    p.soundBtn {
        width: 300px;
        height: 187px;
        background-size: 187px !important;
    }

	p.sndOrchestra {
        width: 300px;
        height: 187px;
		background: url(../images/orchestra.png) top left no-repeat;
		background-size:300px 187px !important;
	}

	p.sndRock {
        width: 300px;
        height: 187px;
		background: url(../images/rock.png) top left no-repeat;
		background-size:300px 187px !important;
	}

	p.sndPop {
        width: 300px;
        height: 187px;
		background: url(../images/pop.png) top left no-repeat;
		background-size:300px 187px !important;
	}

	p.sndFantasy {
        width: 300px;
        height: 187px;
		background: url(../images/fantasy.png) top left no-repeat;
		background-size:300px 187px !important;
	}

	.sndCtrler {
		width:120px;
		height:15px;
	}

	.sndIcon {
		top: 5px;
		left:0px;
	}

	.dragThumbOut {
	    top:-18px;
	    left:0px;
	}

	.dragThumbIn {
	    top:-17px;
	    left:4.5px;
	}

	.dragSlideBar {
	    top:12px;
	    left:0px;
	}

	.sqTableStl {
	    width: 300px;
	    height: 260px;
	    background-image: url(../images/sqTable.png);
	    background-size: 300px 260px;
	    position: relative;
	}

	.cntTime{
		width: 30px;
	}

	.sqTableStl {
		margin: 0.5em auto;
	}

	.sndInpLbl {
	    position: absolute;
	    top:5px;
		left:82px;
		font-size:7pt;
		transform: scale(0.7, 0.7);
	}

	#divPos_sL_qL{
		top: 120px;
		left:37px;
	}

	#divPos_sH_qL{
		top: 120px;
		left:175px;
	}

	#divPos_sL_qH{
		top: 232px;
		left:37px;
	}

	#divPos_sH_qH{
		top: 232px;
		left:175px;
	}


}

@media screen and (max-width: 600px) and (orientation:portrait) {
/* 600pxまでで縦の方が長い幅の場合に適応される */

	#idDisp_Left{
		display: block;
	}

	#idDisp_Right{
		display: block;
	}

    .cp_cssslider {
        width: 316px;
		margin: 1em auto;
    }

        .cp_cssslider label {
            margin: 0 1px 0 1px;
        }

            .cp_cssslider label img {
                width: 66px;
            }

    #idDisp_Main {
        display: block !important;
        margin: 2px !important;
    }

    #idMainImg {
        width: 300px;
        position: static;
    }

    #idControl {
        left: 0px;
        top: 0px;
    }

    #idTargetImg {
        margin: 0 auto 0 auto;
        width: 300px;
        height: 187px;
    }

    p.soundBtn {
        width: 300px;
        height: 187px;
        background-size: 187px !important;
		background-size:300px 187px !important;
    }

	p.sndOrchestra {
        width: 300px;
        height: 187px;
		background: url(../images/orchestra.png) top left no-repeat;
		background-size:300px 187px !important;
	}

	p.sndRock {
        width: 300px;
        height: 187px;
		background: url(../images/rock.png) top left no-repeat;
		background-size:300px 187px !important;
	}

	p.sndPop {
        width: 300px;
        height: 187px;
		background: url(../images/pop.png) top left no-repeat;
		background-size:300px 187px !important;
	}

	p.sndFantasy {
        width: 300px;
        height: 187px;
		background: url(../images/fantasy.png) top left no-repeat;
		background-size:300px 187px !important;
	}

	.sndCtrler {
		width:120px;
		height:15px;
	}

	.sndIcon {
		top: 5px;
		left:0px;
	}

	.dragThumbOut {
	    top:-18px;
	    left:0px;
	}

	.dragThumbIn {
	    top:-17px;
	    left:4.5px;
	}

	.dragSlideBar {
	    top:12px;
	    left:0px;
	}

	.sqTableStl {
	    width: 300px;
	    height: 260px;
	    background-image: url(../images/sqTable.png);
	    background-size: 300px 260px;
	    position: relative;
	}

	.cntTime{
		width: 30px;
	}

	.sqTableStl {
		margin: 0.5em auto;
	}

	.sndInpLbl {
	    position: absolute;
	    top:5px;
		left:82px;
		font-size:7pt;
		transform: scale(0.7, 0.7);
	}

	#divPos_sL_qL{
		top: 120px;
		left:37px;
	}

	#divPos_sH_qL{
		top: 120px;
		left:175px;
	}

	#divPos_sL_qH{
		top: 232px;
		left:37px;
	}

	#divPos_sH_qH{
		top: 232px;
		left:175px;
	}

}

