/*ヘッダーメニュー*/
#header_menu_table {
	width:100%;
}
#header_menu_table td {
	position: relative;
}
#header_menu_table a {
	display:block;
}

#header_menu_table a i {
	color: #666;
}
#header_menu_table a .text {
	color: #666;
}
#header_menu_table a:active i {
	color: rgba(0, 0, 0, 0.5);
	text-shadow: 1px 1px 1px #fff, 0 0 0 #555;
}
#header_menu_table a:active .text {
	color: #333;
}

#header_menu_table .info {
	display:inline-block;
	height: 15px;
	width: 15px;
	background:#FF9900;
	border-radius: 50%;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	line-height:20px;
	text-align:center;
	color:#FFFFFF;
	font-size:0.8em;
	border:solid 2px #FFF;
}

#header_menu_table td.select {
	background-color: #A6BDD5;
	-moz-box-shadow: inset 0 0 6px #4376AB;
	-webkit-box-shadow: inset 0 0 6px #4376AB;
	box-shadow: inset 0 0 6px #4376AB;
}
#header_menu_table td.select i {
	color: #FFF;
 	text-shadow: none;
 	text-shadow: -1px 1px 0 #4376AB;
}
#header_menu_table td.select .text {
	color: #FFF;
	text-shadow: -1px 1px 0 #4376AB;
}




@media screen and (max-width:400px) {
	#header_menu_table i {
		font-size:1.5em;
	}
	#header_menu_table .text {
		font-size:0.7em;
	}
	#header_menu_table td {
		line-height:0.6em;
		height: 36px;
	}
}
@media screen and (min-width:401px) and ( max-width:600px) {
	#header_menu_table i {
		font-size:1.6em;
	}
	#header_menu_table .text {
		font-size:0.8em;
	}
	#header_menu_table td {
		line-height:0.7em;
		height: 43px;
	}
}

@media screen and (min-width:601px) and ( max-width:800px) {
	#header_menu_table i {
		font-size:1.7em;
	}
	#header_menu_table .text {
		font-size:0.9em;
	}
	#header_menu_table td {
		line-height:0.8em;
		height: 48px;
	}
}

@media screen and (min-width:801px) {
	#header_menu_table i {
		font-size:1.8em;
	}
	#header_menu_table .text {
		font-size:1em;
	}
	#header_menu_table td {
		line-height:0.9em;
		height: 55px;
	}
}


/*ヘッダーメニュースペーサー*/
@media screen and (max-width:400px) {
	#header_menu_spacer {
		height: 36px;
	}
}
@media screen and (min-width:401px) and ( max-width:600px) {
	#header_menu_spacer {
		height: 43px;
	}
}
@media screen and (min-width:601px) {
	#header_menu_spacer {
		height: 48px;
	}
}
@media screen and (min-width:801px) {
	#header_menu_spacer {
		height: 55px;
	}
}


/*ヘッダー開閉メニュー*/

#header_toggle_menu_button {
	display: block;
	color: #666;
}

#header_toggle_menu_overlay {
	position:fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.3);
	margin: 0;
	padding: 0;
	z-index:500;
	cursor:pointer;
}


#header_toggle_menu {
	display:none;
	position: absolute;
	right:0px;
	width: 100%;
	max-width: 400px;
	background-color:#666;
	z-index:501;
}


#header_toggle_menu .text {
	font-size:0.8em;
}
#header_toggle_menu td {
	position: relative;
	background-color: #FFFFFF;
	height:44px;
	border:solid 1px #E5E5E5;
	line-height:1em;
	width:25%;
	text-align:center;
}
#header_toggle_menu a {
	display:block;
	color:#555;
	padding:8px 0px;
}
#header_toggle_menu i {
	font-size:1.6em;
	color: #666;
}
#header_toggle_menu i:active {
	color: rgba(0, 0, 0, 0.5);
    text-shadow: 1px 1px 1px #fff, 0 0 0 #555;
}
#header_toggle_menu .text:active {
	color: #333;
}

#header_toggle_menu .info {
	display:inline-block;
	height: 20px;
	width: 20px;
	background:#FF9900;
	border-radius: 50%;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	line-height:20px;
	text-align:center;
	color:#FFFFFF;
	font-size:0.8em;
	border:solid 2px #FFF;
}

/*トップメニュー*/

#top_menu .box {
	position: relative;
}

@media screen and (max-width:600px) {
	#top_menu .outer {
		position: relative;
	}
	#top_menu .table {
		display:table;
		border-collapse:separate;
		border-spacing:3px;
	}
	#top_menu .box a {
		display:block;
		margin:3px;
		text-align:center;
		border:solid 1px #E5E5E5;
		background:#EFEFEF;
		line-height:1em;
		padding: 10px 3px;
		-moz-border-radius:12px;
		-webkit-border-radius:12px;
		border-radius:12px;
	}

	#top_menu .box a .text {
		display:block;
		font-size:0.7em;
		color:#666;
	}
	#top_menu .box a i {
		font-size:1.6em;
		color:#666;
	}
	#top_menu .scroll_icon {
		color:#666;
	}
}

@media screen and ( max-width:360px) {
	#top_menu .table .box {
		display:table-cell;
		width: 33.3333%;
		float:left;
	}
}

@media screen and (min-width:361px) and ( max-width:600px) {
	#top_menu .table .box {
		display:table-cell;
		width: 25%;
		float:left;
	}
}


@media screen and (min-width:601px) {
	#top_menu .box {
		display:inline-block;
	}
	#top_menu .box.col1 {
		width:100%;
	}
	#top_menu .box.col2 {
		width:50%;
	}
	#top_menu .box.col3 {
		width:33.3%;
	}
	#top_menu .box.col4 {
		width:25%;
	}

	#top_menu .box a {
		display:block;
		margin:3px;
		text-align:left;
		border:solid 1px #E5E5E5;
		background:#EFEFEF;
		line-height:1.1em;
		padding: 15px 5px 15px 20px;;
		-moz-border-radius:12px;
		-webkit-border-radius:12px;
		border-radius:12px;
	}

	#top_menu .box a .text {
		display:inline-block;
		margin-left:5px;
		font-size:1em;
		color:#666;
	}
	#top_menu a:hover .text {
		color: #444;
	}
	#top_menu .box a i {
		font-size:1em;
		color:#666;
	}
	#top_menu .scroll_icon {
		display:none;
	}
}

#top_menu a:active .text {
	color: #333;
}
#top_menu a:active i {
	color: rgba(0, 0, 0, 0.5);
	text-shadow: 1px 1px 1px #fff, 0 0 0 #555;
}

#top_menu .info {
	display:inline-block;
	height: 20px;
	width: 20px;
	background:#FF9900;
	border-radius: 50%;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	line-height:20px;
	text-align:center;
	color:#FFFFFF;
	font-size:0.8em;
	border:solid 2px #FFF;
}



/*トッププロフィール*/

@media screen and (max-width:600px) {
	#top_profile .table {
		display:table;
		border-collapse:separate;
		border-spacing:3px;
	}
	#top_profile .table .box {
		display:table-cell;
		vertical-align:middle;
	}
}
@media screen and (min-width:601px) {
	#top_profile .table {
		display:block;
	}
	#top_profile .table .box {
		display:block;
	}
}

#top_profile .menu i {
	color:#FFF;
	font-size:1.5em;
	padding-top:6px;
}
#top_profile .menu a .text {
	color:#FFF;
	font-size:0.8em;
}

#top_profile .menu a:active i {
	color: rgba(0, 0, 0, 0.5);
    text-shadow: 1px 1px 1px #fff, 0 0 0 #555;
}
#top_profile .menu a:active .text {
	color: #FFF;
}

#top_profile .menu a {
	display: inline-block;
	text-align:center;
	background:#AAA;
	box-sizing: border-box;
	position: relative;
	border-radius: 50%;
	margin:1px;
}

@media screen and (max-width:400px) {
	#top_profile .menu a {
		width:48px;
		height:48px;
		line-height:0.7em;
	}
}
@media screen and (min-width:401px) and ( max-width:600px) {
	#top_profile .menu a {
		width:50px;
		height:50px;
		line-height:0.7em;
	}
}
@media screen and (min-width:601px) and ( max-width:800px) {
	#top_profile .menu a {
		width:52px;
		height:52px;
		line-height:0.8em;
	}
}
@media screen and (min-width:801px) {
	#top_profile .menu a {
		width:53px;
		height:53px;
		line-height:0.8em;
	}
}




/*サブメニュー*/
#sub_menu {
	max-width: 680px;
	margin: auto;
	list-style: none;
}
#sub_menu .block {
	margin: 1%;
}
#sub_menu i {
	color:#666;
}
#sub_menu a .text {
	color:#666;
}
#sub_menu a:active i {
	color: rgba(0, 0, 0, 0.5);
    text-shadow: 1px 1px 1px #fff, 0 0 0 #555;
}
#sub_menu a:active .text {
	color: #333;
}

#sub_menu .block li {
	display: inline-block;
	background:#FFF;
	border-top:solid 1px #E5E5E5;
	border-bottom:solid 1px #E5E5E5;
	box-sizing: border-box;
	position: relative;
}
#sub_menu .block li:first-child {
	border-radius: 2em 0 0 2em;
	border-left:solid 1px #E5E5E5;
}

#sub_menu .block li:last-child {
	border-radius: 0px 2em 2em 0px;
	border-right:solid 1px #E5E5E5;
}
#sub_menu .block li.col2 {
	width:50%;
}
#sub_menu .block li.col3 {
	width:33.3%;
}
#sub_menu .block li.col4 {
	width:25%;
}
#sub_menu .block li a {
	display:block;
	text-align:center;
	margin:5px 0px;
}


@media screen and (max-width:400px) {
	#sub_menu .block li i {
		font-size:1.5em;
	}
	#sub_menu .block li .text {
		font-size:0.7em;
	}
	#sub_menu .block li {
		line-height:0.7em;
		padding:2px;
	}
}
@media screen and (min-width:401px) and ( max-width:600px) {
	#sub_menu .block li i {
		font-size:1.6em;
	}
	#sub_menu .block li .text {
		font-size:0.8em;
	}
	#sub_menu .block li {
		line-height:0.8em;
		padding:3px;
	}
}

@media screen and (min-width:601px) and ( max-width:800px) {
	#sub_menu .block li i {
		font-size:1.7em;
	}
	#sub_menu .block li .text {
		font-size:0.9em;
	}
	#sub_menu .block li  {
		line-height:0.9em;
		padding:4px;
	}
}

@media screen and (min-width:801px) {
	#sub_menu .block li i {
		font-size:1.8em;
	}
	#sub_menu .block li .text {
		font-size:1em;
	}
	#sub_menu .block li {
		line-height:1em;
		padding:5px;
	}
}


#sub_menu .block li.select {
	background-color: #A6BDD5;
	-moz-box-shadow: inset 0 0 6px #4376AB;
	-webkit-box-shadow: inset 0 0 6px #4376AB;
	box-shadow: inset 0 0 6px #4376AB;
}
#sub_menu .block li.select i {
	color: #FFF;
 	text-shadow: -1px 1px 0 #4376AB;
}
#sub_menu .block li.select .text {
	color: #FFF;
	text-shadow: -1px 1px 0 #4376AB;
}



#sub_menu .info {
	display:inline-block;
	height: 20px;
	width: 20px;
	background:#FF9900;
	border-radius: 50%;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	line-height:20px;
	text-align:center;
	color:#FFFFFF;
	font-size:0.8em;
	border:solid 2px #FFF;
}
