@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Template:   cocoon-master
Version:    0.0.4
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/* H2タグの変更 */
.article h2 {
border-left:8px solid #00a3a7;
  margin: 40px -10px 20px;
  padding:10px 21px 3px 10px;
  font-size:26px;
border-bottom: 1px solid #00a3a7;
}
	/* H3、H4タグの変更 */
.article h3{
font-size:23px;
padding:8px 0 5px 5px;
border-top: 1px solid #00a3a7;
border-bottom: 1px solid #00a3a7;
border-left: 5px solid #00a3a7;
border-right: 1px solid #00a3a7;
}

.article  h4{
padding:7.5px 0 5px 0;
border-top: 2px dotted #00a3a7;
border-bottom: 2px dotted #00a3a7;
}
/*ヘッダーブログタイトル文字上からの余白*/
.site-title{
margin-top:40px;
margin-bottom:15px;
}

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

}

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

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

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
/* H2タグの変更 */
.article h2 {
border-left:8px solid #00a3a7;
  margin: 40px -10px 20px;
  padding:7px 21px 3px 10px;
  font-size:26px;
border-bottom: 1px solid #00a3a7;
}
	/* H3、H4タグの変更 */
.article h3{
font-size:23px;
padding:5px 0 5px 5px;
border-top: 1px solid #00a3a7;
border-bottom: 1px solid #00a3a7;
border-left: 5px solid #00a3a7;
border-right: 1px solid #00a3a7;
}

.article  h4{
padding:5px 0 5px 0;
border-top: 2px dotted #00a3a7;
border-bottom: 2px dotted #00a3a7;
}
}
/*-----目次中央-----*/
.toc {
margin: 1.5em auto; /* 数値で調整 */
background-color: rgba(221,221,221, 0.1); /* 0.1~0.9で調整 */
font-size: 0.9em; /* 必要なければ削除 */
}
/* cocoon子テーマ用のスタイルを書く */

/* エントリーカードの間に点線 */
#main .entry-card-wrap {
    border-bottom: 2px dotted #00a3a7;
    padding-bottom: 15px;
}

/* 「記事を読む」ボタンを右へ移動 */
.entry-read {
  text-align: right;
  margin-right: 10px;
}
.comment-form-email{ display:none; }
/* 「記事を読む」ボタンの装飾 */
.entry-read a{
 color:#fff;
 font-size:12px;
 background-color:#00a3a7;
 border:1px solid #00a3a7;
 border-radius:2px;
 padding:0px 2px 0px 2px;
 text-decoration:none;
 }

.entry-read a:hover{
 color:#fff;
 background-color:#ff8400;
 border:1px solid #ff8400;
}
/*グローバルメニュー */
.navi-in>ul li {
    height: 35px;
    line-height: 35px;
}
/* --------------------------- *
*  スライドインのカスタマイズ *
* --------------------------- */
/* 背景色を変更：背景画像にするなら不要 */
.mobile-menu-buttons {
background: #00a3a7;
}
/* スライドイン背景色（モバイル）を半透明 */
.mobile-menu-buttons {
background: rgba(0,163,167,0.9); /* RGBA形式 */
}
/*グローバルメニューの均等幅の解除*/
#navi .navi-in > ul > li {
width: auto;
}
/*メニューの右に余白を入れる*/
.navi-in a {
    padding-right: 50px;
}
/*目次の線の色*/
.toc {
    border: 1px solid #00a3a7;
}
/* 枠線の色を変更 */
.blogcard {
    padding: 1rem;
    color: #666;
    position: relative;
    border-color: #ff8400 !important; 
	}
/* ------------ *
*カエレバ装飾*
* ------------ */
/* ボックスの色と線を変更 */
.booklink-box, .kaerebalink-box, .tomarebalink-box {
    padding: 22px 25px 0px 25px;
    width: 94%;
    margin: 0 auto 0px;
    border:double #d2d7e6;
    box-sizing: border-box;
	border-radius:2px;
	}
/* リンクボックスの線と文字を変更 */
.booklink-link2 a, .kaerebalink-link1 a, .tomarebalink-link1 a {
    font-size: 12px;
	}
.kaerebalink-link1 .shoplinkamazon a {/*AmazonボタンのみCSSセレクタ優先度上げる*/
    color: #ff9901;/*文字色*/
	background-color: #ffffff;/*背景色*/
	border-radius:6px;/*ボタンの角の丸み*/
    border: 1px solid #dcdcdc;/*枠線の太さ・色*/
	}
.kaerebalink-link1 .shoplinkrakuten a {/*楽天ボタンのみCSSセレクタ優先度上げる*/
    color: #bf0000;/*文字色*/
	background-color: #ffffff;/*背景色*/
	border-radius:6px;/*ボタンの角の丸み*/
    border: 1px solid #dcdcdc;/*枠線の太さ・色*/
}
.kaerebalink-link1 .shoplinkyahoo a {/*yahooボタンのみCSSセレクタ優先度上げる*/
    color: #7b0099;/*文字色*/
	background-color: #ffffff;/*背景色*/
	border-radius:6px;/*ボタンの角の丸み*/
    border: 1px solid #dcdcdc;/*枠線の太さ・色*/
   }
/* --------------- *
*ブログカードの装飾*
* --------------- */
.blogcard {
    padding: 1rem;
    color: #666;
    position: relative;
    border-color: #00a3a7 !important; /* ブログカードの枠線の色を変更 */
}

a.blogcard-wrap:hover{
    background-color: transparent!important;
    opacity: 0.8;
}

a.blogcard-wrap:hover img.blogcard-thumb-image{
    transform: scale(1.1);
    transition: .3s;
}

.blogcard-thumbnail {
    line-height: 0;
    margin-right: 1rem;
    overflow: hidden;
}

.blogcard-title{
    margin-bottom: .5rem;
}

.blogcard-snipet{
    font-size: 70%;
    line-height: 1.7;
    padding-right: 10%;
}

@media screen and (max-width: 480px){
    .blogcard-thumbnail{
        width: 40%;
    }
    .blogcard-snipet{
        display: none;
    }
}
.blogcard {
    padding: 1rem;
    color: #666;
    position: relative;
    border-color: #00a3a7 !important; /* ブログカードの枠線の色を変更 */
}

a.blogcard-wrap:hover{
    background-color: transparent!important;
    opacity: 0.8;
}

a.blogcard-wrap:hover img.blogcard-thumb-image{
    transform: scale(1.1);
    transition: .3s;
}

.blogcard-thumbnail {
    line-height: 0;
    margin-right: 1rem;
    overflow: hidden;
}

.blogcard-title{
    margin-bottom: .5rem;
}

.blogcard-snipet{
    font-size: 70%;
    line-height: 1.7;
    padding-right: 10%;
}

@media screen and (max-width: 480px){
    .blogcard-thumbnail{
        width: 40%;
    }
    .blogcard-snipet{
        display: none;
    }
}
/* 内部ブログカードのpost-dateを非表示 */
.internal-blogcard-post-date{
    display: none;
}
.internal-blogcard::after{
    content: '続きを読む \00bb'; /* 内部リンク右下枠の文言 */
    position: absolute;
    bottom: .5rem;
    right: 1rem;
    font-size: 70%;
    background-color: #00a3a7; /* 内部リンク右下枠の背景色 */
    padding: .4em 3em;
    font-weight: bold;
    color: #fff; /* 内部リンク右下枠の文字色 */
    border-radius: 2px;
}
.internal-blogcard::after{
    content: '続きを読む \00bb'; /* 内部リンク右下枠の文言 */
    position: absolute;
    bottom: .5rem;
    right: 1rem;
    font-size: 70%;
    background-color: #00a3a7; /* 内部リンク右下枠の背景色 */
    padding: .4em 3em;
    font-weight: bold;
    color: #fff; /* 内部リンク右下枠の文字色 */
    border-radius: 2px;
}
/*-----目次中央-----*/
.toc {
margin: 1.5em auto; /* 数値で調整 */
background-color: rgba(221,221,221, 0.1); /* 0.1~0.9で調整 */
font-size: 0.9em; /* 必要なければ削除 */
}
/* サイドバー人気記事位置調整 */
.pop {
width:336.533px;
height:550;
margin-left:0px !important;  /* 人気記事左の余白を無くす */
padding-left:0px !important; /* 人気記事左の余白を無くす */
margin-bottom: 20px !important;
line-height: 1.3;
}
.pop li{
border-top: 1px dotted #CCC;  /* 各記事の上に点線 */
list-style-type:none;  /* リストマークを無くす */
list-style-image:none; /* リストマークを無くす */
font-size: .8em;/* 文字サイズ */
color: #333; /* 文字色 */
clear: both;  /* 画像の左寄せを解除 */
margin-left: 0px !important;  /* 左側の余白を無くす */
padding: 20px 0 20px 0;  /* 改めて余白をちょい足し */
border-bottom: none !important;  /* 記事下の点線を削除 */
}
/* サムネイル */
.pop img{
width:125px;  /* 画像の横幅 */
height:auto; /* 画像の高さ */
margin-right: 10px;  /* 画像とタイトルの隙間 */
padding:0px;  /* とりあえず余白は無くす */
float: left;  /* 画像は左寄せ */
}

