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


/* === 脱・会社依存ラボ モダン改修CSS === */
/* 適用: 2026-04-18 */

body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  font-feature-settings: "palt";
  letter-spacing: 0.03em;
  color: #2c2c2c;
}
.entry-content p, .article p { line-height: 2.0; margin-bottom: 1.8em; }

.article h1.entry-title, .entry-title {
  font-size: 1.8em; line-height: 1.5; font-weight: 700;
  letter-spacing: 0.02em; margin-bottom: 0.8em;
  padding-bottom: 0.6em; border-bottom: 1px solid #eee;
}

.article h2, .entry-content h2 {
  background: #fafafa;
  background-image: linear-gradient(to right, rgba(248, 181, 0, 0.10), transparent 70%);
  color: #1a1a1a; border: none;
  border-left: 6px solid #F8B500;
  padding: 0.9em 1em; margin: 2.5em 0 1.5em;
  font-size: 1.35em; font-weight: 700;
  letter-spacing: 0.02em; border-radius: 0 6px 6px 0;
}
.article h3, .entry-content h3 {
  background: transparent; color: #1a1a1a; border: none;
  border-left: 4px solid #384D98;
  padding: 0.1em 0.8em; margin: 2em 0 1em;
  font-size: 1.2em; font-weight: 700;
}

.sidebar .widget h3, .sidebar .widget h2,
.sidebar .widget-sidebar h3, .widget-sidebar .widget-title,
.sidebar h3.widget-title, .sidebar .widget_recent_entries h2,
.sidebar .widget_categories h2, .sidebar .widget_archive h2,
.sidebar .widget_recent_comments h2, .sidebar .widget_search h2 {
  background: transparent !important; background-image: none !important;
  color: #1a1a1a !important; border: none !important;
  border-bottom: 2px solid #1a1a1a !important; border-left: none !important;
  padding: 0 0 0.5em !important; margin: 0 0 1em !important;
  font-size: 0.95em !important; font-weight: 700 !important;
  letter-spacing: 0.06em !important; border-radius: 0 !important;
}
.sidebar .widget {
  background: transparent !important; padding: 0 !important;
  margin-bottom: 2.5em !important; border: none !important;
  box-shadow: none !important;
}
.sidebar .widget a { color: #2c2c2c; text-decoration: none; transition: color 0.2s; }
.sidebar .widget a:hover { color: #F8B500; }

.sns-share-buttons a, .sns-share a,
a.twitter-button, a.facebook-button, a.hatebu-button,
a.pocket-button, a.line-button, a.copy-button {
  background-color: #2c2c2c !important; background: #2c2c2c !important;
  border: none !important; color: #fff !important;
  border-radius: 6px !important;
  transition: background-color 0.25s, transform 0.2s !important;
}
.sns-share-buttons a:hover, .sns-share a:hover,
a.twitter-button:hover, a.facebook-button:hover, a.hatebu-button:hover,
a.pocket-button:hover, a.line-button:hover, a.copy-button:hover {
  background-color: #F8B500 !important; background: #F8B500 !important;
  transform: translateY(-2px);
}
.sns-follow-buttons a { border-radius: 6px; transition: transform 0.2s; }
.sns-follow-buttons a:hover { transform: translateY(-2px); }

.article a, .entry-content a {
  color: #384D98; text-decoration: none;
  border-bottom: 1px solid rgba(56, 77, 152, 0.3);
  transition: all 0.2s;
}
.article a:hover, .entry-content a:hover {
  color: #F8B500; border-bottom-color: #F8B500;
}

.toc {
  border: 1px solid #e5e5e5 !important;
  background: #fafafa !important;
  border-radius: 8px !important;
  padding: 1.5em 2em !important;
  margin: 2em auto !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.toc-title {
  font-weight: 700 !important; color: #1a1a1a !important;
  border: none !important; padding-bottom: 0.5em !important;
  margin-bottom: 0.8em !important;
  border-bottom: 2px solid #F8B500 !important;
  display: inline-block;
}
.toc ol, .toc ul { padding-left: 1.2em !important; }
.toc li { margin: 0.4em 0 !important; line-height: 1.6 !important; }
.toc a { color: #333 !important; border: none !important; transition: color 0.2s; }
.toc a:hover { color: #F8B500 !important; }

.entry-content table {
  border-collapse: collapse; border: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  border-radius: 6px; overflow: hidden;
}
.entry-content table th {
  background: #384D98 !important; color: #fff !important;
  font-weight: 600; padding: 0.8em 1em; border: none !important;
}
.entry-content table td {
  padding: 0.8em 1em; border: none !important;
  border-bottom: 1px solid #eee !important; background: #fff;
}
.entry-content table tr:last-child td { border-bottom: none !important; }
.entry-content table tr:nth-child(even) td { background: #fafafa; }

.entry-content ul li { margin-bottom: 0.6em; line-height: 1.9; }

.entry-content strong {
  background: linear-gradient(transparent 60%, rgba(248, 181, 0, 0.35) 60%);
  font-weight: 700; padding: 0 0.08em;
}

.entry-content blockquote, .wp-block-quote {
  border: none !important;
  border-left: 4px solid #384D98 !important;
  background: #f5f7fb !important;
  padding: 1.2em 1.5em !important;
  border-radius: 0 6px 6px 0;
  color: #444; font-style: normal;
}

.wp-block-separator, .entry-content hr {
  border: none !important; height: 1px;
  background: linear-gradient(to right, transparent, #ccc, transparent) !important;
  margin: 2.5em 0 !important;
}

.header-container { box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
#header .site-name-text, .site-name-text-link {
  font-weight: 700; letter-spacing: 0.08em;
}
.tagline { letter-spacing: 0.12em; font-size: 0.85em; opacity: 0.85; }

.footer, .footer-in, .footer-bottom {
  background: #1a2338 !important; color: #ddd !important;
}
.footer a, .footer-bottom a, .copyright a, .credit a {
  color: #ddd !important; text-decoration: none !important;
  border: none !important; transition: color 0.2s;
}
.footer a:hover, .footer-bottom a:hover { color: #F8B500 !important; }
.copyright, .credit { color: #aaa !important; }

.entry-card, .related-entry-card {
  transition: transform 0.25s, box-shadow 0.25s;
  border-radius: 10px; overflow: hidden;
}
.entry-card:hover, .related-entry-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

@media screen and (max-width: 834px) {
  .article h2, .entry-content h2 {
    font-size: 1.15em; padding: 0.7em 0.8em; margin: 2em 0 1.2em;
  }
  .article h3, .entry-content h3 { font-size: 1.05em; }
  .entry-title, .article h1.entry-title { font-size: 1.35em; }
  .entry-content p, .article p { line-height: 1.9; }
}
/* === モダン改修CSS ここまで === */


/* === モダン改修CSS 第2弾（仕上げ） === */

/* フォローボタンもモノクロ化 */
.sns-follow-buttons a,
a.feedly-follow-button,
a.rss-follow-button,
a.twitter-follow-button,
a.facebook-follow-button,
a.instagram-follow-button,
a.youtube-follow-button,
a.hatebu-follow-button,
a.pinterest-follow-button,
a.linkedin-follow-button,
a.amazon-follow-button,
a.home-follow-button {
  background-color: #2c2c2c !important;
  background: #2c2c2c !important;
  border: none !important;
  color: #fff !important;
  border-radius: 6px !important;
  transition: background-color 0.25s, transform 0.2s !important;
}
.sns-follow-buttons a:hover,
a.feedly-follow-button:hover,
a.rss-follow-button:hover,
a.home-follow-button:hover {
  background-color: #F8B500 !important;
  background: #F8B500 !important;
  transform: translateY(-2px);
}

/* カテゴリバッジ（記事メタのUncategorized等）をサブトルに */
.cat-link,
.entry-categories-tags a.cat-link,
.post-meta .cat-link {
  background: transparent !important;
  border: 1px solid #384D98 !important;
  color: #384D98 !important;
  border-radius: 4px !important;
  padding: 0.2em 0.7em !important;
  font-size: 0.82em !important;
  font-weight: 500 !important;
  transition: all 0.2s;
}
.cat-link:hover {
  background: #384D98 !important;
  color: #fff !important;
}

/* コメント欄の「コメントを書き込む」ボタン */
.comment-respond-wrap,
.comment-respond-open-btn,
a.comment-respond-open-btn {
  background: #f8f9fa !important;
  border: 1px solid #e5e5e5 !important;
  color: #333 !important;
  border-radius: 8px !important;
  padding: 1em !important;
  transition: all 0.2s;
}
.comment-respond-open-btn:hover {
  background: #384D98 !important;
  color: #fff !important;
  border-color: #384D98 !important;
}

/* パンくず（ホーム > Uncategorized）を洗練 */
.breadcrumb,
.breadcrumb-list {
  font-size: 0.82em !important;
  color: #888 !important;
  letter-spacing: 0.02em;
}
.breadcrumb a, .breadcrumb-list a {
  color: #888 !important;
  border: none !important;
}
.breadcrumb a:hover { color: #384D98 !important; }

/* 関連記事見出し */
.related-entry-heading,
h2.related-entry-heading,
.related-title,
.related-entry h2 {
  background: transparent !important;
  background-image: none !important;
  border: none !important;
  border-bottom: 2px solid #1a1a1a !important;
  border-left: none !important;
  padding: 0 0 0.5em !important;
  margin-bottom: 1.5em !important;
  font-size: 1.1em !important;
  letter-spacing: 0.04em;
  border-radius: 0 !important;
}
/* コメント見出しも同じく */
.comment-title,
h2.comment-title,
.comments-title {
  background: transparent !important;
  background-image: none !important;
  border: none !important;
  border-bottom: 2px solid #1a1a1a !important;
  border-left: none !important;
  padding: 0 0 0.5em !important;
  margin-bottom: 1.5em !important;
  font-size: 1.1em !important;
  border-radius: 0 !important;
}

/* 著者カード */
.author-box {
  background: #fafafa !important;
  border: 1px solid #eee !important;
  border-radius: 10px !important;
  padding: 1.5em !important;
  box-shadow: none !important;
}

/* トップに戻るボタン */
#go-to-top,
.go-to-top-button {
  background: #2c2c2c !important;
  color: #fff !important;
  border-radius: 50% !important;
  transition: background-color 0.25s, transform 0.2s;
}
#go-to-top:hover, .go-to-top-button:hover {
  background: #F8B500 !important;
  transform: translateY(-3px);
}

/* ヘッダーの群青をもう一段上品に（微グラデ） */
#header-container, .header-in {
  background: linear-gradient(135deg, #384D98 0%, #2a3a7a 100%) !important;
}

/* 日付アイコン */
.post-date, .date {
  color: #888 !important;
  font-size: 0.85em !important;
  letter-spacing: 0.05em;
}

/* スクロールバー（Webkit系のみ） */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f5f5f5; }
::-webkit-scrollbar-thumb { background: #c8c8c8; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #F8B500; }

/* === 第2弾ここまで === */
