﻿@charset "UTF-8";
*, *::after, *::before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

body {
  background-color: #f4f4f4;
}

#year {
  padding-bottom: 100px;
  position: relative;
}

@media all and (max-width: 1024px) {
  #year {
    padding-top: 0px;
  }
}
@media all and (max-width: 699px) {
  #year {
    padding-bottom: 15px;
    padding-top: 0px;
  }
  #year::after {
    content: "";
    background-color: #f4f4f4;
    width: calc(100% + 4px);
    height: 15px;
    bottom: 0;
    position: absolute;
    left: -2px;
  }
}
.book_box {
  position: relative;
  line-height: 20px;
  letter-spacing: 2px;
  font-weight: bold;
  padding-top: 40px;
  opacity: 0;
}

.book_box.show {
  opacity: 1;
  -webkit-transition: all 0.8s ease;
  transition: all 0.8s ease;
}

@media all and (max-width: 699px) {
  .book_box {
    padding-top: 15px;
    width: 100%;
  }
}
.book_list {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  border-left: 2px solid black;
  margin-bottom: 30px;
  border-top: 2px solid black;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.book_list.wait {
  opacity: 0;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.book_list .year_link {
  position: relative;
  width: 25%;
  height: auto;
  padding: 0;
  font-size: 16px;
  line-height: 26px;
  border-right: 2px solid black;
  border-bottom: 2px solid black;
  background-color: white;
  overflow: hidden;
}

.book_list .year_link:nth-child(1), .book_list .year_link:nth-child(2), .book_list .year_link:nth-child(3), .book_list .year_link:nth-child(4) {
  border-bottom: 2px solid black;
}

.book_list .year_link .text {
  position: relative;
  font-size: 16px;
  line-height: 20px;
  padding: 16px 22px;
  display: block;
  font-family: lora, "微軟正黑體", sans-serif;
  letter-spacing: 1px;
}

.book_list .year_link .name {
  position: relative;
  width: 50%;
}

.book_list .year_link .type {
  position: relative;
}

.book_list .year_link .title {
  position: relative;
  opacity: 0.6;
  width: 50%;
}

.book_list .year_link .online {
  width: 40px;
  height: 40px;
  border: 1px solid #d3d3d3;
  border-radius: 50%;
  position: absolute;
  right: 75px;
  top: 17px;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.book_list .year_link .online svg {
  width: 21px;
  top: 9px;
  position: relative;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.book_list .year_link .online::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid transparent;
  left: 0;
  top: 0;
  border-radius: 50%;
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
  opacity: 0.5;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.book_list .year_link .online a {
  display: none;
}

@media all and (min-width: 1025px) {
  .book_list .year_link .online:hover {
    border-color: #fd076f;
  }
  .book_list .year_link .online:hover::after {
    border-color: #fd076f;
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
  .book_list .year_link .online:hover svg {
    fill: #fd076f;
  }
}
@media all and (max-width: 1024px) {
  .book_list .year_link .online a {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 10;
  }
}
.book_list .year_link .download {
  width: 40px;
  height: 40px;
  border: 1px solid #d3d3d3;
  border-radius: 50%;
  position: absolute;
  right: 22px;
  text-align: center;
  top: 17px;
  overflow: hidden;
  cursor: pointer;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.book_list .year_link .download::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid transparent;
  left: 0;
  top: 0;
  border-radius: 50%;
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
  opacity: 0.5;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.book_list .year_link .download svg {
  width: 14px;
  top: 11px;
  position: relative;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

@media all and (min-width: 1025px) {
  .book_list .year_link .download:hover {
    border-color: #fd076f;
  }
  .book_list .year_link .download:hover::after {
    border-color: #fd076f;
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
  .book_list .year_link .download:hover svg {
    fill: #fd076f;
  }
}
.book_list .year_link .imgs {
  position: relative;
  display: block;
  width: 100%;
  z-index: 3;
  overflow: hidden;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.book_list .year_link .imgs div {
  position: relative;
  width: 100%;
  -webkit-filter: grayscale(1);
  filter: grayscale(1);
  -webkit-transition: all 1.2s ease;
  transition: all 1.2s ease;
}

.book_list .year_link .imgs div img {
  float: left;
}

.book_list .year_link .imgs div:after {
  content: "";
  display: block;
  clear: both;
}

.book_list .year_link .imgs:after {
  content: "";
  background-color: black;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  opacity: 0.5;
  -webkit-transform: translateX(0);
  transform: translateX(0);
  -webkit-transition: all 0.8s ease;
  transition: all 0.8s ease;
}

.book_list .year_link .imgs:before {
  content: "";
  background-color: black;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  opacity: 0.3;
  -webkit-transform: translateX(0);
  transform: translateX(0);
  z-index: 3;
  -webkit-transition: all 0.8s ease;
  transition: all 0.8s ease;
}

@media all and (min-width: 1025px) {
  .book_list .year_link:hover .imgs div {
    -webkit-filter: grayscale(0);
    filter: grayscale(0);
  }
  .book_list .year_link:hover .imgs::before {
    -webkit-transform: translateY(-55%) skewY(-10deg);
    transform: translateY(-55%) skewY(-10deg);
    opacity: 0;
    -webkit-transition: all 0.6s ease;
    transition: all 0.6s ease;
  }
  .book_list .year_link:hover .imgs::after {
    -webkit-transform: translateY(-85%) skewY(-15deg);
    transform: translateY(-85%) skewY(-15deg);
    opacity: 0;
    -webkit-transition: all 1s ease;
    transition: all 1s ease;
  }
}
@media all and (max-width: 1024px) {
  .book_list .year_link {
    width: 50%;
  }
  .book_list .year_link .imgs {
    border-bottom: 1px solid #e1e1e1;
  }
  .book_list .year_link .imgs div {
    -webkit-filter: none;
    filter: none;
    background-repeat: none;
    background-position: center;
    background-size: contain;
  }
  .book_list .year_link .imgs div img {
    opacity: 0;
  }
  .book_list .year_link .imgs::before, .book_list .year_link .imgs::after {
    display: none;
  }
}
@media all and (max-width: 699px) {
  .book_list .year_link {
    width: 100%;
    border-left: 2px solid;
  }
  .book_list .year_link:nth-child(1) .imgs {
    border-top: 1px solid;
  }
}
@media all and (max-width: 699px) {
  .book_list {
    border-left: 0;
    margin-bottom: 0;
  }
  .book_list::before {
    content: "";
    background-color: #f4f4f4;
    width: calc(100% + 5px);
    height: 15px;
    top: -16px;
    position: absolute;
    left: -2px;
  }
}
#ebook_page {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.27);
  left: 0;
  top: 0;
  opacity: 0.5;
  z-index: 999;
  display: none;
}

#ebook_page.show {
  opacity: 1;
  z-index: 999;
  display: block;
}

#ebook_page .close {
  position: absolute;
  width: 106px;
  height: 90px;
  z-index: 10;
  cursor: pointer;
  right: 50px;
  top: 20px;
}

#ebook_page .close::after {
  content: "";
  background-color: white;
  position: absolute;
  width: 45px;
  height: 3px;
  left: 50%;
  top: 50%;
  -webkit-transform: rotate(-30deg);
  transform: rotate(-30deg);
  margin-left: -22px;
  margin-top: -5px;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

#ebook_page .close::before {
  content: "";
  background-color: white;
  position: absolute;
  width: 45px;
  height: 3px;
  left: 50%;
  top: 50%;
  -webkit-transform: rotate(30deg);
  transform: rotate(30deg);
  margin-left: -22px;
  margin-top: -5px;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

@media all and (min-width: 1025px) {
  #ebook_page .close:hover::after {
    -webkit-transform: rotate(30deg);
    transform: rotate(30deg);
  }
  #ebook_page .close:hover::before {
    -webkit-transform: rotate(-30deg);
    transform: rotate(-30deg);
  }
}
#ebook_page .page {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

#ebook_page .page.show {
  opacity: 1;
  visibility: visible;
}

#ebook_page .page iframe {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

/*# sourceMappingURL=w_book.css.map */
