/*
    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:visible;}
#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;}
.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-image: url(customimage/cbox_overlay.png);
}
#colorbox{outline:0;}
    #cboxContent{margin-top:32px; overflow:visible;}
        .cboxIframe{}
        #cboxError{padding:50px; border:1px solid #ccc;}
        #cboxLoadedContent{}
        #cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
        #cboxLoadingOverlay{background:#000;}
        #cboxTitle{position:absolute; top:-22px; left:0; color:#000;}
        #cboxCurrent{position:absolute; top:-22px; right:205px; text-indent:-9999px;}

        /* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
        #cboxClose {
            border:0;
            padding:0;
            margin:0;
            overflow:visible;
            text-indent:-9999px;
            width:23px;
            height:23px;
            position:absolute;
            top:17px;
            right: 17px;
            background:url(customimage/cbox_close.gif) no-repeat 0 0;}
        
        /* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
        #cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}

/* 前へボタン　*/
#cboxPrevious{position:absolute; top:45%; left:1%; background:url("../../img/cmn/control.png") no-repeat 0px 0; width:50px; height:50px; text-indent:-9999px;border:none;}
#cboxPrevious:hover{background-position:0px -50px;}
 
/* 次へボタン */
#cboxNext{position:absolute; top:45%; right:1%; background:url("../../img/cmn/control.png") no-repeat -50px 0; width:50px; height:50px; text-indent:-9999px;border:none;}
#cboxNext:hover{background-position:-50px -50px;}
 
/*閉じるボタン */
#cboxClose{position:absolute; top:0%; right:0%; transform:translate(50%,-50%); background:url("../../img/cmn/control.png") no-repeat -100px 0; width:50px; height:50px; text-indent:-9999px;}
#cboxClose:hover{background-position:-100px -50px;}

@media screen and (max-width:900px){
/* 前へボタン　*/
#cboxPrevious{position:absolute;top:50%;left:1%;transform:translateY(-50%);background:url("../../img/cmn/control_sp.png") no-repeat 0px 0; width:25px; height:25px; text-indent:-9999px;border:none;}
#cboxPrevious:hover{background-position:0px -25px;}

/* 次へボタン */
#cboxNext{position:absolute;top:50%;right:1%;transform:translateY(-50%);background:url("../../img/cmn/control_sp.png") no-repeat -25px 0; width:25px; height:25px; text-indent:-9999px;border:none;}
#cboxNext:hover{background-position:-25px -25px;}

/*閉じるボタン */
#cboxClose{background:url("../../img/cmn/control_sp.png") no-repeat -50px 0; width:25px; height:25px; text-indent:-9999px;}
#cboxClose:hover{background-position:-50px -25px;}
}

.searchModal {
    margin: 4px;
    border: 3px solid #393939;
    -webkit-box-shadow: 0 0 4px rgba(0,0,0,0.65);
    box-shadow: 0 0 4px rgba(0,0,0,0.65);
}
.cboxTitle {
    background-color: #333;
    line-height: 48px;
    font-size: 138%;
    font-weight: bold;
    text-align: center;
    color: #FFF;
}
.cboxTitle span {
    display: inline-block;
    padding-left: 31px;
    background: url(customimage/cbox_icon_search.gif) no-repeat 0 50%;
}
.cboxContent {
    padding: 26px 0 50px;
    width: 846px;
    background-image: url(customimage/cbox_bg_body.png);
}
.cboxSection {
    margin: 0 auto;
    width: 782px;
}
.cboxContent .cboxSection {
    margin-top: 46px;
}
.cboxContent .cboxSection:first-child {
    margin-top: 0;
}
.cboxSecTitle {
    margin-bottom: 3px;
    font-size: 167%;
    font-weight: bold;
}
.cboxContent ul {
    /zoom:1;
    margin-right: -8px;
}
.cboxContent ul:after {
    content:"";
    display: block;
    clear: both;
}
.cboxContent ul li {
    float: left;
    margin: 0 8px 6px 0;
}
.cboxMore {
    text-align: right;
}
.cboxMore a {
    font-weight: bold;
    color: #000;
    text-decoration: none;
}