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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/* 投稿者名を非表示 */
.post-author,
.author-info {
  display: none !important;
}

/* Pocketボタンを非表示（サービス終了済み） */
.pocket-button {
  display: none !important;
}

/* 記事詳細ページ上部のSNSシェアボタンを非表示 */
.article-header .sns-share {
  display: none !important;
}

/* コメントフォーム: メール欄・サイト欄・cookie保存チェックボックスを非表示 */
.comment-form-email,
.comment-form-url,
.comment-form-cookies-consent {
  display: none !important;
}

/* PCでシェアボタンを小さく */
.sns-share-buttons a {
  font-size: 14px;
}
.sns-share-buttons a .button-caption {
  font-size: 12px;
  margin-left: 6px;
}
.sns-share-buttons a .social-icon {
  font-size: 14px;
}

/* サイドバーカテゴリ階層表示 */
li.cat-header {
  list-style: none;
}
.cat-header-label {
  display: block;
  background: #f5f5f5;
  padding: 6px 10px;
  font-weight: bold;
  cursor: default;
}
ul.children {
  margin-top: 0;
  padding-left: 0;
  list-style: none;
  background: #fff;
}
ul.children li {
  position: relative;
  padding-left: 1.2em;
  font-weight: normal;
  white-space: nowrap;
}
ul.children li a {
  display: inline;
  font-weight: normal;
  font-size: inherit;
}
ul.children li::before {
  content: "└";
  position: absolute;
  left: 0;
  color: #aaa;
}

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

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

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