/*西日本工業大学八木研究室レイアウト */
/*このCSSの一部を再利用することは自由ですが、全体としてのページデザインの著作権は八木研究室が保有し、再利用は許可しません */
/*NIT Yagi Studio Layout - Copyright yagik 2005 */
/*You may use some part of this CSS freely, but you may NOT reproduce my design */
/*Last Updated  April 14 2007 - 文字設定の修正 */

body, p {
	margin: 0;
	padding: 0;
	color: #666;
	background: #fff;
	}

.hide, p.cellonly {
	display: none;
	}

img {
	border: 0;
	}

a:link {
	color: #06f;
	text-decoration: underline;
	}

a:visited {
	color: #39f;
	text-decoration: none;
	}
	
a:hover {
	color: #39f;
	text-decoration: underline;
	}

/*ヘッダー＆ナビゲーション：A List Apartに寄せられているテクニックをもとに作成。Thanx Eric Shepherd, Dave Shea, and Leon Dwyer*/

#logo {
	margin: 0;
	padding: 0;
	position: absolute;
	top: 0;
	left: 0;
	height: 40px;
	width: 100%;
	background: #ececec;
	font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "MS Gothic", "ＭＳ ゴシック", myriad, arial, verdana, helvetica, sans-serif;
	}

#nav {
	margin: 0;
	padding: 0;
	margin-bottom:10px;
	position: absolute;
	top: 40px;
	left: 0;
	height: 30px;
	width: 100%;
	background: #ececec;
	font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "MS Gothic", "ＭＳ ゴシック", myriad, arial, verdana, helvetica, sans-serif;
	}

#nav a, #logo a {
	text-decoration: none;
	}

#nav li, #logo li { /*リストアイテム配置*/
	margin: 0;
	padding: 0;
	float: left;
	display: block;
	}

#nav li a, #logo li a {
	color: #f90;
	padding: 0;
	float: left;
	display: block;
	}

/*テキストを画像に置き換え*/

#nav li span, #logo li span {
	display: block;
	width: 0;
	height: 0;
	overflow: hidden;
	}

#nit a, #design a, #arch a {
	margin: 0;
	padding: 0;
	display: block;
	position: relative;
	height: 40px;
	background: url(http://www.nishitech.ac.jp/~yagi/style/logo.gif) no-repeat; /*ロゴの画像ファイル表示*/
	}

#home a, #studio a, #research a, #members a, #schedule a, #profile a, #blog a {
	margin: 0;
	padding: 0;
	display: block;
	position: relative;
	height: 30px;
	background: url(http://www.nishitech.ac.jp/~yagi/style/tabs.gif) no-repeat; /*タブの画像ファイル表示*/
	}

/*初期配置*/

#nit a {
	background-position: 0 0;
	width: 165px;
	}

#design a {
	background-position: -165px 0;
	width: 130px;
	}

#arch a {
	background-position: -295px 0;
	width: 105px;
	}

#home a {
	background-position: 0 -60px;
	width: 200px;
	}

#studio a {
	background-position: -200px -60px;
	width: 80px;
	}

#research a {
	background-position: -280px -60px;
	width: 80px;
	}

#members a {
	background-position: -360px -60px;
	width: 80px;
	}

#schedule a {
	background-position: -440px -60px;
	width: 80px;
	}

#profile a {
	background-position: -520px -60px;
	width: 80px;
	}

#blog a {
	background-position: -600px -60px;
	width: 80px;
	}

/*ロールオーバー指定*/

#nit a:hover, #nit:hover a, #nit.over a {
	background-position: 0 -50px;
	}

#design a:hover, #design:hover a, #design.over a {
	background-position: -165px -50px;
	}

#arch a:hover, #arch:hover a, #arch.over a {
	background-position: -295px -50px;
	}

#home a:hover, #home:hover a, #home.over a {
	background-position: 0 -30px;
	}

#studio a:hover, #studio:hover a, #studio.over a {
	background-position: -200px -30px;
	}

#research a:hover, #research:hover a, #research.over a {
	background-position: -280px -30px;
	}

#members a:hover, #members:hover a, #members.over a {
	background-position: -360px -30px;
	}

#schedule a:hover, #schedule:hover a, #schedule.over a {
	background-position: -440px -30px;
	}

#profile a:hover, #profile:hover a, #profile.over a {
	background-position: -520px -30px;
	}

#blog a:hover, #blog:hover a, #blog.over a {
	background-position: -600px -30px;
	}

/*コンテントエリア*/
 
#content {
	float: left;
	margin: 75px 0 0 0;
	padding-left: 15px;
	font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "MS Gothic", "ＭＳ ゴシック", myriad, arial, verdana, helvetica, sans-serif;
	line-height: 1.4;
	width:100%;
	}

#iblogcontent {
	float: left;
	margin: 75px 0 0 0;
	padding-left: 15px;
	font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "MS Gothic", "ＭＳ ゴシック", myriad, arial, verdana, helvetica, sans-serif;
	line-height: 1.4;
	width: 70%;
	}

#content h1,  #iblogcontent h1 {
	margin: 5px 0 5px 0;
	font-size: medium;
	font-weight: normal;
	font-family: myriad, arial, verdana, helvetica, sans-serif;
	text-transform: capitalize;
	color: #f90;
	background: #fff;
	}

#content h2,  #iblogcontent h2 {
	margin: 5px 0 10px 0;
	font-size: small;
	font-weight: normal;
	font-family: myriad, arial, verdana, helvetica, sans-serif;
	text-transform: capitalize;
	margin-left: -15px;
	padding: 2px 2px 2px 15px;
	border: 0;
	border-bottom: 1px #ccc solid ;
	}

#content h2 {
	width: 680px;
	}

#content h3,  #iblogcontent h3 {
	margin: 5px 0 5px 0;
	font-size: small;
	font-weight: normal;
	text-transform: capitalize;
	color: #f90;
	background: #fff;
	}

#content p, #content div,  #iblogcontent p,  #iblogcontent div {
	padding-top: 5px;
	padding-bottom: 5px;
	font-size: small;
	color: #666;
	background: #fff;
	}

#content span.col1 {
	position: absolute;
	left: 15px;
	}

#content span.col2 {
	position: absolute;
	left: 8em;
	}

#content ul.works {
	list-style: none;
	margin: 5px 0 10px 0;;
	padding: 0;
	}

#content li {
	margin: 0px;
	line-height: 1.4;
	font-size: small;
	color: #666;
	background: #fff;
	}

#desc {
	margin-left: -15px;
	width:695px;
	}

#desc td {
	vertical-align: top;
	padding-left: 15px;
	font-size: small;
	}

#desc td.head {
	color: #f90;
	background: #fff;
	}

#desc td.sep {
	border-top: #999 dotted 1px;
	margin-top:5px;
	padding-top: 5px;
	}

/*サイド*/

#side {
	float: right;
	margin: 75px 0 10px 0;
	padding: 25px 0 0 10px;
	width: 23%;
	}

#side h2 {
	font-family: myriad, arial, verdana, helvetica, sans-serif;
	font-size: small;
	font-weight: normal;
  	line-height: 140%;
  	padding: 3px;
  	margin-top: 10px;
  	text-align: center;
  	text-transform: uppercase;
	letter-spacing: .1em;
  	border:0;
  	border-bottom: 1px solid #ccc;
	}

#side p, #side ul {
	font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "MS Gothic", "ＭＳ ゴシック", myriad, arial, verdana, helvetica, sans-serif;
	color: #666;
	font-size: 11px;
	font-weight: normal;
	text-align: left;
	line-height: 140%;
	padding:2px;				
	}	

#side p.sub {
	border-top: #ccc dashed 1px;
	margin-top: 5px;
	padding: 2px;
	}	

#side ul {
	list-style: none;
	margin: 0;
	padding: 0;
	padding-left: 2px;
	}

#side li {
	font-size: 11px;
	}

#side p.madewith, #side p.powered {
	font-family: myriad, arial, verdana, helvetica, sans-serif;
	font-size: 11px;
	font-weight: bold;
	padding: 10px;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: .1em
	}	

#side p.powered {
	border-top:1px dashed #ccc;
	}

/*カレンダー*/

#iblogcontent span.calendar, #side span.calendarhead {
	font-size: 10px;
	text-transform:capitalize;
	letter-spacing: .1em;
	}

#iblogcontent span.calendar, #side span.calendar {
	font-size: 10px;
  	text-align: center;	
	}

/*サーチボックス*/

#side td {
	text-align: left;
	font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "MS Gothic", "ＭＳ ゴシック", arial, verdana, helvetica, sans-serif;
	font-size: x-small;
	color: #666;
	background: #fff;
	vertical-align: top;
	}

#side td imput {
	border: #ccc dashed 1px;
	}

/*フッター*/

#footer {
	margin: 0;
	padding: 0;
	clear: both;
	width: 100%;
	border-top: #ccc solid 1px;
	text-align: center;
	font-size: small;
	font-weight: bold;
	font-family: myriad, arial, verdana, helvetica, sans-serif;
	color: #666;
	background: #ececec;
	}

#footer p {
	padding: 5px;
	}
