@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 !important;
    text-decoration: none;
}

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

/* 3. メインコンテンツ：グリッドの美学 */
.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 img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    filter: grayscale(20%);
}

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

/* 4. サイドバー強制排除（念のため） */
#sidebar {
    display: none !important;
}

#content {
    width: 100% !important;
    float: none !important;
    margin: 0 auto !important;
}

/* 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 {
    background: #f0f0f0 !important;
    color: #bbb !important;
}


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

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

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