@charset "utf-8";

/************************************************/
/*------------------------------------------------
* 共通テンプレートの設定
*-----------------------------------------------*/
/************************************************/

/*------------------------------------------------
* タグの基本設定
*-----------------------------------------------*/

/*----- 全要素の初期化 ----*/
html * {
  margin: 0;
  padding: 0;
  font-size: 100%;
}

body {
  margin: 0 auto;
  color: #666;
  font-family:"ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3";
  text-align: center;
}

ul {
  list-style: none;
}

img {
  border: 0;
}

hr {
  display: none;
}

em {
  font-style: normal;
  font-weight: bold;
}

/*------------------------------------------------
* リンク色設定
*-----------------------------------------------*/

/*----- TOP 最新情報・イベント情報リンクカラー -----*/
#news a { color: #333; text-decoration: none;}
#news a:visited { color: #96a69a; text-decoration: none;}
#news a:hover,a:active { color: #090; text-decoration: underline; }
.new {
	color :#fff;
	background:#f00;
	padding:1px;
	margin:1px;
}

/*----- ヘッダー部分のリンクカラー -----*/
#header a { color: #208d3e; text-decoration: none; }
#header a:hover,a:active { color: #333333; }

/*----- 左メニューのリンクカラー -----*/
#g_menu a { color: #09581f; text-decoration: none; }
#g_menu a:hover,a:active { color: #09581f; text-decoration: underline; }

/*----- 緑アイコンテキストのリンクカラー -----*/
#icon_green a { color: #09581f; text-decoration: none; }
#icon_green a:hover,a:active { text-decoration: underline; }

/*----- h3のリンクカラー -----*/
#contents_inner h3 a { color: #208d3f; }
#contents_inner h3 a:hover,a:active	{ text-decoration: none; }

/*----- フッター部分のリンクカラー -----*/
#footer a { color: #fff; text-decoration: none; }
#footer a:hover,a:active { color: #f19ec2; }

/*----- コピーライト部分 -----*/
#copyright a { color: #333; text-decoration: none; }


/*------------------------------------------------
* コンテンツ全体の設定
*-----------------------------------------------*/
#container {
  width: 800px;
  margin: 0 auto;
  text-align: left;
  background: url(http://www.ris.ac.jp/img/common/bg_main_contents.gif) repeat-y;	
}

/*----- トップページ限定 -----*/
#container_top {
  width: 800px;
  margin: 0 auto;
  text-align: left;
  background: none;	
}


/*------------------------------------------------
* ヘッダーの設定
*-----------------------------------------------*/
#header {
  position: relative;
  width: 800px;
  font-size: 70%;
  background: #fff;
}

#logo {
  position: absolute;
  margin-top: 13px;
  padding-bottom:4px;
}

#sub_navi {
  position: relative;
  left: 165px;
  width: 455px;
  padding: 45px 0 9px;
  text-align: right;
}
#sub_navi li {
  display: inline;
  padding-right: 4px;
}
#sub_navi li a {
  padding-left: 10px;
  background: url(http://www.ris.ac.jp/img/arrow_head.gif) no-repeat 2px 0.2em;
}

/*----- グーグルサーチ部分の設定 -----*/
#googleSearch {
  position: absolute;
  top: 0px;
  right: 5px;
}
#googleSearch .input{
  vertical-align: top;
  width:120px;
  font-size:9pt;
  line-height:100%;
  margin-top: 40px;
}
#googleSearch .submit{
  vertical-align: top;
  margin-top: 40px;
}

/*----- グローバルナビ部分の設定 -----*/
#globalnavi {
  width: 800px;
}
#globalnavi li {
  display: inline;
}

/*------------------------------------------------
* メインコンテンツの設定
*-----------------------------------------------*/
#main_contents {
  margin-top: 1px;
  padding:0px;
}

/*------------------------------------------------
* フッターの設定
*-----------------------------------------------*/
#footer {
  clear: both;
  height: 2em;
  margin-top: 10px;
  background: url(http://www.ris.ac.jp/img/bg_navi.jpg) no-repeat #6b6b6b;
}
#f_navi {
  float:left;
  padding: 8px 0 0 24px;
}
#f_navi li {
  display: inline;
  vertical-align:middle;
  margin-right: 8px;
  padding-right: 8px;
  border-right: 1px solid #ffffff;
  font-size: 70%;
  text-align: left;
  letter-spacing: -1px;
}
#f_navi li.end {
  margin: 0;
  padding: 0;
  border: 0;
}

/* フッター検索パーツの設定 */
#footer form {
  float:right;
  width: 205px;
  margin: 0;
  padding: 0;
  line-height:100%;
}
#footer fieldset {
  border: 0;
}
#footer legend {
  display: none;
}
#footer input#words {
  width: 100px;
  height: 15px;
  border: 1px solid #999;
  font-size: 80%;
}
/*
#footer .input{
  vertical-align: top;
  width:150px;
  height:16px;
  font-size:9pt;
  line-height:100%;
  margin-top: 5px;
}
#footer .submit{
  vertical-align: top;
  margin-top: 6px;
}
*/

/*-----コピーライトの設定----*/
#copyright {
  position: relative;
  width: 800px;
  padding: 5px 0 20px 0;
  background: #fff;
}
#copyright address {
  text-align: right;
  color: #4d4d4d;
  font-family: Arial, Helvetica, sans-serif;
  font-style: normal;
  font-size: 65%;
}
#copyright p.address {
  color: #333333;
  font-size: 65%;
  position: absolute;
  top: 5px;
  left: 0px;
}
