@import url(//fonts.googleapis.com/css?family=Arbutus+Slab);

html {
  overflow: auto;
  overflow-x: hidden;
  overflow-y: auto;
  height: 100%;
}
body {
  color: #FFF;
  background: #222;
  height: 100%;
}
footer {
  position: fixed;
  bottom: 0;
  z-index: 100;
  width: 100%;
}
#chronologyWrapper {
  height: 100%;
  background: url(../img/bg.gif) 0 0 repeat;
}

#top {
  position: fixed;
  z-index: 100;
  width: 100%;
  height: 100%;
  background-size: cover;
  background: url(../img/title_bg.png) center center no-repeat;
  background: radial-gradient(rgba(255,255,255,.13), transparent);
}
#top div.wrapper {
  position: relative;
  z-index: 2;
}
#top h1 {
  overflow: hidden;
  width: 530px;
  height: 0;
  margin: 0 auto 3px;
  padding-top: 343px;
  background: url(../img/title.png) 0 0 no-repeat;
}
#top p {
  display: none;
}
#top p.prologue {
  overflow: auto;
  width: 780px;
  margin: 0 auto -10px;
  padding: 30px 45px;
  background: rgba(0, 0, 0, .7);
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}
#top a.prologue {
  overflow: hidden;
  display: block;
  position: relative;
  z-index: 2;
  width: 90px;
  height: 0;
  margin: 0 auto 36px;
  padding-top: 20px;
  background: url(../img/b_prologue.png) 0 0 no-repeat;
}
#top a.prologue:hover    { background-position: 0 -20px; }
#top a.prologue.on      { background-position: 0 -40px; }
#top a.prologue.on:hover  { background-position: 0 -60px; }
#top nav {
  position: relative;
  left: 50%;
  height: 102px;
}
#top ul {
  clear: both;
  list-style: none;
  float: left;
  margin: 0 -5px 0 0;
  padding: 0;
}
#top ul li {
  float: left;
  position: relative;
  left: -50%;
  margin: 0 5px 5px 0;
}
#top ul li a {
  overflow: hidden;
  display: block;
  width: 205px;
  height: 0;
  padding-top: 46px;
  background: 0 0 no-repeat;
}
#top ul li a:hover { background-position: 0 -46px; }
#top ul li.menu1 a { background-image: url(../img/menu1.png); }
#top ul li.menu2 a { background-image: url(../img/menu2.png); }
#top ul li.menu3 a { background-image: url(../img/menu3.png); }
#top ul li.menu4 a { background-image: url(../img/menu4.png); }
#top ul li.menu5 a { background-image: url(../img/menu5.png); }
#top ul li.menu6 a { background-image: url(../img/menu6.png); }
#top ul li.menu7 a { background-image: url(../img/menu7.png); }
#top div.photos {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  opacity: .5;
  filter: alpha(opacity=50);
}
#top div.photos img {
  display: none;
  position: absolute;
  transform-origin: 50% 50%;
  -o-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  -moz-transform-origin: 50% 50%;
  -webkit-transform-origin: 50% 50%;
}
#top #timeline {
  display: none;
  position: absolute;
  left: 122px;
  top: 35%;
  z-index: 2;
}
#top #timeline:hover { opacity: .7; filter: alpha(opacity=70); }
#top_bg {
  position: absolute;
  right: 0;
  width: 100%;
  height: 100%;
  background: url(../img/bg_top.gif) 0 0 repeat;
}

#location {
  display: none;
  position: fixed;
  z-index: 100;
  width: 100%;
  background: transparent;
  border: none;
}
#location nav {
  position: relative;
  width: 508px;
  height: 54px;
  margin: 4px auto 0;
  padding: 10px;
  background: url(../img/scene/bg.png) 0 0 no-repeat;
}
#location nav div {
  overflow: hidden;
  width: 488px;
  height: 34px;
}
#location nav div ul {
  position: relative;
  list-style: none;
  width: 2560px;
  margin: 0 0 0 40px;
  padding: 0;
}
#location nav div ul li {
  float: left;
  padding: 9px 0 11px;
  text-align: center;
  line-height: 14px;
  cursor: pointer;
}
#location nav a {
  display: block;
  overflow: hidden;
  position: absolute;
  top: 10px;
  width: 50px;
  height: 34px;
  text-indent: -99999px;
  background: 0 0 no-repeat;
}
#location nav a:hover { background-position: 0 -34px; }
#location nav a.prev { left:  10px; background-image: url(../img/scene/arrow_prev.png); display: none; }
#location nav a.next { left: 448px; background-image: url(../img/scene/arrow_next.png); }

#console {
  display: none;
  overflow: hidden;
  position: fixed;
  right: 5px;
  top: 5px;
  z-index: 100;
  width: 134px;
  height: 54px;
  padding: 9px 0 0 9px;
  background: url(../img/console/b_bg.png) 0 0 no-repeat;
}
#console ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#console ul li {
  float: left;
  margin-right: 4px
}
#console ul li a {
  display: block;
  overflow: hidden;
  width: 36px;
  height: 36px;
  text-indent: -99999px;
  background: 0 0 no-repeat;
}
#console ul li a.on,
#console ul li a:hover { opacity: .8; filter: alpha(opacity=80); }
#console ul li.prev a { background-image: url(../img/console/b_prev.png); }
#console ul li.pause a { background-image: url(../img/console/b_pause.png); }
#console ul li.next a { background-image: url(../img/console/b_next.png); }


#mask {
  display: none;
  position: fixed;
  z-index: 99;
  width: 100%;
  height: 100%;
  background: url(../img/null.png);
}

#chronology nav {
  position: fixed;
  z-index: 100;
}
#chronology nav a.prev {
  overflow: hidden;
  position: fixed;
  left: 0;
  top: 284px;
  width: 67px;
  height: 132px;
  margin-left: -68px;
  text-indent: -99999px;
  background: url(../img/console/a_prev.png) 0 0 no-repeat;
}
#chronology nav a.next {
  overflow: hidden;
  position: fixed;
  right: 0;
  top: 284px;
  width: 67px;
  height: 132px;
  margin-right: -68px;
  text-indent: -99999px;
  background: url(../img/console/a_next.png) 0 0 no-repeat;
}
#chronology nav a:hover { opacity: .8; filter: alpha(opacity=80); }

#chronology header {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  border: none;
}
#chronology header h2.japan {
  position: absolute;
  overflow: hidden;
  left: 8px;
  top: 45px;
  width: 42px;
  height: 141px;
  text-indent: -99999px;
  background: url(../img/h_japan.png) 0 0 no-repeat;
}
#chronology header h2.university {
  position: absolute;
  overflow: hidden;
  left: 8px;
  top: 403px;
  width: 42px;
  height: 160px;
  text-indent: -99999px;
  background: url(../img/h_university.png) 0 0 no-repeat;
}

#chronology {
  overflow: hidden;
  position: relative;
  width: 99999px;
  height: 100%;
  min-height: 766px;
}
#chronology > * {
  position: absolute;
}
#chronology #line {
  position: absolute;
  left: 68px;
  top: 261px;
  z-index: 11;
  height: 4px;
  background: #B20606;
}
#chronology #ele0 { z-index: 11; }
#chronology #ele1 { z-index: 11; }
#chronology #ele2 { z-index:  6; }
#chronology #ele3 { z-index:  5; }
#chronology #ele4 { z-index: 10; }
#chronology #ele5 { z-index: 12; }
#chronology div.ele img {
  position: absolute;
}
#chronology #ele0 img { margin-left: 50px; opacity: 0; filter: alpha(opacity=0); }
#chronology #ele1 img { margin-left: 80px; opacity: 0; filter: alpha(opacity=0); }
#chronology #ele2 img { display: none; }
#chronology #ele4 img {
  opacity: 0;
  filter: alpha(opacity=0);
  transform-origin: 50% 50%;
  -o-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  -moz-transform-origin: 50% 50%;
  -webkit-transform-origin: 50% 50%;
}
#chronology #ele5 p {
  position: absolute;
  width: 80px;
  margin: -15px 0 0 -40px;
  text-align: center;
  line-height: 30px;
  font-size: 10px;
  font-family: 'Arbutus Slab', "Times New Roman", "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "メイリオ", Meiryo, serif;
  opacity: 0;
  filter: alpha(opacity=0);
}
#chronology #ele5 p.dot12 { font-size: 12px; }
#chronology #ele5 p.dot2  { font-size: 12px; }
#chronology #ele5 p.dot3  { font-size: 15px; }
#chronology #ele5 p.dot4  { font-size: 18px; }
#chronology #ele5 p.dot5  { font-size: 19px; }
#chronology #ele5 p.dot6  { font-size: 26px; }
#chronology #ele5 p.dot7  { font-size: 30px; }

#chronology canvas { z-index: 10; }
#chronology div.ele a.detail {
  position: absolute;
  z-index: 12;
  display: blcok;
  overflow: hidden;
  width: 162px;
  height: 94px;
  margin-left: 40px;
  text-indent: -99999px;
  background: url(../img/b_detail.png) 0 0 no-repeat;
  opacity: 0;
  filter: alpha(opacity=0);
}

#chronology div.principal0,
#chronology div.principal1 {
  height: 30px;
  background: rgba(0, 0, 0, .7);
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-bottom: solid 1px rgba(255, 255, 255, .1);
}
#chronology div.principal0 { bottom:  71px; z-index: 13; }
#chronology div.principal1 { bottom: 105px; z-index: 12; }
#chronology div.principal0 img,
#chronology div.principal1 img { position: relative; margin: -46px 0px 0; }

#sceneWindow {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 20;
  width: 100%;
  height: 100%;
  min-height: 1050px;
  background: rgba(0, 0, 0, .5);
}
#sceneWindow div {
  position: relative;
  width: 814px;
  margin: 120px auto 0;
  padding: 0 87px;
  background: url(../img/b0_middle.png) 0 0 repeat-y;
}
#sceneWindow div:before {
  display: block;
  position: relative;
  left: -87px;
  top: -90px;
  margin-bottom: -90px;
  content: url(../img/b0_top.png);
}
#sceneWindow div:after {
  display: block;
  position: relative;
  left: -87px;
  top: 83px;
  margin-top: -83px;
  content: url(../img/b0_bottom.png);
}
#sceneWindow div a.close {
  display: block;
  overflow: hidden;
  position: absolute;
  right: 45px;
  top: -35px;
  width: 35px;
  height: 35px;
  text-indent: -99999px;
  background: url(../img/b_close.png) 0 0 no-repeat;
}
#sceneWindow div a.close:hover { opacity: .8; filter: alpha(opacity=80); }
#sceneWindow div ul {
  position: relative;
  overflow: hidden;
  list-style: none;
  width: 640px;
  margin: 0;
}
#sceneWindow div ul li {
  overflow: auto;
  position: absolute;
  width: 630px;
  padding-right: 10px;
  text-shadow: 0 0 20px #000, 0 0 20px #000;
}
#sceneWindow div ul li h3 {
  text-align: center;
  font-size: 24px;
  line-height: 125%;
}
#sceneWindow div ul li h4 {
  text-align: center;
  font-size: 18px;
  line-height: 125%;
  color: #B20606;
}
#sceneWindow div ul li p {
  margin-top: 10px;
  line-height: 185%;
}



#moreWindow {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 20;
  width: 100%;
  height: 100%;
  min-height: 1050px;
  background: rgba(0, 0, 0, .5);
}
#moreWindow a.close {
  display: block;
  overflow: hidden;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
  width: 35px;
  height: 35px;
  text-indent: -99999px;
  background: url(../img/b_close.png) 0 0 no-repeat;
}
#moreWindow a.close:hover { opacity: .8; filter: alpha(opacity=80); }
#moreWindow div {
  overflow: auto;
  position: relative;
  top: 120px;
  width: 680px;
  padding: 40px 50px;
  color: #000;
  background: #FFF;
  box-shadow: 0 0 40px #000, 0 0 40px #000;
  transform-origin: 0 0;
  -o-transform-origin: 0 0;
  -ms-transform-origin: 0 0;
  -moz-transform-origin: 0 0;
  -webkit-transform-origin: 0 0;
}
#moreWindow div h3 {
  margin: 0 0 20px;
  font-size: 38px;
  line-height: 125%;
}
#moreWindow div h4 {
  margin: 0 0 20px;
  font-size: 22px;
  line-height: 130%;
}
#moreWindow div h5 {
  margin: 0 0 15px;
  font-size: 16px;
  color: #B20606;
}
#moreWindow div p {
  line-height: 185%;
}



