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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/* --- プレミアム・CAFICTスタイル：劇的ビフォーアフター --- */

/* 1. 全体の雰囲気作り：余白とフォント */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;500&display=swap');

body {
    background-color: #fafafa; /* わずかにグレーを混ぜた高級感のある白 */
    font-family: 'Noto Serif JP', serif;
    line-height: 2.2;
    color: #222;
    -webkit-font-smoothing: antialiased;
}

/* 2. ヘッダー：雑誌の表紙のような潔さ */
#header {
    background-color: #ffffff;
    padding: 80px 0 60px;
    border-bottom: none;
    text-align: center;
}

#site-title a {
    font-size: 2.8rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    color: #111;
    text-decoration: none;
}

#site-description {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    color: #888;
    margin-top: 15px;
}

/* 3. メインコンテンツ：グリッドの美学 */
/* ※Cocoon設定で「タイル型」を選択している前提ですわ */
.main {
    padding: 60px 0;
}

.entry-card-wrap {
    background: transparent !important;
    border: none !important;
    margin-bottom: 60px !important;
    transition: transform 0.4s ease;
}

.entry-card-wrap:hover {
    transform: translateY(-5px);
}

.entry-card-thumb {
    border-radius: 0; /* 角は丸めずシャープに */
    overflow: hidden;
    background-color: #eee; /* 画像がない時のベースカラー */
}

.entry-card-thumb img {
    aspect-ratio: 16 / 10; /* 少し横長の洗練された比率 */
    object-fit: cover;
    filter: grayscale(20%); /* わずかに色を抜き、統一感を出す */
}

.entry-card-content {
    padding: 20px 0 0 !important;
}

.entry-card-title {
    font-size: 1.2rem !important;
    font-weight: 500;
    line-height: 1.6;
    height: auto !important;
    text-align: center;
}

/* 4. サイドバー：CAFICTは「なし」か「極めてシンプル」 */
/* 1カラムにする場合はCocoon設定で行いますが、CSSでも補強しますわ */
#sidebar {
    padding-top: 60px;
}

.widget-title {
    font-size: 1rem;
    letter-spacing: 0.1em;
    border-bottom: 1px solid #111;
    padding-bottom: 10px;
    margin-bottom: 30px;
    text-align: center;
}

/* 5. 記事本文：没入感の追求 */
.entry-content h2 {
    font-size: 1.8rem;
    border: none;
    text-align: center;
    margin: 100px 0 60px;
    position: relative;
}

.entry-content h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background-color: #111;
}

/* 6. 「NO IMAGE」をお洒落に見せる（あえてですわ！） */
.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    background: #f9f9f9;
}


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

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

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