@charset "UTF-8";

body {
  margin: 0;
  font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
}

/* Margins to be kept on the left and right side of the box */
.header-site, .header-nav-inner, .contents, .footer-inner {
  padding-left: 10px;
  padding-right: 10px;
}

/* Header */

/* Site Name */
.site a {
  text-decoration: none;
}
.site img {
  float: left;
  width: 84px;
  padding-right: 10px;
}
.site h1 {
  margin: 0;
  color: #0366b4;
  font: 14px/10px 'Rounded Mplus 1c';
  font-weight: 500;
}
.site h2 {
  margin: 0;
  color: #000;
  font: 41px 'Rounded Mplus 1c';
  font-weight: 500;
}

/* Navigation Menu */
.menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.menu li a {
  display: block;
  padding: 15px;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
}
.menu li a:hover {
  color: #808080;
}
.menu ul:after {
  content: "";
  display: block;
  clear: both;
}
.menu li {
  float: left;
  width: auto;
}
.fixed {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

/* Side Menu */
.side {
  position: fixed;
  right: 0;
  top: 300px;
  border: solid 2px #888;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.5);
  z-index: 1000;
}
.side ul {
  margin: 0;
  padding: 5px 0;
  list-style: none;
}
.side li a img {
  display: block;
  padding: 5px;
  width: 40px;
}
.side li a img:hover {
  opacity: 0.5;
}

/* Main */

/* Contents */
.contents h2 {
  margin-top: 40px;
  margin-bottom: 0;
  padding: 15px;
  color: #000;
  font-size: 18px;
  font-weight: bold;
  background: #eee;
  border-left: solid 4px #0366b4;
}
.contents h3 {
  margin-bottom: 20px;
  padding: 10px 15px;
  color: #0366b4;
  font-size: 18px;
  font-weight: bold;
  background: #eee;
  border-bottom: solid 2px #0366b4;
}
.contents p {
  margin: 20px 15px;
  font-size: 14px;
}
.article {
  margin-bottom: 20px;
}
.article a {
  display: block;
  border: solid 1px #ddd;
  color: #000;
  text-decoration: none;
}
.article a:hover {
  box-shadow: 0 0 10px #ddd;
}
.article img {
  max-width: 100%;
  height: auto;
  border-bottom: solid 1px #ddd;
  margin: 0 0 15px;
  vertical-align: bottom;
}
.border {
  border: solid 1px #ddd;
}
.youtube {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-bottom: 56.25%;
  margin: 0 0 15px;
  border-bottom: solid 1px #ddd;
}
.youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
a.btn {
  display: inline-block;
  padding: 5px 15px;
  background: #c4302b;
  color: #fff;
  font-size: 14px;
}
.btn i {
  margin-left: 10px;
}
.article h1 {
  margin: 0 15px 10px;
  font-size: 18px;
  color: #0366b4;
}
.article p {
  margin: 0 15px 15px;
  font-size: 14px;
}

/* Education */
.links img {
  max-width: 80%;
  height: auto;
  margin: 0 0 20px 20px;
  vertical-align: bottom;
}

/* Links */
.links ul {
  margin-left: -10px;
  margin-bottom: 40px;
  list-style-type: square;
}
.links ul li {
  font-size: 16px;
}
.links ul li a {
  color: #000;
  text-decoration: none;
}
.links ul li a:hover {
  color: #888;
  text-decoration: none;
}

/* Read more */
.more {
  display: inline-block;
  padding: 5px 15px;
  background: #3077be;
  color: #fff;
}
.more i {
  margin-left: 10px;
}

/* NEWS */
.news {
  padding: 15px;
  border: solid 5px #ddd;
}
.news h1 {
  margin: 0 0 10px;
  color: #000;
  font-size: 18px;
}
.news ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.news li a {
  display: block;
  padding: 5px;
  border-bottom: dotted 2px #ddd;
  color: #000;
  font-size: 14px;
  text-decoration: none;
}
.news li a:hover {
  background: #eee;
}
.news time {
  color: #808080;
}
.news a:after {
  content: "";
  display: block;
  clear: both;
}
.news time {
  float: left;
  width: 100px;
}
.news .text {
  float: none;
  width: auto;
  margin-left: 110px;
}

/* Research group */
.table-wrapper {
  margin-bottom: 40px;
  overflow: hidden;
}
.lab {
  float: left;
  width: 50%;
}
.lab td {
  padding: 15px;
  font-size: 14px;
  border: solid 1px #ccc;
}
.lab h4 {
  margin: 0 0 15px;
  color: #0366b4;
  font-size: 18px;
}
.lab p {
  margin: 0 0 20px;
  font-size: 14px;
}
.lab h5 {
  margin: 0 0 10px;
  padding-bottom: 5px;
  font-size: 14px;
  border-bottom: dashed 1px #ccc;
}
.lab h5 a {
  color: #000;
  text-decoration: none;
}
.lab h5 a:hover {
  color: #808080;
}
.lab-img {
  max-width: 100%;
  height: auto;
}

/* Breadcrumb */
.bread ol {
  margin: 0 -5px;
  padding: 0;
  list-style: none;
}
.bread li a	{
  display: inline-block;
  padding: 5px;
  color: #000;
  font-size: 14px;
  text-decoration: none;
}
.bread li a:hover {
  background: #eee;
}
.bread ol:after	{
  content: "";
  display: block;
  clear: both;
}
.bread li {
  float: left;
  width: auto;
}
.bread li:after	{
  content: '\003e';
  margin: 0 5px;
  color: #888;
}

/* Footer */

/* Copyright */
.copyright p {
  margin: 0;
  color: #fff;
  font-size: 14px;
}

/* Make header-nav & footer into a bar-shape */
.header-nav {
  background: #0366b4;
}
.footer {
  background: #0366b4;
}

/* Padding Settings */
.header-site {
  padding-top: 20px;
  padding-bottom: 10px;
}
.contents {
  padding-top: 20px;
}
.contents-list {
  padding-top: 20px;
}
.footer {
  padding-top: 20px;
  padding-bottom: 20px;
}
.footer-inner {
  padding: 0 20px;
}


/* ########## 599px or less ########## */
@media (max-width: 599px) {
  
  /* Site Name */
  .site img {
	width: 58px;
	padding-right: 5px;
  }
  .site h1 {
	font-size: 12px;
  }
  .site h2 {
	font-size: 26px;
  }
  
  /* Navigation Menu */
  .menu li a {
	padding: 10px 5px;
	font-size: 12px;
  }
  
  /* Side Menu */
  .side {
	top: 200px;
	border: 1px solid #888;
	border-radius: 3px;
  }
  .side ul {
	padding: 3px 0;
  }
  .side li a img {
	padding: 3px;
	width: 26px;
  }
  
  /* Contents */
  .article {
    margin-bottom: 10px;
  }
  .contents h2 {
    margin-top: 20px;
    padding: 10px;
    font-size: 14px;
  }
  .contents h3 {
    padding: 10px 10px;
    font-size: 14px;
  }
  .contents p {
    margin: 10px;
    font-size: 12px;
  }
  .article img {
    margin: 0 0 10px;
  }
  a.btn {
    font-size: 12px;
  }
  .article h1 {
    margin: 0 10px 5px;
    font-size: 14px;
  }
  .article p {
    margin: 0 10px 10px;
    font-size: 12px;
  }
  
  /* Links */
  .links ul {
    margin-bottom: 20px;
  }
  .links ul li {
    font-size: 12px;
  }
  
  /* NEWS */
  .news {
    padding: 10px;
  }
  .news h1 {
    margin: 0 0 5px;
    font-size: 14px;
  }
  .news li a {
    font-size: 12px;
  }
  .news time {
    width: 90px;
  }
  .news .text {
    margin-left: 90px;
  }
  
  /* Research group */
  .table-wrapper {
    margin-bottom: 20px;
  }
  .lab {
    width: 100%;
  }
  .lab td {
    padding: 10px;
    font-size: 12px;
  }
  .lab h4 {
    margin: 0 0 10px;
    font-size: 14px;
  }
  .lab p {
    margin: 0 0 10px;
    font-size: 12px;
  }
  .lab h5 {
    margin: 0 0 5px;
    padding-bottom: 3px;
    font-size: 12px;
  }
  
  /* Breadcrumb */
  .bread li a	{
    padding: 3px;
    font-size: 12px;
  }
  
  /* Copyright */
  .copyright p {
    font-size: 12px;
  }

  /* Padding Settings */
  .header-site {
    padding-top: 10px;
    padding-bottom: 5px;
  }
  .contents {
    padding-top: 10px;
  }
  .contents-list {
    padding-top: 10px;
  }
  .footer {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .footer-inner {
    padding: 0 10px;
  }
}

/* ########## 600px or more ########## */
@media (min-width: 600px) {
  
  /* Setting up a side-by-side article */
  .contents-list:after {
	content: "";
	display: block;
	clear: both;
  }
  .contents-list .article {
	float: left;
	width: 50%;
  }
  .contents-list .article:nth-child(odd) {
	padding-right: 10px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	clear: both;
  }
  .contents-list .article:nth-child(even) {
	padding-left: 10px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
  }
}

/* ########## 768px or more ########## */
@media (min-width: 768px) {
  
  /* Pickup */
  .pickup h1 {
	font-size: 22px;
  }
}

/* ########## 1040px or more ########## */
@media (min-width: 1040px) {
  
  /* Fixed overall width */
  .header-site, .header-nav-inner, .contents, .footer-inner {
	width: 1000px;
	margin-left: auto;
	margin-right: auto;
  }
}
