@charset "utf-8";

body {
  font-size: 90%;
  line-height: 160%;
  text-align: center;
  background: url(http://kawamura-lab.jp/assets/templates/swc/image/back.jpg);
}

/* --- wrapper --- */

.wrapper {
  width: 960px;
  margin-right: auto;
  margin-left: auto;
  text-align: left;
}

/* --- header --- */
#header {
  text-align: left;
  height: 220px;
}

#inner-header {
  height: 160px;
  position: relative;
  background: url(http://kawamura-lab.jp/assets/templates/swc/image/header.png) no-repeat;
}

#header h1, #header h1 a{
  width: 770px;
  height: 75px;
}

#header h1 {
  position: absolute;
  left: 90px;
  top: 55px;
}

#header .info {
  position: absolute;
  top: 10px;
  right: 0;
}

#header .info li, #header .info li a{
  width:80px;
  height:15px;
}

#header .info li{
  float: left;
  margin-left: 15px;
}

#header #fontsize {
  position: absolute;
  top: 38px;
  right: 9px;
}
#header #fontsize span {
  float: left;
}
#header #fontsize li {
  float: left;
}
#header #fontsize li.i1, #header #fontsize li.i1 a {
  width: 26px;
  height: 26px;
}
#header #fontsize li.i2 {
  margin: 2px 0 0 7px;
}
#header #fontsize li.i2, #header #fontsize li.i2 a {
  width: 22px;
  height: 22px;
}
#header #fontsize li.i3 {
  margin: 2px 0 0 7px;
}
#header #fontsize li.i3, #header #fontsize li.i3 a {
  width: 18px;
  height: 18px;
}


/* --- nav --- */
#nav {
  position: absolute;
  top: 160px;
  background:url(http://kawamura-lab.jp/assets/templates/swc/image/nav_back.png) repeat-x;
  width: 100%;
  height: 60px;
}

#navi li {
  float: left;
}
#navi a {
  width: 150px;
  height: 60px;
  background: url(http://kawamura-lab.jp/assets/templates/swc/image/nav.png) no-repeat;
}
#navi .i1 a {	background-position: 0px 0px;width: 140px}
#navi .i2 a {	background-position: -140px 0px;width: 140px}
#navi .i3 a {	background-position: -280px 0px;width: 160px}
#navi .i4 a {	background-position: -440px 0px;width: 170px}
#navi .i5 a {	background-position: -610px 0px;}
#navi .i6 a {	background-position: -760px 0px;width: 200px}
#navi .i1 a:hover {	background-position: 0px -60px;}
#navi .i2 a:hover {	background-position: -140px -60px;}
#navi .i3 a:hover {	background-position: -280px -60px;}
#navi .i4 a:hover {	background-position: -440px -60px;}
#navi .i5 a:hover {	background-position: -610px -60px;}
#navi .i6 a:hover {	background-position: -760px -60px;}

#container.large {
  font-size: 120%;
}
#container.medium {
  font-size: 100%;
}
#container.small {
  font-size: 80%;
}

/* --- side --- */

#side {
  float:right;
  width:280px;
  margin-top: 20px;
}

#side .menu li {
  margin-bottom:5px;
}

#side .banner {
  margin-top:15px;
  text-align: center;
  margin-bottom: 20px;
}
#side .banner img {
  margin-bottom:5px;
}

#side #news_title {
  width: 280px;
  height: 35px;
  background:url("http://kawamura-lab.jp/assets/templates/swc/image/news.png") no-repeat;
}

#side .archive_link {
  text-align: right;;
  font-size: 70%;
  margin-top: -30px;
  margin-right: 5px;
  margin-bottom: 20px;
}

#side .archive_link a {
  color: #fff;
  text-decoration: underline;
}

#side .archive_link a:hover {
  color: #aaa;
}


#side #news dl {
  margin: 0 2px;
}

#side #news dt {
  background: url(http://kawamura-lab.jp/assets/templates/swc/image/icon.png) no-repeat;
  background-position: 0 8px;
  padding-left: 12px;
  font-weight: bold;
}

#side #news dd {
  padding-left: 10px;
  margin-bottom: 10px;
}

/* --- content --- */

#content {
  width: 880px;
  margin: 0 auto;
  margin-top: 20px;
}
#content.top {
  width: 650px;
  float: left;
}

#content h2 {
  width: 880px;
  height: 38px;
  margin-bottom: 5px;
  background: url(http://kawamura-lab.jp/assets/templates/swc/image/title.png) no-repeat;
  padding: 5px;
}

#content h2.free {
  background:url(http://kawamura-lab.jp/assets/templates/swc/image/h2.png) no-repeat;
}

#content h2.i4 {	background-position: 0px -48px;}
#content h2.i5 {	background-position: 0px -96px;}
#content h2.i6 {	background-position: 0px -144px;}
#content h2.i7 {	background-position: 0px -192px;}
#content h2.i10 {	background-position: 0px -240px;}
#content h2.i2 {	background-position: 0px -288px;}
#content h2.topics {	background-position: 0px -336px;}
#content h2.i9 {	background-position: 0px -384px;}
#content h2.i49 {	background-position: 0px -432px;}
#content h2.i38 {	background-position: 0px -48px;}

#content h2.introduction {	background-position: 0px -0px;}
#content h2.member {	background-position: 0px -48px;}
#content h2.achievements {	background-position: 0px -96px;}
#content h2.event {	background-position: 0px -144px;}
#content h2.access {	background-position: 0px -192px;}

/* .article */

#content .article {
  padding: 0 19px;
  margin-bottom:20px;
}

#content h3 {
  font-size: 130%;
  padding: 5px 0 5px 15px;
  margin: 15px 0 8px;
  border-bottom: 2px solid #2a2f51;
  color: #464633;
}

#content h4 {
  font-size:110%;
  padding: 0 0 0 8px;
  line-height: 120%;
  margin: 15px 0 8px;
  margin-left: 15px;
  color: #464633;
  border-left: 7px solid #2a2f51;
}
#content h5 {
  font-size:100%;
  padding: 0 0 0 8px;
  line-height: 120%;
  margin: 15px 0 8px;
  margin-left: 15px;
  color: #464633;
}
#content p {
  padding: 10px;
}

#content img {
  padding: 10px 0;
}

#content ul, #content ol {
  margin-top:10px;
  margin-bottom:10px;	
  margin-left:50px;
  margin-right:30px;
}
#content ul li {
  list-style-type:disc;
  margin-bottom:5px;
}
#content ol li {
  list-style-type:decimal;
  margin-bottom:5px;
}

#content .article dl {
  margin:10px 30px;
}
#content .article dt {
  font-weight:bold;
  padding-left:15px;
}
#content .article dd {
  padding-left:30px;
  padding-bottom:15px;
}

#content table {
  margin:10px;
  border-collapse: collapse;
  border-right: 1px solid #333;
  border-bottom: 1px solid #333;
}
#content table th {
  padding:5px;
  border-top: 1px solid ;
  border-left: 1px solid #333;
  background: #F5F5F5;

}
#content table td {
  padding:5px;
  border-top: 1px solid #333;
  border-left: 1px solid #333;
}

/* footer */

#footer {
  margin-top: 30px;
  background: #2a2f51;
}

#footer #counter {
  color: #fff;
}
#footer #count_numbers {
  margin-left: 10px;
}
#footer .count_number {
  background: #17182B;
  color: #fff;
  padding: 2px 4px;
  margin-right: 2px;
}
#inner-footer {
  padding: 25px 40px;
  text-align: left;
}
#inner-footer ul {
  margin-top: 25px;
}

#footer li {
  /*display:inline-block;*/
  display: inline;
  border-left:1px solid #fff;
  margin-left:3px;
  padding-left:6px;
}

#footer li:last-child {
  border-right:1px solid #fff;
  padding-right:3px;
}

#footer a {
  color: #fff;
}

#footer a:hover{
  color: #aaa;
}

#copyright {
  background: #1f2139;
  text-align: center;
  color: #fff;
}

#copyright .copyright{
  text-align: right;
  padding: 4px;
}



.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}

/* hack */
body {
  margin:0;
  padding: 0px;
}

ul, li, ol, dl, dd, dt, p, form, h1, h2, h3, h4, h5, h6, table, th, td {
  margin:0;
  padding:0;
}

a {
  color:#745e43;
}

a:hover {
  color:#745e77;
}

li {
  list-style-type:none;
}

img {
  border:0;
}

.bl {
  text-align:left;
  display:block;
  text-indent:-999em;
  overflow:hidden;
}

.clearfix {
  min-height: 1px;
}

* html .clearfix {
  height: 1px;/*\*//*/
  height: auto;
  overflow: hidden;
  /**/
}