@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){
  /*必要ならばここにコードを書く*/
}
/* ============================================
   ずぼら効率化ラボ｜記事テンプレート v2
   ============================================ */

/* カラー変数（後で色を変えたい時はここだけ変更） */
:root {
  --zb-text: #2b2b2b;
  --zb-text-sub: #6b6b6b;
  --zb-text-faint: #999;
  --zb-bg: #ffffff;
  --zb-bg-soft: #f7f5f0;
  --zb-border: rgba(0,0,0,0.08);
  --zb-accent: #2b2b2b;
}

/* 記事本文の基本タイポグラフィ調整 */
.entry-content {
  color: var(--zb-text);
  line-height: 1.9;
  font-size: 16px;
}
.entry-content p {
  margin: 0 0 1.2em;
}
.entry-content h2 {
  font-size: 20px;
  font-weight: 500;
  margin: 2.5em 0 1em;
  padding: 0;
  border: none;
  background: none;
  color: var(--zb-text);
  line-height: 1.5;
}
.entry-content h3 {
  font-size: 17px;
  font-weight: 500;
  margin: 1.8em 0 0.6em;
  padding: 0;
  border: none;
  background: none;
  color: var(--zb-text);
}

/* ===== カテゴリラベル（記事冒頭） ===== */
.zb-cat {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--zb-text-sub);
  margin: 0 0 16px;
  text-transform: uppercase;
}

/* ===== サブタイトル（H1の下） ===== */
.zb-subtitle {
  font-size: 14px;
  color: var(--zb-text-sub);
  margin: 0 0 24px;
  line-height: 1.7;
}

/* ===== この記事でわかること ===== */
.zb-toc {
  background: var(--zb-bg-soft);
  padding: 18px 20px;
  border-radius: 8px;
  margin: 24px 0 32px;
}
.zb-toc-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--zb-text-faint);
  margin-bottom: 12px;
}
.zb-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.zb-toc ol li {
  font-size: 14px;
  line-height: 1.5;
  padding-left: 28px;
  position: relative;
  counter-increment: zb-toc-counter;
}
.zb-toc ol {
  counter-reset: zb-toc-counter;
}
.zb-toc ol li::before {
  content: counter(zb-toc-counter, decimal-leading-zero);
  position: absolute;
  left: 0;
  color: var(--zb-text-faint);
  font-size: 12px;
}

/* ===== 4アイコングリッド（要因の図解） ===== */
.zb-factors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 24px 0;
}
.zb-factors .zb-factor {
  background: var(--zb-bg-soft);
  padding: 16px 10px;
  border-radius: 8px;
  text-align: center;
}
.zb-factors .zb-factor-icon {
  font-size: 24px;
  margin-bottom: 6px;
  color: var(--zb-text-sub);
}
.zb-factors .zb-factor-label {
  font-size: 12px;
  color: var(--zb-text);
}
@media (max-width: 600px) {
  .zb-factors { grid-template-columns: repeat(2, 1fr); }
}

/* ===== 番号付き仕組みカード ===== */
.zb-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
}
.zb-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 18px;
  background: var(--zb-bg-soft);
  border-radius: 8px;
}
.zb-step-num {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  color: var(--zb-text-faint);
  line-height: 1;
  min-width: 30px;
}
.zb-step-body {
  flex: 1;
}
.zb-step-title {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 4px;
}
.zb-step-desc {
  font-size: 13px;
  color: var(--zb-text-sub);
  line-height: 1.7;
}

/* ===== チェックリスト ===== */
.zb-checklist {
  background: var(--zb-bg-soft);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 32px 0;
}
.zb-checklist-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--zb-text-faint);
  margin-bottom: 12px;
}
.zb-checklist-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 16px;
}
.zb-checklist ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.zb-checklist ul li {
  font-size: 14px;
  padding-left: 28px;
  position: relative;
  line-height: 1.6;
}
.zb-checklist ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--zb-text-faint);
  border-radius: 3px;
}

/* ===== スローガン ===== */
.zb-slogan {
  text-align: center;
  padding: 32px 0;
  margin: 24px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-style: italic;
  color: var(--zb-text);
  line-height: 1.6;
}

/* ===== TOOLBOX（おすすめ道具） ===== */
.zb-toolbox-label,
.zb-next-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--zb-text-faint);
  margin: 32px 0 16px;
}
.zb-toolbox {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 16px 0 32px;
}
.zb-tool {
  background: var(--zb-bg);
  border: 0.5px solid var(--zb-border);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none !important;
  color: inherit;
  display: block;
  transition: transform 0.2s;
}
.zb-tool:hover {
  transform: translateY(-2px);
}
.zb-tool img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}
.zb-tool-body {
  padding: 12px 14px;
}
.zb-tool-name {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 4px;
  line-height: 1.4;
}
.zb-tool-desc {
  font-size: 11px;
  color: var(--zb-text-faint);
}
@media (max-width: 480px) {
  .zb-toolbox { grid-template-columns: 1fr; }
}

/* ===== NEXT READ ===== */
.zb-next {
  margin: 16px 0 32px;
}
.zb-next a {
  padding: 14px 0;
  border-bottom: 0.5px solid var(--zb-border);
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none !important;
  color: var(--zb-text);
}
.zb-next a:hover .zb-next-title {
  color: var(--zb-text-sub);
}
.zb-next-cat {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--zb-text-faint);
  min-width: 70px;
}
.zb-next-title {
  font-size: 14px;
  flex: 1;
  transition: color 0.2s;
}
.zb-next-arrow {
  font-size: 16px;
  color: var(--zb-text-faint);
}

/* ===== 区切り線 ===== */
.zb-divider {
  border: none;
  border-top: 0.5px solid var(--zb-border);
  margin: 32px 0;
}