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

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

/* タイトル 先頭に移動し文字サイズ小 */
.article-header h1 {
    position: static;
	font-size: 1.0em;
	margin-left: 18px;
	border-bottom: 5px solid #EFF1F5;
}

/* SNSシェアメッセージ */
.sns-share-message, .sns-follow-message {
	margin-bottom: 10px;
}

/* SNSシェアボタン */
.sns-share.ss-col-3 a {
	width: 20%;
}

/* SNSシェアボタン メッセージ */
.sns-share-message:before {
    content: none;
	content: "＼＼この記事をシェアする／／";
}

/* SNSフォローボタン メッセージ */
.sns-follow-message:before  {
    content: none;
	content: "＼＼はらほをフォローする／／";
}

/* 更新日 最下層に移動 */
.date-tags {
	margin-top: 1.0em;
	position: static;
}

/* H2デザイン */
.article h2 {
	border-top: 3px solid #EFF1F5;
	border-bottom: 3px solid #EFF1F5;
	padding: 15px 25px 15px 25px;
}

h2.wp-block-heading:before{
    content: none;
}

/* H3デザイン */
.article h3 {
    border-left: 5px solid #EFF1F5;
}

h3.wp-block-heading:before{
    content: none;
}

/* H4デザイン */
.article h4 {
	border-bottom: 3px solid #EFF1F5;
}

/* H5デザイン */
.article h5 {
	border-bottom: 1px solid #EFF1F5;
}

/* アイキャッチ ぼやけ対策 */
.eye-catch img {
  height: auto !important;
  -webkit-filter: none;
  filter: none;
  opacity: 1;
  transform: none;
  width: auto;
}

/*--------------------------------------------------
  アフィリリンク　ボタン化
---------------------------------------------------*/
/** デフォルト **/
.af_button_default>a{
	margin: .5em .10em .5em 0;
	text-decoration: none;
	display: inline-block;
	padding: .7em 2em;
	border-radius: 3px;
	box-shadow: 0 4px 4px rgba(0,0,0,.2), 0 2px 3px -2px rgba(0,0,0,.15);
	background-color: #3cb371;/*背景の色*/
	color: #FFFFFF;/*文字の色*/
	font-weight: bold;/*文字の太さ*/
	width: 100%;
}
.af_button_default>a:hover{
	text-decoration: none;
	box-shadow: 0 13px 20px -3px rgba(0,0,0,.24);
	-webkit-tap-highlight-color: transparent;
}
.af_button_default{
	text-align:center;
}

/** amazon **/
.af_button_amazon>a{
	margin: .5em .10em .5em 0;
	text-decoration: none;
	display: inline-block;
	padding: .7em 2em;
	border-radius: 3px;
	box-shadow: 0 4px 4px rgba(0,0,0,.2), 0 2px 3px -2px rgba(0,0,0,.15);
	background-color: #FF9901;/*背景の色*/
	color: #FFFFFF;/*文字の色*/
	font-weight: bold;/*文字の太さ*/
	width: 100%;
}
.af_button_amazon>a:hover{
	text-decoration: none;
	box-shadow: 0 13px 20px -3px rgba(0,0,0,.24);
	-webkit-tap-highlight-color: transparent;
}
.af_button_amazon{
	text-align:center;
}

/** 楽天 **/
.af_button_rakuten>a{
	margin: .5em .10em .5em 0;
	text-decoration: none;
	display: inline-block;
	padding: .7em 2em;
	border-radius: 3px;
	box-shadow: 0 4px 4px rgba(0,0,0,.2), 0 2px 3px -2px rgba(0,0,0,.15);
	background-color: #C20004;/*背景の色*/
	color: #FFFFFF;/*文字の色*/
	font-weight: bold;/*文字の太さ*/
	width: 100%;
}
.af_button_rakuten>a:hover{
	text-decoration: none;
	box-shadow: 0 13px 20px -3px rgba(0,0,0,.24);
	-webkit-tap-highlight-color: transparent;
}
.af_button_rakuten{
	text-align:center;
}

/** Yahoo!ショッピング **/
.af_button_yahoo>a{
	margin: .5em .10em .5em 0;
	text-decoration: none;
	display: inline-block;
	padding: .7em 2em;
	border-radius: 3px;
	box-shadow: 0 4px 4px rgba(0,0,0,.2), 0 2px 3px -2px rgba(0,0,0,.15);
	background-color: #FF0033;/*背景の色*/
	color: #FFFFFF;/*文字の色*/
	font-weight: bold;/*文字の太さ*/
	width: 100%;
}
.af_button_yahoo>a:hover{
	text-decoration: none;
	box-shadow: 0 13px 20px -3px rgba(0,0,0,.24);
	-webkit-tap-highlight-color: transparent;
}
.af_button_yahoo{
	text-align:center;
}

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

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

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