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

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

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


.cat-label {

  top: 0.5em; /*上からの距離*/

  left: 0.5em; /*左からの距離*/

  border: none; /*ボーダーを消す*/

  font-size: 12px; /*文字サイズ*/

  color: #fff; /*文字色*/

  background-color: #49add1; /*背景色*/

  padding: 1px 10px; /*余白*/

  border-radius: 14px; /*角を丸く*/

}



/*834px以下*/

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

 /*必要ならばここにコードを書く*/

}



/*480px以下*/

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

 /*必要ならばここにコードを書く*/

}

/* === 景品表示法対応 === */

/* Cocoon設定本文上のPR表記 */

.pr-label-l {

  border-top: 1px dotted #333; /* 上の点線 */

  border-bottom: 1px dotted #333; /* テキスト下の点線 */

  border-left: none;

  border-right: none;

  border-radius: 0;

  font-size: 13px; /* 文字サイズ */

  color: #333; /* 文字の色 */

  text-align: center; /* テキスト中央揃え */

  background: #fff;

  padding: 3px 0;

  margin-bottom: 2em;

}

.go-to-top-button:hover { /* カーソルを合わせると少し拡大する */

 transform: scale(1.1);

}



.entry-card-thumb {

  transition-duration: 0.3s; /*アニメーションの時間*/

  box-shadow: 0px 4px 15px -5px rgba(85,85,85,0.75); /*通常時の画像の影*/

}

.entry-card-thumb:hover {

  transform: translateY(-6px); /*マウスホバーで上に移動*/

  box-shadow: 0px 8px 18px -5px rgba(85,85,85,0.75); /*マウスホバー時の画像の影*/

}

.entry-card-thumb img { /*画像下の隙間を消す*/

  vertical-align: bottom;

}

.a-wrap:hover { /*マウスホバー時の全体の背景色を消す*/

  background: none;

}



.entry-card-title {

  margin-top: 10px; /*上に余白を付ける*/

  line-height: 1.5; /*行間を広く*/

}

.entry-card-title:hover {

  color: #49add1; /*マウスホバー時の色*/

}

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

  .entry-card-title {

    font-size: 14px; /*スマホでの文字の大きさ*/

    line-height: 1.4; /*スマホでの行間*/

  }

}



.cat-label {

  top: 0.5em; /*上からの距離*/

  left: 0.5em; /*左からの距離*/

  border: none; /*ボーダーを消す*/

  font-size: 12px; /*文字サイズ*/

  color: #fff; /*文字色*/

  background-color: #aaa3a6; /*背景色*/

  padding: 1px 10px; /*余白*/

  border-radius: 14px; /*角を丸く*/

}



/************************************

** ボトムシェアボタン

************************************/

@media screen and (min-width: 481px) {

 .sns-share,

 .sns-follow {

  width: 70%;

  margin-right: auto;

  margin-left: auto;

 }

}



.sns-share-buttons {

 justify-content: space-evenly;

}



.sns-share-buttons a {

 width: 50px !important;

 height: 50px;

 font-size: 1.25em;

 border-radius: 50%;

 opacity: 0.6;

}



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

 .ss-bottom .sns-share-buttons a {

  font-size: 1.3em;

 }

}



.sns-share-buttons a .button-caption {

 display: none !important;

}



.sns-share-message::before,

.sns-follow-message::before {

 position: absolute;

 bottom: -5px;

 left: 50%;

 display: inline-block;

 width: 30px;

 height: 2px;

 content: "";

 background-color: #c0c0c0;

 border-radius: 3px;

 transform: translateX(-50%);

}



/************************************

** ボトムフォローボタン

************************************/

.sns-follow-buttons {

 justify-content: space-evenly;

}



.sns-follow-buttons a {

 width: 50px;

 height: 50px;

 font-size: 1.7em;

 border-radius: 50%;

 opacity: 0.6;

}



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

 .ss-bottom .sns-follow-buttons a {

  font-size: 1.3em;

 }

}



/************************************

****　サイドバー

************************************/

#sidebar>.widget{

border-radius:10px;

}

.sidebar {

padding-left:15px;



}

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

.sidebar {

padding: 0%;

padding-right: 1.5%;

}

}

.widget_search{

padding:0;

}

span.fas.fa-search::before{

color:#8b968d;/*検索マーク色変更はこちら*/

}

.sidebar h3{

color:#7b7b7b;

border-radius: 0%;

border-bottom:3px dotted;

border-color:#9fc7aa;/*タイトル下のライン色変更はこちら*/

padding-bottom:0.3em;

margin-top:-0.5em;

margin-bottom:1em;

}

.widget_recent_entries ul li a, .widget_categories ul li a, .widget_archive ul li a, .widget_pages ul li a, .widget_meta ul li a, .widget_rss ul li a, .widget_nav_menu ul li a {

background-color:#f7f7f7;

margin: 6px 0;

padding: 4px 10px;

border-radius:20px;

transition: 0.4s

}

.widget_recent_entries ul li a:hover, .widget_categories ul li a:hover, .widget_archive ul li a:hover, .widget_pages ul li a:hover, .widget_meta ul li a:hover, .widget_rss ul li a:hover, .widget_nav_menu ul li a:hover{

background-color:#8b968d;/*マウスオーバー時の背景色変更はこちら*/

color:#fff!important;

}

.tagcloud a{

background-color:#f7f7f7;

}

.tagcloud a:hover{

background-color:#8b968d;/*マウスオーバー時の背景色変更はこちら*/

color:#fff!important;

transition: 0.4s ;

}

.nwa .recommended.rcs-card-margin a {

margin: 0 0 1em;

width: 90%;

}

.widget-entry-cards .widget-entry-card-content{

color: #565656;

}



/************************************

****　本文記事見出し H2 H3 H4 H5

************************************/

.article h2 {



 background-color: #dad9d6;











/************************************

****　記事本文　ブログカード

************************************/

.blogcard {

padding-bottom:.8%;

border: 0px solid whitesmoke;

border-radius:4px;

box-shadow: 0 1px 3px 0 rgb(0 0 0 / 30%);

}

a.blogcard-wrap.internal-blogcard-wrap.a-wrap.cf,

a.blogcard-wrap.external-blogcard-wrap.a-wrap.cf{

transition: all 200ms;

}

a.blogcard-wrap.internal-blogcard-wrap.a-wrap.cf:hover,

a.blogcard-wrap.external-blogcard-wrap.a-wrap.cf:hover{

background-color: #fafafa;

box-shadow:none;

transform: none;

}

.blogcard-footer {

padding-top: 2%;

}

.blogcard:before {

display:none;

}

.internal-blogcard::after,

.external-blogcard::after{

content: "続きを読む ≫"; 

position: absolute;

bottom: 0.7em;

right: 1em;

font-size: 0.7em;

background-color: #8b968d;/*続きを読むの背景色変更はこちら*/

padding: .4em 3em;

font-weight: bold;

color: #fff;

border-radius: 2px;

}

.blogcard-content{

max-height: none;

}

.blogcard-date{

display:none;

}

.blogcard-title {

font-size:1em;

padding:.2em .2em 0;

line-height:1.4em;

text-align: justify;

}

.blogcard-snippet {

padding:0em .5em;

color:#7b7b7b;

text-align: justify;

}

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

.blogcard-title {

padding:.3em .3em 0em .2em;

line-height:1.5em;

}

.blogcard-snippet {

font-size:.9em;

margin-top:.3em;

}

}

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

.blogcard-title {

padding:.3em .3em .2em .2em;

line-height:1.5em;

}

.blogcard-snippet{

font-size:.8em;

max-height:15em;

}

}

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

.blogcard-title {

font-size:1.1em;

padding:.2em .3em .5em .2em;

}

.blogcard-snippet {

font-size:.9em;

}

}

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

.blogcard-title {

padding:.3em;

}

}

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

.blogcard-title {

padding:.3em .5em 1em .2em;

line-height:1.8em;

}

.blogcard-snippet {

display:none;

}

}

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

.blogcard {

padding-bottom: 2%;

}

.blogcard-title {

padding:.1em .4em 0em .1em;

line-height:1.5em;

}

.blogcard-footer {

padding-top: 5%;

}

}

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

.blogcard-domain{

max-width: 11em;

white-space: nowrap;

overflow: hidden;

text-overflow: ellipsis;

}}

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

.blogcard-domain{

max-width: 9em;

}}



/************************************

****　SNSシェアボタン

************************************/

.sns-share{

margin: 0 0 24px ;

}

.sns-share-message:before, .sns-follow-message:before, span.related-entry-main-heading.main-caption:before, .comment-title:before {

letter-spacing:.3em;

border-radius:20px;

border: 0;

padding: 0;

background-color:#3f5569;/*SHARE 背景色の変更はこちら*/

color:#fff;

display: inline-block;

width: 40%;

}

.sns-share-message, .sns-follow-message, span.related-entry-main-heading.main-caption, .comment-title {

margin:20px 0 10px 0;

}

.sns-share.ss-high-and-low-lc a .button-caption.button-caption{

display:none;

}

.sns-share-buttons {

padding-right:10%;

padding-left:10%;

}

.sns-share-buttons a {

transition:0.5s;

}

.sns-share.ss-top.ss-col-6 a, .sns-share.ss-bottom.ss-col-6 a {/*設定したカラム数に応じて数字を変更してください(例：カラム6列→6)*/

width: 13%;

}

.sns-share.ss-high-and-low-lc a .social-icon{

font-size: 25px;

}

@media (max-width:480px){

.sns-share-message:before, .sns-follow-message:before, span.related-entry-main-heading.main-caption:before, .comment-title:before {

width: 55%;

}

.sns-share-buttons {

padding-right:5%;

padding-left:5%;

}

.sns-share.ss-top.ss-col-6 a, .sns-share.ss-bottom.ss-col-6 a {/*設定したカラム数に応じて数字を変更してください(例：カラム6列→6)*/

width: 15%;

}

.sns-share.ss-high-and-low-lc a .social-icon{

font-size: 20px;

}

}



/* サイドバーを少し細くする */

@media screen and (min-width: 1024px) {

  .sidebar {

    width: 360px !important;

  }

}



/* サイドバーのピンクの見出しを細くする */

.sidebar .widget-title {

  padding: 5px 10px !important;

  font-size: 14px !important;

  line-height: 1.3 !important;

  min-height: 0 !important;

}



/* カテゴリーの文字サイズと行間を調整する */

#sidebar .widget_categories li {

  padding-top: 2px !important;

  padding-bottom: 2px !important;

  margin: 0 !important;

}



#sidebar .widget_categories li a {

  font-size: 14px !important;

  line-height: 1.4 !important;

}







/* プロフィールの自己紹介文を小さくする */

.sidebar .author-description {

  font-size: 14px !important;

  line-height: 1.5 !important;

}



/* サイト内検索の文字を小さくする */

#sidebar .search-box input,

#sidebar .search-edit {

  font-size: 14px !important;

}



/* サイドバープロフィール画像に縁をつける */

.sidebar.nwa .author-box .author-thumb img {

  border: 3px solid #fff;

  box-shadow: 0 2px 5px 0 rgba(0,0,0,.2); /* 追加行 */

}



.sidebar.nwa .author-box{

padding: 20px 0 0 0;

}

.sidebar.nwa .author-box .author-content{

padding: 1em 0 0 0;

}

.sidebar.nwa .author-box .author-description{

padding: 0 1.5em;

}

.sidebar.nwa .author-box .author-follows{

display: block;

width: 100%;

padding: 15px 0;

background-color: #9fc7aa;

border-radius: 0 0 3px 3px;

}



.sidebar.nwa .author-box .author-follows::before{

content: '＼ Follow me ／';

font-size: 1rem;

color: #fff;

display: block;

margin-bottom: 5px;

}

#sidebar .widget_author_box .author-box .follow-button{

display: block;

width: 34px;

height: 32px;

color: #fff;

margin: 0 4px; 

padding: 8px;

border-radius: 2px;

background: rgba(255, 255, 255, 0.18);

}



.sidebar [class^=icon-], .sidebar [class*=" icon-"]{

font-size: 1.1em;

  display: block;

}


	
