﻿/* サイト共通
--------------------------------------------------------------------*/

body {
  font-family: Noto Sans JP, YuGothic, '游ゴシック', "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 14px;
  /*line-height: 1.86;*/
  line-height: 1.7;
  color: #333333;
}

#wrapper {
  width: 980px;
  margin: 0 auto;
}

/* ヘッダー */

header {
  height: 92px;
  position: relative;
}

header #logo-titech {
  width: 52px;
  height: 52px;
  margin-top: 16px;
  margin-right: 12px;
}

header #header-logo-isct {
  width: 117px;
  height: 56px;
  margin-top: 17px;
  margin-right: 38px;
}

header #header-sitename {
  /*width: 534px;*/
  width: 262px;
  /*height: 53px;*/
  height: 43px;
  /*margin-top: 16px;*/
  margin-top: 19px;
  background-image: url("../img/header-sitename.png"); 
  background-repeat: no-repeat;
  background-position: 0px 0px;
  background-size: contain;
}

header #header-sitename span {
  display: inline-block;
  text-indent: -9999px;
}

header #header-logo-mdxes {
  width: 100px;
  position: absolute;
  top: 40px;
  right: 0px;
}

/* 言語選択 */

header #lang-select {
  width: 80px;
  height: 26px;
  position: absolute;
  top: 0;
  right: 0;
}

header #lang-select a {
  display: block;
  width: 40px;
  height: 100%;
  text-align: center;
  text-decoration: none;
}

header #lang-select a span {
  position: relative;
  top: -2px;
}

header #lang-select a#btn-jp {
  background-color: #29abe2;
  color: white;
  border: 1px solid #29abe2;
  transition: all 0.5s;
}
header #lang-select a#btn-en {
  background-color: #000000;
  color: white;
  border: 1px solid #000000;
  transition: all 0.5s;
}

header #lang-select a#btn-jp:hover {
  background-color: white;
  color: #29abe2;
}
header #lang-select a#btn-en:hover {
  background-color: white;
  color: #000000;
}

/* ナビ */

nav ul#nav-main {
  width: 980px;
  height: 30px;
  border-right: 1px solid #404040;
  padding-left: 0;
  margin-bottom: 0;
}

nav ul#nav-main li {
  width: 163px; /* 163px x 6項目 = 978px =: 980px */
  border-left: 1px solid #404040;
  text-align: center;
  list-style: none;
  cursor: pointer;
  font-weight: bold;
}

nav ul#nav-sub {
  width: 100%;
  padding-top: 11px;
  padding-left: 0;
}

nav ul#nav-sub li {
  height: 0;
  border: 1px solid #28abe1;
  border-top: none;
  text-align: left;
  font-weight: bold;
  padding-left: 2em;
  list-style: none;
  background-color: white;
  opacity: 0;
  transition: all 0.5s; /* #nav-sub 非表示への戻りの transition */
}
nav ul#nav-sub.show li { /* #nav-sub 表示時のスタイル */
  height: 35px;
  opacity: 0.85;
  transition: all 0.5s;
}

nav ul#nav-sub li a {
  position: relative;
  top: 3px;
  color: #999999;
  transition: color 0.5s; /* #nav-sub 非表示への戻りの transition */
}
nav ul#nav-sub.show li a { /* #nav-sub 表示時のスタイル */
  color: #000000;
  transition: all 0.5s;
}

nav ul li a {
  width: 100%;
  height: 100%;
  display: block;
  text-decoration: none;
  color: #000000;
  transition: color 0.5s;
}
nav ul li a:hover,
nav ul li a.now,
nav ul#nav-main li:nth-child(3).now {
  color: #28abe1!important;
}

/* メイン */

main {
  width: 700px;
}

/* サイドバー */

aside {
  width: 240px;
}

#rel-links a {
  display: block;
  opacity: 1.0;
  transition: opacity 0.5s;
}

#rel-links a:hover {
  opacity: 0.6;
}

#rel-links a img#btn-D2MatE {
  box-sizing: content-box;
  width: 238px;
  height: 218px;
  border: 1px solid #000000;
  margin-bottom: 20px;
}

#rel-links a img#btn-MCES {
  box-sizing: content-box;
  width: 238px;
  height: 116px;
  border: 1px solid #000000;
  margin-bottom: 20px;
}

#rel-links a img#btn-LINK {
  box-sizing: content-box;
  width: 238px;
  height: 57px;
  border: 1px solid #000000;
}

/* フッター */

footer {
  height: 250px;
  margin-top: 40px;
  background-color: #f2f2f2;
}

#footer-inner {
  width: 980px;
  margin: 0 auto;
  position: relative;
  line-height: 1.86;
}

#footer-inner #footer-sitename {
  /*width: 259px;*/
  width: 210px;
  /*height: 142px;*/
  height: 78px;
  /*margin-top: 50px;*/
  margin-top: 35px;
  /*margin-right: 37px;*/
  margin-right: 5px;
  background-image: url("../img/footer-sitename.png"); 
  background-repeat: no-repeat;
  background-position: 0px 0px;
  background-size: contain;
}

#footer-inner #footer-sitename p {
  text-indent: -9999px;
}

#footer-inner #footer-logo-isct {
  display: block;
  margin-top: 30px;
  width: 117px;
  height: 56px;
}

#footer-inner ul#footer-nav-main {
  /*margin-top: 55px;*/
  margin-top: 26px;
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  font-size: 13px;
}

#footer-inner ul#footer-nav-main li {
  padding-left: 23px;
  background-image: url("../img/blt-tri-blue-bg-gray.png"); 
  background-repeat: no-repeat;
  background-position: 7px 9px;
  margin-bottom: 1em;
}
#footer-inner ul#footer-nav-main li:nth-child(3) {
  margin-left: 165px;
  margin-top: -74px;
}
#footer-inner ul#footer-nav-main li:nth-child(4) {
  margin-left: 355px;
  margin-top: -110px;
}
#footer-inner ul#footer-nav-main li:nth-child(5) {
  margin-left: 355px;
}
#footer-inner ul#footer-nav-main li:nth-child(6) {
  margin-left: 510px;
  margin-top: -75px;
}

#footer-inner ul#footer-nav-main li a {
  color: #000000;
  text-decoration: none;
  transition: color 0.5s;
}

#footer-inner ul#footer-nav-main li a:hover {
  color: #28abe1;
}

#footer-inner ul#footer-nav-sub {
  padding-left: 1.5em;
  margin-bottom: 0;
}

#footer-inner ul#footer-nav-sub li {
  padding-left: 0;
  background: none;
  list-style-type: disc;
  margin-bottom: 0;
}
#footer-inner ul#footer-nav-sub li:nth-child(3) {
  margin-left: 0;
  margin-top: 0;
}

#footer-inner address {
  text-align: right;
  font-size: 13px;
  position: absolute;
  right: 0;
  top: 192px;
}

address {
  text-align: center;
  font-size: 13px;
  margin-top: 10px;
  margin-bottom: 20px;
}

/* スタイル部品
--------------------------------------------------*/

/* パンくずリストの大なり記号 */

.bread-gt {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 1px solid #333333;
  border-bottom: 1px solid #333333;
  transform:rotate(-45deg);
  margin-left: 10px;
  margin-right: 15px;
  position: relative;
  top: -1px;
}

/* リンク付き画像のホバー変化 */

a.ch-opacity {
  opacity: 1.0;
  transition: opacity 0.5s;
}
a.ch-opacity:hover {
  opacity: 0.6;
}

/* トップページ
--------------------------------------------------------------------*/

/* トップ画像 */

body.top {
  background-image: url(../img/top-image.png); 
  background-repeat: no-repeat;
  background-position: center 130px;  
}

body.top #top-image {
  height: 440px;
  margin-top: 8px;
  margin-bottom: 40px;
}

body.top #top-image p {
  text-indent: -9999px;
}

/* メイン */

/* NEWS */

body.top #list_news-outer {
  height: 385px;
  padding: 0px 0px 0px 7px;
  border: 1px solid #ddd;
}

body.top h2 {
  font-weight: bold;
  color: #28abe1;
  margin-bottom: 20px;
}

/* NEWS (iframe) */

body.top-iframe ul#news {
  margin-top: 7px;
  padding-left: 0;
  margin-bottom: 0;
}

body.top-iframe ul#news li {
  padding-left: 23px;
  background-image: url("../img/blt-tri-blue.png"); 
  background-repeat: no-repeat;
  background-position: 7px 8px;
  margin-bottom: 3px;
}
body.top-iframe ul#news li span {
  display: block;
}

body.top-iframe ul#news li span.news_date {
  width: 90px;
}

body.top-iframe ul#news li span.news_content {
  width: 570px;
}

/* 非トップページ
--------------------------------------------------------------------*/

/* パンくずリスト */

body.non-top {
  background-image: url("../img/bg-bread.png"); 
  background-repeat: repeat-x;
  background-position: left 143px;  
}

body.non-top #bread {
  height: 30px;
  line-height: 30px;
  font-size: 13px;
  margin-top: 20px;
  margin-bottom: 40px;
}

body.non-top #bread a,
body.non-top #bread a:link,
body.non-top #bread a:visited,
body.non-top #bread a:hover {
  /*color: #28abe1;*/ /* サイトカラー */
  color: #00AEF6; /* サイトカラーより濃い青 */
  text-decoration: none;
}

body.non-top h1 {
  padding: 7px 0 12px 17px;
  border-bottom: 1px solid #28abe1;
  border-left: 10px solid #28abe1;
  margin-bottom: 35px;
  font-weight: bold;
  font-size: 20px;
}

body.non-top h2 {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 20px;
  line-height: 1.4;
}

/* 研究トピック、イベント等 */

body.non-top #list_research-outer,
body.non-top #list_information-outer {
  height: 318px;
  padding: 0px 0px 0px 7px;
  border: 1px solid #ddd;
}

body.non-top #list_research-outer-sm,
body.non-top #list_information-outer-sm {
  height: 167px;
  padding: 0px 0px 0px 7px;
  border: 1px solid #ddd;
  margin: -10px 0 25px 0;
}

/* NEWS (iframe) */

body.non-top-iframe ul#news {
  margin-top: 7px;
  padding-left: 0;
  margin-bottom: 0;
}

body.non-top-iframe ul#news li {
  padding-left: 23px;
  background-image: url("../img/blt-tri-blue.png"); 
  background-repeat: no-repeat;
  background-position: 7px 8px;
  margin-bottom: 3px;
}
body.non-top-iframe ul#news li span {
  display: block;
}

body.non-top-iframe ul#news li span.news_date {
  width: 90px;
}

body.non-top-iframe ul#news li span.news_content {
  width: 570px;
}

/* 教員紹介 */

body.non-top #members .member {
  margin-bottom: 25px;
}

body.non-top #members .member.director {
  margin-bottom: 45px;
}

body.non-top #members .member img {
  width: 130px;
  margin-right: 20px;
}

body.non-top #members .member.director img {
  width: 150px;
}

/* サイト共通（英語）
--------------------------------------------------------------------*/

/* ヘッダー */

body.en header #header-sitename {
  /*width: 399px;*/
  width: 440px;
  /*height: 51px;*/
  height: 40px;
  /*margin-top: 16px;*/
  margin-top: 28px;
  margin-right: 110px;
  background-image: url("../en/img/header-sitename-en.png"); 
  background-repeat: no-repeat;
  background-position: 0px 0px;
  background-size: contain;
}

/* サイドバー */

body.en #rel-links a img#btn-D2MatE {
  box-sizing: content-box;
  width: 238px;
  height: 178px;
  border: 1px solid #000000;
  margin-bottom: 20px;
}

/* フッター */

body.en #footer-inner #footer-sitename {
  /*width: 281px;*/
  width: 224px;
  /*height: 97px;*/
  height: 105px;
 /* margin-top: 50px;*/
  margin-top: 38px;
  /*margin-right: 37px;*/
  margin-right: 5px;
  background-image: url("../en/img/footer-sitename-en.png"); 
  background-repeat: no-repeat;
  background-position: 0px 0px;
  background-size: contain;
}

body.en #footer-inner ul#footer-nav-main li:nth-child(3) {
  margin-left: 140px;
}
body.en #footer-inner ul#footer-nav-main li:nth-child(4) {
  margin-left: 330px;
}
body.en #footer-inner ul#footer-nav-main li:nth-child(5) {
  margin-left: 330px;
}
body.en #footer-inner ul#footer-nav-main li:nth-child(6) {
  margin-left: 480px;
}

body.en #footer-inner ul#footer-nav-sub li:nth-child(3) {
  margin-left: 0;
  margin-top: 0;
}


/* トップページ（英語）
--------------------------------------------------------------------*/

/* トップ画像 */

body.en.top {
  background-image: url(../en/img/top-image-en.png); 
  background-repeat: no-repeat;
  background-position: center 130px;  
}
