/* Import "PT Sans Narrow" font from Google fonts */
@import url(https://fonts.googleapis.com/css?family=PT+Sans+Narrow:400,700);

/*
---------------------------------------------------------------
  Note that styles you apply to the main menu items are inherited by the sub menus items too.
  If you'd like to avoid this, you could use child selectors (not supported by IE6) - for example:
  .sm-blue > li > a { ... } instead of .sm-blue a { ... }
---------------------------------------------------------------*/


/* Menu box
===================*/
#menu {
	display: block;
}

#main-menu, #main-menu1 {
	/*max-width: 1000px;*/
	max-width: 1248px;
	width: 100%;
	margin: 0px auto;
	border-top: 1px solid #fff;
	/*border-radius: 0px 0px 7px 7px / 0px 0px 7px 7px;*/
}

#main-menu1 {
	border-radius: 0px 0px 7px 7px / 0px 0px 7px 7px;
}

.menusub {
	text-align: left;
}

.sm-blue {
	/*
	background: #f6e6b4;
	background: -moz-linear-gradient(top, #ed9017 0%, #f6e6b4 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ed9017), color-stop(100%,#f6e6b4));
	background: -webkit-linear-gradient(top, #ed9017 0%,#f6e6b4 100%);
	background: -o-linear-gradient(top, #ed9017 0%,#f6e6b4 100%);
	background: -ms-linear-gradient(top, #ed9017 0%,#f6e6b4 100%);
	background: linear-gradient(to bottom, #ed9017 0%,#f6e6b4 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ed9017', endColorstr='#f6e6b4',GradientType=0 );
	*/
	/*
	background: rgb(63,76,107);
	background: -moz-linear-gradient(top,  rgba(63,76,107,1) 0%, rgba(63,76,107,1) 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(63,76,107,1)), color-stop(100%,rgba(63,76,107,1)));
	background: -webkit-linear-gradient(top,  rgba(63,76,107,1) 0%,rgba(63,76,107,1) 100%);
	background: -o-linear-gradient(top,  rgba(63,76,107,1) 0%,rgba(63,76,107,1) 100%);
	background: -ms-linear-gradient(top,  rgba(63,76,107,1) 0%,rgba(63,76,107,1) 100%);
	background: linear-gradient(to bottom,  rgba(63,76,107,1) 0%,rgba(63,76,107,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3f4c6b', endColorstr='#3f4c6b',GradientType=0 );
	*/
	//background: rgb(181,143,143);

	/*
	background: -moz-linear-gradient(top,  rgba(181,143,143,1) 0%, rgba(181,143,143,1) 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(181,143,143,1)), color-stop(100%,rgba(181,143,143,1)));
	background: -webkit-linear-gradient(top,  rgba(181,143,143,1) 0%,rgba(181,143,143,1) 100%);
	background: -o-linear-gradient(top,  rgba(181,143,143,1) 0%,rgba(181,143,143,1) 100%);
	background: -ms-linear-gradient(top,  rgba(181,143,143,1) 0%,rgba(181,143,143,1) 100%);
	background: linear-gradient(to bottom,  rgba(181,143,143,1) 0%,rgba(181,143,143,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bc8f8f', endColorstr='#bc8f8f',GradientType=0 );
	*/

	background: rgb(170,165,68);



	-moz-box-shadow:    0 5px 5px rgba(0,0,0,0.3);
	-webkit-box-shadow: 0 5px 5px rgba(0,0,0,0.3);
	box-shadow:         0 5px 5px rgba(0,0,0,0.3);
	z-index: 10;
}

.sm-blue ul {
	/*border:2px solid #bc8f8f;*/
	border:2px solid #fff;
	padding:5px 0;
	background:#fff;
	-moz-border-radius:0 0 4px 4px;
	-webkit-border-radius:0 0 4px 4px;
	/*border-radius:0 0 4px 4px;*/
	border-radius:0 0 5px 5px;
	-moz-box-shadow:0 5px 12px rgba(0,0,0,0.3);
	-webkit-box-shadow:0 5px 12px rgba(0,0,0,0.3);
	box-shadow:0 5px 12px rgba(0,0,0,0.3);
	border-bottom: 2px solid ##3f4c6b;
	z-index: 100;
}


/* Menu items
===================*/

.sm-blue a {
	padding:10px 0px 10px;
	color:#fff;
	line-height:23px;
	/*font-family:"PT Sans Narrow", "Arial Narrow", Arial, Helvetica, sans-serif;*/
	font-family: "Arial, Helvetica",sans-serif,"PT Sans Narrow", "Arial Narrow", Arial, Helvetica;
	font-weight: bold;
	text-decoration:none;
	text-shadow:0 1px 0 rgba(0,0,0,0.3);
	text-transform: capitalize;
	border-radius: 7px 7px 7px 7px / 7px 7px 7px 7px;
}

.sm-blue a:hover, .sm-blue a:focus, .sm-blue a:active, .sm-blue a.highlighted {
	/*
	background: #f6e6b4;
	background: -moz-linear-gradient(top, #ed9017 0%, #f6e6b4 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ed9017), color-stop(100%,#f6e6b4));
	background: -webkit-linear-gradient(top, #ed9017 0%,#f6e6b4 100%);
	background: -o-linear-gradient(top, #ed9017 0%,#f6e6b4 100%);
	background: -ms-linear-gradient(top, #ed9017 0%,#f6e6b4 100%);
	background: linear-gradient(to bottom, #ed9017 0%,#f6e6b4 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ed9017', endColorstr='#f6e6b4',GradientType=0 );
	*/
	/*
	background: rgb(63,76,107);
	background: -moz-linear-gradient(top,  rgba(63,76,107,1) 0%, rgba(63,76,107,1) 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(63,76,107,1)), color-stop(100%,rgba(63,76,107,1)));
	background: -webkit-linear-gradient(top,  rgba(63,76,107,1) 0%,rgba(63,76,107,1) 100%);
	background: -o-linear-gradient(top,  rgba(63,76,107,1) 0%,rgba(63,76,107,1) 100%);
	background: -ms-linear-gradient(top,  rgba(63,76,107,1) 0%,rgba(63,76,107,1) 100%);
	background: linear-gradient(to bottom,  rgba(63,76,107,1) 0%,rgba(63,76,107,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3f4c6b', endColorstr='#3f4c6b',GradientType=0 );
	*/
	background: rgb(181,143,143);
	background: -moz-linear-gradient(top,  rgba(181,143,143,1) 0%, rgba(181,143,143,1) 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(181,143,143,1)), color-stop(100%,rgba(181,143,143,1)));
	background: -webkit-linear-gradient(top,  rgba(181,143,143,1) 0%,rgba(181,143,143,1) 100%);
	background: -o-linear-gradient(top,  rgba(181,143,143,1) 0%,rgba(181,143,143,1) 100%);
	background: -ms-linear-gradient(top,  rgba(181,143,143,1) 0%,rgba(181,143,143,1) 100%);
	background: linear-gradient(to bottom,  rgba(181,143,143,1) 0%,rgba(181,143,143,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bc8f8f', endColorstr='#bc8f8f',GradientType=0 );

	color:#fff;
}

.sm-blue ul a {
	line-height:16px;
	padding:9px 20px 8px 9px;
	background:transparent;
	color:#593612;
	font-size:16px;
	text-shadow:none;
}

.sm-blue ul a:hover, .sm-blue ul a:focus, .sm-blue ul a:active, .sm-blue ul a.highlighted {
	/*
	background: #f6e6b4;
	background: -moz-linear-gradient(top, #ed9017 0%, #f6e6b4 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ed9017), color-stop(100%,#f6e6b4));
	background: -webkit-linear-gradient(top, #ed9017 0%,#f6e6b4 100%);
	background: -o-linear-gradient(top, #ed9017 0%,#f6e6b4 100%);
	background: -ms-linear-gradient(top, #ed9017 0%,#f6e6b4 100%);
	background: linear-gradient(to bottom, #ed9017 0%,#f6e6b4 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ed9017', endColorstr='#f6e6b4',GradientType=0 );
	*/
	/*
	background: rgb(63,76,107);
	background: -moz-linear-gradient(top,  rgba(63,76,107,1) 0%, rgba(63,76,107,1) 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(63,76,107,1)), color-stop(100%,rgba(63,76,107,1)));
	background: -webkit-linear-gradient(top,  rgba(63,76,107,1) 0%,rgba(63,76,107,1) 100%);
	background: -o-linear-gradient(top,  rgba(63,76,107,1) 0%,rgba(63,76,107,1) 100%);
	background: -ms-linear-gradient(top,  rgba(63,76,107,1) 0%,rgba(63,76,107,1) 100%);
	background: linear-gradient(to bottom,  rgba(63,76,107,1) 0%,rgba(63,76,107,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3f4c6b', endColorstr='#3f4c6b',GradientType=0 );
	*/
	background: rgb(181,143,143);
	background: -moz-linear-gradient(top,  rgba(181,143,143,1) 0%, rgba(181,143,143,1) 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(181,143,143,1)), color-stop(100%,rgba(181,143,143,1)));
	background: -webkit-linear-gradient(top,  rgba(181,143,143,1) 0%,rgba(181,143,143,1) 100%);
	background: -o-linear-gradient(top,  rgba(181,143,143,1) 0%,rgba(181,143,143,1) 100%);
	background: -ms-linear-gradient(top,  rgba(181,143,143,1) 0%,rgba(181,143,143,1) 100%);
	background: linear-gradient(to bottom,  rgba(181,143,143,1) 0%,rgba(181,143,143,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bc8f8f', endColorstr='#bc8f8f',GradientType=0 );

	color:#fff;
	text-shadow:0 1px 0 rgba(0,0,0,0.3);

	border-radius: 0px 0px 0px 0px / 0px 0px 0px 0px;
}

/* Sub menu indicators
===================*/

.sm-blue a span.sub-arrow {
	position:absolute;
	bottom:2px;
	left:50%;
	margin-left:-5px;
	/* we will use one-side border to create a triangle so that we don't use a real background image, of course, you can use a real image if you like too */
	width:0;
	height:0;
	overflow:hidden;
	border-width:5px; /* tweak size of the arrow */
	border-style:solid dashed dashed dashed;
	border-color:#fff transparent transparent transparent;
}

.sm-blue-vertical a span.sub-arrow, .sm-blue ul a span.sub-arrow {
	bottom:auto;
	top:50%;
	margin-top:-5px;
	right:15px;
	left:auto;
	margin-left:0;
	border-style:dashed dashed dashed solid;
	border-color:transparent transparent transparent #aaa;
}

/* Items separators
===================*/

.sm-blue li {
	/*border-left:1px solid #996600;*/
	/*border-top:  1px solid #fff;*/
	border-left: 1px solid #fff;
}

.sm-blue li:first-child, .sm-blue-vertical li, .sm-blue ul li {
	border-left:0;
}

/* Scrolling arrows containers for tall sub menus - test sub menu: "Sub test" -> "more..." -> "more..." in the default download package
===================*/

.sm-blue span.scroll-up, .sm-blue span.scroll-down {
	position:absolute;
	display:none;
	visibility:hidden;
	overflow:hidden;
	background:#fff;
	height:20px;/* width and position will be automatically set by the script */
}

.sm-blue span.scroll-up-arrow, .sm-blue span.scroll-down-arrow {
	position:absolute;
	top:-2px;
	left:50%;
	margin-left:-8px;
	/* we will use one-side border to create a triangle so that we don't use a real background image, of course, you can use a real image if you like too */
	width:0;
	height:0;
	overflow:hidden;
	border-width:8px; /* tweak size of the arrow */
	border-style:dashed dashed solid dashed;
	border-color:transparent transparent #637d4d transparent;
}

.sm-blue span.scroll-down-arrow {
	top:6px;
	border-style:solid dashed dashed dashed;
	border-color:#637d4d transparent transparent transparent;
}

/*
---------------------------------------------------------------
  Responsiveness
  These will make the sub menus collapsible when the screen width is too small.
---------------------------------------------------------------*/


/* decrease horizontal main menu items left/right padding to avoid wrapping */
/*###############################################################################################################################*/
@media screen and (min-width: 1130px) {
/*###############################################################################################################################*/
#menu {
	display: block !important;
}

.menutop {
	/*width: 19.85%;*/        /* ここを調整すると、項目を増やせる  */
	width: 19.92%;
	text-align: center;
	font-size: 16px;
}
}
/*###############################################################################################################################*/
@media screen and (min-width: 769px) and (max-width: 1129px) {
/*###############################################################################################################################*/
#menu {
	display: block !important;
}

.menutop {
	width: 19.7%;
	text-align: center;
	font-size: 15px;
}
}
/*###############################################################################################################################*/
@media screen and (min-width: 481px) and (max-width: 768px) {
/*###############################################################################################################################*/
#menu {
	display: block !important;
}

.menutop {
	/*width: 19.5%;*/
	width: 19.7%;
	text-align: center;
	font-size: 13px;
}
}
/*###############################################################################################################################*/
@media screen and (max-width: 480px) {
/*###############################################################################################################################*/
#menu {
	display: block !important;
}

.menutop {
	/*width: 19.5%;*/
	width: 19.7%;
	text-align: center;
	font-size: 11px;
}

.sm-blue a {
	padding:5px 0 5px;
	color:#fff;
	line-height:23px;
	font-family:Arial, Helvetica, sans-serif;
	/*font-family:"PT Sans Narrow", "Arial Narrow", Arial, Helvetica, sans-serif;/*/
	/*font-family: "ＭＳ 明朝",sans-serif,"PT Sans Narrow", "Arial Narrow", Arial, Helvetica;*/
	font-weight:bold;
	text-decoration:none;
	/*text-shadow:0 1px 0 rgba(0,0,0,0.3);*/
	text-transform: capitalize;
	border-radius: 7px 7px 7px 7px / 7px 7px 7px 7px;
}

}
/*###############################################################################################################################*/
/* 480がホント */
@media screen and (max-width: 0px) {
/*###############################################################################################################################*/

/* The following will make the sub menus collapsible for small screen devices (it's not recommended editing these) */
ul.sm-blue {
	width:auto         !important;
	margin: 0 10px     !important;
	/*margin-top: -20px  !important;*/
}

ul.sm-blue ul {
	display:none;
	position:static    !important;
	top:auto           !important;
	left:auto          !important;
	margin-left:0      !important;
	margin-top:0       !important;
	width:auto         !important;
	min-width:0        !important;
	max-width:none     !important;
}

ul.sm-blue>li {
	float:none;
}

ul.sm-blue>li>a, ul.sm-blue ul.sm-nowrap>li>a {
	white-space:normal;
}

ul.sm-blue iframe {
	display:none;
}

/* Uncomment this rule to disable completely the sub menus for small screen devices */
	/*.sm-blue ul, .sm-blue span.sub-arrow, .sm-blue iframe {
		display:none !important;
	}*/


/* Menu box
===================*/

#menu {
	display: none;
}

.sm-blue {
	background:transparent;
	-moz-box-shadow:0 1px 4px rgba(0,0,0,0.3);
	-webkit-box-shadow:0 1px 4px rgba(0,0,0,0.3);
	box-shadow:0 1px 4px rgba(0,0,0,0.3);
	font-size: 18px;
	background-color: #ddd;
	-moz-box-shadow:    none;
	-webkit-box-shadow: none;
	box-shadow:         none;
}

.sm-blue ul {
	border:0;
	padding:0;
	background:#f00;
	-moz-border-radius:0;
	-webkit-border-radius:0;
	border-radius:0;
	-moz-box-shadow:none;
	-webkit-box-shadow:none;
	box-shadow:none;
}

.sm-blue ul ul {
	/* darken the background of the 2+ level sub menus and remove border rounding */
	background:rgba(100,100,100,0.1);
	-moz-border-radius:0;
	-webkit-border-radius:0;
	border-radius:0;
}

/* Menu items
===================*/

.sm-blue a {
	padding:6px 5px 10px 28px !important; /* add some additional left padding to make room for the sub indicator */
	background: #cc8800;
	background: -moz-linear-gradient(top, #ed9017 0%, #cc8800 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ed9017), color-stop(100%,#cc8800));
	background: -webkit-linear-gradient(top, #ed9017 0%,#cc8800 100%);
	background: -o-linear-gradient(top, #ed9017 0%,#cc8800 100%);
	background: -ms-linear-gradient(top, #ed9017 0%,#cc8800 100%);
	background: linear-gradient(to bottom, #ed9017 0%,#cc8800 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ed9017', endColorstr='#cc8800',GradientType=0 );
	color:#fff !important;
	border-radius: 7px 7px 7px 7px / 7px 7px 7px 7px !important;
}

.sm-blue ul a {
	background:transparent !important;
	color:#637d4d !important;
	text-shadow:none !important;
}

/* add some text indentation for the 2+ level sub menu items */
.sm-blue ul a {
	border-left:8px solid transparent;
}

.sm-blue ul ul a {
	border-left:16px solid transparent;
}

.sm-blue ul ul ul a {
	border-left:24px solid transparent;
}

.sm-blue ul ul ul ul a {
	border-left:32px solid transparent;
}

.sm-blue ul ul ul ul ul a {
	border-left:40px solid transparent;
}

/* round the corners of the first and last items */
.sm-blue > li:first-child > a {
	-moz-border-radius:8px 8px 0 0;
	-webkit-border-radius:8px 8px 0 0;
	border-radius:8px 8px 0 0;
}

/* presume we have 4 levels max */
.sm-blue > li:last-child > a, .sm-blue > li:last-child > ul > li:last-child > a, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > a, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a, .sm-blue > li:last-child > ul, .sm-blue > li:last-child > ul > li:last-child > ul, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul {
	-moz-border-radius:0 0 8px 8px;
	-webkit-border-radius:0 0 8px 8px;
	border-radius:0 0 8px 8px;
}

/* highlighted items, don't need rounding since their sub is open */
.sm-blue > li:last-child > a.highlighted, .sm-blue > li:last-child > ul > li:last-child > a.highlighted, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted {
	-moz-border-radius:0;
	-webkit-border-radius:0;
	border-radius:0;
}

/* Sub menu indicators
===================*/

.sm-blue a span.sub-arrow, .sm-blue ul a span.sub-arrow {
	top:50%;
	margin-top:-9px;
	right:auto;
	left:6px;
	margin-left:0;
	width:17px;
	height:17px;
	font:bold 16px/16px monospace !important;
	text-align:center;
	border:0;
	text-shadow:none;
	background:rgba(0,0,0,0.1);
	-moz-border-radius:100px;
	-webkit-border-radius:100px;
	border-radius:100px;
}

/* Hide sub indicator "+" when item is expanded - we enable the item link when it's expanded */
.sm-blue a.highlighted span.sub-arrow {
	display:none !important;
}

/* Items separators
===================*/

.sm-blue li {
	border-left:0;
}

.sm-blue ul li {
	border-top:1px solid rgba(0,0,0,0.05);
}

.sm-blue ul li:first-child {
	border-top:0;
}
}
