/*! http://responsiveslides.com v1.54 by @viljamis */

.ccm-image-slider {
    position: relative;
}

.rslides {
    margin: 0 auto;
}

.rslides li{
	position:relative;
	overflow:hidden;
}

.rslides li img{
	height: auto;
    width: 100%;
    position: absolute;
    display: block;
    margin: auto;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

.ccm-page .rslides_tabs{
	padding: 0;
    text-align: center;
    position: absolute;
    bottom: 8%;
    left: 50%;
    z-index: 2;
	-webkit-transform: translate(-50%, 90%);
   transform: translate(-50%, 90%);
}
.ccm-page .rslides_tabs li a{
	width:12px;
	height:12px;
	background:rgba(255,255,255,.8);
}
.ccm-page .rslides_tabs li.rslides_here a{
	background:#005BAC;
}

.ccm-page .ccm-image-slider-small{
	position:absolute;
	color:rgba(84,84,84,.8);
}
.ccm-page .rslides span{
	position: absolute;
	top: 16px;
	left: 16px;
	color: rgba(255,255,255,1.00);
	-webkit-text-shadow: 2px 2px 1px rgba(0, 0, 0, 1);
    -moz-text-shadow: 2px 2px 1px rgba(0, 0, 0, 1);
    -ms-text-shadow: 2px 2px 1px rgba(0, 0, 0, 1);
    -o-text-shadow: 2px 2px 1px rgba(0, 0, 0, 1);
    text-shadow: 2px 2px 1px rgba(0, 0, 0, 1);
	font-size: 1.4rem;
}
/*　スマホ（スマートフォン・タブレット）・タブレット用
---------------------------------------------------------------------*/
@media (max-width: 768px) {
.ccm-page .rslides_tabs{
	width: 100%;
}
.rslides li{
	padding-top:66.5%;
}
}
/*　パソコン（PC）用
---------------------------------------------------------------------*/
@media (min-width: 769px) {
.rslides li{
	height:400px;
}
}

/*! http://responsiveslides.com v1.54 by @viljamis */
.rslides {
    position: relative;
    list-style: none;
    overflow: hidden;
    width: 100%;
    padding: 0;
    margin: 0;
	border:1px solid #ccc;
}

.rslides > li {
    -webkit-backface-visibility: hidden;
    position: absolute;
    display: none;
    width: 100%;
    left: 0;
    top: 0;
}

.rslides > li:first-child {
    position: relative;
    display: block;
    float: left;
}

.rslides img {
    display: block;
    height: auto;
    float: left;
    width: 100%;
    border: 0;
}

.rslides_nav {
    position: absolute;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    top: 50%;
    left: 0;
    z-index: 99;
    opacity: 0.7;
    overflow: hidden;
    text-decoration: none;
    height: 61px;
    width: 38px;
    background: transparent url("../../images/arrows.gif") no-repeat left top;
    margin-top: -45px;
}

.rslides_tabs {
    padding-left: 0px;
    padding-top: 15px;
    padding-bottom: 10px;
}
.rslides_tabs li {
    list-style-type: none;
    display: inline-block;
    margin-right: 5px;
}

.rslides_tabs li.rslides_here a {
    background: #333;
}

.rslides_tabs li a {
    text-indent: -9999px;
    overflow: hidden;
    background: #ccccc9;
    width: 15px;
    height: 15px;
    display: inline-block;
    margin-right: 10px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
}

.rslides_nav.next {
    left: auto;
    background-position: right top;
    right: 0;
}
/*
    Colorbox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
#cboxWrapper {max-width:none;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
#cboxTitle{margin:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic; -webkit-box-shadow:0 0px 3px 0px #000; -moz-box-shadow:0 0px 3px 0px #000; box-shadow:0 0px 3px 0px #000;}
.cboxIframe{width:100%; height:100%; display:block; border:0; padding:0; margin:0;}
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}

/* 
    User Style:
    Change the following styles to modify the appearance of Colorbox.  They are
    ordered & tabbed in a way that represents the nesting of the generated HTML.
*/
#cboxOverlay{background:url(images/overlay.png) repeat 0 0; opacity: 0.9; filter: alpha(opacity = 90);}
#colorbox{outline:0;}
    #cboxTopLeft{width:21px;}
    #cboxTopRight{width:21px; height:21px;}
    #cboxBottomLeft{width:21px; height:21px;}
    #cboxBottomRight{width:21px; height:21px; }
    #cboxMiddleLeft{width:21px;}
    #cboxMiddleRight{width:21px;}
    #cboxTopCenter{height:21px;}
    #cboxBottomCenter{height:21px;}
    /*#cboxContent{overflow:hidden;}*/
        .cboxIframe{background:#fff;}
        #cboxError{padding:50px; border:1px solid #ccc;}
        #cboxLoadedContent{margin:35px 10px 10px;}
        #cboxTitle{position:absolute; bottom:-20px; left:0; text-align:center; width:100%; font-size:18px; font-weight:bold; color:#fff;}
        #cboxCurrent{position:absolute; top:10px; left:0px; color:#fff;}
        #cboxLoadingOverlay{background:url(images/loading_background.png) no-repeat center center;}
        #cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}

        /* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
        #cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; width:auto; background:none; }
        
        /* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
        #cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}

        #cboxSlideshow{position:absolute; top:5px; right:130px; color:#0092ef;}
        #cboxPrevious{position:absolute; top:0; right:65px; background:url(images/controls.png) no-repeat -75px 0; width:25px; height:25px; text-indent:-9999px;}
        #cboxPrevious:hover{background-position:-75px -25px;}
        #cboxNext{position:absolute; top:0; right:40px; background:url(images/controls.png) no-repeat -50px 0; width:25px; height:25px; text-indent:-9999px;}
        #cboxNext:hover{background-position:-50px -25px;}
        #cboxClose{position:absolute; top:0; right:0; background:url(images/controls.png) no-repeat -25px 0; width:25px; height:25px; text-indent:-9999px;}
        #cboxClose:hover{background-position:-25px -25px;}

/*
  The following fixes a problem where IE7 and IE8 replace a PNG's alpha transparency with a black fill
  when an alpha filter (opacity change) is set on the element or ancestor element.  This style is not applied to or needed in IE9.
  See: http://jacklmoore.com/notes/ie-transparency-problems/
*/
.cboxIE #cboxTopLeft,
.cboxIE #cboxTopCenter,
.cboxIE #cboxTopRight,
.cboxIE #cboxBottomLeft,
.cboxIE #cboxBottomCenter,
.cboxIE #cboxBottomRight,
.cboxIE #cboxMiddleLeft,
.cboxIE #cboxMiddleRight {
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);
}

#ajax-wrap p{
	margin:10px auto 15px;
}
