html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline; }

html {
  line-height: 1; }

ol, ul {
  list-style: none; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle; }

q, blockquote {
  quotes: none; }
  q:before, q:after, blockquote:before, blockquote:after {
    content: "";
    content: none; }

a img {
  border: none; }

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block; }

/* base
----------------------------------------------------*/
html {
  height: 100%;
  font-size: 62.5%; }

body {
  height: 100%;
  padding: 10px 0 0 0;
  box-sizing: border-box;
  font-size: 16px;
  font-size: 1rem;
  font-family: sans-serif;
  color: #323232;
  -webkit-text-size-adjust: none;
  -webkit-font-smoothing: antialiased; }

/* viewer
----------------------------------------------------*/
#start {
  position: fixed;
  left: 0;
  top: 0;
  display: table;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  z-index: 100; }

.start_inner {
  display: table-cell;
  text-align: center;
  vertical-align: middle; }
  .start_inner img {
    margin: 0 0 10px 0;
    animation-name: swipe;
    animation-duration: 0.5s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    animation-timing-function: ease-out; }
  .start_inner p {
    line-height: 1.6; }

@keyframes swipe {
  0% {
    padding-left: 0; }
  100% {
    padding-left: 50px; } }
@keyframes tap {
  0% {
    -moz-transform: scale(1.5, 1.5);
    -ms-transform: scale(1.5, 1.5);
    -webkit-transform: scale(1.5, 1.5);
    transform: scale(1.5, 1.5);
    opacity: 0; }
  100% {
    -moz-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
    opacity: 0.8; } }
#arrows {
  position: relative; }
  #arrows button {
    display: block;
    position: absolute;
    top: calc(50vh - 32px);
    z-index: 99;
    cursor: pointer;
    width: 64px;
    height: 64px;
    border: none;
    -webkit-appearance: none;
    background: url(../images/arrow.png) no-repeat left top;
    text-indent: -9999px;
    opacity: .3; }
    #arrows button.slick-prev {
      right: 10px;
      -moz-transform: rotate(180deg);
      -ms-transform: rotate(180deg);
      -webkit-transform: rotate(180deg);
      transform: rotate(180deg); }
    #arrows button.slick-next {
      left: 10px; }
    #arrows button.slick-disabled {
      display: none !important; }
    #arrows button:hover {
      opacity: .8; }

#viewer {
  height: 100%; }
  #viewer .slick-list,
  #viewer .slick-track {
    height: 100%; }
  #viewer .slick-slide {
    height: 100%; }
    #viewer .slick-slide a {
      position: relative;
      display: block;
      height: 100%; }
      #viewer .slick-slide a:after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: 64px;
        height: 64px;
        background: url(../images/tap.png) no-repeat left top;
        background-size: 64px 64px;
        animation-name: tap;
        animation-duration: 0.5s;
        animation-direction: alternate;
        animation-iteration-count: infinite;
        animation-timing-function: ease-out; }
  #viewer .manga {
    width: auto;
    height: 100%;
    margin: 0 auto; }
    @media screen and (max-width: 800px) {
      #viewer .manga {
        width: 100%;
        height: auto; } }
  #viewer .slick-dots {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10000;
    display: table;
    table-layout: fixed;
    width: 100%;
    height: 10px;
    background-color: #d5e7f9; }
    #viewer .slick-dots li {
      display: table-cell;
      background-color: #6eadec; }
      #viewer .slick-dots li.slick-active ~ li {
        background-color: #d5e7f9; }
      #viewer .slick-dots li button {
        display: none; }
