@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){
  /*必要ならばここにコードを書く*/
}

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

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

/* ===== 人気記事カード アイキャッチ ===== */
.article-thumb {
  position: relative;
  width: 100%;
  height: 180px;        /* ← 高さはここで調整 */
  overflow: hidden;
  border-radius: 10px 10px 0 0;
  background: #f4ede3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;    /* 絵文字フォールバックのサイズ */
}

.article-thumb img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== 最新記事カード アイキャッチ ===== */
.latest-thumb {
  width: 110px;
  min-width: 110px;
  height: 110px;
  overflow: hidden;
  border-radius: 8px;
  background: #f4ede3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.latest-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}