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


/* サイドバーの見出しバーを薄めの桜色に */
.sidebar h3 {
  background-color: #f5e3e8;
  color: #8a4258;
}


/* 記事内の見出し(H2)バーも桜色に */
.article h2 {
  background-color: #f5e3e8;
  color: #8a4258;
}


/* 老眼にやさしい記事本文(2026-07-23) */
.article {
  color: #222;
  line-height: 1.9;
}
.article p {
  margin-bottom: 1.8em;
}
.article a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article table {
  font-size: 1em;
}


/* カード類のカテゴリラベルを非表示(アイキャッチ上の帯が邪魔なため) */
.cat-label {
  display: none !important;
}


/* ボタン・カード類のリンクは下線なし(下線は本文中のテキストリンクだけ) */
.article .sns-share a,
.article .sns-follow a,
.article a.related-entry-card-wrap,
.article .pager-post-navi a,
.article .comment-btn a,
.article a.fnd-btn {
  text-decoration: none;
}


/* サイドバー新着記事をカード型に */
.sidebar .wp-block-latest-posts li {
  background: #fff;
  border: 1px solid #e4ddd2;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 14px;
}
.sidebar .wp-block-latest-posts li a {
  text-decoration: none;
  font-size: .95em;
  line-height: 1.5;
  font-weight: 600;
}
.sidebar .wp-block-latest-posts__featured-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 8px;
}
.sidebar .wp-block-latest-posts__post-date {
  font-size: .8em;
  color: #777;
  margin-top: 4px;
}


/* サイト名ロゴを上品な明朝体に */
.header .site-name-text,
.footer .site-name-text {
  font-family: 'Shippori Mincho', serif;
  font-weight: 700;
  letter-spacing: .14em;
}
.header .site-name-text {
  font-size: 2.6em;
  color: #1c3d4a;
}
.header .site-name,
.header .header-in {
  text-align: center;
  width: 100%;
  justify-content: center;
}
.header .site-name {
  display: block;
  margin: 0 auto;
}


/* ロゴを本文カラムの中心に合わせる(PC表示・サイドバー幅の半分だけ左へ) */
@media (min-width: 1024px) {
  .header .site-name {
    position: relative;
    left: -198px;
  }
}


/* サムネイル・アイキャッチ画像に細い黒枠(しまりを出す) */
.eye-catch img,
.entry-card-thumb img,
.related-entry-card-thumb img,
.sidebar .wp-block-latest-posts__featured-image img {
  border: 1px solid #222;
  box-sizing: border-box;
}
