@charset "UTF-8";

/*-----------------------------------
ページ調整
------------------------------------*/

.cp-body{
    background-color: #E8E8E8;
     /* コンテンツ最大幅 */
      --maxwidth-2: 768px;
      --col-dcard: #000066;
}


/* コンテンツ */
.cp-main {
    font-size: 16px;
    line-height: 1.7;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.cp-main__inner {
    max-width: var(--maxwidth-2);
    margin: auto;
    background-color: #FFF;
}

.cp-main h1, .cp-main h2, .cp-main h3, .cp-main h4, .cp-main h5, .cp-main h6 {
    font-weight: bold;
    margin-bottom: 0;
    max-width: initial;
}

.cp-main p ,
.cp-main div ,
.cp-main li ,
.cp-main dt ,
.cp-main dd {
    line-height: 1.7;
}

.cp-main img{
        max-width: 100%;
        height: auto;
}

.cp-main .font-14-normal{
    font-size: 14px;
    font-weight: normal;
}

/*-----------------------------------
 common
------------------------------------*/

/* header調整 */
@media (max-width: 768px) {
    .header-fixed .o-header {
        min-height: 48px;
        position: sticky !important;
    }
}

.cp-main .text-red{
    color: var(--col-d-red)
}

.cp-main .text-18red{
    font-size: clamp(16px, 3vw ,18px);
    color: var(--col-d-red)
}


/* ページ内リンク調整用 */
.page__anchor{
    height: 0px;
    display: block;
    padding-top: 56px;
    margin-top: -56px;
}

@media (min-width: 769px) {
    .page__anchor{
        padding-top: 66px;
        margin-top: -66px;
    }
}


@media (min-width: 769px){
    .cp-main a,
    .cp-main .arrow:before,
    .cp-main .arrow:after,
    .cp-main .arrow--down:before,
    .cp-main .arrow--down:after,	
    .cp-btn__small{
        transition: all .3s ease-out;
    }

}


/*-----------------------------------
パンクズ用
------------------------------------*/

.bw-breadcrumb {
    padding: 16px 0 0;
    display: none;
    line-height: 1;
}

@media screen and (min-width: 769px) {
    .bw-breadcrumb {
        display: block;
    }
}

.bw-breadcrumb__item {
    display: inline-block;
    font-weight: 600;
    font-size: 10px;
    color: #0064D9;
}

.bw-breadcrumb__item a {
    color: #0064D9;
}

.bw-breadcrumb__item a:hover {
    text-decoration: none;
}

.bw-breadcrumb__item:after {
    content: " > ";
    display: inline-block;
    margin: 0 2px 0 5px;
    color: #888;
}

.bw-breadcrumb__item:last-of-type {
    color: #888;
}


.bw-breadcrumb__item:last-of-type:after {
    content: none;
}


.bw-breadcrumb-outer {
    display: none;
    margin: 16px auto 0 auto;
}
  
@media (min-width: 769px) {
    .bw-breadcrumb-outer {
        display: block;
    }
}


/* パンクズ　＋赤枠 */
.cp-isolation--maxwidth-lr-padding{
    display: block;
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    max-width: calc(var(--maxwidth-2) + 32px);
    margin-left: auto;
    margin-right: auto;

}
/*  赤枠 */
.cp_attention__txt,
.cp_attention__txt p{
    line-height: 1.5;
}

.cp_attention__txt{
    padding: 3%;
}

/*-----------------------------------
期間
------------------------------------*/
.cp-main .cp-period{
    text-align: center;
    padding: 8px;
    background: var(--col-book-black);
    color: #FFF;
    font-size: clamp(14px , 2.8vw ,16px);
    line-height: 1.5;
}

.cp-period__text{
    margin-bottom: 8px;
}

.cp-period__text:last-child{
    margin-bottom: 0px;
}

/*-----------------------------------
エントリー
------------------------------------*/

.cp-main .entry-block__annotation{
    font-size: 12px;
    line-height: 1.3;
}


/*-----------------------------------
dカードボーナスバナー
------------------------------------*/
.cp-main .cp-bnr__title{
    font-size: clamp(16px, 3vw, 19px);
    text-align: center;
    line-height: 1.3;
    margin-bottom: min(2%, 8px);
}

/*-----------------------------------
ランキング棚
------------------------------------*/


.cp-main .bg-shelf-list{
    background-color: #fffce1;
}


/* ランキング棚調整 */
.cp-main #ranking{
    padding-bottom: min(8% ,50px)
}

.cp-main .o-ranking-top .o-ranking-top__title span img {
 max-width: 26px;
}


/*-------------------------------------------
５のつく日
-------------------------------------------*/
.cp-main .cp-day5{
    margin-bottom: 1em;
}

/*-------------------------------------------
 アコーディオン
-------------------------------------------*/
/* 背景 */
.cp-main .accordion-area{
	background-color: #fff;
}

.cp-main .accordion-area__title{
	font-size: 16px;
    font-weight: bold;
	padding: 1em .5em;
    color: var(--col-d-green);
    text-align: center;
    background-color: #fffeec;
	position: relative;
    border-top: 1px dashed var(--col-d-green);
    border-bottom: 1px dashed var(--col-d-green);
	transition: all .3s;
}

.cp-main .accordion-area__title:hover{
	cursor: pointer;
}

.cp-main .accordion-area__icon {
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translatey( calc(-50% - 5px) );
	width: 18px;
	height: 10px;
	}

.cp-main .accordion-area__icon__parts {
	position: relative;
	display: inline-block;
	width: 100%;
	height: 100%;
    transition: all .3s;
  }

.cp-main .accordion-area__icon__parts::before,
.cp-main .accordion-area__icon__parts::after {
	content: "";
    position: absolute;
    bottom: 0;
    left: calc(50% - 2px);
    width: 4px;
    height: 16px;
    border-radius: 9999px;
    background-color: var(--col-d-green);
    transform-origin: 50% calc(100% - 2px);
  }


.cp-main .accordion-area__icon__parts::before {
	transform: rotate(45deg);
}

.cp-main .accordion-area__icon__parts::after {
	transform: rotate(-45deg);
}


  
/* minus */
.cp-main .accordion-area__title.is-open .accordion-area__icon__parts {
	transform: rotate(180deg);
}

.cp-main .accordion-area__main{
	padding: 4%;
	border: 1px dashed var(--col-d-green);
    border-top: none;
	text-align: left;
	font-size: 14px;
	display: none;
	line-height: 1.5;
}

.cp-main .accordion-area__text{
    padding-top: 8px;
    text-align: center;
    line-height: 1.3;
    font-weight: bold;
}

.cp-main .accordion-area__text span{
    display: inline-block;
}


/*-----------------------------------
キャンペーン規約
------------------------------------*/
.cp-main .outline-block__inner{
    margin-left: auto;
    margin-right: auto;
}

.cp-main .outline-block__title{
    background: var(--col-book-black);
    color: #fff;
    padding: 12px 16px;
    text-align: center;
    font-size: 24px;
}

.cp-main .outline-block__lead{
    font-weight: bold;
    border-bottom: 1px solid var(--col-book-gray);
    margin-bottom: 1em;
    padding-bottom: 1em;
    line-height: 1.7;
}

.cp-main .outline-block dl{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.cp-main .outline-block dt,
.cp-main .outline-block dd{
    font-size: 14px;
    width: 100%;
}

.cp-main .outline-block dt{
    color: var(--col-d-red);
    font-weight: bold;
    
}

.cp-main .outline-block dd{
    border-bottom: 1px solid var(--col-book-gray);
    margin-bottom: 1em;
    padding-bottom: 1em;
}

.cp-main .outline-block dd:last-child{
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}


/* 棚用調整 */
.whg_mostView{
    font-size: 12px;
}

.bw_linkContents{
    margin-bottom: 20px !important;
}

@media only screen and (min-width: 769px) {
    .bw_linkContents{
        margin-bottom: 30px !important;
    }
}

.cp-main .bw_linkContents h2{
    max-width: calc(100% - 100px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/*-------------------------------------------
　チェックボックス
-------------------------------------------*/
/* チェックボタンエリア */
.cp-main .checkbox-area__checkbox-set {
    margin: 1em auto;
    text-align: center;
}
.cp-main .cp-checkbox {
    font-size: clamp(13px, 2.8vw, 14px);
    border-top: 1px dashed #dcdcdc;
    border-bottom: 1px dashed #dcdcdc;
    margin: 1em auto;
    padding: 0.5em 0;
    line-height: 1.5;
}
.cp-main .cp-checkbox  > label{
font-size: clamp(13px, 4.0625vw, 16px);
margin: 0;
}
/* チェックボタン */
.cp-main input[type="checkbox"] {
    display: inline-block;
    visibility: visible;
    -webkit-appearance: checkbox;
    margin-right: 0.5em;
}
/* チェックボタン&テキスト */
.cp-main input,
.cp-main label {
    vertical-align: middle;
    line-height: 1;
    margin-bottom: 0;
}

.cp-main .cp-checkbox__text{
margin-top: 4px;
font-size: 12px;
}


/* 棚同士の余白*/
@media (min-width: 769px) {
    .cp-main .o-tile {
        padding-top: 0px;
        padding-bottom: 48px;
    }
}

/*-------------------------------------------
　フローティングバナー
-------------------------------------------*/
.cp-main .cp-float{
    position: fixed;
    width: 100%;
    z-index: 100;
    bottom: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.7);
    padding-top: 1px;
}

.cp-main .cp-float-list{
    max-width: 768px;
    margin: 0 auto;
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
}

.cp-main .cp-float-list__link{
    display: flex;
    justify-content: center;
    padding: 16px;
    min-height: 40px;
    align-items: center;
}

.cp-main .cp-float-list__link img{
   max-width: 450px;
}

.cp-main .cp-float-list__link:last-child{
    border-top: none;
}

.cp-main .float-btn--entry{
    background-color: var(--col-d-red);

}
.cp-main .float-btn--first{
    background-color: var(--col-d-green);
}

/* フッター調整 */
.o-footer{
    padding-bottom: 140px !important;
    background: #FFF;
}


@media (min-width: 769px) {
    .cp-main .cp-float-list__link{
        min-height: 60px;
    }
}

/*-------------------------------------------
 手動棚　共通設定
-------------------------------------------*/
.cp-main .shelf-block__title{
    display: flex;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 16px;
}

.cp-main .shelf-block__title .shelf-block__title-flex {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cp-main .shelf-block__title-flex__item{
    padding-right: 5px;
    max-width: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}


@media (min-width: 769px) {
  .cp-main .shelf-block__title .shelf-block__title-flex__item {
    padding-right: 10px;
  }
}

.cp-main .shelf-block__title .shelf-block__title-flex::before, .cp-main .shelf-block__title .shelf-block__title-flex::after {
  position: absolute;
  content: "";
  width: 2px;
  height: 33px;
  background-color: var(--col-d-green);
  top: -5px;
}
.cp-main .shelf-block__title .shelf-block__title-flex::before {
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  right: -20px;
}
.cp-main .shelf-block__title .shelf-block__title-flex::after {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    left: -20px;
}

@media (min-width: 769px) {
    .cp-main .shelf-block__title{
        font-size: 24px;
    }
}

/*-------------------------------------------
 手動棚　共通設定
-------------------------------------------*/
.cp-main .cp-shelf{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2.6em 1.6em;
}

.cp-main .cp-shelf__item{
	display: flex;
    flex-direction: column;
}

.cp-main .cp-shelf__label-box{
    flex-grow:1;
    margin-bottom: 6px;
}

.cp-main .cp-shelf__label{
	width: 100%;
    border: 1px solid var(--col-book-gray);
    border-radius: 5px;
    font-size: 13px;
    line-height: 1.3;
    color: var(--col-book-gray__black);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 3px;

}

.cp-main .cp-shelf__label--hidden{
    visibility: hidden;
}

.cp-main a.cp-shelf__link{
	text-decoration: none;
    color: var(--col-book-black);
}


.cp-main .cp-shelf__img-box{
	display: block;
	/* 挿入される書影によって調整 */
	padding-top: min(140%, 270px);
	position: relative;
}

.cp-main .cp-shelf__img-box-inner{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* タイトルがない場合のマージン */
.cp-main .cp-shelf__link + .cp-shelf__btns{
	margin-top: 6px;
}

.cp-main .cp-shelf__img{
	display: block;
    margin: 0 auto;
    height: 100% !important;
    width: 100% !important;
    -o-object-fit: contain;
    object-fit: contain;
    border-radius: 0;
}


.cp-main .cp-shelf__btns{
	display: grid;
	gap: 6px;
}


.cp-main .cp-shelf__btn{
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 3px .2em;
	line-height: 1;
	font-size: clamp(11px , 2.8vw , 14px);
    opacity: 1;
}

.cp-main a.cp-shelf__btn--trial{
	line-height: 1;
	text-align: center;
	border: 1px solid var(--col-d-green);
	color: var(--col-d-green);
	border-radius: 8px;
	text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    padding: 12px 8px;
}

.cp-main a.cp-shelf__btn--buy{
	line-height: 1;
	text-align: center;
	border: 1px solid var(--col-book-green);
	background: var(--col-book-green);
	color: #FFF;
	border-radius: 999px;
	text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    padding: 12px 8px;
}


/* ボタンがない時にはこのclassを追加 */
.cp-main a.cp-shelf__btn--hidden{
	visibility: hidden;
}
