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

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

/* WP ULikeボタンを大きく表示 */
.custom-like-area {
  text-align: center;     /* 中央寄せ */
  margin: 2em 0 1em;      /* コメント欄との間に余白 */
}

.custom-like-area .wp_ulike_btn {
  width: 64px;            /* 表示サイズを拡大 */
  height: 64px;
  background-size: contain !important;
  background-repeat: no-repeat;
  background-position: center;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.custom-like-area .wp_ulike_btn.liked {
  transform: scale(1.2);  /* 押したときに少し大きくなる */
}


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

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

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


/* メタ行の末尾に来る「いいね」ブロック */
.entry-card .card-like {
  margin-left: .5em;
  display: inline-flex;
  align-items: center;
}

/* ボタンのベース（サイズ小さすぎる時はここで）
   ※ Font Awesomeアイコンのスキン使用時 */
.entry-card .card-like .wp_ulike_btn {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
}

/* 指/ハートのアイコン自体を拡大（スキンがFAアイコンの場合） */
.entry-card .card-like .wp_ulike_btn i {
  font-size: 22px;
  line-height: 1;
}

/* カウント数字の余白・サイズ */
.entry-card .card-like .count-box {
  margin-left: 6px;
  font-size: .95em;
}

/* 3列で崩れないよう、行高を詰めすぎない */
.entry-card .entry-card-meta {
  line-height: 1.6;
}

/* ふわっと追加のアニメでhoverが強い場合でもボタン位置が動かないように */
.entry-card:hover .card-like { transform: none !important; }
