/* -------------------------------- 

Primary style

-------------------------------- */
html * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-size: 100%;
  font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  color: #333;
  background-color: #f3efe4;
}

a, a:visited {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
a:hover {
  color: #acb7c0;
}

img {
  max-width: 100%;
}

h1, h2 {
  font-weight: bold;
}


/* -------------------------------- 

Main components 

  01. forPC Layout
  
  02. forSP Layout

-------------------------------- */

/********************************************************************************

  01. forPC Layout

********************************************************************************/

/* ----------------------------------
  PC　SP view divergence - utility
---------------------------------- */
.u-media-pc {
  display: block;
}
.u-media-sp {
  display: none;
}

body {
  min-width: 940px;
}

/* header
   ========================================================================== */
header {
  height: 450px;
  background: #ffd7cc;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0.88, #ffdad0), color-stop(0.00, #ffc3b1));
  background: -webkit-linear-gradient(top, #ffc3b1 0%, #ffdad0 88%);
  background: -moz-linear-gradient(top, #ffc3b1 0%, #ffdad0 88%);
  background: -o-linear-gradient(top, #ffc3b1 0%, #ffdad0 88%);
  background: -ms-linear-gradient(top, #ffc3b1 0%, #ffdad0 88%);
  background: linear-gradient(to bottom, #ffc3b1 0%, #ffdad0 88%);
}
#header-inner {
    position: relative;
    margin: 0 auto;
    width: 940px;
}
#header-inner .rc {
    position: absolute;
    z-index: 10;
    right: 0;
    top: 30px;
    height: 50px;
    width: 280px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 3px 0 #ebba9e;
    text-indent: -9999px;
}
#header-inner #hd_logo, #header-inner #hd_logo a {
    height: 50px;
    width: 376px;
}
#header-inner #hd_logo a {
    background: url("../common/img/head_logo.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    display: block;
    cursor: default;
}

#header-inner #gnav {
}
#header-inner #gnav li {
    float: left;
}
#header-inner #gnav li a {
    display: block;
    height: 50px;
    width: 140px;
}
#header-inner #gnav li#gnav_menu a {
    background: url("../img/common/head_btn_tosho.png") no-repeat center 9px;
    background-size: auto 34px;
}
#header-inner #gnav li#gnav_menu_ten a {
    background: url("../img/common/head_btn_enet.png") no-repeat center 14px;
    background-size: auto 26px;
}

#title {
  overflow: hidden;
  position: relative;
  height: 450px;
  margin: 0 auto;
  width: 940px;
}
#title .title-inner{
  float: left;
  width: 448px;
  background: #fff;
  border-radius: 5px;
  border: 4px solid #fff;
}
#title .title-inner p{
  padding: .5em;
  font-size: 14px;
  line-height: 1.25;
  border-radius: 5px;
  border: 5px solid #0068b7;
}
#title h1 {
  float: left;
  width: 324px;
  margin: 50px 168px 0 0;
}
#title h2{
  float: left;
  margin: 124px 0 5px 5px;
  color: #0068b7;
  font-size: 22px;
filter:dropshadow(color=#ffffff,offX= 0,offY=-1)
dropshadow(color=#ffffff,offX= 1,offY= 0)
dropshadow(color=#ffffff,offX= 0,offY= 1)
dropshadow(color=#ffffff,offX=-1,offY= 0);
 
-webkit-text-stroke-color: #fff;
/*-webkit-text-stroke-width: 1px;
*/ 
text-shadow: white 2px 2px 0px, white -2px 2px 0px,
             white 2px -2px 0px, white -2px -2px 0px;
}
#title img#head_eigorilla{
  position: absolute;
  left: 294px;
  top: 26px;
}

#title img#head_eigorilla.animated { 
    animation-duration: 1s; 
    animation-fill-mode: forwards;
} 

@keyframes bounceInDown { 
    0% { 
        opacity: 0; 
        transform: translateY(-2000px); 
    } 
    60% { 
        opacity: 1; 
        transform: translateY(30px); 
    } 
    80% { 
        transform: translateY(-10px); 
    } 
    100% { 
        transform: translateY(0); 
    } 
} 

.bounceInDown { 
    animation-name: bounceInDown; 
}

#title #txt_eigorilla {
    position: absolute;
    z-index: 1;
    left: 480px;
    top: 326px;
    font-size: 11px;
    font-weight: bold;
}
#title h3 {
  clear: both;
  padding: 50px 0 0;
}

/* ============================================================ footer */
footer { margin-top: 14px;}

footer {
    width: 100%;
    line-height: 1;
}

/* copyright */
footer #copyright { 
  padding: 3.4em 0; 
  color: #000; 
  text-align: center; 
  font-size: 13px;
  background: #fff;
}

/* ページの 先頭へ */
.pageTop {
    display:none;
    position:relative;
    z-index: 99;
    width:100%;
    min-width:940px;
    margin:0 auto;
}
.pageTop a {
    position:fixed;
    bottom:10px;
    /*right:10px; 修正171110*/
    right:5px;
    display:block;
    width:80px;
    height:80px;
    text-align:left;
    z-index:99;
}

.pageTop2 {
    /*display:none; 修正161227 */
    position:relative;
    width:100%;
    min-width:960px;
    margin:0 auto;
}
.pageTop2 a {
    position:fixed;
    bottom: 100px !important;
    right:5px;
    display:block;
    width:80px;
    height:80px;
    text-align:left;
    z-index:99;
}

/* ============================================================ p-header__nav */
.is-nav-fixed #cd-timeline-head.p-header-nav {
  position: fixed;
  z-index: 99;
  top: 0;
  width: 940px;
  left: 50%;
  margin: 0 0 0 -470px;
 }

/* ============================================================ local_banner */
#local_banner {overflow: hidden; position: relative; z-index: 10;}
#local_banner #lbanner_in {overflow: hidden; margin: 55px auto 10px; width: 960px;}
#local_banner #lbanner_in li {display: inline-block; width: 480px;}
#local_banner #lbanner_in li:nth-child(even) {text-align: right;}

/* ============================================================ timeline */
#timeline_eigorilla {
    position: absolute;
    z-index: 50;
    left: 396px;
    top: 6px;
}

#timeline_eigorilla.animated { 
    animation-duration: 4s; 
    animation-fill-mode: both; 
    animation-iteration-count:infinite; 
} 

@keyframes bounce { 
    0%, 4%, 8%, 80%, 100% {transform: translateY(0);} 
    2% {transform: translateY(-14px);} 
    6% {transform: translateY(-7px);} 
} 

.bounce { 
    animation-name: bounce; 
}

.c-grid__cell--zoom img:hover {
  transform: scale(2.5) translate(0,-10px);
  -webkit-transform:scale(2.5) translate(0,-10px);
  -moz-transform:scale(2.5) translate(0,-10px);
  -ms-transform:scale(2.5) translate(0,-10px);
  -o-transform:scale(2.5) translate(0,-10px);
  backface-visibility:hidden;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
}

.subInner {
  overflow: hidden;
  height: 0;
}

.pulldown {
    cursor:pointer;
}

.pulldown span.ico_pulldown {
    display: block;
    padding: 0 2px 0 0;
    background:url('../img/home/ico_pulldown.png') 98% 2px no-repeat;
    background-size: 16px auto;
}

.pulldown span.ico_pulldown.open {
    background:url('../img/home/ico_pulldown.png') 98% -16px no-repeat;
    background-size: 16px auto;
}

/* ============================================================ effect */
.effect61.open, .effect08.open, 
.effect10.open, .effect11.open, .effect12.open, .effect13.open, 
.effect14.open, .effect15.open, .effect19.open, 
.effect21.open, .effect22.open, .effect23.open, .effect24.open, .effect25.open, 
.effect26.open, .effect27.open, .effect28.open, .effect29.open, 
.effect30.open, .effect32.open {
    display: block;
    opacity:1;
    filter: alpha(opacity=100);
}
.effect61c.open, .effect08c.open, 
.effect10c.open, .effect11c.open, .effect12c.open, .effect13c.open, 
.effect14c.open, .effect15c.open, .effect19c.open, 
.effect21c.open, .effect22c.open, .effect23c.open, .effect24c.open, .effect25c.open, 
.effect26c.open, .effect27c.open, .effect28c.open, .effect29c.open, 
.effect30c.open, .effect32c.open {
  height: auto;
}
.effect24c.open, .effect25c.open {
    padding: 56px 0 0;
}



/********************************************************************************

  02. forSP Layout
  *横幅が667px以下の場合
  

********************************************************************************/

@media screen and (min-width: 0px) and (max-width: 667px) {

/* ----------------------------------
  PC　SP view divergence - utility
---------------------------------- */
.u-media-pc {
  display: none;
}
.u-media-sp {
  display: block;
}

body {
  min-width: 320px;
}

/* header
   ========================================================================== */
header {
    height: auto;
}
#header-inner {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}
#header-inner .rc {
    left: 3%;
    top: 15px;
    height: 34px;
    width: 160px;
}
#header-inner #gnav li a {
    height: 34px;
    width: 80px;
}
#header-inner #gnav li#gnav_menu a {
    background-size: auto 20px;
}
#header-inner #gnav li#gnav_menu_ten a {
    background-size: auto 17px;
    background-position: center 10px;
}

#title {
    overflow: hidden;
    height: auto;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}
#title h1 {
    width: 56%;
    margin: 66px 3% 5px;
}
#title h2 {
    position: relative;
    z-index: 5;
    margin: 5px 3%;
    font-size: 14px;
}
#title .title-inner {
    position: relative;
    z-index: 5;
    width: 96%;
    margin: 0 2%;
}
#title img#head_eigorilla {
    left: 55%;
    top: 28px;
    width: 42%;
    height: auto;
}
#title #txt_eigorilla {
    left: initial;
    right: -1%;
    top: -19px;
    font-size: 9px;
}
#title h3 {
    padding: 10px 0 20px;
}
#title h3 img {
  position: relative;
  z-index: 5;
  height: auto;
  width: 98%;
  margin: 0 1%;
}

/* ============================================================ footer */
footer { margin-top: 10px;}

/* copyright */
footer #copyright { 
  font-size: 10px;
}

/* ページの 先頭へ */
.pageTop {
    display:none;
    position:relative;
    z-index: 99;
    width:100%;
    min-width:320px;
    margin:0 auto;
}
/* 追記171110 */
.pageTop,
.pageTop2 {
    min-width:0;
}
.pageTop a,
.pageTop2 a {
    width:50px;
    height:50px;
}
.pageTop2 a {
    bottom: 70px !important;
}
/* 修正171113
.pageTop2 {
    display: none !important;
}*/

/* 追記171110 ここまで */

/*　修正171110 29行後まで
.pageTop a {
    position:fixed;
    bottom:10px;
    right:10px;
    right:5px;
    display:block;
    width:40px;
    height:40px;
    text-align:left;
    z-index:99;
}
.pageTop2 {
    display:none; 修正161227
    position:relative;
    z-index: 99;
    width:100%;
    min-width:960px;
    margin:0 auto;
}
.pageTop2 a {
    position:fixed;
    bottom: 100px !important;
    right:5px;
    display:block;
    width:40px;
    height:40px;
    text-align:left;
    z-index:99;
} 修正171110 ここまで*/

.pageTop a img{
    height:auto;
}
.pageTop2 a img{
    height:auto;
}

/* ============================================================ p-header__nav */
.is-nav-fixed #cd-timeline-head.p-header-nav {
  position: fixed;
  z-index: 99;
  top: 0;
  width: 72%;
  left: 23%;
  margin: 0;
 }
/* ============================================================ local_banner */
#local_banner {overflow: hidden; position: relative; z-index: 10;}
#local_banner #lbanner_in {overflow: hidden; margin: 0 auto 10px; width: 100%;}
#local_banner #lbanner_in li {display: block; width: 100%; text-align: center;}
#local_banner #lbanner_in li:nth-child(even) {text-align: center;}
#local_banner #lbanner_in li img{width: 90%; height: auto; margin: 5px 5%;}

/* ============================================================ timeline */
#timeline_eigorilla {
    /*position: fixed;*/
    position: relative;
    z-index: 50;
    /*left: 300px;*/
    left: 8%;
    top: -15px;
    height: 90px;
    margin: 0 0 -20px;
}

.c-grid__cell--zoom img:hover {
  transform: scale(1) translate(0,-10px);
  -webkit-transform:scale(1) translate(0,0);
  -moz-transform:scale(1) translate(0,0);
  -ms-transform:scale(1) translate(0,0);
  -o-transform:scale(1) translate(0,0);
  backface-visibility:hidden;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
}

.cd-year.pulldown {
    padding: .1em 0 2.2em .2em;
    cursor:pointer;
    line-height: 1.1;
}
.cd-year.pulldown.h30 {
    padding: .1em 0 3.2em .2em;
}

.pulldown span.ico_pulldown {
    display: block;
    padding: 5px 20px 0 0;
    height: 17px;
    background:url('../img/home/ico_pulldown.png') 94% 0 no-repeat;
    background-size: 16px auto;
}

.pulldown span.ico_pulldown.open {
    background:url('../img/home/ico_pulldown.png') 94% -16px no-repeat;
    background-size: 16px auto;
}

/* ============================================================ effect */
.effect24c.open, .effect25c.open {
    padding: 0 0 0;
}



}


















/* -------------------------------- 

Responsive Vertical Timeline 

-------------------------------- */

/* -------------------------------- 
Modules - reusable parts of our design
-------------------------------- */
.cd-container {
  /* this class is used to give a max-width to the element it is applied to, and center it horizontally when it reaches that max-width */
  width: 90%;
  max-width: 940px;
  margin: 0 auto;
}
.cd-container::after {
  /* clearfix */
  content: '';
  display: table;
  clear: both;
}

#cd-timeline {
  position: relative;
  padding: 10% 0 0 !important;
  max-width: 480px;
  margin: 0 auto 2em;
}
#cd-timeline::before {
  /* this is the vertical line */
  content: '';
  position: absolute;
  z-index: 5;
  top: -30px;
  left: 18px;
  height: 100%;
  width: 4px;
  background: #0068b7;
}
#cd-timeline::after {
  /* this is the vertical line */
  display: block;
  content: '';
  position: absolute;
  z-index: 4;
  bottom: -100px;
  left: 18px;
  height: 100%;
  width: 4px;
  background: #0068b7;
}

#cd-timeline-head {
  position: absolute;
  left: 20%;
  top: -16px;
  z-index: 50;
  width: 80%;
}
#cd-timeline-head img.u-media-sp{
  float: left;
  margin: 0 0 0 2%;
  height: auto;
  width: 32%;
}
#cd-timeline-head img:nth-child(4){
  margin: 0;
}

#cd-timeline-inner {
  position: relative;
  margin: -8% 0 0;
}
#cd-timeline-inner::before {
  content: '';
  position: absolute;
  z-index: 1;
  top: 1.5%;
  left: 20%;
  height: 99.5%;
  width: 80%;
  background: #f0ead9;
  box-shadow:0px 0px 6px 3px #ebe4d2 inset;
  -moz-box-shadow:0px 0px 6px 3px #ebe4d2 inset;
  -webkit-box-shadow:0px 0px 6px 3px #ebe4d2 inset;
}
/*ie10以下*/  
#cd-timeline-inner::before {
  top: 25px\9 !important;
  height: 104%\9 !important;
}  
/*ie11*/  
@media all and (-ms-high-contrast:none) {  
*::-ms-backdrop, #cd-timeline-inner::before {
  top: 25px !important;
  height: 104% !important;
}  
}
/*ie10以下*/  
#cd-timeline-inner::after {
  top: 25px\9 !important;
  height: 104%\9 !important;
}  
/*ie11*/  
@media all and (-ms-high-contrast:none) {  
*::-ms-backdrop, #cd-timeline-inner::after {
  top: 25px !important;
  height: 104% !important;
}  
}

@media only screen and (min-width: 667px) {
#cd-timeline {
  position: relative;
  padding: 6em 0 0 !important;
    margin-top: 10px;
    /*margin-bottom: -90px;*/
  min-width: 940px;
}
  #cd-timeline::before {
    left: 30.8%;
    top: -55px;
    margin-left: -2px;
    height: 100%;
  }
#cd-timeline::after {
  /* this is the vertical line */
  display: block;
  content: '';
  position: absolute;
  z-index: 4;
  bottom: -115px;
  left: 287px;
  height: 100%;
  width: 4px;
  background: #0068b7;
}
}

.cd-timeline-block {
  position: relative;
  z-index: 10;
  margin: .8em 0;
}
.cd-timeline-block:after {
  content: "";
  display: table;
  clear: both;
}
.cd-timeline-block:first-child {
  margin-top: 0;
}
.cd-timeline-block:last-child {
  /*margin-bottom: 0;*/
}
@media only screen and (min-width: 667px) {
  .cd-timeline-block {
    margin: 1em .5em;
  }
  .cd-timeline-block:first-child {
    margin-top: 0;
  }
  .cd-timeline-block:last-child {
    /*margin-bottom: 0;*/
  }
}

.cd-timeline-img {
  position: absolute;
  top: 19px;
  left: 13px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px white, 0 0 0 5px rgba(0, 0, 0, 0.05);
}
.cd-timeline-img img {
  display: block;
  width: 24px;
  height: 24px;
  position: relative;
  left: 50%;
  top: 50%;
  margin-left: -12px;
  margin-top: -12px;
}
.cd-timeline-img.cd-green {
  background: #8fc31f;
  box-shadow: 0 0 0 4px white, 0 0 0 5px #8fc31f;
}
.cd-timeline-img.cd-green:before {
    content: '';
    width: 145px;
    right: -150px;
    top: 6px;
    position: absolute;
    height: 1px;
    z-index: -1;
    border-top: 1px dotted #8fc31f;
}
.cd-timeline-img.cd-red {
  background: #c03b44;
  box-shadow: 0 0 0 4px white, 0 0 0 5px #c03b44;
}
.cd-timeline-img.cd-red:before {
    content: '';
    width: 145px;
    right: -150px;
    top: 6px;
    position: absolute;
    height: 1px;
    z-index: -1;
    border-top: 1px dotted #c03b44;
}
.cd-timeline-img.cd-orange {
  background: #f0ca45;
  box-shadow: 0 0 0 4px white, 0 0 0 5px #f0ca45;
}
.cd-timeline-img.cd-orange:before {
    content: '';
    width: 145px;
    right: -150px;
    top: 6px;
    position: absolute;
    height: 1px;
    z-index: -1;
    border-top: 1px dotted #f0ca45;
}

@media only screen and (min-width: 667px) {
  .cd-timeline-img {
    width: 13px;
    height: 13px;
    left: 33%;
    margin-left: -30px;
    /* Force Hardware Acceleration in WebKit */
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
  }
/*  .cssanimations .cd-timeline-img.is-hidden {
    visibility: hidden;
  }
  .cssanimations .cd-timeline-img.bounce-in {
    visibility: visible;
    -webkit-animation: cd-bounce-1 0.6s;
    -moz-animation: cd-bounce-1 0.6s;
    animation: cd-bounce-1 0.6s;
  }*/
}

@-webkit-keyframes cd-bounce-1 {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.5);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale(1.2);
  }

  100% {
    -webkit-transform: scale(1);
  }
}
@-moz-keyframes cd-bounce-1 {
  0% {
    opacity: 0;
    -moz-transform: scale(0.5);
  }

  60% {
    opacity: 1;
    -moz-transform: scale(1.2);
  }

  100% {
    -moz-transform: scale(1);
  }
}
@keyframes cd-bounce-1 {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.5);
    -moz-transform: scale(0.5);
    -ms-transform: scale(0.5);
    -o-transform: scale(0.5);
    transform: scale(0.5);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
  }

  100% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }
}
.cd-timeline-content {
  position: relative;
  min-height: 56px;
  margin-left: 26%;
  margin-right: 2%;
  background: white;
  border-radius: 0.25em;
  padding: 2px .5em 0;
  box-shadow: 0 3px 0 #ead7af;
}
.cd-timeline-content:after {
  content: "";
  display: table;
  clear: both;
}
.cd-timeline-content h2 {
  color: #303e49;
}
.cd-timeline-content p, .cd-timeline-content .cd-read-more, .cd-timeline-content .cd-date {
  font-size: 12px;
}
.cd-timeline-content .cd-read-more, .cd-timeline-content .cd-date {
  display: inline-block;
}
.cd-timeline-content p {
  margin: .2em 0;
  line-height: 1.2;
}
.cd-timeline-content p .head{
  display: block;
  font-size: 11px;
}
.cd-timeline-block .cd-timeline-content.tosho .cd-img-more {
    float: left;
    margin: 0 .5em 0 0;
      height: 48px;

    border: 1px solid #e5e5e5;
}
.cd-timeline-block .cd-timeline-content.tosho .cd-img-more img {
    position: relative;
    z-index: 5;
    height: 46px;
}
.cd-timeline-content .cd-read-more {
  float: right;
  padding: .8em 1em;
  background: #acb7c0;
  color: white;
  border-radius: 0.25em;
}
.no-touch .cd-timeline-content .cd-read-more:hover {
  background-color: #bac4cb;
}
  .cd-year {
    display: block;
    position: relative;
    z-index: 5;
    left: -3%;
    top: 6px;
    width: 58px;
    margin: 0 0 15px;
    padding: .6em 0 .4em 0;
    color: #fff;
    font-size: 10px;
    line-height: 1.3;
    text-align: center;
    background: #0068b7;
    border-radius: 5px;
    box-shadow: 0 3px 0 #003359;
  }
  .cd-year .era{
    display: block;
  }
.cd-timeline-content .cd-date {
  float: left;
  padding: .8em 0;
  opacity: .7;
}

  .cd-timeline-content.mext {
    padding: .2em .5em;
    border: 1px solid #8fc31f;
  }

  .cd-timeline-content.tosho {
  }
  .cd-timeline-content.tosho.edu {
    border: 1px solid #f39800;
  }
  .cd-timeline-content.tosho.doc {
    border: 1px solid #a40000;
  }

.cd-timeline-content::before {
  content: '';
  position: absolute;
  z-index: 2;
  top: 11px;
  height: 0;
  width: 0;
  border: 14px solid transparent;
  border-right: 14px solid white;
}
.cd-timeline-content.mext::before,
.cd-timeline-content.tosho::before {
    left: -26px;
}
.cd-timeline-content.mext::after,
.cd-timeline-content.tosho::after {
  content: '';
  position: absolute;
  z-index: 1;
  top: 11px;
  left: -29px;
  height: 0;
  width: 0;
  border: 14px solid transparent;
}
.cd-timeline-content.mext::after {
  border-right: 14px solid #8fc31f;
}
.cd-timeline-content.tosho.edu::after {
  border-right: 14px solid #f39800;
}
.cd-timeline-content.tosho.doc::after {
  border-right: 14px solid #a40000;
}

@media only screen and (min-width: 667px) {
  .cd-timeline-content h2 {
    font-size: 20px;
    font-size: 1.25rem;
  }
  .cd-timeline-content p {
    font-size: 16px;
    font-size: 1rem;
  }
  .cd-timeline-content .cd-read-more, .cd-timeline-content .cd-date {
    font-size: 14px;
    font-size: 0.875rem;
  }

}

@media only screen and (min-width: 667px) {
  .cd-timeline-content {
    margin-left: 0;
    padding: 1.6em;
    width: 45%;
  }
  .cd-timeline-content::before {
    top: 11px;
    border-color: transparent;
    border-left-color: white;
  }
  .cd-timeline-content.tosho::after {
  left: -5%;
  }
  /*EDGE*/
  _:-ms-lang(x), _::-webkit-meter-bar, .cd-timeline-content.tosho::after {
  right: 105%;
  }
  .cd-timeline-content.mext {
    margin-left: 0;
    padding: .2em 1.1em;
    width: 24.5%;
  }
  .cd-timeline-content.mext::after {
    top: 11px;
    left: 100%;
  }

  .cd-timeline-content.tosho {
    margin-left: 0;
    padding: 2px 1em 0;
    width: 62.7%;
  }

  .cd-timeline-content .cd-read-more {
    float: left;
  }
  .cd-year {
    display: block;
    position: relative;
    z-index: 5;
    left: 20%;
    top: 6px;
    margin: 0 0 25px;
    padding: .7em 0 .5em;
    width: 210px;
    color: #fff;
    font-size: 14px;
    background: #0068b7;
    border-radius: 5px;
    box-shadow: 0 3px 0 #003359;
  }
  .cd-year .era{
    display: inline-block;
  }
  .cd-year .west{
    font-size: 75%;
  }
  .cd-timeline-content .cd-date {
    position: absolute;
    width: 100%;
    left: 122%;
    top: 6px;
    font-size: 16px;
    font-size: 1rem;
  }

.cd-timeline-content.mext::before {
  position: absolute;
  left: 99.2%;
}
.cd-timeline-content.mext::after {
  content: '';
  position: absolute;
  z-index: 1;
  top: 11px;
  height: 0;
  width: 0;
  border: 14px solid transparent;
  border-left: 14px solid #8fc31f;
}

.cd-timeline-img.cd-green:before {
    content: '';
    width: 43px;
    left: -47px;
    top: 6px;
    position: absolute;
    height: 1px;
    z-index: -1;
    border-top: 1px dotted #8fc31f;
}

#cd-timeline-head {
  position: absolute;
  left: 0;
  top: -30px;
  z-index: 50;
  width: 940px;
}
#cd-timeline-head img{
  float: left;
  margin: 0 0 0 23px;
}
#cd-timeline-head img:first-child{
  margin: 0 38px 0 0;
}

#cd-timeline-inner {
  position: initial;
  margin: -58px 0 0;
}
#cd-timeline-inner::before {
  content: '';
  position: absolute;
  z-index: 1;
  top: 60px;
  left: 0;
  height: 100%;
  width: 260px;
  background: #f0ead9;
  box-shadow:0px 0px 6px 3px #ebe4d2 inset;
  -moz-box-shadow:0px 0px 6px 3px #ebe4d2 inset;
  -webkit-box-shadow:0px 0px 6px 3px #ebe4d2 inset;
}
#cd-timeline-inner::after {
  content: '';
  position: absolute;
  z-index: 1;
  top: 60px;
  right: 0;
  height: 100%;
  width: 620px;
  background: #f0ead9;
  box-shadow:0px 0px 6px 3px #ebe4d2 inset;
  -moz-box-shadow:0px 0px 6px 3px #ebe4d2 inset;
  -webkit-box-shadow:0px 0px 6px 3px #ebe4d2 inset;
}

  .cd-timeline-block .cd-timeline-content.tosho {
    float: right;
    margin-right: .25%;
  }
  .cd-timeline-block .cd-timeline-content.tosho::before {
    top: 11px;
    left: -4.75%;
    border-color: transparent;
    border-right-color: white;
  }
/*Safari*/
_::-webkit-full-page-media, _:future, :root .cd-timeline-block .cd-timeline-content.tosho::before {
    left: -4.6%;
}
  .cd-timeline-content p .head{
  display: inline-block;
  font-size: 13px;
  }
  .cd-timeline-block .cd-timeline-content.tosho .cd-img-more {
    float: left;
    height: 48px;
    border: 1px solid #e5e5e5;
  }
  .cd-timeline-block .cd-timeline-content.tosho .cd-img-more img {
    height: 46px;
  }
  .cd-timeline-block .cd-timeline-content.tosho .cd-read-more {
    float: right;
  }
  .cd-timeline-block .cd-timeline-content.tosho .cd-date {
    left: auto;
    right: 122%;
    text-align: right;
  }

/*  .cssanimations .cd-timeline-content.is-hidden {
    visibility: hidden;
  }
  .cssanimations .cd-timeline-content.bounce-in {
    visibility: visible;
    -webkit-animation: cd-bounce-2 0.6s;
    -moz-animation: cd-bounce-2 0.6s;
    animation: cd-bounce-2 0.6s;
  }*/
}

@media only screen and (min-width: 667px) {
  /* inverse bounce effect on even content blocks */
/*  .cssanimations .cd-timeline-block .cd-timeline-content.tosho.bounce-in {
    -webkit-animation: cd-bounce-2-inverse 0.6s;
    -moz-animation: cd-bounce-2-inverse 0.6s;
    animation: cd-bounce-2-inverse 0.6s;
  }*/
}
@-webkit-keyframes cd-bounce-2 {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-100px);
  }

  60% {
    opacity: 1;
    -webkit-transform: translateX(20px);
  }

  100% {
    -webkit-transform: translateX(0);
  }
}
@-moz-keyframes cd-bounce-2 {
  0% {
    opacity: 0;
    -moz-transform: translateX(-100px);
  }

  60% {
    opacity: 1;
    -moz-transform: translateX(20px);
  }

  100% {
    -moz-transform: translateX(0);
  }
}
@keyframes cd-bounce-2 {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-100px);
    -moz-transform: translateX(-100px);
    -ms-transform: translateX(-100px);
    -o-transform: translateX(-100px);
    transform: translateX(-100px);
  }

  60% {
    opacity: 1;
    -webkit-transform: translateX(20px);
    -moz-transform: translateX(20px);
    -ms-transform: translateX(20px);
    -o-transform: translateX(20px);
    transform: translateX(20px);
  }

  100% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }
}
@-webkit-keyframes cd-bounce-2-inverse {
  0% {
    opacity: 0;
    -webkit-transform: translateX(100px);
  }

  60% {
    opacity: 1;
    -webkit-transform: translateX(-20px);
  }

  100% {
    -webkit-transform: translateX(0);
  }
}
@-moz-keyframes cd-bounce-2-inverse {
  0% {
    opacity: 0;
    -moz-transform: translateX(100px);
  }

  60% {
    opacity: 1;
    -moz-transform: translateX(-20px);
  }

  100% {
    -moz-transform: translateX(0);
  }
}
@keyframes cd-bounce-2-inverse {
  0% {
    opacity: 0;
    -webkit-transform: translateX(100px);
    -moz-transform: translateX(100px);
    -ms-transform: translateX(100px);
    -o-transform: translateX(100px);
    transform: translateX(100px);
  }

  60% {
    opacity: 1;
    -webkit-transform: translateX(-20px);
    -moz-transform: translateX(-20px);
    -ms-transform: translateX(-20px);
    -o-transform: translateX(-20px);
    transform: translateX(-20px);
  }

  100% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }
}
