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

/*******************************
* post-xx の指定固定ページ記事タイトル非表示
********************************/

#post-12052 
.entry-title {
  display:none;
}

/*******************************
* お知らせ一覧（news_list）のデザイン
********************************/

.news-list {
    max-width: 100%;
    margin: 10px 0;
    border-top: 1px solid #bbb;
}

.news-list-inner {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.news-list-inner li {
    border-bottom: 1px solid #bbb !important;
    padding: 0 !important;
    background: none !important;
}

.news-list-inner li::before {
    content: none !important;
}

.news-list-inner a {
    display: flex;
    align-items: center;
    padding: 8px 5px;
    text-decoration: none !important;
    color: #333 !important;
}

/* 日付 */
.news_date {
    font-size: 12px;
    color: #595959;
    font-weight: 500;
    white-space: nowrap;
    margin-right: 12px; 
    flex-shrink: 0;
}

/* NEWバッジ：右側の余白を 15px → 8px に変更 */
.new-icon {
    background-color: #9A1C30 !important;
    color: #ffffff !important;
    font-size: 9px !important;
    font-weight: bold !important;
    padding: 2px 7px !important;
    border-radius: 2px !important;
    margin-right: 8px !important; 
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 16px;
}

/* タイトル */
.news_title {
    font-size: 13px !important;
    font-weight: normal !important;
    line-height: 1.2 !important;
    color: #333 !important;
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* スマホ表示 */
@media screen and (max-width: 480px) {
    .news-list-inner a {
        padding: 7px 5px;
    }
    .news_date {
        margin-right: 8px;
        font-size: 11px;
    }
    .new-icon {
        margin-right: 8px !important; /* スマホも同様に調整 */
        padding: 1px 6px !important;
    }
}


/* サイト全体のフォントを細身の上品なスタイルに */
body {
    font-family: "Noto Sans JP", "游ゴシック体", YuGothic, "Yu Gothic Medium", "Segoe UI", sans-serif !important;
    -webkit-font-smoothing: antialiased; /* 文字の縁を滑らかにする */
    -moz-osx-font-smoothing: grayscale;
}

/* ニュースリストの文字間隔と細さを最適化 */
.news_date, .news_title {
    font-weight: 300 !important;
    letter-spacing: 0.07em !important; 
    -webkit-font-smoothing: antialiased; /* 文字をよりシャープに見せる */
}

/* バッジの中は文字数が少ないから、字間を少しだけ控えめにする */
.new-icon {
    font-weight: 700 !important;
    letter-spacing: 0.02em !important; 
    padding: 2px 7px 1px 8px !important; /* 左右の余白を微調整 */
}

/*******************************
* 強制的にカテゴリータイトルを非表示にする
********************************/

.archive-title.category-title {
    display: none !important;
}