@charset "UTF-8";

/*
Zarigani Design Office Drawer Menu
Copyright 2018 Zarigani Design Office

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
/* ドローボタン */
.toggle_button {
	display: block;
	float: left;
	border: 0;
	background: none;
	text-align: center;
	cursor: pointer;
}

.toggle_button i {
	display: block;
}

.fa-bars {
	color: #ffffff;
}

:focus , :active {
	outline: none;
}

.side_drawer_menu * {
	list-style: none;
	border: none;
	font: inherit;
	font-family: inherit;
	font-style: inherit;
	font-weight: inherit;
	font-size: 100%;
	text-align: left;
	text-decoration: none;
	outline: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.side_drawer_menu li {
	position: relative;
	min-height: 40px;
	color: #ffffff;
	line-height: 40px;
}

.side_drawer_menu a {
	display: block;
	overflow: hidden;
	color: #ffffff;
	font-weight: 400;
	white-space: nowrap;
	text-decoration: none;
	cursor: pointer;
}

.side_drawer_menu a:hover , .main_menu:hover , .main_menu.open {
	background-color: #ffffff;
	color: #333333;
}

/* メニューアイコン */
.menu-icon {
	font-family: "FontAwesome";
}

.side_drawer_bg {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	background-color: rgba(51, 51, 51, 0.5);
}

.side_drawer_menu .global_menu {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 1000;
	transform: translate(312px);
	height: 100%;
	background-color: #ffffff;
	transition: all 0.2s;
}

@media (max-height:554px) {
	.side_drawer_menu .global_menu {
		overflow-y: scroll;
	}
}

.side_drawer_menu .global_menu.open {
	transform: translate(0);
}

.side_drawer_menu.left .global_menu {
	right: auto;
	left: 0;
	transform: translate(-312px);
}

.side_drawer_menu.left .global_menu.open {
	z-index: 2;
	transform: translate(0);
	background: #3f4c6b; /* Old browsers */
	background: -moz-linear-gradient(top, #3f4c6b 0%, #3f4c6b 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #3f4c6b), color-stop(100%, #3f4c6b)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #3f4c6b 0%, #3f4c6b 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #3f4c6b 0%, #3f4c6b 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #3f4c6b 0%, #3f4c6b 100%); /* IE10+ */
	background: linear-gradient(to bottom, #535353 0%, #535353 100%); /* W3C */
}

@media (min-width:769px) {
	.side_drawer_menu .global_menu.open {
		width: 200px;
	}

	.side_drawer_menu li {
		font-size: 1.2em;
	}

	.menu-icon {
		display: block;
		float: left;
		width: 50px;
		height: 40px;
		padding-left: 16px;
		font-size: 20px;
		line-height: 40px;
	}

	.main_menu::after {
		height: 40px;
		line-height: 40px;
	}

	.sub_menu li a {
		padding: 0 16px 0 50px;
		font-size: 0.84em;
	}
}

@media (max-width:768px) {
	.side_drawer_menu .global_menu.open {
		width: 100%;
	}

	.side_drawer_menu a , .main_menu {
		padding: 30px 0;
		text-align: center;
	}

	.menu-icon {
		position: absolute;
		top: 28px;
		left: 33%;
	}

	.menu-icon:nth-child(2) {
		top: 27px;
	}

	.side_drawer_menu li {
		font-size: 3.2em;
	}

	.main_menu::after {
		height: 100px;
		line-height: 100px;
	}

	.sub_menu li a {
		font-size: 0.31em;
	}
}

@media (max-width:650px) {
	.menu-icon {
		left: 30%;
	}
}

@media (max-width:530px) {
	.menu-icon {
		left: 25%;
	}
}

@media (max-width:420px) {
	.menu-icon {
		left: 20%;
	}
}

@media (max-width:360px) {
	.menu-icon {
		left: 14%;
	}
}

@media (max-width:300px) {
	.menu-icon {
		left: 10%;
	}
}

@media (max-width:270px) {
	.menu-icon {
		left: 7%;
	}
}

@media (max-width:250px) {
	.menu-icon {
		left: 4%;
	}
}

.main_menu {
	display: block;
	position: relative;
	cursor: pointer;
}

/*ドロップダウン矢印*/
.main_menu::after {
	position: absolute;
	top: 0;
	right: 15px;
	font-family: "FontAwesome";
	content: "\f0d7";
}

.main_menu.open::after {
	transform: rotate(360deg);
	-ms-transform: rotate(360deg);
	-webkit-transform: rotate(360deg);
	content: "\f0d8";
}

.sub_menu li {
	display: block;
	position: relative;
	background: #3f4c6b;
	background: -moz-linear-gradient(top, #3f4c6b 0%, #3f4c6b 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#3f4c6b), color-stop(100%,#3f4c6b));
	background: -webkit-linear-gradient(top, #3f4c6b 0%,#3f4c6b 100%);
	background: -o-linear-gradient(top, #3f4c6b 0%,#3f4c6b 100%);
	background: -ms-linear-gradient(top, #3f4c6b 0%,#3f4c6b 100%);
	background: linear-gradient(to bottom, #3f4c6b 0%,#3f4c6b 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3f4c6b', endColorstr='#3f4c6b',GradientType=0 );
}
