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

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

/* グローバルメニューカスタマイズ */
nav#navi, .menu-header .sub-menu{
	font-weight: bold;/* 太字 */
}

/* Amazonリンクカスタマイズ*/
/* 文字大きさ・ボタン幅*/
.shoplinkamazon a,
.shoplinkrakuten a,
.shoplinkrakukobo a,
.shoplinkkindle a,
.shoplinkgearbest a,
.shoplinkpsstore a,
.shoplinkbtn3 a{
	font-size: 16px;
	padding: 10px 35px;
}
.shoplinkyahoo a{
	font-size: 15px;
	padding: 10px 5px;
}
.shoplinkbtn1 a{
	font-size: 16px;
	padding: 10px 15px;
}
.shoplinkbtn2 a{
	font-size: 16px;
	padding: 10px 15px;
}
.shoplinkbtn1 a {
  background: #73b8ff;
}
.shoplinkbtn2 a {
  background: #192b5b;
}
/* 中央寄せ */
.booklink-box,
.kaerebalink-box,
.tomarebalink-box,
.product-item-box {
	text-align: center;
	width: 100%;
}
/* Amazonリンクタイトル修正 */
.product-item-title-link{
  color:#555;/*商品リンクの文字色を変更*/
  text-decoration:none;/*商品リンクの下線を消す*/
}
.item-price{
  color:#555;/*金額を黒字に変更*/
}
/* Amazonリンクスマホ用修正 */
@media screen and (max-width: 480px) {
.kaerebalink-powered-date,
.booklink-powered-date{
	text-align:center;
}
.booklink-detail,
.kaerebalink-detail{
	text-align:center;
}
.shoplinkamazon,
.shoplinkrakuten,
.shoplinkrakukobo,
.shoplinkkindle,
.shoplinkgearbest,
.shoplinkpsstore,
.shoplinkyahoo,
.shoplinkbtn1,
.shoplinkbtn2,
.shoplinkbtn3{
         float:none;
         width:100%;
}
.shoplinkamazon a,
.shoplinkrakuten a,
.shoplinkrakukobo a,
.shoplinkkindle a,
.shoplinkgearbest a,
.shoplinkpsstore a,
.shoplinkyahoo a,
.shoplinkbtn1 a,
.shoplinkbtn2 a,
.shoplinkbtn3 a{
	font-size: 14px;
	padding: 8px 0px;
	border-radius: 3px
}
/* 画像を上に */
.product-item-thumb {
  width: 100%;
}
	}


/*臨時ボタン　楽天・ヤフー・Amazon*/
#rsquare_btn {
    display: inline-block;
    padding: 0.3em 1em;
    text-decoration: none;
    color: #c20004 !important;
    border: solid 2px #c20004 !important;
    border-radius: 3px;
    transition: .4s;
	font-weight: bold;
}
#rsquare_btn:hover {
    background: #c20004 !important;
    color: white !important;
	font-weight: bold;
}
#ysquare_btn {
    display: inline-block;
    padding: 0.3em 1em;
    text-decoration: none;
    color: #7b0099 !important;
    border: solid 2px #7b0099 !important;
    border-radius: 3px;
    transition: .4s;
	font-weight: bold;
}
#ysquare_btn:hover {
    background: #7b0099 !important;
    color: white !important;
	font-weight: bold;
}
#asquare_btn {
    display: inline-block;
    padding: 0.3em 1em;
    text-decoration: none;
    color: #FF9901 !important;
    border: solid 2px #FF9901 !important;
    border-radius: 3px;
    transition: .4s;
	font-weight: bold;
}
#asquare_btn:hover {
    background: #FF9901 !important;
    color: white !important;
	font-weight: bold;
}
#ksquare_btn {
    display: inline-block;
    padding: 0.3em 1em;
    text-decoration: none;
    color: #156aec !important;
    border: solid 2px #156aec !important;
    border-radius: 3px;
    transition: .4s;
	font-weight: bold;
}
#ksquare_btn:hover {
    background: #156aec !important;
    color: white !important;
	font-weight: bold;
}
#gsquare_btn {
    display: inline-block;
    padding: 0.3em 1em;
    text-decoration: none;
    color: #00da00 !important;
    border: solid 2px #00da00 !important;
    border-radius: 3px;
    transition: .4s;
	font-weight: bold;
}
#gsquare_btn:hover {
    background: #00da00 !important;
    color: white !important;
	font-weight: bold;
}
#blacksquare_btn {
    display: inline-block;
    padding: 0.3em 1em;
    text-decoration: none;
    color: #313131 !important;
    border: solid 2px #313131 !important;
    border-radius: 3px;
    transition: .4s;
	font-weight: bold;
}
#blacksquare_btn:hover {
    background: #313131 !important;
    color: white !important;
	font-weight: bold;
}
#greensquare_btn {
    display: inline-block;
    padding: 0.3em 1em;
    text-decoration: none;
    color: #378123 !important;
    border: solid 2px #378123 !important;
    border-radius: 3px;
    transition: .4s;
	font-weight: bold;
}
#greensquare_btn:hover {
    background: #378123 !important;
    color: white !important;
	font-weight: bold;
}
/*非表示全体*/
.kakushi_box {
    margin: 2em 0;/*前後の余白*/
    padding: 0;
}
/*非表示ボタン装飾*/
.kakushi_box label {
    display: inline-block;
    padding: 0.3em 1em;
    text-decoration: none;
    color: #b5b5b5 !important;
    border: solid 2px #b5b5b5 !important;
    border-radius: 3px;
    transition: .4s;
	font-weight: bold;
    cursor :pointer;
}
/*非表示ボタンホバー時*/
.kakushi_box label:hover {
    background: #b5b5b5 !important;
    color: white !important;
	font-weight: bold;
}
/*非表示チェックは見えなくする*/
.kakushi_box input {
    display: none;
}
/*非表示中身を非表示にしておく*/
.kakushi_box .kakushi_show {
    height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.8s;
}
/*非表示クリックで中身表示*/
.kakushi_box input:checked ~ .kakushi_show {
    padding: 10px 0;
    height: auto;
    opacity: 1;
}

/*引用っぽいボックス*/
.box1 {
    background-color: #f0f0f0;
	font-size: 80%;
    margin: 2em 0;
    padding: 1.5em 2em 1.5em 2em;
}


/* ブログカード続きを読む追加 */
#main .internal-blogcard-title:before {
	content: "関連記事";/*関連記事を入れる枠を挿入*/
	background: #70b574;/*関連記事の背景色*/
	border-radius: 3px;/*関連記事の枠の角を取る*/
	color: #fff;
	font-size: .7em;
	padding: .08em .4em;
	margin-right: .1em;
}
.internal-blogcard::after{
	content: '記事を読む \00bb'; /* 内部リンク右下枠の文言 */
	position: absolute;
	bottom: .5rem;
	right: 1rem;
	font-size: 70%;
	background-color: #c0c0c0; /* 内部リンク右下枠の背景色 */
	padding: .4em 1.5em;
	font-weight: bold;
	color: #fff; /* 内部リンク右下枠の文字色 */
	border-radius: 3px;
}
/* ブログカード本文抜粋無し */
.blogcard-snippet {
 display: none;
}

/*非表示用カスタマイズ（グレー）*/
.acc_gray{
	text-align: center;
	cursor: pointer; /* カーソルを指マークに */
	transition: 0.2s; /* 変化を滑らかに */
	color: #fff;
	font-weight: bold;
	background-color: #c0c0c0;
    border-radius: 5px;
	width: 75%;
	margin: 20px auto 15px auto;
    padding: 7px 10px;
}
/*非表示用カスタマイズ（クチコミ用）*/
.acc_kuchikomi{
	text-align: center;
	cursor: pointer; /* カーソルを指マークに */
	transition: 0.2s; /* 変化を滑らかに */
	color: #b5b5b5;
	font-weight: bold;
	background-color: #ffffff;
	border: solid 2px #b5b5b5;
    border-radius: 3px;
	margin: 15px auto 15px 0px;
    padding: 0.3em 1em;
	width: 33%;
	transition: 0.2s; /* 変化を滑らかに */
}
.acc_kuchikomibichosei{
	margin-top: 15px;
}

/*白抜きボックス（グレー）*/
.boldBox{
  border: 3px solid #949495;
  padding: 1.5em 1em 0em 1em;
  margin: 1em 2% 1.8em 2%;
}

/* リンク画像ホバー時に半透明 */
 a:hover img {
  opacity: 0.7;
  filter: alpha(opacity=70);
  -ms-filter: "alpha(opacity=70)";
}

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

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

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