@import url(https://fonts.googleapis.com/css?family=Roboto:500,400,300);
body {
  font-size: 16px;
  background: #f5f6f8;
  font-family: SourceHanSansJP-Light, YuGothic, "Yu Gothic", "游ゴシック体",
    "游ゴシック", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ",
    Meiryo, "ＭＳ Ｐゴシック", Osaka, "MS PGothic", Arial, Helvetica, Verdana,
    sans-serif;
}

h1,
h2,
h3,
h4,
p,
ul {
  color: #555;
}

h1,
h2,
h3,
h4 {
  /*
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
*/
  color: #333;
}

span {
  font-family: "roboto";
  font-weight: 300;
  letter-spacing: 0.05em;
}

i {
  padding-right: 6px;
}

a {
  color: #0070c9;
  text-decoration: none;
  padding: 0 0 0px 0;
}

a:hover {
  color: #03a9f4;
  /*  transition: 0.4s;*/
}

a:visited {
}

em {
  font-weight: bold;
}

hr {
  border: none;
  border-bottom: solid 1px #ddd;
  width: 97%;
  padding: 20px 0 10px 0;
}

header {
  width: 100%;
  height: 60px;
  background: #333;
  position: fixed;
  top: 0;
  z-index: 100;
}

#header-inner {
  display: table;
  width: 95%;
  max-width: 1366px;
  min-width: 768px;
  height: 60px;
  margin: 0 auto 0;
}

#logo {
  display: table-cell;
  vertical-align: middle;
  width: 50%;
}
#logo-e {
  display: table-cell;
  vertical-align: middle;
  width: 50%;
}

#logo img {
  display: table-cell;
  vertical-align: middle;
  height: 31px;
}
#logo-e img {
  display: table-cell;
  vertical-align: middle;
  height: 30px;
}

#lang {
  display: table-cell;
  text-align: right;
  vertical-align: middle;
}
#aist {
  display: table-cell;
  text-align: right;
  vertical-align: middle;
  width: 120px;
}
#aist img {
  text-align: right;
  vertical-align: middle;
  width: 110px;
}

#lang ul {
  margin: 0 0 0 0;
}

#lang li {
  display: inline-block;
  color: #fff;
  font-size: 12px;
  margin: 0px 10px 0 0;
}

#lang li a {
  color: #fff;
}

#lang p a:hover {
  text-decoration: underline;
}

#lang i {
  padding-right: 6px;
}

#lang i a {
  color: #fff;
}

/* reset default css */
#lang a {
  text-decoration: none;
}

#lang a {
  display: inline-block;
}

#lang a::after {
  content: "";
  display: block;
  width: 0;
  transition: width 0.3s;
  /* border or (height & background) etc. */
  border-bottom: 1px solid #fff;
  margin: 0 auto;
  /* margin: 0 auto; */ /* left to right -> middle out */
}

#lang a:hover::after {
  width: 100%;
}

nav {
  background: rgba(0, 0, 0, 0.85);
  width: 100%;
  height: 40px;
  margin: 0 auto 0;
  position: fixed;
  top: 60px;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.6);
  z-index: 100;
}

nav ul {
  display: table;
  width: 100%;
  max-width: 1366px;
  min-width: 768px;
  margin: 0 auto 0;
  font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", Meiryo,
    メイリオ, Osaka, "MS PGothic", arial, helvetica, sans-serif;
}

nav li {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  width: 10%;
  font-size: 14px;
  line-height: 1.3em;
}

@media screen and (max-width: 800px) {
  nav li {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    width: 10%;
    font-size: 12px;
    line-height: 1.3em;
  }
}

nav li a {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  width: 10%;
  height: 40px;
  line-height: 1.2em;
  text-decoration: none;
  color: #fff;
}

nav li a:hover {
  color: #fff;
  background-color: #03b8d4;
  text-decoration: none;
  transition: 0.4s;
}

nav li.selected {
  /*  background: #5c6bc0;*/
  color: #fff;
  border-bottom: solid 3px #03b8d4;
}

#main-img {
  background: url(../img/main.jpg) no-repeat center center #030d0e;
  width: 100%;
  min-width: 768px;
  height: 250px;
  display: table;
  margin: 60px auto 0;
  border-bottom: solid 1px #ddd;
}

#main-img img {
  width: 400px;
  color: #fff;
}

#main-img h1 {
  max-width: 1366px;
  font-size: 40px;
  text-align: center;
  vertical-align: middle;
  display: table-cell;
  padding: 20px 0 0 0;
  font-weight: bold;
  line-height: 1.2em;
  letter-spacing: 0.11em;
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

#main-img h1 span {
  font-size: 26px;
}

@media screen and (max-width: 800px) {
  #main-img h1 {
    font-size: 22px;
  }
  #main-img h1 span {
    font-size: 14.5px;
  }
  #main-img {
    background: url(../img/main-s.jpg) no-repeat center right;
    width: 100%;
    max-width: 1600px;
    min-width: 768px;
    height: 200px;
    display: table;
    margin: 110px auto 0;
    border-bottom: solid 1px #eee;
  }
}

.content {
  width: 100%;
  margin: 0 auto 0;
  padding: 0;
  color: #444;
  background: #f5f6f8;
}

.news-area {
  width: 100%;
  max-width: 1366px;
  margin: 10px auto 20px;
  padding: 0;
  display: block;
  overflow: hidden;
}

.last-frame {
  padding: 0 0 30px 0;
}

.news-area h2 {
  width: 95%;
  font-size: 22px;
  font-weight: bold;
  margin: 15px auto 20px;
  padding: 2px 0 2px 0px;
  border-left: solid 4px #03b8d4;
  text-indent: 0.6em;
}

.news-area h2 span {
  font-family: "roboto";
  font-weight: 300;
  letter-spacing: 0.05em;
  font-size: 16px;
  margin: 0 0 0 10px;
}

.news-box {
  width: 95%;
  margin: 0 auto 0;
  border-top: solid 1px #ddd;
  border-left: solid 1px #ddd;
  border-right: solid 1px #ddd;
}

.news-area dl {
  display: table;
  width: 100%;
  margin: 0 auto 0;
  background: #fff;
  border-bottom: solid 1px #ddd;
}

.news-area dt {
  display: table-cell;
  font-size: 13px;
  color: #777;
  width: 15s%;
  padding: 6px 0 6px 6px;
  font-family: "roboto";
  font-weight: 300;
  letter-spacing: 0.1em;
  vertical-align: middle;
  text-align: center;
  background: #fafafa;
  border-right: solid 1px #ddd;
}

.news-area dd {
  display: table-cell;
  font-size: 14px;
  line-height: 1.5rem;
  width: 85%;
  padding: 10px 16px 10px 10px;
  vertical-align: middle;
  color: #444;
}

.news-area ul {
  list-style-type: disc;
  padding-left: 24px;
  margin: 5px 0 0 0;
}

.news-area span {
  font-size: 14px;
  color: #444;
}

.news-area dd a {
  display: inline;
}

p.list {
  text-align: right;
  width: 96%;
  margin: 16px 0 0 0;
}

p.list a {
  padding: 3px 10px;
  font-size: 13px;
  text-align: center;
  display: inline-block;
  background: #eee;
  color: #888;
  border-radius: 20px;
  text-decoration: none;
}

p.list a:hover {
  background: #bbb;
  color: #fff;
  transition: 0.5s;
}

.long-col {
  width: 96%;
  max-width: 1366px;
  margin: 25px auto 0;
  background: #fff;
  border: solid 1px #dedede;
  box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.1);
}

.topic-area {
  width: 100%;
  max-width: 1366px;
  margin: 0px auto 0;
  display: block;
  overflow: hidden;
  background: #fff;
  border-bottom: solid 1px #eee;
  border-top: solid 1px #eee;
}

.topic-area h2 {
  width: 93%;
  font-size: 22px;
  font-weight: bold;
  margin: 20px auto 10px;
  padding: 2px 0 2px 0px;
}

.topic-area h2 span {
  font-family: "roboto";
  font-weight: 300;
  letter-spacing: 0.05em;
  font-size: 16px;
  margin: 0 0 0 10px;
}

footer {
  width: 100%;
  margin: 0;
  padding: 0 0 25px 0;
  background: #575a5f;
}

footer #menu {
  width: 100%;
  height: 40px;
  margin: 0;
  padding: 0px 0 0px 0;
  background: #008397;
}

footer ul {
  display: table;
  margin: 0 auto 0;
  height: 40px;
  width: 400px;
}

footer li {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  color: #555;
  font-size: 13px;
  margin: 0px 10px 0 0;
}

footer li a {
  color: #fff;
}

footer li a:hover {
  color: #fff;
}

footer i {
  padding-right: 6px;
}

/* reset default css */
footer a {
  text-decoration: none;
}

footer a {
  display: inline-block;
}

footer a::after {
  content: "";
  display: block;
  width: 0;
  transition: width 0.3s;
  /* border or (height & background) etc. */
  border-bottom: 1px solid #fff;
  margin: 0 auto;
  /* margin: 0 auto; */ /* left to right -> middle out */
}

footer a:hover::after {
  width: 100%;
}

#footer-box {
  width: 90%;
  height: 80px;
  margin: 30px auto 0;
  display: table;
}

#footer-box .logo {
  display: table-cell;
  text-align: right;
  vertical-align: middle;
  width: 50%;
  padding-right: 15px;
}

#footer-box .logo p {
  color: #fff;
  text-align: center;
  font-size: 13px;
  border: solid 1px #888;
}

#footer-box .address {
  display: table-cell;
  vertical-align: middle;
  width: 50%;
  font-size: 14px;
  color: #fff;
  border-left: solid 1px #aaa;
  padding-left: 15px;
}

footer .copyright {
  margin: 30px auto 0;
  padding: 0;
  text-align: center;
  color: #ccc;
  font-size: 13px;
  font-family: Roboto;
  font-weight: 200;
  letter-spacing: 0.05em;
}

.pace {
  -webkit-pointer-events: none;
  pointer-events: none;

  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.pace-inactive {
  display: none;
}

.pace .pace-progress {
  background: #03b8d4;
  position: fixed;
  z-index: 2000;
  top: 0;
  right: 100%;
  width: 100%;
  height: 3px;
}
