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

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

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

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

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

}

/*全体*/
.hidden_box {
    margin: 2em 0;/*前後の余白*/
    padding: 0;
}

/*ボタン装飾*/
.hidden_box label {
    padding: 8px;
    font-weight: bold;
    border: solid 3px #3300ff;
    cursor :pointer;
}

/*ボタンホバー時*/
.hidden_box label:hover {
    background: #c1ffff;
}

/*チェックは見えなくする*/
.hidden_box input {
    display: none;
}

/*中身を非表示にしておく*/
.hidden_box .hidden_show {
    height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.8s;
}

/*クリックで中身表示*/
.hidden_box input:checked ~ .hidden_show {
    padding: 10px 0;
    height: auto;
    opacity: 1;
}

/*引用 */
blockquote {
    position: relative;
    padding: 7px 16px;
    box-sizing: border-box;
    font-style: italic;
    color: #7f7f7f;
    border: none;
}

blockquote:before{
    display: inline-block;
    position: relative;
    top: -20px;
    left: -20px;
    width: 0px;
    height: 0px;
    line-height: 70px;
    border-radius: 50%;
    text-align: center;
    content: "\f10d";
    font-family: FontAwesome;
    background: #191919;
    color: #cfcfcf;
    font-size: 22px;
    font-weight: 900;
}

blockquote:after{
    display: none;
}

blockquote p {
    padding: 0;
    margin: 10px 0;
    line-height: 1.7;
}

blockquote cite {
    display: block;
    text-align: right;
    color: #888888;
    font-size: 0.9em;
}

/*横２列メニュー*/
.col2_menu_title {
padding: 10px;
font-size: 18px;
background: #ebebeb; /*タイトル背景色*/
}
.col2_menu_title a {
color: #9d9d9d; /*タイトル文字色*/
text-decoration: none;
}
.col2_menu_title a:hover {
color: #fb8a8a; /*タイトルホバー色*/
}
.col2_menu {
text-align: center;
}
.col2_menu li {
list-style:none;
float: left;
width: 50%;
border-bottom: solid 2px #efefef; /*下線・色*/
font-size: 12px;
vertical-align: middle;
background: #fff; /*背景色*/
}
.col2_menu i {
display: block;
font-size: 36px;
}
.col2_menu li a {
display: block;
padding: 7px;
color: #9d9d9d; /*テキスト色*/
text-decoration: none;
}
.col2_menu li a:hover {
background: #ebebeb; /*ホバー時の背景色*/
}

/* クリアフィックス */
.clearfix:after{ /*floatの解消*/
clear: both;
}

/* 人気記事の表示 */
.popularlist {
 display: flex;
 flex-wrap: wrap;
 justify-content: space-between;
}
.popularlist a{
 width: 25%;
 flex-grow: 1;
}
/* モバイル */
@media screen and (max-width: 480px){
/* 人気記事の表示 */
.popularlist {
 display: flex;
 flex-wrap: wrap;
 justify-content: space-between;
}
.popularlist a{
 width: 50%;
 flex-grow: 1;
}
}
/* 最新記事の表示 */
.newlist {
 display: flex;
 flex-wrap: wrap;
 justify-content: space-between;
}
.newlist a{
 width: 50%;
 flex-grow: 1;
}
/* モバイル */
@media screen and (max-width: 480px){
/* 最新記事の表示 */
.newlist {
 display: flex;
 flex-wrap: wrap;
 justify-content: space-between;
}
.newlist a{
 width: 50%;
 flex-grow: 1;
}
}
/*---------------------------------
固定ページの日付を非表示にする
--------------------------------*/
.post-16337 .date-tags {
  display: none;
}
/*---------------------------------
固定ページのタイトルを非表示にする
--------------------------------*/
.post-16337 .entry-title {
    display: none;
}
/* リンクの下線を消す */
a {
    text-decoration: none;
}
 
/* マウスオーバー時にリンクの下線を付ける */
a:hover {
    text-decoration: underline;
}

/* ================================
   返信コメントを強制表示（Cocoon対策）
================================ */

.comment-list .children {
  display: block !important;
  margin-left: 1.5em;
}

.comment-list .children .comment {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  overflow: visible !important;
}