/* 
  最上部
    header : フレームlike   ,index
    header1: nonフレームlike,menu2以降,右に垂直メニュー 
*/

#header{
  /* 幅640,垂直メニューが120,すきま10 */
  width:640px;

  /* fixed: ブラウザ内で位置固定(フレームlike) */
  /* absolute: nonフレームlike */
  position: absolute;
  /*position: fixed;*/
  /* columLeft・columRightより先に解釈されるので不要 */
  /*clear: both;*/
  /* なぜかtopにmarginらしきものができる
     これはbodyで対策する
     しかし、この場合margin-topが必要かも 
  */
  /*
  margin-top: 0px;
  margin-bottom: 0px;
  padding-top: 0px;
  padding-bottom: 0px;
  */
  background: url(../media/lav_stripe_ele.png) repeat;
  /*background-image: url(media/ekd_logo2b_60_24.png);*/
  
}

#header h1{
  /* 上下を詰める */
  /* なぜかtopにmarginらしきものができる
     これはbodyで対策する
     しかし、この場合次のmargin-topが必要かも */
  margin-top: 0;
  margin-bottom: 0;
  /* header内ロゴの上下左にpadding */
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 10px;

  text-align: left;
  font-size: large;
}


#header1{
  /* width: 640px; とすれば#header{}と同じで全幅に渡ってlavendr_stripe
     が引かれるはずだが、実際にはロゴの部分のみ ??
  */
  /*width: 510px;*/
  width: 640;
  position: absolute;
  /*position: fixed;*/
  /* なぜかtopにmarginらしきものができる
     これはbodyで対策する
     しかし、この場合次のmargin-topが必要かも */
  /*
  margin-top: 0px;
  margin-bottom: 0px;
  padding-top: 0px;
  padding-bottom: 0px;
  */
  /* IE対策用のつもり:不要らしい 
  margin-left:0;
  margin-right:0;
  */
/*  background: url(../media/lav_stripe_ele.png) repeat;*/
}

#header1 h1{
  /* 上下を詰める */
  /* なぜかtopにmarginらしきものができる
     これはbodyで対策する
     しかし、この場合次のmargin-topが必要かも */
  margin-top: 0;
  margin-bottom: 0;
  /* header内ロゴの上下左にpadding */
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 10px;

  text-align: left;
  font-size: large;
}

#header a{
  /* 510px/5メニュー,border・padding・marginを考慮 */
  width: 94px;
  /*height: 20px;*/
  text-decoration: none;
}

#header a:link{
  color: black;
}

#header a:visited{
  color: black;
}

#header a:hover {
  color: #ffffff;
  background-color: #663366; /* purple */
}

#header a:active {
  color: red;
  background-color: #ddd;
}






.header_logo{
  /*
  position: absolute;
  top: 6px;
  */
  float: left;
  margin-top: 2px;
  margin-left: 2px;
/*  background: url(../media/lav_stripe_ele.png) repeat;*/
}

.header_name{
  /*position: absolute;*/
  float: left;
  top: 3px;
  margin-left: 0px;
}

#box_header1_logo{
  float: left;
  width: 80px;
  margin-right: 0px;
  margin-top: -13px;
/*  background: url(../media/lav_stripe_ele.png) repeat;*/
/*  background-color: #ddd;*/
}

#commnet_header{
  text-align: right;
}


/* horizontal tab menu */
/*
  tab : 色付き、全幅に渡って6メニュー、フレームlike、index
  tab1: 色付き、左に5メニュー、右に垂直メニュー、nonフレームlike、menu2以降
  tab3: 色無し、border、垂直タブメニューlikeな外観のtab1、途中
*/
/* tab***
     ***:
       ffi : flat,filled,index
       ffm : flat,filled,menu
       fmi : flat,margin,index
       fmm : flat,margin,menu
       bfi : border,filled,index
       bfm : border,filled,margin
*/

/** tab -> tabffi */
#tabffi{
  /* 幅640,垂直メニューが120,すきま10 */
  width: 640px;
  position: fixed;
  /* メニュー直上とのmargin */
  /* position: fixed だと調整必要 */
  margin-top: 28px;

  text-align: center;
  background: url(../media/lav_stripe_ele.png) repeat;
}

#tabffi a{
  /* 6メニューなので、1つあたりの幅は16.7%以下 */
  width: 16.7%;
  height: 20px;
  text-decoration: none;
}

#tabffi a:link{
  color: black;
}
#tabffi a:visited{
  color: black;
}
#tabffi a:hover {
  color: #ffffff;
/*  background-color: #663366;*/ /* purple */
  background-color: #990099; /* purple */
}
#tabffi a:active {
  color: red;
  background-color: #ddd;
}
/* これは無効らしい?? */
#tabffi a:current{
  background: #ff00ff;
  color: #000000;
  border-bottom: 2px solid red;
}


#tabfmi{
  /* 幅640,垂直メニューが120,すきま10 */
  width: 640px;
  height: 1.4em;
  position: absolute;
  /*position: fixed;*/
  /* メニュー直上とのmargin */
  /* position: fixed だと調整必要 */
/*  margin-top: 28px;*/
/*  margin-top: 2em;*/
/*  padding-bottom: 7px;*/
  text-align: center;
  background: url(../media/lav_stripe_ele.png) repeat;
}

#tabfmi a{
  /* 6メニューなので、1つあたりの幅は16.7%以下 */
  /*width: 16.7%;*/
  width: 94px;
  /*height: 20px;*/
  text-decoration: none;
}

#tabfmi a:link{
  color: black;
}
#tabfmi a:visited{
  color: black;
}
#tabfmi a:hover {
  color: #ffffff;
/*  background-color: #663366;*/ /* purple */
  background-color: #990099; /* purple */
}
#tabfmi a:active {
  color: red;
  background-color: #ddd;
}
/* これは無効らしい?? */
#tabfmi a:current{
  background: #ff00ff;
  color: #000000;
  border-bottom: 2px solid red;
}

#tabfmi1{
  /* 幅640,垂直メニューが120,すきま10 */
  width: 640px;
  height: 1.4em;
  position: absolute;
  /*position: fixed;*/
  /* メニュー直上とのmargin */
  /* position: fixed だと調整必要 */
  margin-top: 28px;
/* 不要?? */
/*  padding-bottom: 7px;*/
  padding-bottom: 7px;
  text-align: center;
  background: url(../media/lav_stripe_ele.png) repeat;
}

#tabfmi1 a{
  /* 6メニューなので、1つあたりの幅は16.7%以下 */
  /*width: 16.7%;*/
  width: 94px;
  /*height: 20px;*/
  text-decoration: none;
}

#tabfmi1 a:link{
  color: black;
}
#tabfmi1 a:visited{
  color: black;
}
#tabfmi1 a:hover {
  color: #ffffff;
  background-color: #990099; /* purple */
}
#tabfmi1 a:active {
  color: red;
  background-color: #ddd;
}
/* これは無効らしい?? */
#tabfmi1 a:current{
  background: #ff00ff;
  color: #000000;
  border-bottom: 2px solid red;
}




/** tab1 -> tabffi */
#tabffm{
  /* 幅640,垂直メニューが120,すきま10,右に垂直メニュー  */
  width: 510px;
  position: absolute;
  /* メニュー直上とのmargin */
  /* position: fixed だと調整必要 */
  margin-top: 28px;

  text-align: center;
}

#tabffm a{
  /* 5メニュー、1つあたりの幅は20%以下 */
  width: 20%;
  height: 20px;
  text-decoration: none;
}

#tabffm a:link{
  color: black;
}
#tabffm a:visited{
  color: black;
}
#tabffm a:hover {
  color: #ffffff;
/*  background-color: #663366;*/ /* purple */
  background-color: #990099; /* purple */
}
#tabffm a:active {
  color: red;
  background-color: #ddd;
}
/* これは無効らしい?? */
#tabffm a:current{
  background: #ff00ff;
  color: #000000;
  border-bottom: 2px solid red;
}


/** tab3 -> tabbfi */
#tabbfi{
  /* 幅640,垂直メニューが120,すきま10,右に垂直メニュー */
  width: 510px;
  height: 20px;
  position: absolute;
  /* メニュー直上とのmargin */
  /* position: fixed だと調整必要 */
  margin-top: 28px;
  text-align: center;
  background: url(../media/lav_stripe_ele.png) repeat;
}

#tabbfi a{
  /* 510px/5メニュー,border・padding・marginを考慮 */
  width: 85px;
  /*height: 20px;*/
}

/** tab4 -> tabfmm */
#tabfmm{
  width:640px;
  height: 1.4em;
  position: absolute;
  /*position: fixed;*/
  /* メニュー直上とのmargin */
  /* position: fixed だと調整必要 */
  /*margin-top: 28px;*/
  /* position: absolute; は絶対位置の指定ゆえ以下が必要 */
  top: 30px;
  text-align: center;
  background: url(../media/lav_stripe_ele.png) repeat;
}

#tabfmm a{
  /* 510px/5メニュー,border・padding・marginを考慮 */
  width: 94px;
  /*height: 20px;*/
  text-decoration: none;
}

#tabfmm a:link{
  color: black;
}

#tabfmm a:visited{
  color: black;
}

#tabfmm a:hover {
  color: #ffffff;
/*  background-color: #663366;*/ /* purple */
  background-color: #990099; /* purple */
}

#tabfmm a:active {
  color: red;
  background-color: #ddd;
}


/* 個々のタブ設定 */

/* 6メニュー */
a.menulav1{
  position: absolute;
  /*left:0%;*/
  left: 4px;
}

a.menulav2{
  position: absolute;
  /*left: 20%;*/
  left: 106px;
}

a.menulav3{
  position: absolute;
  /*left: 40%;*/
  left: 208px;
}

a.menulav4{
  position: absolute;
  /*left: 60%;*/
  left: 310px;
}

a.menulav5{
  position: absolute;
  /*left: 80%;*/
  left: 412px;
}

a.menulav6{
  position: absolute;
  /*left: 80%;*/
  left: 514px;
}

/* 6メニュー : 現在 */

a.menulavc1{
  position: absolute;
  /*left:0%;*/
  left: 4px;
  background-color: #ddd;
}

a.menulavc2{
  position: absolute;
  /*left: 20%;*/
  left: 106px;
  background-color: #ddd;
}

a.menulavc3{
  position: absolute;
  /*left: 40%;*/
  left: 208px;
  background-color: #ddd;
}

a.menulavc4{
  position: absolute;
  /*left: 60%;*/
  left: 310px;
  background-color: #ddd;
}

a.menulavc5{
  position: absolute;
  /*left: 80%;*/
  left: 412px;
  background-color: #ddd;
}

a.menulavc6{
  position: absolute;
  /*left: 80%;*/
  left: 514px;
  background-color: #ddd;
}

/* 6メニュー */
/*
a.menulavi1{
  position: absolute;
  left: 4px;
}

a.menulavi2{
  position: absolute;
  left: 111px;
}

a.menulavi3{
  position: absolute;
  left: 218px;
}

a.menulavi4{
  position: absolute;
  left: 325px;
}

a.menulavi5{
  position: absolute;
  left: 431px;
}

a.menulavi6{
  position: absolute;
  left: 537px;
}
*/

/* 6メニュー : 現在 */
/*
a.menulavic1{
  position: absolute;
  left: 4px;
  font-weight: bold;
  background: url(../media/lav_stripe_ele.png) repeat;

}

a.menulavic2{
  position: absolute;
  left: 111px;
  background-color: #ddd;
}

a.menulavic3{
  position: absolute;
  left: 218px;
  background-color: #ddd;
}

a.menulavic4{
  position: absolute;
  left: 325px;
  background-color: #ddd;
}

a.menulavic5{
  position: absolute;
  left: 431px;
  background-color: #ddd;
}

a.menulavic6{
  position: absolute;
  left: 537px;
  background-color: #ddd;
}
*/


/* theme */

a.menulav_theme{
  display: block;
  text-align: center;
  padding: 2px 2px 0px 0px;
  margin-right: 2px;
  border-left: 10px solid orange;
  border-bottom: 1px solid orange;
  /* ここでは#tabbfiで塗りつぶした背景をオーバーライドしている */
  background-color: #ddd;
}

/* #tabfmmと組み合わせる */
a.menulav_theme1{
  display: block;
  text-align: center;
  padding: 2px 0px 2px 0px;
  margin-right: 2px;
  /*
  border-left: 10px solid orange;
  border-bottom: 1px solid orange;
  */
  /* ここでは#tabbfiで塗りつぶした背景をオーバーライドしている */
  /*background-color: #ddd;*/
  /*background-color: #cc66ff;*/
}

a.menulavi_theme1{
  display: block;
  text-align: center;
  padding: 2px 0px 2px 0px;
  margin-right: 2px;
  /*
  border-left: 10px solid orange;
  border-bottom: 1px solid orange;
  */
  /* ここでは#tabbfiで塗りつぶした背景をオーバーライドしている */
  /*background-color: #ddd;*/
  /*background-color: #cc66ff;*/
}


/* vertical tab menu */

#menuvert1{
  width: 120px;
  height:16px;

/*  position: fixed;*/
  float: right;
  margin-top: 10px;
  position: right;

  /* frame右端から少々内側へ入ったあたり */
  /*left: 78%;*/
  /* 上記のような指定ではブラウザの幅に応じて右に出っぱったりするので... */
/*  margin-left: 520px;*/
  margin-right: 0px;
  padding-left: 520px;

  text-align: center;
  background-color: #ddd;
  /*background: url(../media/lav_stripe_ele.png) repeat;*/
}

#menuvert1 a{
  text-decoration: none;
  color: #000;
}

#menuvert1 a:link{
  /* 無効?? */
  /*display: block;*/
  /* 無効?? */
  /*padding: 2px 2px 0px 0.5em;*/
  /* 無効?? */
  /*
  border-left: 10px solid orange;
  border-right: 1px solid #69c;
  border-bottom: 1px solid orange;
  */
  /* 無効?? */
  /*background-color: #662200;*/
  /* 無効?? */
  /* そんなことない */
  /*color: #fff;*/
  color: #000;

  /* 無効?? */
  text-decoration: none;

  /* 無効?? */
  /* そんなことない */
  /*width: 200%;*/
}

#menuvert1 a:hover{
  /*border-left: 10px solid #036;*/
  /* 無効?? */
  /*
  border-left: 10px solid #663366;
  border-right: 1px solid #69c;
  border-bottom: 1px solid #369;
  */
  /*background-color: #993399;*/ /* lavender */
/*  background-color: #663366;*/ /* purple */
  background-color: #990099; /* purple */

  color: #fff;
}

.menuvert2{

  /* floatだとIE6sp1でhover時にずれる */ 
  /*float: right;*/
  position: absolute;
/*  left: 520px;*/

  width: 120px;
  margin: 10px;
  margin-top: 0px;
/*
*/
  position: absolute;
  padding-left: 505px;
  margin-left: 505px;
  margin-left: 0px;
/*  position: relative;*/

}

.menuvert2 a{
  /* a.menuvert_theme で設定 */
  /*text-align: center;*/
  background-color: #ddd;
  /*background: url(../media/lav_stripe_ele.png) repeat;*/
  text-decoration: none;
  color: #000;

}

.menuvert2 a:link{
  /* 無効?? */
  /*display: block;*/
  /* 無効?? */
  /*padding: 2px 2px 0px 0.5em;*/
  /* 無効?? */
  /*
  border-left: 10px solid orange;
  border-right: 1px solid #69c;
  border-bottom: 1px solid orange;
  */
  /* 無効?? */
  /*background-color: #662200;*/
  /* 無効?? */
  /* そんなことない */
  /*color: #fff;*/
  color: #000;

  /* 無効?? */
  text-decoration: none;

  /* 無効?? */
  /* そんなことない */
  /*width: 200%;*/
}

.menuvert2 a:hover{
  /*border-left: 10px solid #036;*/
  /* 無効?? */
  /*
  border-left: 10px solid #663366;
  border-right: 1px solid #69c;
  border-bottom: 1px solid #369;
  */
  /*background-color: #993399;*/ /* lavender */
/*  background-color: #663366;*/ /* purple */
  background-color: #990099; /* purple */

  color: #fff;

}




/* theme */

.menuvert3{
  /* floatだとIE6sp1でhover時にずれる */ 
  /*float: center;*/
  position: absolute;
  /*left: 520px;*/
  width: 190px;
  /*
  margin: 0px;
  margin-top: 0px;
  margin-bottom: 20px;
  */
  display: block;
}


.menuvert3 a{
  text-decoration: none;
  color: #000;
  display: block;
}

.menuvert3 a:link{
  color: #000;
  display: block;

}

.menuvert3 a:hover{
/*  line-height: 1.2em;*/
  display: block;
  background-color: #990099;
  color: #fff;
}

.menuvert3 p{
  width: 200px;
}


a.menuvert_theme{
  display: block;
  font-size: 0.7em;
  /*font-weight: bold;*/
  text-align: center;

  padding: 2px 2px 2px 0.5em;
  margin-top: 2px;

  /*border-left: 10px solid orange;*/
  /*border-left: 10px solid #cc0099;*/
  border-left: 10px solid #660066;
  /*border-right: 1px solid #69c;*/

  border-bottom: 1px solid orange;

}

a.menuvert3_theme{
  display: block;
/*  font-size: 0.7em;*/
  font-size: small;
  /*font-weight: bold;*/
/*  text-align: center;*/

  padding: 2px 2px 0px 2px;
  margin-top: 2px;

  border-left: 10px solid #660066;
  border-bottom: 1px solid orange;
}


