@charset "utf-8";

/* ---------------------------------------------------------- */
/* magnific-popup */
/* ---------------------------------------------------------- */
/* 背景 */
.mfp-bg {
	background: none;
	}

/* 左右の幅 */
.mfp-container {
	padding-left: 20px;
	padding-right: 20px;
	}

/* 閉じるボタン */
button.mfp-close ,
.mfp-close {
	width: 40px !important;
	height: 40px;
	background: url(../images/btn_close.png) no-repeat;
	background-size: 40px 40px;
	top: 20px !important;
	right: -20px !important;
	opacity: 1;
	display: block;
	padding: 0;
	z-index: 100;
	cursor: pointer;
	}

button.mfp-close {
	overflow: hidden;
	text-indent: 120%;
	white-space: nowrap;
	cursor: pointer;
	}

/* フェード */
.mfp-fade.mfp-bg {
	opacity: 0;
	-webkit-transition: all 0.15s ease-out;
	-moz-transition: all 0.15s ease-out;
	transition: all 0.15s ease-out;
	}

.mfp-fade.mfp-bg.mfp-ready {
	opacity: 0.7;
	}

.mfp-fade.mfp-bg.mfp-removing {
	opacity: 0;
	}

.mfp-fade.mfp-wrap .mfp-content {
	opacity: 0;
	-webkit-transition: all 0.5s ease-out;
	-moz-transition: all 0.5s ease-out;
	transition: all 0.5s ease-out;
	}

.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
	opacity: 1;
	}

.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
	opacity: 0;
	}

/* 最初の動画 */
#popup {
	max-width: 900px;
	margin: 0 auto;
	position: relative;
	}

#popup .movie {
	height: 0;
	border: 5px solid #fff;
	padding: 0 0 56.25% 0;
	overflow: hidden;
	position: relative;
	}

#popup .movie iframe {
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	position: absolute;
	}

/* 動画ポップアップ */
.mfp-iframe-scaler.pop-movie iframe {
	border: 5px solid #fff;
	}

/* インラインポップアップ */
.pop-inline {
	max-width: 900px;
	background: rgba(255,255,255,0.9);
	border-radius: 30px;
	margin: 40px auto;
	padding: 40px;
	position: relative;
	}

.pop-inline {
	color: #000;
	max-width: 900px;
	background: rgba(255,255,255,0.9);
	border-radius: 30px;
	margin: 40px auto;
	padding: 40px;
	position: relative;
	}

.pop-inline .title {
	font-size: 2.0rem;
	font-weight: bold;
	margin: 0 0 20px 0;
	padding: 0 50px 0 0;
	}

.pop-inline.scroll {
	padding: 40px 31.5px 40px 40px;
	}

.pop-inline .mfp-close {
	top: 20px !important;
	right: 20px !important;
	}

.pop-inline .mfp-close:active {
	top: 20px !important;
	}

.pop-inline img {
	width: 100%;
	}

@media (max-width: 640px){
/* 左右の幅 */
.mfp-container {
	padding-left: 10px;
	padding-right: 10px;
	}

/* 閉じるボタン */
button.mfp-close ,
.mfp-close {
	width: 30px !important;
	height: 30px;
	background-size: 30px 30px;
	top: -10px;
	right: -10px;
	}

button.mfp-close ,
.mfp-close:active {
	top: -10px !important;
	right: -10px !important;
	}

/* インラインポップアップ */
.pop-inline {
	border-radius: 10px;
	padding: 30px 10px;
	}

.pop-inline .title {
	font-size: 1.8rem;
	margin: 0 0 20px 0;
	padding: 0 30px 0 0;
	}

.pop-inline.scroll {
	padding: 30px 15px 30px 10px;
	}

.pop-inline .mfp-close {
	top: 10px !important;
	right: 10px !important;

	}
.pop-inline .mfp-close:active {
	top: 10px !important;
	}
}


/* ---------------------------------------------------------- */
/* custom-scrollbar */
/* ---------------------------------------------------------- */
.mCSB_scrollTools {
	width: 15px;
	opacity: 1;
	filter: "alpha(opacity=100)";
	-ms-filter: "alpha(opacity=100)";
	}

.mCSB_scrollTools .mCSB_dragger {
	cursor: default;
	}

.mCSB_scrollTools .mCSB_draggerRail {
	width: 15px;
	}

.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar ,
.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar ,
.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar ,
.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar {
	width: 15px;
	background-color: #272727;
	border-radius: 0;
	opacity: 1;
	}

.mCSB_scrollTools .mCSB_draggerRail {
	width: 15px;
	background-color: #909ba6;
	border-radius: 0;
	opacity: 1;
	}

.mCSB_inside > .mCSB_container {
	margin-right: 45px;
	}

@media (max-width: 768px){
.mCSB_scrollTools,
.mCSB_scrollTools .mCSB_draggerRail,
.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar ,
.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar ,
.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar ,
.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar ,
.mCSB_scrollTools .mCSB_draggerRail {
	width: 10px;
	}

.mCSB_inside > .mCSB_container {
	margin-right: 25px;
	}
}