@import url(https://fonts.googleapis.com/css?family=Vollkorn:400,700);
.history {
    background: #9C9C9C url("../img/history/ayumi_bg.jpg") no-repeat right bottom;
    color: #fffffd;
}
.history-head {
    margin: 0 auto;
    max-width: 900px;
    font-size: 1.9em;
    font-weight: bold;
}
.history-hr {
    color: #fff;
    margin: 0;
    padding: 2% 0;
    position: relative;
    text-align: center;
    width: 100%;
}
.history-hr::before {
    background-image: linear-gradient(to right, rgba(244, 233, 205,0),rgba(244, 233, 205,1),rgba(244, 233, 205,0));
    background-position: center center;
    background-repeat: no-repeat;
    bottom: 0;
    content: "";
    height: 1px;
    left: 0;
    margin: 0 auto;
    position: absolute;
    right: 0;
    text-align: center;
    width: 100%;
}
#timeline a {
    color: #fff;
    text-decoration: none;
    transition: all 0.5s ease 0s;
    outline: none;
}
#timeline a:hover {
    color: #c19e36;
}
.sociales {
    margin-bottom: 20px;
    text-align: center;
}
#timeline {
    background: url("../img/history/dot.png") repeat-x scroll left 85px;
    height: 450px;
    margin: 0 auto;
    overflow: hidden;
    padding-top: 20px;
    position: relative;
    width: 900px;
}
#dates {
    font-family: "Vollkorn",serif;
    height: 60px;
    overflow: hidden;
    padding-top: 20px;
    width: 900px;
}
#dates li {
    background: rgba(0, 0, 0, 0) url("../img/history/biggerdot.png") no-repeat scroll center bottom;
    float: left;
    font-size: 1.6em;
    height: 51px;
    list-style: outside none none;
    text-align: center;
    width: 100px;
}
#dates a {
    line-height: 38px;
    padding-bottom: 10px;
}
#dates .selected {
    bottom: 16px;
    color: #fff;
    font-size: 1.8em;
    position: relative;
}
#dates .selected::after {
    bottom: 14px;
    color: #CA9015;
    content: "▼";
    display: block;
    font-size: 0.4em;
    position: relative;
}
#issues {
    height: 450px;
    overflow: hidden;
    width: 900px;
}
#issues li {
    background-color: rgba(129, 66, 134, 0.5);
    float: left;
    height: auto;
    list-style: outside none none;
    margin-top: 15px;
    position: relative;
    width: 900px;
}
#issues li.selected::before {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: rgba(129, 66, 134, 0) rgba(129, 66, 134, 0) rgba(129, 66, 134, 0.5);
    border-image: none;
    border-style: solid;
    border-width: 15px;
    bottom: 100%;
    content: " ";
    height: 0;
    left: 50%;
    margin-left: -15px;
    pointer-events: none;
    position: absolute;
    width: 0;
}
#issues li.selected img {
    transform: scale(1.1, 1.1);
}
#issues li img {
    background: transparent none repeat scroll 0 0;
    float: left;
    margin: 30px 60px 30px 80px;
    transform: scale(0.7, 0.7);
    transition: all 2s ease-in-out 0s;
}
#issues li h1 {
    color: #fffffd;
    font-family: "Vollkorn",serif;
    font-size: 3em;
    letter-spacing: 0.05em;
    margin-top: 25px;
    text-align: left;
    text-shadow: 1px 1px 2px #000;
}
#issues li p {
    font-weight: normal;
    font-size: 1.1em;
    line-height: 1.5em;
    margin-right: 60px;
    text-shadow: 1px 1px 2px #000;
}
#grad_left, #grad_right {
    height: 450px;
    position: absolute;
    top: 0;
    width: 100px;
}
#next, #prev {
    background-position: 0 0;
    background-repeat: no-repeat;
    font-size: 70px;
    height: 25px;
    margin: 0 5px;
    overflow: hidden;
    position: absolute;
    text-indent: -9999px;
    top: 260px;
    width: 18px;
}
#next:hover, #prev:hover {
    background-position: 0 -50px;
}
#next {
    background-image: url("../img/history/next.png");
    right: 0;
}
#prev {
    background-image: url("../img/history/prev.png");
    left: 0;
}
/*#next.disabled, #prev.disabled {
    opacity: 0.2;
}
				#next.disabled,
				#prev.disabled {
					opacity: 0.2;
				}*/
/* sp 横向きの場合 */
@media screen and (min-width:321px) and ( max-width:778px) and (orientation:landscape){
    .history-head {
       font-size: 1.2em;
    }
  .historyInner {
      padding: 10px 0;
  }
  #timeline {
   width: 85vw;
   height: auto;
   min-height: inherit;
  }
  #dates li {
   float: left;
   font-size: 1.5em;
   height: 51px;
   text-align: center;
   width: 80px;
  }
  #issues {
   height: auto;
  }
  #issues li {
   width: 85vw;
   float: left;
   height: auto;
   margin-top: 15px;
  }
  #issues li img {
   width: 25vmax;
   height: 25vmax;
   max-height: 180px;
   float: left;
   margin: 20px 20px 20px 40px;
  }
  #issues li h1 {
   font-size: 2.6em;
   margin: 0;
   text-align: left;
  }
  #issues li p {
     margin: 5px 30px 10px 210px;
  }
  #next, #prev {
   top: 200px;
  }
}
/* sp 縦向きの場合 */
@media screen and ( max-width:778px) and (orientation:portrait){
    .history-head {
       font-size: 1.2em;
    }
    .historyInner {
        padding-top: 10px;
    }
 #timeline {
  width: 85vw;
  height: auto;
  min-height: inherit;
 }
 #issues {
  height: auto;
 }
  #issues li {
   width: 85vw;
   margin-bottom: 10px;
  }
   #issues li img {
    display: block;;
    float: none;
    margin: 5px auto;
    width: 30vmax;
    max-width: 240px;
    padding: 5% 20% 0.5%;
   }
   #issues li h1 {
    margin: 0 30px -5px;
    text-align: left;
    font-size: 2em;
   }
   #issues li p {
    margin: 0 30px 20px;
   }
  #next, #prev {
   top: 220px;
  }
}
