@charset "utf-8";

/* ------------------------------------------------------- */
/* global menu ------------------------------------------- */
/* ------------------------------------------------------- */

#globalmenu {
}
#globalmenu ul {
	display: flex;
}
#globalmenu ul li {
	margin: 0 50px 0 0;
}
#globalmenu ul li:last-child {
	margin: 0;
}
#globalmenu ul li a {
	display: block;
	width: 100%;
	height: 77px;
	padding-top: 17px;
	font-size: 1.5rem;
	font-weight: bold;
	letter-spacing: 0.125rem;
	text-align: center;
	text-decoration: none;
	color: #0a0a0a;
}
#globalmenu ul li.menu-item-has-children:hover > a {
	color: #ec79a7;
	border-bottom: solid 5px #ec79a7;
}
#globalmenu ul ul {
	position: absolute;
	display: none;
	width: 100%;
	top: 150px;
	left: 0;
	background: #f7f7f7;
	border-top: solid 1px #e0e0e0;
	border-bottom: solid 1px #e0e0e0;
}
#globalmenu ul ul.active {
	display: flex!important;
}
#globalmenu ul ul::before,
#globalmenu ul ul::after {
	content: "";
	display: block;
	width: calc(( 100vw - 1440px ) / 2 );
	height: 70px;
	background: #f7f7f7;
	border-top: solid 1px #e0e0e0;
	border-bottom: solid 1px #e0e0e0;
	position: absolute;
	top: -1px;
}
#globalmenu ul ul::before {
	border-right: solid 1px #e0e0e0;
	left: calc(( 1440px - 100vw ) / 2 );
}
#globalmenu ul ul::after {
	border-left: solid 1px #e0e0e0;
	right: calc(( 1440px - 100vw ) / 2 );
}
#globalmenu ul ul li {
	display: block;
	min-width: calc( 100% / 6 );
	margin: 0;
}
#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 ul ul li a {
	display: block;
	width: 100%;
	height: 70px;
	color: #0a0a0a;
	padding: 0;
	line-height: 70px;
	font-size: 1.4rem;
	border-right: solid 1px #e0e0e0;
}
#globalmenu ul ul li:nth-of-type(6) a {	border-right: none; }

#globalmenu ul ul.sub-menu > li:hover > a {
	color: #ec79a7;
}

/*#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:1440px) {
	#globalmenu ul ul::before,
	#globalmenu ul ul::after {
		display: none;
	}
	#globalmenu ul ul::before {
		left: 0;
	}
	#globalmenu ul ul::after {
		right: 0;
	}
}
@media only screen and (max-width: 1200px) {
	#globalmenu ul li {
		margin: 0 25px 0 0;
	}
	#globalmenu ul li:last-child {
		margin: 0;
	}
	#globalmenu ul li a {
		display: block;
		width: 100%;
		height: 77px;
		padding-top: 17px;
		font-size: 1.5rem;
		font-weight: bold;
		letter-spacing: 0.125rem;
		text-align: center;
		text-decoration: none;
		color: #0a0a0a;
	}
}
@media only screen and (max-width:999px) {
#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: #f5f5f5;
	color: #000;
	z-index: 995;
	padding-top: 70px;
	-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 solid #ccc;
}
#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: #000;
	display: block;
	padding: 10px;
	text-decoration: none;
}
#drawernav ul li a:hover {
	background: #eee;
}
#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;
	margin: 5px 5px 0 0;
	text-align: center;
}
.humbergerMenu{
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	font-size: 1.2rem;
	color: #fff;
	background: var(--main-color);
}
.humbergerMenu::before {
	content: "MENU";
}
.drawer-opened .humbergerMenu::before {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	content: "\f00d";
}
.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.6;
	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";
	}
}