﻿/* ----- CSSハックによるIE7対策　*+html を使う ----- */
/* header SSOC logo */
*+html #SSOC_iwa {
	float: left;
	margin-top: -2px;/* ←変更点 */
	margin-left: 32px;
	margin-bottom: 5px;
}

/* navigation lists */
*+html #wrapper #nav ul{
	float: left;/* このfloatでアイコンが横並びになる */
	list-style-type: none;/* これでリストの点がなくなる */
	padding: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 30px;
	height: 55px;/* marginの相殺が起きるためboxの高さを指定した。*/
}

/* スクロールバーが２つになることの対策(firefox対策のためにできた) */
*+html body {
	overflow-y: auto;
	overflow-x: auto;
}


/* ----- CSSハックによるIE6対策　* html を使う ----- */
/* 全体的に右にズレるので補正 */
/* header TU logo */
* html #TU_logo {
	display: inline;/* これでレイアウトずれが修正 */
	float: left;
	margin-top: 22px;
	margin-left: 60px;
}
/* header right-top */
* html #Tohoku_University {
	display: inline;
	float: right;
	margin-top: 50px;
	margin-right: 90px;
}
/* header SSOC logo */
* html #SSOC_iwa {
	display: inline;
	float: left;
	margin-top: -2px;
	margin-left: 32px;
	margin-bottom: 10px;
	font-size: 0;/* 小さいpxを指定するとそれより大きくなるバグに対応(overflow: hidden;でも可能) */
}
* html #SSOC_iwa a img {
	border: none;
}
* html #SSOC_iwa a:hover img {
	border: none;
}
/* --- navigation lists --- */
* html #wrapper #nav ul{
	display: inline;
	float: right;/* このfloatでアイコンが横並びになる */
	list-style-type: none;/* これでリストの点がなくなる */
	padding: 0px;
	margin-top: 0px;
	margin-left: 0px;
	margin-right: 48px;
	margin-bottom: 18px;
}
/* contact専用 */
* html #contents #contact_body_text {
	display: inline;
	height: 150px;
	width: 550px;
	float: left;/* これがないとie6ではmarginが反映されない */
	margin-left: 63px;
	margin-top: 70px;
}
/* サイドバーの設定 */
* html #contents #sidebar h1{
	display: inline;
	background-image: url(../images/body-title.png);
	background-repeat: no-repeat;
	float: left;
	height: 30px;
	width: 213px;
	margin-top: 10px;
	margin-left: 33px;
	font-size: 25px;
	line-height: 31px;
	color: #333;
	font-family: Verdana, Geneva, sans-serif;
}
/* 言語ボタンの設定 */
* html #contents #language {
	display: inline;
	float: right;
	height: 25px;
	width: auto;
	margin-top: 10px;
	margin-right: 65px;
}
/* sub contents bottomの設定 */
* html #contents #sub_contents_bottom ul {
	display: inline;
	float: left;
	list-style-type: none;
	text-decoration: none;
	margin-top: 20px;
	margin-left: 40px;
}
/* 本文のboxの設定 */
* html #contents #body_text {
	display: inline;
	float: right;
	height: auto;
	width: 450px;
	margin-top: 10px;
	margin-right: 55px;
	text-align: left;
	font-size: 14px;
	line-height: 17px;
}
/* footerのテキストの設定 */
* html #footer #footer_text {
	display: inline;
	height: 30px;
	width: 130px;
	margin-top: 35px;
	margin-right: 60px;
	float: right;
}
/* last updated on */
* html #footer #last_updated_on {
	display: inline;
	height: 30px;
	width: 330px;
	margin-top: 35px;
	margin-left: 40px;
	float: left;
}


/* スクロールバーが２つになることの対策(firefox対策のためにできた) */
* html body {
	overflow-y: auto;
	overflow-x: auto;
}

/* ３年生ページのbox指定 */
* html #contents #body_text_1 {
	display: inline;
	float: left;
	height: auto;
	width: 590px;
	margin-top: 10px;
	margin-left: 40px;
	text-align: left;
	font-size: 14px;
	line-height: 17px;
}