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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/* 本文の基本（PC） */

/* ===== Biz Logic Base Typography + Footer ===== */
:root{
  --ink:#0B1F2A;  /* 文字（ブルーブラック） */
  --ac:#1F6FEB;   /* キーカラー（青） */
  --bg:#FFFFFF;   /* 背景 */
}

body{
  color:var(--ink);
  background:var(--bg);
  font-size:16px;
  line-height:1.8;
}

/* スマホだけ */
@media screen and (max-width: 767px){
  body{ font-size:15px; }
}

/* 段落 */
.entry-content p{
  margin:0 0 1em;
}

/* 見出しは少し詰める（ドキュメント感） */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4{
  line-height:1.3;
  margin-top:1.4em;
  margin-bottom:0.6em;
}

/* 箇条書き */
.entry-content li{
  line-height:1.7;
  margin:0.4em 0;
}

/* Biz Logic footer widgets (left/middle/right) */
.bl-footer{
  text-align:left;
}

.bl-footer__title{
  font-size:14px;
  font-weight:700;
  margin:0 0 10px;
}

.bl-footer__text{
  margin:0;
  font-size:13px;
  line-height:1.8;
}

.bl-footer__list{
  list-style:none;
  margin:0;
  padding:0;
}

.bl-footer__item{
  margin:0 0 8px;
}

.bl-footer__link{
  color:var(--ac);
  text-decoration:none;
}

.bl-footer__link:hover,
.bl-footer__link:focus{
  text-decoration:underline;
}
/* H2：左ライン＋下線（品格・視認性） */
.entry-content h2{
  border-left: 3px solid var(--ac);
  padding-left: 0.7em;
  border-bottom: 1px solid rgba(11,31,42,.08);
  padding-bottom: 0.35em;
}
/* ===== Links ===== */
a{ color:var(--ac); text-decoration:none; }
a:hover{ text-decoration:underline; }

/* ===== Buttons (Cocoon/Block) ===== */
.btn,
.wp-block-button__link{
  background: var(--ac);
  color:#fff;
  border:1px solid var(--ac);
  border-radius: 6px;
  padding: 12px 18px;
  font-weight: 700;
  text-decoration:none;
}
.btn:hover,
.wp-block-button__link:hover{
  filter: brightness(.95);
  text-decoration:none;
}

/* アフィの「囲みボタン」も同系に寄せる（Cocoonで使われがち） */
.btn-wrap a{
  display:inline-block;
  background: var(--ac);
  color:#fff;
  border:1px solid var(--ac);
  border-radius: 6px;
  padding: 12px 18px;
  font-weight:700;
  text-decoration:none;
}
.btn-wrap a:hover{ filter: brightness(.95); }

/* ===== Tables (minimal grid) ===== */
.entry-content table{
  width:100%;
  border-collapse: collapse;
  margin: 1.2em 0;
}
.entry-content th,
.entry-content td{
  border:1px solid rgba(11,31,42,.08);
  padding:.7em .8em;
  vertical-align: top;
}
.entry-content th{
  background: rgba(31,111,235,.06);
  font-weight:700;
}

/* ===== TOC (Cocoon) ===== */
.toc{
  border:1px solid rgba(11,31,42,.08);
  border-radius: 8px;
  padding: 12px 14px;
  background:#fff;
}
.toc-title{
  font-weight:700;
  border-left:3px solid var(--ac);
  padding-left:.7em;
}
.toc a{ color:var(--ink); }
.toc a:hover{ color:var(--ac); }
/* H2：Cocoon標準装飾をリセット */
.article .entry-content h2{
  background: none;
  border: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

/* H2：左ライン＋下線（ミニマル本命） */
.article .entry-content h2{
  border-left: 3px solid var(--ac);
  padding-left: 0.7em;
  border-bottom: 1px solid rgba(11,31,42,.08);
  padding-bottom: 0.35em;
}
.article .entry-content h2{
  color: var(--ink);
}
/* H3：Cocoon標準装飾をリセット（疑似要素も） */
.article .entry-content h3{
  background: none;
  border: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--ink);
}
.article .entry-content h3::before,
.article .entry-content h3::after{
  display: none;
  content: none;
}

/* H3：下線のみ（H2より弱め） */
.article .entry-content h3{
  border-bottom: 1px solid rgba(11,31,42,.08);
  padding-bottom: 0.25em;
}
/* サイドバー見出し：ミニマル（左ライン＋下線） */
.sidebar .widget-title,
.sidebar h3{
  background: none;
  color: var(--ink);
  border: none;
  border-left: 3px solid var(--ac);
  border-bottom: 1px solid rgba(11,31,42,.08);
  padding: 10px 12px;
  margin: 0 0 10px;
  border-radius: 0;
  box-shadow: none;
}

/* サイドバー内リンクも本文と同じルールに */
.sidebar a{ color: var(--ink); text-decoration:none; }
.sidebar a:hover{ color: var(--ac); text-decoration:underline; }
/* TOC：ミニマル（枠・余白・リンク） */
.article .toc{
  border:1px solid rgba(11,31,42,.08);
  border-radius:8px;
  background:#fff;
  padding:12px 14px;
}
.article .toc .toc-title{
  background:none;
  color:var(--ink);
  font-weight:700;
  border-left:3px solid var(--ac);
  padding:8px 10px;
  margin:0 0 8px;
}
.article .toc a{ color:var(--ink); text-decoration:none; }
.article .toc a:hover{ color:var(--ac); text-decoration:underline; }
/* ===== Sidebar widget titles (Cocoon) : force minimal ===== */
.sidebar h3,
#sidebar h3,
.widget-sidebar-title,
.widget-sidebar-scroll-title,
.sidebar .widget-title{
  background: transparent !important;
  color: var(--ink) !important;

  border: none !important;
  border-left: 3px solid var(--ac) !important;
  border-bottom: 1px solid rgba(11,31,42,.08) !important;

  padding: 10px 12px !important;
  margin: 0 0 10px !important;

  border-radius: 0 !important;
  box-shadow: none !important;
}
/* Cocoon サイドバー：ウィジェット見出し（確実に当てる） */
#sidebar h3.widget-sidebar-title{
  background: transparent !important;
  color: var(--ink) !important;

  border: none !important;
  border-left: 3px solid var(--ac) !important;
  border-bottom: 1px solid rgba(11,31,42,.08) !important;

  padding: 10px 12px !important;
  margin: 0 0 10px !important;

  border-radius: 0 !important;
  box-shadow: none !important;
}
/* Sidebar（ブロックウィジェット）の見出し：h2.wp-block-heading を上書き */
#sidebar .wp-block-heading{
  background: transparent !important;
  color: var(--ink) !important;

  border: none !important;
  border-left: 3px solid var(--ac) !important;
  border-bottom: 1px solid rgba(11,31,42,.08) !important;

  padding: 10px 12px !important;
  margin: 0 0 10px !important;

  border-radius: 0 !important;
  box-shadow: none !important;
}
/* Sidebar ブロック全体も“枠だけ”に統一 */
#sidebar .wp-block-archives,
#sidebar .wp-block-categories{
  border: 1px solid rgba(11,31,42,.08);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
}
/* Sidebar links：本文と同じ（ink → hoverで青） */
#sidebar a{
  color: var(--ink) !important;
  text-decoration: none;
}

#sidebar a:hover,
#sidebar a:focus{
  color: var(--ac) !important;
  text-decoration: underline;
}

/* ついでに：一覧ブロックの余白を少し整える（任意） */
#sidebar .wp-block-archives-list a,
#sidebar .wp-block-categories-list a{
  display: inline-block;
  padding: 2px 0;
}
/* ===== Footer: minimal (white + border) ===== */
.footer{
  background: #fff !important;
  color: var(--ink) !important;
  border-top: 1px solid rgba(11,31,42,.08);
  padding: 18px 0;
}
.footer a{ color: var(--ink) !important; }
.footer a:hover{ color: var(--ac) !important; text-decoration:underline; }

.footer-widgets{ background: #fff !important; }
.footer-bottom{ background: #fff !important; border-top: 1px solid rgba(11,31,42,.08); }

/* new_list cards: height align + 2-line title */
.ect-vertical-card{
  border: 1px solid rgba(11,31,42,.08) !important;
  border-radius: 8px !important;
  background: #fff !important;
  overflow: hidden;
}
.ect-vertical-card:hover{
  border-color: rgba(31,111,235,.35) !important;
}
.ect-vertical-card-title{
  font-size: 14px !important;
  line-height: 1.4 !important;
  height: 2.8em !important; /* 2行で固定 */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.ect-vertical-card-thumb img{
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* ===== new_list cards: 2-line title + 16:9 thumb ===== */
.ect-vertical-card{
  border: 1px solid rgba(11,31,42,.08) !important;
  border-radius: 8px !important;
  background: #fff !important;
  overflow: hidden;
}
.ect-vertical-card:hover{
  border-color: rgba(31,111,235,.35) !important;
}
.ect-vertical-card-title{
  font-size: 14px !important;
  line-height: 1.4 !important;
  height: 2.8em !important; /* 2行で固定 */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin: 0 !important;
  padding: 8px 10px !important;
}
.ect-vertical-card-thumb{
  overflow: hidden;
}
.ect-vertical-card-thumb img{
  aspect-ratio: 16/9 !important;
  object-fit: cover;
  width: 100%;
  height: auto;
}
/* ===== Home v2 (outcome + search + chips + series) ===== */
.bl-home-v2{ margin:10px 0 30px; }

.bl-hero-v2{
  border:1px solid rgba(11,31,42,.08);
  border-radius:12px;
  background:#fff;
  padding:20px 18px 18px;
}
.bl-hero-v2__title{ margin:0 0 6px; font-size:30px; line-height:1.2; font-weight:900; }
.bl-hero-v2__lead{ margin:0 0 16px; color: rgba(11,31,42,.78); }

.bl-search{
  display:flex; gap:8px; margin:0 0 12px;
}
.bl-search__input{
  flex:1;
  border:1px solid rgba(11,31,42,.12);
  border-radius:8px;
  padding:10px 12px;
  font-size:15px;
}
.bl-search__btn{
  background: var(--ac);
  color:#fff;
  border:none;
  border-radius:8px;
  padding:10px 16px;
  font-weight:700;
  cursor:pointer;
  display:flex; align-items:center; gap:6px;
}
.bl-search__btn:hover{ filter:brightness(.95); }

.bl-chips{
  display:flex; gap:8px; flex-wrap:wrap; align-items:center;
}
.bl-chips__label{ font-size:13px; color: rgba(11,31,42,.68); font-weight:700; }
.bl-chip{
  display:inline-block;
  background: rgba(31,111,235,.06);
  color: var(--ac);
  border:1px solid rgba(31,111,235,.12);
  border-radius:999px;
  padding:4px 10px;
  font-size:13px;
  text-decoration:none;
  font-weight:600;
}
.bl-chip:hover{ background: rgba(31,111,235,.12); text-decoration:none; }

.bl-section-v2{ margin-top:26px; }
.bl-section-v2__title{ margin-bottom:12px; font-size:20px; font-weight:900; }

.bl-grid-v2{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:12px;
}
@media (max-width: 980px){
  .bl-grid-v2{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.bl-outcome-card{
  display:flex; flex-direction:column; align-items:center;
  padding:14px 12px;
  border:1px solid rgba(11,31,42,.08);
  border-radius:12px;
  background:#fff;
  color: var(--ink) !important;
  text-decoration:none;
  text-align:center;
  min-height:96px;
}
.bl-outcome-card:hover{ border-color: rgba(31,111,235,.35); text-decoration:none; }
.bl-outcome-card__icon{
  width:40px; height:40px;
  border-radius:999px;
  border:1px solid rgba(11,31,42,.08);
  display:flex; align-items:center; justify-content:center;
  color: var(--ac);
  font-size:18px;
  margin-bottom:8px;
}
.bl-outcome-card__title{ font-weight:800; line-height:1.25; margin-bottom:4px; }
.bl-outcome-card__meta{ font-size:12px; color: rgba(11,31,42,.68); }

.bl-series{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:12px;
}
@media (max-width: 980px){
  .bl-series{ grid-template-columns: 1fr; }
}
.bl-series-item{
  display:flex; gap:12px; align-items:center;
  padding:12px 14px;
  border:1px solid rgba(11,31,42,.08);
  border-radius:10px;
  background:#fff;
  color: var(--ink) !important;
  text-decoration:none;
}
.bl-series-item:hover{ border-color: rgba(31,111,235,.35); text-decoration:none; }
.bl-series-item__badge{
  width:32px; height:32px;
  border-radius:999px;
  background: var(--ac);
  color:#fff;
  font-weight:900;
  font-size:13px;
  display:flex; align-items:center; justify-content:center;
  flex: 0 0 auto;
}
.bl-series-item__title{ font-weight:700; line-height:1.3; }

.bl-lists-v2{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:14px;
}
@media (max-width: 980px){
  .bl-lists-v2{ grid-template-columns: 1fr; }
}
.bl-list-v2{
  border:1px solid rgba(11,31,42,.08);
  border-radius:12px;
  background:#fff;
  padding:12px;
}
.bl-list-v2__title{
  margin:0 0 8px;
  font-size:15px;
  font-weight:800;
  border-left:3px solid var(--ac);
  padding-left:.7em;
}
/* ===== 管理職がまず読むべき記事：3列カード ===== */
.bl-first-reads{
  display:grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:12px;
}
@media (max-width: 980px){
  .bl-first-reads{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px){
  .bl-first-reads{
    grid-template-columns: 1fr;
  }
}

/* new_list(type=large_thumb_on) の各カード調整 */
.bl-first-reads .ect-vertical-card{
  height:100%;
  border:1px solid rgba(11,31,42,.08) !important;
  border-radius:10px !important;
  background:#fff !important;
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.bl-first-reads .ect-vertical-card-thumb{
  overflow:hidden;
}
.bl-first-reads .ect-vertical-card-thumb img{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
}
.bl-first-reads .ect-vertical-card-content{
  padding:10px 12px 12px !important;
}
.bl-first-reads .ect-vertical-card-title{
  font-size:14px !important;
  line-height:1.4 !important;
  height:2.8em !important; /* タイトル2行で固定 */
  overflow:hidden;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  margin:0 0 6px !important;
}
.bl-first-reads .ect-vertical-card-meta{
  font-size:12px !important;
  color:rgba(11,31,42,.68);
}
/* ===== TOPページ（固定ページHomeのみ）タイトルを非表示 ===== */
.page-id-17 .entry-title{
  display: none;
}

/* ===== Header: minimal & clean ===== */
#header{
  background: #fff !important;
  border-bottom: 1px solid rgba(11,31,42,.08);
  box-shadow: none;
}

.header-container{
  background: #fff !important;
}

/* ロゴ（左寄せ＋余白調整） */
.logo-header{
  padding: 12px 0;
}
.logo-image img{
  height: 40px;
  width: auto;
}

/* グローバルナビ：薄いトーン */
.navi-in > ul > li > a{
  color: var(--ink) !important;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 14px;
}
.navi-in > ul > li > a:hover{
  color: var(--ac) !important;
  background: rgba(31,111,235,.04);
}

/* 上部の青帯（Cocoon通知エリア等）を消す */
.notice,
.notice-area{
  display: none;
}

/* モバイルヘッダー：同じくミニマル */
.mobile-header-menu-buttons{
  background: #fff !important;
  border-bottom: 1px solid rgba(11,31,42,.08);
}
/* TOP（この固定ページだけ）の日付を非表示 */
.page-id-17 .date-tags{
  display:none;
}
/* ヘッダーのサイト名（ロゴ文字）の色を強制 */
#header .site-name-text,
#header .site-title a,
#header .logo a{
  color: var(--ink) !important;
}

/* サブキャッチコピーも見えるように */
#header .site-description{
  color: rgba(11,31,42,.7) !important;
}

/* グローバルナビのリンク色も明示 */
#header .navi-in > ul > li > a{
  color: var(--ink) !important;
}
#header .navi-in > ul > li > a:hover{
  color: var(--ac) !important;
}
/* 人気キーワード行は少し控えめ */
.bl-chips--popular .bl-chip{
  background: rgba(11,31,42,.03);
  border-color: rgba(11,31,42,.08);
  color: rgba(11,31,42,.78);
}
.bl-chips--popular .bl-chip:hover{
  background: rgba(11,31,42,.06);
  color: var(--ac);
}
/* ===== Template cards (3 across) ===== */
.bl-tpl-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:12px;
}
@media (max-width: 980px){
  .bl-tpl-grid{ grid-template-columns: 1fr; }
}

.bl-tpl-card{
  display:block;
  position:relative;
  padding:14px 14px 12px;
  border:1px solid rgba(11,31,42,.08);
  border-radius:12px;
  background:#fff;
  text-decoration:none;
  color: var(--ink) !important;
}
.bl-tpl-card:hover{
  border-color: rgba(31,111,235,.35);
  text-decoration:none;
}

.bl-tpl-badge{
  position:absolute;
  top:12px; right:12px;
  font-size:12px;
  font-weight:800;
  padding:4px 10px;
  border-radius:999px;
  background: rgba(11,31,42,.06);
  border:1px solid rgba(11,31,42,.10);
  color: rgba(11,31,42,.78);
}
.bl-tpl-title{ font-weight:900; margin-bottom:6px; }
.bl-tpl-meta{ font-size:13px; color: rgba(11,31,42,.68); line-height:1.4; }

/* チップを少し“機能導線”っぽく */
.bl-chip--tpl{
  background: rgba(31,111,235,.08);
  border-color: rgba(31,111,235,.18);
  font-weight:800;
}

/* =============================
   新着コンテンツ スクロールリスト
   ============================= */
/* スクロール枠はそのまま流用 */
.bl-news-scroll {
  max-height: 400px;
  overflow-y: auto;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  background: #fff;
}

/* Cocoon の new_list が出力するリストの余白調整 */
.bl-news-scroll .new-entry-cards-list {
  margin: 0;
  padding: 0;
}
.bl-news-scroll .new-entry-card {
  padding: 12px 16px;
}
/* 新着リストのアイキャッチを非表示 */
.bl-news-scroll .card-thumb,
.bl-news-scroll .entry-card-thumb,
.bl-news-scroll img {
  display: none !important;
}

/* 画像が消えた分、テキストが左端から始まるよう調整 */
.bl-news-scroll .card-content,
.bl-news-scroll .entry-card-content {
  padding-left: 0 !important;
}

/* 行間をコンパクトに */
.bl-news-scroll .new-entry-card,
.bl-news-scroll .card-wrap {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}
.bl-news-scroll .new-entry-cards-list,
.bl-news-scroll .entry-card-wrap,
.bl-news-scroll .a-wrap {
  padding-left: 16px !important;
}
/* ===========================
   管理職タイプ診断
   =========================== */
.bl-quiz-section {
  background: #f7f9fc;
  border-radius: 12px;
  padding: 32px 24px;
}
.bl-quiz__lead {
  color: #666;
  font-size: 0.9rem;
  margin-top: -8px;
  margin-bottom: 24px;
}
.bl-quiz__progress {
  font-size: 0.78rem;
  color: #999;
  margin-bottom: 8px;
}
.bl-quiz__question {
  font-size: 1.05rem;
  font-weight: bold;
  margin-bottom: 16px;
  color: #222;
}
.bl-quiz__choices {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bl-quiz__btn {
  background: #fff;
  border: 2px solid #dde3ec;
  border-radius: 8px;
  padding: 14px 20px;
  font-size: 0.95rem;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.bl-quiz__btn:hover {
  border-color: #3a7bd5;
  background: #eef3fb;
}
.bl-quiz__result {
  text-align: center;
  padding: 16px 0;
}
.bl-quiz__result-label {
  font-size: 0.82rem;
  color: #999;
  margin-bottom: 8px;
}
.bl-quiz__result-category {
  font-size: 1.4rem;
  font-weight: bold;
  color: #3a7bd5;
  margin-bottom: 8px;
}
.bl-quiz__result-desc {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 20px;
}
.bl-quiz__result-btn {
  display: inline-block;
  background: #3a7bd5;
  color: #fff;
  padding: 12px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 12px;
}
.bl-quiz__result-btn:hover {
  background: #2d63b8;
  color: #fff;
}
.bl-quiz__retry {
  display: block;
  margin: 8px auto 0;
  background: none;
  border: none;
  color: #999;
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .bl-quiz-section {
    padding: 24px 16px;
  }
}
/* ===========================
   人気記事ランキング（差別化版）
   =========================== */

/* セクション全体に背景色 → 区切り効果も兼ねる */
.bl-ranking-wrap {
  background: #f0f4fa;
  border-radius: 12px;
  padding: 32px 24px;
  margin-top: 8px;
}

.bl-ranking-list {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  counter-reset: ranking;
}

/* 各行 */
.bl-ranking-list .a-wrap {
  counter-increment: ranking;
  position: relative;
  padding-left: 72px !important;
  border-bottom: 1px solid #f0f0f0;
  min-height: 60px;
  display: flex;
  align-items: center;
}
.bl-ranking-list .a-wrap:last-child {
  border-bottom: none;
}
.bl-ranking-list .a-wrap:hover {
  background: #fafbff;
}

/* 番号バッジ */
.bl-ranking-list .a-wrap::before {
  content: counter(ranking);
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 900;
  color: #dde3ec;
  background: #f7f9fc;
  border-right: 1px solid #eee;
}

/* 1〜3位 */
.bl-ranking-list .a-wrap:nth-child(1)::before {
  color: #f5a623;
  background: #fffbf0;
  font-size: 1.6rem;
}
.bl-ranking-list .a-wrap:nth-child(2)::before {
  color: #9b9b9b;
  background: #f8f8f8;
  font-size: 1.5rem;
}
.bl-ranking-list .a-wrap:nth-child(3)::before {
  color: #c47a2a;
  background: #fdf6f0;
  font-size: 1.4rem;
}

/* スマホ対応 */
@media (max-width: 600px) {
  .bl-ranking-wrap {
    padding: 20px 14px;
  }
  .bl-ranking-list .a-wrap {
    padding-left: 56px !important;
  }
  .bl-ranking-list .a-wrap::before {
    width: 42px;
    font-size: 1.2rem;
  }
}
.bl-ranking-list .card-thumb,
.bl-ranking-list .entry-card-thumb,
.bl-ranking-list img {
  display: none !important;
}

.bl-ranking-list .a-wrap {
  padding-left: 72px !important;
}
/* ===========================
   テンプレートページ共通
   =========================== */
.tpl-page {
  max-width: 860px;
  margin: 0 auto;
}

.tpl-lead-box {
  background: #f0f4fa;
  border-left: 4px solid #3a7bd5;
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
  margin-bottom: 32px;
  font-size: 0.95rem;
  line-height: 1.8;
}

/* チェックリスト */
.tpl-check-list {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tpl-check-list label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  cursor: pointer;
  line-height: 1.6;
}
.tpl-check-list input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* 台本ボックス */
.tpl-script-box {
  background: #fafafa;
  border-radius: 8px;
  border: 1px solid #ebebeb;
  padding: 20px 24px;
  margin-bottom: 16px;
}
.tpl-script-box p {
  margin: 0 0 10px;
  font-size: 0.93rem;
  line-height: 1.8;
}
.tpl-script-box p:last-child {
  margin-bottom: 0;
}
.tpl-note {
  color: #888 !important;
  font-size: 0.82rem !important;
  border-top: 1px dashed #e0e0e0;
  padding-top: 10px !important;
  margin-top: 10px !important;
}

/* ポイントカード */
.tpl-point-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 16px 0 32px;
}
.tpl-point-card {
  background: #fff;
  border: 1px solid #e0e8f5;
  border-radius: 10px;
  padding: 20px 16px;
}
.tpl-point-num {
  font-size: 1.6rem;
  font-weight: 900;
  color: #d0dff5;
  line-height: 1;
  margin-bottom: 8px;
}
.tpl-point-title {
  font-weight: bold;
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: #222;
}
.tpl-point-card p {
  font-size: 0.83rem;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

/* 関連記事CTA */
.tpl-related-box {
  background: #f7f9fc;
  border-radius: 8px;
  padding: 20px 24px;
  text-align: center;
  margin-top: 40px;
}
.tpl-related-box p {
  font-size: 0.88rem;
  color: #666;
  margin-bottom: 8px;
}
.tpl-related-box a {
  color: #3a7bd5;
  font-weight: bold;
  text-decoration: none;
}
.tpl-related-box a:hover {
  text-decoration: underline;
}

/* スマホ対応 */
@media (max-width: 640px) {
  .tpl-point-grid {
    grid-template-columns: 1fr;
  }
}
/* ===========================
   目標設定シート専用
   =========================== */

/* OKR vs MBO 比較カード */
.tpl-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 16px 0 32px;
}
.tpl-compare-card {
  border-radius: 10px;
  padding: 20px;
  border: 2px solid #e0e0e0;
}
.tpl-compare-card--okr {
  border-color: #3a7bd5;
  background: #f0f5ff;
}
.tpl-compare-card--mbo {
  border-color: #27ae60;
  background: #f0fff5;
}
.tpl-compare-label {
  font-weight: bold;
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: #333;
}
.tpl-compare-card ul {
  margin: 0;
  padding-left: 18px;
}
.tpl-compare-card li {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.8;
}

/* 目標シートテーブル */
.tpl-sheet-box {
  overflow-x: auto;
  margin-bottom: 24px;
}
.tpl-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.tpl-table th {
  background: #3a7bd5;
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-weight: bold;
}
.tpl-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #eee;
  line-height: 1.6;
  vertical-align: top;
}
.tpl-table tr:nth-child(even) td {
  background: #f8f9fc;
}
.tpl-table tr:last-child td {
  border-bottom: none;
}

@media (max-width: 640px) {
  .tpl-compare-grid {
    grid-template-columns: 1fr;
  }
}
/* Cocoonのリンクアイコンを非表示 */
.tpl-related-box a .fa,
.tpl-related-box a .fas,
.tpl-related-box a .far,
.tpl-related-box a i,
.tpl-related-box a svg,
.tpl-related-box a::after,
.tpl-related-box a::before {
  display: none !important;
}
/* サイドバー プロフィール整形 */
#sidebar .widget,
.sidebar .widget {
  text-align: center;
}

#sidebar .custom-html-widget p,
#sidebar .textwidget p,
.widget_custom_html p {
  font-size: 13px;
  line-height: 1.8;
  text-align: left;
  margin: 0 0 8px;
}

#sidebar .custom-html-widget h3,
#sidebar .textwidget h3,
.widget_custom_html h3 {
  font-size: 15px;
  font-weight: bold;
  border-bottom: 2px solid #1a1a2e;
  padding-bottom: 6px;
  margin-bottom: 10px;
  text-align: center;
}

#sidebar .custom-html-widget a,
#sidebar .textwidget a,
.widget_custom_html a {
  font-size: 12px;
  color: #555;
  text-decoration: none;
}

#sidebar .custom-html-widget a:hover,
.widget_custom_html a:hover {
  color: #1a1a2e;
  text-decoration: underline;
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
