@charset "utf-8";

/* ------------------------------------------------------- */
/* global menu ------------------------------------------- */
/* ------------------------------------------------------- */

#humberger {
    display: none;
}
#globalmenu {
}
#globalmenu ul {
}
#globalmenu ul li {
	position: relative;
	width: 100%;
	display: flex;
	align-items: center;
}
#globalmenu ul li.consultation_request_for_materials {
	padding: 50px 15px;
}
#globalmenu nav > ul > li > a {
    text-decoration: none;
    width: 100%;
    padding: 20px 15px;
    display: flex;
    align-items: center;
    color: #333;
    border-bottom: solid 1px #eee;
    font-weight: 700;
}
#globalmenu ul li.consultation_request_for_materials a {
	border: none;
    background: #2c6841;
    color: #fff;
	justify-content: center;
}
#globalmenu ul li.consultation_request_for_materials a::before {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	content: "\f15b";
	margin-right: 10px;
}
#globalmenu ul li:hover {
	background: #fff2e5;
	transition: all 0.3s;
}
#globalmenu ul li.menu-item-has-children:hover::after {
	content: "";
    width: 0;
    height: 0;
    display: block;
    border-top: 20px solid transparent;
    border-right: 25px solid rgba(233,133,26);
    border-bottom: 20px solid transparent;
	transition: all 0.3s;
}
#globalmenu ul li.consultation_request_for_materials:hover {
	background: #fff;
}
#globalmenu ul li > div {
    width: 600px;
    height: 100vh;
    background: rgba(233,133,26,0.95);
    z-index: 900;
    position: fixed;
    top: 0;
    left: 260px;  
    padding: 30px;
    opacity: 0; 
    visibility: hidden;
    transition: all 0.3s;
    overflow-y: scroll;
}
#globalmenu ul li > div::-webkit-scrollbar {width: 10px;}
#globalmenu ul li > div::-webkit-scrollbar-thumb {background: #444;}
#globalmenu ul li > div::-webkit-scrollbar-track {background: rgba(255,255,255, 0.5);}
#globalmenu ul li:hover > div {
    opacity: 1;
    visibility: visible;
}
#globalmenu ul ul {
	display: none;
	display: flex;
    flex-wrap: wrap;
}
#globalmenu ul ul li {
	width: 100%;
}
/*#globalmenu ul ul li.gmsub a {padding-right: 20px;}
#globalmenu ul ul li.gmsub li a {padding-right: 0;}
.gmsub a::after {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	content: "\f0da";
	position: absolute;
	right: 5px;
    top: 50%;
    margin-top: -12px;
}
.gmsubNone a::after {
	content: "";
	position: static;
	right: 0;
}*/
#globalmenu nav ul ul li a {
    text-decoration: none;
    width: 100%;
    padding: 25px 15px;
    display: flex;
    color: #fff;
    border-bottom: dashed 1px #fff;
    font-weight: 700;
}
#globalmenu ul ul li a:hover {
	color: rgba(233,133,26,0.95);
	background: rgb(249 148 40);
}
#globalmenu ul ul ul {
	top: -1px;
	left: 100%;
	position: absolute;
	display: none;
}
#globalmenu ul ul ul li {
	border-top: none;
	border-bottom: 1px solid #fff;
}
#globalmenu ul ul ul a {
	background-color: #999;
    padding: 15px 5px!important;
}
#globalmenu ul ul ul a:hover {
	background-color: #666;
}
#drawernav {
	display: none;
}

@media only screen and (max-width:768px) {
#globalmenu {
	position: static;
	display: none;
}
/*スマートフォン用メニュー*/
#page {
	padding-top: 50px;
	position: relative;
	z-index: 999;
	left: 0;
	background: #fff;
	-webkit-transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
	-moz-transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
	-o-transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
	transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000); /* easeInOutExpo */
	-webkit-transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000);
	-moz-transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000);
	-o-transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000);
	transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000); /* easeInOutExpo */
}
#drawernav {
	display: block;
	overflow-y: scroll;
	position: fixed;
	top: 0;
	right: -240px;
	width: 240px;
	height: 100%;
	background: #e9851a;
	color: #fff;
	z-index: 995;
	padding-top: 45px;
	-webkit-transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
	-moz-transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
	-o-transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
	transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000); /* easeInOutExpo */
	-webkit-transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000);
	-moz-transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000);
	-o-transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000);
	transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000); /* easeInOutExpo */
}
#drawernav ul {
	list-style: none;
	padding: 0;
}
#drawernav ul li {
	border-bottom: 1px dashed #fff;
}
#drawernav ul li a::before {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	content: "\f105";
	padding: 0 5px 0 0;
}
#drawernav ul li a.gmc::before {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	content: "\f107";
}
#drawernav ul li ul {
	margin: 0 0 0 20px;
}
#drawernav ul li ul li:last-child {
	border-bottom: none;
}
#drawernav ul li a {
	color: #fff;
	display: block;
	padding: 10px;
	text-decoration: none;
}
#drawernav ul li a:hover {
	background: #FF992D;
}
#drawernav h4 {
	padding: 0 15px;
}
#humberger {
	position: fixed;
    top: 0;
    right: 0;
    z-index: 997;
    cursor: pointer;
    box-sizing: border-box;
    display: none;
    display: block;
    width: 40px;
    height: 40px;
    line-height: 42px;
    border-radius: 50%;
    margin: 10px 10px 0 0;
    text-align: center;
    font-size: 1.2rem;
    color: #ffffff;
    background: #e9851a;
}
.drawer-opened #humberger {
    background: #fff;
}
.icon-bar {
	height: 2px;
	background: #333;
	display: block;
	margin-bottom: 6px;
	-webkit-transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
	-moz-transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
	-o-transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
	transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000); /* easeInOutExpo */
	-webkit-transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000);
	-moz-transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000);
	-o-transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000);
	transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000); /* easeInOutExpo */
}
.humbergerMenu::before {
	/*content: "MENU";*/
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	content: "\f0c9";
	font-size: 1.8rem;
}
.drawer-opened .humbergerMenu::before {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	content: "\f00d";
	color: #e9851a;
}
.fixed-content {
	right: inherit;
	width: 100%;
	z-index: 996;
	-webkit-transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
	-moz-transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
	-o-transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
	transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000); /* easeInOutExpo */
	-webkit-transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000);
	-moz-transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000);
	-o-transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000);
	transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000); /* easeInOutExpo */
}
#overlay {
	z-index: -1;
	opacity: 0;
	background: #000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	position: fixed;
	-webkit-transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
	-moz-transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
	-o-transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
	transition: all 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000); /* easeInOutExpo */
	-webkit-transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000);
	-moz-transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000);
	-o-transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000);
	transition-timing-function: cubic-bezier(1.000, 0.000, 0.000, 1.000); /* easeInOutExpo */
}
/**
* ドロワー開放時のスタイル
**/

body.drawer-opened #page {
	left: -240px;
	-webkit-box-shadow: 1px 0 2px #000;
	box-shadow: 1px 0 2px #000;
}
body.drawer-opened .fixed-content {
	left: -240px;
}
body.drawer-opened #drawernav {
	right: 0;
}
#gmenu {
	display: none;
}
#humberger {
	display: block;
}
body.drawer-opened #humberger .icon-bar {
	background: #fff;
}

body.drawer-opened #overlay {
	z-index: 997;
	opacity: 0.3;
	left: -240px;
}

	/*drawer の開閉*/
	#drawernav ul li.menu-item-has-children ul { display: none; }
    #drawernav ul li.menu-item-has-children > a {
        padding-right: 30px;
		position: relative;
    }
	#drawernav ul li.menu-item-has-children > a:after {
		font-family: "Font Awesome 5 Free";
		font-weight: 400;
		content: "\f0fe";
		padding: 0 5px 0 0;
        position: absolute;
		font-size: 2.0rem;
		right: 0;
        top: 7px;
	}
	#drawernav ul li.menu-item-has-children > a.active:after {
		content: "\f146";
	}
}