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


/* TOPページで、新着記事以外の日付を非表示に */
body.home .post-date:not(.widget-entry-card-post-date),
body.home .post-update:not(.widget-entry-card-update-date) {
  display: none;
}


/* 新着記事の日付（投稿・更新）を小さく、控えめに表示する */
.new-entry-card-date {
  display: block !important;
  font-size: 0.75em;
  color: #888;
  margin-top: 4px;
}

.post-date,
.post-update {
  font-size: 0.75em;
  color: #888;
  display: inline-block;
  margin-right: 6px;
}

.post-date .far,
.post-update .fas {
  font-size: 0.75em;
  margin-right: 2px;
}

.new-entry-card-date {
  margin-bottom: 0 !important;
}

.new-entry-card-title {
    font-size: 13px !important;
}






.wp-block-gallery .wp-block-image img {
  aspect-ratio: 1/1; /* ← ここを 1/1 にすれば正方形になる */
  object-fit: cover;
  height: auto;
}

.wp-block-image img {
  border: none !important;
  box-shadow: none !important;
}



.new-post-header {
  text-align: center;
  margin-top: 0;
  margin-bottom: 0.2em; /* 上下の詰め具合調整 */
}

.new-post-en {
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1.1;
  margin-bottom: 0.1em;
}

.new-post-ja {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.15em;
}

.new-post-line {
  width: 40px;      /* 短い線の長さ */
  border: none;
  border-bottom: 2px solid #333;
  margin: 0 auto;
}



.new-list-box::before {
  content: "";
  display: block;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 0px;       /* 上余白を少なめに */
  margin-bottom: 4px;    /* 下余白を少なめに */
  color: #333;
	border-bottom: 2px solid #ddd; padding-bottom: 4px;
}

/* 各BOXごとにカテゴリ名を指定 */
.new-list-box:nth-of-type(1)::before { content: "快適な暮らし"; }
.new-list-box:nth-of-type(2)::before { content: "時事ひとしずく"; }
.new-list-box:nth-of-type(3)::before { content: "デジタルスキル・ツール活用"; }
.new-list-box:nth-of-type(4)::before { content: "SoraUmiの創作・出版"; }



