@charset "UTF-8";

body #menu {
	/*max-width: 960px;*/
	/*max-width: 1140px;*/
	margin: 0px auto;
	position: relative;
	z-index: 4000;
}

/* Main menu */
#menu {
	width: 100%;
	text-align: center;
	/*width: 100%;*/
	margin: 0;
	padding: 5px 0 0 0;
	list-style: none;
	border: solid 1px #ffc299;
	background: #ffffff;
	/*グラデーション*/
	/* 通常 */
	/*linear-gradient(開始位置と角度, 開始色, 途中色, 終了色); */
	/*background-image: linear-gradient(#ffffff 20%, #f5f5f5 50%, #cccccc);*/
	/* IE7はグラデーションにするとサブメニューが動かないので指定しない*/
	/*filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,
		StartColorStr='#ffffff', EndColorStr='#cccccc' );*/
	/* webkit */
	/*-webkit-gradient(linear, 開始位置, 終了位置, from(開始色), color-stop(位置, 途中色), to(終了色)); */
		/* webkit */
	/*background-image: -webkit-gradient(linear, top, bottom, from(#ffffff),
		color-stop(0.2, #ffffff), color-stop(0.5, #f5f5f5), to(#cccccc) );*/
		
	/* mozilla */
	/*background-image: -moz-linear-gradient(#ffffff 20%, #f5f5f5 50%, #c0c0c0);*/
	/* opera */
	/*background-image: -o-linear-gradient(top, #ffffff, #c0c0c0);
	-moz-border-radius: 50px;*/
	border-radius: 50px;
	/*-moz-box-shadow: 0 2px 1px #9c9c9c;
	-webkit-box-shadow: 0 2px 1px #9c9c9c;
	box-shadow: 0 2px 3px #555555;*/
}

#menu li {
	float: left;
	padding: 0 0 5px 0;
	position: relative;
}

/*メニューボタンの最後は右端に*/
#menu li#lastbutton {
	float: right;
}

/*Linuxmaniaロゴの指定*/
#menu div.lmlogo {
	text-indent: 100%;
	white-space: nowrap; /*or display: block;*/
	overflow: hidden;
	margin-right:15px;
	width: 120px;
	height: none;
	
	/*animation:name duration timing-function delay iteration-count direction */
/*	animation: anime1 3s ease -2s infinite alternate;*/
}

#menu div.lmlogo a {
	width: 100%;
	margin: 0px;
	padding: 0px;
	background: url(../image/header/png/lmlogo.png); /* for IE7 IE8 */
/*		background-size:100% auto;*/
	background: rgba(0, 0, 0, 0) url(../image/header/lmlogo.svg);
	/* modern browser */
	background-repeat: no-repeat;
	background-position: center;

	background-size:contain;
	-moz-background-size:contain;
-webkit-background-size:contain;
-o-background-size:contain;
-ms-background-size:contain; 
/*	animation: anime1 3s ease -2s infinite alternate;*/
}
/*
@keyframes anime1 {
0% {background: rgba(0, 0, 0, 0) url(../image/header/lmlogo.svg);}
100% {background: rgba(0, 0, 0, 0) url(../image/header/top.svg);}
}
*/
/*メニューテキストの指定*/
#menu a {
	float: left;
	height: 25px;
	padding: 0 12px;
	text-decoration: none;
	color: #555555;
	text-shadow: 0 1px 0 #ffffff;
	/*テキストの指定*/
	font-weight:bold;
	font-size:13px;
	line-height:25px;
	text-transform: uppercase;/* 英小文字を大文字に変換*/
	font-family:"M+2P+IPAG",Arial, Verdana;
/*	font: bold 12px/25px Arial, Helvetica;*/
}

/*メニューテキスト マウスオンでの色と影*/
#menu li:hover>a {
	color: #ffffff;
	text-shadow: 0px 0px 8px #333333;
}

* html #menu li a:hover /* IE6 */ {
	color: #888888;
}

#menu li:hover>ul {
	display: block;
}

/* サブメニュー */
#menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: none;
	position: absolute;
	top: 30px;
	left: 0;

/*	border: solid 1px #dddddd;*/
	background: #dddddd;
	/*グラデーション*/
	/* 通常 */
	background-image: linear-gradient(top, #dddddd, #a9a9a9);
	background-image: linear-gradient(to bottom, #dddddd, #000000);
	/* IE7はグラデーションにするとサブメニューが動かないので指定しない*/
/*	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,
		StartColorStr='#dddddd', EndColorStr='#a9a9a9' );*/
	/* mozira */
	background-image: -moz-linear-gradient(top, #dddddd, #a9a9a9);
	/* webkit */
	background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #a9a9a9),
		color-stop(1, #dddddd) );
	/* opera */
	background-image: -o-linear-gradient(top, #ffffff, #c0c0c0);
	-moz-border-radius: 5px;
	border-radius: 5px;
	float: left;
	/*水平方向の距離 垂直方向の距離 ぼかし距離 広がり距離 影の色 inset*/
	box-shadow: 0 2px 3px 3px #777777;
}

/*横罫線*/
#menu ul li {
	float: none;
	margin: 0;
	padding: 0;
	display: block;
	-moz-box-shadow: 0 1px 0 #ffffff, 0 2px 0 #777777;
	-webkit-box-shadow: 0 1px 0 #ffffff, 0 2px 0 #777777;
	box-shadow: 0 1px 0 #ffffff, 0 2px 0 #777777;
}

/*横罫線 最後のliにはつけない*/
#menu ul li:last-child {
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
}

#menu ul a {
	padding: 10px;
	height: auto;
	line-height: 1;
	display: block;
	/*white-space: nowrap;*/ /*テキスト折り返しなし*/
	float: none;
	text-transform: none;
	width: 130px;
}

#menu ul a.right{
	text-align:right;
	font-size:10px;
}

/* IE6 */
/*
* html #menu ul a  {
	height: 10px;
	width: 150px;
}
*/
/* IE7 */
/*
*:first-child+html #menu ul a  {
	height: 10px;
	width: 150px;
}
*/
#menu ul a:hover {
	background: #777777;
	/*	background: -webkit-gradient(linear, left top, left bottom, from(#cccccc),
		to(#c9c9c9) );
	background: -moz-linear-gradient(top, #c9c9c9, #dcdcdc) !important;
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,
		startColorstr='#cccccc', endColorstr='#c9c9c9' );*/ /* IE */
}

/*上角を丸く*/
#menu ul li:first-child>a {
	-moz-border-radius: 5px 5px 0 0;
	border-radius: 5px 5px 0 0;
}

/*box上部に三角を付ける*/
#menu ul li:first-child>a:after {
	content: '';
	position: absolute;
	left: 30px;
	top: -8px;
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-bottom: 8px solid #dddddd;
	
}

/*マウスオーバー時の三角の色*/
#menu ul li:first-child a:hover:after {
	border-bottom-color: #777777;
}

/*下角を丸く*/
#menu ul li:last-child a {
	-moz-border-radius: 0 0 5px 5px;
	border-radius: 0 0 5px 5px;
}

/* サブサブメニュー */
#menu ul ul {
	top: 0px;
	left: 150px;
	background: #c0c0c0;
	/*グラデーション*/
	/* 通常 */
	background-image: linear-gradient(top, #c0c0c0, #808080);
	background-image: linear-gradient(to bottom, #c0c0c0, #808080);
	/* IE7はグラデーションにするとサブメニューが動かないので指定しない*/
/*	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,
		StartColorStr='#c0c0c0', EndColorStr='#808080' );*/
	/* mozira */
	background-image: -moz-linear-gradient(top, #c0c0c0, #808080);
	/* webkit */
	background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #808080),
		color-stop(1, #c0c0c0) );
	/* opera */
	background-image: -o-linear-gradient(top, #c0c0c0, #808080);
}

/*boxに三角を付ける*/
#menu ul ul li:first-child a:after {
	border-color: transparent #b7b7b7 transparent #c0c0c0;
	border-left: 0 none;
	border-style: solid solid solid none;
	border-width: 5px 8px 5px 0;
	height: 0;
	left: -8px;
	top: 12px;
	width: 0;
}

/*マウスオーバー時の三角の色*/
#menu ul ul li:first-child a:after:hover {
	border-bottom-color: #777777;
}

#menu ul ul li:first-child a:hover:after {
	border-bottom-color: rgba(0, 0, 0, 0);
	border-right-color: #777777;
}

#menu ul ul li a {
	color: #444444;
	text-shadow: 0 1px 0 #bbbbbb;
}

/*上角を丸く*/
#menu ul li ul li:first-child a {
	-moz-border-radius: 5px 5px 0 0;
	border-radius: 5px 5px 0 0;
}

/*下角を丸く*/
#menu ul li ul li:last-child a {
	-moz-border-radius: 0 0 5px 5px;
	border-radius: 0 0 5px 5px;
}

/* Clear floated elements */
#menu:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}
/* IE6 */
* html #menu {
	zoom: 1;
}
/* IE7 */
*:first-child+html #menu {
	zoom: 1;
}
/*
#test:before{
	content:"hoge";
}
*/
