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

/* ===== PoNsのうたブログ カスタムデザイン (黄色テーマ) ===== */

/* ===== H2 見出し：中央揃え + ★STEP★ + 黄色下線 ===== */
.entry-content h2 {
  text-align: center !important;
  background: none !important;
  color: #333 !important;
  padding: 8px 20px 16px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: none !important;
  border-bottom: 3px solid #f5c518 !important;
  font-size: 1.3em !important;
  margin: 52px 0 28px !important;
  position: relative !important;
}
.entry-content h2::before {
  content: "★ STEP ★";
  display: block;
  font-size: 0.55em;
  color: #e8826a;
  letter-spacing: 0.2em;
  font-weight: normal;
  margin-bottom: 8px;
}

/* ===== H3 見出し：黄色丸バッジ + テキスト ===== */
.entry-content h3 {
  background: none !important;
  border: none !important;
  border-left: none !important;
  border-top: none !important;
  border-right: none !important;
  border-bottom: none !important;
  padding: 6px 16px 6px 54px !important;
  color: #333 !important;
  font-size: 1.05em !important;
  font-weight: bold !important;
  position: relative !important;
  border-radius: 0 !important;
  margin: 32px 0 14px !important;
  min-height: 40px;
  display: flex;
  align-items: center;
}
.entry-content h3::before {
  content: attr(data-num);
  background: #f5c518;
  color: #333;
  font-size: 0.85em;
  font-weight: bold;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
}

/* ===== STEP付きH3（▼ STEPで始まる見出し）===== */
.entry-content h3.is-step {
  background: #fff !important;
  border: 2px solid #f5c518 !important;
  border-radius: 8px !important;
  padding: 12px 16px 12px 72px !important;
  margin: 24px 0 !important;
  position: relative !important;
}
.entry-content h3.is-step::before {
  content: "STEP\A" attr(data-step);
  background: #f5c518;
  color: #333;
  font-size: 0.65em;
  font-weight: bold;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  white-space: pre;
  text-align: center;
  line-height: 1.3;
}

/* ===== 箇条書きリスト ===== */
.entry-content ul {
  background: #fffdf0 !important;
  border: 1px solid #f5c518 !important;
  border-radius: 8px !important;
  padding: 14px 16px 14px 38px !important;
  margin: 14px 0 !important;
}
.entry-content ul li {
  list-style: none !important;
  position: relative;
  padding: 4px 0;
}
.entry-content ul li::before {
  content: "●";
  color: #f5a623;
  position: absolute;
  left: -20px;
  font-size: 0.7em;
  top: 7px;
}

/* ===== 番号付きリスト ===== */
.entry-content ol {
  background: #fffdf0 !important;
  border: 1px solid #f5c518 !important;
  border-radius: 8px !important;
  padding: 14px 16px 14px 48px !important;
  margin: 14px 0 !important;
  counter-reset: custom-counter;
}
.entry-content ol li {
  list-style: none !important;
  position: relative;
  counter-increment: custom-counter;
  padding: 5px 0;
}
.entry-content ol li::before {
  content: counter(custom-counter);
  background: #f5c518;
  color: #333;
  font-size: 0.75em;
  font-weight: bold;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: -30px;
  top: 7px;
}

/* ===== 💡 ワンポイントメモボックス ===== */
.memo-box {
  background: #fffde7;
  border: 2px solid #f5c518;
  border-radius: 8px;
  padding: 14px 16px 14px 56px;
  margin: 20px 0;
  position: relative;
  font-size: 0.95em;
}
.memo-box::before {
  content: "i";
  background: #f5c518;
  color: #333;
  font-weight: bold;
  font-style: italic;
  font-size: 0.9em;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 14px;
  top: 14px;
}

/* ===== ⚠️ 注意ボックス ===== */
.caution-box {
  background: #fff8f0;
  border: 2px solid #e8826a;
  border-radius: 8px;
  padding: 14px 16px 14px 56px;
  margin: 20px 0;
  position: relative;
  font-size: 0.95em;
}
.caution-box::before {
  content: "!";
  background: #e8826a;
  color: #fff;
  font-weight: bold;
  font-size: 1em;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 14px;
  top: 14px;
}

/* ===== STEPプロセスボックス ===== */
.step-box {
  background: #fff;
  border: 2px solid #f5c518;
  border-radius: 10px;
  padding: 16px 18px 16px 72px;
  margin: 20px 0;
  position: relative;
  min-height: 60px;
}
.step-box .step-badge {
  background: #f5c518;
  color: #333;
  font-size: 0.62em;
  font-weight: bold;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1.2;
  text-align: center;
  flex-direction: column;
}

/* ===== インラインコード ===== */
.entry-content code {
  background: #fff8e1 !important;
  color: #e65100 !important;
  padding: 2px 7px !important;
  border-radius: 4px !important;
  font-size: 0.88em;
}

/* ===== 強調テキスト ===== */
.entry-content strong {
  color: #d4880a;
  font-weight: bold;
}

/* ===== リンク ===== */
.entry-content a {
  color: #e8826a !important;
  text-underline-offset: 3px;
}
.entry-content a:hover {
  color: #e65100 !important;
}

/* ===== 記事タイトル ===== */
.entry-title {
  color: #333 !important;
  border-bottom: 3px solid #f5c518 !important;
  padding-bottom: 12px !important;
}

/* ===== 本文行間 ===== */
.entry-content p {
  line-height: 2.0;
  margin-bottom: 1.4em;
}


/* ===== 完了チェックリスト ===== */
.pons-checklist {
  background: #fffde7;
  border: 2px solid #f5c518;
  border-radius: 12px;
  padding: 20px 24px;
  margin: 24px 0;
}
.pons-checklist-title {
  font-size: 1.1em;
  font-weight: bold;
  color: #333;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px dashed #f5c518;
}
.pons-check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  margin: 6px 0;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  font-size: 0.97em;
  color: #333;
  line-height: 1.6;
}
.pons-check-item:hover {
  background: #fff8d0;
}
.pons-check-item input[type="checkbox"] {
  width: 22px;
  height: 22px;
  min-width: 22px;
  accent-color: #f5a623;
  cursor: pointer;
}
.pons-check-item.done {
  background: #fff8d0;
  text-decoration: line-through;
  color: #999;
}
