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

/* ============================================================
   1. 余白・レイアウトリセット
============================================================ */
.entry-content,
.article-body {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.entry-content > *:first-child {
  margin-bottom: 0 !important;
}

/* ============================================================
   2. Cocoon パンくずリスト1行化
============================================================ */
.cocoon-breadcrumbs,
.cocoon-breadcrumbs ol,
.cocoon-breadcrumbs ul {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 2px !important;
  overflow: hidden !important;
  padding: 6px 0 !important;
  margin: 0 !important;
  list-style: none !important;
  white-space: nowrap !important;
  font-size: 0.8rem !important;
}
.cocoon-breadcrumbs li,
.cocoon-breadcrumbs span {
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}
.cocoon-breadcrumbs li:last-child,
.cocoon-breadcrumbs span:last-child {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  flex-shrink: 1 !important;
  max-width: 180px !important;
}

/* ============================================================
   3. カテゴリーアイキャッチ・画像保護
============================================================ */
.cat-thumb img,
.entry-thumb img,
.a-wrap .entry-thumb,
.entry-card-thumb img {
  max-height: 200px !important;
  width: 100% !important;
  object-fit: cover !important;
}
.eye-catch,
.eye-catch img,
.post-thumbnail,
.post-thumbnail img,
.entry-thumb,
.entry-thumb img {
  pointer-events: none !important;
  -webkit-user-drag: none !important;
  user-drag: none !important;
  -webkit-user-select: none !important;
  user-select: none !important;
}
img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.eye-catch-caption { display: none !important; }
.home .entry-title { display: none !important; }

/* ============================================================
   4. 記事共通スタイル
============================================================ */
.article-body { color: #333333; line-height: 1.85; }
.article-body h2 {
  color: #ffffff !important;
  background: #2e86ab;
  border-left: 5px solid #1a6080;
  padding: 10px 14px;
  margin-top: 48px;
  font-size: 1.25rem;
}
.article-body h3 {
  color: #333333 !important;
  border-bottom: 2px solid #d0eaf5;
  padding-bottom: 5px;
  margin-top: 32px;
  background: none !important;
}
.article-body a { color: #2e86ab; }
.article-body a:hover { color: #1a6080; }
.article-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9em;
  margin: 20px 0;
}
.article-body th {
  background: #2e86ab;
  color: #ffffff;
  padding: 9px 8px;
  text-align: center;
}
.article-body td {
  border: 1px solid #b0d4e8;
  padding: 8px;
  text-align: center;
  vertical-align: middle;
}
.article-body tr:nth-child(even) td { background: #f0f8ff; }
.article-body div[style*="background:#2e86ab"],
.article-body div[style*="background:#2e86ab"] * { color: #ffffff !important; }
.entry-content p {
  line-height: 1.9;
  margin-bottom: 1.4em;
}

/* ============================================================
   5. ボックス類
============================================================ */
.merit-box    { background: #e8f5e9; border-left: 4px solid #43a047; padding: 10px 14px; border-radius: 4px; margin: 12px 0; }
.demerit-box  { background: #fff3e0; border-left: 4px solid #fb8c00; padding: 10px 14px; border-radius: 4px; margin: 12px 0; }
.caution-box  { background: #fff8e1; border-left: 4px solid #f9a825; padding: 10px 14px; border-radius: 4px; margin: 12px 0; font-size: 0.9em; }
.info-box     { background: #e3f2fd; border-left: 4px solid #2e86ab; padding: 12px 16px; border-radius: 4px; margin: 16px 0; }
.product-box  { border: 2px solid #2e86ab; border-radius: 10px; padding: 18px 20px; margin: 24px 0; background: #f9fdff; }
.product-box h4 { color: #2e86ab; margin-top: 0; font-size: 1.05rem; }
.checklist-box { background: #f9fdff; border: 1px solid #b0d4e8; border-radius: 8px; padding: 16px 20px; margin: 20px 0; }
.checklist-box li { margin-bottom: 8px; }
.adnotice     { background: #e3f2fd; border-left: 4px solid #2e86ab; padding: 10px 14px; font-size: 0.9em; color: #333333; }
.closing-box  { background: #f9fdff; border: 1px solid #b0d4e8; border-radius: 8px; padding: 16px 20px; margin-top: 32px; }
.ad-notice-amazon {
  background: #f0f4f8;
  border-left: 3px solid #2e86ab;
  padding: 6px 12px;
  font-size: 11px;
  color: #666;
  margin-top: 4px !important;
  margin-bottom: 4px !important;
  line-height: 1.5;
}

/* ============================================================
   6. ボタン類
============================================================ */
.btn-amazon {
  display: inline-block;
  background-color: #FF9900;
  color: #fff !important;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none !important;
  font-size: 0.95em;
  margin-top: 8px;
}
.btn-amazon:hover {
  background-color: #e68a00;
  color: #fff !important;
}

/* ============================================================
   7. 画像サイズ・表示
============================================================ */
.entry-content figure img { width: 100% !important; height: auto; display: block; margin: 0 auto; }
.fig-60 { width: 60%; margin: 18px auto; text-align: center; }
.fig-60 img { width: 100%; border-radius: 6px; }
.fig-60 figcaption { font-size: 0.72em; color: #888; margin-top: 4px; text-align: right; }
.kc-section-img { width: 100%; border-radius: 8px; margin: 14px 0 18px; display: block; }
.entry-content .kc-article-img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: block;
  margin: 16px auto;
  border-radius: 10px;
}
.wp-block-image img { background-color: #ffffff; }
.kc-chara-icon,
.kc-chara-block img,
.kc-checker-chara img,
.kc-checker-bubble img,
.kc-bubble-wrap img,
.kc-chara-card img,
.wp-block-image img {
  background-color: #ffffff !important;
}
.kc-review-madari-img {
  mix-blend-mode: multiply !important;
  background: transparent !important;
  border-radius: 8px;
}

/* ============================================================
   8. カスタムパンくず
============================================================ */
.kigencheck-breadcrumb {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 4px !important;
  font-size: 0.75rem !important;
  color: #888 !important;
  white-space: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: none !important;
  margin: 0 0 12px !important;
  padding: 6px 0 !important;
  line-height: 1.6 !important;
  border-bottom: 1px solid #e8ecf0 !important;
}
.kigencheck-breadcrumb::-webkit-scrollbar { display: none !important; }
.kigencheck-breadcrumb a,
.kigencheck-breadcrumb span {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  color: #2e86ab !important;
  text-decoration: none !important;
}
.kigencheck-breadcrumb .current { color: #999 !important; }
.kigencheck-breadcrumb .sep { color: #bbb !important; flex-shrink: 0 !important; }

/* ============================================================
   9. 記事共通CSS（kigencheck v2）
============================================================ */
.kc-updated {
  display: inline-block;
  font-size: .75rem;
  color: #fff;
  background: #2e86ab;
  padding: 2px 10px;
  border-radius: 20px;
  margin: 0 0 12px;
  letter-spacing: .04em;
}
.kc-ad-notice {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: .78rem;
  color: #666;
  margin: 14px 0 20px;
  line-height: 1.7;
}
.kc-h2 {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  background: #2e86ab !important;
  padding: 10px 16px !important;
  border-radius: 6px !important;
  margin: 36px 0 16px !important;
  line-height: 1.5 !important;
  border: none !important;
}

/* ── キャラ吹き出し ── */
.kc-bubble-wrap {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 28px 0;
  width: 100%;
}
.kc-bubble-wrap.reverse { flex-direction: row-reverse; }
.kc-chara-block {
  flex: 0 0 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.kc-chara-icon {
  width: clamp(220px, 70vw, 320px) !important;
  height: auto !important;
  object-fit: contain;
  object-position: top center;
  display: block;
}
.kc-chara-name {
  font-size: .78rem;
  font-weight: 700;
  color: #555;
  text-align: center;
}
.kc-bubble {
  position: relative;
  padding: 16px 20px;
  border-radius: 14px;
  font-size: .95rem;
  line-height: 1.8;
  flex: 0 1 auto;
  min-width: 0;
  width: fit-content;
  max-width: 520px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.kc-bubble-madari { background: #fff9e6; border: 2px solid #f5c842; }
.kc-bubble-steban { background: #eef4fb; border: 2px solid #7ab8e8; }
.kc-bubble-madari::before {
  content: ''; position: absolute; top: 24px; left: -13px;
  border-width: 9px 13px 9px 0; border-style: solid;
  border-color: transparent #f5c842 transparent transparent;
}
.kc-bubble-madari::after {
  content: ''; position: absolute; top: 26px; left: -10px;
  border-width: 7px 11px 7px 0; border-style: solid;
  border-color: transparent #fff9e6 transparent transparent;
}
.kc-bubble-wrap.reverse .kc-bubble-steban::before {
  content: ''; position: absolute; top: 24px; right: -13px; left: auto;
  border-width: 9px 0 9px 13px; border-style: solid;
  border-color: transparent transparent transparent #7ab8e8;
}
.kc-bubble-wrap.reverse .kc-bubble-steban::after {
  content: ''; position: absolute; top: 26px; right: -10px; left: auto;
  border-width: 7px 0 7px 11px; border-style: solid;
  border-color: transparent transparent transparent #eef4fb;
}

/* ── 結論ボックス ── */
.kc-result-box { background: #2e86ab; border-radius: 10px; padding: 22px 26px; color: #fff; margin: 28px 0; }
.kc-result-box h3 { font-size: 1.05rem; font-weight: 700; color: #ffe08a; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.3); }
.kc-result-box ul { padding-left: 20px; }
.kc-result-box ul li { margin-bottom: 8px; font-size: .95rem; color: #fff; }
.kc-result-box strong { color: #ffe08a; }

/* ── 目次 ── */
.kc-toc { background: #f7f7f7; border: 1px solid #e0e0e0; border-radius: 8px; padding: 18px 22px; margin: 24px 0; }
.kc-toc h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; color: #333; }
.kc-toc ol { padding-left: 20px; font-size: .9rem; line-height: 2.2; }
.kc-toc ol li a { color: #2e86ab; }

/* ── チェッカーツール枠 ── */
.kc-tool {
  background: #ffffff !important;
  border: 1px solid #c8dff0 !important;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  color: #333333 !important;
}
.kc-tool h3 { font-size: 1rem; font-weight: 700; margin-bottom: 14px; color: #2e86ab; }
.kc-tool input[type=date],
.kc-tool select {
  display: block; width: 100%; max-width: 400px;
  margin: 6px 0 14px; padding: 8px 12px;
  border: 1px solid #ccc; border-radius: 6px; font-size: .92rem;
  background: #ffffff !important;
  color: #333333 !important;
}
.kc-tool label { font-size: .9rem; font-weight: 700; color: #444 !important; }
.kc-tool-result { margin-top: 16px; }
.kc-tool p { color: #333333 !important; }


/* ── ミニ商品カード ── */
.kc-mini-section { margin: 28px 0; }
.kc-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: 100%;
  box-sizing: border-box;
  align-items: end;
}
.kc-mini-card {
  border: 1px solid #e0e0e0; border-radius: 8px; padding: 12px;
  background: #fff; display: flex; flex-direction: column;
  align-items: center; gap: 8px; text-align: center;
  overflow: hidden; min-width: 0;
}
.kc-mini-label { font-size: .72rem; font-weight: 700; background: #e8f4fb; color: #2e86ab; border-radius: 4px; padding: 2px 8px; }

/* ── 通常商品カード ── */
.kc-product-card { border: 2px solid #e0e0e0; border-radius: 12px; padding: 18px; margin-bottom: 28px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.06); overflow: hidden; }
.kc-product-inner { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 14px; }
.kc-product-img-col { flex: 0 0 180px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.kc-rank-badge { font-size: .82rem; font-weight: 700; background: #2e86ab; color: #fff; border-radius: 20px; padding: 3px 14px; display: inline-block; margin-bottom: 4px; }
.kc-product-text { flex: 1; min-width: 0; }
.kc-product-text h3 { font-size: 1.05rem; font-weight: 700; color: #2e86ab; margin-bottom: 8px; }
.kc-tag { display: inline-block; background: #e8f4fb; color: #2e86ab; border-radius: 4px; font-size: .75rem; padding: 2px 8px; margin: 2px 2px 8px 0; }
.kc-pros-cons { display: flex; gap: 12px; margin-top: 10px; }
.kc-pros, .kc-cons { flex: 1; background: #f9f9f9; border-radius: 6px; padding: 10px 12px; font-size: .82rem; }
.kc-pros { border-top: 3px solid #4caf50; }
.kc-cons { border-top: 3px solid #ff7043; }
.kc-pros strong { color: #4caf50; }
.kc-cons strong { color: #ff7043; }

/* ── 口コミマダリ画像 ── */
.kc-review-madari-img {
  width: 80px;
  height: auto;
  object-fit: contain;
  object-position: top center;
  flex-shrink: 0;
}

/* ── フロー ── */
.kc-flow { margin: 18px 0; }
.kc-flow-step { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; padding: 14px 16px; background: #f5f9fc; border-radius: 8px; border-left: 4px solid #2e86ab; }
.kc-flow-num { flex: 0 0 36px; height: 36px; background: #2e86ab; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .95rem; }
.kc-flow-text h4 { font-size: .95rem; font-weight: 700; margin-bottom: 4px; color: #2e86ab; }
.kc-flow-text p { font-size: .88rem; margin: 0; color: #555; }

/* ── テーブル ── */
.kc-table-wrap { overflow-x: auto; margin: 16px 0; }
.kc-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.kc-table th { background: #2e86ab; color: #fff; padding: 10px 12px; text-align: left; }
.kc-table td { padding: 10px 12px; border-bottom: 1px solid #e0e0e0; vertical-align: top; }
.kc-table tr:nth-child(even) td { background: #f5f9fc; }
.badge-1 { background: #fff3cd; color: #856404; border-radius: 4px; padding: 2px 8px; font-size: .8rem; font-weight: 700; }
.badge-2 { background: #fde8d8; color: #c55a11; border-radius: 4px; padding: 2px 8px; font-size: .8rem; font-weight: 700; }
.badge-3 { background: #fdd; color: #c00; border-radius: 4px; padding: 2px 8px; font-size: .8rem; font-weight: 700; }

/* ── チェックリスト ── */
.kc-checklist { list-style: none; padding: 0; margin: 14px 0; }
.kc-checklist li { padding: 8px 12px 8px 34px; position: relative; border-bottom: 1px solid #f0f0f0; font-size: .9rem; }
.kc-checklist li::before { content: '□'; position: absolute; left: 10px; color: #2e86ab; font-size: 1.1rem; }

/* ── FAQ ── */
.kc-faq { margin: 28px 0; }
.kc-faq-item { border: 1px solid #e0e0e0; border-radius: 8px; margin-bottom: 10px; overflow: hidden; }
.kc-faq-q { background: #f5f9fc; padding: 12px 16px; font-weight: 700; font-size: .92rem; position: relative; }
.kc-faq-q::after { content: '▼'; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: .78rem; color: #2e86ab; }
.kc-faq-a { padding: 12px 16px; font-size: .88rem; line-height: 1.75; border-top: 1px solid #e0e0e0; color: #555; }

/* ── 関連記事リンク ── */
.kc-related { display: block; background: #f8f8f8; border: 1px solid #d0e4ec; border-left: 4px solid #2e86ab; border-radius: 6px; padding: 10px 14px; margin: 10px 0; text-decoration: none; color: #444; font-size: .85rem; line-height: 1.7; transition: background .2s; }
.kc-related:hover { background: #e8f4f8; }
.kc-related span { display: inline; color: #2e86ab; font-weight: 700; margin-right: 5px; }

/* ── まとめ ── */
.kc-summary-box { background: #f0f7fb; border-radius: 10px; padding: 22px 26px; margin: 28px 0; }
.kc-summary-box h3 { font-size: 1rem; font-weight: 700; color: #2e86ab; margin-bottom: 10px; }

/* ============================================================
   10. キャラクター紹介ページ
============================================================ */
.chara-hero {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(120,119,198,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 40%),
    linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 50%, #0d0d2b 100%);
  border-radius: 16px; padding: 40px 24px; text-align: center;
  margin-bottom: 48px; position: relative; overflow: hidden;
}
.chara-hero::before {
  content: '✦  ✧  ★  ✦  ✧  ★  ✦  ✧  ✦  ★  ✧  ✦  ✧  ★  ✦  ✧  ✦  ✧  ★  ✦  ✧  ✦  ★  ✧  ✦  ✧  ★  ✦  ✧  ✦  ✧  ★  ✦';
  position: absolute; inset: 0; color: rgba(255,255,255,0.28);
  font-size: 1.2em; line-height: 2.4; word-break: break-all;
  pointer-events: none; padding: 12px; letter-spacing: 16px; z-index: 0; background: none;
}
.chara-hero::after { content: none; }
.chara-hero > * { position: relative; z-index: 1; }
.chara-hero p { color: #c8c8e8; font-size: 0.95em; line-height: 2; margin: 0 0 8px; }
.chara-hero strong { color: #ffffff; font-size: 1.05em; }
.chara-2shot { text-align: center; margin: 32px 0 48px; }
.chara-2shot img { width: 300px; max-width: 100%; border-radius: 16px; box-shadow: 0 8px 32px rgba(0,0,0,0.18); background: transparent; mix-blend-mode: multiply; }
.chara-section-title {
  display: flex; align-items: center; gap: 10px; font-size: 1.3em; font-weight: bold;
  color: #1a1a3a; margin: 48px 0 24px; padding-bottom: 10px;
  border-bottom: 2px solid #e0e0f0; background: none !important;
  border-radius: 0 !important; box-shadow: none !important;
}
.chara-section-title::before {
  content: ''; display: inline-block; width: 5px; height: 22px;
  background: linear-gradient(180deg, #7b68ee, #b388ff) !important;
  border-radius: 3px; flex-shrink: 0;
}
.chara-card {
  display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center;
  gap: 24px; margin: 32px 0; padding: 24px; background: #ffffff;
  border-radius: 16px; border: 2px solid #e0e0f0; border-top: 4px solid #b388ff;
  transition: box-shadow 0.2s;
}
.chara-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.chara-card:nth-of-type(2) { border-top-color: #7ab8e8; }
.chara-card img { width: 180px; flex-shrink: 0; border-radius: 12px; object-fit: cover; align-self: center; }
.chara-card h3 { margin: 0 0 8px !important; padding: 0 !important; font-size: 1.15em !important; color: #1a1a3a !important; background: none !important; border: none !important; box-shadow: none !important; line-height: 1.4 !important; }
.chara-meta { font-size: 0.82em; color: #888; line-height: 1.9; margin-bottom: 10px; }
.chara-meta strong { color: #555; }
.chara-desc { font-size: 0.9em; line-height: 1.9; color: #444; margin: 0 0 12px; }
.chara-quote { display: inline-block; font-size: 0.88em; font-style: italic; color: #fff !important; background: linear-gradient(135deg, #f06292, #ba68c8) !important; padding: 6px 14px; border-radius: 20px; margin-top: 4px; border: none !important; box-shadow: none !important; }
.chara-quote.steban { background: linear-gradient(135deg, #5c6bc0, #7ab8e8) !important; }
.chara-unsolved { background: linear-gradient(135deg, #0f0f23, #1a1a3a); border-radius: 16px; padding: 28px 28px 24px; margin: 40px 0; color: #c8c8e8; position: relative; overflow: hidden; }
.chara-unsolved::before { content: '機密'; position: absolute; top: 50%; right: 50%; transform: translate(50%, -50%) rotate(15deg); font-size: 5em; font-weight: bold; color: rgba(255,80,80,0.06); letter-spacing: 4px; pointer-events: none; white-space: nowrap; }
.chara-unsolved h3 { color: #fff !important; font-size: 0.95em !important; margin: 0 0 16px !important; padding: 0 !important; background: none !important; border: none !important; box-shadow: none !important; display: flex; align-items: center; gap: 8px; }
.chara-unsolved ul { list-style: none; padding: 0; margin: 0 0 16px; }
.chara-unsolved ul li { font-size: 0.88em; line-height: 2; padding-left: 16px; position: relative; color: #d0d0f0; }
.chara-unsolved ul li::before { content: '・'; position: absolute; left: 0; color: #7b68ee; }
.chara-unsolved .unsolved-foot { color: rgba(255,255,255,0.35); text-align: right; font-style: italic; margin-top: 12px; margin-bottom: 0; }

/* ============================================================
   11. 開封日チェッカー ツール
============================================================ */

/* モード選択ボタン */
.kc-mode-btn {
  display: block;
  width: 100%;
  padding: 12px 16px;
  background: #fff !important;
  border: 2px solid #e0c97f;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 700;
  color: #3d2512 !important;
  cursor: pointer;
  text-align: left;
  transition: background .2s;
  box-sizing: border-box;
}
.kc-mode-btn:hover,
.kc-mode-btn:hover * {
  background: #fff8e7 !important;
  color: #3d2512 !important;
}

/* フォーム行 */
.kc-tool-row { margin-bottom: 12px; }
.kc-tool-row label {
  display: block;
  font-size: .88rem;
  color: #333333;
  margin-bottom: 4px;
  font-weight: 700;
}
.kc-tool-row input[type=date],
.kc-tool-row select {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: .92rem;
  box-sizing: border-box;
  background: #fff;
  color: #333333;
}

/* 実行ボタン（ティール） */
.kc-tool-btn {
  display: block;
  width: 100%;
  padding: 13px;
  background: #17a2b8;
  border: none;
  border-radius: 10px;
  color: #fff !important;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  transition: background .2s;
}
.kc-tool-btn:hover {
  background: #138496;
  color: #fff !important;
}

/* 結果エリア */
.kc-tool-result { margin-top: 18px; display: none; }
.kc-tool-result.show { display: block; }

/* キャラクター吹き出し */
.kc-checker-wrap { margin-bottom: 12px; }
.kc-checker-bubble { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.kc-checker-bubble.reverse { flex-direction: row-reverse; }
.kc-checker-bubble.reverse .kc-checker-text.steban { border-radius: 4px 12px 12px 12px; }

.kc-checker-chara {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 80px;
}
.kc-checker-chara img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
}
.kc-checker-chara span {
  font-size: .68rem;
  color: #888;
  margin-top: 4px;
  text-align: center;
  line-height: 1.3;
}

/* 吹き出し共通 */
.kc-checker-text {
  flex: 1;
  padding: 10px 14px;
  font-size: .88rem;
  line-height: 1.7;
  min-width: 0;
}

/* マダリ吹き出し */
.kc-checker-text.madari {
  background: #fff9e6 !important;
  color: #3d2512 !important;
  border: 2px solid #f5c842 !important;
  border-radius: 4px 12px 12px 12px;
}
/* ステバン吹き出し */
.kc-checker-text.steban {
  background: #eef4fb !important;
  color: #1a1a2e !important;
  border: 2px solid #7ab8e8 !important;
  border-radius: 12px 4px 12px 12px;
}
/* ステバン反転時 */
.kc-checker-bubble.reverse .kc-checker-text.steban {
  border-radius: 4px 12px 12px 12px;
}

/* 2ショットテキスト */
.kc-checker-text.kc-2shot-text {
  background: #fff9e6 !important;
  color: #3d2512 !important;
  border: 2px solid #f5c842 !important;
  border-radius: 4px 12px 12px 12px;
}


/* ステータスラベル */
.kc-checker-label { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: .75rem; font-weight: 700; margin-bottom: 4px; }
.kc-checker-label.ok   { background: #d4edda; color: #155724; }
.kc-checker-label.warn { background: #fff3cd; color: #856404; }
.kc-checker-label.ng   { background: #f8d7da; color: #721c24; }

/* 2ショット */
.kc-checker-wrap.is-2shot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.kc-checker-2shot {
  width: 100%;
  text-align: center;
}
.kc-checker-2shot img {
  width: 260px !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 12px !important;
  display: block;
  margin: 0 auto;
}
.kc-checker-text.kc-2shot-text {
  flex: 1;
  padding: 10px 14px;
  border-radius: 4px 12px 12px 12px;
  font-size: .88rem;
  line-height: 1.7;
  background: #fff8e7;
  color: #3d2512;
}

/* カレンダーボタン */
.kc-cal-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 10px 18px; background: #4285f4; color: #fff !important; border: none; border-radius: 8px; font-size: .88rem; font-weight: 700; cursor: pointer; text-decoration: none; transition: background .2s; }
.kc-cal-btn:hover { background: #2b6fd6; color: #fff !important; }

/* 使用量計算ボックス */
.kc-calc-box { margin-top: 16px; background: #1e2a1e; border: 1px solid #4a7c4a; border-radius: 12px; padding: 14px 16px; }
.kc-calc-box h4 { color: #a0e0a0; font-size: .88rem; font-weight: 700; margin: 0 0 10px; display: flex; align-items: center; gap: 6px; }
.kc-calc-table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.kc-calc-table th { background: #2a3d2a; color: #a0e0a0; padding: 6px 10px; text-align: left; border-bottom: 1px solid #3a5a3a; }
.kc-calc-table td { color: #e0f0e0; padding: 6px 10px; border-bottom: 1px solid #2a3d2a; }
.kc-calc-table tr:last-child td { border-bottom: none; }
.kc-calc-note { font-size: .75rem; color: #7a9a7a; margin-top: 8px; line-height: 1.6; }

/* ============================================================
   12. キャラチェッカー（旧スタイル互換）
============================================================ */
.kc-checker-chara {
  min-width: 260px !important;
  flex: 0 0 260px !important;
}
.kc-checker-chara img {
  width: 260px !important;
  max-width: none !important;
  height: auto !important;
  object-fit: contain !important;
}
.kc-checker-chara img[src*="madari-open-date-cosmetics-marker-chibi"] {
  width: 180px !important;
  max-width: 180px !important;
}
.kc-chara-card img { width: 200px !important; }


/* ============================================================
   13. レスポンシブ（スマホ・タブレット）
============================================================ */
@media (max-width: 768px) {
  .kigencheck-breadcrumb { font-size: 0.7rem !important; }
  body { overflow-x: hidden; }
  .article-body { overflow-x: hidden !important; max-width: 100% !important; box-sizing: border-box !important; }
  .article-body table { display: block !important; overflow-x: auto !important; -webkit-overflow-scrolling: touch !important; max-width: 100% !important; }
  .product-box-body { flex-direction: column !important; }
  .product-box-img { flex: none !important; max-width: 100% !important; width: 100% !important; }
  .product-box-img img { max-height: 260px !important; width: 100% !important; padding: 16px !important; box-sizing: border-box !important; }
  .product-box-info { border-left: none !important; border-top: 1px solid #d0eaf5 !important; padding: 16px !important; width: 100% !important; box-sizing: border-box !important; }
  .product-box-info .btn-amazon { display: block !important; width: 100% !important; text-align: center !important; box-sizing: border-box !important; }
  .product-box-title { white-space: normal !important; font-size: 0.92rem !important; }

  /* チェッカー */
  .kc-checker-bubble,
  .kc-checker-bubble.reverse { flex-direction: column-reverse; }
  .kc-checker-wrap.is-2shot { display: flex; flex-direction: column; }
  .kc-checker-wrap.is-2shot > .kc-checker-2shot { order: 2; }
  .kc-checker-wrap.is-2shot > .kc-checker-text.kc-2shot-text { order: 1; margin-bottom: 10px; }

  /* summary-table */
  .article-body table.summary-table { overflow-x: visible !important; }
  .article-body table.summary-table thead { display: none !important; }
  .article-body table.summary-table tbody tr { display: flex !important; flex-direction: column !important; border: 1px solid #b0d4e8 !important; border-radius: 8px !important; margin-bottom: 14px !important; background: #f9fdff !important; }
  .article-body table.summary-table tbody td { display: block !important; text-align: left !important; border: none !important; border-bottom: 1px solid #e0f0f8 !important; padding: 10px 12px !important; width: 100% !important; box-sizing: border-box !important; background: none !important; }
  .article-body table.summary-table tbody tr:nth-child(even) td { background: none !important; }
  .article-body table.summary-table tbody td:last-child { border-bottom: none !important; }
  .article-body table.summary-table .btn-amazon { display: block !important; width: 100% !important; text-align: center !important; box-sizing: border-box !important; }
}

@media (max-width: 640px) {
  /* キャラ吹き出し */
  .kc-bubble-wrap { flex-direction: column !important; align-items: stretch !important; gap: 8px !important; margin: 16px 0 !important; }
  .kc-bubble-wrap.reverse { flex-direction: column-reverse !important; }
  .kc-chara-block { flex: 0 0 auto !important; width: 100% !important; align-items: center !important; }
  .kc-chara-icon { width: 220px !important; height: auto !important; display: block !important; margin: 0 auto !important; }
  .kc-chara-name { display: block !important; font-size: .7rem !important; margin-top: 4px !important; }
  .kc-bubble { width: 100% !important; max-width: 100% !important; margin: 0 !important; padding: 12px 14px !important; font-size: .88rem !important; line-height: 1.7 !important; }
  .kc-bubble::before, .kc-bubble::after { display: none !important; }

  /* チェッカー */
  .kc-tool { padding: 16px !important; margin: 16px 0 !important; background: #ffffff !important; }
  .kc-tool h3 { font-size: .95rem !important; margin-bottom: 12px !important; }
  .kc-tool-row { display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 8px !important; margin-bottom: 12px !important; }
  .kc-tool-row label { font-size: .9rem !important; margin-bottom: 4px !important; display: block !important; }
  .kc-tool-row select,
  .kc-tool-row input[type="date"] { width: 100% !important; max-width: none !important; padding: 10px 12px !important; font-size: 16px !important; box-sizing: border-box !important; border: 1px solid #ccc !important; border-radius: 6px !important; }
  .kc-tool-btn { width: 100% !important; padding: 12px 16px !important; font-size: .95rem !important; margin-top: 8px !important; box-sizing: border-box !important; }
  .kc-tool-result { margin-top: 12px !important; padding: 12px !important; }
  .kc-checker-wrap { gap: 12px !important; }
  .kc-checker-bubble { flex-direction: column !important; gap: 10px !important; }
  .kc-checker-bubble.reverse { flex-direction: column !important; }
  .kc-checker-chara { flex: 0 0 auto !important; width: 100% !important; align-items: center !important; min-width: unset !important; }
  .kc-checker-chara img { width: 160px !important; height: auto !important; }
  .kc-checker-text { width: 100% !important; padding: 12px 14px !important; font-size: .87rem !important; }

  /* グリッド・カード */
  .kc-mini-grid { grid-template-columns: 1fr !important; gap: 12px !important; }
  .kc-mini-card { padding: 10px !important; font-size: .85rem !important; }
  .kc-product-card { padding: 14px !important; margin: 16px 0 !important; }
  .kc-product-inner { flex-direction: column !important; align-items: center !important; gap: 12px !important; }
  .kc-product-img-col { flex: none !important; width: 100% !important; }
  .kc-table { font-size: .8rem !important; }
  .kc-table th, .kc-table td { padding: 8px 6px !important; }
  .kc-pros-cons { flex-direction: column; }

  /* キャラカード */
  .chara-card { flex-direction: column !important; flex-wrap: wrap !important; align-items: center !important; text-align: center !important; }
  .chara-card img { width: 200px !important; margin: 0 auto !important; display: block !important; }
  .about-chara-card { flex-direction: column !important; flex-wrap: wrap !important; align-items: center !important; text-align: center !important; }
  .about-chara-card img { width: 200px !important; margin: 0 auto !important; display: block !important; }
  .about-chara-card.gacharin img { width: 220px !important; }
}

@media (max-width: 900px) and (min-width: 641px) {
  .kc-chara-icon { width: clamp(180px, 50vw, 260px) !important; height: auto !important; }
  .kc-chara-block { align-items: center !important; }
  .kc-bubble { max-width: 100% !important; }
  .kc-tool-row { display: flex !important; flex-wrap: wrap !important; gap: 12px !important; }
  .kc-tool-row select,
  .kc-tool-row input[type="date"] { flex: 1 1 200px !important; min-width: 150px !important; }
}
/* ── kc-tool 背景強制上書き ── */
div.kc-tool,
.entry-content div.kc-tool,
.article-body div.kc-tool,
.entry-content .kc-tool {
  background-color: #ffffff !important;
  background: #ffffff !important;
}
/* ============================================================
   14. キャラアイコン背景透過（mix-blend-mode）
============================================================ */

/* アイコン全体に白背景を強制している既存指定を透明に上書き */
.kc-chara-icon,
.kc-chara-block img,
.kc-checker-chara img,
.kc-bubble-wrap img,
.kc-chara-card img {
  background-color: transparent !important;
  mix-blend-mode: multiply;
}

/* まとめセクション（濃い青背景）の上ではmultiplyを無効化 */
#summary .kc-chara-icon,
#summary .kc-chara-block img,
#summary .kc-bubble-wrap img {
  mix-blend-mode: normal;
  background-color: transparent !important;
}
/* ── 口コミ枠マダリちゃん修正 ── */
.kc-review-fixed {
  width: 160px !important;
  height: auto !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
  display: block !important;
}

/* PC：横並び */
div[style*="background:#fff9e6"] {
  flex-direction: row !important;
  align-items: flex-start !important;
  text-align: left !important;
}
div[style*="background:#fff9e6"] .kc-review-fixed {
  margin: 0 !important;
}

/* スマホ：縦並び */
@media (max-width: 639px) {
  div[style*="background:#fff9e6"] {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  div[style*="background:#fff9e6"] .kc-review-fixed {
    margin: 0 auto !important;
  }
}
/* ── 開封日チェッカー キャラサイズ（tool-core.js用） ── */
@media (min-width: 641px) {
  .kc-bubble-wrap .kc-chara-block {
    width: 150px !important;
    flex-shrink: 0 !important;
  }
  .kc-bubble-wrap .kc-chara-block img {
    width: 150px !important;
    max-width: 150px !important;
    height: auto !important;
  }
}

@media (max-width: 640px) {
  .kc-bubble-wrap .kc-chara-block {
    width: 100% !important;
  }
  .kc-bubble-wrap .kc-chara-block img {
    width: 220px !important;
    max-width: 220px !important;
    height: auto !important;
    margin: 0 auto !important;
    display: block !important;
  }
}

/* ── もしもアフィリエイト商品カード スマホ縦並び ── */
@media (max-width: 639px) {
  .easyLink-box {
    flex-direction: column !important;
    align-items: center !important;
  }
  .easyLink-img {
    width: 100% !important;
    max-width: 200px !important;
    margin: 0 auto 12px !important;
    flex: none !important;
  }
  .easyLink-info {
    width: 100% !important;
    text-align: center !important;
    flex: none !important;
  }
}
/* ── 出典表示 ── */
.kc-source {
  font-size: 0.75rem;
  color: #999;
  margin: 4px 0 16px;
  line-height: 1.6;
}
.kc-source a {
  color: #aaa;
}
/* ============================================================
   15. この記事でわかること（kc-conclusion）
============================================================ */
.kc-conclusion {
  border-left: 4px solid #2e86ab;
  background: #f0f7fb;
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 20px 0 24px;
}
.kc-conclusion strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #2e86ab;
  margin-bottom: 10px;
}
.kc-conclusion ul {
  margin: 0;
  padding-left: 18px;
}
.kc-conclusion ul li {
  font-size: 0.88rem;
  line-height: 1.9;
  color: #444;
  margin: 0;
  padding: 0;
}
/* ============================================================
   15. この記事でわかること（kc-conclusion + kc-summary-box）
============================================================ */
.kc-conclusion,
.kc-summary-box {
  border-left: 4px solid #2e86ab;
  background: #f0f7fb;
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 20px 0 24px;
}
.kc-conclusion strong,
.kc-summary-box strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #2e86ab;
  margin-bottom: 10px;
}
.kc-conclusion ul,
.kc-summary-box ul {
  margin: 0;
  padding-left: 18px;
}
.kc-conclusion ul li,
.kc-summary-box ul li {
  font-size: 0.88rem;
  line-height: 1.9;
  color: #444;
  margin: 0;
  padding: 0;
}
.kc-conclusion p,
.kc-summary-box p {
  margin: 0 0 10px 0 !important;
  padding: 0 !important;
}

/* ============================================================
   16. 目次（kc-toc）コンパクト版
============================================================ */
.kc-toc {
  background: transparent !important;
  border: 1px solid #d0e4ec !important;
  border-radius: 8px !important;
  padding: 14px 18px !important;
  margin: 20px 0 !important;
}
.kc-toc h3,
.kc-toc-title {
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  color: #888 !important;
  margin-bottom: 6px !important;
  letter-spacing: 0.05em !important;
}
.kc-toc ol {
  padding-left: 18px !important;
  font-size: 0.82rem !important;
  line-height: 1.8 !important;
  margin: 0 !important;
}
.kc-toc ol li {
  margin: 0 !important;
  padding: 0 !important;
}
.kc-toc ol li a {
  color: #2e86ab !important;
  text-decoration: none !important;
}
.kc-toc ol li a:hover {
  text-decoration: underline !important;
}
/* ============================================================
   17. マーカーハイライト
============================================================ */
.kc-marker {
  background: linear-gradient(transparent 60%, #FFB6C1 60%);
  font-weight: bold;
}
/* ============================================================
   もしもアフィリエイトボタン（ブランド別カラーバリエーション）
============================================================ */
.kc-moshimo-btn {
  display: block;
  text-align: center;
  color: #fff;
  font-weight: 700;
  padding: 14px;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 10px;
  font-size: 1rem;
}
.kc-moshimo-btn-blue {
  background: #2e86ab;
}
.kc-moshimo-btn-orange {
  background: #f4a261;
}
.kc-moshimo-btn-green {
  background: #2a9d8f;
}
.kc-moshimo-btn:hover {
  opacity: 0.85;
}
/* ============================================================
   もしもアフィリエイト特化・商品カード（kc-rec系）
============================================================ */

/* アクセントボックス */
.kc-accent {
  background: #fff8ee;
  border-left: 4px solid #f0a500;
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: .95rem;
  line-height: 1.8;
}

/* バッジ（順位ラベル） */
.kc-rec-badge,
.kc-rec-badge-1,
.kc-rec-badge-2 {
  display: inline-block;
  font-size: .82rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.kc-rec-badge   { background: #2e86ab; color: #fff; }
.kc-rec-badge-1 { background: #f4a261; color: #fff; }
.kc-rec-badge-2 { background: #2a9d8f; color: #fff; }

/* カード本体 */
.kc-rec-card,
.kc-rec-card-1,
.kc-rec-card-2 {
  border: 2px solid #d0e4ec;
  border-radius: 10px;
  padding: 20px;
  margin: 0 0 32px;
}
.kc-rec-card   { border-color: #2e86ab; }
.kc-rec-card-1 { border-color: #f4a261; }
.kc-rec-card-2 { border-color: #2a9d8f; }

/* 商品名 */
.kc-rec-name,
.kc-rec-name-1,
.kc-rec-name-2 {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #1a1a1a;
}

/* タグ */
.kc-rec-tags,
.kc-rec-tags-1,
.kc-rec-tags-2 {
  display: block;
  font-size: .78rem;
  color: #666;
  margin-bottom: 12px;
  line-height: 1.8;
}

/* コメント */
.kc-rec-comment,
.kc-rec-comment-1,
.kc-rec-comment-2 {
  font-size: .92rem;
  line-height: 1.85;
  color: #333;
  margin-bottom: 14px;
}

/* 画像ラッパー */
.kc-rec-img-wrap {
  text-align: center;
  margin: 14px 0 10px;
}
.kc-rec-img-wrap img {
  width: 100%;
  max-width: 560px;
  height: auto;
  border-radius: 8px;
  display: inline-block;
}
.kc-rec-img-caption {
  font-size: .82rem;
  color: #666;
  text-align: center;
  margin-top: 6px;
  line-height: 1.6;
}

/* 特徴リスト */
.kc-rec-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0;
}
.kc-rec-feature-item {
  background: #f0f7fc;
  border-left: 3px solid #2e86ab;
  border-radius: 0 6px 6px 0;
  padding: 10px 14px;
  font-size: .9rem;
  line-height: 1.8;
  color: #333;
}

/* インプレッションタグ非表示 */
.kc-moshimo-imp {
  display: none;
}

/* ============================================================
   もしもアフィリエイト easyLink ボタン非表示
   （商品カード内で独自ボタンと重複するため）
============================================================ */
.kc-product-card .easyLink-btnWrap,
.kc-product-card .easyLink-btn {
  display: none !important;
}


/* ============================================================
   コスト比較バッジ
============================================================ */
.kc-badge-red {
  background: #f8d7da;
  color: #721c24;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: .8rem;
  font-weight: 700;
}
.kc-badge-grn {
  background: #d4edda;
  color: #155724;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: .8rem;
  font-weight: 700;
}
.kc-mini-features{
  margin:10px 0 14px;
  font-size:.92rem;
  line-height:1.7;
  color:#555;
}

.kc-mini-btn{
  display:block;
  width:100%;
  box-sizing:border-box;
  text-align:center;
  text-decoration:none !important;
  padding:12px 14px;
  border-radius:999px;
  font-weight:700;
  line-height:1.4;
  background:#5d4e72;
  color:#fff !important;
  transition:transform .2s ease, opacity .2s ease;
  overflow-wrap:anywhere;
}

.kc-mini-btn:hover{
  opacity:.9;
  transform:translateY(-1px);
}

.kc-mini-btn:visited{
  color:#fff !important;
}

.kc-mini-card a:not(.kc-mini-btn){
  text-decoration:none;
  color:inherit;
}
/* 吹き出し内のpタグ余白リセット */
.kc-bubble p:first-child,
.kc-checker-text p:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.kc-bubble p:last-child,
.kc-checker-text p:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.kc-bubble p,
.kc-checker-text p {
  margin: 0 0 0.5em 0 !important;
  padding: 0 !important;
}

.kc-bubble p:last-child,
.kc-checker-text p:last-child {
  margin-bottom: 0 !important;
}
/* ============================================================
   記事内画像のレスポンシブ調整
============================================================ */

/* PC・タブレット：画像を70%幅に制限 */
@media (min-width: 768px) {
  .entry-content .kc-article-img,
  .article-body .kc-article-img,
  .entry-content figure img,
  .article-body figure img {
    width: 70% !important;
    max-width: 800px !important;
    margin: 24px auto !important;
    display: block !important;
  }
}

/* スマホ：画像を100%幅で表示 */
@media (max-width: 767px) {
  .entry-content .kc-article-img,
  .article-body .kc-article-img,
  .entry-content figure img,
  .article-body figure img {
    width: 100% !important;
    max-width: 100% !important;
    margin: 16px auto !important;
  }
}
/* 後方互換性のため（将来的に削除予定） */
.kc-article-info-box,
.kc-summary-box {
  border-left: 4px solid #2e86ab;
  background: #f0f7fb;
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 20px 0 24px;
}

.kc-toc-wrap {
  background: transparent !important;
  border: 1px solid #d0e4ec !important;
  border-radius: 8px !important;
  padding: 14px 18px !important;
  margin: 20px 0 !important;
}
/* ============================================================
   地の文ツッコミ（記事の締めオチ用）
============================================================ */
.kc-narration {
  font-size: 0.8rem;
  color: #999;
  text-align: right;
  font-style: italic;
  margin: 16px 0 0;
  line-height: 1.6;
}
/* ===== 即答ブロック ===== */
.kc-quickanswer {
  background: #f0f7fb;
  border: 2px solid #2e86ab;
  border-radius: 12px;
  padding: 20px 22px;
  margin: 24px 0 28px;
}

.kc-qa-lead {
  font-size: .95rem;
  font-weight: 700;
  color: #2e86ab;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #b0d4e8;
}

.kc-qa-item {
  margin-bottom: 16px;
}

.kc-qa-item:last-child {
  margin-bottom: 0;
}

.kc-qa-q {
  font-size: .92rem;
  font-weight: 700;
  color: #1a5276;
  margin: 0 0 6px;
}

.kc-qa-a {
  font-size: .9rem;
  line-height: 1.85;
  color: #333;
  margin: 0;
  padding-left: 12px;
  border-left: 3px solid #2e86ab;
}

.kc-qa-a a {
  color: #2e86ab;
  text-decoration: underline;
}
/* 2ショット PC表示：左右レイアウト */
@media (min-width: 641px) {
  .kc-twoshot-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 16px;
  }
  .kc-twoshot-left {
    flex: 1;
    text-align: right;
  }
  .kc-twoshot-right {
    flex: 1;
    text-align: left;
  }
}

/* スマホは縦並びそのまま */
@media (max-width: 640px) {
  .kc-twoshot-wrap {
    flex-direction: column;
  }
}
.page-id-253 .entry-title { display: none; }
<div class="kc-btn-group">
  <a href="AmazonのURL" class="kc-btn-amazon" target="_blank" rel="nofollow">Amazonで見る</a>
  <a href="楽天のURL" class="kc-btn-rakuten" target="_blank" rel="nofollow">楽天市場で見る</a>
  <a href="Qoo10のURL" class="kc-btn-qoo10" target="_blank" rel="nofollow">Qoo10で見る</a>
</div>
/* ============================================================
   MoshimoAffiliate ボタンサイズ統一
============================================================ */
#msmaflink-J9vwA .easyLink-btn,
[id^="msmaflink-"] .easyLink-btn {
  display: inline-block !important;
  width: auto !important;
  min-width: 140px !important;
  max-width: 48% !important;
  box-sizing: border-box !important;
  padding: 10px 14px !important;
  font-size: .85rem !important;
  text-align: center !important;
}

[id^="msmaflink-"] .easyLink-btnWrap {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  justify-content: flex-start !important;
}
/* ============================================================
   商品カード 購入ボタン横並び統一
============================================================ */
.kc-product-card .kc-btn-row {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.kc-product-card .kc-btn-row a {
  flex: 1;
  display: block;
  text-align: center;
  font-size: .85rem;
  font-weight: 700;
  padding: 10px 4px;
  border-radius: 6px;
  text-decoration: none;
  min-width: 90px;
  color: #fff !important;
}
/* kigencheck.jp - summary grid レスポンシブ */
@media(max-width:600px){
  .kc-summary-grid{
    grid-template-columns:repeat(2,1fr) !important;
  }
}

/* ============================================================
   チェッカーツール 全幅縦積み修正（PC・スマホ共通）
============================================================ */
.kc-checker-bubble,
.kc-checker-bubble.reverse {
  flex-direction: column !important;
  align-items: center !important;
  gap: 12px !important;
}

.kc-checker-chara {
  min-width: unset !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  max-width: 200px !important;
  align-items: center !important;
}

.kc-checker-chara img {
  width: 160px !important;
  max-width: 160px !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  display: block !important;
  margin: 0 auto !important;
}

.kc-checker-text {
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
  box-sizing: border-box !important;
}
/* ============================================================
   日付セレクト横幅オーバー修正
============================================================ */
.kc-date-selects {
  display: flex !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  box-sizing: border-box !important;
  gap: 4px !important;
}

.kc-date-sel {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding: 8px 0 !important;
  font-size: 14px !important;
  text-align: center !important;
  -webkit-appearance: auto !important;
  appearance: auto !important;
}

.kc-wrap {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
  padding: 12px !important;
}
/* ============================================================
   tool-core.js キャラ吹き出し PC修正
============================================================ */
@media (min-width: 641px) {
  #kc-result .kc-bubble-madari,
  #kc-result .kc-bubble-steban,
  #kc-mount .kc-bubble-madari,
  #kc-mount .kc-bubble-steban {
    display: block !important;
    background: #fff9e6 !important;
    border: 2px solid #f5c842 !important;
    border-radius: 14px !important;
    padding: 12px 16px !important;
    font-size: 0.88rem !important;
    line-height: 1.75 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  #kc-result .kc-bubble-steban,
  #kc-mount .kc-bubble-steban {
    background: #eef4fb !important;
    border-color: #7ab8e8 !important;
  }
}
/* ============================================================
   Googleカレンダーボタン 強化版
============================================================ */
.kc-cal-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 14px 20px !important;
  margin: 12px 0 !important;
  background: linear-gradient(135deg, #4285f4, #1a73e8) !important;
  color: #fff !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  letter-spacing: 0.03em !important;
  box-shadow: 0 4px 12px rgba(66,133,244,0.4) !important;
  transition: all 0.2s !important;
}
.kc-cal-btn:hover {
  background: linear-gradient(135deg, #1a73e8, #0d62d1) !important;
  box-shadow: 0 6px 16px rgba(66,133,244,0.5) !important;
  transform: translateY(-2px) !important;
  color: #fff !important;
}
/* ============================================================
   input[type="date"] スマホ横幅オーバー修正
============================================================ */
input[type="date"] {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  font-size: 16px !important;
}
/* ============================================================
   スマホ横スクロール完全防止
============================================================ */
html, body {
  overflow-x: hidden !important;
  max-width: 100% !important;
}

input[type="date"] {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  font-size: 16px !important;
  display: block !important;
}

.kc-tool-row,
.kc-tool {
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}
.kc-type-header{background:#f0f7fb;border-left:4px solid #2e86ab;padding:10px 16px;font-size:.95rem;font-weight:700;color:#2e86ab;border-radius:0 8px 8px 0;margin:32px 0 16px;}
/* kc-mini-grid レスポンシブ対応 */
.kc-mini-grid {
  display: grid;
  gap: 12px;
}

@media (max-width: 640px) {
  .kc-mini-grid {
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }
}
