/*-----------------------------------------
   ハンバーガーメニュー
-----------------------------------------*/

#toggle {
    position: fixed;
    top: 10px;
    right: 10px;
	padding: 12px 12px 9px;
	cursor: pointer;
	z-index: 1000;
	background-color: #656F79;
}

#toggle_box {
    position: relative;
    width: 28px;
    height: 16px;
	margin: 0 3px;
}

#toggle_box > span {
	position: absolute;
	width: 100%;
	height: 1px;
	left: 0;
	display: inline-block;
	background: #FFF;
	transition: transform .6s ease-in-out, top .5s ease, bottom .5s ease;
}

#toggle_box > span:nth-child(1) {
    top: 0;
}
#toggle_box > span:nth-child(2) {
    top: 50%;
    transform: translatey(-50%);
}
#toggle_box > span:nth-child(3) {
    bottom: 0;
}

.is_open {
    overflow: hidden;
}

.is_open #toggle_box > span {
    background: #FFF;
}

.is_open #toggle_box > span:nth-child(1) {
	top: 60%;
	transform: rotate(45deg) translatey(-50%);
}

.is_open #toggle_box > span:nth-child(2) {
	width: 0;
}

.is_open #toggle_box > span:nth-child(3) {
	top: 60%;
	transform: rotate(-45deg) translatey(-50%);
}

#toggle .txt {
	display: block;
	width: 100%;
	text-align: center;
	color: #FFF;
	line-height: 10px;
	font-size: 10px;
	margin: 0 ;
	padding: 10px 0 0 0;
}

.is_open #nav_content {
  z-index: 999;
  transform: translateX(0);
}

/*-----------------------------------------
   メニュー
-----------------------------------------*/

/*#main {
    position: relative;  
    z-index: 990;
}*/

#nav_content {
	position: fixed;
    z-index: 900;
    overflow: auto;
    width: 100%;
    height: 100%;
	background: #FFF; /*背景色*/
    color: #000; /*文字色*/
    top: 0;
    right: 0;
    transform: translateX(100%);
    transition: transform 1s cubic-bezier(0.215, 0.61, 0.355, 1);
}

#nav_content .menu_logo {
	padding: 20px;
}

#nav_content .menu_logo img {
    width: 50%;
	min-width: 240px;
	max-width: 370px;
}

#nav_content .menu {
	margin: 0 auto;
	padding: 5px 10% 25px;
	height: 100%;
	overflow: auto;
}

#nav_content .menu > li {
	list-style-type: none;
    width: 100%;
    transition: .4s all;
    border-bottom: 1px solid rgba(112,112,112,0.2);
}

#nav_content .menu > li > a {
    display: block;
    color: #000;
    padding: 4% 3%;
    text-decoration: none;
    font-weight: normal;
}

#nav_content .menu > li a:link { color: #000; text-decoration: none; font-weight: normal; }
#nav_content .menu > li a:visited { color: #000; text-decoration: none; font-weight: normal; }
#nav_content .menu > li a:hover { color: #000; text-decoration:none; font-weight: normal; }

/*------- 文字の強調 -------*/

#nav_content .menu li a.strong { color: #F69849; font-weight: 600; }
#nav_content .menu li a.strong:link { color: #F69849; text-decoration: none; font-weight: 600; }
#nav_content .menu li a.strong:visited { color: #F69849; text-decoration: none; font-weight: 600; }
#nav_content .menu li a.strong:hover { color: #F69849; text-decoration:none; font-weight: 600; }

/*-----------------------------------------
   サブメニュー
-----------------------------------------*/

.sub_menu {
	position: relative;
	width: 65%;
	max-width: 300px;
	margin:  -60px auto 100px;
	border: solid 1px #502E09;
	background: #FFF;
	box-sizing: border-box;
}

.sub_menu a {
    display: block;
	width: 100%;
	color: #502E09;
	text-align: center;
	font-size: 1.5rem;
	line-height: 20px;
	font-weight: 600;
	padding: 15px 30px;
	box-sizing: border-box;
}

.sub_menu:before,
.sub_menu:after {
	position: absolute;
	top: 50%;
	right: 14px;
	height: 1px;
	background: #9C8D9B;
	content: '';
}

.sub_menu:before {
	width: 12px;
	transform: translateY(-50%);
}

.sub_menu:after {
	width: 6px;
	transform: translateY(-50%) rotate(45deg);
	transform-origin: right center;
}

.sub_menu a:link { color: #9C8D9B; text-decoration: none; font-weight: 600; }
.sub_menu a:visited { color: #9C8D9B; text-decoration: none; font-weight: 600; }
.sub_menu a:hover { color: #9C8D9B; text-decoration:none; font-weight: 600; }

/*-----------------------------------------
   アコーディオンメニュー
-----------------------------------------*/

.nav_open {
	position: relative;
	padding: 4% 3%;
}

.nav_open::before {
	position: absolute;
	content: "";
	top: calc(50% - 5px);
    right: 12px;
    width: 6px;
    height: 6px;
    border-style: solid;
    border-width: 2px 2px 0 0;
    border-color: #8D0000; /*アイコン色*/
    transform: rotate(135deg);
}

.nav_open.active::before {
	top: calc(50% - 5px);
	transform: rotate(-45deg);
}

.nav_open + ul {
	display: none;
}

.nav_open + ul li a {
	display: block;
	background-color: rgba(112,112,112,0.09);
	padding: 3% 3% !important;
	margin-bottom: 10px;
	border-radius: 10px;
	text-align: center !important;
}


