/* ------------------------------
　　オフキャンバスのボタン
------------------------------ */
.offcanvas-btn {
	display: none;
}

@media screen and (max-width: $breakpoint-md-max) {
	.offcanvas-btn {
		position: fixed;
		right: 20px;
		bottom: 20px;
		z-index: 2;
		display: block;
		width: 50px;
		height: 50px;
		padding: 16px 0;
		background: $bg-color-dark;
		border: none;
		border-radius: 10px;
		cursor: pointer;
	}

	.offcanvas-btn-line {
		display: block;
		width: 20px;
		height: 3px;
		margin: 0 auto 4px auto;
		background: #FFFFFF;
	}
}

/* ------------------------------
　　オフキャンバス
------------------------------ */
@media screen and (min-width: $breakpoint-md-min) {

	.js-acms-offcanvas-body-right {
		left: -300px;
	}

	.js-acms-offcanvas-body-left {
		left: 300px;
	}

	.js-acms-offcanvas-active {
		& .js-acms-offcanvas-sidebar {
			width: 300px;
		}

		& .js-acms-offcanvas-sidebar-right {
			margin-right: -300px;
		}

		& .js-acms-offcanvas-sidebar-left {
			margin-left: -300px;
		}
	}

	.js-acms-offcanvas-body-right .js-acms-header-fixed {
		margin-left: -300px;
	}

	.js-acms-offcanvas-body-left .js-acms-header-fixed {
		margin-left: 300px;
	}
}