html {
  font-size: 16px;
  font-family: YuGothic, '游ゴシック', "Hiragino Kaku Gothic Pro","ヒラギノ角ゴ Pro W3","メイリオ",Meiryo,"ＭＳ Ｐゴシック",sans-serif;
  color: #333;
}

h1, h2 {
  margin: 0;
  line-height: 1.6;
}

h1 {
  font-weight: normal;
  font-size: 48px;
}

h2 {
  font-size: 40px;
}

p {
  margin: 0;
}

a { 
  text-decoration: none;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.btn {
  display: inline-block;
  padding: 20px 0;
  border-radius: 4px;
  box-shadow: 0 1px 4px #dadbdd;
  width: 56%;
}

.btn.blue {
  background-color: #4277fb;
  color: #fff;
}

.btn.navy {
  background-color: #17284c;
  color: #fff;
}

header {
  position: fixed;
  width: 100%;
  padding: 12px 0;
  background-color: #17284c;
  text-align: center;
  box-shadow: 0 2px 4px #666;
  z-index: 100;
}

footer {
  padding: 40px 0;
  background-color: #17284c;
  text-align: center;
}

footer .copyright {
  margin-top: 40px;
  color: #fff;
  font-size: 12px;
}

footer .stores .buttons {
  display: inline-block;
}

footer .stores .store-button {
  float: left;
}

footer .stores .store-button:first-child {
  margin-right: 8px;
}

footer .stores .store-button:last-child {
  margin-left: 8px;
}

footer .stores img {
  width: auto;
  height: 40px;
  border: 1px solid #777;
  border-radius: 4px;
}

footer .share {
  margin-top: 40px;
}

footer .zebra {
  margin-top: 32px;
}

.fade {
  opacity: 0.2;
  transition: 1.5s;
}

.fade.show {
  opacity: 1;
}

/* sections */
section {
  padding: 40px 0; 
  text-align: center;
}

section .wrapper {
  width: 960px;
  margin: auto;
}

section .section-header {
  text-align: center;
}

section .section-header .section-header-content {
  display: inline-block;
  padding-right: 10px;
  padding-bottom: 4px;
  padding-left: 10px;
  border-bottom: 6px solid;
  font-size: 24px;
}

section .section-content {
  position: relative;
}

section .attention {
   color: #f15242;
   font-weight: bold;
}

section .description {
  margin-top: 36px;
}

section .description p {
  font-size: 20px;
  line-height: 2.4;
}

section .section-btn {
  position: relative;
  text-align: center;
}

/* social share */
.share {
  height: 26px;
}

.share .tw, .share .fb {
  float: left;
}

.share .fb {
  margin-right: 8px;
}
.share .tw {
  margin-left: 8px;
}

.share-buttons {
  display: inline-block;
}

.share-buttons::after {
  display: block;
  clear: both;
  content: '';
}

/* top section */
.top {
  padding-top: 120px;
  padding-bottom: 20px;
}

.share {
  margin-top: 24px;
}

.top .slide {
  position: relative;
  margin-top: 32px;
  width: 100%;
}

.top .slide::before {
  display: block;
  content: '';
  padding-top: 50%;
}

.top .slide .item {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  opacity: 0;
  transition: 1.4s;
  max-width: 100%;
}

.top .slide .item.active {
  opacity: 1;
  z-index: 1;
}

.top .pager {
  margin-top: 16px;
  display: inline-block;
}

.top .pager::after {
  display: block;
  clear: both;
  content: '';
}

.top .pager div {
  float: left;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 5px;
  background: #999;
}

.top .pager div.active {
  background: #333;
}

.top .pager div:last-child {
  margin-right: 0;
}

.top .description em {
  margin: 0 2px;
  padding-bottom: 4px;
  border-bottom: 1px solid #f15242;
  color: #f15242;
  font-weight: bold;
  font-style: normal;
}

.top .section-btn {
  margin-top: 24px;
  text-align: center;
}

.top .section-btn .btn {
  display: inline-block;
}

.book-container {
  margin-top: 40px;
}

.book-container::after {
  display: block;
  clear: both;
  content: '';
}

.book-container .book {
  display: block;
  float: left;
  text-align: center;
  width: 240px;
  margin: 0 120px 60px 0;
}

.book .cover {
}

.book .cover img {
  width: 100%;
  height: auto;
}

.book .btn {
  margin-top: 32px; 
  width: 80%;
}

.book-container .book:nth-child(3n) {
  margin-right: 0;
}

.books .section-btn {
  margin-top: 32px;
}

.books .description p {
  font-size: 30px;
}

.books .description p em {
  font-size: 1.5em;
  font-style: normal;
}

.summary-symbol {
  position: relative;
  border-bottom: 1px solid #000;
  padding-bottom: 4px;
}

.summary-symbol .triangle {
  position: absolute;
  border-top: solid 10px #000;
  bottom: -10px;
  left: 50%;
  margin-left: -10px;
  border-left: transparent solid 10px;
  border-right: transparent solid 10px;
}

.summary-symbol .triangle::before {
  position: absolute;
  top: -11px;
  left: -10px;
  border-top: solid 10px #fff;
  border-left: transparent solid 10px;
  border-right: transparent solid 10px;
  content: '';
}

.summaries {
  margin-top: 24px;
  display: inline-block;
}

.summaries::after {
  display: block;
  clear: both;
  content: '';
}

.summaries .summary-item {
  font-size: 24px;
  float: left;
  margin-right: 30px;
}

.summaries .summary-item::last-child {
  margin-right: 0;
}

.summaries .summary-item em {
  color: #f15242;
  font-size: 3em;
  font-style: normal;
}

.books .description .badge {
  position: absolute;
  bottom: -10px;
  left: calc(50% + 7.5em);
  width: 140px;
}

.free {
  position: absolute;
  top: 48px;
  width: 160px;
}

/* for mobile */
@media screen and (max-width: 768px) {

  html {
    font-size: 14px;
  }

  h1 {
    font-size: 2em;
    line-height: 1.6;
  }

  h2 {
    margin: 0;
    font-size: 24px;
    line-height: 1.6;
    letter-spacing: .1; 
  }

  .btn {
    width: 84%;
  }

  section {
    padding: 20px 0;
    text-align: center;
  }

  section .wrapper {
    width: auto;
  }

  footer .copyright {
    font-size: 10px;
  }

  footer .stores img {
    height: 32px;
  }

  footer .share {
    margin-top: 24px;
  }

  footer .zebra img {
    width: 64px;
  }

  section .section-header {
    font-size: 16px;
    letter-spacing: .08em;
  }

  section .section-header .section-header-content {
    border-bottom-width: 4px;
    padding-right: 6px;
    padding-left: 6px;
    font-size: 18px;
  }

  section .section-btn .btn {
    width: 84%;
    padding: 20px 0;
    border-radius: 4px;
  }

  section .description {
    margin-top: 24px;
  }

  section .description p {
    font-size: 12px;
  }

  section .attention {
    font-size: 12px;
  }

  section .cover-image {
    max-width: 100%;
  }

  .top {
    padding-top: 100px;  
  }

  .book-container .book {
    width: 40%;
    margin: 0 0 30px 7%;
  }

  .book-container .book:nth-child(3n) {
    margin-left: 7%;
  }

  .book-container .book:nth-child(2n) {
    margin-right: 0;
  }

  .books .description p {
    font-size: 20px;
  }

  .summary-symbol { 
    margin: 0 16px;
  }

  .summaries .summary-item {
    font-size: 12px;
    margin-right: 16px;
  }

  .btn {
    font-size: 12px;
  }

  .books .description {
    background-position: calc(50% + 9em) bottom;
    background-size: 90px;
  }

  .books .description .badge {
    bottom: 0;
    left: calc(50% + 6em);
    width: 80px; 
  }

  .free {
    top: 48px;
    width: 80px;
  }

}
