@charset "UTF-8";

/*==================================================
 初期設定
================================================== */
a {
	color: #333;
	text-decoration: none;
}

@media screen and (max-width: 768px) {
	body.no-scroll {
		overflow: hidden;
	}
}

/*==================================================
 本体
================================================== */
.slidesidebar-wrap {
	width: 100%;

	position: fixed;
	top: 0;
	left: 0;
	z-index: 5000;
}

.slidesidebar-inner {
	position: relative;
}

/* メイン部分
-------------------------------------------------- */
.slidesidebar {
	width: 220px;

	background: rgba(255,255,255,.98);
	box-shadow: 0 -2px 2px rgba(0,0,0,.2);

	position: absolute;
	top: 0;
	right: -220px;
	z-index: 200;

	box-sizing: border-box;

	transition: All .5s ease;
}

.open .slidesidebar {
	right: 0px;
}

.slidesidebar-main-contents {
	height: 100%;
	overflow-y: scroll;
}


/*==================================================
 マスク
================================================== */
.slidesidebar-mask {
	width: 100%;

	background: rgba(0,0,0,0);

	position: absolute;
	top: 0;
	right: -100%;
	z-index: 0;

	transition: all .3s ease;
}

.open .slidesidebar-mask {
	background: rgba(0,0,0,.3);

	right: 0%;
}


/*==================================================
 ハンバーガーメニュー
================================================== */
.slidesidebar-hamburger,
.slidesidebar-hamburger:hover {
	width: 50px;
	height: 50px;

	padding: 30px 0 0;

	text-align: center;
	color: #fff;
	font-size: 12px;
	font-family: 'メイリオ';
	font-weight: bold;
	letter-spacing: 0;
	text-decoration: none;

	background: #484b65;

	display: block;
	box-sizing: border-box;
	position: absolute;
	top: 15px;
	left: 0px;
	z-index: 100;

	cursor: pointer;
	transition: All .5s ease;
}

.slidesidebar-hamburger.view,
.open .slidesidebar-hamburger {
	left: -50px;
}

.slidesidebar-hamburger span {
	width: 26px;
	height: 3px;

	background: rgba(255,255,255,1);

	display: block;
	position: absolute;
	top: 17px;
	left: 12px;

	transition: All 0.5s ease;
}

.slidesidebar-hamburger span:before,
.slidesidebar-hamburger span:after {
	content: '';

	width: 26px;
	height: 3px;

	background: rgba(255,255,255,1);

	display: block;
	position: absolute;

	transition: All 0.5s ease;
}

.slidesidebar-hamburger span:before {
	top: -7px;
}

.slidesidebar-hamburger span:after {
	top: 7px;
}

/* open
-------------------------------------------------- */
.open .slidesidebar-hamburger span {
	background: rgba(255,255,255,0);
}

.open .slidesidebar-hamburger span:before {
	top: 0;
	transform: rotate(45deg);
}

.open .slidesidebar-hamburger span:after {
	top: 0;
	transform: rotate(-45deg);
}


/*==================================================
 クローズボタン
================================================== */
.slidesidebar-close-btn {
	text-align: center;
	line-height: 35px;
	font-family: 'メイリオ';
	text-decoration: none;

	border-top: 1px solid rgba(0,0,0,.1);
	border-bottom: 1px solid rgba(0,0,0,.1);

	display: block;
	cursor: pointer;
}

/*==================================================
 コンテンツ
================================================== */
/* ロゴ
-------------------------------------------------- */
.slidesidebar-logo {
	padding: 15px;
	text-align: center;
}

/* ナビ
-------------------------------------------------- */
.slidesidebar-nav a {
	padding: 0 0 0 15px;
	line-height: 35px;
	text-decoration: none;
	border-top: 1px solid rgba(0,0,0,.05);
	background: url(../images/common/ico_arrow01.png) left 5px center no-repeat;
	display: block;
}
