/*
    Colorbox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
#colorbox {
	outline: 0;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 121;
	overflow: hidden;
	-webkit-transform: translate3d(0, 0, 0);
	box-sizing: content-box;
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box;
}
#cboxWrapper {
	max-width: none;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 121;
	overflow: hidden;
	-webkit-transform: translate3d(0, 0, 0);
}
#cboxOverlay {
	position: fixed;
	width: 100%;
	height: 100%;
	background: #000;
	top: 0;
	left: 0;
	z-index: 121;
	overflow: hidden;
	-webkit-transform: translate3d(0, 0, 0);
}
#cboxContent {
	position: absolute;
	top: 0;
	left: 0;
	border: 0;
	padding: 0;
	margin: 40px 40px 0 0;
	overflow: visible;
	background: #fff;
	display: block;
	box-sizing: content-box;
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box;
}
@media only screen and (max-width: 767px) {
#cboxContent {
	margin: 40px 40px 0 0;
}
}
/* 閉じるボタン */
#cboxClose {
	position: absolute;
	top: -40px;
	right: -40px;
	width: 40px;
	height: 40px;
	border: 0;
	padding: 0;
	margin: 0;
	text-indent: -9999px;
	overflow: visible;
	display: block;
	background-color: none;
	cursor: pointer;
}
@media only screen and (max-width: 767px) {
#cboxClose {
	top: -40px;
	right: 0px;
	width: 40px;
	height: 40px;
}
}
#cboxClose::before,
#cboxClose::after {
	content: '';
	position: absolute;
	height: 2px;
	width: 100%;
	background: #fff;
	border-radius: 5px;
	right: 50%;
	bottom: 50%;
	}
#cboxClose::before {
  transform: translate(50%,50%) rotate(45deg);
}
#cboxClose::after {
  transform: translate(50%,50%) rotate(-45deg);
}
button {
    border: none;  /* 枠線を消す */
    outline: none; /* クリックしたときに表示される枠線を消す */
    background: transparent; /* 背景の灰色を消す */
}
#cboxLoadedContent {
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	padding: 1px;
	box-sizing: content-box;
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box;
}
#cboxMiddleLeft,
#cboxBottomLeft {
	clear: left;
}
#cboxLoadingGraphic {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url(images/loading.gif) no-repeat center center;
}
#cboxLoadingOverlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.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;
}
/* 
    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.
*/
#cboxError {
	padding: 50px;
	border: 1px solid #ccc;
}
#cboxTitle {
	position: absolute;
	top: -22px;
	left: 0;
	margin: 0;
	color: #fff;
}
#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 */
#cboxPrevious,
#cboxNext,
#cboxSlideshow {
	border: 0;
	padding: 0;
	margin: 0;
	overflow: visible;
	text-indent: -9999px;
	width: 20px;
	height: 20px;
	position: absolute;
	top: -20px;
	background: url(images/controls.png) no-repeat 0 0;
	cursor: pointer;
}
/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
#cboxPrevious:active,
#cboxNext:active,
#cboxSlideshow:active {
	outline: 0;
}
#cboxPrevious {
	background-position: 0px 0px;
	right: 44px;
}
#cboxPrevious:hover {
	background-position: 0px -25px;
}
#cboxNext {
	background-position: -25px 0px;
	right: 22px;
}
#cboxNext:hover {
	background-position: -25px -25px;
}
/*#cboxClose:active {
	outline: 0;
} */
/*#cboxClose:hover {
	background-position: -50px -25px;
}*/

.cboxSlideshow_on #cboxPrevious, .cboxSlideshow_off #cboxPrevious {
	right: 66px;
}
.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;
}
