@charset "UTF-8";
/*-----------------------------------
 ページ調整
------------------------------------*/
html { scroll-behavior: smooth;}

.cp_main {
    color: #333333;
    font-size: 16px;
    line-height: 1.7;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }
.bw-breadcrumb {
    width: 960px;
    margin: 0 auto 16px; 
  }

.cp_block {
    max-width: none;
    margin: 0 auto; 
  }
@media (min-width: 769px) {
  .bw_contentsArea {
    margin-top: 66px !important;
  }
}

/*-----------------------------------
キャンペーン終了
------------------------------------*/

@media (min-width: 1000px) {
  .cp_attention__txt {
    max-width: 960px;  
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
  }
}
/*-----------------------------------
 共通
------------------------------------*/
.cp-section {
  padding-left: 3%;
  padding-right: 3%;
  background-color: #fdfdfd;
  background-image: 
    /* 1枚目の背景画像のパス */
    url(../img/bg-left.png),
    /* 2枚目の背景画像のパス */
    url(../img/bg-right.png);
    background-position:
    /* 1枚目の背景画像の表示位置 */
    left 0 top,
    /* 2枚目の背景画像の表示位置 */
    right 0 top;

  background-repeat:
    /* 1枚目の背景画像の設定 */
    repeat-y,
    /* 2枚目の背景画像の設定 */
    repeat-y;

    background-size:
    230px;
}
.pc-only {
  display: none;
}
@media (min-width: 650px) {
  .cp-section {
    background-size:
    450px;
  }
  .pc-only {
    display: block;
  }
}
@media (min-width: 1150px) {
  .cp-section {
    background-size:
    673px;
  }
  .pc-only {
    display: block;
  }
}

/*-----------------------------------
 メインビジュアル
------------------------------------*/
h1 img{
	width: 100%;
	max-width: 960px;
	margin: 0 auto;
	display: block;
}

/*-----------------------------------
 メインビジュアル背景 
------------------------------------*/
h1{
	background: linear-gradient(#731586, #ef7194);
  margin-bottom: 0;
}

/*-----------------------------------
 リード文
------------------------------------*/
.cp-lead {
  text-align: center;
  padding-top: 6px;
    padding-bottom: 6px;
}
.cp-lead__text img{
  width: 100%;
}
@media (min-width: 769px) {
  .cp-lead {
    padding-top: 25px;
    padding-bottom: 25px;
  }
  .cp-lead__text img{
    width: 687px;
    height: auto;
  }
}

/*-----------------------------------
 カテゴリー
------------------------------------*/
.cp-category {
  text-align: center;
  width: 100%;
  background-color: #f27da5;
  background-image:
    radial-gradient(#ffffff23 10%, transparent 10%),
    radial-gradient(#ffffff23 10%, transparent 10%);
  background-size: 26px 26px;
  background-position: 0 0, 13px 13px;
  padding-top: 12px;
  padding-bottom: 12px;
  margin-bottom: 0;
  position: relative;
}
.cp-category:before{
  content: '';
  position: absolute;
  top: 99%;
  left: 50%;
  transform: translateX(-50%);
  border-top: 8px solid #f27da5;
  border-right: 10px solid transparent;
  border-left: 10px solid transparent;
}
.cp-category-01 img {
  width: 160px;
  height: auto;
}
.cp-category-02 img {
  width: 75%;
  height: auto;
  margin-top: 10px;
  margin-bottom: 10px;
}

@media (min-width: 769px) {
  .cp-category {
    padding-top: 23px;
    padding-bottom: 23px;
    position: relative;
  }
  .cp-category-01 img {
    width: 280px;
    height: auto;
  }
  .cp-category-02 img {
    width: 625px;
    height: auto;
  }
  .cp-category:before{
    content: '';
    position: absolute;
    top: 99%;
    left: 50%;
    transform: translateX(-50%);
    border-top: 11px solid #f27da5;
    border-right: 14px solid transparent;
    border-left: 14px solid transparent;
  }
}

/*-----------------------------------
 イチオシ作品
------------------------------------*/
.cp-recommend {
  padding-top: 25px;
  padding-bottom: 25px;
}
.cp-recommend__contents {
  border: solid 1px #04010b;
  margin-bottom: 20px;
  background-color: #fff;
}
.cp-recommend__sub {
  background-color: #04010b;
  width: 100%;
  text-align: center;
  color: #fff;
  font-size: 16px;
  padding: 5px 3% 5px;
}
.cp-recommend__box {
  padding: 15px 4% 25px;
}
.cp-recommend__title {
  text-align: center;
  font-weight: bold;
  background-image: linear-gradient(to right, #333, #333 2px, transparent 2px);
  background-size: 10px 2px;
  background-position: left bottom;
  background-repeat: repeat-x;
  padding-bottom: 15px;
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 15px;
}
.cp-recommend__book {
  text-align: center;
}
.cp-recommend__summary {
  text-align: left;
  font-size: 14px;
  margin: 20px auto 15px;
}
.cp-recommend__cover {
  box-shadow: 3px 3px 8px 1px rgba(119, 119, 119, 0.135);
}
.cp-recommend__button-box {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.cp-recommend__button {
  text-align: center;
  border-radius: 5px;
  display: block;
  font-size: 16px;
  font-weight: 400;
  padding: 8px 3%;
  color: #fff;
  width: 49%;
}
.cp-recommend__button:hover {
  color: #fff;
  opacity: 0.7;
}
.button-read {
  background-color: #8a2a8a;
}
.button-buy {
  background-color: #e31e64;
}
.cp-recommend__cover-02 {
  width: 100%;
  height: auto;
}
@media (min-width: 769px) {
  .cp-recommend__cover-02 {
    width: 500px;
    height: auto;
  }
}
@media (min-width: 900px) {
  .cp-recommend {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .cp-recommend__box {
    padding: 25px 60px 30px;
  }
  .cp-recommend__sub {
    padding: 8px 3% 8px;
    font-size: 20px;
  }
  .cp-recommend__title {
    font-size: 25px;
    margin-bottom: 20px;
  } 
  .cp-recommend__contents {
    width: 850px;
    margin: 0 auto 30px;
    background-color: #fff;
  }
  .cp-recommend__summary {
    font-size: 16px;
    margin: 25px auto 20px;
  }
  .cp-recommend__button {
    font-size: 18px;
  }
}

/*-----------------------------------
 棚
------------------------------------*/
.cp-bookshelf {
  padding: 25px 3% 40px;
}
.cp-bookshelf__list {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  column-gap: 8px;
  row-gap: 30px;
  width: 100%;
}
.cp-bookshelf__list-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.cp-bookshelf__cover {
  background-color: #fff;
  display: block;
  border: 1px solid #ccc;
  height: calc(((100vw - 32px - min(8vw, (40px + 2px))) / 3) * (10 / 6.5));
}
.cp-bookshelf__cover img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cp-bookshelf__list-btn {
  display: block;
  padding: 0 3%;
  line-height: 35px;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  text-align: center;
  border-radius: 50px;
}
.cp-bookshelf__list-btn:hover {
  color: #fff;
  opacity: 0.7;
}
.cp-bookshelf__btn-box {
  margin-top: 8px;
}
.cp-bookshelf__list-btn-read {
  margin-bottom: 7px;
  background-color: #8a2a8a;
}
.cp-bookshelf__list-btn-buy {
  background-color: #e31e64;
}
@media (min-width: 769px) {
  .cp-bookshelf {
    padding: 40px 3% 60px;
  }
  .cp-bookshelf__list {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5,1fr);
    column-gap: 15px;
    row-gap: 30px;
  }
  .cp-bookshelf__list-btn {
    font-size: 14px;
    line-height: 40px;
  }
  .cp-bookshelf__cover {
    height: calc(((min(100vw, 992px) - 3px - 32px - 80px) / 5) * (10 / 7));
  }
}
@media screen and (min-width: 992px){
  .cp-bookshelf__list {
    width: 960px;
    column-gap: 25px;
    row-gap: 40px;
  }
  .cp-bookshelf__cover {
    height: calc(((min(100vw, 960px) - 3px - 80px) / 5) * (10 / 7));
  }
}

/*-----------------------------------
 バナーエリア
------------------------------------*/
.cp-banner {
  width: 100%;
  margin-top: 30px;
}
.cp-banner__img img{
  width: 100%;
}
.cp-banner__img01 {
  margin-bottom: 15px;
}
/* 区切りのライン */
.cp-banner__line {
  width: 90%;
  margin: 0 auto;
  background-image: linear-gradient(to right, #333, #333 2px, transparent 2px);
  background-size: 10px 2px;
  background-repeat: repeat-x;
  padding-bottom: 30px;
}
@media (min-width: 1000px) {
  .cp-banner__line {
    background-image: linear-gradient(to right, #333, #333 2px, transparent 2px);
    background-size: 10px 2px;
    background-repeat: repeat-x;
    padding-bottom: 50px;
  }
  .cp-banner {
    width: 960px;
    margin: 55px auto 0;
  }
  .cp-banner__img01 {
    margin-bottom: 20px;
  }
}