/*
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; overflow-y:auto; -webkit-overflow-scrolling: touch;}
#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;}
#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:#000; background:#fff;}
#colorbox{outline:0;}
#cboxContent{ margin:1em 0 2em 0; overflow:visible; /*background:#633;*/ }
.cboxIframe{ background:#fff; display:block;width: 100% !important;}
#cboxError{ padding:50px; border:1px solid #ccc;}
#cboxLoadedContent{background:#fff;border: 2px solid #7eceff;/*border-radius: 15px;*/}
#cboxLoadingGraphic{background:url(../img/loader.gif) no-repeat center center;}
#cboxLoadingOverlay{background:#00a4d4; /*border-radius:15px;*/}
#cboxTitle{position:absolute; top:-50px; left:0; color:#000;}
#cboxCurrent{position:absolute; top:-50px; right:205px; text-indent:-9999px;}

/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
#cboxPrevious, #cboxNext, #cboxSlideshow {border:0; padding:0; margin:0; overflow:hidden; width:auto; height:auto; position:absolute; top:-1.25em; right:10px; font-size:2em; vertical-align:middle; display:none !important; }
#cboxClose { border:0; padding:0; margin:0;width:60px !important; min-width:60px; height:60px !important; position:absolute;  top:-0.5em; right:0.1em; font-size:2em; 
		background:#0099bc url(images/close.png) center center /30px no-repeat;color:#fff; z-index:10000; border-radius:0.3em; text-indent: -8989px;display: block;overflow: hidden;transition: 0.5s;}
#cboxClose:hover{background-color: #80bac8;}

/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
#cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}
/*
#cboxPrevious{background-position:0px 0px; right:44px; display:none;}
#cboxPrevious:hover{background-position:0px -25px;}
#cboxNext{background-position:-25px 0px; right:22px; display:none;}
#cboxNext:hover{background-position:-25px -25px;}
#cboxClose {background-position:-40px 0px; right:0; color:#fff;}
#cboxClose:hover{background-position:0px 0px;}
.cboxSlideshow_on #cboxPrevious, .cboxSlideshow_off #cboxPrevious{right:66px;  display:none;}
.cboxSlideshow_on #cboxSlideshow{background-position:-75px -25px; right:44px;}
.cboxSlideshow_on #cboxSlideshow:hover{background-position:-100px -25px;}
.cboxSlideshow_off #cboxSlideshow{background-position:-100px 0px; right:44px;}
.cboxSlideshow_off #cboxSlideshow:hover{background-position:-75px -25px;}
*/


/*備考表示01*/
.note { position:absolute; top:0; left:0; right:0; bottom:0; width:100%; height:100%; display:none; }
.close_overlay {  top:0; left:0; right:0; bottom:0; width:100%; height:100%; text-indent:-9999px; position:fixed; background:#000; opacity: 0.7; z-index:5; }
.modal_window { top:50%; left:50%; margin:-100px 0 0 -200px; padding:20px; width:400px; height:200px; background:#fff; display:block; box-sizing: border-box;  position:fixed; z-index:10; font-size:1.2em; }
.modal_window h2 { margin-bottom:20px; width:400px; height:30px; line-height:30px; color:#fff; font-weight:bold; text-align:left; text-indent:15px; background:#000; }
.modal_window p { padding:0 15px 15px 15px; line-height:160%; text-align:left; }
.modal_window .close {border:0; padding:0; margin:0; overflow:visible; text-decoration:none; width:auto; height:auto; position:absolute; top:-1.25em; right:10px; font-size:2em; background:url(../img/close.png) no-repeat 0 0; vertical-align:middle; color:#fff; }

/* CSS3 ModalWindow SET-------------------------- */
@keyframes modalFadeIn {
0% {opacity:0;display:block;}
100% {opacity:1;}
}
div.modal div:target {-webkit-animation-name:modalFadeIn; -webkit-animation-duration:1s; -webkit-animation-iteration-count:1; opacity:1; display:block; }
 
@keyframes modalScale {
0% {opacity:0;display:block; -webkit-transform:scale(0);}
100% {opacity:1; -webkit-transform:scale(1);}
}
div.modal div:target .modal_window {-webkit-animation-name:modalScale; -webkit-animation-duration:1s; -webkit-animation-iteration-count:1; -webkit-transform:scale(1); opacity:1; display:block;}
