/******************* ヘッダー *********************/
#search {
  height: none;
  margin-bottom: 0px;
}

div[id=banner] {
 padding-top: 0.5em;
 margin-top: 1em;
}

div#header {
  margin: 0.3em 0 1em 0;
}

/**　メタナビゲーション */
div#metanav {
  position: absolute;
  position: absolute;
  top:1px;
/*  padding-left: 18px;  */
}

#metanav ul {
  padding-left: 1em;
}

#metanav ul li {
  border: none;
  padding: 0px 0.2em;
}

#metanav ul li a {
   padding: 0.2em 1em 0.2em 1em;
   border-top-right-radius: 5px;
   border-top-left-radius: 5px;
   border-bottom-left-radius: 5px;
   border-bottom-right-radius: 5px;
   -moz-border-radius-topleft: 5px;
   -moz-border-radius-topright: 5px;
   -moz-border-radius-bottomleft: 5px;
   -moz-border-radius-bottomright: 5px;
   background: #eee;
   background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ddd));
   background: -moz-linear-gradient(top,#fff,#ddd);
   color:black;
}

#metanav ul li a:hover {
   background: darkGray;
}

/******************* wiki *********************/
.wikipage h1 {
  padding: 4px 10px 6px 10px;
  background: url(images/bg_mtit.gif) no-repeat center left;
  font-weight: bold;
  font-size: 1.4em;
  color: #FAFAFA;
}

.wikipage h2 {
  padding: 0 0 0 18px;
  background: url(images/bg_stit.gif) no-repeat center left;
  font-weight: bold;
  font-size: 1.4em;
}

.wikipage h3 {
  padding: 0 0 0 12px;
}

.wikipage ul {
  list-style-image: url(images/list_mark01.jpg);
}

/*************** メインナビゲーション ***************/

#mainnav {
  background: #fff;
  border: none;
  margin: 0 0 10px 0;
  padding: 15px 0 0 0px;
}

#mainnav ul {
  text-align: left;
  -webkit-padding-start: 0px;
  padding-left: 0px;
}

#mainnav ul li {
/* メニューの間隔 */
  line-height: 2.2em;
  background-image: none;
  color: white ;
  padding: 0px;
  vertical-align:middle;
}


/* メニュー共通設定 */
#mainnav :link, 
#mainnav :visited,
#mainnav .active :link,
#mainnav .active :visited {
  vertical-align:middle;

   background: white;
/* メニューのスタイル */
   font-size: 9pt;
   font-weight: bold;
   color: white;
   text-shadow: 1px 1px 3px gray;
   padding: 0.75em 1em 0.75em 1em; /* メニューの大きさ */
   margin: 0px 0px 0px 0px; /*メニューの間隔 */
   border: none;
/* コーナー */
   border-right: 1px solid lightgray;
   border-left: 1px solid lightgray;
   border-top: 1px solid lightgray;
   -moz-border-radius-topleft: 12px;
   -moz-border-radius-topright: 12px;
   border-top-right-radius: 12px;
   border-top-left-radius: 12px;
}

/* メニュー設定 */
#mainnav ul li a:link, #mainnav ul li a:visited {
  background: #fa6;
  background: -webkit-gradient(linear, left top, left bottom, from(#fc8), to(#f91));
  background: -moz-linear-gradient(top,#fc8,#f91);
  color: white ;
}



#mainnav ul li {
/* メニューを改行したときの幅 */
  display: inline-block;
}

/* IE7の対応 */
*+html #mainnav ul li {
  display: inline;
}

/* アクティブメニュー */
#mainnav .active :link,
#mainnav ul li.active a:visited {
  color: #333; /* 文字色 */
  font-weight: normal;
  text-shadow: 1px 1px 1px lightgray;
  border-bottom: 1px solid white;
  background: white; /* 背景 */
  border-right: 1px solid gray; /* 枠 */
  border-left: 1px solid gray;
  border-top: 1px solid gray;
}



#mainnav span {
   padding: 0px 0px 0px 0px;
}

/* ホバー時の設定 */
#mainnav .active :link:hover,
#mainnav :link:hover,
#mainnav :visited:hover,
#mainnav .active :visited:hover {
   border-right: 1px solid lightgray;
   border-left: 1px solid lightgray;
   border-top: 1px solid lightgray;
   border-bottom: none;
   background: #fea;
}

/******************* フォームスタイル *********************/

input[type=submit], button, input[type=button] {
overflow: hidden;
padding: 0.3em 25px 0.3em;
text-overflow: ellipsis;
white-space: nowrap;
webkit-box-shadow: rgba(0, 0, 0, 0.199219) 0px 1px 4px inset;
-webkit-background-clip: padding-box;
background-clip: padding-box;
border-bottom-left-radius: 1em 1em;
border-bottom-right-radius: 1em 1em;
border-top-left-radius: 1em 1em;
border-top-right-radius: 1em 1em;
   -moz-border-radius-topleft: 1em;
   -moz-border-radius-topright: 1em;
   -moz-border-radius-bottomleft: 1em;
   -moz-border-radius-bottomright: 1em;
border: 1px solid #B3B3B3;
background: #F0F0F0 -webkit-gradient(linear, 0% 0%, 0% 100%, from(white), to(#F0F0F0));
background: -moz-linear-gradient(top,#FFFFFF,#F0F0F0);
cursor: pointer;
text-align: center;
color: #444;
font-weight: bold;
text-shadow: #F6F6F6 0px 1px 1px;
}


input[type=text]  ,textarea ,select {
-webkit-box-shadow: rgba(0, 0, 0, 0.199219) 0px 1px 4px inset;
line-height: 1.4;
padding: 0.4em;
-webkit-background-clip: padding-box;
background-clip: padding-box;
border-bottom-left-radius: 0.6em 0.6em;
border-bottom-right-radius: 0.6em 0.6em;
border-top-left-radius: 0.6em 0.6em;
border-top-right-radius: 0.6em 0.6em;
   -moz-border-radius-topleft: 0.6em;
   -moz-border-radius-topright: 0.6em;
   -moz-border-radius-bottomleft: 0.6em;
   -moz-border-radius-bottomright: 0.6em;
background: #F0F0F0 -webkit-gradient(linear, 0% 0%, 0% 100%, from(white), 
to(#F0F0F0));
background: -moz-linear-gradient(top,#FFFFFF,#F0F0F0);
border: 1px solid #B3B3B3;
color: #333;
text-shadow: white 0px 1px 0px;
border: 1px inset;
cursor: auto;
margin-left: 2px;
}


input[type=text],textarea, input[type="password"], input[type="search"],isindex {
-webkit-appearance: textfield;
-webkit-rtl-ordering: logical;
-webkit-user-select: text;
}

input, textarea, keygen, select, button, isindex, datagrid {
font: -webkit-small-control;
letter-spacing: normal;
line-height: normal;
margin: 0em;
text-align: -webkit-auto;
text-indent: 0px;
text-transform: none;
word-spacing: normal;
}

input::-webkit-input-placeholder, isindex::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
color: darkGray;
}
