/******************************

        パノラマ CSS

******************************/

#panorama_contents {
    text-align: center;
}

.panorama_photo_info {
	margin: 0 auto;
	width: 100%;
    max-width: 760px;
	text-align: left;
	background-color: #333;
	color: #FFF;
	padding: 5px 8px;
}
.richo_panorama_photo_info {
	margin: 0 auto;
	width: 100%;
    max-width: 760px;
	text-align: left;
	background-color: #333;
	color: #FFF;
	padding: 5px 8px;
}

.panorama_category_name {
	font-size: 16px;
}
.richo_panorama_category_name {
	font-size: 16px;
}

.panorama_caption {
	padding: 4px 0 0 0;
}

#panorama_main {
    padding: 0 210px 0 0;	
    position: relative;
    width: 100%;
    max-width: 760px;
    margin: auto;
}

#panorama_box {
    width: 100%;
    max-width: 520px;
    height: 320px;
    position: relative;
    background-color: #CCC;
    /*margin: 30px auto  0 auto;*/
    cursor: move;
}

#myCanvas {
    height: 100%;
    max-width: 100%;
}

#panorama_main .button_box {
    padding: 5px 0;
    text-align: center;
    background-color: #333;
    max-width: 520px;
    /*margin: 0 auto;*/
}

#panorama_main .button {
    display: inline-block;
    height: 30px;
    width: 30px;
    margin: 0 10px;
    vertical-align: middle;
    cursor: pointer;
}

#panorama_main .button img {
    max-height: 100%;
    max-width: 100%;
}

#panorama_any_photo_box {
    position: absolute;
    top: 0;
    right: 0;
    text-align: center;
    display: inline-block;
    width: 240px;
    height: 360px;
    background-color: #DDD;
    padding: 5px 0 0 0;
	overflow: auto;
}

#panorama_any_photo_box .panorama_img {
	display: inline-block;
	vertical-align: middle;
	text-align: center;
}

#panorama_any_photo_box .panorama_category_display {
	font-size: 8pt;
	display: block;
}

#panorama_any_photo_box .any_photo {
    display: inline-block;
    vertical-align: middle;
    max-width: 100px;
    height: auto;
    cursor: pointer;
    margin: 2px 4px;
    box-shadow: 0 0 2px #666;
}

#panorama_any_photo_scroll {
    height: 305px;
    overflow: auto;
}

#richo-panorama-main {
    max-width: 760px;
    margin: auto;
    padding: 0 210px 0 0;
    position: relative;
}
.richo-panorama-box {
    width: 100%;
    max-width: 520px;
    height: 320px;
    background-color: #CCC;
}
.richo-panorama-box iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.richo-any-box {
    position: absolute;
    top: 0;
    right: 0;
    text-align: center;
    display: inline-block;
    width: 240px;
    height: 100%;
    background-color: #DDD;
    padding: 10px 0 0 0;
    overflow: auto;
}
.panorama-btn-wrap {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
    padding: 5px;
    width: 100%;
    box-shadow: 0px 0px 15px -5px #777777;
}
.change-panorama-btn {
    width: 150px;
    padding: 10px 0;
    border-radius: 5px;
    border: none;
    background-color: #3c6ba1;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}
.un-change-btn {
    width: 150px;
    padding: 10px 0;
    border-radius: 5px;
    border: none;
    background-color: #737373;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}
.panorama-display {
    display: none;
}




@media screen and  (min-width:601px) {

    #panorama_any_photo_scroll {
        width: auto!important;
    }

}


@media screen and  (max-width:600px) {

    #panorama_any_photo_scroll {
        height:auto ;
    }

    #panorama_main {
        padding: 0;
    }

    #panorama_box {
        margin: 0 auto;
    }

    #panorama_main .button_box {
        margin: 0 auto;
    }

    #panorama_any_photo_box {
        position: relative;
        width: 100%;
        height: auto;
        max-width: 520px;
        overflow: auto;
    }


    #panorama_any_photo_scroll {
        margin: auto;
        padding-bottom: 10px;
    }

    .vr_imsge_br {
        display: none;
    }
	
	.panorama_br {
		display: none;
	}

    #richo-panorama-main {
        padding: 0;
    }
    .richo-panorama-box {
        max-width: none;
        
    }
    .richo-any-box{
        position: unset;
        width: 100%;
        height: auto;
        padding: 10px 0 10px 0;
    }
    .change-panorama-btn {
        position: unset;
    }
    .richo-panorama-box iframe{
        height: 320px;
    }
    .change-panorama-btn {
        position: unset;
        transform: none;
    }

    .change-panorama-btn {
        position: unset;
        transform: none;
    }
    .panorama-btn-wrap {
        margin-top: 10px;
        position: unset;
        transform: none;
    }
    .richo-panorama-box {
        height: auto;
    }


}

/*----------- パノラマ CSS ここまで -----------*/