/* このスタイルシート作成にはcsscreator.comのお世話になりました。*/
/* 昔、研究室のサイトを作った際に作成したCSSを流用・改造 */

html, body{ 
 margin:0; 
 padding:0; 
 text-align:center; 
}

/* リンクの色を固定 */
a:link { color: #7b68ee; }
a:visited { color: #7b68ee; }
a:hover { color: #7b68ee; }
a:active { color: #7b68ee; }

/* 912-6(影)-6(影)=900(実質表示部分)*/
#pagewidth{ 
 width:912px;
 background-image:url(image/shadow.png);
 background-repeat:repeat-y;
 text-align:left;  
 margin-left:auto; 
 margin-right:auto;  
} 

/* ヘッダ上方の黒(背景部) 横全面*/
#frontheader{
 position:relative;
 height:60px;
  background-color:#000000;
  background-image : url(image/bghead.png);
  background-repeat : repeat-x;
 width:100%;
}

/* ヘッダ上方の黒(タイトル部) 900固定*/
#frontheader2{
 position:relative;
 height:60px;
  background-color:#000000;
  background-image : url(image/bghead.png);
  background-repeat : repeat-x;
 width:900px;
 margin-left:auto;
 margin-right:auto;    
}

/* ヘッダの上方の黒(リンク部) 450固定*/
#frontheader_right{
 float:right;
 position:relative;
 height:60px;
  background-color:#000000;
  background-image : url(image/bghead.png);
  background-repeat : repeat-x;
 width:450px;   
}

/* 主要リンク部*/
#header{
 position:relative; 
 height:30px; 
  background-color:#DFDFDF;
  background-image:url(image/button_bg.png);
  background-repeat:repeat-x;
  background-position: bottom;  
 width:900px;
 margin-left:6px;
} 

img {
    vertical-align: bottom;
    }

/* トップのメインイメージ部 */
#main_image{
 position:relative; 
 height:100px; 
  background-color:#CCCCCC;
  background-repeat:repeat-x;
  background-position: bottom;  
 width:900px;
 margin-left:6px;
} 


/*左カラム(ページリンク)*/ 
#rightcol{
 width:195px;
 float:left;
 position:relative; 
 background-color:#000000;
 background-repeat:repeat-y;
 margin-left:6px;
 padding-left:5px;
 }

/* 本文記載部分 */
#maincol{
 background-color: #FFFFFF;  
 float: right; 
 display:inline; 
 position: relative; 
 width:660px;
 margin:0px 6px 0px 0px;
 padding:20px 20px 20px 20px;
 line-height: 1.4;
 }

#wrapper{
 margin:0 auto;
 overflow:hidden;
}

/* タイトル(英語)＋リンク部分*/
#footer{
 height:40px; 
  background-color:#DFDFDF; 
 clear:both;
 margin:0px 6px 0px 6px;
 }

/*画像ロールオーバー*/
/* ロールオーバーの条件内容(＋画像の相対位置指定)を記入*/
ul#blink0 {margin:0px 0px 0px 120px; padding:0px;} /*{list-style:none; height:30px; width:100%;}*/
ul#blink0 li {list-style:none; float:left; width:123px;}
ul#blink0 a {overflow:hidden; display:block; width:123px; height:30px; text-indent:-100px;}
ul#blink0 a:hover {background-position:-123px 0px;}

/*画像ロールオーバー2(サイドメニュー用)*/
/* ロールオーバーの条件内容(＋画像の相対位置指定)を記入*/
ul#blink1 {margin:50px 0px 0px 5px; padding:0px;} /*{list-style:none; height:30px; width:100%;}*/
ul#blink1 li {margin:7px 0px 0px 0px; list-style:none; float:left; width:180px;}
ul#blink1 a {overflow:hidden; display:block; width:180px; height:30px; text-indent:-100px;}
ul#blink1 a:hover {background-position:-180px 0px;}


li{
 /* ここでliで出現する"・"を消す*/
 display:block;
 list-style-type:none;
}

/*実際のロールオーバー画像を指定*/
li#blink0_1 a {background-image:url(image/1_corp_info.png);}
li#blink0_2 a {background-image:url(image/2_product.png);}
li#blink0_3 a {background-image:url(image/3_quality.png);}
li#blink0_4 a {background-image:url(image/4_tour.png);}
li#blink0_5 a {background-image:url(image/5_recruit.png);}

/*実際のロールオーバー画像を指定2*/
li#blink1_top a {background-image:url(image/s_top.gif);}
li#blink1_0 a {background-image:url(image/s_product.gif);}
li#blink1_1 a {background-image:url(image/s_product_1.gif);}
li#blink1_2 a {background-image:url(image/s_product_2.gif);}
li#blink1_3 a {background-image:url(image/s_product_3.gif);}


/*タイトルのスタイル情報 ※三種併用*/
#TitleStyle{
 border-width:1px 1px 1px 1px;
 Border-style:solid;
 border-color:#CCCCCC;
 background-color: #FFFFFF;
 height:34px;
}

#TitleStyle2{
 margin:1px 1px 1px 1px;
 background-color: #FFFFFF;
 background-image:url(image/link_bg.gif);
 padding:5px 5px 2px 5px;
 height:25px;
 font-size:14px;
}

#TitleStyle3{
 margin:1px 1px 1px 1px;
 border-width:0px 0px 0px 4px;
 Border-style:solid;
 border-color:#7A68EE;
 padding:3px 5px 2px 5px;
 height:16px;
 font-size:14px;
}

/*サブタイトルのスタイル情報*/
#SubTitleStyle{
 border-width:0px 0px 1px 5px;
 border-style:solid;
 border-color:#BBBBBB;
 padding:3px 3px 1px 3px;
 margin:20px 0px 10px 0px;
 font-size:14px;
}

html{
height:100%;
}

/*リンクの枠を消すためのクラス*/
.no_border {
    border-style:none;
}


.clearfix:after {
 content: "."; 
 display: block; 
height: 0; 
 clear: both; 
 visibility: hidden;
 }
 
.clearfix{display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix{height: 1%;}
.clearfix{display: block;}
/* End hide from IE-mac */  


 
/*印刷スタイル*/ 
 @media print{ 
/*左カラムを非表示*/ 
#rightcol{display:none;} 
#twocols, #maincol{width:100%; float:none;}
}
