﻿@charset "UTF-8";

/* トップページ（スマートフォン） ファーストビュー用 */


/* sys/sb_base_form.css のコピー ここから */


/* ----入力フォーム共通---- */

input,
button,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}


input[type="submit"],
input[type="button"],
button {
  -webkit-appearance: none;
  border-radius: 0;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="search"],
input[type="password"],
input[type="url"],
input[type="number"],
select,
textarea {
  padding: 4px;
  border: 1px solid #999;
  background-color: #fff;
  max-width: 100%;
}

/* ----ボタン---- */

.btn {
  display: inline-block;
  margin: 0;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  white-space: nowrap;
  padding: 4px 10px;
}

.btn-default {
  color: #333;
  border: solid 1px #dcdcdc;
  background-color: #e5e5e5;
}

.input-group {
  display: table;
  width: 100%;
}

.input-group > span {
  display: table-cell;
  width: 100%;
}

.input-group-btn {
  display: table-cell;
  white-space: nowrap;
}

/* ここまで sys/sb_base_form.css のコピー */


/* sys/sb_block_common.css のコピー ここから */

/* ----トピック---- */

.block-topic--items li {
  border-bottom: 1px solid #E0E0E0;
  position: relative;
}

.page-top .block-topic--items li a {
  display: block;
  text-decoration: none;
}

.block-topic--items li a:after {
  position: absolute;
  height: 100%;
  top: 50%;
  font-size: 20px;
  line-height: 20px;
  margin-top: -10px;
  right: 10px;
}

.block-top-topic--next-page {
  text-align: right;
  padding: 10px;
}

.block-top-topic--next-page a {
  text-decoration: underline;
}

/* ----キーワード検索ブロック---- */

.block-search-box--keyword {
  width: 100%;
  height: 38px;
}

.block-search-box--form {
  padding: 10px;
  position: relative;
  background: #eee;
}

.block-search-box--placeholder {
  position: absolute;
  top: 20px;
  left: 20px;
  color: #999;
  font-size: 14px;
}

.block-search-box--search-submit {
  margin-left: 10px;
  width: 65px;
  height: 38px;
  background: #666;
  color: #fff;
  font-size: 18px;
}

/* ここまで sys/sb_block_common.css のコピー */


/* usr/sb_block.css のコピー ここから */

/* ----トップページ本文---- */

#top-slider-warp {
  width: 100%;
}

#top-slider-warp li img {
  vertical-align: top;
  width: 100vw;
  aspect-ratio: 2.5 / 2;
}

#top-slider-warp .swiper-pagination-bullets {
  position: static;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 58.57px;
  height: 50px;
  padding: 0;
  margin: auto;
}

#top-slider-warp span.swiper-pagination-bullet {
  display: block;
  width: 10px;
  height: 10px;
  padding: 0;
  font-size: 0;
  background: none;
  opacity: 1;
}

#top-slider-warp span.swiper-pagination-bullet::before {
  display: block;
  width: 100%;
  height: 100%;
  background: #ddd;
  border-radius: 10px;
  content: "";
}

#top-slider-warp span.swiper-pagination-bullet-active::before{
  background: #0054A6;
}

.swiper-slide-active.swiper-slide-lazy {
  height: auto;
}

.swiper-slide-lazy {
  height: 0;
}

.block-top-body-topic {
  padding: 13px 10px;
  background-color: #FFECEA;
}

.block-top-body-topic dt {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.block-top-body-topic dt span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 23px;
  margin-right: 8px;
  border: 1px solid #182028;
}

/* 書籍一覧 */
.block-book-list-wrap {
  padding-bottom: 34px;
}
.block-book-list {
  display: flex;
  flex-wrap: wrap;
  padding: 0 12px;
}

.block-book-list-item {
  width: calc(50% - 6px);
  margin-bottom: 16px;
  border: 1px solid #E2E2E2;
}

.block-book-list-item:nth-of-type(odd) {
  margin-right: 12px;
}

.block-book-list-item dt {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  height: 54px;
  background-color: #E2F3FF;
  font-weight: bold;
}

.block-book-list-item dt img {
  width: 22px;
  height: 22px;
}

.block-book-list-item dd {
  padding: 14px 16px 16px;
}

.block-book-list-item dd img {
  display: block;
  width: 100px;
  height: 100px;
  margin: auto;
}

.block-book-list-item-link {
  margin-top: 16px;
}

.block-book-list-item-link li {
  width: 100%;
  height: 36px;
  border: 1px solid #D5D5D5;
  border-radius: 4px;
  margin-bottom: 6px;
  font-size: 12px;
}

.block-book-list-item-link li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.block-book-list-item-link span {
  font-size: 17px;
  font-family: "Roboto", "Noto Sans JP",
    "メイリオ",
    Meiryo,
    "ヒラギノ角ゴ Pro W6",
    "Hiragino Kaku Gothic Pro",
    Osaka,
    "ＭＳ Ｐゴシック",
    "MS PGothic",
    sans-serif;
}

.block-book-list-item-link li:last-of-type {
  margin-bottom: 0;
}

.block-book-list-item-link li:nth-of-type(-n+2) {
  background-color: #FBFFD5;
}

.block-book-list-item-link li:nth-last-of-type(-n+2) {
  background-color: #FDE2C9;
}
/* ----トップページ予備テンプレート1---- */


/* ----トップページ予備テンプレート2---- */

.block-top-event .block-top-event--goods {
  position: relative;
}

.block-top-event .block-ranking-r {
  margin: 0 45px;
}

.block-top-event .block-ranking-r--items.swiper-wrapper {
  border: 0;
  flex-wrap: nowrap;
  width: 100%;
  margin: 0 0 20px;
  padding: 0;
}

.block-top-event .block-ranking-r--items.swiper-wrapper > div {
  margin-right: 0;
}

.block-top-event .block-top-event--goods .swiper-button-prev::after {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 0;
  border-top: 2px solid #111;
  border-left: 2px solid #111;
  transform: rotate(-45deg);
  font-size: 0;
  z-index: 1;
  background: none;
  content: "";
}

.block-top-event .block-top-event--goods .swiper-button-next::after {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 0;
  border-top: 2px solid #111;
  border-right: 2px solid #111;
  transform: rotate(45deg);
  font-size: 0;
  z-index: 1;
  background: none;
  content: "";
}

.block-top-event .block-ranking-r--items .block-ranking-r--item {
  display: block;
  padding: 0;
}

.block-top-event .block-ranking-r--items .block-ranking-r--rank {
  top: 13px;
  left: 10px;
  width: 33px;
  height: 26px;
  padding: 2px 0 6px;
  border-radius: 0;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.5;
  text-align: center;
  color: #fff;
  background: url(../../img/usr/common/ico_rank.png) center center / auto 26px no-repeat;
}

.block-top-event .block-ranking-r--items .block-ranking-r--rank.block-ranking-r--rank.block-ranking-r--rank-1 {
  background: url(../../img/usr/common/ico_rank1.png) center center / auto 26px no-repeat;
}

.block-top-event .block-ranking-r--items .block-ranking-r--rank.block-ranking-r--rank.block-ranking-r--rank-2 {
  background: url(../../img/usr/common/ico_rank2.png) center center / auto 26px no-repeat;
}


.block-top-event .block-ranking-r--items .block-ranking-r--rank.block-ranking-r--rank.block-ranking-r--rank-3 {
  background: url(../../img/usr/common/ico_rank3.png) center center / auto 26px no-repeat;
}

.block-top-event .block-ranking-r--items .block-ranking-r--goods-image {
  margin: 0 0 17px;
}

.block-top-event .block-ranking-r--items .block-ranking-r--goods-image figure img {
  width: 100%;
}

.block-top-event .block-ranking-r--items .block-ranking-r--goods-name {
  font-weight: normal;
  margin: 0 0 8px;
}

.block-top-event .block-ranking-r--items .block-ranking-r--comment {
  display: none;
}

.block-top-event .block-ranking-r--items .block-ranking-r--price {
  font-size: 15px;
}

.block-recent-item--header {
  margin: 0 0 24px;
  padding: 40px 0 0;
  border: 0;
  text-align: center;
  font-family: "Josefin Sans", "Noto Sans JP", "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W6", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.333;
  color: #000;
  background: none;
}

/* ここまで usr/sb_block.css のコピー */
