﻿@charset "utf-8";

/*全体の設定
---------------------------------------------------------------------------*/
body {
	color: #333;	/*全体の文字色*/
	margin: 0px;
	padding: 0px;
	font: 14px/2 "メイリオ", Meiryo, "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro";
	background: #FFF;
}
h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure{
	margin: 0px;
	padding: 0px;
}

img {
	border: none;
	vertical-align: bottom;
}
input,textarea,select {
	font-size: 1em;
}
form {
	margin: 0px;
}
table {
	border-collapse:collapse;
	font-size: 100%;
	border-spacing: 0;
}
div.imagebox {
   width: 180px; /* 横幅 */
   float: left; /* 左に配置 */
   padding-right: 0px;
}
p.image, p.caption {
   text-align: center; /* 3.中央寄せ */
   margin: -10px;        /* 4.余白・間隔 */
   }

p.caption {
   font-size: 100%;  /* 5.文字サイズ */
   }

.bigger {
  font-size: larger;
}

/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
	color: #333;	/*リンクテキストの色*/
}
a:hover {
	color: #5cd3ff;			/*マウスオン時の文字色（全体）*/
	text-decoration: none;	/*マウスオン時に下線を消す設定。残したいならこの１行削除。*/
}

/*コンテナー（HPを囲むブロック）
---------------------------------------------------------------------------*/
#container {
	width: 980px;
	margin: 0px auto;
}

/*ヘッダー（サイト名ロゴが入ったブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	width: 100%;	/*ブロックの幅*/
	height: 120px;	/*ブロックの高さ*/
	position: relative;
}

/*ロゴの設定*/
header #logo {
	position: absolute;
	left: 60px;	/*ヘッダーブロックに対して左から60pxの位置に配置*/
	top: 30px;	/*ヘッダーブロックに対して上から30pxの位置に配置*/
	z-index: 2;
}
/*ヘッダー装飾画像*/
#header-img {
	position: absolute;
	top: -50px;
	right: 30px;
}

/*メインメニュー*/

#nav {
  width: 900px;
  height: 40px;
  margin: 0 auto;
  padding: 10px;
  display: flex;
}
#nav li {
  position: relative;
  list-style: none;
}
#nav li a {
  display: block;
  width: 120px;
  height: 40px;
  text-align: center;
  color: #fff;
  font-size: 14px;
  line-height: 2.8;
  background: #05BCFF;
  text-decoration: none;
  border-right: 1px solid #eee;
  
  box-sizing: border-box;
}
#nav > li:hover > a {/*layer-1*/
  color: white;
  background: #4169e1;
}
#nav > li li > a {
  width: 200px;
  height: 40px;
  color: white;
  background: #05BCFF
}
#nav > li li:hover > a {/*layer-2*/
  width: 200px;
  height: 40px;
  color: white;
  background: #4169e1;
}
#nav li ul {
  top: 40px;
  left: 10px;
  position: absolute;
}
#nav li ul li {
  overflow: hidden;
  height: 0;
}
#nav li ul li a {
  border-top: 1px solid #eee;
}
#nav li:hover > ul > li {
  overflow: visible;
  height: 40px;
}

/*コンテンツ（mainを囲むブロック）
---------------------------------------------------------------------------*/
#contents {
	clear: left;
	width: 100%;
	padding-top: 40px;
}
/*メインコンテンツ
---------------------------------------------------------------------------*/
#main {
	width: 80%;	/*メインコンテンツ幅*/
	padding-bottom: 30px;
	margin: 0px auto;
}
/*mainコンテンツのh1タグの設定*/
#main h1{
	width: 95%;
	color: #FFF;/*文字色*/
	padding: 0.5em;/*文字周りの余白*/
	display: inline-block;/*おまじない*/
	line-height: 1.3;/*行高*/
	background: #05BCFF;/*背景色*/
	vertical-align: middle;/*上下中央*/
	border-radius: 10px;/*左側の角を丸く*/
}

#main h1:before {
	content: '●';
	color: white;
	margin-right: 8px;
}

/*mainコンテンツのh2タグの設定*/
#main h2 {
	clear: both;
	width: 95%;
	background: #0099D1;
	font-size: 100%;
	border-radius: 10px;	/*角丸のサイズ*/
	color: #FFF;			/*文字色*/
	padding: 8px 15px;	/*上下、左右への余白*/
}
/*mainコンテンツのh3タグの設定*/
#main h3 {
	clear: both;
	width: 50%;
	background: #FFF;
	font-size: 100%;
	border-radius: 10px;	/*角丸のサイズ*/
	padding: 4px 15px;
	border: 1px solid #CCC;
}
/*mainコンテンツのh4タグの設定*/
#main h4 {
	clear: both;
	width: 30%;
	font-size: 100%;
	padding: 5px 3px 0px;
	border-bottom: solid #2c7a8c;
}
#main h5 {
	clear: both;
	width: 30%;
	font-size: 100%;
	padding: 5px 3px 0px;
}

/*mainコンテンツの段落タグ設定*/
#main p {
	padding: 0.5em 30px 1em;	/*左から、上、左右、下への余白*/
}

#main ul {
	padding: 0em 30px 0em;	/*左から、上、左右、下への余白*/
}


/*研究室の研究トピック
---------------------------------------------------------------------------*/
#research h3 {font-size: 10em}	/* 16px */
.restopic {
	margin: 1.5em 1.0em;
	display: table;
	}
.resimgblock {
	display: table-cell;
	vertical-align: middle;
	vertical-align: top;
	width:250px;
/*	height:150px; */
	 }
.resimg {
	 display: block;
	 margin-left: auto;
	 margin-right: auto;
	 width:250px;
	 }
.restext {
	 padding: 0em 1.0em;
	 display: table-cell;
	 vertical-align: middle;
	    }
.clear {
	clear: both;
	margin-top: 10pt;
	margin-bottom: 10pt;
	}

/*トップページ内「新着情報」ブロック
---------------------------------------------------------------------------*/
/*ブロック全体の設定*/
#news {
	width: 100%;	/*メインコンテンツ幅*/
	padding-bottom: 30px;
	margin: 0px auto;
}
#news ul {
  padding: 10px;
  position: relative;
}

#news ul li {
  color: #05BCFF;
  border-left: solid 6px #05BCFF;/*左側の線*/
  background: #f1f8ff;/*背景色*/
  margin-bottom: 3px;/*下のバーとの余白*/
 	line-height: 1.5;
  	padding: 0.5em;
  list-style-type: none!important;/*ポチ消す*/
}

/*---------------------------- スマートフォン向けのスタイル ----------------------------*/
@media only screen and (max-width: 480px) {


/*---------------------------- ページ全体の指定 ----------------------------*/

body {
  width: 100%;
  font: 87.5% 'ヒラギノ角ゴ pro W3', "Hiragino KaKu Gothic Pro", "メイリオ", Meiryo, Osaka, sans-serif;
  color: #333333;
  letter-spacing: 0.05em;
  -webkit-text-size-adjust: 100%;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;

}
/*メインメニュー*/

#nav {
  width: 96%;
  padding: 3px;

}
#nav li {
  width: 50%;
  letter-spacing: 0.05em;
  margin: 0;
  padding: 0;
  float: left;
  list-style: none;
  text-align: center;
}
#nav li a {
  display: block;
  width: 100%;
  font-size: 10px;
}

/*---------- メイン ----------*/

#main {
  background-color: #ffffff;
}


/*---------- ヘッダー ----------*/

#header {
  width: 96%;
  height: auto;
  padding: 0 0 1px 0;
  line-height: 0;
}


/*---------- メインコンテンツ ----------*/
#main {
	width: 96%;	/*メインコンテンツ幅*/
	padding-bottom: 10px;
	margin: 0px auto;
}
/*mainコンテンツのh1タグの設定*/
#main h1{
	width: 95%;
	color: #FFF;/*文字色*/
	padding: 0.5em;/*文字周りの余白*/
	display: inline-block;/*おまじない*/
	line-height: 1;/*行高*/
	background: #05BCFF;/*背景色*/
	vertical-align: middle;/*上下中央*/
	border-radius: 5px;/*左側の角を丸く*/
}
#container {
	width: 100%;
  padding: 0;
}

/*研究室の研究トピック
---------------------------------------------------------------------------*/
#research h3 {font-size: 10em}	/* 16px */
.resimgblock {
	display: block;
	width:96%;
	 }
.resimg {
	 display: block;
	 width:96%;
	 }
.restext {
	 display: block;
	 vertical-align: top;
}

}

#achievement a:link{
    text-decoration: none;
    color: #11a
}
#achievement a:hover{
    text-decoration: underline;
    color: #08f
}
#achievement a:visited{
    text-decoration: none;
    color: #80f
}
