@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
*/

/************************************
** エンタモ ブランドスタイル
************************************/
:root{ --ink:#17151A; --paper:#FBF9F6; --card:#FFFFFF; --buzz:#F5254E; --line:#EAE5DF; --muted:#6B6670; }

body{ background:var(--paper); color:var(--ink); line-height:1.7; -webkit-font-smoothing:antialiased; }
a{ color:var(--ink); }

/* ヘッダー */
#header-container, #header, .header-container-in{ background:var(--paper); }
#header-container{ border-bottom:2px solid var(--ink); box-shadow:none; }
.header-in{ padding:14px 0 10px; }
.site-name-text{ font-weight:900; letter-spacing:-.03em; font-size:32px; color:var(--ink); }
.site-name-text::after{ content:"."; color:var(--buzz); }
.tagline{ color:var(--muted); font-size:12px; font-weight:700; margin-top:2px; }

/* グローバルナビ */
.navi-in{ background:transparent; border-top:1px solid var(--line); }
.navi-in > ul > li > a{ font-weight:700; font-size:14px; padding:12px 14px; height:auto; border-bottom:3px solid transparent; }
.navi-in > ul > li > a:hover{ background:transparent; color:var(--ink); border-bottom-color:var(--buzz); }
.navi-in > ul > li.current-menu-item > a{ border-bottom-color:var(--buzz); }

/* 記事カード */
.entry-card, .related-entry-card{
  background:var(--card); border:1px solid var(--line); border-radius:10px; overflow:hidden;
  transition:transform .14s ease, box-shadow .14s ease;
}
.entry-card:hover, .related-entry-card:hover{ transform:translateY(-3px); box-shadow:0 10px 26px rgba(23,21,26,.09); }
.entry-card-content, .related-entry-card-content{ padding:12px 14px 16px; }
.entry-card-title, .related-entry-card-title{ font-weight:700; font-size:16px; line-height:1.45; color:var(--ink); }
.entry-card-snippet{ color:var(--muted); font-size:13px; }
.entry-card-meta{ color:var(--muted); font-size:11.5px; font-weight:600; }

/* 一覧の先頭記事をリード扱いで大きく */
.list .entry-card-wrap:first-child .entry-card{ border:2px solid var(--ink); }
.list .entry-card-wrap:first-child .entry-card-title{ font-size:21px; font-weight:800; line-height:1.35; }

/* カテゴリラベル */
.cat-label{ border:none; border-radius:3px; font-weight:800; font-size:11px; padding:3px 9px; background:var(--ink); color:#fff; }
.cat-label-2{ background:#0E9F6E; }
.cat-label-3{ background:#F5254E; }
.cat-label-4{ background:#7C3AED; }
.cat-label-5{ background:#2563EB; }
.cat-label-6{ background:#EA580C; }
.cat-label-7{ background:#0891B2; }
.cat-label-8{ background:#17151A; }

/* 記事本文 */
.entry-title, .article h1.entry-title{ font-weight:800; font-size:30px; line-height:1.32; letter-spacing:-.01em; }
.article h2{ background:transparent; border:none; border-left:5px solid var(--buzz); padding:2px 0 2px 12px; margin-top:2.2em; font-weight:800; font-size:22px; line-height:1.4; }
.article h3{ border:none; border-bottom:2px solid var(--line); padding:0 0 6px; font-weight:700; font-size:18px; margin-top:1.8em; }
.article p{ margin-bottom:1.4em; font-size:16px; }
.article a{ color:#B01238; text-decoration:underline; }
.article blockquote{ background:var(--card); border-left:3px solid var(--line); border-radius:0 8px 8px 0; margin-left:0; padding:14px 18px; }
.article blockquote::before, .article blockquote::after{ content:none; }
.article img, .eye-catch{ border-radius:8px; }

/* 目次 */
.toc{ background:var(--card); border:1px solid var(--line); border-radius:10px; padding:16px 18px; }
.toc-title{ font-size:13px; letter-spacing:.08em; color:var(--muted); font-weight:800; }

/* サイドバー：人気ランキングを主役に */
.sidebar h3.widget-title, .sidebar h2.widget-title{ background:transparent; color:var(--ink); border:none; border-bottom:2px solid var(--ink); padding:0 0 8px; font-size:14px; letter-spacing:.1em; font-weight:800; }
.sidebar .popular-entry-cards{ background:var(--ink); border-radius:12px; padding:18px 16px 8px; }
.sidebar .popular-entry-cards .widget-title{ color:#fff; border-bottom-color:#2c2830; }
.popular-entry-card{ border-color:#2c2830; }
.popular-entry-card-title{ color:#EDEAF0 !important; font-weight:600; font-size:13.5px; line-height:1.42; }
.popular-entry-card-date, .popular-entry-card-snippet{ color:#8f8896 !important; }
.popular-entry-card-rank-number{ background:var(--buzz) !important; color:#fff !important; font-weight:900; font-size:18px; border-radius:4px; }

/* ページネーション */
.page-numbers{ border-radius:6px; border-color:var(--line); font-weight:700; }
.page-numbers.current{ background:var(--buzz); border-color:var(--buzz); color:#fff; }

/* フッター */
.footer{ background:var(--ink); color:#B9B4BE; border-top:none; }
.footer a{ color:#B9B4BE; }
.footer a:hover{ color:#fff; }
.footer-bottom{ border-top:1px solid #2c2830; color:#6a6470; font-size:11px; }
.navi-footer-in > .menu-footer li a{ color:#B9B4BE; font-weight:600; font-size:12.5px; }

/************************************
** レスポンシブ
************************************/
@media screen and (max-width: 1023px){
  .site-name-text{ font-size:28px; }
}
@media screen and (max-width: 834px){
  .entry-title, .article h1.entry-title{ font-size:23px; }
  .article h2{ font-size:19px; }
  .article h3{ font-size:16.5px; }
  .list .entry-card-wrap:first-child .entry-card-title{ font-size:18px; }
  .navi-in > ul > li > a{ font-size:13px; padding:10px 11px; }
}
@media screen and (max-width: 480px){
  .site-name-text{ font-size:24px; }
  .entry-card-title{ font-size:15px; }
  .article p{ font-size:15.5px; }
}
