@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/



/* ===== Kindleセール（block.css） ===== */


/* ===============================
   本体
=============================== */
.ksale-item{
  padding:1.6rem 0;
  margin:1.8rem 0;
  border:0;
  display:flow-root;
}


/* ===============================
   タイトル（フォントはテーマ準拠）
=============================== */
.ksale-title{
  margin:0 0 1em 0;
}


/* ===============================
   レイアウト
=============================== */
.ksale-layout{
  display:flex;
  gap:1.2em;
  align-items:flex-start;
}


/* ===============================
   画像
=============================== */
.ksale-cover{
  flex:0 0 380px;
  margin:0;
}

.ksale-cover-link{
  display:block;
}

.ksale-cover img{
  width:100%;
  height:auto;
  display:block;
}


/* ===============================
   右カラム
=============================== */
.ksale-right{
  flex:1;
  min-width:0;
}


/* ===============================
   作品情報
=============================== */
.ksale-info{
  font-size:1.1rem;
  margin:0 0 1.5em 0;
}

.ksale-info ul{
  margin:0 !important;
  padding:0 0 0 1.2em !important;
}

.ksale-info li{
  margin:.25rem 0;
  line-height:1.5;
}

.ksale-info li:first-child{
  margin-top:0;
}

.ksale-info strong{
  font-weight:600;
}


/* ===============================
   価格強調
=============================== */
.ksale-price{
  color:#ff2d55;
  font-weight:800;
  font-size:1.2rem;
}

.ksale-label{
  background:#ffe6ea;
  color:#ff2d55;
  font-size:.88rem;
  padding:.12rem .45rem;
  border-radius:6px;
  margin-left:.4rem;
}

.ksale-sub{
  display:inline;
  white-space:nowrap;
  font-size:.95rem;
  opacity:.8;
  margin-left:.35rem;
}


/* ===============================
   CTAボタン
=============================== */
.ksale-btn{
  display:block;
  width:100%;
  box-sizing:border-box;

  background:#FFA41C;
  color:#111;
  border:none;

  text-align:center;
  text-decoration:none;

  padding:1rem 1.2rem;
  font-weight:800;

  border-radius:12px;

  transition:filter .12s ease, transform .05s ease;
}

.ksale-btn:hover{
  filter:brightness(.92);
}

.ksale-btn:active{
  transform:translateY(1px);
}


/* ===============================
   画像なしプレースホルダー
=============================== */
.ksale-noimage{
  width:100%;
  aspect-ratio:1 / 1.2;
  background:#f0f0f0;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#999;
  font-size:.85rem;
}


/* ===============================
   スマホ（768px以下で1カラム）
=============================== */
@media (max-width:768px){

  .ksale-item{
    padding:.6rem 0;
    margin:.8rem 0;
  }

  .ksale-title{
    margin:0 0 .5em 0;
  }

  .ksale-layout{
    flex-direction:column;
    gap:.8em;
    align-items:stretch;
  }

  .ksale-cover{
    flex:auto;
    max-width:520px;
  }

  .ksale-info{
    margin:0 0 .8em 0;
  }

  .ksale-btn{
    width:100% !important;
    max-width:100% !important;
  }
}



/* ★★★★★★★★★★★★★★★★★★★★★ */

.shoplinkbtn1 a{background:#ea1e1e;}

/* 記事見出しH2 */
.article h2 {
    background: #007b43;
	color: #fff;
	margin-top:5em;
}


/* マンガ用 */
.comic {font-size: 0.8em;}
.comic td {font-weight: bold; text-align: center;width:50%;}



/* 動画センタリング */
.video-container {
margin: 0px auto;
}

/* 囲みボックス01(LinckBox) */
.linkbox {
background-color: #ffffff;
border: 1px #80b600 solid;
margin: 3em 0;

}

.linkbox h3 {
    margin: 0;
    padding: 6px 10px;
    background-color: #f1f8e0;
    border-bottom: 1px #80b600 solid;
    border-top: none;
    border-left: none;
    border-right: none;
    font-size: 100%;
    color: #80b600;
}

.linkbox ul {
margin: 10px;
line-height: 200%;
padding-left: 20px;
}

.linkbox br {
display: none;
}

/* 囲みボックス02(TopBox) */
.topbox {
background-color: #ffffff;
border: 1px #e61e1e solid;
margin-bottom: 2em;
}

.topbox h3 {
    margin: 0;
    padding: 6px 10px;
    background-color: #e61e1e;
    border-bottom: 1px #e61e1e solid;
    border-top: none;
    border-right: none;
    border-left: none; 
   font-size: 90%;
    color: #ffffff;
}

.topbox ul {
margin: 1em 10px;
line-height: 200%;
padding-left: 0;
list-style-type:disc;
}

/* 囲みボックス03(InfoBox) */
.infobox {
background-color: #ffffff;
border: 1px #fcb201 solid;
margin-bottom: 2em;
overflow:visible;
font-size:0.9em;
}
.infobox p{
margin: 16px;
}

.infobox h3 {
    margin: 0;
    padding: 6px 10px;
    background-color: #fcb201;
    border-bottom: 1px #fcb201 solid;
    border-top: none;
    border-left: none;
    border-right: none;
    font-size: 1.2em;
    color: #000000;
}

.infobox h3::before{
    font-family: 'FontAwesome';
    font-size: 1.3em;
    content: '\f05a';
    margin-right: 5px;
}

.infobox ul {
margin: 1em 10px;
line-height: 200%;
padding-left: 20px;
list-style-type:disc;
}

/* ボタン */
.linkbtn a{
display:block;
margin:0 auto;
margin-top:2em;
background:#febd69;
text-align:center;
text-decoration:none;
color:#333;
font-weight:bold;
font-size:1.1em;
border-radius: 5px;
padding: 8px 0 6px 0;
border-bottom: 3px solid #d18e38;
}

.linkbtn a:hover{
    opacity: 0.5;
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
}

.linkbtn br{
display: none;
}

.linkbtn-u a{
display:block;
margin:0 auto;
margin-top:0.6em;
background:#ed1717;
text-align:center;
text-decoration:none;
color:#f9f9f9;
font-weight:bold;
font-size:1.1em;
border-radius: 5px;
padding: 8px 0 6px 0;
}

.linkbtn-u a:hover{
    opacity: 0.5;
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
}

.linkbtn-u br{
display: none;
}

.graph .bar {height: 1.8em;}
.benchsheet2{font-size:0.8em! important;}

.btn-off a {
    display: block;
    margin: 0 auto;
    margin-top: 0.6em;
    background: #0e83df;
    text-align: center;
    text-decoration: none;
    color: #f9f9f9;
    font-weight: 700;
    font-size: 1em;
    border-radius: 3px;
    padding: 9px 0;
    height: 2.8em;
}
.btn-off a:hover{ opacity: 0.5;   filter: alpha(opacity=50);   -moz-opacity: 0.5;}
.btn-off br{display: none;}

.btn-amzn a { display: block;    margin: 0 auto;    margin-top: 0.8em;    background: #f69e2e;    text-align: center;    text-decoration: none;    color: #f9f9f9;    font-weight: bold;    font-size: 1em;    border-radius: 3px;    padding: 9px 0 ; height: 2.8em;  }
.btn-amzn a:hover{ opacity: 0.5;   filter: alpha(opacity=50);   -moz-opacity: 0.5;}
.btn-amzn br{display: none;}

.btn-raku a { display: block;    margin: 0 auto;    margin-top: 0.8em;    background: #DC143C;    text-align: center;    text-decoration: none;    color: #f9f9f9;    font-weight: bold;    font-size: 1em;    border-radius: 3px;    padding: 9px 0 ; height: 2.8em;  }
.btn-raku a:hover{ opacity: 0.5;   filter: alpha(opacity=50);   -moz-opacity: 0.5;}
.btn-raku br{display: none;}

.btn-pay a { display: block;    margin: 0 auto;    margin-top: 0.8em;    background: #34a92c;    text-align: center;    text-decoration: none;    color: #f9f9f9;    font-weight: bold;    font-size: 1em;    border-radius: 3px;    padding: 9px 0 ;   height: 2.8em;}
.btn-pay a:hover{ opacity: 0.5;   filter: alpha(opacity=50);   -moz-opacity: 0.5;}
.btn-pay br{display: none;}


/* ベンチマーク表（文字縮小版） */
.benchsheet2{
font-size:0.9em;
line-height:1.5em;
width:100%;
word-break: break-word;
margin-top: 0 !important;
}

.benchsheet2 th{
background:#e8e8e8;
text-align:left;
padding-left:20px;
}

.benchsheet2 td{
text-align:left;
}


.benchsheet2 .tdcenter{
text-align:center;
}

.benchsheet2 .thum{
width:100px;
padding:0;
text-align:left;
}

.benchsheet2 .thum img{
    margin: 0 1em 0 0 !important;
}


.benchsheet2 .bench-midashi{
background-color:#656565;
font-weight:bold;
color:#fff;
}

/* ベンチマーク表（改良版） */

.benchsheet3{
font-size:0.9em;
line-height:1.5em;
width:100%;
margin-top: 0 !important;
margin-bottom: 0 !important;
}

.benchsheet3 tr{
border-bottom:1px solid #a4a4a4;
	
}

.benchsheet3 th{
padding:12px;
min-width: 120px;
vertical-align: text-top;
text-align: left;
border:none;
background-color:#fff;
	width:40%;
}

.benchsheet3 td{
padding:12px 12px 12px 0;
border:none;
}

/* 棒グラフ */
.graph {
    position: relative; /* IE is dumb */
/*    width: 300px; */
    padding: 2px;
	display: flex;
	align-items: center;
}

.graph .bar {
    display: block;
    position: relative;
    background: #4a99e3;
    text-align: center;
    color: #f0ffff;
    height: 2em;
    line-height: 2em;
}
.graph .bar span { position: absolute; left: 1em; }

/* キャンペーンリンク */

.campaign-box {
  padding: 10px; 
  border:  1px solid #ccc;
margin-bottom:1em;
}
.campaign-box:after {
    content: '';
    display: block;
    clear: both;
}

.campaign-box img {
  max-width: 100%;
}

.campaign-box > div {
  float:  left;
  width: 50%;
}

.campaign-box-left {
  padding-left: 0;
}

.campaign-box-left p{
  margin: 0;
}

.campaign-box-left-300px {
  padding-left: 0;
}



.campaign-box-right {
  position: relative;
}


.campaign-box-right ul{
    padding-left: 0;
    line-height: 1.9em;
    font-size: 1em;
    list-style-type: none;
    margin-bottom: 25px;
}

.campaign-box-right li{
    border-bottom: 1px dashed #ccc;
}


.campaign-box-right h4 {
    margin: 0 0 10px 0;
    padding: 0;
border:none;
}

.campaign-box-left h4 {
    margin: 0 0 10px 0;
    padding: 0;
border:none;
}




.campaign-box-right p {
  font-size: 16px;
margin:0;
}

.campaign-box-right .campaign-btn {
    font-size:18px;
    text-decoration:none;
    letter-spacing: 1px;
    display:block;
    text-align:center;
margin-top:10px;    
padding: 10px 20px;
    color:#fff;
    background-color:#4479b8;

	border-radius:5px;
}

.campaign-box-right .campaign-btn a {
  text-decoration: none;
font-weight:bold;
  color:  #fff;
  display: block;
}

.campaign-box-right .campaign-btn br {
  display: none;
}

.campaign-box-right .campaign-btn a:hover{
    opacity: 0.5;
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
}


/* ほかの場所用 */
.float-box-right {
position: relative;
margin-left: 20px;
width:90%;
}


@media screen and (max-width: 720px) {

  .campaign-box > div {
    width: 100%;
  }
  .campaign-box-right {
    margin-top: 10px;
  }

  .campaign-box-right .campaign-label {
    right: -20px; 
  }


  .campaign-box-right ul {
    padding-left:0 !important; 
  }

.linkbox br {display: none;}
	.topbox ul{padding-left:0;	}

}

@media screen and (max-width: 440px) {


	.topbox ul{padding-left:0 !important;	}

}


.item{width:80px !important;}

/* 目次 */

.contents-box {
    background-color: #f1f1f1;
    margin: 0;
    padding: 15px;
    font-size: 95%;
}

.contents-box .midashi{
    border-bottom: 1px solid #ddd;
    margin: 0;
font-weight:bold;
}

.contents-box .midashi::before{
    font-family: 'FontAwesome';
    content: '\f046';
    margin-right: 5px;
    color: #80b600;
}


.contents-box ul{
list-style: none;
line-height:1.8em;
}

.contents-box .parent-list{
padding-left:0;
}

.contents-box .parent-list li{
font-weight:bold;
}


.contents-box .parent-list a{
text-decoration:none;
}

.contents-box .child-list a{
text-decoration:none;
}


.contents-box .child-list{
padding-left:10px;
}


.contents-box .child-list-item::before{
    font-family: 'FontAwesome';
    content: '\f105';}

/* 見だし */
.sheet-midashi{
margin-bottom: 0 !important;
font-weight:bold;
}

/* キャプション */
.wp-caption {
    border: none;
    border-radius: 0px;
    background-color: #fff;
    text-align: left;
}

.wp-caption-text{text-align:left;font-size: 0.85em;}
	
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
