nav {
	width: 700px;
	position: absolute;
	z-index: 990;
	right: 30px;
	top: 50px;
}
#top_nav {
	display: none;
	transition: opacity 0.3s ease;
}
/* ====== PC時：スクロール後の固定ヘッダー ====== */
#top_header.fixed {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	box-shadow: 0px 5px 5px hsla(0,0%,0%,0.13);
	background: #fff;
}
#top_header.fixed #top_nav {
	display: block;
	opacity: 1;
}
#main_ul  {
	text-align: right;
	white-space: nowrap;
	width: 540px;
	display: block;
	min-width: 100%;
}
#main_ul li  {
	display: inline-block;
	position: relative;
	cursor: pointer;
	transition: 0.5s;
	margin-left: 100px;
}
#main_ul li:hover {
	color: #A02124;
}
#main_ul li a {
	transition: 0.5s;
}
#main_ul li a:hover{
	color: #A02124;
}
.sub {
	display: inline-block;
}
.root {
	color: hsla(0,0%,0%,1.00);

}

.child {
	position: absolute;
	top: 28px;
	left: -32px;
	padding: 15px 10px 10px;
	background-color: hsla(0,0%,100%,0.90);
	box-shadow: 10px 4px 10px hsla(0,0%,0%,0.47);
	display: none;
	white-space: normal;
	border-radius: 10px;
	text-align: left;
	width: 140px;
}
.child li {
	margin-bottom: 10px;
	display: block;
	color: hsla(0,0%,0%,1.00);
	margin-left: 0px !important;
	margin-right: 0px !important;
	width: 100%;
	white-space: nowrap;
}
.child li a {
	color: hsla(0,0%,0%,1.00) !important;
}
.child li a:hover {
	color: #A02124 !important;
}

.footer_nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	list-style: none;
	padding: 0;
	margin: 0 0 30px;
	width: 500px;
}
.footer_nav li {
	display: inline-block;
	color: #969594;
	transition: 0.5s;
	position: relative;
}
.footer_nav li a{
	transition: 0.5s;
	color: #FFFFFF;
}

.footer_nav li a:hover{
	color: #CC5F00
}

@media (max-width: 1024px){
nav {
	width: 700px;
	position: absolute;
	z-index: 990;
	right: 30px;
	top: 50px;
	margin-right: 99px;
}
#main_ul  {
	text-align: right;
	white-space: nowrap;
	width: 540px;
	display: block;
	min-width: 100%;
}
#main_ul li  {
	display: inline-block;
	position: relative;
	cursor: pointer;
	transition: 0.5s;
	margin-left: 70px;
}

.footer_nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	list-style: none;
	padding: 0;
	margin: 0 0 30px;
	width: 500px;
}
.footer_nav li {
	display: inline-block;
	color: #969594;
	transition: 0.5s;
	position: relative;
}
.footer_nav li a{
	transition: 0.5s;
	color: #FFFFFF;
}

}

@media (max-width: 540px){
#menuButton {
	display: block;
	width: 55px;
	height: 55px;
	position: fixed;
	top: 7px;
	right: 20px;
	z-index: 3;
	border-radius: 5px;
	border: 1px solid #000000;
	cursor: pointer;
}
#menuButton span {
	display: block;
	background: #000;
	width: 35px;
	height: 2px;
	position: absolute;
	left: 9px;
	transition: all 0.4s;
}
#menuButton span:first-child {
	top: 15px;
}
#menuButton span:nth-child(2) {
	margin-top: -1px;
	top: 50%;
}
#menuButton span:last-child {
	bottom: 15px;
}
#menuButton.active span:first-child {
	transform: translateY(10px) rotate(45deg);
}
#menuButton.active span:nth-child(2) {
	opacity: 0;
}
#menuButton.active span:last-child {
	transform: translateY(-10px) rotate(-45deg);
	border-radius: 10px;
	border: 1px solid hsla(0,0%,0%,1.00);
}
#nav_button{
	position: absolute;
}
nav {
	position: absolute;
	left: 0px;
	z-index: 200;
	top: 70px;
	margin-left: 0px;
	padding: 0px;
	width: 540px;
	height: 0;
}

#top_nav {
	display: block;
}
#main_ul  {
	text-align: center;
	padding-right: 0px;
	padding-left: 0px;
	padding-bottom: 30px;
	width: 540px;
	display: none;
	background-color: hsla(0,0%,100%,0.90);
	white-space: normal;
	box-shadow: 0px 10px 10px 0px hsla(0,0%,0%,0.28);
	padding-top: 20px;
}
#main_ul li  {
	display: inline-block;
	position: relative;
	cursor: pointer;
	transition: 0.5s;
	border-radius: 5px;
	border: 1px solid hsla(0,0%,56%,1.00);
	text-align: center;
	margin: auto;
	padding: auto;
	width: auto;
	height: auto;
	color: hsla(0,0%,0%,1.00);
}
#main_ul li a {
	transition: 0.5s;
	color: #000;
	width: 100%;
	height: 100%;
	display: inline-block;
	background-color: hsla(0,0%,100%,0.21);
	padding: 10px;
	border-radius: 5px;
}
#main_ul li a:hover{
	color: #fff;
	background-color: #264f3c;
}
#main_ul li:hover{
	color: #fff;
}
.sub {
	display: block;
	width: 540px !important;
	margin-bottom: 10px;
	white-space: normal;
}
.sub li {
	margin-bottom: 10px !important;
	width: 45% !important;
}


.root {
	color: hsla(0,0%,0%,1.00);
	border-style: none !important;
	display: block;
	width: 540px !important;
	margin-bottom: 20px;
	text-align: center;
	margin-right: auto;
	margin-left: auto;
	height: auto;

}

.child {
	position: relative;
	top: 10px;
	width: 100%;
	left: 0px;
	background-color: hsla(0,0%,76%,0.00);
	box-shadow: 10px 4px 10px hsla(0,0%,0%,0.00);
	display: block;
	padding: 0px;
	height: auto !important;
	margin-bottom: 15px;
	text-align: center;
}
.child li {
	margin-bottom: 10px !important;
	display: inline-block;
	width: 45% !important;
	text-align: center;
}
.child li a:hover {
	color: #fff !important;
}
#footer_nav {
	text-align: center;
	margin-bottom: 28px;
	background-color: #5B6790;
	height: 111px;
	padding-top: 18px;
}

#footer_nav li {
	display: inline-block;
	margin-right: 0px;
	margin-left: 0px;
	transition: 0.5s;
	position: relative;
	margin-bottom: 20px;
	width: 32%;
}

#footer_nav li a{
	transition: 0.5s;
	color: #FFFFFF;
}

#footer_nav li a:hover{
	color: #CCCC00;
}
}
