@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.2
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*----------------------------------
 カテゴリのラベルを非表示
 --------------------------------*/
.cat-label {
display: none;
}

/*--------------------------------------
 ヘッダーのデザイン
---------------------------------------*/
/* h4のリセット */
.article h4{
 border-top:none;
 border-bottom:none;

}

.article h2{
  padding: 1rem 2rem;
  border-left: 4px solid #3cb371;
  background: none;
}

.article h3{
	border: none;
	border-top: 3px solid#3cb371;
	border-bottom: 3px solid#3cb371;
}

/*.article h4{
 padding: 0.5em 1em;
 border-left:solid 8px #3cb371;
}
*/

/* 中点のみの見出し */

.article h4{
	 padding-left: 0;
margin-bottom:0.5em;

}

.article h4::before{
 content:"・";
}

/*--------------------------------------
 キャプションデザイン
---------------------------------------*/
p.wp-caption-text{
	text-align:left;
	margin-top:0.4em;
	margin-bottom:0.5em;
	margin-left:0.5em;
}

/*--------------------------------------
囲み
---------------------------------------*/
.box1 {
    border: 1px dashed #0CF; 
	padding: 10px; 
	border-radius: 10px;
}

.box2 {
    margin: 2em auto;
    padding: 1em;
    border: 1px solid #ccc;
}

.box3{
    padding: 1em;
	margin: 2em auto;
    border:double #CCC;
}

.box-maru-take {
 margin: 2em auto;
 padding: 1em;
/* width: 90%; /* ボックス幅 */
 background-color: #e5ffcc; /* ボックス背景色 */
 color: #666; /* 文章色 */
 box-shadow: 0 0 5px 1px #c0c0c0; /* 影 */
 border-radius: 10px; /* 角の丸み */
}



.box-d{
	padding:0.25em 0.5em;
	margin: 0.5em 0;
    border:double #CCC;
}
/*文字の背景に色をつける*/
.boxcolor1 {
	padding: 0.5em 1em;
    margin: 2em 0;
    color: #2c2c2f;
    background: #cde4ff;/*背景色*/
	
}
/*関連記事や次の記事が入る箱*/
.box-lg {
    position: relative;
    margin-top: 2.5em;
	margin-bottom: 2em;
    padding: 0.5em 1em;
    border: solid 3px #62c1ce;
	font-weight: bold;
}
.box-lg .box-title {
    position: absolute;
    display: inline-block;
    top: -27px;
    left: -3px;
    padding: 0 15px;
    height: 25px;
    line-height: 25px;
    vertical-align: middle;
    font-size: 17px;
    background: #62c1ce;
    color: #ffffff;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
}
.box-lg p {
    margin: 0; 
    padding: 0;	
}

/*-----------------------------------------------------------
ネタバレ防止開閉機能
-----------------------------------------------------------*/
.hidden_box {
	margin: 10px 0;
	padding: 0;
	text-align: center;
}

.hidden_box label {
	border: 1px solid #ddd;
	border-radius: 5px;
	cursor: pointer;
	font-weight: bold;
	margin: 0 auto;
	padding: 10px;
	min-width: 50%;
}

.hidden_box label:hover {
	background: #f5f5f5;
}

.hidden_box label:after {
	content: "を表示";	/* 閉じている状態のときにラベルの後ろに続く文字 */
}

.hidden_box input {
	display: none;
}

.hidden_box .hidden_show {
	height: 0;
	overflow: hidden;
	opacity: 0;
	padding: 0;
	text-align: left;
	transition: 0.5s;
}

.hidden_box input:checked ~ label:after {
	content: "を非表示";	/* 開いている状態のときにラベルの後ろに続く文字 */
}

.hidden_box input:checked ~ .hidden_show {
	height: auto;
	opacity: 1;
	padding: 10px 0;
}







/* ---------------------------------------------------------
    もしもアフィリエイト  かんたんリンク カスタマイズ 
--------------------------------------------------------- */
/* --------- 外枠 --------- */
div.easyLink-box {
	border:3px double #CCC !important; /* ２重線 */
}

div.easyLink-box.easyLink-size-s{
	margin: -8px 5px !important;
}


/* ---  商品タイトル --- */
p.easyLink-info-name a {
	font-size: 14px !important;
	font-weight:bold;
}

/* --- ボタンサイズ --- */
div.easyLink-box div.easyLink-info p.easyLink-info-btn a{
  padding:1px !important;
}
@media screen and (min-width: 704px) {  div.easyLink-box div.easyLink-info p.easyLink-info-btn a{
  margin-bottom:10px !important;
  }
}

/* --------- ボタン色 --------- */
a.easyLink-info-btn-amazon {
	background: #f6a306 !important; /* 背景色 */
	border: 2px solid #f6a306 !important; /* 外枠 */
	box-shadow: 0px 3px 7px 0px rgba(0,0,0,.25); /* 影 */
}

a.easyLink-info-btn-rakuten {
	background: #bf0000 !important; /* 背景色 */
	border: 2px solid #bf0000 !important; /* 外枠 */
	box-shadow: 0px 3px 7px 0px rgba(0,0,0,.25); /* 影 */
}

a.easyLink-info-btn-yahoo {
	background: #ff0033 !important; /* 背景色 */
	border: 2px solid #ff0033 !important; /* 外枠 */
	box-shadow: 0px 3px 7px 0px rgba(0,0,0,.25); /* 影 */
}
/* --- ボタン下空白を削除 --- */
@media screen and (max-width: 480px) {
	div.easyLink-box{padding:10px;}
	div.easyLink-box div.easyLink-info p.easyLink-info-btn a:last-child {
	margin-bottom: 0 !important;
	}
}
/* --- 画像サイズ --- */
div.easyLink-box div.easyLink-img,
div.easyLink-box div.easyLink-img p.easyLink-img-box,
div.easyLink-box div.easyLink-img p.easyLink-img-box img.easyLink-img-pht{
  max-width: 130px !important;
  max-height: 130px !important;
}

/* --- 文字サイズ変更 --- */
p.easyLink-info-maker,
p.easyLink-info-model{
	font-size: 12px;
}

/*--------かんたんリンクここまで-------------------*/

/*--------------------------------------
記事下の空間調整
---------------------------------------*/
/*p.sns-share-msg{
	margin-top:1px;
}

div.page-link{
	margin: 10px 0px;
}

div#the-content.entry-content{
	margin-bottom:  1.5em;
}


p.footer-post-meta{
	display: none;
}*/

/*--------------------------------------
画像のはみ出し防止
---------------------------------------*/
img{max-width: 100%;}


/*--------------------------------------
関連記事の文字の上空間調節
---------------------------------------*/

/*--div#under-entry-body h2{margin-top:0;}
footer{margin-bottom:-2em;}--*/


/*--------------------------------------
自作Amazonのボタン
---------------------------------------*/
.amabutton a{
	color:#000000;
	background: #f6a306; /* 背景色 */
	border: 2px solid #f6a306; /* 外枠 */
	box-shadow: 0px 3px 7px 0px rgba(0,0,0,.25); /* 影 */
	text-decoration:none;
	padding:5px;
	border-radius:5px;
}

.amabutton{
	margin:15px 5px;
}

/*自作商品リンク用囲み*/
.shopbox {
    margin: 5px;
    padding: 5px;
    border:double #CCC;
}


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

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

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